1 2010-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * chartab.c (allocate_character): New function.
4 (Fdefine_char): Use allocate_character().
6 2010-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
8 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.25
11 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
13 * chartab.c (save_uint8_byte_table): Fixed problem when a property
15 (save_uint16_byte_table): Likewise.
17 2010-02-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
19 * chartab.c (Fchar_feature_property): New function when LIBCHISE
21 (Fput_char_feature_property): Likewise.
22 (syms_of_chartab): Add new builtin functions
23 `char-feature-property' and `put-char-feature-property' when
26 2009-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
28 * mule-charset.c (Fmake_charset): Add DOC-string of 'iso-ir and
30 (Fcharset_property): Regard '=>iso-ir as same as `iso_ir.
32 2009-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
34 * mule-charset.c (Qto_iso_ir): New variable for XEmacs CHISE.
35 (make_charset): Add new argument `iso_ir'.
36 (Fmake_charset): Add new property `=>iso-ir' in XEmacs CHISE.
37 (Fmake_reverse_direction_charset): Copy CHARSET_ISO_IR(cs) in
39 (Fcharset_property): Support `iso-ir' in XEmacs CHISE.
40 (syms_of_mule_charset): Add new builtin symbol `=>iso-ir' in
42 (complex_vars_of_mule_charset): Specify argument `iso_ir' of
43 function `make_charset'.
45 * char-ucs.h (LEADING_BYTE_*): Enclose negative value with ( ).
46 (struct Lisp_Charset): Add new member `iso_ir'.
47 (CHARSET_ISO_IR): New macro.
49 2009-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
51 * mule-charset.c (Fdecode_char): Fix problem when decoding GR
52 code-point by GL charset.
54 2008-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
56 * concord.c (concord_id_validate): New function.
57 (structure_type_create_concord): Use `concord_id_validate' instead
58 of `concord_name_validate' to accept integer and character as =id.
60 2008-09-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
62 * concord.c (func_for_each_object): Fix bug about GC-protection.
64 2008-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
66 * concord.c (Fconcord_object_put): Check argument FEATURE is a
69 2008-09-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
71 * text-coding.c (struct decoding_stream): Add new member
72 `bom_flag' in XEmacs CHISE.
73 (reset_decoding_stream): Ignore U+FEFF in the beginning of stream
76 2008-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
78 * mule-charset.c: Move definition of `=jis-x0208@1978' to
79 lisp/mule/mule-conf.el.
81 2008-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
83 * mule-charset.c (Qpartial): New variable in XEmacs CHISE.
84 (make_charset): Add new argument `partial'.
85 (Fmake_charset): Add new property 'partial in XEmacs CHISE.
86 (Fmake_reverse_direction_charset): Modify for `make_charset'.
87 (syms_of_mule_charset): Add new builtin symbol `partial' in XEmacs
89 (complex_vars_of_mule_charset): Modify for `make_charset'; specify
90 `=jis-x0208' as a partial coded-charset.
92 2008-08-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
94 * text-coding.c (decode_add_er_char): Fix problem when a character
95 represented by an entity-reference is not defined.
97 2008-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
99 * char-ucs.h, chartab.c, fns.c, mule-charset.c: Rename Qmap_* to
102 2007-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
104 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.24
107 2006-06-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
109 * concord.c (Fconcord_object_put): Add reversed links when FEATURE
110 is a relation feature.
112 2006-06-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
114 * chartab.c (syms_of_chartab): Define
115 `{<-|->}{subsumptive|denotational}' when HAVE_CONCORD is defined.
117 * chartab.h (Q_denotational): New extern when UTF2000 or
118 HAVE_CONCORD is defined.
119 (Q_denotational_from): Likewise.
120 (Q_subsumptive): Likewise.
121 (Q_subsumptive_from): Likewise.
123 2006-06-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
125 * concord.c (concord_object_put): New function.
126 (Fconcord_object_put): Use `concord_object_put'.
128 2006-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
130 * concord.c (Fconcord_define_object): New function.
131 (syms_of_concord): Add new builtin function
132 `concord-define-object'.
134 2006-05-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
136 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.23
139 2006-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
141 * concord.c: Add EXFUN for Fconcord_object_get.
142 (Vconcord_genre_object_hash_table): New variable.
143 (concord_genre_cache_get_object): New function.
144 (concord_genre_cache_put_object): New function.
145 (Fconcord_make_object): Use object cache; put object-ID into `=id'
147 (Fconcord_object_put): Call `concord_index_sync' after
148 `concord_index_strid_put_obj'.
149 (vars_of_concord): Setup Vconcord_genre_object_hash_table.
151 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
153 * concord.c (Fconcord_decode_object): Do GCPRO for
154 Fconcord_make_object.
155 (func_for_each_object): Likewise; do GCPRO for
156 for_each_object_closure->function.
157 (Fconcord_foreach_object_in_feature): Use GCPRO4 for
158 for_each_object_closure->function, for_each_object_closure->genre,
159 for_each_object_closure->ds and for_each_object_closure->ret.
160 (concord_object_validate): Do GCPRO for Fconcord_make_object.
162 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
164 * concord.c: Add EXFUNs for Fconcord_decode_object and
166 (Fconcord_make_object): Change order of arguments.
167 (Fconcord_decode_object): Modify for Fconcord_make_object.
168 (func_for_each_object): Likewise.
169 (concord_object_validate): Likewise.
170 (concord_object_instantiate): Use GCPRO2 for `data' and `retval'.
172 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
174 * concord.c (Fconcord_object_put): Setup index for `=FOO' feature.
176 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
178 * concord.c (Fconcord_decode_object): Try to use readable print
179 form as a key of Concord-index.
180 (Fconcord_object_get): Try to use readable print form as an ID of
182 (Fconcord_object_put): Try to use readable print form as an ID of
183 Concord-object and a feature value.
184 (Fconcord_object_spec): Try to use readable print form as an ID of
187 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
189 * concord.c (print_concord_object): Support readable form.
191 2006-04-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
193 * emacs.c (main_1): Call `structure_type_create_concord' when
194 HAVE_CONCORD is defined.
196 * symsinit.h (structure_type_create_concord): New prototype.
198 * concord.c (Qconcord_object): New variable.
201 (Fconcord_ds_directory): Use <char*> instead of <unsigned char*>
203 (add_feature_to_list_mapper): Use <char*> instead of <unsigned
204 char*> for genre-name.
205 (Fconcord_feature_list): Likewise.
206 (Fconcord_make_object): Likewise.
207 (Fconcord_decode_object): Likewise; use <char*> instead of
208 <unsigned char*> for feature_name and strid.
209 (Fconcord_object_get): Use <char*> instead of <unsigned char*> for
210 c_obj and feature_name.
211 (Fconcord_object_put): Likewise; use <char*> instead of <unsigned
213 (struct closure_for_object_spec): Use <char*> instead of <unsigned
214 char*> for member `object_id'.
215 (add_feature_to_spec_mapper): Use <char*> instead of <unsigned
216 char*> for feature-name.
217 (Fconcord_object_spec): Use <char*> instead of <unsigned char*>
219 (func_for_each_object): Cast to avoid warnings.
220 (Fconcord_foreach_object_in_feature): Use <char*> instead of
221 <unsigned char*> for genre_name and feature_name.
222 (concord_name_validate): New function.
223 (concord_object_validate): Likewise.
224 (concord_object_instantiate): Likewise.
225 (syms_of_concord): Add new builtin symbols `concord-object',
227 (structure_type_create_concord): New function.
229 2006-04-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
231 * concord.c (Vconcord_ds_hash_table): New variable.
232 (Vconcord_genre_hash_table): New variable.
233 (Fconcord_open_ds): Use Vconcord_ds_hash_table.
234 (Fconcord_ds_directory): New function.
235 (Fconcord_assign_genre): New function.
236 (Fconcord_genre_directory): New function.
237 (Fconcord_genre_ds): New function.
238 (Fconcord_feature_list): Allow to omit `ds'.
239 (Fconcord_make_object): Likewise.
240 (Fconcord_decode_object): Likewise.
241 (Fconcord_foreach_object_in_feature): Likewise.
242 (syms_of_concord): Add new builtin function Fconcord_ds_directory,
243 Fconcord_assign_genre, Fconcord_genre_directory and
245 (vars_of_concord): Setup Vconcord_ds_hash_table and
246 Vconcord_genre_hash_table.
248 2006-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
250 * concord.c (struct closure_for_each_object): Add new member
252 (func_for_each_object): Setup the return value to
253 `for_each_object_closure->ret'.
254 (Fconcord_foreach_object_in_feature): If FUNCTION returns non-nil,
255 returns the value instead of Qt.
257 2005-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
259 * concord.c: New file.
261 2005-12-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
263 * lrecord.h (enum lrecord_type): Add `lrecord_type_concord_ds' and
264 `lrecord_type_concord_object'.
266 2005-09-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
268 * symsinit.h (syms_of_concord): New prototype.
269 (vars_of_concord): New prototype.
271 * emacs.c (main_1): Setup symbols and variable about concord if
272 HAVE_CONCORD is defined.
274 * config.h.in (HAVE_CONCORD): New macro.
276 2005-09-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
278 * chartab.c (Fput_char_attribute): For each character relation
279 feature `{<-|->}FOO', set up the reversed link `{->|<-}FOO'.
281 2005-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
283 * chartab.c (Fput_char_attribute): Use
284 `Fchar_refs_simplify_char_specs' for `=>decomposition' before
285 calling `put_char_composition'.
287 2005-08-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
289 * chartab.c (Q_halfwidth_of): New variable.
290 (put_char_composition): Return `<-halfwidth' instead of
291 `=decomposition' for compatibility mapping to single character
293 (Fput_char_attribute): Convert char-specs in value of
294 `{<-|->}halfwidth[^*]*' to characters and put reverse links.
295 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
297 (syms_of_chartab): Add new symbol `<-halfwidth'.
299 2005-08-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
301 * chartab.c (put_char_composition): Return
302 `<-formed@{isolated|initial|medial|final}' for compatibility
303 mapping to single character tagged
304 `{isolated|initial|medial|final}'.
306 2005-08-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
308 * chartab.c (Q_compat_of): Deleted.
309 (put_char_composition): Return `<-FOO' for compatibility mapping
310 to single character tagged `FOO'; use `Fsymbol_name (...)' instead
311 of `symbol_name (XSYMBOL(...))'.
312 (Fput_char_attribute): Convert char-specs in value of
313 `{<-|->}font[^*]*' to characters and put reverse links.
314 (Fsave_char_attribute_table): Don't refer Q_compat_of.
315 (syms_of_chartab): Delete builtin symbol `<-compat'.
317 2005-08-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
319 * chartab.c (Q_circled_of): New variable.
320 (put_char_composition): Return `<-circled' instead of
321 `=decomposition' for compatibility mapping to single character
323 (Fput_char_attribute): Convert char-specs in value of
324 `{<-|->}circled[^*]*' to characters and put reverse links.
325 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
327 (syms_of_chartab): Add new symbol `<-circled'.
329 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
331 * chartab.c (Qto_decomposition_at_circled): New variable.
332 (put_char_composition): Return `=>decomposition@circled' instead
333 of `=decomposition' for compatibility decomposition mapping tagged
335 (syms_of_chartab): Add new symbol `=>decomposition@circled'.
337 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
339 * chartab.c (Q_subscript_of): New variable.
340 (put_char_composition): Return `<-subscript' instead of
341 `=decomposition' for compatibility mapping to single character
343 (Fput_char_attribute): Convert char-specs in value of
344 `{<-|->}subscript[^*]*' to characters and put reverse links.
345 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
347 (syms_of_chartab): Add new symbol `<-subscript'.
349 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
351 * chartab.c (Q_superscript_of): New variable.
352 (put_char_composition): Return `<-superscript' instead of
353 `=decomposition' for compatibility mapping to single character
355 (Fput_char_attribute): Convert char-specs in value of
356 `{<-|->}superscript[^*]*' to characters and put reverse links.
357 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
359 (syms_of_chartab): Add new symbol `<-superscript'.
361 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
363 * chartab.c (Qto_decomposition_at_compat): Deleted.
364 (Qto_decomposition_at_superscript): New variable.
365 (put_char_composition): Use `=>decomposition@superscript' instead
366 of `=decomposition' for compatibility decomposition mapping tagged
368 (Fput_char_attribute): Fix condition about `put_char_composition'.
369 (syms_of_chartab): Delete builtin symbol `=>decomposition@compat';
370 add news symbol `=>decomposition@superscript'.
372 2005-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
374 * chartab.c (put_char_composition): Return `=>decomposition@FOO'
375 for compatibility decomposition mapping tagged FOO.
376 (Fput_char_attribute): Modify for `put_char_composition'.
378 2005-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
380 * chartab.c (Qto_decomposition_at_compat): New variable.
381 (Q_compat_of): Renamed from `Q_compatibility_of'.
382 (put_char_composition): Rename `Q_compatibility_of' to
383 `Q_compat_of'; return `=>decomposition@compat' for compatibility
384 decomposition mapping.
385 (Fsave_char_attribute_table): Rename `Q_compatibility_of' to
387 (syms_of_chartab): Add new symbol `=>decomposition@compat'; rename
388 `<-compatibility' to `<-compat'.
390 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
392 * chartab.c (Q_compatibility_of): New variable.
393 (put_char_composition): Use XCAR/XCDR instead of Fcar/Fcdr if an
394 object is proved to be a cons cell; return `<-compatibility' if
395 the first element of argument `value' is `compat'.
396 (Fput_char_attribute): Eliminate the first value if
397 `put_char_composition' returns `<-compatibility'.
398 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
399 for `<-compatibility'.
400 (syms_of_chartab): Add new symbol `<-compatibility'.
402 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
404 * chartab.c (Q_canonical): New variable.
405 (put_char_composition): Return a feature name: return
406 `->canonical' if argument `value' specifies single character.
407 (Fput_char_attribute): Use `put_char_composition' to determine
408 feature name for `=decomposition' or `->denotational'.
409 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
411 (syms_of_chartab): Add new symbol `->canonical'.
413 2005-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
415 * chartab.c (Qmap_decomposition): New variable.
416 (Fput_char_attribute): Convert `->decomposition' to
418 (syms_of_chartab): Add new symbol `=decomposition'.
420 2005-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
422 * chartab.c (Fget_range_char_table): Fix serious problem when
425 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
427 * chartab.c (char_table_get_db): Use `read_from_c_string'.
429 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
431 * lread.c (read_from_c_string): New function.
433 * lisp.h (read_from_c_string): New prototype.
435 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
437 * chartab.c (Fput_char_attribute): Convert char-specs in value of
438 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
439 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
440 for `{<-|->}Oracle-Bones[^*]*'.
442 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
444 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
447 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
449 * text-coding.c (Qccs_priority_list): New variable in XEmacs
451 (Fmake_coding_system): Support new property `ccs-priority-list' in
453 (Fcoding_system_property): Likewise.
454 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
455 Vdefault_coded_charset_priority_list in XEmacs CHISE.
456 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
458 (complex_vars_of_file_coding): Define new coding-system-property
459 `ccs-priority-list' in XEmacs CHISE.
461 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
463 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
465 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
466 changed to normal function.
467 (encode_char_2): Likewise.
469 * mule-charset.c (decoding_table_put_char): Copied from
470 char-ucs.h; changed to normal function.
471 (encode_char_2): Likewise.
473 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
475 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
477 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
478 (encode_char_2_search_children): New inline function.
479 (encode_char_2): Refer
480 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
481 and use `encode_char_2_search_children'.
483 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
486 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
487 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
488 (vars_of_mule_charset): Add new variable
489 `display-coded-charset-priority-use-inheritance' and
490 `display-coded-charset-priority-use-hierarchy-order'.
492 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
494 * char-ucs.h (Q_subsumptive): New extern.
495 (Q_denotational): Likewise.
496 (encode_char_2): Search children specified by `->subsumptive' and
499 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
501 * mule-charset.c (complex_vars_of_mule_charset): Modify the
502 X-registry of `ucs-bmp'.
504 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
506 * chartab.c (char-variants): Refer `->subsumptive',
507 `->denotational' and `->identical' as same as `->ucs-unified'.
509 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
511 * chartab.c (Fput_char_attribute): Convert char-specs in value of
512 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
515 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
517 * text-coding.c: Add EXFUN for `Fregexp_quote'.
518 (decode_add_er_char): Fix problem about infinite loop when a CCS
519 specified in `coded-charset-entity-reference-alist' is not
522 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
524 * mule-charset.c (syms_of_mule_charset): Rename
525 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
527 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
529 * fns.c (simplify_char_spec): Don't allocate new character-object
530 if specified char_spec does not have any CCS-features.
532 * chartab.h: Add EXFUN for Fdefine_char.
534 * chartab.c: Delete EXFUN for Fdefine_char.
536 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
538 * fns.c (simplify_char_spec): Use Fdefine_char instead of
539 Ffind_char for char-spec.
541 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
543 * lisp-disunion.h (XCHARVAL): Fix condition about
546 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
548 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
550 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
551 point; use <Emchar> instead of <int> for character-id.
553 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
555 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
556 (make_char): Likewise.
557 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
559 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
560 instead of <int> as the type of return value; use <Lisp_Object>
561 instead of <Emchar> as the type of argument.
562 (XCHARVAL[macro version]): Cast the result into <Emchar>.
564 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
565 syntaxcode> instead of <int>.
567 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
569 * chartab.c (put_char_composition): Use DECODE_CHAR to get
570 character corresponding with UCS code point.
571 (Fput_char_attribute): Likewise.
573 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
574 character in the UCS decoding-table if the char-id is not equal to
577 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
579 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
580 for aliases; write `description'; write
581 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
584 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
586 * chartab.c (Fsave_char_attribute_table): Don't use
587 `save_charset_properties'.
589 * mule-charset.c (Fsave_charset_properties): Renamed from
590 `save_charset_properties' and changed to Lisp function again;
591 write property `type' as `CCS'; write properties `final-byte' and
592 `mother' if they exists.
593 (syms_of_mule_charset): Revive builtin function
594 `save-charset-properties' when HAVE_LIBCHISE is defined.
596 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
598 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
599 instead of Vexec_directory.
600 (char_attribute_system_db_file): Likewise.
602 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
604 * chartab.c (Fsave_char_attribute_table): Use
605 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
608 * mule-charset.c (save_charset_properties): Renamed from
609 `Fsave_charset_properties'; changed to non-Lisp function.
610 (syms_of_mule_charset): Abolish builtin function
611 `save-charset-properties'.
613 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
615 * mule-charset.c (Fsave_charset_properties): New function when
616 HAVE_LIBCHISE is defined.
617 (syms_of_mule_charset): Add new builtin function
618 `save-charset-properties' when HAVE_LIBCHISE is defined.
620 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
622 * chartab.c (Fput_char_attribute): Convert char-specs in value of
623 `{<-|->}ancient[^*]*' to characters and put reverse links.
624 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
625 for `{<-|->}ancient[^*]*'.
627 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
629 * chartab.c (Fput_char_attribute): Convert char-specs in value of
630 `{<-|->}original[^*]*' to characters and put reverse links.
631 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
632 for `{<-|->}original[^*]*'.
634 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
636 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
638 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
640 * mule-charset.c (Qsystem_char_id): New variable.
642 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
643 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
645 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
647 * chartab.c (Fput_char_attribute): When processing a reference of
648 a character, put into the end of the reversed reference of each
651 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
653 * chartab.c (Q_same): Deleted.
654 (Q_same_of): Deleted.
655 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
656 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
658 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
660 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
662 * chartab.c (Q_vulgar): Deleted.
663 (Q_vulgar_of): Deleted.
664 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
665 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
667 (syms_of_chartab): Don't define `{<-|->}vulgar'.
669 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
671 * chartab.c (Fput_char_attribute): Convert char-specs in value of
672 `{<-|->}wrong[^*]*' to characters and put reverse links.
673 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
674 for `{<-|->}wrong[^*]*'.
676 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
678 * chartab.c (Q_vulgar): New variable.
679 (Q_vulgar_of): New variable.
680 (Fput_char_attribute): Convert char-specs in value of
681 `{->|<-}vulgar' to characters and put reverse links.
682 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
684 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
686 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
688 * text-coding.c (decode_add_er_char): Must to quote prefix string
691 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
693 * mule-charset.c (put_char_ccs_code_point): Store characters of
694 =ucs whose code_points >= 0xF0000.
696 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
698 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
700 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
702 (complex_vars_of_mule_charset): Add new coded-charset
703 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
704 builtin characters over 0xEFFFF.
706 * chartab.c (syms_of_chartab): Don't define symbol
707 `system-char-id' in every case.
709 * char-ucs.h (Qsystem_char_id): New extern variable.
710 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
712 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
714 * text-coding.c (char_encode_utf8): Try to use entity-references
715 for U-000F0000 ... U-0010FFFF.
717 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
719 * text-coding.c (ER_BUF_SIZE): New macro.
720 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
722 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
723 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
725 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
727 * chartab.c (find_char_feature_in_family): New function.
728 (Fchar_feature): Use `find_char_feature_in_family' with
729 `->identical', `<-subsumptive' and `<-denotational'.
731 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
733 * text-coding.c (char_encode_as_entity_reference): Allow prefix
734 within 8 characters; fix infinite loop.
736 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
738 * chartab.c (Q_same): New variable.
739 (Q_same_of): New variable.
740 (Fput_char_attribute): Convert char-specs in value of
741 `{->|<-}same' to characters and put reverse links.
742 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
744 (syms_of_chartab): Add new symbols `{->|<-}same'.
746 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
748 * chartab.c (Q_component): New variable.
749 (Q_component_of): Likewise.
750 (Fput_char_attribute): Convert char-specs in value of
751 `{->|<-}ideographic-component-forms' to characters and put reverse
753 (syms_of_chartab): Add new symbols
754 `{->|<-}ideographic-component-forms'.
756 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
758 * chartab.c (Q_identical): New variable.
759 (Q_identical_from): New variable.
760 (Fchar_feature): Regard `->identical' as a feature to find
762 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
763 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
764 for `{->|<-}identical'.
765 (syms_of_chartab): Add new symbols `{->|<-}identical'.
767 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
769 * char-ucs.h (encode_char_2): New inline function.
770 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
772 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
774 * chartab.c (Fput_char_attribute): Convert char-specs to
775 characters in value of `ideographic-structure'.
776 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
777 for `{<-|->}simplified(@...)'.
778 (Fdefine_char): Try to use predefined character's id.
780 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
782 * fns.c (simplify_char_spec): Try to convert builtin chars to
785 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
787 * chartab.c (Fput_char_attribute): Convert char-specs in value of
788 `<-simplified[^*]*' to characters and put reverse links.
790 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
792 * chartab.c (Q_subsumptive): Renamed from Q_unified.
793 (Q_subsumptive_from): Renamed from Q_unified_from.
794 (Fchar_feature): Use `Q_subsumptive_from' instead of
796 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
798 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
799 `<-unified' to `<-subsumptive'.
801 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
803 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
804 inheritance itself; fix typo; stop recursive search if cyclic
805 inheritance is found.
807 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
809 * chartab.c (Q_denotational): New variable.
810 (Q_denotational_from): New variable.
811 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
812 (put_char_attribute): New function.
813 (Fput_char_attribute): Use `put_char_attribute'; regard
814 `->denotational' and `<-denotational' as same as `->unified' and
816 (syms_of_chartab): Add new symbols `->denotational' and
819 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
821 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
822 `Fget_char_attribute'.
823 (Fchar_variants): Likewise.
824 (get_char_table): Likewise.
825 (Fchar_feature): New function.
826 (put_char_composition): Use `Fchar_feature' instead of
827 `Fget_char_attribute'.
828 (Fput_char_attribute): Likewise; don't put the target character
829 into its `->unified' value.
830 (syms_of_chartab): Add new builtin function `char-feature'.
832 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
834 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
835 `Fget_char_attribute'.
836 (char_encode_utf8): Likewise.
838 * chartab.h: Add an EXFUN for `Fchar_feature'.
840 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
842 * chartab.c (Vnext_defined_char_id): New variable.
843 (Fput_char_attribute): Accept characters in `->unified'.
844 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
845 new characters which are not related with builtin char-id ranges.
846 (vars_of_chartab): Add new variable `next-defined-char-id'.
848 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
850 * chartab.c (Q_unified): New variable.
851 (Q_unified_from): New variable.
852 (Fput_char_attribute): Add code for `->unified'.
853 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
856 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
858 * mule-charset.c (decode_ccs_conversion): New function.
859 (decode_defined_char): Use `decode_ccs_conversion'.
860 (decode_builtin_char): Likewise.
862 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
864 * char-ucs.h: Change some charset-ids of private coded-charsets.
866 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
868 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
869 (char_encode_as_entity_reference): Likewise.
870 (decode_coding_big5): Modify for `decode_defined_char' and
872 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
873 avoid compiler warning.
874 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
876 * mule-charset.c (decode_defined_char): Add new argument
877 `without_inheritance'.
878 (Fdecode_char): Add new optional argument `without_inheritance'.
879 (Fdecode_builtin_char): Modify for `Fdecode_char'.
881 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
882 (simplify_char_spec): Likewise.
884 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
887 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
888 (map_char_table): Likewise.
889 (Fdefine_char): Use `Fdecode_char' without inheritance.
890 (Ffind_char): Modify for `Fdecode_char'.
892 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
894 * char-ucs.h (decode_defined_char): Add new argument
895 `without_inheritance'.
896 (DECODE_CHAR): Likewise.
897 (MAKE_CHAR): Modify for `DECODE_CHAR'.
899 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
901 * chartab.c (Vchise_system_db_directory): New variable.
902 (vars_of_chartab): Add new variable `chise-system-db-directory'.
904 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
906 * chartab.c: EXFUN `Fmount_char_attribute_table'.
907 (print_chartab_range): Don't define when `UTF2000' is defined.
908 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
911 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
913 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
914 and optional argument `rehash' is specified, call
915 `open_chise_data_source_maybe' before
916 `chise_ds_foreach_char_feature_name' is called.
918 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
920 * chartab.c (char_attribute_list_reset_map_func): New function
921 when HAVE_LIBCHISE is defined.
922 (Fchar_attribute_list): Add new optional argument `rehash' when
923 HAVE_LIBCHISE is defined.
924 (open_chise_data_source_maybe): Use "chise-db" instead of
926 (char_attribute_system_db_file): Likewise.
927 (Fload_char_attribute_table): Use
928 `chise_feature_foreach_char_with_value' instead of
929 `chise_char_feature_value_iterate'.
931 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
933 * chartab.c (Vchise_db_directory): New variable.
934 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
936 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
938 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
939 instead of HAVE_CHISE to specify using with libchise.
941 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
943 * chartab.h: Don't use HAVE_CHISE_CLIENT.
945 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
946 defined or HAVE_LIBCHISE_LIBCHISE is defined.
947 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
949 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
950 HAVE_CHISE to specify using with libchise.
951 (syms_of_chartab): Don't define symbol `system-char-id' when
952 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
954 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
956 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
957 specify CHISE DB support.
958 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
959 of `char_attribute_system_db_file' to check feature DB file.
961 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
962 HAVE_CHISE_CLIENT to specify CHISE DB support.
964 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
965 specify CHISE DB support.
966 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
968 (Freset_char_attribute_table): Use `chise_feature_setup_db'
969 instead of `char_attribute_system_db_file' to check feature DB
972 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
974 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
977 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
979 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
980 (Fsave_charset_mapping_table): Don't use
981 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
983 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
984 (HAVE_LIBCHISE): New macro.
986 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
988 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
989 (Fsave_char_attribute_table): Don't use
990 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
992 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
994 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
996 (save_uint16_byte_table): Likewise.
997 (save_byte_table): Likewise.
998 (char_table_get_db): Use `chise_ds_load_char_feature_value'
999 instead of `chise_char_load_feature_value'.
1000 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
1002 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1004 * chartab.h (struct Lisp_Char_Table): Delete member
1005 `feature_table' if CHISE is defined.
1007 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
1008 (Fcopy_char_table): Likewise.
1009 (char_table_open_db_maybe): Likewise.
1010 (char_table_close_db_maybe): Likewise.
1011 (char_table_get_db): Likewise.
1012 (Fmount_char_attribute_table): Likewise.
1013 (Fload_char_attribute_table): Likewise.
1015 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1017 * mule-charset.c (load_char_decoding_entry_maybe): Use
1018 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
1021 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1023 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
1024 instead of `chise_open_data_source'.
1025 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
1028 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1030 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
1031 instead of `chise_ds_open_feature_table'.
1032 (char_table_close_db_maybe): Don't use `chise_ft_close'.
1034 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1036 * mule-charset.c (Fsave_charset_mapping_table): Use
1037 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
1038 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
1039 `chise_ccs_sync' instead of `chise_ccst_close'.
1040 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
1042 * chartab.c (open_chise_data_source_maybe): Modify for
1043 `chise_open_data_source'.
1044 (char_table_open_db_maybe): Modify for
1045 `chise_ds_open_feature_table'.
1047 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1049 * mule-charset.c (load_char_decoding_entry_maybe): Use
1050 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
1053 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1055 * mule-charset.c (Fsave_charset_mapping_table): Use
1056 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
1057 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
1058 `chise_dt_put_char' and `chise_dt_close'.
1059 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
1060 `chise_ccs_decode' and `chise_ccst_close' instead of
1061 `chise_ds_open_decoding_table', `chise_dt_get_char' and
1064 * chartab.c (char_table_get_db): Use
1065 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
1066 (load_char_attribute_table_map_func): Modify for
1067 `chise_char_feature_value_iterate'.
1068 (Fload_char_attribute_table): Use
1069 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
1071 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1073 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
1075 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1077 * chartab.c (put_char_table): Modify for inherited coded-charsets
1080 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1082 * chartab.c (Fput_char_table_map_function): Fixed.
1083 (word_boundary_p): Don't check charset in XEmacs CHISE.
1085 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1087 * mule-charset.c (Fsave_charset_mapping_table): Use
1088 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
1089 instead of `chise_open_decoding_table'; refer
1090 `default_chise_data_source'; use `chise_dt_close' instead of
1091 `chise_close_decoding_table'.
1092 (load_char_decoding_entry_maybe): Likewise.
1094 * chartab.c (default_chise_data_source): New variable when `CHISE'
1096 (Fcopy_char_table): `ct->ds' is deleted.
1097 (open_chise_data_source_maybe): New function.
1098 (Fclose_char_data_source): New function.
1099 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
1100 use `chise_ds_open_feature_table' instead of
1101 `chise_open_feature_table'.
1102 (char_table_close_db_maybe): Use `chise_ft_close' instead of
1103 `chise_close_feature_table'; `cit->ds' is deleted.
1104 (syms_of_chartab): Add new builtin function
1105 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
1107 * chartab.h (default_chise_data_source): New extern variable.
1108 (open_chise_data_source_maybe): New prototype.
1109 (struct Lisp_Char_Table): Delete `ds'.
1111 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1113 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
1116 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1118 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
1119 not defined; add code for non-libchise setting.
1120 (char_table_close_db_maybe): Likewise.
1121 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
1123 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
1124 even if `CHISE' is not defined.
1125 (Freset_char_attribute_table): Likewise.
1126 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1127 `char_table_close_db_maybe' even if `CHISE' is not defined; use
1128 `char_table_get_db'.
1129 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
1130 `char_table_close_db_maybe' even if `CHISE' is not defined.
1132 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1134 * chartab.c (char_table_open_db_maybe): New function.
1135 (char_table_close_db_maybe): New function.
1136 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
1137 (Freset_char_attribute_table): Likewise.
1138 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1139 `char_table_close_db_maybe'.
1140 (Fload_char_attribute_table): Likewise.
1142 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1144 * chartab.c: Don't include <chise.h> because it is included in
1146 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
1148 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
1150 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
1152 (Fclose_char_attribute_table): Close `ct->feature_table' and
1153 `ct->ds' when `CHISE' is defined.
1154 (Freset_char_attribute_table): Likewise.
1155 (load_char_attribute_maybe): Use `cit->ds' and
1156 `cit->feature_table' when `CHISE' is defined.
1157 (Fload_char_attribute_table): Likewise.
1159 * chartab.h: Include <chise.h> when `CHISE' is defined.
1160 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
1161 when `CHISE' is defined.
1163 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1165 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
1167 (char_table_description): Likewise.
1168 (Fmake_char_table): Likewise.
1169 (Fcopy_char_table): Likewise.
1170 (Fmount_char_attribute_table): Likewise.
1171 (Fclose_char_attribute_table): Likewise.
1172 (Freset_char_attribute_table): Likewise.
1173 (load_char_attribute_maybe): Likewise.
1174 (Fload_char_attribute_table): Likewise.
1176 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
1179 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1181 * chartab.c (load_char_attribute_table_map_func): New function
1182 when CHISE is defined.
1183 (Qload_char_attribute_table_map_function): Don't define when CHISE
1185 (Fload_char_attribute_table_map_function): Likewise.
1186 (Fload_char_attribute_table): Use libchise when `CHISE' is
1188 (syms_of_chartab): Don't define
1189 `load-char-attribute-table-map-function' when CHISE is defined.
1191 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1193 * chartab.c: Include <chise.h> when `CHISE' is defined.
1194 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
1196 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1198 * mule-charset.c (charset_code_point): Fix problem when searching
1199 in mother CCS fails with `defined_only' mode.
1201 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1203 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
1204 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
1205 (put_char_composition): Likewise.
1206 (Fput_char_attribute): Likewise.
1207 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
1209 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1211 * chartab.c (Q_ucs): Deleted.
1212 (Fput_char_attribute): Don't refer `->ucs'.
1213 (Fdefine_char): Likewise.
1214 (Ffind_char): Likewise.
1215 (syms_of_chartab): Delete `->ucs'.
1217 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1219 * mule-charset.c (Qmap_cns11643_2): Renamed from
1220 `Qchinese_cns11643_2'.
1221 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
1222 `chinese-cns11643-2'.
1223 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
1226 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1228 * mule-charset.c (Qmap_cns11643_1): Renamed from
1229 `Qchinese_cns11643_1'.
1230 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
1231 `chinese-cns11643-1'.
1232 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
1235 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1237 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
1238 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
1240 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
1243 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1245 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
1246 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
1248 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
1251 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1253 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
1254 (syms_of_mule_charset): Add new symbol `=big5' instead of
1256 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
1258 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1260 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
1261 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
1263 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
1266 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1268 * mule-charset.c (Qmap_jis_x0212): Renamed from
1269 `Qjapanese_jisx0212'.
1270 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
1271 `japanese-jisx0212'.
1272 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
1275 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1277 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
1278 `Qjapanese_jisx0208'.
1279 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
1280 of `japanese-jisx0208'.
1281 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
1284 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1286 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
1287 `Qjapanese_jisx0208_1978'.
1288 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
1289 of `japanese-jisx0208-1978'.
1290 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
1293 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1295 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
1296 only for XEmacs CHISE.
1298 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1300 * char-ucs.h: Compact non-ISO-IR charset-ids.
1301 (LEADING_BYTE_UCS): Changed to -177.
1302 (LEADING_BYTE_CONTROL_1): Changed to -77.
1303 (LEADING_BYTE_UCS_BMP): Changed to -176.
1304 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
1306 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1308 * mule-charset.c (Qiso_ir): New variable.
1309 (Fmake_charset): Recognise new property `iso-ir'.
1310 (syms_of_mule_charset): Add new symbol `iso-ir'.
1312 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1314 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
1315 n to -n; charset-id of non ISO-IR sets are changed to positive
1318 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1320 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
1321 for &MCS-XXXXXXXX; values.
1323 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1325 * mule.c (Vxemacs_chise_version): Renamed from
1326 `Vutf_2000_version'.
1327 (vars_of_mule): Add new variable `xemacs-chise-version'; define
1328 `utf-2000-version' as an alias for `xemacs-chise-version'.
1330 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1332 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
1333 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
1336 * config.h.in (CHISE): New macro.
1338 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1340 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
1342 (Qmap_ucs): New variable.
1343 (syms_of_mule_charset): Add new symbol `=ucs'.
1344 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
1346 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
1347 (simplify_char_spec): Likewise.
1349 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
1351 * char-ucs.h (Qmap_ucs): New extern variable.
1353 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1355 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
1356 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
1357 don't define it when UTF2000 is not defined.
1358 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
1359 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
1360 when UTF2000 is not defined.
1361 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
1362 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
1364 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1366 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
1368 * mule-charset.c (Vcharset_ucs_gb): Deleted.
1370 (syms_of_mule_charset): Delete `ucs-gb'.
1371 (complex_vars_of_mule_charset): Likewise.
1373 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1375 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
1377 * mule-charset.c (Vcharset_ucs_cns): Deleted.
1378 (Qucs_cns): Deleted.
1379 (syms_of_mule_charset): Delete `ucs-cns'.
1380 (complex_vars_of_mule_charset): Likewise.
1382 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1384 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
1386 * mule-charset.c (Vcharset_ucs_jis): Deleted.
1387 (Qucs_jis): Deleted.
1388 (syms_of_mule_charset): Delete `ucs-jis'.
1389 (complex_vars_of_mule_charset): Likewise.
1391 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1393 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
1395 * mule-charset.c (Vcharset_ucs_ks): Deleted.
1397 (syms_of_mule_charset): Delete `ucs-ks'.
1398 (complex_vars_of_mule_charset): Likewise.
1400 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1402 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
1403 (Qideograph_daikanwa_2): Deleted.
1404 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
1405 (complex_vars_of_mule_charset): Likewise.
1407 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
1408 (LEADING_BYTE_DAIKANWA_1): Deleted.
1409 (LEADING_BYTE_DAIKANWA_2): Deleted.
1410 (MIN_CHAR_DAIKANWA): Deleted.
1411 (MAX_CHAR_DAIKANWA): Deleted.
1413 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1415 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
1416 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
1417 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
1419 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
1420 (Vcharset_ideograph_daikanwa): Deleted.
1421 (Qideograph_hanziku_{1..12}): Deleted.
1422 (Qideograph_daikanwa): Deleted.
1423 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1424 Vcharset_ideograph_daikanwa.
1425 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1426 `ideograph-hanziku-{1..12}'.
1427 (complex_vars_of_mule_charset): Likewise.
1429 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1431 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1433 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1434 (Qideograph_gt_pj_{1..11}): Deleted.
1435 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1436 (complex_vars_of_mule_charset): Likewise.
1438 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1440 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1441 (Vcharset_ideograph_gt): Deleted.
1442 (Qucs_big5): Deleted.
1443 (Qideograph_gt): Deleted.
1444 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1446 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1449 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1450 (LEADING_BYTE_GT): Deleted.
1451 (MIN_CHAR_GT): Deleted.
1452 (MAX_CHAR_GT): Deleted.
1454 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1456 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1458 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1460 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1461 (save_uint16_byte_table): Likewise.
1462 (save_byte_table): Likewise; convert values by it.
1463 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1464 for `ideographic-structure'.
1465 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1466 as the filter for `ideographic-structure'.
1468 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1470 * chartab.c (put_char_composition): New function.
1471 (Fput_char_attribute): Use `put_char_composition'; use
1472 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1474 * fns.c (simplify_char_spec): New function.
1475 (char_ref_simplify_spec): New function.
1476 (Fchar_refs_simplify_char_specs): New function.
1477 (syms_of_fns): Add new builtin function
1478 `char-refs-simplify-char-specs'.
1480 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1482 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1483 (Qideograph_cbeta): Deleted.
1484 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1485 (complex_vars_of_mule_charset): Likewise.
1487 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1488 (MIN_CHAR_CBETA): Comment out.
1489 (MAX_CHAR_CBETA): Likewise.
1491 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1493 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1494 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1495 CHISE client feature.
1497 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1499 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1501 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1503 * mule-charset.c (charset_lookup_description_1): Use
1504 `NUM_LEADING_BYTES' in UTF-2000.
1506 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1508 * char-ucs.h (GC_CHARSETP): Deleted.
1510 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1512 * char-ucs.h (MAX_CHAR_GT): Updated.
1514 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1516 * text-coding.c: Sync with XEmacs 21.4.10.
1518 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1520 * mule-charset.c (Vcharset_china3_jef): Deleted.
1521 (Qchina3_jef): Deleted.
1522 (syms_of_mule_charset): Don't define `china3-jef'.
1523 (complex_vars_of_mule_charset): Likewise.
1525 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1526 (MIN_CHAR_CHINA3_JEF): Comment out.
1527 (MAX_CHAR_CHINA3_JEF): Comment out.
1529 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1531 * mule-charset.c (Vcharset_ucs_gb): New variable.
1532 (Qucs_gb): New variable.
1533 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1534 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1536 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1538 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1540 * mule-charset.c (charset_code_point): if a coded-charset has a
1541 final-byte, don't inherit the builtin range of the mother CCS.
1543 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1545 * mule-charset.c (charset_code_point): Fix problem about
1548 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1550 * mule-charset.c (decode_builtin_char): Reorganized.
1552 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1554 * text-coding.c (char_encode_as_entity_reference): Modify for
1555 `charset_code_point'.
1556 (char_encode_shift_jis): Likewise.
1557 (char_encode_big5): Likewise.
1558 (char_encode_utf8): Likewise.
1559 (char_encode_iso2022): Likewise.
1561 * mule-charset.c (charset_code_point): Add new argument
1563 (Fencode_char): Add new optional argument `defined_only'.
1565 * chartab.c (put_char_table): Modify for `charset_code_point'.
1567 * char-ucs.h (charset_code_point): Add new argument
1569 (encode_char_1): Modify for `charset_code_point'.
1571 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1573 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1574 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1576 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1578 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1579 (Qjis_x0208): Likewise.
1580 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1581 XCHARSET_FINAL(charset).
1582 (charset_code_point): Modify condition for final-byte based
1584 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1585 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1586 in UTF-2000; specify `=jis-x0208' as the mother of
1587 `japanese-jisx0208-1978', `japanese-jisx0208' and
1588 `japanese-jisx0208-1990' in UTF-2000.
1590 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1592 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1594 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1596 * text-coding.c (decode_coding_utf16): Support UTF-16.
1597 (char_encode_utf16): Fixed.
1599 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1601 * text-coding.c (Qutf16): New variable in MULE.
1602 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1603 (Fcoding_system_type): Add `utf-16' in MULE.
1604 (struct detection_state): Add a structure for utf16 in MULE.
1605 (detect_coding_type): Setup st->utf16.mask in MULE.
1606 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1608 (reset_encoding_stream): Use `char_encode_utf16' and
1609 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1610 (detect_coding_utf16): New function [incomplete].
1611 (decode_coding_utf16): New function [support only UCS-2].
1612 (char_encode_utf16): New function.
1613 (char_finish_utf16): New function.
1614 (syms_of_file_coding): Add new symbol `utf-16'; setup
1615 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1617 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1619 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1620 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1622 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1624 * chartab.c (put_char_table): When a charset is specified as a
1625 range in UTF-2000, don't support builtin characters.
1627 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1629 * mule-charset.c (decode_defined_char): Don't refer external
1630 database if Qunbound or Qnil are found.
1631 (Fsave_charset_mapping_table): Don't define it if
1632 HAVE_CHISE_CLIENT is not defined.
1633 (Freset_charset_mapping_table): New function.
1634 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1635 found in external database.
1636 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1637 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1638 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1640 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1642 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1645 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1647 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1648 Q_lowercase, Q_uppercase in UTF-2000.
1650 * chartab.c (get_char_table): Add special code for the standard
1651 case table to use character attribute `->downcase' and
1652 `->uppercase' for case operations in UTF-2000.
1654 * casetab.c (Qflippedcase): New variable in UTF-2000.
1655 (Q_lowercase): Likewise.
1656 (Q_uppercase): Likewise.
1657 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1658 and `->uppercase' in UTF-2000.
1659 (complex_vars_of_casetab): Assign attribute name `downcase' to
1660 downcase and CANON table of Vstandard_case_table in UTF-2000;
1661 assign attribute name `flippedcase' to upcase and EQV table of
1662 Vstandard_case_table in UTF-2000.
1664 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1666 * text-coding.c (decode_add_er_char): Support isolated-chars.
1667 (char_encode_as_entity_reference): Likewise.
1669 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1671 * emacs.c (Vutf_2000_lisp_directory): New variable.
1672 (Vconfigure_utf_2000_lisp_directory): Likewise.
1673 (complex_vars_of_emacs): Add new variable
1674 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1676 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1678 * char-ucs.h (DECODE_CHAR): Delete special code for
1679 `chinese-big5-1' and `chinese-big5-2'.
1681 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1682 (Qbig5_2): Likewise.
1683 (decode_defined_char): Support CONVERSION_BIG5_1 and
1685 (decode_builtin_char): Likewise.
1686 (charset_code_point): Likewise.
1687 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1688 'conversion in UTF-2000.
1689 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1690 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1691 `chinese-big5-2' as children of `chinese-big5'.
1693 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1694 (CONVERSION_BIG5_2): New macro.
1696 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1698 * text-coding.c (char_encode_big5): Support entity-reference.
1700 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1702 * text-coding.c (char_encode_as_entity_reference): New function.
1703 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1705 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1707 * text-coding.c (decode_coding_big5): Support entity-reference
1710 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1712 * text-coding.c (allocate_coding_system): Initialize initial
1713 charsets for CODESYS_UTF8.
1714 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1715 charset-g2 for CODESYS_UTF8.
1716 (decode_coding_utf8): Use charset-g0.
1717 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1718 to force variants to map to UCS.
1720 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1722 * text-coding.c (Qutf_8_mcs): New variable.
1723 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1724 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1725 instead of `utf-8' in UTF-2000.
1727 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1729 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1730 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1731 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1732 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1733 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1734 CONVERSION_96x96x96x96 are introduced.
1735 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1736 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1737 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1739 * char-ucs.h (CONVERSION_94): New macro.
1740 (CONVERSION_96): New macro.
1741 (CONVERSION_94x94): New macro.
1742 (CONVERSION_96x96): New macro.
1743 (CONVERSION_94x94x94): New macro.
1744 (CONVERSION_96x96x96): New macro.
1745 (CONVERSION_94x94x94x60): New macro.
1746 (CONVERSION_94x94x94x94): New macro.
1747 (CONVERSION_96x96x96x96): New macro.
1749 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1751 * chartab.c (Vcharacter_variant_table): Deleted.
1752 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1753 of `Vcharacter_variant_table'.
1754 (Fput_char_attribute): Likewise.
1755 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1756 (complex_vars_of_chartab): Likewise.
1758 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1760 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1762 * fns.c (Qideographic_structure): New variable.
1763 (Qkeyword_char): New variable.
1764 (ids_format_unit): New function.
1765 (Fideographic_structure_to_ids): New function.
1766 (syms_of_fns): Add new symbols `ideographic-structure' and
1767 `:char'; add new builtin function `ideographic-structure-to-ids'.
1769 * data.c (Fchar_ref_p): New function.
1770 (syms_of_data): Add new builtin function `char-ref-p'.
1772 * chartab.h: Add an EXFUN for `Ffind_char'.
1774 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1776 * text-coding.c (Vcharacter_composition_table): Deleted.
1777 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1780 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1782 (Vcharacter_composition_table): Deleted.
1783 (Fget_composite_char): Use the implementation for external-DB
1784 support in every UTF-2000.
1785 (Fput_char_attribute): Likewise.
1786 (char_attribute_system_db_file): Don't define if external-DB
1787 feature is not available.
1788 (Fsave_char_attribute_table): Likewise.
1789 (Fmount_char_attribute_table): Likewise.
1790 (Fclose_char_attribute_table): Likewise.
1791 (Freset_char_attribute_table): Likewise.
1792 (Fload_char_attribute_table): Likewise.
1793 (syms_of_chartab): Don't define `save-char-attribute-table',
1794 `mount-char-attribute-table', `reset-char-attribute-table',
1795 `close-char-attribute-table' and `load-char-attribute-table' if
1796 external-DB feature is not available.
1797 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1799 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1801 * text-coding.c (Qcomposition): Add extern if external-DB feature
1803 (Vcharacter_composition_table): Don't add extern if external-DB
1804 feature is supported.
1805 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1806 character composition rule if external-DB feature is supported.
1808 * chartab.c (Vcharacter_composition_table): Don't define if
1809 external-DB feature is supported.
1810 (Qcomposition): New variable.
1811 (Fget_composite_char): New implementation for external-DB support.
1812 (Fput_char_attribute): Use `composition' property of each
1813 character instead of `Vcharacter_composition_table' to store
1814 character-composition rules if external-DB feature is supported.
1815 (syms_of_chartab): Add new symbol `composition'.
1816 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1817 external-DB feature is supported.
1819 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1821 * chartab.c (Vchar_db_stingy_mode): New variable.
1822 (load_char_attribute_maybe): Close database if
1823 Vchar_db_stingy_mode is not NIL.
1824 (Fload_char_attribute_table_map_function): Use
1825 `get_char_id_table_0' instead of `get_char_id_table'.
1826 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1828 * chartab.h (get_char_id_table_0): New inline function.
1829 (get_char_id_table): Use `get_char_id_table_0'.
1831 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1833 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1834 and `COMPOSE_ADD_CHAR'.
1835 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1837 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1839 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1840 instead of `DECODE_ADD_UCS_CHAR'.
1841 (COMPOSE_ADD_CHAR): Likewise.
1843 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1845 * text-coding.c (decode_flush_er_chars): New inline function.
1846 (decode_add_er_char): New function.
1847 (decode_coding_utf8): Use `decode_flush_er_chars' and
1848 `decode_add_er_char'.
1850 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1852 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1853 done before `decode_output_utf8_partial_char'.
1855 * mule-charset.c (complex_vars_of_mule_charset): Specify
1856 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1857 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1859 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1861 * mule-charset.c (decode_defined_char): New function; search
1863 (decode_builtin_char): Don't search mother if
1864 XCHARSET_MAX_CODE(charset) == 0.
1865 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1866 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1867 (Fdecode_char): Use `decode_defined_char' instead of
1868 `DECODE_DEFINED_CHAR'.
1869 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1870 mother of `Vcharset_ucs_jis'.
1872 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1873 instead of `DECODE_DEFINED_CHAR'.
1875 * char-ucs.h (decode_defined_char): Renamed from
1876 `DECODE_DEFINED_CHAR'; changed to normal function.
1877 (DECODE_CHAR): Use `decode_defined_char' instead of
1878 `DECODE_DEFINED_CHAR'.
1880 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1882 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1884 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1886 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1888 (Quse_entity_reference): New variable.
1892 (coding_system_description): Add description for
1893 `ccs_priority_list'.
1894 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1895 (allocate_coding_system): Initialize `ccs_priority_list' in
1897 (Fmake_coding_system): Add description about
1898 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1900 (Fcoding_system_property): Accept `disable-composition' and
1901 `use-entity-reference' in UTF-2000.
1902 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1904 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1905 (decode_coding_utf8): Decode entity-reference if
1906 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1907 (char_encode_utf8): Encode non-Unicode characters as
1908 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1910 (syms_of_file_coding): Add new symbols `use-entity-reference',
1912 (vars_of_file_coding): Add new variable
1913 `coded-charset-entity-reference-alist'.
1914 (complex_vars_of_file_coding): Declare `disable-composition' and
1915 `use-entity-reference' to be coding-system-properties in UTF-2000.
1917 * file-coding.h (struct Lisp_Coding_System): Add new member
1918 `use_entity_reference' and `ccs_priority_list'.
1919 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1920 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1921 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1923 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1925 * chartab.c (save_uint8_byte_table): Don't clear the table.
1926 (save_uint16_byte_table): Likewise.
1927 (save_byte_table): Likewise.
1928 (Fmount_char_attribute_table): New function.
1929 (syms_of_chartab): Add new builtin function
1930 `mount-char-attribute-table'.
1932 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1934 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1936 (load_char_decoding_entry_maybe): Open database as read-only mode.
1938 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1939 open database as "w+" mode.
1940 (load_char_attribute_maybe): Open database as read-only mode.
1941 (Fload_char_attribute_table): Likewise.
1943 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1945 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1946 (char_table_description): Delete member `db_file'.
1947 (Fmake_char_table): Don't refer `ct->db_file'.
1948 (Fcopy_char_table): Likewise.
1949 (Fsave_char_attribute_table): Likewise.
1950 (Fclose_char_attribute_table): Likewise.
1951 (Freset_char_attribute_table): Likewise.
1952 (load_char_attribute_maybe): Likewise.
1953 (Fload_char_attribute_table): Likewise.
1955 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1957 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1959 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1960 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1962 (load_char_attribute_maybe): Likewise.
1963 (Fload_char_attribute_table): Likewise.
1965 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1967 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1968 `ct->db_file' unconditionally.
1970 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1972 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1974 (char_table_description): Add description for `db_file' and `db'
1976 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1978 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1979 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1980 (Fclose_char_attribute_table): New function.
1981 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1982 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1984 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1985 (syms_of_chartab): Add new builtin function
1986 `Fclose_char_attribute_table'.
1988 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1990 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1992 (load_char_attribute_maybe): Change interface.
1993 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1995 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1997 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1999 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2001 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
2002 instead of `DECODE_CHAR' for mother; don't use special code for
2003 chinese-big5 to use code space of chinese-big5-1 and
2005 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
2006 `MAX_CHAR_BIG5_CDP' for chinese-big5.
2008 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
2009 (MAX_CHAR_BIG5_CDP): Revival.
2011 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2013 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
2014 the XLFD registry-encoding name of `chinese-big5'.
2016 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2018 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
2019 (Qchinese_big5_cdp): Deleted.
2020 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
2021 (complex_vars_of_mule_charset): Delete coded-charset
2024 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
2025 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
2026 `CHARSET_ID_OFFSET - n' for private CCS.
2027 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
2028 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
2029 of `MIN_LEADING_BYTE'.
2030 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
2031 `(CHARSET_ID_OFFSET - 97)'.
2032 (MIN_CHAR_BIG5_CDP): Deleted.
2033 (MAX_CHAR_BIG5_CDP): Deleted.
2035 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2037 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
2039 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2041 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
2042 (vars_of_mule): Add new variable `utf-2000-version' [moved from
2045 * chartab.c (Vutf_2000_version): Moved to mule.c.
2046 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
2048 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2050 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
2051 when HAVE_CHISE_CLIENT is not defined.
2053 * mule.c (vars_of_mule): Provide feature `chise' when
2054 HAVE_CHISE_CLIENT is defined.
2056 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2058 * config.h.in (UTF2000): Add comment.
2059 (HAVE_CHISE_CLIENT): New macro.
2061 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2063 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
2065 (Fput_char_attribute): Likewise.
2066 (char_attribute_system_db_file): Encode file-name of attribute.
2067 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
2070 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2072 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
2073 (Fsave_charset_mapping_table): Use
2074 `char_attribute_system_db_file'.
2075 (load_char_decoding_entry_maybe): Likewise.
2077 * chartab.h (Qsystem_char_id): New external variable.
2078 (char_attribute_system_db_file): New prototype.
2080 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
2081 (char_attribute_system_db_file): New function.
2082 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
2083 (Freset_char_attribute_table): Likewise.
2084 (load_char_attribute_maybe): Likewise.
2085 (Fload_char_attribute_table): Likewise.
2086 (syms_of_chartab): Add new symbol `system-char-id'.
2088 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2090 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
2091 `XCHARSET_GRAPHIC(ccs)'.
2093 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2095 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
2097 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2099 * chartab.c (Q_ucs_variants): New variable.
2100 (syms_of_chartab): Add new symbol `->ucs-variants'.
2101 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
2102 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
2103 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
2105 * mule-charset.c (load_char_decoding_entry_maybe): New function.
2107 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
2108 `HAVE_DATABASE' is defined.
2109 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
2110 `HAVE_DATABASE' is defined.
2112 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2114 * chartab.c (Fsave_char_attribute_table): Don't clear internal
2116 (Freset_char_attribute_table): New function.
2117 (syms_of_chartab): Add new builtin function
2118 `reset-char-attribute-table'.
2120 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2122 * chartab.c (load_char_attribute_maybe): Don't make directories.
2124 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2126 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
2128 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
2131 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2133 * mule-charset.c (Fsave_charset_mapping_table): Use
2134 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
2136 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
2137 instead of `XCHARSET_CHARS'.
2139 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2141 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
2142 (XCHARSET_BYTE_SIZE): Likewise.
2144 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
2146 (XCHARSET_BYTE_SIZE): Likewise.
2148 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2150 * chartab.c (Fput_char_attribute): Use exec-directory instead of
2151 data-directory to store database.
2152 (Fsave_char_attribute_table): Likewise.
2153 (load_char_attribute_maybe): Likewise.
2154 (Fload_char_attribute_table): Likewise.
2156 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2158 * mule-charset.c (Fsave_charset_mapping_table): New function.
2159 (syms_of_mule_charset): Add new builtin function
2160 `save-charset-mapping-table'.
2162 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2164 * char-ucs.h (decoding_table_check_elements): Delete prototype.
2165 (get_ccs_octet_table): New inline function.
2166 (put_ccs_octet_table): Likewise.
2167 (decoding_table_put_char): Use `get_ccs_octet_table' and
2168 `put_ccs_octet_table'.
2169 (decoding_table_remove_char): Use `decoding_table_put_char'.
2170 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
2172 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
2173 into encoding_table.
2174 (make_charset): Use Qunbound instead Qnil as initial value of
2177 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2179 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
2180 element is Qunloaded.
2181 (map_over_uint16_byte_table): Likewise.
2182 (map_over_byte_table): Likewise.
2183 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
2184 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
2185 database support, load encoding-table of the specified
2186 coded-charset if it is not loaded yet.
2187 (save_uint8_byte_table): New function of UTF-2000 with external
2189 (save_uint16_byte_table): Likewise.
2190 (save_byte_table): Likewise.
2191 (Fput_char_attribute): Don't store value into external database
2192 even if the external database feature is supported in UTF-2000;
2193 set `attribute' as name of char-table if the external database
2194 feature is supported.
2195 (Fsave_char_attribute_table): New function in UTF-2000.
2196 (syms_of_chartab): Add new builtin function
2197 `save-char-attribute-table' in UTF-2000.
2199 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2201 * chartab.c (char_attribute_table_to_put): New variable in
2203 (Qput_char_table_map_function): Likewise.
2204 (value_to_put): Likewise.
2205 (Fput_char_table_map_function): New function in UTF-2000.
2206 (put_char_table): Use `Fmap_char_attribute' for
2207 CHARTAB_RANGE_CHARSET in UTF-2000.
2208 (Fput_char_attribute): Store symbol instead of string in
2209 `XCHAR_TABLE_NAME (table)'.
2210 (load_char_attribute_maybe): Likewise.
2211 (syms_of_chartab): Add new symbol/function
2212 `put-char-table-map-function'.
2214 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2216 * database.h: Add new EXFUN for `Fmap_database'.
2218 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
2219 (syms_of_database): Likewise.
2221 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
2223 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
2224 (XCHAR_TABLE_UNLOADED): Likewise.
2226 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
2227 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
2228 HAVE_DATABASE is defined.
2229 (char_attribute_table_to_load): New variable of UTF-2000 with
2230 external database support.
2231 (Qload_char_attribute_table_map_function): Likewise.
2232 (Fload_char_attribute_table_map_function): New function of
2233 UTF-2000 with external database support.
2234 (Fload_char_attribute_table): New function of UTF-2000.
2235 (Fmap_char_attribute): Call Fload_char_attribute_table if
2236 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
2237 (syms_of_chartab): Add new symbol and function
2238 `load-char-attribute-table-map-function' in UTF-2000 with external
2239 database support; add new function `load-char-attribute-table' in
2242 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2244 * chartab.h (load_char_attribute_maybe): New prototype for
2245 UTF-2000 with DATABASE support.
2246 (get_char_id_table): Use `load_char_attribute_maybe' if
2247 HAVE_DATABASE is defined.
2249 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
2250 with DATABASE support.
2252 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2254 * chartab.c (Fput_char_attribute): Use S-expression as key of
2257 * chartab.h (get_char_id_table): Use S-expression as key of
2260 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2262 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
2263 if an element is not loaded, load the corresponding attributes
2264 from an external database.
2265 (map_over_uint16_byte_table): Likewise.
2266 (map_over_byte_table): Likewise.
2267 (map_char_table): Modify for `map_over_uint8_byte_table',
2268 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
2269 element is not loaded, load the corresponding attributes from an
2271 (Fput_char_attribute): Change initial values to Qunloaded.
2273 * chartab.h (get_char_id_table): If a character attribute is not
2274 loaded and the attribute value is not found in an external
2275 database, store Qunbound as the attribute value.
2277 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2279 * chartab.c (BT_UINT8_unloaded): New macro.
2280 (UINT8_VALUE_P): Accept Qunloaded.
2281 (UINT8_ENCODE): Likewise.
2282 (UINT8_DECODE): Likewise.
2283 (BT_UINT16_unloaded): New macro.
2284 (UINT16_VALUE_P): Accept Qunloaded.
2285 (UINT16_ENCODE): Likewise.
2286 (UINT16_DECODE): Likewise.
2287 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
2289 (mark_char_table): Mark `ct->name' in UTF-2000.
2290 (char_table_description): Add `name' in UTF-2000.
2291 (Fmake_char_table): Initialize `ct->name'.
2292 (Fcopy_char_table): Copy `ct->name'.
2293 (Fput_char_attribute): Store value into an external database if
2294 HAVE_DATABASE is defined.
2296 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
2298 (CHAR_TABLE_NAME): New macro in UTF-2000.
2299 (XCHAR_TABLE_NAME): New macro in UTF-2000.
2300 (get_char_id_table): Try to read an external database if Qunloaded
2301 is stored in a table.
2303 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
2306 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2308 * database.h: Add EXFUN definitions for Fopen_database,
2309 Fput_database, Fget_database and Fclose_database.
2311 * data.c (Qunloaded): New variable in UTF-2000.
2313 * lisp.h (Qunloaded): New variable in UTF-2000.
2315 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2317 * mule-charset.c (put_char_ccs_code_point): Modify for
2318 `decoding_table_remove_char' and `decoding_table_put_char'.
2319 (remove_char_ccs): Modify for `decoding_table_remove_char'.
2321 * char-ucs.h (decoding_table_remove_char): Change arguments to
2322 hide decoding_table vector.
2323 (decoding_table_put_char): Likewise.
2325 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2327 * mule-charset.c (decoding_table_remove_char): Moved to
2329 (decoding_table_put_char): Likewise.
2331 * char-ucs.h (decoding_table_check_elements): New prototype [moved
2332 from mule-charset.c].
2333 (decoding_table_remove_char): New inline function [moved from
2335 (decoding_table_put_char): Likewise.
2337 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2339 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
2342 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2344 * mule-charset.c (decode_builtin_char): Support mother charsets.
2346 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2348 * mule-charset.c (Q94x94x60): New variable.
2349 (charset_code_point): Support conversion `94x94x60'.
2350 (Fmake_charset): Likewise.
2351 (syms_of_mule_charset): Add new symbol `94x94x60'.
2353 * char-ucs.h (CONVERSION_94x94x60): New macro.
2355 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2357 * mule-charset.c (charset_code_point): Unify code about
2360 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2362 * mule-charset.c (charset_code_point): Merge code about builtin
2363 characters into code about mother charsets; don't use
2364 `range_charset_code_point'.
2365 (range_charset_code_point): Deleted.
2367 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2369 * mule-charset.c (Qcode_offset): New variable.
2370 (Fmake_charset): Use `XUINT' to get value of `min-code' and
2371 `max-code'; accept new property `code-offset'.
2372 (syms_of_mule_charset): Add new symbol `code-offset'.
2374 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2376 * mule-charset.c (range_charset_code_point): Fixed.
2378 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2380 * mule-charset.c (decode_builtin_char): Change semantics of
2381 code-offset of coded-charset.
2382 (charset_code_point): Likewise.
2383 (range_charset_code_point): Likewise.
2384 (complex_vars_of_mule_charset): Modify for the change.
2386 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2388 * mule-charset.c (Fencode_char): Reverse arguments.
2390 * mule-charset.c (charset_code_point): Fixed.
2392 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2394 * mule-charset.c (Vcharset_mojikyo): Deleted.
2395 (Vcharset_mojikyo_2022_1): Deleted.
2396 (Vcharset_mojikyo_pj_{1..21}): Deleted.
2397 (Qmin_code): New variable in UTF-2000.
2398 (Qmax_code): Likewise.
2399 (Qmother): Likewise.
2400 (Qconversion): Likewise.
2402 (Qmojikyo): Deleted.
2403 (Qmojikyo_2022_1): Deleted.
2404 (Qmojikyo_pj_{1..22}): Deleted.
2405 (mark_charset): Mark `cs->mother'.
2406 (charset_description): Add description for `mother'.
2407 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
2408 new arguments `mother' and `conversion'; use
2409 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
2410 (charset_code_point): Moved from char-ucs.h; support `mother'
2412 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
2413 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
2414 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
2415 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
2416 allow 2 as the value of `graphic' in UTF-2000; add new properties
2417 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
2418 require `final' in UTF-2000; modify for `make_charset'.
2419 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
2420 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
2421 (Fcharset_property): Support `mother', `min-code' and `max-code'.
2422 (Fencode_char): New function.
2423 (syms_of_mule_charset): Add new builtin function `encode-char' in
2424 UTF-2000; add new symbols `min-code', `max-code', `mother',
2425 `conversion' and `94x60'; delete symbols `mojikyo',
2426 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2427 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2428 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2429 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2431 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2432 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2434 * char-ucs.h (Vcharset_mojikyo): Deleted.
2435 (Vcharset_mojikyo_2022_1): Deleted.
2436 (LEADING_BYTE_MOJIKYO): Deleted.
2437 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2438 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2439 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2440 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2441 add new member `mother'; add new member `conversion'.
2442 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2443 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2444 (CHARSET_MOTHER): New macro.
2445 (CHARSET_CONVERSION): New macro.
2446 (CONVERSION_IDENTICAL): New macro.
2447 (CONVERSION_94x60): New macro.
2448 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2449 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2450 (XCHARSET_MOTHER): New macro.
2451 (XCHARSET_CONVERSION): New macro.
2452 (MIN_CHAR_MOJIKYO): Deleted.
2453 (MAX_CHAR_MOJIKYO): Deleted.
2454 (DECODE_MOJIKYO_2022): Deleted.
2455 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2456 (charset_code_point): Changed to non-inline function.
2457 (encode_char_1): Use `charset_code_point'.
2458 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2460 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2462 * lread.c (read_compiled_function): Fix prototype.
2463 (read_vector): Likewise.
2465 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2467 * lrecord.h (struct lrecord_header): Delete `older'.
2468 (set_lheader_implementation): Delete code for `older'.
2469 (set_lheader_older_implementation): Deleted.
2470 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2471 (OLDER_RECORD_P): Deleted.
2472 (OLDER_RECORD_HEADER_P): Deleted.
2473 (alloc_older_lcrecord): Deleted.
2474 (alloc_older_lcrecord_type): Deleted.
2476 * alloc.c (all_older_lcrecords): Deleted.
2477 (alloc_older_lcrecord): Deleted.
2478 (disksave_object_finalization_1): Delete code for older objects.
2479 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2480 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2482 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2484 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2485 instead of `make_older_vector'.
2486 (put_char_ccs_code_point): Likewise.
2487 (mark_charset): Mark `cs->decoding_table'.
2488 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2490 * lisp.h (make_older_vector): Deleted.
2491 (make_vector_newer): Deleted.
2493 * config.h.in (HAVE_GGC): Deleted.
2495 * alloc.c (make_older_vector): Deleted.
2496 (make_vector_newer_1): Deleted.
2497 (make_vector_newer): Deleted.
2499 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2501 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2502 (Qideograph_daikanwa_2): New variable.
2503 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2504 (complex_vars_of_mule_charset): Add new coded-charset
2505 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2506 `LEADING_BYTE_DAIKANWA'.
2508 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2509 (LEADING_BYTE_DAIKANWA_1): New macro.
2510 (LEADING_BYTE_DAIKANWA_2): New macro.
2511 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2513 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2515 * mule-charset.c (complex_vars_of_mule_charset): Change
2516 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2517 the second revised version.
2519 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2521 * mule-charset.c (Vcharset_ucs_smp): New variable.
2522 (Vcharset_ucs_sip): New variable.
2523 (Qucs_smp): New variable.
2524 (Qucs_sip): New variable.
2525 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2526 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2527 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2528 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2529 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2530 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2532 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2533 (LEADING_BYTE_UCS_SIP): New macro.
2534 (MIN_CHAR_SMP): New macro.
2535 (MAX_CHAR_SMP): New macro.
2536 (MIN_CHAR_SIP): New macro.
2537 (MAX_CHAR_SIP): New macro.
2539 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2541 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2544 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2546 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2547 value; don't store value into `encoding_table' of `Lisp_Charset'.
2548 (mark_charset): `encoding_table' was deleted.
2549 (charset_description): Likewise.
2550 (make_charset): Likewise.
2551 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2552 `put_char_ccs_code_point'.
2554 * chartab.h (Fput_char_attribute): New EXFUN.
2556 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2557 is unified with normal symbol space.
2558 (Fget_char_attribute): Likewise.
2559 (Fput_char_attribute): Likewise; behavior of
2560 `put_char_ccs_code_point' is changed.
2562 * char-ucs.h: Include "elhash.h".
2563 (Vchar_attribute_hash_table): New external variable.
2564 (struct Lisp_Charset): Delete `encoding_table'.
2565 (CHARSET_ENCODING_TABLE): New implementation; refer
2566 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2569 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2571 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2574 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2576 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2579 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2581 * chartab.c (uint8_byte_table_description): New constant.
2582 (uint8-byte-table): Use `uint8_byte_table_description'.
2583 (uint16_byte_table_description): New constant.
2584 (uint16-byte-table): Use `uint16_byte_table_description'.
2586 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2588 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2589 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2591 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2593 * mule-charset.c (Vcharset_ucs_ks): New variable.
2594 (Qucs_ks): New variable.
2595 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2596 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2598 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2600 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2602 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2603 (Fdecode_char): Likewise.
2605 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2607 (Fdefine_char): Modify for Fdecode_char.
2608 (Ffind_char): Likewise.
2610 * mule-charset.c (Fdecode_char): Add new optional argument
2612 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2614 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2616 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2617 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2618 (allocate_coding_system): Initialize initial-charsets of
2619 CODESYS_BIG5 in XEmacs UTF-2000.
2620 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2621 CODESYS_BIG5 in XEmacs UTF-2000.
2622 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2623 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2625 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2627 (Qideograph_hanziku_{1 .. 12}): Likewise.
2628 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2630 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2631 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2632 `ideograph-hanziku-{1 .. 12}'.
2634 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2635 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2636 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2637 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2638 (DECODE_DEFINED_CHAR): New inline function.
2639 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2641 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2643 * mule-charset.c (Vcharset_china3_jef): Renamed from
2644 `Vcharset_japanese_jef_china3'.
2645 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2646 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2647 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2648 (syms_of_mule_charset): Rename `china3-jef' from
2649 `japanese-jef-china3'.
2650 (complex_vars_of_mule_charset): Likewise; rename
2651 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2653 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2654 `LEADING_BYTE_JEF_CHINA3'.
2655 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2656 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2658 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2660 * mule-charset.c (encode_builtin_char_1): Comment out special code
2661 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2663 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2664 (MAX_CHAR_MOJIKYO_0): Comment out.
2665 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2666 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2667 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2668 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2670 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2672 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2673 (Qideograph_cbeta): New variable.
2674 (encode_builtin_char_1): Comment out special code for
2675 coded-charset `mojikyo' and `japanese-jef-china3'.
2676 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2677 (complex_vars_of_mule_charset): Add new coded-charset
2680 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2681 (MIN_CHAR_CBETA): New macro.
2682 (MAX_CHAR_CBETA): New macro.
2684 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2686 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2687 (LEADING_BYTE_JEF_CHINA3): New macro.
2688 (MIN_CHAR_JEF_CHINA3): New macro.
2689 (MAX_CHAR_JEF_CHINA3): Likewise.
2690 (DECODE_CHAR): Fixed.
2692 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2694 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2695 (Qjapanese_jef_china3): New variable.
2696 (encode_builtin_char_1): Support `japanese-jef-china3'.
2697 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2698 (complex_vars_of_mule_charset): Add new coded-charset
2699 `japanese-jef-china3'.
2701 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2703 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2704 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2705 94^4, 96^3, 96^4, 128^n and 256^n set.
2706 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2707 (map_char_table): Likewise.
2709 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2711 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2714 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2716 * chartab.h (get_char_id_table): New inline function.
2718 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2721 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2723 * chartab.h (decode_char_table_range): New prototype in XEmacs
2725 (put_char_id_table): New inline function in XEmacs UTF-2000.
2727 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2729 (decode_char_table_range): Delete static declaration in XEmacs
2732 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2734 * chartab.c (put_char_id_table): Use `put_char_table'.
2736 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2738 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2739 (map_over_uint16_byte_table): Likewise.
2740 (map_over_byte_table): Likewise.
2741 (map_char_table): Modify for `map_over_uint8_byte_table',
2742 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2745 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2747 * chartab.c (struct map_char_table_for_charset_arg): New
2749 (map_char_table_for_charset_fun): New function.
2750 (map_char_table): Use `map_char_table' for encoding_table of
2753 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2755 * chartab.c (map_char_table): Check a character is found in
2756 range->charset instead of non default value is defined in
2757 char-table when range is CHARTAB_RANGE_ROW.
2759 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2761 * chartab.c (map_char_id_table): Deleted.
2762 (Fmap_char_attribute): Use `map_char_table' instead of
2763 `map_char_id_table'.
2765 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2767 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2769 (update_syntax_table): Deleted in XEmacs UTF-2000.
2771 * syntax.c (find_defun_start): Use `syntax_table' instead of
2772 `mirror_syntax_table' in XEmacs UTF-2000.
2773 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2775 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2777 (Fmatching_paren): Likewise.
2778 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2780 (find_start_of_comment): Likewise.
2781 (find_end_of_comment): Likewise.
2782 (Fforward_comment): Likewise.
2783 (scan_lists): Likewise.
2784 (char_quoted): Likewise.
2785 (Fbackward_prefix_chars): Likewise.
2786 (scan_sexps_forward): Likewise.
2787 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2788 (update_syntax_table): Likewise.
2790 * search.c (skip_chars): Use `syntax_table' instead of
2791 `mirror_syntax_table' in XEmacs UTF-2000.
2792 (wordify): Likewise.
2793 (Freplace_match): Likewise.
2795 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2796 `mirror_syntax_table' in XEmacs UTF-2000.
2797 (WORDCHAR_P_UNSAFE): Likewise.
2798 (re_match_2_internal): Likewise.
2800 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2801 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2803 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2804 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2806 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2809 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2811 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2812 (char_table_description): Delete `mirror_table' in XEmacs
2814 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2816 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2817 (Fcopy_char_table): Likewise.
2818 (put_char_table): Don't call `update_syntax_table' in XEmacs
2821 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2822 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2823 (casify_region_internal): Likewise.
2825 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2827 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2828 `mirror_syntax_table' in XEmacs UTF-2000.
2830 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2831 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2832 (Fexpand_abbrev): Likewise.
2834 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2836 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2838 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2840 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2841 (map_over_uint16_byte_table): Likewise.
2842 (map_over_byte_table): Likewise.
2843 (get_char_id_table): Refer `cit->default_value'.
2844 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2845 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2846 of character-id ranges.
2847 (mark_char_table): Mark `ct->default_value'.
2848 (char_table_description): Add `default_value'.
2849 (fill_char_table): Use `default_value'.
2850 (decode_char_table_range): Decode `nil' as
2851 `CHARTAB_RANGE_DEFAULT'.
2852 (get_char_id_table): Refer `cit->default_value'.
2853 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2854 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2855 temporary hack; check value of char-table is bound or not.
2856 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2858 * chartab.h (struct Lisp_Char_Table): Add new member
2859 `default_value' in XEmacs UTF-2000.
2860 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2861 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2864 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2866 * chartab.h (Lisp_Char_ID_Table): Deleted.
2868 * chartab.c (char_table_description): Fix typo.
2869 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2870 `Lisp_Char_ID_Table'.
2872 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2874 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2877 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2880 * chartab.h (XCHAR_ID_TABLE): Deleted.
2881 (XSETCHAR_ID_TABLE): Deleted.
2882 (CHAR_ID_TABLE_P): Deleted.
2884 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2886 (Fget_composite_char): Likewise.
2887 (put_char_table): Likewise.
2888 (add_char_attribute_alist_mapper): Fixed.
2889 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2891 (Fget_char_attribute): Likewise.
2892 (Fget_char_attribute): Likewise.
2893 (Fmap_char_attribute): Likewise.
2895 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2897 (encode_char_1): Likewise.
2899 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2901 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2904 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2905 instead of `XCHAR_ID_TABLE'.
2906 (remove_char_ccs): Likewise.
2908 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2910 (Fget_composite_char): Likewise.
2911 (Fchar_variants): Likewise.
2912 (put_char_table): Likewise.
2913 (add_char_attribute_alist_mapper): Likewise.
2914 (Fchar_attribute_alist): Likewise.
2915 (Fget_char_attribute): Likewise.
2916 (Fput_char_attribute): Likewise.
2917 (Fmap_char_attribute): Likewise.
2918 (Fmap_char_attribute): Likewise.
2920 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2922 (encode_char_1): Likewise.
2924 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2926 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2927 `Lisp_Char_ID_Table'.
2928 (mark_char_id_table): Deleted.
2929 (print_char_id_table): Likewise.
2930 (char_id_table_equal): Likewise.
2931 (char_id_table_hash): Likewise.
2932 (char_id_table_description): Likewise.
2933 (char_id_table): Likewise.
2934 (make_char_id_table): Use `Fmake_char_table' and
2936 (get_char_id_table): Use `Lisp_Char_Table' instead of
2937 `Lisp_Char_ID_Table'.
2938 (put_char_id_table): Likewise.
2939 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2941 (Fremove_char_attribute): Likewise.
2942 (syms_of_chartab): Don't define type `char-id-table'.
2944 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2945 (char_id_table): Likewise.
2946 (GC_CHAR_ID_TABLE_P): Likewise.
2947 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2948 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2949 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2950 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2951 (get_char_id_table): Use `Lisp_Char_Table' instead of
2952 `Lisp_Char_ID_Table'.
2953 (put_char_id_table_0): Likewise.
2954 (put_char_id_table): Likewise.
2956 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2958 * chartab.h: Lisp_Byte_Table related codes are moved from
2961 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2963 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2965 * chartab.h: Don't include "chartab.h".
2966 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2967 (Lisp_Char_ID_Table): Likewise.
2968 (char_id_table): Likewise.
2969 (XCHAR_ID_TABLE): Likewise.
2970 (XSETCHAR_ID_TABLE): Likewise.
2971 (CHAR_ID_TABLE_P): Likewise.
2972 (GC_CHAR_ID_TABLE_P): Likewise.
2973 (get_char_id_table): Likewise.
2975 * char-ucs.h: Include "chartab.h".
2976 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2977 (Lisp_Char_ID_Table): Likewise.
2978 (char_id_table): Likewise.
2979 (XCHAR_ID_TABLE): Likewise.
2980 (XSETCHAR_ID_TABLE): Likewise.
2981 (CHAR_ID_TABLE_P): Likewise.
2982 (GC_CHAR_ID_TABLE_P): Likewise.
2983 (get_char_id_table): Likewise.
2985 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2987 * chartab.c (copy_uint8_byte_table): New function.
2988 (copy_uint16_byte_table): New function.
2989 (copy_byte_table): New function.
2990 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2992 (map_over_uint16_byte_table): Likewise.
2993 (map_over_byte_table): Likewise.
2994 (get_byte_table): Move prototype to chartab.h.
2995 (put_byte_table): Likewise.
2996 (put_char_id_table_0): Moved to chartab.h.
2997 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2998 (char_table_entry_equal): Likewise.
2999 (char_table_entry_hash): Likewise.
3000 (char_table_entry_description): Likewise.
3001 (char_table_entry): Likewise.
3002 (make_char_table_entry): Likewise.
3003 (copy_char_table_entry): Likewise.
3004 (get_non_ascii_char_table_value): Likewise.
3005 (map_over_charset_ascii): Likewise.
3006 (map_over_charset_control_1): Likewise.
3007 (map_over_charset_row): Likewise.
3008 (map_over_other_charset): Likewise.
3009 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
3010 (print_char_table): Likewise.
3011 (char_table_equal): Likewise.
3012 (char_table_hash): Likewise.
3013 (char_table_description): Likewise.
3014 (fill_char_table): Likewise.
3015 (Fcopy_char_table): Likewise.
3016 (get_char_table): Likewise.
3017 (Fget_range_char_table): Likewise.
3018 (put_char_table): Likewise.
3019 (map_char_table): Likewise.
3020 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
3023 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3025 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
3026 `Vauto_fill_chars' in XEmacs UTF-2000.
3028 * chartab.h (get_byte_table): New prototype [moved from
3030 (put_byte_table): Likewise [moved from chartab.c].
3031 (put_char_id_table_0): New inline function [moved from chartab.c].
3032 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
3033 (Lisp_Char_Table_Entry): Likewise.
3034 (char_table_entry): Likewise.
3035 (XCHAR_TABLE_ENTRY): Likewise.
3036 (XSETCHAR_TABLE_ENTRY): Likewise.
3037 (CHAR_TABLE_ENTRYP): Likewise.
3038 (CHECK_CHAR_TABLE_ENTRY): Likewise.
3039 (NUM_ASCII_CHARS): Likewise.
3040 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
3041 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
3043 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3045 * chartab.c (get_char_id_table): Change interface.
3046 (put_char_id_table_0): New function.
3047 (put_char_id_table): Change interface; new implementation.
3048 (Fget_composite_char): Modify for interface change of
3049 `get_char_id_table'.
3050 (Fchar_variants): Likewise.
3051 (add_char_attribute_alist_mapper): Likewise.
3052 (Fchar_attribute_alist): Likewise.
3053 (Fget_char_attribute): Likewise.
3054 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
3055 as same as character as the first argument like `put-char-table';
3056 modify for interface change of `put_char_id_table'.
3057 (Fremove_char_attribute): Modify for interface change of
3058 `put_char_id_table'.
3060 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3062 * text-coding.c: Sync up with XEmacs 21.2.41.
3063 (COMPOSE_ADD_CHAR): Modify for interface change of
3064 `get_char_id_table'.
3066 * mule-charset.c (put_char_ccs_code_point): Modify for interface
3067 change of `put_char_id_table'.
3068 (remove_char_ccs): Likewise.
3070 * chartab.h (put_char_id_table): Change interface.
3072 * char-ucs.h (get_char_id_table): Change interface.
3073 (charset_code_point): Modify for interface change of
3074 `get_char_id_table'.
3075 (encode_char_1): Likewise.
3077 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3079 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
3081 (map_over_uint16_byte_table): Likewise.
3082 (map_over_byte_table): Likewise.
3083 (map_char_id_table): Add new argument `range' like
3085 (Fmap_char_attribute): Add new argument `range' like
3088 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3090 * chartab.c (map_over_uint8_byte_table): Change interface of
3091 mapping function to use struct chartab_range instead of Emchar.
3092 (map_over_uint16_byte_table): Likewise.
3093 (map_over_byte_table): Likewise.
3094 (map_char_id_table): Likewise.
3095 (struct slow_map_char_id_table_arg): Deleted.
3096 (slow_map_char_id_table_fun): Deleted.
3097 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
3098 function `slow_map_char_table_fun' instead of struct
3099 `slow_map_char_id_table_arg' and function
3100 `slow_map_char_id_table_fun'.
3102 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3104 * mule-charset.c: Move char-it-table related codes to chartab.c.
3105 (Vutf_2000_version): Moved to chartab.c.
3106 (Fdefine_char): Likewise.
3107 (Ffind_char): Likewise.
3108 (syms_of_mule_charset): Move types `uint8-byte-table',
3109 `uint16-byte-table', `byte-table' and `char-id-table' to
3110 chartab.c; move functions `char_attribute_list,
3111 `find_char_attribute_table, `char_attribute_alist,
3112 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
3113 `map_char_attribute, `define_char, `find_char, `char_variants and
3114 `get_composite_char to chartab.c; move symbols `=>ucs',
3115 `->decomposition', `compat', `isolated', `initial', `medial',
3116 `final', `vertical', `noBreak', `fraction', `super', `sub',
3117 `circle', `square', `wide', `narrow', `small' and `font' to
3119 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
3120 setting codes for `Vcharacter_composition_table' and
3121 `Vcharacter_variant_table' to chartab.c.
3122 (complex_vars_of_mule_charset): Move setting code for
3123 `Vchar_attribute_hash_table' to chartab.c.
3125 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
3126 (make_char_id_table): New prototype.
3127 (put_char_id_table): Likewise.
3128 (Fget_char_attribute): Likewise.
3130 * chartab.c: Move char-id-table related code from mule-charset.c.
3131 (Vutf_2000_version): Moved from mule-charset.c.
3133 * char-ucs.h (Qucs): New external variable.
3134 (put_char_ccs_code_point): New prototype.
3135 (remove_char_ccs): Likewise.
3137 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3139 * mule-charset.c (Vcharset_ucs_jis): New variable.
3140 (Qucs_jis): Likewise.
3141 (syms_of_mule_charset): Add new symbol `ucs-jis'.
3142 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
3144 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
3146 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3148 * mule-charset.c (map_over_uint8_byte_table): New function.
3149 (map_over_uint16_byte_table): Likewise.
3150 (map_over_byte_table): Likewise.
3151 (map_char_id_table): Likewise.
3152 (slow_map_char_id_table_fun): Likewise.
3153 (Fmap_char_attribute): Likewise.
3154 (syms_of_mule_charset): Add new function `map-char-attribute'.
3156 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3158 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
3159 (syms_of_mule_charset): Add new function `find-char'.
3161 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3163 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
3165 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
3166 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
3168 (complex_vars_of_mule_charset): Add new coded-charset
3169 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
3170 `ideograph-gt-pj-*'.
3172 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
3174 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3176 * mule-charset.c (encode_builtin_char_1): Purge codes about
3177 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
3178 {MIN|MAX}_CHAR_HEBREW.
3179 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
3180 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
3182 * char-ucs.h (MIN_CHAR_GREEK): Purged.
3183 (MAX_CHAR_GREEK): Purged.
3184 (MIN_CHAR_CYRILLIC): Purged.
3185 (MAX_CHAR_CYRILLIC): Purged.
3186 (MIN_CHAR_HEBREW): Commented out.
3187 (MAX_CHAR_HEBREW): Likewise.
3189 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3191 * mule-charset.c (Qto_ucs): New variable.
3192 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
3193 (Fdefine_char): Likewise.
3194 (syms_of_mule_charset): Add new symbol `=>ucs'.
3196 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3198 * mule-charset.c (Fdecode_char): Fixed.
3200 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3202 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
3203 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
3206 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3208 * mule-charset.c (Vcharset_ucs_big5): New variable.
3209 (Qucs_big5): Likewise.
3210 (syms_of_mule_charset): Add new symbol `ucs-big5'.
3211 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
3213 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
3215 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3217 * mule-charset.c (decode_builtin_char): Check Big5 code range
3218 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
3220 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3222 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
3223 (Qchinese_gb12345): Likewise.
3224 (Fdecode_builtin_char): Fixed.
3225 (syms_of_mule_charset): Add `chinese-gb12345'.
3226 (complex_vars_of_mule_charset): Add coded-charset
3229 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
3230 (LEADING_BYTE_CHINESE_GB12345): New macro.
3232 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3234 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
3235 and `latin-viscii-upper' for `latin-viscii'.
3237 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3239 * mule-charset.c (Fdecode_builtin_char): Comment out
3240 regularization code for ISO-IR GR representation.
3242 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3244 * mule-charset.c (decode_builtin_char): New function; renamed from
3245 `make_builtin_char'; return -1 instead of signal.
3246 (Fdecode_builtin_char): Use `decode_builtin_char'.
3248 * char-ucs.h (decode_builtin_char): New prototype; renamed from
3249 `make_builtin_char'.
3250 (DECODE_CHAR): Use `decode_builtin_char' instead of
3251 `make_builtin_char'; use mapping table of `chinese-big5' for
3252 `chinese-big5-{1,2}'.
3254 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3256 * text-coding.c (char_encode_big5): New function.
3257 (char_finish_big5): Likewise.
3258 (reset_encoding_stream): Use `char_encode_big5' and
3259 `char_finish_big5' for CODESYS_BIG5.
3260 (mule_encode): Don't use `encode_coding_big5'.
3261 (encode_coding_big5): Deleted.
3263 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3265 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
3266 0x81- in XEmacs UTF-2000.
3267 (detect_coding_big5): Likewise.
3269 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3271 * mule-charset.c (Fdefine_char): Don't use a CCS property to
3272 generate character-id if the CCS property does not have
3273 corresponding predefined character.
3274 (make_builtin_char): Return -1 if corresponding predefined
3275 character is not found.
3276 (Fdecode_char): Return nil if corresponding character is not
3278 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
3279 don't map to builtin ucs space.
3281 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3283 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
3284 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
3286 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3288 * mule-charset.c (Vcharset_ideograph_gt): New variable.
3289 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
3290 (Qideograph_gt): Likewise.
3291 (Qideograph_gt_pj_{1..11}): Likewise.
3292 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
3293 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
3294 `ideograph-gt-pj-11'.
3295 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
3296 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
3297 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
3299 * char-ucs.h (LEADING_BYTE_GT): New macro.
3300 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
3301 (MIN_CHAR_GT): Likewise.
3302 (MAX_CHAR_GT): Likewise.
3304 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3306 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
3307 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
3309 * doprnt.c (unsigned_int_converters): Add `c'.
3310 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
3312 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
3313 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
3315 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
3316 (MAX_CHAR_MOJIKYO_0): New macro.
3317 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
3319 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3321 * mule-charset.c (Fdefine_char): Delete cemented out code.
3322 (encode_builtin_char_1): Modify for new allocation of builtin
3325 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
3327 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3329 * mule-charset.c (Vcharset_ucs_cns): New variable.
3330 (Qucs_cns): New variable.
3331 (syms_of_mule_charset): Add new symbol `ucs-cns'.
3332 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
3334 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3336 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
3338 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3340 * search.c (search_buffer): Make `charset_base_code' as
3341 character-id >> 6 to eliminate the corresponding last byte in
3342 UTF-8 representation [I'm not sure it is right thing].
3343 (boyer_moore): Likewise.
3345 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3347 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
3348 representation in MULE.
3350 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3352 * text-coding.c (Fmake_coding_system): Use
3353 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
3354 `EXTERNAL_PROPERTY_LIST_LOOP'.
3356 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3358 * text-coding.c (decode_output_utf8_partial_char): New function.
3359 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
3361 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3363 * text-coding.c (decode_coding_utf8): Output original byte
3364 sequence if it is broken; change order of conditions.
3366 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
3369 * mb-multibyte.h (BYTE_ASCII_P):
3370 Use bit ops for char-signedness safety.
3371 (BYTE_C0_P): Use bit ops for char-signedness safety.
3372 (BYTE_C1_P): Use bit ops for char-signedness safety.
3374 * character.h: (XCHAR_OR_CHAR_INT):
3375 Always use inline function.
3376 Remove redundant type checking assert() - XINT will abort quite
3379 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3381 * text-coding.c: (Fencode_shift_jis_char):
3382 (Fencode_big5_char):
3383 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3384 Replace 0 with '\0' when working with bytes.
3385 Replace initial "(" with "\(" in docstrings.
3387 (Fmake_coding_system):
3388 When type is ccl and value is vector, register it with a proper
3389 symbol. And checks whether the given ccl program is valid.
3390 (mule_decode): When calling ccl_driver, if src indicates
3391 NULL pointer, set an empty string instead.
3392 (mule_encode): Likewise.
3395 (detect_coding_sjis):
3396 (decode_coding_sjis):
3397 (detect_coding_big5):
3398 (decode_coding_big5):
3399 (detect_coding_ucs4):
3400 (decode_coding_ucs4):
3401 (detect_coding_utf8):
3402 (decode_coding_utf8):
3403 (detect_coding_iso2022):
3404 (decode_coding_iso2022):
3405 (decode_coding_no_conversion):
3407 Make all detecting and decoding functions take an Extbyte * arg.
3408 (text_encode_generic):
3409 (encode_coding_big5):
3410 (encode_coding_no_conversion):
3412 Make all encoding functions take a Bufbyte * arg.
3413 Use size_t instead of unsigned int for memory sizes.
3414 Only cast to unsigned char whenever dereferencing Extbyte *.
3416 (struct lrecord_description fcd_description_1): Use countof.
3417 (complex_vars_of_file_coding):
3418 Use countof instead of sizeof.
3419 Use CHECK_NATNUM instead of CHECK_INT.
3421 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3423 * mule-charset.c (Fget_char_attribute): Add new optional argument
3425 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3426 (remove_char_ccs): Likewise.
3428 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3430 * text-coding.c (char_encode_shift_jis): New implementation in
3432 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3435 * mule-charset.c (Vcharset_chinese_big5): New variable in
3437 (Qchinese_big5): New variable in UTF-2000.
3438 (BIG5_SAME_ROW): New macro in UTF-2000.
3439 (make_builtin_char): Use builtin characters of
3440 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3441 characters of `Vcharset_chinese_big5'.
3442 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3443 (complex_vars_of_mule_charset): Add new coded-charset
3444 `chinese-big5' in UTF-2000.
3446 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3447 (Vcharset_chinese_big5): New external variable declaration.
3448 (Vcharset_japanese_jisx0208_1990): Likewise.
3450 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3452 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3454 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3456 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3458 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3459 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3460 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3463 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3465 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3467 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3469 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3472 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3474 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3475 for `CHARSET_BY_ATTRIBUTES'.
3476 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3477 `CHARSET_BY_ATTRIBUTES'.
3479 * text-coding.c (struct decoding_stream): Rename member `CH' to
3481 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3482 (decode_coding_sjis): Likewise.
3483 (decode_coding_big5): Likewise.
3484 (decode_coding_ucs4): Likewise.
3485 (decode_coding_utf8): Likewise.
3486 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3487 `CHARSET_BY_ATTRIBUTES'.
3488 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3489 `str->counter'; decode 3, 4 bytes sets.
3490 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3492 (decode_coding_no_conversion): Use `str->cpos' instead of
3495 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3496 (Qmojikyo_2022_1): New variable.
3497 (make_charset): Don't use `CHARSET_TYPE_*'.
3498 (range_charset_code_point): Support coded-charset
3500 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3501 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3502 `CHARSET_BY_ATTRIBUTES'.
3503 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3504 `CHARSET_BY_ATTRIBUTES'.
3505 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3506 (complex_vars_of_mule_charset): Add new coded-charset
3509 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3510 interface; changed to inline function.
3512 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3513 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3514 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3515 (CHARSET_TYPE_94): Deleted.
3516 (CHARSET_TYPE_94X94): Deleted.
3517 (CHARSET_TYPE_96): Deleted.
3518 (CHARSET_TYPE_96X96): Deleted.
3519 (CHARSET_TYPE_128): Deleted.
3520 (CHARSET_TYPE_128X128): Deleted.
3521 (CHARSET_TYPE_256): Deleted.
3522 (CHARSET_TYPE_256X256): Deleted.
3523 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3525 (DECODE_MOJIKYO_2022): New inline function.
3526 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3527 `Vcharset_mojikyo_2022_1'.
3529 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3531 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3533 (put_byte_table): Likewise.
3534 (char_id_table_equal): Use `get_byte_table' [new implementation].
3536 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3538 * mule-charset.c: Include <limits.h> in UTF-2000.
3539 (BT_UINT8_MIN): New macro in UTF-2000.
3540 (BT_UINT8_MAX): New macro in UTF-2000.
3541 (BT_UINT8_t): New macro in UTF-2000.
3542 (BT_UINT8_nil): New macro in UTF-2000.
3543 (BT_UINT8_unbound): New macro in UTF-2000.
3544 (INT_UINT8_P): New inline function in UTF-2000.
3545 (UINT8_VALUE_P): New inline function in UTF-2000.
3546 (UINT8_ENCODE): New inline function in UTF-2000.
3547 (UINT8_DECODE): New inline function in UTF-2000.
3548 (mark_uint8_byte_table): New function in UTF-2000.
3549 (print_uint8_byte_table): New function in UTF-2000.
3550 (uint8_byte_table_equal): New function in UTF-2000.
3551 (uint8_byte_table_hash): New function in UTF-2000.
3552 (make_uint8_byte_table): New function in UTF-2000.
3553 (uint8_byte_table_same_value_p): New function in UTF-2000.
3554 (BT_UINT16_MIN): New macro in UTF-2000.
3555 (BT_UINT16_MAX): New macro in UTF-2000.
3556 (BT_UINT16_t): New macro in UTF-2000.
3557 (BT_UINT16_nil): New macro in UTF-2000.
3558 (BT_UINT16_unbound): New macro in UTF-2000.
3559 (INT_UINT16_P): New inline function in UTF-2000.
3560 (UINT16_VALUE_P): New inline function in UTF-2000.
3561 (UINT16_ENCODE): New inline function in UTF-2000.
3562 (UINT16_DECODE): New inline function in UTF-2000.
3563 (UINT8_TO_UINT16): New inline function in UTF-2000.
3564 (mark_uint16_byte_table): New function in UTF-2000.
3565 (print_uint16_byte_table): New function in UTF-2000.
3566 (uint16_byte_table_equal): New function in UTF-2000.
3567 (uint16_byte_table_hash): New function in UTF-2000.
3568 (make_uint16_byte_table): New function in UTF-2000.
3569 (uint16_byte_table_same_value_p): New function in UTF-2000.
3570 (print_byte_table): New function in UTF-2000.
3571 (byte-table): Use `print_byte_table' as printer.
3572 (make_byte_table): Delete second argument `older'.
3573 (byte_table_same_value_p): New function in UTF-2000.
3574 (copy_byte_table): Deleted.
3575 (get_byte_table): New function in UTF-2000.
3576 (put_byte_table): New function in UTF-2000.
3577 (print_char_id_table): New function in UTF-2000.
3578 (char-id-table): Use `print_char_id_table' as printer.
3579 (make_char_id_table): Delete second argument `older'.
3580 (get_char_id_table): Use `get_byte_table [new implementation].
3581 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3583 (Ffind_char_attribute_table): New function in UTF-2000.
3584 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3585 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3586 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3587 (syms_of_mule_charset): Add new function
3588 `find-char-attribute-table' in UTF-2000.
3590 * lrecord.h (enum lrecord_type): Add
3591 `lrecord_type_uint16_byte_table' and
3592 `lrecord_type_uint8_byte_table'.
3594 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3595 (Lisp_Uint8_Byte_Table): New type.
3596 (XUINT8_BYTE_TABLE): New macro.
3597 (XSETUINT8_BYTE_TABLE): New macro.
3598 (UINT8_BYTE_TABLE_P): New macro.
3599 (GC_UINT8_BYTE_TABLE_P): New macro.
3600 (struct Lisp_Uint16_Byte_Table): New structure.
3601 (Lisp_Uint16_Byte_Table): New type.
3602 (XUINT16_BYTE_TABLE): New macro.
3603 (XSETUINT16_BYTE_TABLE): New macro.
3604 (UINT16_BYTE_TABLE_P): New macro.
3605 (GC_UINT16_BYTE_TABLE_P): New macro.
3607 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3609 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3610 (Vcharacter_ideographic_strokes_table): Deleted.
3611 (Vcharacter_total_strokes_table): Deleted.
3612 (Vcharacter_morohashi_daikanwa_table): Deleted.
3613 (Vcharacter_decomposition_table): Deleted.
3614 (Qname): Deleted because it is duplicated.
3615 (Qideographic_radical): Deleted.
3616 (Qideographic_strokes): Deleted.
3617 (Qtotal_strokes): Deleted.
3618 (Qmorohashi_daikanwa): Deleted.
3619 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3620 `ideographic-radical', `ideographic-strokes', `total-strokes',
3621 `morohashi-daikanwa' and `->decomposition'.
3622 (Fget_char_attribute): Likewise.
3623 (Fput_char_attribute): Likewise; use `make-vector' instead of
3624 `make_older_vector' for `->decomposition' value.
3625 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3626 `ideograph-daikanwa'.
3627 (syms_of_mule_charset): Delete builtin symbols `name',
3628 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3629 `morohashi-daikanwa'.
3630 (vars_of_mule_charset): Don't setup
3631 `Vcharacter_ideographic_radical_table',
3632 `Vcharacter_ideographic_strokes_table',
3633 `Vcharacter_total_strokes_table',
3634 `Vcharacter_morohashi_daikanwa_table' and
3635 `Vcharacter_decomposition_table'.
3637 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3639 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3640 `make_older_vector', `make_vector_newer_1' and
3641 `make_vector_newer'.
3643 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3644 `make_older_vector' and `make_vector_newer'.
3646 * config.h.in (HAVE_GGC): New macro.
3648 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3650 * mule-charset.c (struct char_attribute_list_closure): New
3651 structure in UTF-2000.
3652 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3653 (Fchar_attribute_list): Likewise.
3654 (Fset_charset_mapping_table): Use `make_vector_newer'.
3655 (Fdecode_builtin_char): New function in UTF-2000.
3656 (syms_of_mule_charset): Add new function `char-attribute-list' and
3657 `decode-builtin-char' in UTF-2000.
3659 * lisp.h (make_vector_newer): New prototype.
3661 * alloc.c (make_vector_newer_1): New function.
3662 (make_vector_newer): New function.
3664 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3666 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3669 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3671 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3672 (Vcharacter_attribute_table): Deleted.
3673 (Vcharacter_name_table): Deleted.
3674 (put_char_attribute): Deleted.
3675 (remove_char_attribute): Deleted.
3676 (struct char_attribute_alist_closure): New structure.
3677 (add_char_attribute_alist_mapper): New function.
3678 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3679 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3680 (Fget_char_attribute): Likewise.
3681 (Fput_char_attribute): Likewise.
3682 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3683 of `remove_char_attribute'.
3684 (Fdefine_char): Return character.
3685 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3686 and `Vcharacter_name_table'.
3687 (complex_vars_of_mule_charset): Likewise
3688 `Vchar_attribute_hash_table'.
3690 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3692 * character.h (CHARC_CHARSET): New macro.
3693 (CHARC_CHARSET_ID): New macro.
3694 (CHARC_CODE_POINT): New macro.
3695 (CHARC_COLUMNS): New macro.
3696 (CHARC_TO_CHAR): New inline function.
3697 (CHARC_EQ): New inline function.
3698 (CHARC_ASCII_EQ): New inline function.
3699 (CHARC_IS_SPACE): New inline function.
3700 (ASCII_TO_CHARC): New inline function.
3702 * char-ucs.h (encode_char_2): Deleted.
3703 (ENCODE_CHAR): Use `encode_char_1' again.
3704 (breakup_char_1): Likewise.
3705 (CHAR_TO_CHARC): New inline function.
3707 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3709 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3711 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3712 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3713 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3714 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3715 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3717 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3719 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3721 (x_output_display_block): Use `CHARC_CHARSET' and
3724 * redisplay-tty.c (tty_output_display_block): Use
3726 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3728 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3730 * insdel.c (find_charsets_in_charc_string): Use
3732 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3733 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3734 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3735 (convert_charc_string_into_malloced_string): Likewise.
3737 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3739 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3740 instead of <Emchar_dynarr *> for buf; use
3741 `convert_bufbyte_string_into_charc_dynarr' instead of
3742 `convert_bufbyte_string_into_emchar_dynarr'; use
3743 `find_charsets_in_charc_string' instead of
3744 `find_charsets_in_emchar_string'.
3747 - Include "character.h".
3748 (struct rune): New member `cglyph'; delete member `chr'.
3750 * redisplay.c (redisplay_text_width_charc_string): New function;
3751 delete `redisplay_text_width_emchar_string'.
3752 (rtw_charc_dynarr): New variable; renamed from
3753 `rtw_emchar_dynarr'.
3754 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3755 `rtw_emchar_dynarr'; use
3756 `convert_bufbyte_string_into_charc_dynarr' instead of
3757 `convert_bufbyte_string_into_emchar_dynarr'; use
3758 `redisplay_text_width_charc_string' instead of
3759 `redisplay_text_width_emchar_string'.
3760 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3761 instead of `rtw_emchar_dynarr'; use
3762 `convert_bufbyte_string_into_charc_dynarr' instead of
3763 `convert_bufbyte_string_into_emchar_dynarr'.
3764 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3765 `redisplay_text_width_charc_string' instead of
3766 `redisplay_text_width_emchar_string'.
3767 (create_text_block): Modify for <struct rune> change.
3768 (generate_formatted_string_db): Likewise.
3769 (create_string_text_block): Likewise.
3770 (pixel_to_glyph_translation): Likewise.
3772 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3773 instead of <const Emchar *>.
3774 (x_text_width): Likewise.
3775 (x_output_display_block): Use <Charc_dynarr *> instead
3776 <Emchar_dynarr *>; modify for <structure rune> change.
3777 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3780 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3781 <const Emchar *>; use `charc_string_displayed_columns' instead of
3782 `emchar_string_displayed_columns'.
3783 (tty_output_display_block): Use <Charc_dynarr *> instead of
3784 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3785 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3786 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3787 `tty_output_emchar_dynarr_dynarr'.
3788 (tty_output_charc_dynarr): New function; delete
3789 `tty_output_charc_dynarr'.
3791 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3792 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3793 <Emchar_dynarr *> for buf; use
3794 `convert_bufbyte_string_into_charc_dynarr' instead of
3795 `convert_bufbyte_string_into_emchar_dynarr'.
3797 * frame.c (title_string_charc_dynarr): New variable; renamed from
3798 `title_string_emchar_dynarr'.
3799 (generate_title_string): Use `title_string_charc_dynarr' instead
3800 of `title_string_emchar_dynarr'; use
3801 `convert_charc_string_into_malloced_string' instead of
3802 `convert_emchar_string_into_malloced_string'.
3803 (init_frame): Use `title_string_charc_dynarr' instead of
3804 `title_string_emchar_dynarr'.
3807 - Include "character.h".
3808 (struct console_methods): Use <const Charc *> instead of <const
3809 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3810 <Emchar_dynarr *> in output_string_method.
3812 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3815 * console-stream.c (stream_text_width): Use <const Charc *>
3816 instead of <const Emchar *>.
3818 * character.h (Charc_dynarr): New type.
3820 * char-ucs.h (structure Charc): New structure; define new type
3823 * char-lb.h (DECODE_CHAR): New inline function.
3824 (encode_char_1): New inline function.
3825 (ENCODE_CHAR): New macro.
3826 (structure Charc): New structure; define new type `Charc'.
3828 * char-1byte.h (Vcharset_control_1): New macro.
3829 (Vcharset_latin_iso8859_1): New macro.
3830 (DECODE_CHAR): New inline function.
3831 (encode_char_1): New inline function.
3832 (ENCODE_CHAR): New macro.
3833 (structure Charc): New structure; define new type `Charc'.
3835 * insdel.c (find_charsets_in_charc_string): New function; delete
3836 `find_charsets_in_emchar_string'.
3837 (charc_string_displayed_columns): New function; delete
3838 `emchar_string_displayed_columns'.
3839 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3840 `convert_bufbyte_string_into_emchar_dynarr'.
3841 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3842 `convert_charc_string_into_bufbyte_dynarr'.
3843 (convert_charc_string_into_malloced_string): New function; delete
3844 `convert_charc_string_into_malloced_string'.
3846 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3847 `find_charsets_in_emchar_string'.
3848 (charc_string_displayed_columns): New prototype; delete
3849 `emchar_string_displayed_columns'.
3850 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3851 `convert_charc_string_into_bufbyte_dynarr'.
3852 (convert_charc_string_into_malloced_string): New prototype; delete
3853 `convert_charc_string_into_malloced_string'.
3855 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3857 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3859 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3861 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3863 * char-ucs.h: Use <short> for <Charset_ID>.
3865 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3868 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3870 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3873 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3875 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3877 (Qmorohashi_daikanwa): New variable.
3878 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3879 for `morohashi-daikanwa' attribute.
3880 (Fget_char_attribute): Likewise.
3881 (Fput_char_attribute): Likewise.
3882 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3883 has the same value of `ideograph-daikanwa'.
3884 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3885 (vars_of_mule_charset): Setup
3886 `Vcharacter_morohashi_daikanwa_table'.
3888 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3890 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3892 (add_charset_to_list_mapper): Add `key' instead of
3893 `XCHARSET_NAME (value)' to return aliases.
3895 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3897 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3899 (Vcharacter_ideographic_strokes_table): New variable.
3900 (Qideographic_radical): New variable.
3901 (Qideographic_strokes): New variable.
3902 (Fchar_attribute_alist): Use
3903 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3904 attribute; use `Vcharacter_ideographic_strokes_table' for
3905 `ideographic-strokes' attribute.
3906 (Fget_char_attribute): Likewise.
3907 (Fput_char_attribute): Likewise.
3908 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3909 `ideographic-strokes'.
3910 (vars_of_mule_charset): Setup
3911 `Vcharacter_ideographic_radical_table' and
3912 `Vcharacter_ideographic_strokes_table'.
3914 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3916 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3917 (Qtotal_strokes): New variable.
3918 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3919 `total-strokes' attribute.
3920 (Fget_char_attribute): Likewise.
3921 (Fput_char_attribute): Likewise.
3922 (syms_of_mule_charset): Add new symbol `total-strokes'.
3923 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3925 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3927 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3928 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3930 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3931 `->decomposition' attribute.
3932 (Fput_char_attribute): Likewise.
3933 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3935 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3937 * mule-charset.c (decoding_table_check_elements): New function.
3938 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3940 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3942 * mule-charset.c (Fset_charset_mapping_table): Use
3943 `put_char_ccs_code_point'.
3945 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3947 * mule-charset.c (decoding_table_put_char): New inline function.
3948 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3950 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3952 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3953 (XCHARSET_BYTE_SIZE): New macro.
3954 (decoding_table_remove_char): New inline function.
3955 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3956 `decoding_table_remove_char'.
3957 (remove_char_ccs): Use `decoding_table_remove_char'.
3958 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3960 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3962 * mule-charset.c (Vcharacter_name_table): New variable.
3963 (Qname): New variable.
3964 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3966 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3967 `Vcharacter_name_table' for `name' attribute.
3968 (Fremove_char_attribute): Use function `remove_char_ccs'.
3969 (put_char_ccs_code_point): New function.
3970 (remove_char_ccs): New function.
3971 (syms_of_mule_charset): Add new symbol `name'.
3972 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3974 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3976 * mule-charset.c (make_byte_table): Add new argument `older'.
3977 (make_char_id_table): Likewise.
3978 (copy_char_id_table): Comment out because it is not used.
3979 (put_char_id_table): Modify for `make_byte_table'.
3980 (Fput_char_attribute): Make encoding_table as older object;
3981 inherit older bit of `Vcharacter_composition_table'.
3982 (mark_charset): Don't mark `cs->encoding_table'.
3983 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3984 normal object; make `Vcharacter_composition_table' as an older
3985 object; delete staticpro for `Vcharacter_composition_table'; make
3986 `Vcharacter_variant_table' as a normal object.
3988 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3989 (mark_object): Don't check older object in UTF-2000.
3991 * lrecord.h (struct lrecord_header): Add new member `older' in
3993 (set_lheader_implementation): Setup `SLI_header->older' in
3995 (set_lheader_older_implementation): New macro in UTF-2000.
3996 (OLDER_RECORD_P): New macro in UTF-2000.
3997 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3998 (alloc_older_lcrecord): New prototype in UTF-2000.
3999 (alloc_older_lcrecord_type): New macro in UTF-2000.
4001 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4003 * mule-charset.c (byte_table_description): Use
4004 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
4005 (char_id_table_description): Delete bogus `, 1'.
4006 (Fget_char_attribute): Refer encoding_table of each coded-charset
4007 to get value of coded-charset attribute of a character.
4008 (Fput_char_attribute): Use `make_older_vector' instead of
4009 `make_vector'; use encoding_table of each coded-charset to store
4010 value of coded-charset attribute of a character.
4011 (Fremove_char_attribute): Use encoding_table of each coded-charset
4012 to store value of coded-charset attribute of a character.
4013 (mark_charset): Mark `cs->encoding_table'; don't mark
4014 `cs->decoding_table'.
4015 (charset_description): Add description of new member
4017 (make_charset): Initialize `encoding_table'.
4019 * char-ucs.h (struct Lisp_Charset): Add new member
4021 (CHARSET_ENCODING_TABLE): New macro.
4022 (XCHARSET_ENCODING_TABLE): New macro.
4023 (charset_code_point): New implementation.
4024 (encode_char_1): Likewise.
4026 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
4027 (disksave_object_finalization_1): Call finalizers of
4028 `all_older_lcrecords' in UTF-2000.
4029 (make_older_vector): New function in UTF-2000.
4030 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
4033 * lisp.h (make_older_vector): New prototype in UTF-2000.
4035 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4037 * lrecord.h (enum lrecord_type): Rename
4038 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
4040 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
4041 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
4042 `get_char_code_table'.
4044 * mule-charset.c (mark_char_id_table): Renamed from
4045 `mark_char_code_table'.
4046 (char_id_table_equal): Renamed from `char_code_table_equal'.
4047 (char_id_table_hash): Renamed from `char_code_table_hash'.
4048 (make_char_id_table): Renamed from `make_char_code_table'.
4049 (copy_char_id_table): Renamed from `copy_char_code_table'.
4050 (get_char_id_table): Renamed from `get_char_code_table'.
4051 (put_char_id_table): Renamed from `put_char_code_table'.
4052 (to_char_id): Renamed from `to_char_code'.
4054 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
4055 `Lisp_Char_Code_Table'.
4056 (char_id_table): Renamed from `char_code_table'.
4057 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
4058 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
4059 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
4060 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
4061 (get_char_id_table): Renamed from `get_char_code_table'.
4063 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4065 * lrecord.h (enum lrecord_type): Rename
4066 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
4068 * mule-charset.c (mark_byte_table): Renamed from
4069 `mark_char_byte_table'.
4070 (byte_table_equal): Renamed from `char_byte_table_equal'.
4071 (byte_table_hash): Renamed from `byte_table_hash'.
4072 (make_byte_table): Renamed from `make_byte_table'.
4073 (copy_byte_table): Renamed from `copy_char_byte_table'.
4075 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
4076 `Lisp_Char_Byte_Table'.
4077 (byte_table): Renamed from `char_byte_table'.
4078 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
4079 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
4080 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
4081 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
4083 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4085 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
4086 (dfc_convert_to_internal_format): Likewise.
4088 * text-coding.c (Fcoding_system_canonical_name_p): New function.
4089 * text-coding.c (Fcoding_system_alias_p): New function.
4090 * text-coding.c (Fcoding_system_aliasee): New function.
4091 * text-coding.c (append_suffix_to_symbol): New function.
4092 * text-coding.c (dangling_coding_system_alias_p): New function.
4093 * text-coding.c (Ffind_coding_system):
4094 * text-coding.c (Fcopy_coding_system):
4095 * text-coding.c (encode_coding_no_conversion):
4096 * text-coding.c (syms_of_file_coding):
4097 * text-coding.c (vars_of_file_coding):
4098 Rewrite coding system alias code.
4099 Allow nested aliases, like symbolic links.
4100 Allow redefinition of coding system aliases.
4101 Prevent existence of dangling coding system aliases.
4102 Eliminate convert_to_external_format.
4103 Eliminate convert_to_internal_format.
4105 * text-coding.c: Change enum eol_type to eol_type_t.
4107 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4109 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
4110 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4112 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
4113 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4115 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4117 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
4118 `ideograph-daikanwa'.
4120 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
4121 (Vcharset_ucs_bmp): Likewise.
4122 (Vcharset_mojikyo): Add new extern variable definition.
4123 (Vcharset_latin_iso8859_2): Deleted because it is not used.
4124 (Vcharset_latin_iso8859_3): Likewise.
4125 (Vcharset_latin_iso8859_4): Likewise.
4126 (Vcharset_latin_iso8859_9): Likewise.
4127 (Vcharset_latin_viscii_lower): Likewise.
4128 (Vcharset_latin_viscii_upper): Likewise.
4129 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
4130 `mojikyo' code-point is used to decode.
4131 (encode_char_2): New function [to convert `mojikyo' code-point to
4132 Mojikyo font encoding].
4133 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
4134 (breakup_char_1): Likewise.
4135 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
4137 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4139 * text-coding.c (Fmake_coding_system): Add document about
4140 `disable-composition' property.
4142 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4144 * text-coding.c (Qdisable_composition): New variable; delete
4146 (Fmake_coding_system): Add new property `disable-composite';
4147 delete property `composite'.
4148 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
4149 instead of `!CODING_SYSTEM_COMPOSITE'.
4150 (syms_of_file_coding): Add new symbol `disable-composition';
4151 delete symbol `composite'.
4153 * file-coding.h (struct Lisp_Coding_System): Add
4154 `disable_composition'; delete `enable_composition'.
4155 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4156 `CODING_SYSTEM_COMPOSITE'.
4157 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4158 `XCODING_SYSTEM_COMPOSITE'.
4160 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4162 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4165 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4167 * text-coding.c (Qcomposite): New variable.
4168 (Fmake_coding_system): Add new property `composite'.
4169 (struct decoding_stream): Add `combined_char_count',
4170 `combined_chars' and `combining_table' in UTF-2000.
4171 (COMPOSE_FLUSH_CHARS): New macro.
4172 (COMPOSE_ADD_CHAR): New macro.
4173 (reset_decoding_stream): Reset `str->combined_char_count' and
4174 `str->combining_table' in UTF-2000.
4175 (decode_coding_iso2022): Modify for character-decomposition.
4176 (syms_of_file_coding): Add new symbol `composite'.
4178 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4180 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
4181 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
4182 of `Vcharacter_composition_table' if `->decomposition' property
4184 (Qlatin_tcvn5712): New variable.
4185 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
4186 (complex_vars_of_mule_charset): Add new coded-charset
4189 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
4191 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4193 * file-coding.h (struct Lisp_Coding_System): Add
4194 `enable_composition'.
4195 (CODING_SYSTEM_COMPOSITE): New macro.
4196 (XCODING_SYSTEM_COMPOSITE): New macro.
4198 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
4200 * mule-canna.c (c2mu): Fix problem with UTF-2000.
4202 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
4204 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
4205 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
4207 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
4209 * mule-charset.c (Vcharset_mojikyo): New variable.
4210 (Fdefine_char): Don't use coded-charset which does not have
4211 non-builtin character range to allocate character-id.
4212 (Qmojikyo): New variable.
4213 (syms_of_mule_charset): Add new symbol `mojikyo'.
4214 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
4216 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
4217 (LEADING_BYTE_MOJIKYO): New macro.
4218 (MIN_CHAR_MOJIKYO): New macro.
4219 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
4220 (MAX_CHAR_MOJIKYO): New macro.
4222 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
4224 * mule-charset.c (remove_char_attribute): Fixed.
4226 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
4228 * mule-charset.c (remove_char_attribute): New function.
4229 (Fremove_char_attribute): New function.
4230 (encode_builtin_char_1): Comment out builtin-support for
4231 greek-iso8859-7 and cyrillic-iso8859-5.
4232 (Fdecode_char): Check `code' is an integer.
4233 (syms_of_mule_charset): Add `remove-char-attribute'.
4234 (MIN_CHAR_GREEK): Deleted.
4235 (MAX_CHAR_GREEK): Likewise.
4236 (MIN_CHAR_CYRILLIC): Likewise.
4237 (MAX_CHAR_CYRILLIC): Likewise.
4238 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
4239 MAX_CHAR_GREEK for `greek-iso8859-7'.
4241 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
4242 (MAX_CHAR_GREEK): Likewise.
4243 (MIN_CHAR_CYRILLIC): Likewise.
4244 (MAX_CHAR_CYRILLIC): Likewise.
4246 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
4248 * mule-charset.c (Fdefine_char): Fix problem when new code-point
4249 format is used without `ucs' property.
4250 (Fdecode_char): Fix problem with GR representation.
4251 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
4252 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
4254 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4256 * mule-charset.c (make_builtin_char): New function.
4257 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
4258 (Fset_charset_mapping_table): Modify for new representation of
4260 (Fdecode_char): New function.
4261 (syms_of_mule_charset): Add new builtin function `decode-char' in
4264 * char-ucs.h (make_builtin_char): New prototype.
4265 (DECODE_CHAR): New inline function.
4266 (MAKE_CHAR): Use `DECODE_CHAR'.
4268 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
4270 * text-coding.c (parse_charset_conversion_specs): Use
4271 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
4273 (iso2022_designate): Likewise.
4275 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
4276 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
4278 * mule-charset.c (Vcharset_ucs): New variable.
4279 (print_charset): Change design; use `CHARSET_CHARS' and
4280 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
4281 (make_charset): Change signature to specify `chars' and
4282 `dimension' instead of `type'.
4283 (range_charset_code_point): Modify for 256^n-set.
4284 (encode_builtin_char_1): Encode as `ucs' in default.
4285 (Fmake_charset): Modify for `make_charset'.
4286 (Fmake_reverse_direction_charset): Likewise.
4287 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
4289 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
4292 * char-ucs.h (Vcharset_ucs): New variable.
4293 (LEADING_BYTE_UCS): New macro.
4294 (struct Lisp_Charset): Delete `type'; change type of `dimension'
4295 and `chars' to `unsigned short' from `unsigned int'.
4296 (CHARSET_TYPE): Deleted.
4297 (XCHARSET_TYPE): Deleted.
4299 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
4301 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
4303 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
4304 (ENCODE_CHAR): New macro.
4306 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4308 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4309 to 0.14 (Kawachi-Katakami).
4311 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4313 * text-coding.c (char_encode_shift_jis): Modify for
4314 `charset_code_point'.
4315 (char_encode_iso2022): Likewise.
4317 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
4318 (integer) instead of list of <Lisp_Object>s (integers) as the
4319 format of code-point of a coded-charset.
4320 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4321 (encode_builtin_char_1): New function; delete
4322 `split_builtin_char'.
4323 (charset_code_point): Return <int> instead of <Lisp_Object>.
4324 (Fsplit_char): Don't use `SPLIT_CHAR'.
4326 * char-ucs.h (encode_builtin_char_1): New prototype; delete
4327 prototype for `split_builtin_char'.
4328 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4329 (charset_code_point): Likewise.
4330 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
4331 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
4333 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
4335 * mule-charset.c (complex_vars_of_mule_charset): Don't define
4336 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
4338 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4340 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
4342 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
4343 (MAX_CHAR_OBS_94x94): Deleted.
4345 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4347 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
4349 * char-ucs.h (MAX_CHAR_BMP): New macro.
4351 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4353 * text-coding.c: Sync with r21-2-24.
4355 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4357 * file-coding.c: Modify for UTF-2000.
4359 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4361 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4364 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4366 * mule-charset.c (split_builtin_char): Delete builtin support for
4367 `katakana-jisx0201'.
4368 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
4369 BMP area in builtin representation.
4371 * char-ucs.h (MAKE_CHAR): Delete builtin support for
4372 `Vcharset_katakana_jisx0201'.
4374 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
4376 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
4377 (Qisolated): New variable.
4378 (Qinitial): New variable.
4379 (Qmedial): New variable.
4380 (Qfinal): New variable.
4381 (Qvertical): New variable.
4382 (Qsmall): New variable.
4383 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
4384 `Qvertical' and `Qsmall'.
4385 (Qmojikyo_pj_[1 .. 21]): New variable.
4386 (syms_of_mule_charset): Add new symbols `isolated', `initial',
4387 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
4388 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
4391 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4393 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
4394 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
4395 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
4397 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4399 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
4400 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
4402 (Qjapanese_jisx0208_1990): New variable.
4403 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
4404 (complex_vars_of_mule_charset): Add new coded-charset
4405 `japanese-jisx0208-1990'.
4407 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
4408 (MIN_CHAR_JIS_X0208_1990): New macro.
4409 (MAX_CHAR_JIS_X0208_1990): New macro.
4411 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4413 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
4414 coded-charset is not found.
4416 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4418 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
4419 (Fdefine_char): Use `Fmake_char'.
4421 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4423 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4424 (Vcharset_hiragana_jisx0208): Deleted.
4425 (Vcharset_katakana_jisx0208): Deleted.
4426 (Qideograph_daikanwa): New variable.
4427 (Qhiragana_jisx0208): Deleted.
4428 (Qkatakana_jisx0208): Deleted.
4429 (split_builtin_char): Split `ideograph-daikanwa'.
4430 (Fsplit_char): New implementation for UTF-2000.
4431 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4432 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4433 (complex_vars_of_mule_charset): Add new coded-charset
4434 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4435 `katakana-jisx0208'.
4437 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4438 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4439 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4440 (MIN_CHAR_DAIKANWA): New macro.
4441 (MAX_CHAR_DAIKANWA): New macro.
4443 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4445 * data.c (Fstring_to_number): Don't recognize floating point if
4448 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4450 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4452 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4454 * mule-charset.c (Qsquare): New variable.
4455 (to_char_code): Add `Qsquare'.
4456 (syms_of_mule_charset): Add new symbol `square'.
4458 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4460 * mule-charset.c (Qcircle): New variable.
4461 (to_char_code): Add `Qcircle'.
4462 (syms_of_mule_charset): Add new symbol `circle'.
4464 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4466 * mule-charset.c (Qfont): New variable.
4467 (to_char_code): Add `Qfont'.
4468 (syms_of_mule_charset): Add new symbol `font'.
4470 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4472 * mule-charset.c (Qsub): New variable.
4473 (to_char_code): Add `Qsub'.
4474 (syms_of_mule_charset): Add new symbol `sub'.
4476 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4478 * mule-charset.c (Fput_char_attribute): Convert each element of
4479 VALUE to GL position if ATTRIBUTE is a GR-set,
4481 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4483 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4484 coded-charset is a GR-set.
4486 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4488 * mule-charset.c (Fput_char_attribute): Check each element of
4489 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4491 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4493 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4495 (Qethiopic_ucs): New variable in UTF-2000.
4496 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4497 (complex_vars_of_mule_charset): Add new coded-charset
4498 `ethiopic-ucs' in UTF-2000.
4500 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4501 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4503 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4505 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4507 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4509 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4512 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4514 * mule-charset.c (Vcharacter_variant_table): New variable.
4515 (Q_ucs): New variable.
4516 (Fchar_variants): New function.
4517 (Fput_char_attribute): Register `->ucs' value to
4518 `Vcharacter_variant_table'.
4519 (syms_of_mule_charset): Add new function `char-variants' and new
4521 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4523 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4525 * mule-charset.c (get_char_code_table): Allow negative character
4527 (put_char_code_table): Likewise.
4528 (Vcharacter_composition_table): New variable.
4529 (Q_decomposition): New variable.
4530 (Qwide): New variable.
4531 (Qnarrow): New variable.
4532 (Qcompat): New variable.
4533 (QnoBreak): New variable.
4534 (Qsuper): New variable.
4535 (Qfraction): New variable.
4536 (to_char_code): New function.
4537 (Fget_composite_char): New function.
4538 (Fput_char_attribute): Register `->decomposition' value to
4539 `Vcharacter_composition_table'.
4540 (syms_of_mule_charset): Add new function `get-composite-char', new
4541 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4542 `super' and `fraction'.
4543 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4545 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4547 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4548 character; copy the return value.
4550 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4552 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4554 * mule-charset.c (range_charset_code_point): Must use make_int.
4555 (split_builtin_char): New function.
4557 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4559 * mule-charset.c (char_byte_table): Change name from
4560 "char-code-table" to "char-byte-table".
4561 (mark_char_code_table): New function.
4562 (char_code_table_equal): New function.
4563 (char_code_table_hash): New function.
4564 (char_code_table_description): New constant.
4565 (char_code_table): New type.
4566 (make_char_code_table): New function.
4567 (copy_char_code_table): New function.
4568 (get_char_code_table): Modify for `char_code_table' type.
4569 (put_char_code_table): Likewise.
4570 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4573 * char-ucs.h (char_code_table): New type.
4574 (XCHAR_CODE_TABLE): New macro.
4575 (XSETCHAR_CODE_TABLE): New macro.
4576 (CHAR_CODE_TABLE_P): New macro.
4577 (GC_CHAR_CODE_TABLE_P): New macro.
4578 (struct Lisp_Char_Code_Table): New structure.
4580 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4582 * mule-charset.c (Fmake_charset): Setup byte_offset for
4585 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4587 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4590 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4592 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4595 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4597 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4598 charset, it is regarded as a charset.
4599 (put_char_attribute): New function in UTF-2000.
4600 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4601 charset, mapping-table of the charset is modified.
4602 (Fdefine_char): New function in UTF-2000.
4603 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4604 `Fput_char_attribute'.
4605 (syms_of_mule_charset): Add new function `define-char' and new
4606 symbol `ucs' in UTF-2000.
4607 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4609 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4611 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4612 non-UTF-2000 configuration.
4614 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4616 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4617 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4619 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4621 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4622 (Fset_charset_mapping_table): Likewise.
4624 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4625 (CHARSET_ENCODING_TABLE): Delete.
4626 (XCHARSET_ENCODING_TABLE): Delete.
4627 (charset_code_point): New interface.
4629 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4631 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4632 instead of `charset_get_byte1' and `charset_get_byte2'.
4634 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4635 (charset_get_byte2): Deleted.
4637 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4639 * char-ucs.h (SPLIT_CHAR): New inline function.
4640 (breakup_char_1): Use `SPLIT_CHAR'.
4642 * mule-charset.c (range_charset_code_point): New function.
4643 (charset_code_point): New function.
4645 * char-ucs.h (range_charset_code_point): New interface.
4646 (breakup_char_1): Use `range_charset_code_point'.
4648 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4650 * mule-charset.c (Fmake_charset): Delete unused local variable
4653 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4654 (breakup_char_1): Find a charset and code-point in
4655 `Vcharacter_attribute_table'.
4657 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4659 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4662 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4664 * mule-charset.c (Vcharacter_attribute_table): New variable.
4665 (Fchar_attribute_alist): New function.
4666 (Fget_char_attribute): New function.
4667 (Fput_char_attribute): New function.
4668 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4670 (syms_of_mule_charset): Add new function `char-attribute-alist',
4671 `get-char-attribute' and `put-char-attribute'.
4672 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4674 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4676 * mule-charset.c (Fmake_charset): Just use
4677 `get_unallocated_leading_byte'.
4679 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4680 sets; don't use final-byte based number for private sets.
4682 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4684 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4687 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4689 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4692 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4694 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4695 of `CHAR_LEADING_BYTE' in UTF-2000.
4697 * insdel.c (find_charsets_in_bufbyte_string): Use
4698 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4699 (find_charsets_in_emchar_string): Likewise.
4701 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4702 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4704 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4705 (CHAR_CHARSET_ID): New macro.
4707 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4709 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4710 charset-id - MIN_LEADING_BYTE.
4711 (put_char_table): Likewise.
4713 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4715 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4716 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4717 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4718 (CHARSET_ID_OFFSET): New macro.
4719 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4720 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4721 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4722 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4724 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4726 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4727 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4728 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4729 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4730 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4732 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4734 * mule-charset.c (next_allocated_leading_byte): New variable in
4736 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4737 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4738 (get_unallocated_leading_byte): Simply use
4739 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4740 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4743 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4744 (MAX_LEADING_BYTE_PRIVATE): New macro.
4745 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4746 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4748 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4750 * mule-charset.c (Fmake_charset): Allocate final-byte based
4751 charset-id for 94-set, 96-set and 94x94-set.
4753 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4755 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4757 (Fmake_charset): Likewise.
4758 (complex_vars_of_mule_charset): Modify the font registry of
4759 `ucs-bmp' not to match `Ethiopic-Unicode'.
4761 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4763 * mule-charset.c (complex_vars_of_mule_charset): Add font
4764 registory of `ucs-bmp'.
4766 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4768 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4769 coded-charsets in `default-coded-charset-priority-list' when
4770 breaking up a character.
4772 * mule-charset.c (Vcharset_latin_viscii): New variable.
4773 (Qlatin_viscii): New variable.
4774 (make_charset): Don't use `decoding_table'.
4775 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4777 (Fset_charset_mapping_table): New implementation.
4778 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4779 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4780 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4781 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4782 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4783 charset `latin_viscii'.
4785 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4786 (CHARSET_TYPE_94X94): Change to 1 from 2.
4787 (CHARSET_TYPE_96): Change to 2 from 1.
4788 (CHARSET_TYPE_128): New macro.
4789 (CHARSET_TYPE_128X128): Change to 5 from 4.
4790 (CHARSET_TYPE_256): New macro.
4791 (CHARSET_TYPE_256X256): Change to 7 from 5.
4792 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4794 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4796 * text-coding.c (char_encode_shift_jis): Refer
4797 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4798 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4800 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4801 (char_byte_table_equal): New function in UTF-2000.
4802 (char_byte_table_hash): New function in UTF-2000.
4803 (char_byte_table_description): New constant in UTF-2000.
4804 (char_byte_table): New type in UTF-2000.
4805 (make_char_byte_table): New function in UTF-2000.
4806 (copy_char_byte_table): New function in UTF-2000.
4807 (make_char_code_table): New macro in UTF-2000.
4808 (get_char_code_table): New function in UTF-2000.
4809 (put_char_code_table): New function in UTF-2000.
4810 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4811 (charset_description): Add setting in UTF-2000.
4812 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4813 `CHARSET_TO_BYTE1_TABLE(cs)'.
4814 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4815 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4816 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4817 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4818 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4819 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4820 `CHARSET_TO_BYTE2_TABLE(cs)'.
4822 * char-ucs.h (char_byte_table): New type.
4823 (XCHAR_BYTE_TABLE): New macro.
4824 (XSETCHAR_BYTE_TABLE): New macro.
4825 (CHAR_BYTE_TABLE_P): New macro.
4826 (GC_CHAR_BYTE_TABLE_P): New macro.
4827 (struct Lisp_Char_Byte_Table): New structure.
4828 (get_char_code_table): New interface.
4829 (Emchar_to_byte_table): Deleted.
4830 (get_byte_from_character_table): Deleted.
4831 (struct Lisp_Charset): Add `encoding_table'; delete
4832 `to_byte1_table' and `to_byte2_table'.
4833 (CHARSET_ENCODING_TABLE): New macro.
4834 (CHARSET_TO_BYTE1_TABLE): Deleted.
4835 (CHARSET_TO_BYTE2_TABLE): Deleted.
4836 (XCHARSET_ENCODING_TABLE): New macro.
4837 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4838 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4840 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4842 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4843 `vietnamese-viscii-*'.
4845 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4847 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4848 (Qvietnamese_viscii_upper): New variable.
4849 (Fdefine_charset_alias): New function.
4850 (syms_of_mule_charset): Add new function `define-charset-alias'.
4851 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4852 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4855 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4857 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4858 (MAX_CHAR_OBS_94x94): New macro.
4859 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4862 * mule-charset.c (put_byte_from_character_table): Change unit size
4864 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4866 (Fmake_reverse_direction_charset): Modify dummy argument of
4867 `make_charset' for non-UTF-2000 environment.
4869 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4871 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4873 * mule-charset.c (destroy_byte_from_character_table): New macro.
4874 (latin_jisx0201_to_ucs): Deleted.
4875 (latin_iso8859_2_to_ucs): Deleted.
4876 (latin_iso8859_3_to_ucs): Deleted.
4877 (latin_iso8859_4_to_ucs): Deleted.
4878 (latin_iso8859_9_to_ucs): Deleted.
4879 (latin_viscii_lower_to_ucs): Deleted.
4880 (latin_viscii_upper_to_ucs): Deleted.
4881 (mark_charset): Mark `cs->decoding_table'.
4882 (Fcharset_mapping_table): Fix DOC-string.
4883 (Fset_charset_mapping_table): New function.
4884 (syms_of_mule_charset): Add nwe function
4885 `set-charset-mapping-table'.
4886 (complex_vars_of_mule_charset): Don't setup and use
4889 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4891 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4894 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4896 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4897 (Vcharset_katakana_jisx0208): New variable.
4898 (Qhiragana_jisx0208): New variable.
4899 (Qkatakana_jisx0208): New variable.
4900 (make_charset): Add new argument `byte_offset'.
4901 (charset_get_byte1): Modify for new coded-charset definition; use
4902 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4903 `XCHARSET_BYTE_OFFSET'.
4904 (Fmake_charset): Modify for `make_charset'.
4905 (Fmake_reverse_direction_charset): Likewise.
4906 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4907 `katakana-jisx0208'.
4908 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4909 `.' in font registry of charset `katakana-jisx0201',
4910 `latin-jisx0201', `vietnamese-viscii-lower' and
4911 `vietnamese-viscii-upper'; modify DOC-string of charset
4912 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4913 registry of charset `japanese-jisx0208' not to use font for JIS
4914 X0208:1990; add new charset `hiragana-jisx0208' and
4915 `katakana-jisx0208'.
4917 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4918 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4919 (struct Lisp_Charset): Add `byte_offset'.
4920 (CHARSET_BYTE_OFFSET): New macro.
4921 (XCHARSET_UCS_MIN): New macro.
4922 (XCHARSET_UCS_MAX): New macro.
4923 (XCHARSET_CODE_OFFSET): New macro.
4924 (XCHARSET_BYTE_OFFSET): New macro.
4925 (MIN_CHAR_HIRAGANA): New macro.
4926 (MAX_CHAR_HIRAGANA): New macro.
4927 (MIN_CHAR_KATAKANA): New macro.
4928 (MAX_CHAR_KATAKANA): New macro.
4929 (MAKE_CHAR): Modify for new coded-charset definition; use
4930 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4931 `XCHARSET_BYTE_OFFSET'.
4933 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4935 * mule-charset.c (CHAR96): Deleted.
4936 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4938 (latin_iso8859_2_to_ucs): Likewise.
4939 (latin_iso8859_3_to_ucs): Likewise.
4940 (latin_iso8859_4_to_ucs): Likewise.
4941 (latin_iso8859_9_to_ucs): Likewise.
4942 (latin_viscii_lower_to_ucs): Likewise.
4943 (latin_viscii_upper_to_ucs): Likewise.
4944 (latin_tcvn5712_to_ucs): Commented out.
4945 (make_charset): Change type of argument `decoding_table' from
4946 <Emchar*> to <Lisp_Object> [vector of characters].
4947 (Fmake_charset): Modify for `make_charset'.
4948 (Fmake_reverse_direction_charset): Likewise.
4949 (Fcharset_mapping_table): New function in UTF-2000.
4950 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4952 (complex_vars_of_mule_charset): Modify for type change of
4953 `*_to_ucs'; modify for `make_charset'.
4955 * char-ucs.h (struct Lisp_Charset): Change type of
4956 `decoding_table' from <Emchar*> to <Lisp_Object>.
4957 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4959 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4961 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4962 error with non-UTF-2000-Mule.
4964 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4966 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4968 (Vcharset_chinese_cns11643_4): Likewise.
4969 (Vcharset_chinese_cns11643_5): Likewise.
4970 (Vcharset_chinese_cns11643_6): Likewise.
4971 (Vcharset_chinese_cns11643_7): Likewise.
4972 (Qchinese_cns11643_3): Likewise.
4973 (Qchinese_cns11643_4): Likewise.
4974 (Qchinese_cns11643_5): Likewise.
4975 (Qchinese_cns11643_6): Likewise.
4976 (Qchinese_cns11643_7): Likewise.
4977 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4978 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4979 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4980 (complex_vars_of_mule_charset): Likewise.
4982 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4984 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4986 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4987 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4989 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4991 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4993 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4994 (breakup_char_1): Likewise.
4996 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4997 one of them includes the specified character.
4999 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5001 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
5003 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5005 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
5007 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5009 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
5010 definition for non-UTF-2000 Mule.
5011 (latin_iso8859_3_to_ucs): Likewise.
5012 (latin_iso8859_4_to_ucs): Likewise.
5013 (latin_iso8859_9_to_ucs): Likewise.
5014 (latin_jisx0201_to_ucs): Likewise.
5015 (MIN_CHAR_THAI): Likewise.
5016 (MAX_CHAR_THAI): Likewise.
5017 (MIN_CHAR_GREEK): Likewise.
5018 (MAX_CHAR_GREEK): Likewise.
5019 (MIN_CHAR_HEBREW): Likewise.
5020 (MAX_CHAR_HEBREW): Likewise.
5021 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
5022 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
5023 (MIN_CHAR_CYRILLIC): Likewise.
5024 (MAX_CHAR_CYRILLIC): Likewise.
5026 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5028 * char-ucs.h (breakup_char_1): Use
5029 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
5030 thai-tis620 and katakana-jisx0201 area.
5032 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5034 * char-ucs.h (breakup_char_1): Use
5035 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
5038 * text-coding.c (reset_encoding_stream): Fixed.
5039 (char_encode_ucs4): Delete `& 255'.
5041 * char-ucs.h (breakup_char_1): Use
5042 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
5044 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5046 * file-coding.c (Fmake_coding_system): Don't set up
5047 `codesys->fixed.size'.
5048 (encode_coding_no_conversion): Don't refer
5049 `str->codesys->fixed.size'.
5051 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5053 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
5054 (latin_a_char_to_byte1): Deleted.
5055 (latin_a_char_to_byte2): Deleted.
5057 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5059 * mule-charset.c (make_charset): Add new argument `ucs_min',
5060 `ucs_max' and `code_offset'.
5061 (charset_get_byte1): New implementation [delete specific charset
5062 depended implementations].
5063 (Fmake_charset): Modify for `make_charset'.
5064 (Fmake_reverse_direction_charset): Likewise.
5065 (complex_vars_of_mule_charset): Likewise.
5067 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
5069 (CHARSET_UCS_MIN): New macro.
5070 (CHARSET_UCS_MAX): New macro.
5071 (CHARSET_CODE_OFFSET): New macro.
5072 (MAKE_CHAR): Delete charset depended definitions [except
5075 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
5077 * char-ucs.h (breakup_char_1): Use
5078 `Vdefault_coded_charset_priority_list' for C0-Controls,
5079 Basic-Latin, C1-Controls and Latin-1-Supplement area.
5081 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5083 * char-ucs.h (charset_get_byte1): New function.
5084 (XCHARSET_GET_BYTE1): Deleted.
5085 (charset_get_byte2): New function.
5086 (XCHARSET_GET_BYTE2): Deleted.
5087 (Vdefault_coded_charset_priority_list): New external variable.
5088 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
5089 `Vdefault_preferred_coded_charset_list'.
5091 * mule-charset.c (charset_get_byte1): New function.
5092 (charset_get_byte2): New function.
5093 (Vdefault_coded_charset_priority_list): New variable.
5094 (vars_of_mule_charset): Add new variable
5095 `default-coded-charset-priority-list'.
5097 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5099 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
5100 (XCHARSET_GET_BYTE2): New inline function.
5101 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
5102 `XCHARSET_GET_BYTE2'.
5104 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5106 * mule-charset.c (make_charset): Initialize
5107 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
5108 NULL if table is not defined.
5110 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5112 * text-coding.c (char_encode_shift_jis): Use
5113 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
5114 `ucs_to_latin_jisx0201'.
5116 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
5117 (ucs_to_latin_iso8859_2): Deleted.
5118 (ucs_to_latin_iso8859_3): Deleted.
5119 (ucs_to_latin_iso8859_4): Deleted.
5120 (ucs_to_latin_iso8859_9): Deleted.
5121 (ucs_to_latin_viscii_lower): Deleted.
5122 (ucs_to_latin_viscii_upper): Deleted.
5123 (ucs_to_latin_tcvn5712): Deleted.
5124 (make_charset): Add new argument `decoding_table'; set up
5125 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
5126 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
5127 `decoding_table' is defined in UTF-2000.
5128 (Fmake_charset): Modify for `make_charset'.
5129 (Fmake_reverse_direction_charset): Likewise.
5130 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
5131 and `GENERATE_96_SET'.
5133 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
5134 (ucs_to_latin_jisx0201): Deleted.
5135 (latin_iso8859_2_to_ucs): Deleted.
5136 (ucs_to_latin_iso8859_2): Deleted.
5137 (latin_iso8859_3_to_ucs): Deleted.
5138 (ucs_to_latin_iso8859_3): Deleted.
5139 (latin_iso8859_4_to_ucs): Deleted.
5140 (ucs_to_latin_iso8859_4): Deleted.
5141 (latin_iso8859_9_to_ucs): Deleted.
5142 (ucs_to_latin_iso8859_9): Deleted.
5143 (latin_viscii_lower_to_ucs): Deleted.
5144 (ucs_to_latin_viscii_lower): Deleted.
5145 (latin_viscii_upper_to_ucs): Deleted.
5146 (ucs_to_latin_viscii_upper): Deleted.
5147 (struct Lisp_Charset): Renamed `encoding_table' to
5148 `to_byte1_table'; add `to_byte2_table'.
5149 (CHARSET_DECODING_TABLE): New macro.
5150 (CHARSET_TO_BYTE1_TABLE): New macro.
5151 (CHARSET_TO_BYTE2_TABLE): New macro.
5152 (XCHARSET_DECODING_TABLE): New macro.
5153 (XCHARSET_TO_BYTE1_TABLE): New macro.
5154 (XCHARSET_TO_BYTE2_TABLE): New macro.
5155 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
5157 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
5158 don't use `ucs_to_*' tables.
5160 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5162 * text-coding.c (Fmake_coding_system): Don't set up
5163 `codesys->fixed.size'.
5164 (encode_coding_no_conversion): Use `if' instead of `switch'.
5166 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
5168 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5170 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
5171 (Fmake_charset): Modify for `make_charset'.
5172 (Fmake_reverse_direction_charset): Likewise.
5173 (complex_vars_of_mule_charset): Likewise.
5175 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5177 * text-coding.c (char_encode_shift_jis): Use table
5178 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
5180 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5182 * text-coding.c (text_encode_generic): Use `if' instead of
5184 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
5187 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5189 * text-coding.c (encode_coding_sjis): Deleted.
5190 (char_encode_shift_jis): New function.
5191 (char_finish_shift_jis): New function.
5192 (reset_encoding_stream): Set up `encode_char' and `finish' for
5193 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
5194 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
5195 (char_encode_utf8): Treat `eol_type'.
5197 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5199 * file-coding.c (decode_coding_iso2022): Use
5200 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
5202 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5204 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5207 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5209 * char-lb.h (CHAR_COLUMNS): New macro.
5211 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5213 * text-coding.c (char_encode_ucs4): New function.
5214 (char_finish_ucs4): New function.
5215 (encode_coding_ucs4): Deleted.
5216 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
5217 (text_encode_generic): Delete local variable `charset' and `half'.
5218 (ucs_to_mule_table): Deleted.
5219 (mule_to_ucs_table): Deleted.
5220 (Fset_ucs_char): Deleted.
5221 (ucs_to_char): Deleted.
5222 (Fucs_char): Deleted.
5223 (Fset_char_ucs): Deleted.
5224 (Fchar_ucs): Deleted.
5225 (decode_ucs4): Deleted.
5226 (mule_char_to_ucs4): Deleted.
5227 (encode_ucs4): Deleted.
5228 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
5229 (decode_coding_utf8): Likewise.
5230 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
5231 (char_encode_iso2022): Fixed.
5232 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
5233 `Fset_char_ucs' and `Fchar_ucs'.
5234 (complex_vars_of_file_coding): Don't initialize
5235 `ucs_to_mule_table'.
5237 * objects-tty.c (tty_initialize_font_instance): Don't use
5240 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
5243 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
5244 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5246 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
5247 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5248 (emchar_string_displayed_columns): Likewise.
5250 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
5251 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5252 (string_column_at_point): Likewise.
5253 (Fmove_to_column): Likewise.
5255 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
5256 `encoding_table' and `decoding_table'.
5257 (CHARSET_REP_BYTES): Deleted.
5258 (XCHARSET_REP_BYTES): Deleted.
5259 (XCHARSET_COLUMNS): Deleted.
5260 (CHAR_COLUMNS): New macro.
5261 (lookup_composite_char): Deleted unconditionally.
5262 (composite_char_string): Likewise.
5264 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5266 * char-ucs.h (Emchar_to_byte_table): New type.
5267 (get_byte_from_character_table): New function interface.
5268 (Vcharset_latin_jisx0201): New variable.
5269 (latin_jisx0201_to_ucs): New variable.
5270 (ucs_to_latin_jisx0201): New variable.
5271 (Vcharset_latin_iso8859_2): New variable.
5272 (latin_iso8859_2_to_ucs): New variable.
5273 (ucs_to_latin_iso8859_2): New variable.
5274 (Vcharset_latin_iso8859_3): New variable.
5275 (latin_iso8859_3_to_ucs): New variable.
5276 (ucs_to_latin_iso8859_3): New variable.
5277 (Vcharset_latin_iso8859_4): New variable.
5278 (latin_iso8859_4_to_ucs): New variable.
5279 (ucs_to_latin_iso8859_4): New variable.
5280 (Vcharset_latin_iso8859_9): New variable.
5281 (latin_iso8859_9_to_ucs): New variable.
5282 (ucs_to_latin_iso8859_9): New variable.
5283 (Vcharset_latin_viscii_lower): New variable.
5284 (latin_viscii_lower_to_ucs): New variable.
5285 (ucs_to_latin_viscii_lower): New variable.
5286 (Vcharset_latin_viscii_upper): New variable.
5287 (latin_viscii_upper_to_ucs): New variable.
5288 (ucs_to_latin_viscii_upper): New variable.
5289 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
5290 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
5291 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
5292 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
5293 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
5294 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
5295 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
5296 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
5297 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
5298 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
5300 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
5301 (Vcharset_latin_viscii_upper): New variable.
5302 (make_byte_from_character_table): New function.
5303 (put_byte_from_character_table): New function.
5304 (get_byte_from_character_table): New function.
5305 (CHAR96): New macro.
5306 (ucs_to_latin_jisx0201): New variable.
5307 (latin_jisx0201_to_ucs): New variable.
5308 (ucs_to_latin_iso8859_2): New variable.
5309 (latin_iso8859_2_to_ucs): New variable.
5310 (ucs_to_latin_iso8859_3): New variable.
5311 (latin_iso8859_3_to_ucs): New variable.
5312 (ucs_to_latin_iso8859_4): New variable.
5313 (latin_iso8859_4_to_ucs): New variable.
5314 (ucs_to_latin_iso8859_9): New variable.
5315 (latin_iso8859_9_to_ucs): New variable.
5316 (ucs_to_latin_viscii_lower): New variable.
5317 (latin_viscii_lower_to_ucs): New variable.
5318 (ucs_to_latin_viscii_upper): New variable.
5319 (latin_viscii_upper_to_ucs): New variable.
5320 (ucs_to_latin_tcvn5712): New variable.
5321 (latin_tcvn5712_to_ucs): New variable.
5322 (Qlatin_viscii_lower): New variable.
5323 (Qlatin_viscii_upper): New variable.
5324 (syms_of_mule_charset): Set up new symbol
5325 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
5326 (complex_vars_of_mule_charset): Set up new charset
5327 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
5328 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
5329 `ucs_to_<CHARSET>' tables.
5331 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
5333 * text-coding.c: New file.
5335 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5337 * mule-charset.c (Fmake_char): Fix problem of 256-set.
5339 * char-ucs.h (Vcharset_ucs_bmp): New variable.
5340 (MAKE_CHAR): Modify for `ucs-bmp'.
5341 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
5342 non-MULE characters of BMP.
5344 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
5346 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5349 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
5352 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
5353 - Include character.h for `CHAR_ASCII_P'.
5355 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
5357 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
5358 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
5360 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
5361 (BYTE_C0_P): Likewise.
5362 (BYTE_C1_P): Likewise.
5363 (Lstream_get_emchar_1): Likewise.
5364 (Lstream_fput_emchar): Likewise.
5365 (Lstream_funget_emchar): Likewise.
5366 (copy_internal_to_external): Likewise.
5367 (copy_external_to_internal): Likewise.
5369 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
5370 (BYTE_C0_P): Likewise.
5371 (BYTE_C1_P): Likewise.
5372 (Lstream_get_emchar_1): Likewise.
5373 (Lstream_fput_emchar): Likewise.
5374 (Lstream_funget_emchar): Likewise.
5375 (copy_internal_to_external): Likewise.
5376 (copy_external_to_internal): Likewise.
5378 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
5379 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5381 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
5382 (BYTE_ASCII_P): Moved to mb-1byte.h.
5384 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
5386 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
5388 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
5389 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
5390 (VALID_CHARPTR_P): Moved to mb-*byte.h.
5391 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5392 (VALIDATE_CHARPTR_FORWARD): Likewise.
5393 (simple_charptr_emchar): Moved to mb-multibyte.h.
5394 (simple_set_charptr_emchar): Likewise.
5395 (simple_charptr_copy_char): Likewise.
5396 (non_ascii_charptr_emchar): Likewise.
5397 (non_ascii_set_charptr_emchar): Likewise.
5398 (non_ascii_charptr_copy_char): Likewise.
5399 (charptr_emchar): Moved to mb-*byte.h.
5400 (set_charptr_emchar): Likewise.
5401 (charptr_copy_char): Likewise.
5403 * mb-1byte.h, mb-multibyte.h: New files.
5405 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5407 * mb-utf-8.h (MULTIBYTE): New macro.
5408 (MAX_EMCHAR_LEN): Moved from buffer.h.
5409 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
5411 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
5413 * mb-lb.h, multibyte.h: New files.
5415 * char-1byte.h (Charset_ID): Moved from buffer.h.
5416 (MIN_LEADING_BYTE): Likewise.
5417 (LEADING_BYTE_ASCII): Likewise.
5418 (NUM_LEADING_BYTES): Likewise.
5419 (CHARSETP): Likewise.
5420 (CHARSET_BY_LEADING_BYTE): Likewise.
5421 (XCHARSET_LEADING_BYTE): Likewise.
5422 (XCHARSET_GRAPHIC): Likewise.
5423 (XCHARSET_COLUMNS): Likewise.
5424 (XCHARSET_DIMENSION): Likewise.
5425 (CHAR_CHARSET): Likewise.
5426 (CHAR_LEADING_BYTE): Likewise.
5427 (BREAKUP_CHAR): Likewise.
5428 (Vcharset_ascii): Likewise.
5430 * buffer.h: Include multibyte.h unconditionally.
5431 (VALID_CHARPTR_P): Moved to multibyte.h.
5432 (ASSERT_VALID_CHARPTR): Likewise.
5433 (REAL_INC_CHARPTR): Likewise.
5434 (REAL_INC_CHARBYTIND): Likewise.
5435 (REAL_DEC_CHARPTR): Likewise.
5436 (INC_CHARPTR): Likewise.
5437 (INC_CHARBYTIND): Likewise.
5438 (DEC_CHARPTR): Likewise.
5439 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5440 (VALIDATE_CHARPTR_FORWARD): Likewise.
5441 (charptr_n_addr): Likewise.
5442 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5443 (simple_charptr_emchar): Moved to multibyte.h.
5444 (simple_set_charptr_emchar): Likewise.
5445 (simple_charptr_copy_char): Likewise.
5446 (non_ascii_charptr_emchar): Likewise.
5447 (non_ascii_set_charptr_emchar): Likewise.
5448 (non_ascii_charptr_copy_char): Likewise.
5449 (charptr_emchar): Likewise.
5450 (set_charptr_emchar): Likewise.
5451 (charptr_copy_char): Likewise.
5452 (charptr_emchar_n): Likewise.
5453 (Charset_ID): Moved to char-1byte.h.
5454 (Vcharset_ascii): Likewise.
5455 (CHAR_CHARSET): Likewise.
5456 (CHAR_LEADING_BYTE): Likewise.
5457 (LEADING_BYTE_ASCII): Likewise.
5458 (NUM_LEADING_BYTES): Likewise.
5459 (MIN_LEADING_BYTE): Likewise.
5460 (CHARSETP): Likewise.
5461 (CHARSET_BY_LEADING_BYTE): Likewise.
5462 (XCHARSET_LEADING_BYTE): Likewise.
5463 (XCHARSET_GRAPHIC): Likewise.
5464 (XCHARSET_COLUMNS): Likewise.
5465 (XCHARSET_DIMENSION): Likewise.
5466 (BREAKUP_CHAR): Likewise.
5468 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5470 * character.h: Add document about interface for characters.
5472 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5473 (MAKE_CHAR): Delete comment about
5474 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5475 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5476 (BREAKUP_CHAR): Modify name of arguments.
5477 (CHAR_CHARSET): Modify name of argument.
5479 * buffer.h: Delete document about Emchar accessors.
5481 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5483 * character.h (CHAR_INTP): Moved from buffer.h
5484 (CHAR_OR_CHAR_INTP): Likewise.
5485 (XCHAR_OR_CHAR_INT): Likewise.
5486 (CHECK_CHAR_COERCE_INT): Likewise.
5488 * buffer.h (CHAR_INTP): Moved to character.h
5489 (CHAR_OR_CHAR_INTP): Likewise.
5490 (XCHAR_OR_CHAR_INT): Likewise.
5491 (CHECK_CHAR_COERCE_INT): Likewise.
5493 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5496 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5497 - Include char-1byte.h, char-lb.h or char-ucs.h.
5499 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5501 * buffer.h: Include character unconditionally.
5502 (valid_char_p): Moved to char-*.h.
5503 (non_ascii_valid_char_p): Moved to char-lb.h.
5505 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5507 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5509 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5510 in UTF-2000 because it is not ported yet and not to use
5511 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5512 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5513 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5515 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5516 (CHAR_ASCII_P): Moved from character.h.
5518 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5519 (CHAR_ASCII_P): Likewise.
5520 (CHAR_FIELD1_MASK): Deleted.
5521 (CHAR_FIELD2_MASK): Deleted.
5522 (CHAR_FIELD3_MASK): Deleted.
5523 (MAX_CHAR_BASIC_LATIN): New macro.
5524 (CHAR_FIELD1): Deleted.
5525 (CHAR_FIELD2_INTERNAL): Deleted.
5526 (CHAR_FIELD3_INTERNAL): Deleted.
5527 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5528 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5529 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5530 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5531 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5532 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5533 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5534 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5535 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5536 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5537 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5538 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5539 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5540 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5541 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5542 (MIN_CHAR_COMPOSITION): Deleted.
5543 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5544 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5546 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5548 * buffer.h: Include mb-utf-8.h in UTF-2000.
5550 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5552 * mb-utf-8.h: New file.
5554 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5556 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5559 * mule-charset.h, buffer.h (Charset_ID): New type.
5561 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5563 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5564 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5565 instead of `MULE_CHAR_PRIVATE_OFFSET',
5566 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5567 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5568 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5570 * character.h (Vcharset_japanese_jisx0212): New variable
5573 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5575 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5576 (charset_by_attributes): Delete array about direction.
5577 (latin_a_char_to_charset): New variable in UTF-2000.
5578 (latin_a_char_to_byte1): New variable in UTF-2000.
5579 (latin_a_char_to_byte2): New variable in UTF-2000.
5580 (Qucs_bmp): New variable.
5581 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5583 (next_allocated_2_byte_leading_byte): Likewise.
5584 (non_ascii_set_charptr_emchar): Likewise.
5585 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5586 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5587 `charset_by_attributes'.
5588 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5589 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5590 and `CHARSET_BY_LEADING_BYTE'.
5591 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5592 `utf-2000-version' to `vars_of_mule_charset'.
5593 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5594 define `leading-code-private-11' in UTF-2000; move setting of
5595 `utf-2000-version' from `syms_of_mule_charset'.
5596 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5599 * character.h (Charset_ID): New type.
5600 (LEADING_BYTE_UCS_BMP): New macro.
5601 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5602 (CHARSET_ID_OFFSET_94): New macro.
5603 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5604 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5605 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5607 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5608 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5609 (CHARSET_ID_OFFSET_96): New macro.
5610 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5611 CHARSET_ID_OFFSET_96 and final-byte.
5612 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5613 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5614 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5615 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5616 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5617 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5618 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5619 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5620 (LEADING_BYTE_THAI_TIS620): Likewise.
5621 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5622 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5623 (CHARSET_ID_OFFSET_94x94): New macro.
5624 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5625 CHARSET_ID_OFFSET_94x94 and final-byte.
5626 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5627 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5628 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5629 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5630 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5631 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5632 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5633 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5634 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5635 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5636 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5637 (CHARSET_TYPE_128X128): New macro.
5638 (CHARSET_TYPE_256X256): New macro.
5639 (XCHARSET_PRIVATE_P): Delete unconditionally.
5640 (charset_by_attributes): Delete array about direction.
5641 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5642 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5643 (MIN_CHAR_94): New macro.
5644 (MAX_CHAR_94): New macro.
5645 (MIN_CHAR_96): New macro.
5646 (MAX_CHAR_96): New macro.
5647 (MIN_CHAR_94x94): New macro.
5648 (MAX_CHAR_94x94): New macro.
5649 (MIN_CHAR_96x96): New macro.
5650 (MAX_CHAR_96x96): New macro.
5651 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5652 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5653 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5655 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5656 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5657 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5658 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5659 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5660 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5661 `XCHARSET_LEADING_BYTE' to make code-point.
5662 (latin_a_char_to_charset): New variable.
5663 (latin_a_char_to_byte1): New variable.
5664 (latin_a_char_to_byte2): New variable.
5665 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5666 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5667 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5669 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5670 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5671 (find_charsets_in_emchar_string): Likewise.
5672 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5674 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5676 (decode_coding_iso2022): Likewise.
5678 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5681 * redisplay.c (redisplay_text_width_emchar_string): Use
5682 `Charset_ID' instead of `unsigned char'.
5683 (redisplay_frame_text_width_string): Likewise.
5685 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5688 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5689 instead of `unsigned char'.
5690 (face_cachel_charset_font_metric_info): Likewise.
5692 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5693 (get_non_ascii_char_table_value): Likewise.
5694 (get_char_table): Likewise.
5695 (put_char_table): Likewise.
5696 (map_over_other_charset): Likewise.
5697 (map_char_table): Likewise.
5699 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5700 instead of `unsigned char'.
5702 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5704 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5705 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5707 * mule-charset.c (leading_code_private_11): Don't define in
5710 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5711 in UTF-2000 because it is not ported yet and not to use
5712 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5714 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5716 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5718 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5720 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5723 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5724 of unsigned char to store leading-byte.
5726 * chartab.c (get_non_ascii_char_table_value): Don't use
5727 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5729 * file-coding.c (encode_coding_big5): Delete bogus implementation
5732 * character.h (LEADING_BYTE_*): Delete definition for
5734 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5735 (LEADING_BYTE_PREFIX_P): Deleted.
5736 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5737 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5738 (BUFBYTE_LEADING_BYTE_P): Deleted.
5739 (CHARSET_PRIVATE_P): Deleted unconditionally.
5740 (rep_bytes_by_first_byte): Deleted unconditionally.
5741 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5742 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5743 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5744 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5745 (CHAR_FIELD2): Deleted.
5746 (CHAR_FIELD3): Deleted.
5747 (MAKE_CHAR): Delete definition for non-UTF-2000.
5748 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5749 (breakup_char_1): New implementation.
5750 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5751 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5753 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5755 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5758 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5760 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5761 (CHARSET_PRIVATE_P): Likewise.
5762 (XCHARSET_PRIVATE_P): Likewise.
5763 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5765 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5767 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5769 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5771 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5772 (NUM_LEADING_BYTES): Changed from 128 to 256.
5773 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5774 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5776 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5778 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5780 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5781 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5782 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5783 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5784 (Qchinese_cns11643_3): New variable in UTF2000.
5785 (Qchinese_cns11643_4): New variable in UTF2000.
5786 (Qchinese_cns11643_5): New variable in UTF2000.
5787 (Qchinese_cns11643_6): New variable in UTF2000.
5788 (Qchinese_cns11643_7): New variable in UTF2000.
5789 (syms_of_mule_charset): Define `chinese-cns11643-3',
5790 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5791 and `chinese-cns11643-7' in UTF2000.
5792 (vars_of_mule_charset): Initialize
5793 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5795 (complex_vars_of_mule_charset): Setup charset
5796 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5797 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5799 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5801 * mule-charset.c: Move setting for `leading-code-private-11' from
5802 `syms_of_mule_charset' to `vars_of_mule_charset'.
5804 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5806 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5807 and `NUM_LEADING_BYTES' in assert.
5809 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5811 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5813 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5814 `NUM_LEADING_BYTES' instead of 128.
5816 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5818 * mule-charset.h (charset_by_leading_byte): Use
5819 `NUM_LEADING_BYTES' instead of 128.
5820 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5822 * mule-charset.c (charset_by_leading_byte): Use
5823 `NUM_LEADING_BYTES' instead of 128.
5824 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5826 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5829 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5831 * mule-charset.c (syms_of_mule_charset): Update to
5834 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5836 * file-coding.c (encode_coding_sjis): New implementation for
5837 UTF2000. (decode_coding_sjis): Ditto.
5839 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5841 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5842 Don't define in UTF2000.
5844 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5847 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5848 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5851 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5853 * config.h.in (CHAR_IS_UCS4): New macro.
5855 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5856 conventional MULE representation.
5857 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5859 * mule-charset.h: Reverted to original.
5861 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5862 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5863 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5865 * character.h: New file.
5867 * file-coding.c (Fmake_coding_system): Set 1 to
5868 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5870 (encode_coding_no_conversion): New implementation for UTF2000.
5872 * file-coding.h (struct Lisp_Coding_System): Add new member
5875 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5877 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5878 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5879 (encode_coding_iso2022): New implementation for UTF2000.
5881 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5883 * mule-canna.c (c2mu): New implementation for UTF2000.
5886 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5888 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5890 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5892 * file-coding.c (reset_encoding_stream): Set 0 to
5893 `str->iso2022.current_char_boundary' in UTF2000.
5894 (encode_utf8): Don't define in UTF2000.
5895 (encode_coding_utf8): New implementation for UTF-8 representation
5897 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5899 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5901 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5903 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5905 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5907 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5909 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5910 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5911 as UTF-8 in UTF2000.
5912 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5913 (non_ascii_valid_char_p): Don't define in UTF2000.
5914 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5915 (Lstream_get_emchar_1): Likewise.
5916 (utf-2000-version): New variable in UTF2000.
5918 * lread.c (read_escape): Add new reader `u'.
5920 * insdel.c (three_to_one_table): Don't define in UTF2000.
5921 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5922 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5924 (bytind_to_bufpos_func): Likewise.
5925 (buffer_mule_signal_inserted_region): Likewise.
5926 (vars_of_insdel): Don't initialize `three_to_one_table'.
5927 (init_buffer_text): Use `buf->text->mule_size' instead of
5928 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5931 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5932 UTF-8 representation in UTF2000.
5933 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5934 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5935 (decode_coding_iso2022): Don't define local variable `lb' in
5936 UTF2000; don't use LEADING_BYTE in UTF2000; use
5937 `DECODE_ADD_UCS_CHAR' in UTF2000.
5938 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5940 * config.h.in (UTF2000): New macro.
5942 * buffer.h (struct buffer_text): Add new member `mule_size' and
5943 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5944 (valid_char_p): Return always 1 in UTF2000.
5945 (MAX_EMCHAR_LEN): 6 in UTF2000.
5946 (three_to_one_table): Don't define in UTF2000.
5947 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5949 (real_bytind_to_bufpos): Likewise.
5951 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5953 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5955 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5956 representation change.
5957 (Vutf_2000_version): New variable.
5958 (leading_code_private_11): New variable.
5959 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5960 `leading-code-private-11'.
5962 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5963 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5964 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5965 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5966 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5967 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5968 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5969 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5970 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5971 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5972 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5973 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5974 (MIN_CHAR_GREEK): New macro.
5975 (MAX_CHAR_GREEK): New macro.
5976 (MIN_CHAR_CYRILLIC): New macro.
5977 (MAX_CHAR_CYRILLIC): New macro.
5978 (MIN_CHAR_HEBREW): New macro.
5979 (MAX_CHAR_HEBREW): New macro.
5980 (MIN_CHAR_THAI): New macro.
5981 (MAX_CHAR_THAI): New macro.
5982 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5983 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5984 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5985 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5986 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5987 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5988 (CHAR_FIELD2): New inline function.
5989 (CHAR_FIELD3): New inline function.
5990 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5991 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5992 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5993 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5994 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5995 (MIN_CHAR_COMPOSITION): Likewise.
5996 (CHAR_LEADING_BYTE): Modified for character representation change.
5997 (MAKE_CHAR): Likewise.
5999 * lisp.h (Vcharset_latin_iso8859_1): New variable.
6000 (Vcharset_greek_iso8859_7): Likewise.
6001 (Vcharset_cyrillic_iso8859_5): Likewise.
6002 (Vcharset_hebrew_iso8859_8): Likewise.
6003 (Vcharset_thai_tis620): Likewise.
6004 (Vcharset_katakana_jisx0201): Likewise.
6006 2008-12-28 Vin Shelton <acs@xemacs.org>
6008 * XEmacs 21.4.22 is released
6010 2008-12-27 Vin Shelton <acs@xemacs.org>
6012 * syswindows.h: Don't define wide character interfaces for Cygwin
6015 2008-03-05 Dominique Quatravaux <domq@cpan.org>
6017 * glyphs-gtk.c: Fixed compilation under gcc 4.x.
6019 2008-11-01 Stephen J. Turnbull <stephen@xemacs.org>
6021 * regex.c (re_search_2): Fix at_dot by changing charpos to bytepos.
6022 From Julian Bradfield <18654.1143.304851.782755@krk.inf.ed.ac.uk>.
6024 2008-12-25 Vin Shelton <acs@xemacs.org>
6026 * mule-ccl.c (ccl_driver): Fix off-by-one error.
6027 By Julian Bradfield in
6028 <18691.16568.526264.972026@krk.inf.ed.ac.uk>.
6030 * mule-ccl.c (ccl_driver):
6032 2007-10-07 Vin Shelton <acs@xemacs.org>
6034 * XEmacs 21.4.21 is released
6036 2007-08-14 Marcus Crestani <crestani@xemacs.org>
6038 * s/sol2.h: Fix for GCC lossage not needed with SunOS 5.10.
6040 2007-02-17 Stephen J. Turnbull <stephen@xemacs.org>
6042 * glyphs-eimage.c (png_instantiate_unwind): Avoid recursion.
6043 (png_instantiate): Initialize setjmp_buffer early, and avoid
6044 recursive entry to error handler.
6046 2007-06-23 Stephen J. Turnbull <stephen@xemacs.org>
6048 * linuxplay.c (linux_play_data_or_file): More 64-bit tweaking, and
6051 2007-05-12 Aidan Kehoe <kehoea@parhasard.net>
6053 * event-Xt.c (x_reset_modifier_mapping):
6054 * event-gtk.c (gtk_reset_modifier_mapping):
6055 Zero out the device's modifier map once we've freed it, to prevent
6056 a double free on a re-entrant call.
6058 2007-05-17 Vin Shelton <acs@xemacs.org>
6060 * linuxplay.c (linux_play_data_or_file): Fix playing sound on
6061 64-bit linux. Patch from Hans de Graaff.
6063 2007-05-02 Vin Shelton <acs@xemacs.org>
6065 * dumper.c (pdump): Don't close pdump_fd (already closed by
6066 fclose() call. Patch from Steve Higham.
6067 * callproc.c (Fold_call_process_internal): Don't close fd1 if it's
6068 already closed. Patch inspired by Steve Higham.
6070 2007-05-01 Vin Shelton <acs@xemacs.org>
6072 * nt.c (mswindows_stat): Tie _S_IEXEC permission to read access.
6073 (mswindows_fstat): Ditto.
6074 * sysfile.h: Under Windows, define X_OK to be the same as R_OK.
6076 2007-02-08 Adrian Aichner <adrian@xemacs.org>
6078 * postgresql.c: Update Steve Baur's email address by his request.
6079 * postgresql.h: Ditto.
6081 2007-01-04 Vin Shelton <acs@xemacs.org>
6083 * fileio.c (check_writable): Check old-style readonly bit only for
6086 2006-12-25 Benson I. Margulies <benson@dchbk.us>
6088 * src/fileio.c (check_writable):
6089 Cope with the fact that the read-only attribute trumps Windows NTFS
6093 2006-12-09 Vin Shelton <acs@xemacs.org>
6095 * XEmacs 21.4.20 is released
6097 2006-12-08 Nelson Ferreira <njsf@sxemacs.org>
6099 * src/fns.c (XMALLOC_OR_ALLOCA,free_malloced_ptr,XMALLOC_UNBIND):
6100 relocated the definitions to be used sooner in file.
6101 (concat,plists_differ,mapcar1,Fmapconcat,Fmapcar): Use
6102 XMALLOC_OR_ALLOCA macro instead of alloca to prevent stack
6105 2006-11-29 Aidan Kehoe <kehoea@parhasard.net>
6107 * sound.c (init_native_sound):
6108 Only X11 and GTK devices can possibly not be on the console of the
6109 associated machine. Fixes a crash when init_native_sound is called
6110 on a msprinter device.
6112 2006-11-14 Stephen J. Turnbull <stephen@xemacs.org>
6114 * buffer.c (buffer-file-name): Document invariant.
6115 (buffer-file-truename): Sync wording to buffer-file-name.
6116 Thanks to Nelson Ferreira <nelson.ferreira@ieee.org> for report
6119 2006-11-19 Benson Margulies <benson@dchbk.us>
6121 * fileio.c: Add code to use full Win32 API to check for write
6122 access. Win32 has the general design policy that you aren't
6123 supposed to ask this question, since security checks change
6124 depending on asynchronous processes. Nonetheless, there is a way,
6125 by acting as if we are a server doing interpretive access
6128 2006-07-31 Aidan Kehoe <kehoea@parhasard.net>
6130 * bytecode.c: Use xnew_array instead of alloca.
6132 2006-07-04 Vin Shelton <acs@xemacs.org>
6134 * redisplay-msw.c: Fix tiny, but crucial typo.
6136 2006-06-22 Jerry James <james@xemacs.org>
6138 * EmacsShell-sub.c (ChangeManaged):
6139 * device-x.c (x_IO_error_handler): Do not dereference d if it is
6141 * dgif_lib.c (DGifCloseFile): Do not dereference GifFile before
6142 checking if it is NULL. Also fix a memory leak.
6143 * dialog-x.c (dbox_selection_callback): Ensure f is non-NULL, then
6144 dereference it, not the other way around.
6145 * dumper.c (pdump_register_object): Fix off-by-one array bounds
6147 * dumper.c (pdump_register_struct): Ditto.
6148 * editfns.c (Ftemp_directory): Don't let a copy from (long) path
6149 to (short) warnpath overflow warnpath.
6150 * extents.c (detach_all_extents): Call extent_list_delete_all with
6151 a non-NULL parameter only.
6152 * glyphs-widget.c (widget_query_geometry): Guard against possibly
6153 NULL width and height.
6154 * input-method-xlib.c (XIM_SetGeometry): Do not dereference f or
6155 xic before checking if they are NULL.
6156 * keymap.c (where_is_recursive_mapper): Don't throw away the newly
6158 * md5.c (Fmd5): Check whether Lstream_read encountered an error.
6159 * nas.c (Err): Fix a memory leak.
6160 * redisplay-gtk.c (gtk_output_display_block): Fix a Dynarr leak.
6161 Don't create the buffer if there is nothing to do.
6162 * redisplay-msw.c (mswindows_output_display_block): Ditto.
6163 * redisplay-output.c (redisplay_output_layout): Ditto.
6164 * redisplay-tty.c (tty_output_display_block): Ditto.
6165 * redisplay-x.c (x_output_display_block): Ditto.
6166 * scrollbar-gtk.c (gtk_free_scrollbar_instance): Do not
6167 dereference instance->scrollbar_data if it is NULL.
6168 * scrollbar-x.c (x_free_scrollbar_instance): Ditto.
6169 * scrollbar-msw.c (mswindows_free_scrollbar_instance): Ditto, but
6170 for sb->scrollbar_data.
6171 * sound.c (init_native_sound): Avoid a buffer overflow by
6172 allocating a buffer with the appropriate size.
6174 2006-05-08 Stephen J. Turnbull <stephen@xemacs.org>
6176 * EmacsShell-sub.c (RootGeometryManager):
6177 Change garbage to useful messages under DEBUG_GEOMETRY_MANAGEMENT.
6178 Based on a suggestion by Francois L'Archeveque.
6180 2006-03-21 Malcolm Purvis <malcolmp@xemacs.org>
6182 * regex.c: Bump INIT_FAILURE_ALLOC and re_max_failures to the
6183 current values found in GNU Emacs.
6185 2006-03-17 Vin Shelton <acs@xemacs.org>
6187 * dialog-msw.c (handle_directory_dialog_box): Don't declare
6188 Q_title here. LOCAL_FILE_FORMAT_TO_TSTR requires an lvalue.
6190 * glyphs-msw.c (read_bitmap_data): change 'initialized' to
6191 'hex_initialized' because it conflicts with 'initialized' in
6194 2006-01-28 Vin Shelton <acs@xemacs.org>
6196 * XEmacs 21.4.19 is released
6198 2006-01-20 Rick Rankin <rrankin1424-xemacs@yahoo.com>
6200 * sysdir.h: Workaround missing d_ino field from 'struct dirent'.
6202 2005-12-24 Aidan Kehoe <kehoea@parhasard.net>
6204 * objects-gtk.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from
6207 2005-12-05 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6209 * database.c: Suppress compiler warning under Cygwin.
6210 * database.c: Removed __FreeBSD__ check, should be handled by
6211 HAVE_U_xxx_T defines.
6213 2005-12-18 Malcolm Purvis <malcolmp@xemacs.org>
6215 * console.c (stuff_buffered_input): Compile body only if
6218 2005-05-10 Aidan Kehoe <kehoea@parhasard.net>
6220 * callproc.c: #include sysdir.h, so that any appropriate Mule
6221 magic happens with the chdir() call when calling a subprocess.
6223 2005-12-06 Aidan Kehoe <kehoea@parhasard.net>
6225 * mule-ccl.c (POSSIBLE_LEADING_BYTE_P): Add.
6226 * mule-ccl.c: Check that a character set exists before using it
6227 to create a character.
6229 2005-12-06 Vin Shelton <acs@xemacs.org>
6231 * objects-x.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from 5000
6234 2005-12-03 Vin Shelton <acs@xemacs.org>
6236 * XEmacs 21.4.18 is released
6238 2005-11-27 Kean Johnston <kean@armory.com>
6240 * redisplay-tty.c (set_tty_modes):
6241 (reset_tty_modes): disable auto-margins if the terminal supports
6243 (init_tty_for_redisplay): fix cursor shape.
6245 2005-04-05 Aidan Kehoe <kehoea@parhasard.net>
6247 * mule-ccl.c (ccl_driver): Calculate the charset and position code
6248 for control-1 characters properly, both when reading multibyte
6249 characters and writing them.
6251 2005-03-12 Aidan Kehoe <kehoea@parhasard.net>
6253 * config.h.in: Make HAVE_XTREGISTERDRAWABLE available.
6254 * select-x.c (x_reply_selection_request): Use it; fix the bug we
6255 were seeing with incremental selection transfer failing.
6257 2005-11-26 Vin Shelton <acs@xemacs.org>
6259 * callproc.c (Fold_call_process_internal): Create the buffer if it
6260 does not already exist. The original patch came from Ben Wing in
6261 http://list-archive.xemacs.org/xemacs-patches/200205/msg00117.html
6263 2002-05-13 Adrian Aichner <adrian@xemacs.org>
6265 * callproc.c: Process-related docstring improvements spurred by
6268 2005-11-25 Vin Shelton <acs@xemacs.org>
6270 * depend: Regenerated.
6272 2005-07-11 Malcolm Purvis <malcolmp@xemacs.org>
6274 * glyphs-gtk.c: Rename a local static variable because gcc 4.0
6275 says it clashes with a global with the same name.
6277 2005-07-11 Atanu Ghosh <atanu@icsi.berkeley.edu>
6279 * sysdll.c (dll_open): Under MacOS X return NULL under the
6280 filename is NULL. Fixes problems finding local symbols under 10.4
6283 2005-11-15 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6285 * config.h.in: New HAVE_U_INT*_T defines.
6287 * database.c: Only use u_int*_t typedefs if not already
6290 2005-04-07 15:08 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
6292 * src/process-unix.c (unix_open_network_stream): moved
6293 'portbuf' buffer out of an inner block as it is used in the
6294 entire function. With gcc4, the stack may get corrupted
6295 after leaving this block. This patches adjusts the size of
6296 the used buffer also; static '128' bytes are far too much
6297 currently and might not suffice for future architectures
6298 (e.g. for 512 bit ones ;)). Instead of, use only the really
6299 required space (max octets * ln(256)/ln(10) chars + space
6300 for '\0' and the sign)
6302 2005-04-08 Aidan Kehoe <kehoea@parhasard.net>
6304 * callproc.c: Include sysdir.h, so any necessary Mule processing
6305 is done on the current directory name before starting a new
6308 2005-04-06 Stephen J. Turnbull <stephen@xemacs.org>
6310 * chartab.c (Fchar_table_p):
6311 (Fget_range_char_table):
6314 Describe range representation and fix typo.
6316 2005-02-12 Vin Shelton <acs@xemacs.org>
6318 * emacs.c (shut_down_emacs): Advise users to send email to the
6319 xemacs-beta list instead of crashes@xemacs.org.
6321 2005-02-03 David Evers <extsw@appliedgenerics.com>
6323 * process-unix.c (unix_send_process): Flush the last chunk, even
6324 when the pipe is blocked.
6326 2005-02-06 Vin Shelton <acs@xemacs.org>
6328 * XEmacs 21.4.17 is released
6330 2005-01-31 Ben Wing <ben@xemacs.org>
6333 Define assert_failed() always.
6335 Always define ABORT().
6337 2005-01-25 Ben Wing <ben@xemacs.org>
6340 * Makefile.in.in (%.o):
6341 Don't compile executable as Windows (-mwindows) under Cygwin.
6342 Semi-recent changes to Cygwin's executable-startup handling make
6343 it impossible to access the TTY this way.
6345 Don't use special linker file under Cygwin (cygwin.sc) except
6346 when non-PDUMP (even in this case it is highly questionable); you
6349 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
6350 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
6352 2005-01-29 Ben Wing <ben@xemacs.org>
6354 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6356 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
6358 2005-01-29 Ben Wing <ben@xemacs.org>
6360 * bytecode.c (optimize_compiled_function):
6362 * print.c (long_to_string):
6363 Add casts to avoid warning.
6366 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
6367 #### The better solution is to move the TIFF and JPEG code to
6370 * glyphs-msw.c (mswindows_xbm_instantiate):
6371 Define __STDC__ to avoid problems with compface.h.
6373 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
6375 * EmacsShell-sub.c (ABORT):
6376 * EmacsShell-sub.c (SuperClassRootGeometryManager):
6377 * EmacsShell-sub.c (RootGeometryManager):
6379 * EmacsShell.c (ABORT):
6380 * EmacsShell.c (EmacsShellUpdateSizeHints):
6381 * alloc.c (free_lcrecord):
6382 * alloca.c (i00afunc):
6383 * buffer.c (delete_from_buffer_alist):
6384 * buffer.c (MARKED_SLOT):
6385 * bytecode.c (execute_rare_opcode):
6386 * bytecode.c (optimize_byte_code):
6387 * bytecode.c (Ffetch_bytecode):
6388 * chartab.c (char_table_type_to_symbol):
6389 * chartab.c (Freset_char_table):
6390 * chartab.c (decode_char_table_range):
6391 * chartab.c (Fget_range_char_table):
6392 * chartab.c (check_valid_char_table_value):
6393 * chartab.c (map_char_table):
6394 * chartab.c (slow_map_char_table_fun):
6395 * chartab.c (chartab_instantiate):
6396 * cm.c (cmcheckmagic):
6397 * console-msw.c (DHEADER):
6398 * console.c (MARKED_SLOT):
6399 * data.c (finish_marking_weak_lists):
6400 * data.c (encode_weak_list_type):
6401 * debug.h (DASSERT):
6402 * device-gtk.c (gtk_init_device):
6403 * device-msw.c (mswindows_get_default_margin):
6404 * device-tty.c (tty_init_device):
6405 * device-x.c (get_device_from_display):
6406 * device-x.c (x_get_visual_depth):
6407 * doprnt.c (parse_doprnt_spec):
6408 * doprnt.c (get_doprnt_args):
6409 * dumper.c (pdump_get_indirect_count):
6410 * dumper.c (pdump_register_sub):
6411 * dumper.c (pdump_register_object):
6412 * dumper.c (pdump_register_struct):
6413 * dumper.c (pdump_dump_data):
6414 * dumper.c (pdump_reloc_one):
6415 * elhash.c (print_hash_table):
6416 * elhash.c (make_standard_lisp_hash_table):
6417 * elhash.c (hash_table_instantiate):
6419 * emacs.c (Fforce_debugging_signal):
6420 * emacs.c (sort_args):
6422 * emacs.c (assert_failed):
6423 * eval.c (throw_or_bomb_out):
6424 * eval.c (signal_1):
6427 * event-Xt.c (emacs_Xt_mapping_action):
6428 * event-Xt.c (Xt_process_to_emacs_event):
6430 * event-stream.c (check_event_stream_ok):
6431 * event-stream.c (Fadd_timeout):
6432 * event-stream.c (Fadd_async_timeout):
6433 * event-stream.c (Fdiscard_input):
6434 * event-stream.c (execute_internal_event):
6435 * event-stream.c (Frecent_keys):
6436 * event-stream.c (extract_this_command_keys_nth_mouse_event):
6437 * event-stream.c (lookup_command_event):
6438 * event-unixoid.c (poll_fds_for_input):
6440 * events.c (mark_event):
6441 * events.c (event_equal):
6442 * events.c (event_hash):
6443 * events.c (Fmake_event):
6444 * events.c (Fdeallocate_event):
6445 * events.c (event_chain_find_previous):
6446 * events.c (event_to_character):
6447 * events.c (format_event_object):
6448 * events.c (Fevent_type):
6449 * events.c (event_pixel_translation):
6450 * events.c (Fevent_properties):
6451 * extents.c (extent_in_region_p):
6452 * extents.c (print_extent):
6453 * extents.c (process_extents_for_insertion_mapper):
6454 * extents.c (report_extent_modification_mapper):
6455 * extents.c (glyph_layout_to_symbol):
6456 * faces.c (face_validate):
6457 * file-coding.c (eol_type_to_symbol):
6458 * file-coding.c (subsidiary_coding_system):
6459 * file-coding.c (Fcoding_system_type):
6460 * file-coding.c (Fcoding_system_property):
6461 * file-coding.c (mule_decode):
6462 * file-coding.c (mule_encode):
6463 * file-coding.c (encode_coding_ucs4):
6464 * file-coding.c (encode_coding_utf8):
6465 * file-coding.c (parse_iso2022_esc):
6466 * file-coding.c (encode_coding_iso2022):
6471 * fns.c (Fbase64_encode_region):
6472 * fns.c (Fbase64_encode_string):
6473 * fns.c (Fbase64_decode_region):
6474 * fns.c (Fbase64_decode_string):
6475 * font-lock.c (find_context):
6476 * font-lock.c (context_to_symbol):
6477 * frame-gtk.c (gtk_set_frame_pointer):
6478 * frame-gtk.c (gtk_update_frame_external_traits):
6479 * frame-x.c (x_wm_mark_shell_size_user_specified):
6480 * frame-x.c (x_wm_mark_shell_position_user_specified):
6481 * frame-x.c (x_wm_set_shell_iconic_p):
6482 * frame-x.c (x_wm_set_cell_size):
6483 * frame-x.c (x_wm_set_variable_size):
6484 * frame-x.c (x_wm_store_class_hints):
6485 * frame-x.c (x_wm_maybe_store_wm_command):
6486 * frame-x.c (x_initialize_frame_size):
6487 * frame-x.c (x_update_frame_external_traits):
6489 * frame.c (delete_frame_internal):
6490 * frame.c (mouse_pixel_position_1):
6491 * frame.c (change_frame_size_1):
6492 * free-hook.c (check_free):
6493 * free-hook.c (check_realloc):
6494 * free-hook.c (note_block_input):
6495 * free-hook.c (log_gcpro):
6496 * gccache-gtk.c (gc_cache_lookup):
6497 * glyphs-eimage.c (tiff_memory_write):
6498 * glyphs-gtk.c (gtk_finalize_image_instance):
6499 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
6500 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
6501 * glyphs-gtk.c (gtk_xpm_instantiate):
6502 * glyphs-gtk.c (gtk_unmap_subwindow):
6503 * glyphs-gtk.c (gtk_map_subwindow):
6504 * glyphs-gtk.c (gtk_button_redisplay):
6506 * glyphs-msw.c (init_image_instance_from_xbm_inline):
6507 * glyphs-x.c (init_image_instance_from_xbm_inline):
6508 * glyphs-x.c (extract_xpm_color_names):
6509 * glyphs-x.c (x_xpm_instantiate):
6510 * glyphs.c (get_image_instantiator_governing_domain):
6511 * glyphs.c (print_image_instance):
6512 * glyphs.c (image_instance_equal):
6513 * glyphs.c (image_instance_hash):
6514 * glyphs.c (encode_image_instance_type):
6515 * glyphs.c (make_image_instance_1):
6516 * glyphs.c (inherit_instantiate):
6517 * glyphs.c (image_instantiate):
6518 * glyphs.c (allocate_glyph):
6519 * glyphs.c (Fglyph_type):
6520 * glyphs.c (redisplay_subwindow):
6521 * glyphs.c (display_table_entry):
6522 * gtk-glue.c (xemacs_list_to_gtklist):
6523 * gtk-glue.c (xemacs_gtklist_to_list):
6524 * gtk-glue.c (xemacs_list_to_array):
6525 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
6526 * gutter.c (gutter_was_visible):
6527 * gutter.c (get_gutter_coords):
6528 * input-method-xlib.c (get_XIM_input):
6529 * insdel.c (bufpos_to_bytind_func):
6530 * insdel.c (bytind_to_bufpos_func):
6531 * insdel.c (move_gap):
6532 * intl.c (x_get_composed_input):
6533 * keymap.c (keymap_lookup_directly):
6534 * keymap.c (keymap_delete_inverse_internal):
6535 * keymap.c (ensure_meta_prefix_char_keymapp):
6536 * keymap.c (accessible_keymaps_mapper_1):
6537 * keymap.c (where_is_recursive_mapper):
6540 * lread.c (read_atom):
6541 * lstream.c (Lstream_delete):
6542 * lstream.c (make_lisp_buffer_stream_1):
6543 * macros.c (pop_kbd_macro_event):
6544 * malloc.c (malloc):
6546 * marker.c (bi_marker_position):
6547 * marker.c (set_bi_marker_position):
6548 * menubar-gtk.c (menu_descriptor_to_widget_1):
6549 * menubar-msw.c (prune_menubar):
6550 * menubar-x.c (set_frame_menubar):
6551 * mule-charset.c (get_unallocated_leading_byte):
6552 * mule-charset.h (CHAR_LEADING_BYTE):
6553 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6554 * nt.c (init_environment):
6555 * nt.c (generate_inode_val):
6556 * ntproc.c (delete_child):
6557 * ntproc.c (_sys_read_ahead):
6558 * ntproc.c (create_child):
6559 * objects.c (color_instantiate):
6560 * objects.c (font_instantiate):
6561 * objects.c (face_boolean_instantiate):
6562 * print.c (printing_major_badness):
6563 * process-nt.c (nt_send_process):
6564 * process-unix.c (unix_send_process):
6565 * process.c (get_process):
6566 * ralloc.c (obtain):
6567 * ralloc.c (relinquish):
6568 * ralloc.c (relocate_blocs):
6569 * ralloc.c (resize_bloc):
6570 * ralloc.c (r_alloc_free):
6571 * ralloc.c (r_re_alloc):
6572 * ralloc.c (r_alloc_thaw):
6573 * ralloc.c (init_ralloc):
6574 * ralloc.c (Free_Addr_Block):
6575 * ralloc.c (r_alloc):
6576 * redisplay-gtk.c (gtk_output_display_block):
6577 * redisplay-msw.c (mswindows_output_display_block):
6578 * redisplay-output.c (get_next_display_block):
6579 * redisplay-output.c (get_cursor_size_and_location):
6580 * redisplay-output.c (redisplay_output_layout):
6581 * redisplay-output.c (redisplay_clear_region):
6582 * redisplay-tty.c (tty_output_display_block):
6583 * redisplay-x.c (x_output_display_block):
6584 * redisplay.c (add_propagation_runes):
6585 * redisplay.c (add_glyph_rune):
6586 * redisplay.c (create_text_block):
6587 * redisplay.c (add_margin_runes):
6588 * redisplay.c (create_left_glyph_block):
6589 * redisplay.c (create_right_glyph_block):
6590 * redisplay.c (create_string_text_block):
6591 * redisplay.c (regenerate_window):
6592 * redisplay.c (REGEN_INC_FIND_START_END):
6593 * redisplay.c (redisplay_frame):
6594 * redisplay.c (point_in_line_start_cache):
6597 * regex.c (re_compile_fastmap):
6598 * regex.c (re_match_2_internal):
6599 * regex.c (regerror):
6600 * scrollbar-gtk.c (gtk_scrollbar_loop):
6601 * scrollbar-gtk.c (scrollbar_cb):
6602 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
6603 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
6604 * scrollbar-x.c (x_update_scrollbar_instance_status):
6605 * scrollbar-x.c (x_scrollbar_loop):
6606 * scrollbar-x.c (x_update_frame_scrollbars):
6607 * search.c (search_command):
6608 * search.c (Fmatch_data):
6609 * select-x.c (motif_clipboard_cb):
6610 * signal.c (interrupt_signal):
6611 * specifier.c (specifier_add_spec):
6612 * specifier.c (specifier_instance_from_inst_list):
6613 * specifier.c (specifier_instance):
6615 * specifier.h (struct specifier_methods):
6616 * strftime.c (add_num_time_t):
6617 * sunplay.c (init_device):
6618 * symbols.c (Fsetplist):
6619 * symbols.c (do_symval_forwarding):
6620 * symbols.c (store_symval_forwarding):
6622 * symbols.c (Fbuilt_in_variable_type):
6623 * symbols.c (decode_magic_handler_type):
6624 * symbols.c (handler_type_from_function_symbol):
6625 * syntax.c (update_syntax_cache):
6626 * sysdep.c (init_baud_rate):
6627 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6628 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6629 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6630 * toolbar.c (get_toolbar_coords):
6631 * ui-gtk.c (build_gtk_boxed):
6632 * ui-gtk.c (describe_gtk_arg):
6633 * ui-gtk.c (gtk_type_to_lisp):
6634 * ui-gtk.c (lisp_to_gtk_type):
6635 * ui-gtk.c (lisp_to_gtk_ret_type):
6636 * ui-gtk.c (lisp_to_flag):
6637 * unexnt.c (read_in_bss):
6638 * unexnt.c (map_in_heap):
6639 * window.c (real_window):
6640 * window.c (window_display_lines):
6641 * window.c (window_display_buffer):
6642 * window.c (set_window_display_buffer):
6643 * window.c (window_modeline_height):
6644 * window.c (unshow_buffer):
6645 * window.c (window_loop):
6646 * window.c (Fget_lru_window):
6647 * window.c (Fsplit_window):
6648 * window.c (Fset_window_configuration):
6649 * window.c (saved_window_index):
6650 * xgccache.c (gc_cache_lookup):
6651 abort() -> ABORT(). Eliminate preprocessor games with abort()
6652 since it creates huge problems in VC7, solvable only by including
6653 massive amounts of files in every compile (and not worth it).
6657 Inclusion of process.h does not need to be before lisp.h any more.
6658 Move later and remove comment about abort().
6660 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
6662 * regex.c (re_match_2_internal):
6663 Correctly initialize loop which clears uninitialized registers.
6665 2005-01-28 Vin Shelton <acs@xemacs.org>
6667 * sheap.c (more_static_core): Applied Ben's version of the long
6670 2005-01-24 Vin Shelton <acs@xemacs.org>
6672 * sheap.c (more_static_core): Reformatted printf string so
6673 gcc-3.3.3 will compile this on Cygwin.
6675 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
6677 * console.c (function_key_map): Reference `key-binding'.
6679 * keymap.c (Vkey_translation_map): Improve docstring.
6681 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
6683 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
6684 * window.c (window_loop): [fix] Take into account
6685 `allow-deletion-of-last-visible-frame' variable.
6686 * window.c (replace-buffer-in-windows): Ditto.
6688 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
6690 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
6692 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
6694 * event-gtk.c: Recognise AltGr as a valid modifier.
6696 2005-01-12 Ville Skyttä <scop@xemacs.org>
6698 * console-x.h: #include X11/keysym.h before xintrinsic.h.
6700 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6702 Fix backreference bug caught by test suite.
6704 * regex.c (regex_compile):
6705 Make backref duplicate internal register.
6707 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6709 Documentation, code clarification, and warning suppression.
6711 * regex.c (regex_compile):
6713 (re_match_2_internal):
6714 Improve comments and avoid redundant braces. [Most of the big hunk
6715 at l. 4710 is indentation; use diff -w to see the real changes.]
6716 (alt_match_null_string_p):
6717 (common_op_match_null_string_p):
6718 Avoid shadowing global on Mac OS X 10.4, at least.
6720 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6722 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
6723 introduced with shy groups fix). [Already applied, probably
6724 with the second "fix shy groups" patch of 2004-10-07.]
6726 2005-01-10 Steve Youngs <steve@sxemacs.org>
6728 From Andrey Slusar <anrays@gmail.com>:
6730 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
6732 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
6734 * Makefile (RECURSIVE_MAKE): Removed.
6735 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
6736 handling parallel builds.
6738 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
6740 * Makefile.in.in: Enable support for parallel builds.
6742 2005-01-09 Steve Youngs <steve@sxemacs.org>
6744 From Andrey Slusar <anrays@gmail.com>:
6746 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
6747 FreeBSD version is >= 199701 _and_ < 600006.
6749 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
6751 * scrollbar.c (compute_scrollbar_instance_usage):
6752 Only call device method compute_scrollbar_instance_usage() if it
6755 2004-12-05 Vin Shelton <acs@xemacs.org>
6757 * XEmacs 21.4.16 is released
6759 2004-12-04 Vin Shelton <acs@xemacs.org>
6761 * depend: Regenerated.
6763 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
6765 * regex.c (re_match_2_internal): Map internal to external
6766 registers. Fixes bug identified by Steve Youngs 2004-09-30
6767 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
6769 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6771 * buffer.c (Frecord_buffer): Make sure the argument is buffer
6772 to fix a crash. Also, check the buffer is live and it
6773 really exists in buffer_list. If the buffer is not in the list,
6776 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6778 Fix shy groups by implementing recording of all groups for
6779 repetition and backtracking. Backport from 21.5.
6781 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
6782 external_to_internal_register, external_to_internal_register_size,
6783 and update comments for re_nsub.
6785 * regex.c (re_opcode_t): Update comments.
6786 (print_compiled_pattern): Ouput external_to_internal_register,
6787 external_to_internal_register_size, and re_ngroups for debugging.
6788 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
6789 (regex_compile): Update header comment.
6790 Ensure that all groups are recorded so that repeat matches and
6791 backtracking work correctly. Comment related warning for groups >
6793 (re_search_2): Construct map of API indexes (which count only
6794 nonshy groups) to internal register numbers, and keep it updated.
6796 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
6798 * frame-gtk.c (gtk_make_frame_visible):
6799 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
6800 show/hide. This is what X uses and is prevents previously hidden
6801 widgets from suddenly reappearing.
6802 * gtk-xemacs.c (gtk_xemacs_paint):
6803 * gtk-xemacs.c (gtk_xemacs_draw):
6804 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
6806 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
6807 size and location changes so that they can be seen before the next
6808 idle event. Without this rapid changes to scrollbar properties
6811 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
6814 * console-gtk.h (struct gtk_frame):
6815 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
6816 Add hash tables track tab_control callback data.
6817 Added #defines for GTK object data names.
6818 Declaration of gtk_widget_to_frame().
6819 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
6820 * frame-gtk.c (gtk_widget_to_frame): New.
6821 * frame-gtk.c (gtk_create_widgets):
6822 * frame-gtk.c (allocate_gtk_frame_struct):
6823 * frame-gtk.c (gtk_mark_frame):
6824 Manage frame callbakc hash tables.
6825 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
6826 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
6827 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
6829 * glyphs-gtk.c (gtk_widget_query_geometry): New
6830 * glyphs-gtk.c (gtk_register_gui_item): New
6831 * glyphs-gtk.c (gtk_add_tab_item): New
6832 * glyphs-gtk.c (gtk_tab_control_callback): New
6833 * glyphs-gtk.c (gtk_tab_control_instantiate): New
6834 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
6835 Use correct list when loading item.
6836 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
6837 Register new methods.
6838 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
6839 default size, for widgets.
6840 * gui-x.c: Improved comment.
6841 * menubar-gtk.c (__generic_button_callback): Use
6842 gtk_widget_to_frame instead of __get_channel.
6844 * ui-gtk.c: Use symbolic names for GTK object data.
6846 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
6848 * s/usg5-4.h (NSIG): Define only inside emacs binary.
6850 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
6852 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
6854 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
6856 * malloc.c (morecore): siz is a long because in some architectures
6857 (eg ia-64) an int cannot hold the address range. Additional patch
6858 from the SuSe distribution.
6860 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
6863 * malloc.c: lim_data is a long because in some architectures
6864 (eg ia-64) an int cannot hold the address range.
6865 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
6866 instead of ulimit() because ulimit() always returns -1.
6868 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
6870 * search.c: Reenable an ansync semaphore. Remove bogus comments.
6872 2004-06-11 David Kastrup <dak@gnu.org>
6874 * search.c (match_limit): Don't flag an error if match-data
6875 exceeding the allocated search_regs.num_regs gets requested, just
6878 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6880 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
6881 replace symbolic color entries with the real colors specified in
6882 xpm-color-symbols, before passing the XPM to gtk.
6883 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
6884 instead of a GTK specific field, so that it is used in by generic
6887 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
6889 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
6890 coredump from deref of NULL ptr (ExtData)
6892 2004-04-19 Jerry James <james@xemacs.org>
6894 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
6895 VALBITS to compute the location of the sign bit.
6896 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
6897 of VALBITS with EMACS_INT_MAX.
6898 * events.c (Fevent_timestamp): Ditto.
6899 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
6900 compute the halfway point to timestamp wraparound.
6901 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
6902 EMACS_INT_MIN instead of using VALBITS.
6903 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
6904 incorrect number with VALBITS.
6905 * fns.c (Frandom): Correct number of integer bits in docstring.
6906 Use INT_VALBITS instead of VALBITS to compute the denominator.
6907 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
6908 build random numbers.
6910 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6912 * event-gtk.c (gtk_event_to_emacs_event):
6914 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
6915 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
6916 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
6917 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
6918 * menubar-gtk.c (__activate_menu):
6919 * menubar-gtk.c (convert_underscores):
6920 * menubar-gtk.c (remove_underscores):
6921 * menubar-gtk.c (menu_convert):
6922 * menubar-gtk.c (menu_descriptor_to_widget_1):
6923 * menubar-gtk.c (menu_descriptor_to_widget):
6924 * menubar-gtk.c (menu_can_reuse_widget):
6925 * menubar-gtk.c (menu_create_menubar):
6926 * menubar-gtk.c (gtk_popup_menu):
6927 * menubar-gtk.c (Fgtk_build_xemacs_menu):
6928 Added support for Gtk menu bar and menu item mnemonics.
6930 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6932 * sysdll.c: (dll_function): Added support for finding symbols in
6933 Darwin shared libraries as well in Darwin bundles.
6934 * sysdll.c (image_for_address): New
6935 * sysdll.c (my_find_image): New
6936 * sysdll.c (search_linked_libs): New
6938 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6940 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
6941 return to GTK requires a different API to marshalling data to use
6943 * ui-gtk.c (lisp_to_gtk_ret_type): New.
6945 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
6947 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
6949 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6951 * glyphs.c (process_image_string_instantiator):
6952 (Fset_console_type_image_conversion_list):
6953 Stop GCC from warning about shadowing of `exp'.
6955 * redisplay-x.c (x_output_string): Fix unsigned lossage.
6957 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6959 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
6961 2004-02-03 Vin Shelton <acs@xemacs.org>
6963 * glyphs.c (image_instance_layout): Remove pointless assertion.
6964 * regex.c (regex_grow_registers): Return type is void.
6966 2004-02-02 Vin Shelton <acs@xemacs.org>
6968 * XEmacs 21.4.15 is released
6970 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
6972 * device-x.c (x_error_handler): Don't call stderr_out
6974 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
6976 * buffer.c (other-buffer): Clarify documentation of order of
6977 arguments for FSF Emacs.
6979 2003-10-11 Olivier Galibert <galibert@pobox.com>
6981 * window.c (Fdelete_window): Dirty the mirror structure _before_
6982 marking the window deleted.
6984 2003-09-15 Jerry James <james@xemacs.org>
6986 * event-msw.c (debug_mswin_messages): Conditionally compile
6987 messages missing from the Cygwin headers.
6989 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
6991 * data.c (eq_with_ebola_notice): Fix typo in comment.
6992 (Ftrue_list_p): Improve docstring.
6994 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
6996 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
6998 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
7000 * search.c (trivial_regexp_p): Regexps containing "\{" are
7001 nontrivial. Thanks to Manfred Bartz for reporting the bug and
7002 Stefan Monnier for suggesting a diagnosis.
7004 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
7006 * elhash.c (make-hash-table): Clarify use of :test #'equal.
7008 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
7010 * search.c (Fsearch_forward):
7012 Document negative count.
7014 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
7016 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
7018 2003-09-13 Martin Buchholz <martin@xemacs.org>
7020 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
7022 2003-09-15 Vin Shelton <acs@xemacs.org>
7024 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
7027 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
7029 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
7030 (re_search_2): Match the first byte of Bufbyte, not Emchar.
7031 (re_match_2_internal): Use TRANSLATE instead of
7032 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
7033 non-ASCII char case conversion.
7035 2003-09-08 Mike Sperber <mike@xemacs.org>
7037 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
7038 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
7040 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
7042 * .gdbinit (pobj): fix printing of symbol name.
7044 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
7046 * frame-x.c (x_layout_widgets): When resizing is about to cause
7047 frame size slip, mark it for redisplay.
7049 2003-08-18 Jerry James <james@xemacs.org>
7051 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
7053 2003-09-03 Vin Shelton <acs@xemacs.org>
7055 * XEmacs 21.4.14 is released
7057 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
7059 * config.h.in (REGEX_MALLOC): Make it configure'able.
7061 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
7063 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
7065 * sysdll.c (dll_init):
7066 * sysdll.c (dll_open):
7067 * sysdll.c (dll_close):
7068 * sysdll.c (dll_function):
7069 * sysdll.c (dll_variable):
7070 * sysdll.c (dll_error):
7071 Add support for loading bundles using Darwin/MacOSX
7074 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
7076 * process.c (start-process-internal): Document coding systems.
7078 2003-07-30 Jerry James <james@xemacs.org>
7080 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
7082 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
7084 * event-msw.c (mswindows_enqueue_mouse_button_event):
7085 * event-msw.c (mswindows_wnd_proc):
7086 enqueue button event when scrollwheel event isn't handled by
7087 mswindows_handle_mousewheel_event, such as when the scrollbars
7090 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
7092 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
7094 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
7096 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
7098 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
7100 * regex.c (re_match_2_internal): Fix matching degenerate word
7103 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
7105 * XEmacs 21.4.13 is released
7107 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
7109 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
7110 * lisp.h (<inttypes.h>):
7111 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
7114 2003-03-15 Martin Buchholz <martin@xemacs.org>
7116 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
7117 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
7118 Result: "temacs can only be run in -batch mode."
7119 Fix: Check xemacs executable candidate for directory-ness.
7121 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
7123 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
7124 they conflict with <sys/types.h>.
7126 2003-02-14 Martin Buchholz <martin@xemacs.org>
7128 * database.c: Berkeley DB wants __STDC__ to be defined.
7130 2003-02-13 Martin Buchholz <martin@xemacs.org>
7132 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
7134 2003-02-01 Martin Buchholz <martin@xemacs.org>
7136 * process-unix.c (unix_send_process): Fix C++ compile error.
7138 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
7140 * Added .dylib as an acceptable shared library file extension
7141 * to support MacOSX.
7143 2003-02-01 Martin Buchholz <martin@xemacs.org>
7145 * EmacsFrameP.h (EmacsFramePart):
7146 Kludge to allow compiling with Motif1, but linking with Motif2.
7148 2003-01-28 Martin Buchholz <martin@xemacs.org>
7150 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
7153 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
7155 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
7157 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
7159 * sysdll.c: Included lisp.h to define needed alloca_array.
7161 2003-02-13 Martin Buchholz <martin@xemacs.org>
7163 Make XEmacs redisplay 10 times faster.
7164 If, that is, you're using a slow X connection and MoveOpaque.
7165 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
7166 Use compress_motion = TRUE.
7167 * EmacsFrame.c (emacsFrameClassRec):
7168 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
7169 * EmacsManager.c (emacsManagerClassRec):
7170 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
7172 2003-01-30 Vin Shelton <acs@xemacs.org>
7174 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
7176 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
7178 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
7179 Patch by Martin Buchholz.
7181 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
7183 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
7184 Thanks to icc for warning and Martin Buchholz for reporting.
7186 2003-01-29 Vin Shelton <acs@xemacs.org>
7188 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
7190 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
7191 remember to multiply by the element size.
7193 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
7195 * XEmacs 21.4.12 "Portable Code" is released.
7197 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
7199 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
7200 * s/cygwin.sc: new linker file.
7202 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
7204 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
7206 * redisplay-x.c (x_output_string): Use X11-specified types.
7207 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
7208 * emacs.c (__free_hook): Use typeof with Intel compiler.
7209 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
7211 2003-01-08 Andy Piper <andy@xemacs.org>
7213 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
7214 reserve size during unexec().
7216 2003-01-07 Daiki Ueno <daiki@xemacs.org>
7218 * process-unix.c (unix_create_process): Don't let outchannel block.
7220 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
7222 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
7223 Needed for IsBadReadPtr().
7225 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
7227 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
7229 2002-12-14 Ben Wing <ben@xemacs.org>
7231 * callint.c: Declaration error.
7233 * dumper.c (pdump_load): Warning fix.
7234 * process.c: GCPRO error.
7235 * glyphs.c (unmap_subwindow):
7236 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
7237 * event-stream.c (maybe_kbd_translate): Wrong argument to
7238 character_to_event().
7240 * alloc.c (garbage_collect_1):
7242 * emacs.c (debug_can_access_memory):
7243 * emacs.c (fatal_error_signal):
7244 * emacs.c (mswindows_handle_hardware_exceptions):
7247 * emacs.c (assert_failed):
7248 * emacs.c (syms_of_emacs):
7251 * print.c (std_handle_out_va):
7252 * print.c (write_string_to_stdio_stream):
7253 * print.c (write_fmt_string):
7254 * print.c (printing_badness):
7255 * print.c (printing_major_badness):
7256 * print.c (print_internal):
7257 * print.c (debug_print_no_newline):
7258 * print.c (debug_backtrace):
7259 Be more defensive in handling bad values when printing. Add code
7260 from trunk involving inhibit_non_essential_printing_operations.
7261 When going down or in debug_print(), don't do external conversion
7262 and such and try really, really hard when printing to avoid core
7263 dumping. Add force-debugging-signal, debug_break().
7265 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
7267 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
7268 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
7270 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
7272 * database.c: Fix open_database. Berkeley DB API has changed in
7273 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
7275 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
7277 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
7279 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
7281 * event-Xt.c (Xt_timeout):
7282 (Xt_timeout_callback):
7283 (emacs_Xt_add_timeout):
7284 (emacs_Xt_remove_timeout):
7285 (Xt_timeout_to_emacs_event):
7286 Turn completed_timeouts from a stack into a queue. Fixes
7287 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
7289 2002-11-07 Wolfram Gloger <wg@malloc.de>
7291 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
7292 * emacs.c (main): Assert that mmap'd allocation is disabled.
7294 2002-10-14 Andy Piper <andy@xemacs.org>
7296 * glyphs-widget.c (layout_query_geometry): add in fiddle
7297 factor. Include border text in width layout calculation.
7298 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
7300 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
7302 * XEmacs 21.4.10 "Military Intelligence" is released.
7304 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
7306 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
7307 using the NAS private array SoundFileInfo that no longer exists in
7308 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
7309 and earlier. This is broken for some versions between 1.5a and
7312 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
7314 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
7316 * emacs.c (shut_down_emacs): Improve crash message.
7318 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
7320 * file-coding.c (determine_real_coding_system): Check for coding
7321 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
7322 shebangs and Python PEP 263.
7324 2002-10-08 Andy Piper <andy@xemacs.org>
7326 * glyphs-widget.c (layout_query_geometry): only resize dynamically
7327 if static sizes haven't been set.
7329 2002-08-30 Mike Alexander <mta@arbortext.com>
7331 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
7334 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
7336 * callproc.c (child_setup): 21.4 doesn't have retry_close.
7338 2002-09-20 Mike Sperber <mike@xemacs.org>
7340 (This partially gets back my patch from 2002-07-20 without the
7342 * callproc.c (child_setup): Remove Ben's comment noting confusion
7343 over the file descriptors >= 3: close_process_descs() doesn't
7344 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
7345 * process-unix.c (unix_create_process): Call
7346 begin_dont_check_for_quit to inhibit unwanted interaction (and
7347 thus breaking of X event synchronicity) in the child.
7349 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
7351 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
7354 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
7356 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
7357 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
7358 the xemacs process did not exit, but looped infinitely here. This
7361 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
7363 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
7364 (find_context): Improve comments.
7366 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
7367 (re_match_2): An XCHAR_TABLE operation was missing.
7369 Many of the following changes were inspired by Andy Piper's (now
7370 obsolete) patch to make syntax-table text property lookup optional.
7374 * syntax.h (top level): Document semantics of syntax flags.
7375 * syntax.c (comstr_start, Fforward_comment): Improve comments.
7376 * syntax.c, syntax.h (top level): Document syntax cache better in
7379 [Instrument syntax caching (temporary change)]
7381 * syntax.h (enum syntax_cache_statistics_functions, struct
7382 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
7383 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
7384 * syntax.c (scan_words, Fforward_comment, scan_lists,
7385 Fbackward_prefix_characters):
7386 * font-lock.c (find_context):
7387 Use them to instrument syntax caching.
7388 * syntax.c (struct syntax_cache_statistics, scs_statistics,
7389 syntax_cache_statistics_function_names): New type and variables.
7390 * syntax.c (update_syntax_cache): Update and report statistics.
7392 [Major syntax cache optimizations]
7394 syntax.c (lookup_syntax_properties): Default off.
7396 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
7397 * syntax.c (update_syntax_cache):
7398 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
7400 [Minor syntax cache optimizations and code clarifications]
7402 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
7403 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
7404 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
7405 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
7406 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
7407 (Code clarification.)
7409 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
7410 scan_lists): Compute code from syncode, use Boolean macros instead
7411 of redundant masking operations. (Code clarification; any decent
7412 compiler can do this optimization.)
7414 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
7417 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
7418 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
7419 use F*_single_property_change instead of F*_extent_change.
7420 Currently F*_single_property_change is _much_ less efficient.
7422 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
7423 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
7424 syntax_cache.object properly, don't leave Qt or Qnil.
7425 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
7426 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
7427 tests for Qt or Qnil.
7429 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
7431 * redisplay.c (point_in_line_start_cache):
7432 * extents.c (print_extent_1):
7435 * extents.c (Fset_extent_property): Document `syntax-table' property.
7437 * extents.h (Fnext_single_property_change): EXFUN it.
7439 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7441 * search.c (clear_unused_search_regs): New static function.
7445 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
7446 Minor clarifications in comments.
7448 * regex.c (re_match_2_internal): Ensure no stale submatches.
7450 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7452 * event-Xt.c (enqueue_focus_event): Add missing prototype.
7454 2002-08-29 Jerry James <james@xemacs.org>
7456 * lisp.h: structrures -> structures.
7458 2002-06-03 Andy Piper <andy@xemacs.org>
7460 * frame.c (frame_conversion_internal): add conversion appropriate
7461 for setting frame dimensions in pixels.
7463 * console.h (struct console_methods): add device-specific widget
7466 * emacs.c (main_1): initialize glyph vars.
7468 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
7469 (handle_focus_event_2): new function. Allow focus to
7470 be set to a particular window and widget.
7471 (enqueue_focus_event): new function. Create a
7472 synthetic focus event.
7473 (emacs_Xt_handle_magic_event): call
7474 handle_focus_event_2.
7476 * frame.c (Fset_frame_pixel_height): new function. Allow
7477 pixel-based sizing. Does the right thing on character-oriented
7479 (Fset_frame_pixel_width): ditto.
7480 (Fset_frame_pixel_size): ditto.
7481 (syms_of_frame): declare.
7483 * general-slots.h: add :vertically-justify and
7484 :horizontally-justify.
7486 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
7487 (mswindows_widget_border_width): new function.
7488 (mswindows_combo_box_instantiate): set border widths.
7489 (console_type_create_glyphs_mswindows): declare.
7492 (check_valid_justification): allow vertical and horizontal
7494 (widget_border_width): new function. Call device methods.
7495 (widget_instance_border_width): ditto.
7496 (logical_unit_height): new function. Determine the height of a
7497 logical-unit. Logical units are intended to provide grid-like
7498 layout for subcontrols in a layout. If the layout is
7499 :vertically-justify top then subcontrols will be positioned on
7500 logical-unit boundaries, thus allowing adjacent subcontrols to
7502 (widget_logical_unit_height): ditto for widgets.
7503 (redisplay_widget): misc cleanup.
7504 (widget_spacing): new function. Call device specific
7505 methods. Intended to be the default gap between adjacent widgets.
7506 (widget_query_geometry): use new spacing functions to determine
7507 appropriate geometry.
7508 (initialize_widget_image_instance): initialize horizontal and
7509 vertical justification.
7510 (widget_instantiate): use logica-units where appropriate for
7511 sizing large widgets.
7512 (button_query_geometry): use widget_instance_border_width.
7513 (tree_view_query_geometry): ditto.
7514 (tab_control_query_geometry): ditto.
7515 (edit_field_query_geometry): new function.
7516 (layout_update): pick up :justify, :horizontally-justify and
7517 :vertically-justify none of which worked previously. :justify is
7518 used as a fallback for both horizontal and vertical justification.
7519 (layout_query_geometry): use logical units to size appropriately.
7520 (layout_layout): ditto.
7521 (Fwidget_logical_to_character_width): new function. Allow users to
7522 convert from logical units to characters so that frame sizes can
7523 be set appropriately.
7524 (Fwidget_logical_to_character_height): ditto.
7525 (syms_of_glyphs_widget): declare.
7526 (image_instantiator_edit_fields): add edit_field_query_geometry.
7527 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
7528 :horizontally-justify.
7529 (specifier_vars_of_glyphs_widget): new function. Declare
7530 Vwidget_border_width which is not yet used.
7532 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
7533 (x_widget_border_width): new function.
7534 (x_widget_instantiate): create a sensible name for widgets.
7535 (console_type_create_glyphs_x): declare x_widget_border_width.
7537 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
7538 (struct Lisp_Image_Instance): add :vertically-justify and
7539 :horizontally-justify.
7540 (LAYOUT_JUSTIFY_TOP): new.
7541 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
7542 (ROUND_UP): new macro. Round argument up to next integral
7545 * redisplay-output.c (redisplay_output_layout): misc formatting.
7547 * symsinit.h: declare specifier_vars_of_glyphs_widget.
7549 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
7551 * XEmacs 21.4.9 "Informed Management" is released.
7553 2002-08-19 Andy Piper <andy@xemacs.org>
7555 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
7558 * realpath.c (xrealpath): normalize drive spec also so that dir
7559 sep chars are not mixed on cygwin.
7561 2002-08-06 Jerry James <james@xemacs.org>
7563 * window.c (Fsplit_window): Count only half of the divider width
7564 against the left window when splitting horizontally.
7566 2002-06-24 Andy Piper <andy@xemacs.org>
7568 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
7569 toolbar was cleared.
7571 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
7572 function. Split out from mswindows_output_frame_toolbars.
7573 (mswindows_output_frame_toolbars): move clear pieces to
7574 mswindows_output_frame_toolbars.
7576 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
7577 out from gtk_output_frame_toolbars.
7578 (gtk_output_frame_toolbars): move clear pieces to
7579 gtk_clear_frame_toolbars.
7581 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
7582 the frame is cleared. How this ever worked before is a mystery.
7583 (x_output_frame_toolbars): Only output toolbars.
7584 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
7586 * gutter.c (update_gutter_geometry):
7587 Mark frame layout changed.
7588 (update_frame_gutter_geometry, update_frame_gutters):
7589 Respect frame_layout_changed.
7591 * console.h (struct console_methods): add
7592 clear_frame_toolbars_method.
7594 * redisplay.c (redisplay_frame): call
7595 update_frame_toolbars_geometry and re-order update_frame_toolbars.
7597 * toolbar.h: declare update_frame_toolbars_geometry.
7599 * toolbar.c (update_frame_toolbars_geometry): new function. Split
7600 out from update_frame_toolbars. Call clear_frame_toolbars.
7601 (update_frame_toolbars): only output, do not change geometry.
7603 * redisplay.c: add frame_layout_changed.
7605 * redisplay.h: add frame_layout_changed.
7606 (CLASS_RESET_CHANGED_FLAGS): set it.
7607 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
7608 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
7609 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
7611 * device.h (struct device): add frame_layout_changed.
7612 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
7614 * frame.h (struct frame): add frame_layout_changed.
7615 (MARK_FRAME_LAYOUT_CHANGED): new.
7617 2002-06-30 Mike Alexander <mta@arbortext.com>
7619 * event-msw.c (mswindows_need_event): Don't wait for a new message
7620 if the queue is not empty. Suggested by Paul Moore.
7622 2002-06-12 Andy Piper <andy@xemacs.org>
7624 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
7625 for printing on accurately.
7627 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
7629 * event-msw.c (mswindows_wnd_proc): Add a handler for the
7630 WM_ACTIVATE message. Make sure that the frame is visible if the
7631 window is visible. This seemss to fix the problem where XEmacs
7632 appears to freeze after switching desktops with certain virtual
7634 (debug_output_mswin_message): Added code to output message
7635 parameters for WM_WINDOWPOSCHANGED,
7636 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
7638 2002-05-25 Andy Piper <andy@xemacs.org>
7640 * select-x.c (vars_of_select_x): Fix docstring of
7641 x-selection-strict-motif-ownership
7643 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7645 * keymap.c (get_keymap):
7646 Add comment about do_autoload GCPROs own args.
7648 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7650 * bytecode.c (execute_optimized_program): check_opcode ifdef
7651 ERROR_CHECK_BYTE_CODE.
7653 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7655 Thanks to Ben Wing and Michael Sperber.
7657 * eval.c (Fcommand_execute):
7660 (Fmacroexpand_internal):
7661 (function_argcount):
7662 callint.c (Fcall_interactively):
7663 Add comment about do_autoload GCPROs own args.
7665 * (do_autoload): GCPRO both args as well as local Lisp_Object.
7667 * eval.c (Ffuncall): Extra braces to placate GCC.
7669 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
7671 * backtrace.h (grow_specpdl):
7673 * EmacsFrame.c (EmacsFrameSetValues):
7674 * eval.c (grow_specpdl):
7675 * ExternalShell.c (hack_event_masks_1):
7676 * glyphs-x.c (convert_EImage_to_XImage):
7677 (x_finalize_image_instance):
7678 * ralloc.c (page_size):
7680 * xgccache.c (gc_cache_hash):
7681 Fix unsigned comparison warnings.
7683 2002-07-29 Jerry James <james@xemacs.org>
7685 * lread.c (locate_file): Any nonnegative return value indicates
7686 success if MODE is nonnegative.
7688 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
7690 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
7693 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
7695 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
7697 * dumper.c (pdump_get_indirect_count):
7698 (pdump_scan_by_alignment):
7699 (pdump_dump_root_struct_ptrs):
7700 (pdump_dump_rtables):
7701 (pdump_dump_root_objects):
7703 * nas.c (WaveOpenDataForReading):
7704 * fns.c (print_bit_vector):
7705 * font-lock.c (SINGLE_SYNTAX_STYLE):
7706 * glyphs.c (check_for_ignored_expose):
7707 (find_matching_subwindow):
7709 * imgproc.c (get_histogram):
7710 * redisplay.c (point_in_line_start_cache):
7711 * redisplay-output.c (redisplay_unmap_subwindows):
7712 * symbols.c (defsymbol_massage_name_1):
7713 (defkeyword_massage_name):
7714 (deferror_massage_name_and_message):
7715 * redisplay-x.c (x_output_string):
7716 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
7717 * frame.h (struct frame):
7718 * filelock.c (current_lock_owner):
7719 * doprnt.c (emacs_doprnt_1):
7720 * lisp.h (struct Lisp_Bit_Vector):
7724 2002-02-13 Ben Wing <ben@xemacs.org>
7726 * event-stream.c (reset_key_echo):
7727 * event-stream.c (reset_this_command_keys):
7728 * event-stream.c (execute_command_event):
7729 If console is dead as a result of C-x 5 0, then post-command stuff
7730 needs to be careful and do only non-console-specific stuff.
7732 2002-07-01 Mike Sperber <mike@xemacs.org>
7734 * process-unix.c (unix_send_process): Mark coding_outstream as
7735 non-open upon SIGPIPE.
7737 * event-stream.c (Fnext_event): Reorder switch cases to something
7740 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
7742 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
7743 Don't bogusly reinitialize ascii_character property.
7745 2002-07-08 Mike Sperber <mike@xemacs.org>
7747 * process.c (Fstart_process_internal): Do error checking before we
7748 fork off the child, so the child can't muck with the state of the
7751 2002-07-08 Mike Sperber <mike@xemacs.org>
7753 * ralloc.c (init_ralloc): Allocate properly for pdump.
7755 2002-06-12 Andy Piper <andy@xemacs.org>
7757 * glyphs.c (query_string_geometry): check the string.
7759 * glyphs-widget.c (widget_logical_unit_height): cope with nil
7762 2002-06-17 Jerry James <james@xemacs.org>
7764 * sysdll.c: Remove RTLD_GLOBAL initialization.
7765 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
7767 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
7769 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
7771 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
7773 * sysdep.c (sys_rename): Make sys_rename work for the case where
7774 Windows rename sets errno to EACCES if target file exists.
7776 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
7778 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7779 Fix detection of metric units to work on Win95
7781 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
7783 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
7785 2002-04-25 Andy Piper <andy@xemacs.org>
7787 * redisplay.c (create_text_block): Remove extra comment trailer.
7789 2002-04-24 Andy Piper <andy@xemacs.org>
7791 * redisplay.c (create_text_block): Don't actually add propagation
7792 data if the line ends after we have added a glyph.
7794 2002-04-22 Andy Piper <andy@xemacs.org>
7796 * extents.c (extent_fragment_update): check for glyphs we have
7797 previously displayed.
7798 * extents.c (print_extent_1): warning removal.
7799 * extents.h: change prototype.
7800 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
7801 widths correctly for wide glyphs.
7802 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
7803 * redisplay.c (prop_type): add PROP_GLYPH.
7804 * redisplay.c (struct prop_block): add glyph type
7805 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
7806 to the propagation data.
7807 * redisplay.c (create_text_block): if there is a glyph in the
7808 propagation data use it to salt extent_fragment_update.
7809 * redisplay.c (create_string_text_block): ditto.
7811 2002-04-13 Nix <nix@esperi.demon.co.uk>
7813 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
7814 * redisplay-output.c (compare_runes): Compare them.
7815 * redisplay.c: Update copyright date.
7816 * redisplay.c (pos_data): Add need_baseline_computation field.
7817 * redisplay.c (add_glyph_rune): Update ascent, descent, and
7818 need_baseline_computation; zero yoffset. Set max_pixmap_height
7819 for all pixmaps, not just automatically positioned ones.
7820 * redisplay.c (calculate_yoffset): New, compute yoffset values.
7821 * redisplay.c (calculate_baseline): New, compute textual baseline.
7822 * redisplay.c (add_glyph_rune): Call them.
7823 * redisplay.c (create_text_block): Likewise.
7824 * redisplay.c (create_overlay_glyph_block): Likewise.
7825 * redisplay.c (add_margin_runes): Likewise.
7826 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
7828 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
7829 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
7830 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
7831 * redisplay-msw.c (mswindows_output_string): Likewise.
7832 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
7833 * redisplay-gtk.c (gtk_output_display_block): Likewise.
7834 * redisplay-x.c (x_output_display_block): Likewise.
7836 2002-03-28 Ben Wing <ben@xemacs.org>
7838 * redisplay.c: Fixed bug in redisplay
7839 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
7840 and down of the lines, since they're bigger than the line
7841 size. (It was seen most obviously when there's a horizontal scroll
7842 bar, e.g. do C-h a glyph or something like that.) The problem was
7843 that the glyph-contrib-p setting on glyphs was ignored even if it
7844 was set properly, which it wasn't until now.
7846 2002-04-24 Andy Piper <andy@xemacs.org>
7848 * lisp.h (Dynarr_end): Fix definition.
7850 2002-02-06 Adrian Aichner <adrian@xemacs.org>
7852 * redisplay.c (mark_redisplay): Remove call to
7853 update_frame_window_mirror.
7855 2001-11-15 Andy Piper <andy@xemacs.org>
7857 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
7860 2002-02-13 Andy Piper <andy@xemacs.org>
7862 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
7863 we did in fact enqueue the XM_MAPFRAME event.
7865 2002-01-15 Adrian Aichner <adrian@xemacs.org>
7867 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
7868 to fix problem switching between virtual desktops under virtuawin
7869 virtual window manager.
7871 2001-07-30 Adrian Aichner <adrian@xemacs.org>
7873 * event-msw.c: Typo fix.
7874 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
7875 magic XM_MAPFRAME event has been sent.
7877 2001-11-23 Andy Piper <andy@xemacs.org>
7879 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
7881 2001-11-21 Andy Piper <andy@xemacs.org>
7883 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
7884 mouse events outside the frame.
7886 2002-03-20 Andy Piper <andy@xemacs.org>
7888 * menubar-msw.c (mswindows_popup_menu): warning removal.
7889 * dialog-msw.c (dialog_popped_down): ditto.
7891 2001-12-11 Andy Piper <andy@xemacs.org>
7893 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
7894 * dialog-msw.c (mswindows_make_dialog_box_internal): set
7896 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
7897 * menubar-msw.c (mswindows_handle_wm_command): ditto.
7898 * menubar-msw.c (mswindows_popup_menu): ditto.
7900 2001-10-29 Andy Piper <andy@xemacs.org>
7902 * dialog-msw.c (handle_directory_dialog_box): quit if the user
7905 2002-01-03 Andy Piper <andy@xemacs.org>
7907 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
7911 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
7913 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
7914 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
7915 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7916 Detect and handle case where machine is set up for metric units
7918 2002-04-02 Andy Piper <andy@xemacs.org>
7920 * dired-msw.c (mswindows_get_files):
7921 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
7922 completely handled by XEmacs. Suggested by Thomas Vogler
7923 <mail@thomas-vogler.de>.
7925 2001-11-14 Andy Piper <andy@xemacs.org>
7927 * nt.c (REG_ROOT): change registry key to XEmacs.
7929 2002-04-27 Andy Piper <andy@xemacs.org>
7931 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
7933 2002-04-26 Andy Piper <andy@xemacs.org>
7935 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
7938 2002-03-14 Mike Alexander <mta@arbortext.com>
7940 * event-msw.c (mswindows_unwait_process): New, remove process from
7942 * process-nt.c (nt_finalize_process_data): Call
7943 mswindows_unwait_process
7944 * console-msw.h: Declare mswindows_unwait_process
7946 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
7948 * editfns.c (Fdecode_time):
7949 (Fformat_time_string):
7950 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
7951 (make_time): Warning elimination (change arg name).
7953 2001-11-24 Andy Piper <andy@xemacs.org>
7955 * window.c (Fsplit_window): Doc return type.
7957 2002-04-01 Andy Piper <andy@xemacs.org>
7959 * emacs.c (Fkill_emacs): Only output message box in interactive
7962 2002-04-26 Andy Piper <andy@xemacs.org>
7964 * config.h.in: pull in 21.5.x change to stop alloca warnings under
7967 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
7969 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
7972 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
7974 * XEmacs 21.4.8 "Honest Recruiter" is released.
7976 2002-05-07 Nix <nix@esperi.demon.co.uk>
7978 Supersedes 2002-04-17 patch.
7980 * process.h (PROCESS_LIVE_P): Use the process status as
7981 evidence of health, not the state of the input stream.
7982 (PROCESS_READABLE_P): Say if the process is readable
7983 from. (It may be dead nonetheless.)
7984 (CHECK_READABLE_PROCESS): Test for that condition.
7986 * process.c (create_process): Use PROCESS_READABLE_P.
7987 (read_process_output, set_process_filter): Likewise.
7989 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
7990 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
7992 This code is #if 0'd, this is not the time to add new functions:
7994 * process.c (Fprocess_readable_p): Report readability status.
7995 * process.c (Qprocess_readable_p): New, associated symbol...
7996 * process.c (syms_of_process): ... initialize it.
7998 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
8000 * XEmacs 21.4.7 "Economic Science" is released.
8002 2002-04-17 Nix <nix@esperi.demon.co.uk>
8004 * process.h (PROCESS_LIVE_P): Use the process status as
8005 evidence of health, not the state of the input stream.
8007 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
8009 * sysdep.c (sys_siglist): change "signum" to "signal"
8011 2001-04-21 Martin Buchholz <martin@xemacs.org>
8013 * s/darwin.h: New file.
8014 Thanks to Greg Parker <gparker@cs.stanford.edu>.
8016 2002-04-23 Andreas Jaeger <aj@suse.de>
8018 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
8019 which use lib64 for 64-bit libs.
8020 (START_FILES): Likewise.
8022 2002-02-11 Mike Sperber <mike@xemacs.org>
8025 (x_IO_error_handler):
8026 (x_init_device): Temporarily keep device in static variable
8027 `device_being_initialized' so we can recover gracefully from
8028 internal XOpenDevice failure. (XOpenDevice is documented to
8029 return NULL on failure, but sometimes calls the IO error handler
8032 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
8034 * dired.c (Ffile_name_all_completions): Change documentation --
8035 remove reference to completion-ignored-extensions.
8036 * dired.c (vars_of_dired): Change documentation for
8037 completion-ignored-extensions -- remove reference to
8038 file-name-all-completions.
8040 2002-03-06 Jerry James <james@xemacs.org>
8042 * emodules.c (emodules_load): Fix multiple loading of same module.
8044 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
8045 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
8046 RTLD_LAZY to avoid incorrect symbol binding when using nested
8047 shared libraries on Solaris.
8049 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
8051 * fileio.c (Ffind_file_name_handler): Improve docstring.
8053 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
8055 * fns.c (Fmapconcat): Improve docstring.
8057 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
8059 * device-gtk.c: Add prototype for
8060 emacs_gtk_selection_clear_event_handle.
8061 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
8062 selection. Setup signal handler for "selection_clear_event"
8063 (emacs_gtk_selection_clear_event_handle).
8065 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
8066 other applications owning the clipboard (based on
8067 x_handle_selection_clear).
8069 2001-12-23 William M. Perry <wmperry@gnu.org>
8071 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
8073 2002-01-04 Martin Buchholz <martin@xemacs.org>
8075 * keymap.c (define_key_alternate_name): Parenthesize EQ.
8077 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
8079 * XEmacs 21.4.6 "Common Lisp" is released.
8081 2001-12-16 Torsten Duwe <duwe@caldera.de>
8083 * search.c (Freplace_match): Add missing sub-expression functionality.
8085 * buffer.c (decode_buffer): Add a check for pointer type to
8086 decode_buffer, before gcc's CSE optimization reorders a
8087 dereference in front of the allow_string test.
8089 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
8091 * window.c (window_loop): Fix bug that sometimes prevented
8092 window_loop() from iterating across multiple devices. Also, at
8093 Ben's request, changed infloop-detecting code to abort() instead
8094 of silently terminating window_loop().
8096 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
8098 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
8099 * editfns.c (make_time): New function.
8100 (Fencode_time): Use it instead of wasteful_word_to_lisp.
8101 * lisp.h (make_time): Prototype and comment it.
8102 * dired.c (wasteful_word_to_lisp): Deprecate.
8103 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
8105 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
8107 * fileio.c (auto_save_1): Use current coding system, not
8110 2001-11-13 Ben Wing <ben@xemacs.org>
8113 * window.c (window_truncation_on):
8114 * window.c (syms_of_window):
8115 truncate-partial-width-windows should respect the buffer being
8116 displayed, like other redisplay vars.
8118 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
8120 * event-stream.c (Fread_key_sequence): save current buffer.
8122 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8124 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
8126 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8128 * alloc.c (lcrecord_stats): Add space for types defined in modules.
8130 2001-10-26 Mike Alexander <mta@arbortext.com>
8132 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
8134 2001-10-25 Andy Piper <andy@xemacs.org>
8137 * dialog-msw.c (handle_directory_proc): new function.
8138 (handle_directory_dialog_box): new fucntion.
8139 (handle_file_dialog_box): use new directory dialog support.
8140 (mswindows_make_dialog_box_internal): ditto.
8141 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
8143 (mswindows_find_frame): make global.
8144 * fileio.c (Fexpand_file_name): build fix.
8145 * general-slots.h: add Qdirectory.
8146 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
8148 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
8149 cygwin not leaving win32 paths unchanged.
8150 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
8151 cygwin runtime to do path conversion.
8152 (Fmswindows_shell_execute): fix cygwin handling of URLs.
8153 (syms_of_win32): add new function.
8154 * window.c (window_loop): build fix.
8156 2001-10-15 Andy Piper <andy@xemacs.org>
8158 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
8160 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
8162 * XEmacs 21.4.5 "Civil Service" is released.
8164 2001-04-08 Danny Colascione <qtmstr@optonline.net>
8166 * glyphs-x.c: Force buffer-tab highlight update when moving the
8167 buffer, avoiding an ugly black border, used for keyboard focus
8168 indication, on a widget that can never have keyboard focus, the
8171 2001-08-30 Daiki Ueno <ueno@unixuser.org>
8173 * process-unix.c (unix_open_multicast_group): Remove too much
8174 conversion between host and network byte order.
8176 2001-09-10 Nix <nix@esperi.demon.co.uk>
8178 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
8179 before replacing them.
8181 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
8184 * src/window.c (undedicate_windows): Use it.
8185 * src/window.h: Add prototype.
8187 2001-09-17 Ben Wing <ben@xemacs.org>
8189 * fileio.c (normalize_filename):
8190 * fileio.c (Fexpand_file_name):
8191 Fix various C++ compile errors in Andy's recent code.
8193 * callint.c (Fcall_interactively):
8194 * editfns.c (Ftemp_directory):
8195 * editfns.c (Fuser_full_name):
8196 * emacs.c (argmatch):
8197 * lread.c (locate_file_map_suffixes):
8198 * redisplay-x.c (x_ring_bell):
8199 Fix sign-compare warnings.
8201 2001-09-08 Andy Piper <andy@xemacs.org>
8203 * fileio.c (normalize_filename): copied from nt.c
8204 * (Ffile_name_directory): enable win32 paths under cygwin.
8205 * (Ffile_name_nondirectory): ditto.
8206 * (directory_file_name): ditto.
8207 * (Fexpand_file_name): ditto.
8208 * (Ffile_truename): ditto.
8209 * (Fsubstitute_in_file_name): ditto.
8210 * (Ffile_name_absolute_p): ditto.
8211 * (Ffile_readable_p): ditto.
8213 2001-09-08 Andy Piper <andy@xemacs.org>
8215 * device-msw.c (mswindows_finish_init_device): remove dde
8217 * device-msw.c (mswindows_init_dde): factor out from
8218 mswindows_finish_init_device()
8219 * device-msw.c (init_mswindows_very_early): new function
8220 initialize but don't enable dde.
8221 * emacs.c (main_1): call init_mswindows_very_early.
8223 * event-msw.c (mswindows_dde_callback): only execute when we are
8225 * symsinit.h: declare init_mswindows_very_early.
8227 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8229 [sjt: This has been in 21.5 for months with no complaints.]
8231 * console.h (struct console_methods): Added flags member.
8232 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
8233 (CONMETH_IMPL_FLAG):
8234 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
8235 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8237 * device.c (window_system_pixelated_geometry): Use the above macros.
8239 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
8240 implememntation flag.
8241 * device.h (DEVICE_DISPLAY_P): Use it.
8243 * frame.c (delete_frame_internal): Use the above macro.
8245 * redisplay.c (redisplay_device): Use it.
8246 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8247 (redisplay_frame): Ditto.
8249 * device-msw.c (mswindows_device_implementation_flags): Removed.
8250 (msprinter_device_implementation_flags): Removed.
8251 (console_type_create_device_mswindows): Removed references to
8252 implementation_flags methods, set implementation flags here.
8253 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
8255 * device-gtk.c (gtk_device_implementation_flags): Removed method.
8256 (console_type_create_device_gtk): Removed method declaration.
8257 Added commented out statement which semantically matches the
8258 commented out statement in the above removed method.
8260 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
8262 The attached patch fixes a few warnings.
8264 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
8265 * src/frame-gtk.c: guard against GNOME calls in GTK only
8266 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
8267 * src/select-gtk.c: prototype lisp_to_time
8269 2001-06-08 Ben Wing <ben@xemacs.org>
8271 ------ gc-in-window-procedure fixes ------
8274 * alloc.c (struct post_gc_action):
8275 * alloc.c (register_post_gc_action):
8276 * alloc.c (run_post_gc_actions):
8277 * alloc.c (garbage_collect_1):
8278 Create "post-gc actions", to avoid those dreaded "GC during window
8279 procedure" problems.
8282 Abort, clean and simple, when GC in window procedure. We want
8283 to flush these puppies out.
8286 * glyphs-msw.c (finalize_destroy_window):
8287 * glyphs-msw.c (mswindows_finalize_image_instance):
8288 Use a post-gc action when destroying subwindows.
8291 Declare register_post_gc_action().
8294 * scrollbar-msw.c (unshow_that_mofo):
8295 Use a post-gc action when unshowing scrollbar windows, if in gc.
8297 * redisplay.c (mark_redisplay):
8298 Add comment about the utter evilness of what's going down here.
8300 ------ cygwin setitimer fixes ------
8302 * Makefile.in.in (sheap_objs):
8303 * Makefile.in.in (profile_objs):
8304 * Makefile.in.in (objs):
8305 Compile profile.c only when HAVE_SETITIMER.
8307 * nt.c (mswindows_sigset):
8308 * nt.c (mswindows_sighold):
8309 * nt.c (mswindows_sigrelse):
8310 * nt.c (mswindows_sigpause):
8311 * nt.c (mswindows_raise):
8312 * nt.c (close_file_data):
8316 Move setitimer() emulation to win32.c, because Cygwin needs it too.
8319 * profile.c (Fstart_profiling):
8320 * profile.c (Fstop_profiling):
8321 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
8322 instead of just plain setitimer().
8325 * signal.c (set_one_shot_timer):
8327 Define qxe_setitimer() as an encapsulation around setitimer() --
8328 call setitimer() directly unless Cygwin or MS Win, in which case
8329 we use our simulated version in win32.c.
8332 * systime.h (struct itimerval):
8333 * systime.h (ITIMER_REAL):
8334 Prototype mswindows_setitimer() and qxe_setitimer(). Long
8335 comment about "qxe" and the policy regarding encapsulation.
8338 * win32.c (setitimer_helper_proc):
8339 * win32.c (setitimer_helper_period):
8340 * win32.c (setitimer_helper):
8341 * win32.c (mswindows_setitimer):
8342 Move setitimer() emulation here, so Cygwin can use it.
8343 Rename a couple of functions and variables to be longer and more
8344 descriptive. In setitimer_helper_proc(), send the signal
8345 using either mswindows_raise() or (on Cygwin) kill(). If for
8346 some reason we are still getting lockups, we'll change the kill()
8347 to directly invoke the signal handlers.
8349 ------ windows shell fixes ------
8353 Comments about how these two files must die.
8355 * callproc.c (init_callproc):
8356 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
8357 not just COMSPEC. (more correct and closer to FSF.) Don't
8358 force a value for SHELL into the environment. (Comments added
8359 to explain why not.)
8361 * nt.c (init_user_info):
8362 Don't shove a fabricated SHELL into the environment. See above.
8364 2001-06-01 Ben Wing <ben@xemacs.org>
8366 * Makefile.in.in (ldflags):
8367 eliminate that pesky "defaulting to 00401000" warning.
8371 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
8373 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
8374 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
8376 2001-04-24 Jerry James <james@xemacs.org>
8378 * faces.h: pass parameters to Fadd_spec_to_specifier in the
8381 2001-06-01 Ben Wing <ben@xemacs.org>
8383 * event-msw.c (debug_mswin_messages):
8384 conditionalize the messages that were causing compile errors.
8385 (if only macros could generate #ifdef statements ...)
8387 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
8389 * XEmacs 21.4.4 "Artificial Intelligence" is released.
8391 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8393 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
8395 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8397 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
8398 * process-unix.c (unix_canonicalize_host_name):
8399 sysdep.c (init_system_name):
8400 Use it to conditionally support IPv6 canonicalization.
8402 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
8405 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
8407 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
8409 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
8410 attempt is made to scroll when no scroll bar is available.
8412 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8414 * input-method-motif.c (XIM_delete_frame): New callback.
8415 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
8416 got deleted from 21.4.3.)
8418 2001-06-01 Ben Wing <ben@xemacs.org>
8420 * nt.c (mswindows_utime):
8421 * nt.c (close_file_data):
8422 fix off-by-one-indirection error.
8424 2001-05-29 Adrian Aichner <adrian@xemacs.org>
8426 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
8427 because set_file_times() now takes Lisp_Object path, instead of
8429 * nt.c: Include buffer.h.
8430 * nt.c (convert_from_time_t): New.
8431 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
8432 not set mtime correctly.
8433 * nt.h: Declare mswindows_utime().
8434 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
8435 path, instead of char*.
8436 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
8438 2001-05-30 Ben Wing <ben@xemacs.org>
8442 (Stephen, just take all event-msw.c patches. This includes
8443 the "iconify" fix below.)
8446 * event-msw.c (mswindows_dequeue_dispatch_event):
8447 * event-msw.c (assert):
8448 * event-msw.c (emacs_mswindows_quit_p):
8449 * event-msw.c (debug_mswin_messages):
8450 * event-msw.c (debug_output_mswin_message):
8451 * event-msw.c (vars_of_event_mswindows):
8452 Fix yet more problems with C-g handling.
8453 Implement debug-mswindows-events.
8455 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8457 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
8459 2001-05-23 Ben Wing <ben@xemacs.org>
8461 * event-msw.c (winsock_writer):
8462 * event-msw.c (winsock_closer):
8463 prior kludgy code was clobbering the buffer, thinking it was
8464 "unused" space to store an unneeded return value; instead, use
8465 the variable we've already got staring us in the face.
8467 2001-05-17 Andy Piper <andy@xemacs.org>
8469 * sysfile.h: don't assume that file attributes are boolean
8471 2001-05-23 Ben Wing <ben@xemacs.org>
8473 * device-msw.c (msprinter_init_device):
8474 signal an error rather than crash with an unavailable network
8475 printer (from Mike Alexander).
8478 * event-msw.c (struct winsock_stream):
8479 * event-msw.c (winsock_writer):
8480 * event-msw.c (winsock_closer):
8481 * event-msw.c (make_winsock_stream_1):
8482 cleanup headers. fix (hopefully) an error with data corruption
8483 when sending to a network connection.
8485 * fileio.c (Fexpand_file_name): Fix evil code that attempts
8486 to handle the ~user prefix by (a) always assuming we're referencing
8487 ourselves and not even verifying the user -- hence any file with
8488 a tilde as its first char is invalid! (b) if there wasn't a slash
8489 following the filename, the pointer was set *past* the end of
8490 file and we started reading from uninitialized memory. Now we
8491 simply treat these as files, always.
8493 * buffer.c (common_init_complex_vars_of_buffer): comment change.
8495 2001-05-19 Ben Wing <ben@xemacs.org>
8497 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
8500 * process-nt.c (vars_of_process_nt):
8501 remove unused mswindows-quote-process-args. rec for 21.4.
8503 2001-05-12 Ben Wing <ben@xemacs.org>
8505 * event-msw.c (mswindows_dde_callback):
8506 * event-msw.c (mswindows_wnd_proc):
8507 eliminate cygwin warnings.
8509 2001-05-06 Ben Wing <ben@xemacs.org>
8513 * device-msw.c (print_dialog_worker):
8514 * device-msw.c (mswindows_handle_print_dialog_box):
8515 * device-msw.c (syms_of_device_mswindows):
8516 * dialog-msw.c (mswindows_make_dialog_box_internal):
8518 implement printing the selection when it's selected.
8520 2001-05-20 Drazen Kacar <dave@arsdigita.com>
8522 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
8524 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8526 * lisp.h (EMACS_INT_MAX): This should be one bit less since
8527 EMACS_INT is signed.
8529 2001-04-15 Michael Lausch <mla@1012surf.net>
8531 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
8532 gtk_widget_request_size() to give scrollbar >0 width for
8535 2001-05-30 William M. Perry <wmperry@gnu.org>
8537 * event-gtk.c: Check for buttons as modifier keys.
8539 2001-05-25 Craig Lanning <CraigL@Knology.net>
8542 Properly find MinGW's <process.h> inside Cygwin's restructured
8543 include directories. Don't try to include <cygwin/version.h>
8544 since we are dropping support for MinGW in versions of Cygwin
8547 Drop support for MinGW in versions of Cygwin before b21.
8549 Properly find MinGW's <process.h> inside Cygwin's restructured
8550 include directories.
8552 Drop support for MinGW in versions of Cygwin before b21.
8554 Even though a.out.h is no longer detected by configure, allow
8555 MinGW to use it until we figure out how to do the job with Win32.
8557 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
8559 * syntax.c (find_start_of_comment):
8560 Fix `unbalanced parentheses' bug when dealing with mixed comment
8561 styles in c++/java/etc. mode
8563 2001-05-29 Mike Alexander <mta@arbortext.com>
8565 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
8566 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
8568 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
8570 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
8572 2001-03-31 Mike Sperber <mike@xemacs.org>
8574 * search.c (Freplace_match): Support FSF-style specification of
8575 match subexpression when applied to a buffer.
8577 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8579 * event-stream.c (is_scrollbar_event): add missing semicolon
8581 2001-05-22 Isaac Hollander <ysh@mindspring.com>
8583 * Makefile.in.in: Use TAR macro instead of hardcoding
8584 tar. Allows use of GNU tar instead of system tar
8586 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8588 * event-stream.c (is_scrollbar_event): add missing semicolon
8590 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8592 * XEmacs 21.4.3 "Academic Rigor" is released.
8594 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8596 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
8598 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8600 * buffer.c (Vcase_fold_search): Remove obsolete
8601 comment about non ASCII case-fold-search. This
8602 bug has been fixed by case-table changes.
8604 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
8606 * event-msw.c: Restore include of events-mod.h.
8608 2001-04-22 zhaoway <zw@debian.org>
8610 * event-stream.c (is_scrollbar_event): Noop returning 0 if
8613 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
8615 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
8617 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
8619 * mule-charset.c (Fmake_charset): Add missing else.
8621 2001-04-23 Ben Wing <ben@xemacs.org>
8623 * event-msw.c (FAKE_MOD_QUIT):
8624 * event-msw.c (mswindows_dequeue_dispatch_event):
8625 * event-msw.c (mswindows_wnd_proc):
8626 * event-msw.c (emacs_mswindows_quit_p):
8627 Get critical quit working.
8629 2001-05-05 Ben Wing <ben@xemacs.org>
8633 * device-msw.c (mswindows_get_default_margin):
8634 * frame-msw.c (mswindows_size_frame_internal):
8635 * frame-msw.c (msprinter_init_frame_1):
8636 * frame-msw.c (vars_of_frame_mswindows):
8637 Change top/bottom margin defaults to 0.5 inches.
8639 2001-05-01 Martin Buchholz <martin@xemacs.org>
8641 Fix link error with gcc 3.0 on Linux.
8642 * terminfo.c (UP): Remove.
8643 * terminfo.c (BC): Remove.
8644 * terminfo.c (PC): Remove.
8645 They weren't used, and in any case, these symbols should be
8646 defined in the *library*.
8648 2001-05-03 Martin Buchholz <martin@xemacs.org>
8650 * s/aix4.h: Fix crash with xlc -O3.
8651 Improve comment explaining how -O3 works.
8653 2001-04-15 Ben Wing <ben@xemacs.org>
8656 * event-stream.c (Fnext_event):
8657 * event-stream.c (is_scrollbar_event):
8658 * event-stream.c (execute_command_event):
8659 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
8660 crash' problem. His fix introduces other problems. We filter
8661 out scrollbar events specifically, making them somewhat invisible
8662 to command-building, and not appearing in `this-command-keys'.
8663 More work is still needed (see comments in event-stream.c), but
8664 this fixes all the major problems.
8666 2001-04-20 Ben Wing <ben@xemacs.org>
8668 * .cvsignore: Added stuff for Windows.
8670 2001-04-28 Ben Wing <ben@xemacs.org>
8672 * buffer.c (Ferase_buffer):
8673 * editfns.c (buffer_insert1):
8674 * editfns.c (Finsert_before_markers):
8675 * editfns.c (Finsert_string):
8676 * editfns.c (Finsert_char):
8677 * editfns.c (Fdelete_region):
8678 * editfns.c (Fwiden):
8679 * editfns.c (Fnarrow_to_region):
8680 remove bogus lines setting zmacs_region_stays to 0.
8682 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
8684 * process-unix.c (unix_open_network_stream): If connect() fails
8685 invalidate file descriptor after closing it.
8687 2001-03-08 Mike Alexander <mta@arbortext.com>
8689 * event-msw.c (mswindows_need_event_in_modal_loop):
8690 Don't dispatch a message if we didn't get one.
8691 (mswindows_need_event):
8692 Terminate the correct process when one exits instead of the first
8693 one on Vprocess_list and look for process termination when in
8694 mswindows_protect_modal_loop.
8696 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
8698 * XEmacs 21.4.1 "Copyleft" is released.
8700 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8702 * input-method-motif.c (XIM_delete_frame): New callback.
8703 (XIM_init_frame): Register it.
8705 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8707 * XEmacs 21.4.0 "Solid Vapor" is released.
8709 2001-04-15 Ben Wing <ben@xemacs.org>
8711 * cmdloop.c (call_command_loop):
8712 Fix braino in bit-rotting code.
8714 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
8716 * extents.c (Fset_extent_endpoints): Force creation of extent info
8717 in buffer_or_string.
8719 * extents.c (process_extents_for_insertion_mapper): Correctly
8720 check for open-open zero-length extents.
8722 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8724 * lisp.h: New typedefs Memory_count, Element_count.
8727 Sign-compare warning elimination: several unsigned -> signed.
8728 Based on work by Ben Wing <ben@xemacs.org>.
8730 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
8732 * XEmacs 21.2.47 "Zephir" is released.
8734 2001-04-02 Jan Vroonhof <jan@xemacs.org>
8736 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
8738 2001-04-03 Mike Sperber <mike@xemacs.org>
8740 * search.c: Revert previous patch due because of release.
8742 2001-03-30 Ben Wing <ben@xemacs.org>
8745 Add missing killpg prototype.
8748 Add a comment about fixing problems when a new entry is added
8751 * frame-msw.c (mswindows_init_frame_1):
8752 Fix compile warnings.
8754 * menubar.c (vars_of_menubar):
8755 Provide `menu-accelerator-support' to indicate that we properly
8756 support %_ in menu specifications, so that package code can
8757 conditionalize on this (and remove %_ from menu specifications
8762 * scrollbar-msw.c (can_scroll):
8764 Fix handling of mouse wheel under Windows to follow standards --
8765 now scrolls window under pointer, not selected window.
8767 2001-03-31 Mike Sperber <mike@xemacs.org>
8769 * search.c (Freplace_match): Support FSF-style specification of
8770 match subexpression when applied to a buffer.
8772 2001-03-15 Martin Buchholz <martin@xemacs.org>
8774 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
8775 function to modify KEYMAP, so map over a copy of the hash table.
8777 2001-03-21 Martin Buchholz <martin@xemacs.org>
8779 * XEmacs 21.2.46 "Urania" is released.
8781 2001-03-20 Dan Holmsand <dan@eyebee.com>
8783 * realpath.c (xrealpath): Make file-truename work with symlinks to
8784 /cygdrive paths on cygwin. Always lowercase drive-letters on
8786 (cygwin_readlink): Don't try to find canonical filename unless
8789 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
8791 * ChangeLog: Log GTK merge.
8797 Revert gratuitous whitespace changes from GTK merge.
8799 * emacs.c: Document end of complex #ifdef @ l. 1495.
8802 2001-03-12 Andy Piper <andy@xemacs.org>
8804 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
8805 have to do likewise.
8807 2001-03-12 Andy Piper <andy@xemacs.org>
8809 * sysdep.c: we only support mingw now.
8811 2001-03-09 Andy Piper <andy@xemacs.org>
8813 * unexcw.c (copy_executable_and_dump_data_section): making approx
8814 overrun a warning only.
8816 2001-03-10 William M. Perry <wmperry@aventail.com>
8818 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
8819 satisfy Stephen's identical-after-cpp plea.
8821 2001-03-02 Ben Wing <ben@xemacs.org>
8824 * cmds.c (Fforward_char):
8828 Augment documentation of the most common motion commands to make
8829 note of the shifted-motion support.
8831 2001-03-02 Ben Wing <ben@xemacs.org>
8833 * nt.c (mswindows_fstat):
8834 * nt.c (mswindows_stat):
8835 * search.c (boyer_moore):
8836 Fix compile warnings under Windows.
8838 * sysdep.c (sys_readdir):
8839 Fix buggy filename-conversion code under Mule.
8841 2001-03-09 William M. Perry <wmperry@aventail.com>
8863 * redisplay-output.c:
8869 The Great GTK Merge.
8876 * emacs-widget-accessors.c:
8890 * native-gtk-toolbar.c:
8901 The Great GTK Merge: new files.
8903 2001-02-26 Ben Wing <ben@xemacs.org>
8905 Reapplied Lstream change.
8907 2001-02-26 Ben Wing <ben@xemacs.org>
8909 Undid the last change, since it is more controversial than I
8910 thought. It should be back in at some point soon.
8912 2001-02-25 Ben Wing <ben@xemacs.org>
8915 * callproc.c (Fold_call_process_internal):
8916 * event-msw.c (ntpipe_slurp_reader):
8917 * event-msw.c (ntpipe_shove_writer):
8918 * event-msw.c (winsock_reader):
8919 * event-msw.c (winsock_writer):
8921 * file-coding.c (detect_eol_type):
8922 * file-coding.c (detect_coding_type):
8923 * file-coding.c (determine_real_coding_system):
8924 * file-coding.c (Fdetect_coding_region):
8925 * file-coding.c (decoding_reader):
8926 * file-coding.c (decoding_writer):
8927 * file-coding.c (mule_decode):
8928 * file-coding.c (Fdecode_coding_region):
8929 * file-coding.c (encoding_reader):
8930 * file-coding.c (encoding_writer):
8931 * file-coding.c (mule_encode):
8932 * file-coding.c (Fencode_coding_region):
8933 * file-coding.c (detect_coding_sjis):
8934 * file-coding.c (decode_coding_sjis):
8935 * file-coding.c (encode_coding_sjis):
8936 * file-coding.c (detect_coding_big5):
8937 * file-coding.c (decode_coding_big5):
8938 * file-coding.c (encode_coding_big5):
8939 * file-coding.c (detect_coding_ucs4):
8940 * file-coding.c (decode_coding_ucs4):
8941 * file-coding.c (encode_coding_ucs4):
8942 * file-coding.c (detect_coding_utf8):
8943 * file-coding.c (decode_coding_utf8):
8944 * file-coding.c (encode_coding_utf8):
8945 * file-coding.c (detect_coding_iso2022):
8946 * file-coding.c (decode_coding_iso2022):
8947 * file-coding.c (encode_coding_iso2022):
8948 * file-coding.c (decode_coding_no_conversion):
8949 * file-coding.c (encode_coding_no_conversion):
8950 * glyphs-x.c (write_lisp_string_to_temp_file):
8951 * gpmevent.c (tty_get_foreign_selection):
8954 * lstream.c (Lstream_flush_out):
8955 * lstream.c (Lstream_adding):
8956 * lstream.c (Lstream_write_1):
8957 * lstream.c (Lstream_write):
8958 * lstream.c (Lstream_raw_read):
8959 * lstream.c (Lstream_read_more):
8960 * lstream.c (Lstream_read):
8961 * lstream.c (Lstream_unread):
8962 * lstream.c (Lstream_fputc):
8963 * lstream.c (stdio_reader):
8964 * lstream.c (stdio_writer):
8965 * lstream.c (filedesc_reader):
8966 * lstream.c (filedesc_writer):
8967 * lstream.c (lisp_string_reader):
8968 * lstream.c (struct fixed_buffer_stream):
8969 * lstream.c (make_fixed_buffer_input_stream):
8970 * lstream.c (make_fixed_buffer_output_stream):
8971 * lstream.c (fixed_buffer_reader):
8972 * lstream.c (fixed_buffer_writer):
8973 * lstream.c (struct resizing_buffer_stream):
8974 * lstream.c (resizing_buffer_writer):
8975 * lstream.c (dynarr_writer):
8976 * lstream.c (lisp_buffer_reader):
8977 * lstream.c (lisp_buffer_writer):
8979 * lstream.h (lstream_implementation):
8980 * lstream.h (struct lstream):
8982 * process-nt.c (nt_send_process):
8983 * process-unix.c (unix_send_process):
8985 Correct Lstream lossage due to mixing of signed and unsigned
8986 quantities. All Lstream uses of size_t and ssize_t are now a
8987 single signed data type Lstream_data_count. This fixes problems
8988 under Windows with sending large quantities of data to a process,
8989 and may well fix other subtle bugs.
8991 2001-02-23 Martin Buchholz <martin@xemacs.org>
8993 * XEmacs 21.2.45 "Thelxepeia" is released.
8995 2001-02-21 Martin Buchholz <martin@xemacs.org>
8997 * lisp-union.h (XSETINT):
9000 Reverse previous change of 2001-02-06.
9002 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
9004 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
9006 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
9007 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
9008 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
9009 * regex.c (POS_AS_IN_BUFFER): removed
9010 * regex.c (re_search_2):
9011 * regex.c (re_match_2):
9012 Don't use an offset of 1 when calculating buffer positions, since
9013 `BI_BUF_BEGV' does it already.
9015 2001-02-18 Wim Dumon <wim@easics.be>
9017 * insdel.c (prepare_to_modify_buffer): Also check for
9018 supersession when clash-detection is enabled.
9020 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
9022 * regex.c (re_match_2_internal):
9023 Convert temp characters from 'const unsigned char' to 're_char'.
9024 Fix crashing bug with extended characters under mule.
9025 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
9026 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
9027 font-lock, pdump, and new syntax-table code.
9028 * syntax.c (find_start_of_comment):
9029 (find_end_of_comment):
9031 Fix crashing bugs involving moving beyond end of buffer.
9032 * syntax.c (find_start_of_comment):
9033 Fixed logic to allow proper detection of cases where the same
9034 character is used to end both a two-char comment start and a
9035 two-char comment end sequence. Fixes `(forward-comment -1)'.
9036 * syntax.c (find_start_of_comment):
9037 Return position just past last comment-end character for all cases
9038 (previously was only done for two-char comment-end sequences).
9039 * syntax.c (forward-comment):
9040 Take value returned from `find_end_of_comment', rather than
9042 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
9043 Properly deal with BUFFERP (syntax_cache.object)
9045 2001-02-17 Martin Buchholz <martin@xemacs.org>
9047 * alloc.c (Fgarbage_collect):
9048 * alloc.c (make_bit_vector_from_byte_vector):
9049 -Wsign-compare-correctness.
9051 2001-02-16 Martin Buchholz <martin@xemacs.org>
9053 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
9054 (XSETCHAR): Likewise.
9055 (XSETOBJ): Likewise.
9057 2001-02-15 Martin Buchholz <martin@xemacs.org>
9059 * mule-canna.c (canna-func-delete_previous):
9060 Rename to canna-func-delete-previous.
9062 2001-02-14 Martin Buchholz <martin@xemacs.org>
9064 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
9066 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
9068 * font-lock.c (find_context): Fix C++ compile errors introduced by
9071 2001-02-13 Martin Buchholz <martin@xemacs.org>
9073 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
9074 pragma, but earlier ones barf on the same pragma.
9076 2001-02-06 Mike Sperber <mike@xemacs.org>
9078 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
9079 `configure-mule-lisp-directory'.
9081 2001-02-12 Martin Buchholz <martin@xemacs.org>
9083 Make sure dump-id.c is compiled in the same way as other .c's.
9084 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
9085 * dump-id.h: Remove.
9086 * emacs.c: Move dump-id.h into dumper.h.
9087 * dumper.h: Move dump-id.h into dumper.h.
9089 Use standard .c.o rule for building dump-id.o.
9090 Remove preprocessor flags from link command.
9091 Add dump-id.o to ${otherobjs} if PDUMP.
9093 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
9095 Port FSF 20.7 syntax table improvements.
9099 Fixups for new syntax table stuff.
9100 * dired.c: Include syntax.c.
9101 (Fdirectory_files): Initialize regex_match_object and
9103 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
9104 and Fget_char_property.
9106 Use ported FSF 20.7 syntax table improvements.
9111 2001-02-09 Martin Buchholz <martin@xemacs.org>
9113 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
9114 Unixware's enum boolean from sys/types.h.
9116 2001-02-10 Martin Buchholz <martin@xemacs.org>
9118 Fix support for building with latest Purify.
9119 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
9120 (PURIFY_FLAGS): Likewise.
9122 2001-02-09 Martin Buchholz <martin@xemacs.org>
9124 * fileio.c (lisp_string_set_file_times): New.
9125 * fileio.c (Fcopy_file): Use it.
9127 (copy-file filename non-ascii-filename t t)
9128 ==> No such file or directory, non-ascii-filename
9130 2001-02-10 Martin Buchholz <martin@xemacs.org>
9132 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
9133 USHRT_MAX seems clearer than ~0 anyways.
9135 2001-02-09 Martin Buchholz <martin@xemacs.org>
9137 dumper improvements. Inspired by Olivier.
9138 * dumper.c (pdump_max_align): New.
9139 * dumper.c (pdump_add_entry): Use pdump_max_align.
9140 * dumper.c (pdump_get_entry_list): Likewise.
9141 * dumper.c (pdump_scan_by_alignment): Likewise.
9142 Don't iterate through unnecessary alignments.
9143 * dumper.c (pdump_file_get): No need to align result of malloc().
9144 * dumper.c (pdump_mallocadr): Remove.
9145 The result of malloc() is guaranteed to be maximally aligned.
9146 * dumper.c: s/elmt/elt/g;
9147 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
9148 * dumper.c (pdump_alert_undump_object): Likewise.
9149 * dumper.c (pdump_align_table):
9150 Don't support alignments > 64.
9151 Store ALIGNOF's, not shift counts, in table.
9153 2001-02-09 Martin Buchholz <martin@xemacs.org>
9155 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
9156 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
9157 * systime.h: Use HAVE_UTIME.
9158 * sysdep.c (struct utimbuf): Remove.
9159 * sysdep.c (set_file_times): Prefer utime() to utimes().
9160 * config.h.in (HAVE_UTIME): New.
9161 * config.h.in (HAVE_UTIME_H): Remove.
9162 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
9164 2001-02-09 Martin Buchholz <martin@xemacs.org>
9166 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
9168 2001-02-08 Martin Buchholz <martin@xemacs.org>
9170 * s/irix6-0.h: Use the standard system memmove, not bcopy.
9172 2001-02-08 Martin Buchholz <martin@xemacs.org>
9174 * XEmacs 21.2.44 "Thalia" is released.
9176 2001-02-06 Martin Buchholz <martin@xemacs.org>
9178 Fixes crashes in kill-emacs on some systems.
9179 * process-unix.c (unix_kill_child_process):
9180 It's OK for kill() to fail with ESRCH.
9182 2001-02-07 Martin Buchholz <martin@xemacs.org>
9184 Contortions to make .gdbinit tricks work on most systems.
9185 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
9186 * alloc.c (dbg_valmask): Make non-const.
9187 * alloc.c (dbg_typemask): Make non-const.
9188 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
9189 * alloc.c (dbg_valbits): Make non-const.
9190 * alloc.c (dbg_gctypebits): Make non-const.
9191 * .gdbinit (decode_object): Make it work with AIX cc.
9193 2001-02-06 Martin Buchholz <martin@xemacs.org>
9195 * elhash.c (make_general_lisp_hash_table):
9196 Use simpler and more efficient calloc to clear entries.
9198 2001-02-07 Martin Buchholz <martin@xemacs.org>
9200 * window.c (window_scroll): Work around an AIX C compiler bug.
9201 Fixes 'scroll-up' does nothing problem with xlC.
9203 2001-02-05 Martin Buchholz <martin@xemacs.org>
9205 * .gdbinit: Remove obsolete comment.
9207 2001-01-31 Mike Alexander <mta@arbortext.com>
9209 * select.c (Fown_selection_internal): Set owned_p for device
9212 2001-02-01 Martin Buchholz <martin@xemacs.org>
9215 "not" cannot be used as a macro name as it is an operator in C++
9216 * config.h.in: Stop #defining `not'.
9217 * chartab.c (check_category_char): not ==> not_p
9218 * chartab.h: Likewise.
9219 * regex.c (re_match_2_internal): Likewise.
9221 2001-02-02 Martin Buchholz <martin@xemacs.org>
9223 * lisp-disunion.h: Fix up comments.
9225 2001-01-31 Martin Buchholz <martin@xemacs.org>
9227 * keymap.c (define_key_check_and_coerce_keysym):
9229 Support mouse-6 and mouse-7 bindings in the obvious way.
9231 2001-02-01 Martin Buchholz <martin@xemacs.org>
9233 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
9235 2001-01-30 Martin Buchholz <martin@xemacs.org>
9237 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
9238 Previous patch missed DEFVAR_INT_MAGIC.
9239 Make sure future DEFVAR_foo use correct types.
9240 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
9241 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
9242 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
9243 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
9244 * (DEFVAR_INT): Likewise.
9245 * redisplay.c (vertical_clip): Should be of type Fixnum.
9246 * redisplay.c (horizontal_clip): Likewise.
9247 * lisp.h (dump_add_opaque_int): New.
9248 (dump_add_opaque_fixnum): New.
9250 2001-01-29 Andy Piper <andy@xemacs.org>
9252 * glyphs-widget.c (check_valid_int_or_function): allow symbols
9253 since they can be eval'ed
9255 2001-01-29 Martin Buchholz <martin@xemacs.org>
9257 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
9258 Oops, XEmacs redefines `class'. Use `typename' instead.
9260 2001-01-28 Martin Buchholz <martin@xemacs.org>
9262 * dumper.c: Fix C++ compile errors.
9264 2001-01-29 Martin Buchholz <martin@xemacs.org>
9266 * tparam.c: Use correct prototypes.
9268 2001-01-28 Martin Buchholz <martin@xemacs.org>
9270 * sysproc.h: #include util.h for NetBSD's openpty.
9272 2001-01-27 Martin Buchholz <martin@xemacs.org>
9274 More 64-bit correctness.
9275 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
9276 Use a typedef `fixnum' for the type used for DEFVAR_INT.
9278 This finally finishes the 64-bit SGI port.
9279 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
9280 * symbols.c: Fix up comments and type casts.
9281 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
9282 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
9283 * symeval.h (Fixnum): New type.
9284 * symeval.h (symbol_value_type): Fix up comment.
9300 * mule-canna.c: A million DEFVAR_INTs here...
9301 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
9314 s/int/Fixnum/g in DEFVAR_INT declarations.
9316 2001-01-26 Martin Buchholz <martin@xemacs.org>
9318 Port pdump to SGI alignment-sensitive environment.
9319 Lisp Object sizeof methods now return aligned sizes. Rely on that.
9320 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
9322 Define and use aligned reading and writing macros.
9323 Use buffered stdio instead of posix i/o for faster dumping.
9324 Eliminate kludgy 256 byte space for header.
9325 Read and write from dump file using structs for alignment safety.
9326 * dumper.c (pdump_align_stream): New.
9327 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
9328 * dumper.c (PDUMP_READ_ALIGNED): New.
9329 * dumper.c (PDUMP_WRITE_ALIGNED): New.
9330 * dumper.c (pdump_static_Lisp_Object): New struct.
9331 * dumper.c (pdump_static_pointer): New struct.
9332 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
9333 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
9334 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
9335 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
9337 * dumper.c (pdump_backtrace):
9338 * dumper.c (pdump_get_indirect_count):
9339 * dumper.c (pdump_register_object):
9340 * dumper.c (pdump_register_struct):
9341 * dumper.c (pdump_reloc_one):
9342 * dumper.c (pdump_scan_by_alignment):
9343 * dumper.c (pdump_dump_from_root_struct_ptrs):
9344 * dumper.c (pdump_dump_opaques):
9345 * dumper.c (pdump_dump_rtables):
9346 * dumper.c (pdump_dump_from_root_objects):
9348 * dumper.c (pdump_load_finish):
9349 Use aligned reading and writing.
9351 * dumper.c (pdump_free): Make static.
9352 * dumper.c (pdump_hFile): Likewise.
9353 * dumper.c (pdump_hMap): Likewise.
9355 2001-01-26 Martin Buchholz <martin@xemacs.org>
9357 * XEmacs 21.2.43 "Terspichore" is released.
9359 2001-01-25 Martin Buchholz <martin@xemacs.org>
9361 Type fiddling for window_config.saved_windows_count
9362 * window.c (struct window_config):
9363 Make saved_windows_count member unsigned.
9364 * window.c (sizeof_window_config_for_n_windows):
9365 Make parameter unsigned.
9366 * window.c (mark_window_config):
9367 * window.c (window_config_equal):
9368 * window.c (free_window_configuration):
9369 * window.c (Fset_window_configuration):
9370 * window.c (count_windows):
9371 * window.c (Fcurrent_window_configuration):
9372 * window.c (reinit_vars_of_window):
9373 Update all callers and users.
9375 2001-01-25 Martin Buchholz <martin@xemacs.org>
9377 Alignment correctness for flexible arrays.
9378 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
9379 Make alignment-correct. Add interesting comments.
9380 * alloc.c (size_vector):
9381 * alloc.c (make_vector_internal):
9382 * alloc.c (make_bit_vector_internal):
9383 * alloc.c (sweep_bit_vectors_1):
9384 * fns.c (size_bit_vector):
9385 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
9386 * window.c (sizeof_window_config_for_n_windows):
9387 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
9389 2001-01-24 Martin Buchholz <martin@xemacs.org>
9391 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
9393 2001-01-23 Andy Piper <andy@xemacs.org>
9395 * select.c (Fown_selection_internal): pass owned_p
9397 * select-msw.c (mswindows_own_selection): New Signature.
9399 * console.h (struct console_methods): add owned_p to
9402 * select-x.c (x_own_selection): pass owned_p
9403 (hack_motif_clipboard_selection): use owned_p
9404 (vars_of_select_x): new variable -
9405 x_selection_strict_motif_ownership.
9407 2001-01-23 Martin Buchholz <martin@xemacs.org>
9409 * specifier.h (specifier_data_offset): Remove pointless parens.
9410 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
9412 2001-01-24 Martin Buchholz <martin@xemacs.org>
9414 Make Lisp_Object sizeof methods be alignment-correct.
9415 pdump must restore objects to the same alignment as the C compiler
9416 assumes. It really matters on SGIs.
9417 * lstream.c (aligned_sizeof_lstream): New.
9418 (sizeof_lstream): Use aligned_sizeof_lstream.
9419 (Lstream_new): Likewise.
9420 * opaque.c (aligned_sizeof_opaque): New.
9421 (sizeof_opaque): Use aligned_sizeof_opaque.
9422 (make_opaque): Likewise.
9423 * specifier.c (aligned_sizeof_specifier): New.
9424 (sizeof_specifier): Use aligned_sizeof_specifier.
9425 (make_specifier_internal): Likewise.
9427 2001-01-23 Martin Buchholz <martin@xemacs.org>
9429 * lstream.h (struct lstream): Use max_align_t for trailing data.
9430 * specifier.h (struct Lisp_Specifier): Likewise.
9432 2001-01-22 Martin Buchholz <martin@xemacs.org>
9434 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
9435 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
9436 (CCL_SUSPEND): Likewise.
9437 (CCL_INVALID_CMD): Likewise.
9438 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
9439 (ccl_driver): Likewise.
9440 (CCL_WRITE_CHAR): Macro hygiene.
9441 (CCL_WRITE_STRING): Macro hygiene.
9443 2001-01-22 Martin Buchholz <martin@xemacs.org>
9445 Port "portable" dumper to SunOS 4 and HP-UX.
9446 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
9447 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
9448 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
9450 2001-01-22 Martin Buchholz <martin@xemacs.org>
9452 * lisp.h (ALIGNOF): A better definition for C++.
9454 2001-01-20 Martin Buchholz <martin@xemacs.org>
9457 Fix printf warnings: int format, long int arg.
9458 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
9459 (PUSH_FAILURE_POINT): Use correct printf formats.
9460 (POP_FAILURE_POINT): Use correct printf formats.
9461 Use do {...} while (0)
9463 2001-01-20 Martin Buchholz <martin@xemacs.org>
9465 * XEmacs 21.2.42 "Poseidon" is released.
9467 2001-01-20 Martin Buchholz <martin@xemacs.org>
9469 * console-x.h: typo fix du jour. Remove #if 0'ed code.
9471 2001-01-19 Martin Buchholz <martin@xemacs.org>
9473 De-kludgify FIXED_TYPE free list frobbing.
9474 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
9475 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
9476 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
9477 * alloc.c (Lisp_Free): New pseudo lisp object definition.
9478 * alloc.c (LRECORD_FREE_P): New.
9479 * alloc.c (MARK_LRECORD_AS_FREE): New.
9480 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
9481 * alloc.c (STRUCT_FREE_P): Deleted.
9482 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
9483 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
9484 * alloc.c (STRING_CHARS_FREE_P): New.
9485 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
9486 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
9487 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
9488 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
9489 * alloc.c (resize_string): Use new definitions.
9490 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
9491 * alloc.c (verify_string_chars_integrity): Use new definitions.
9492 * alloc.c (compact_string_chars): Use new definitions.
9493 * alloc.c: Update monster comments.
9494 * lrecord.h (lrecord_type): Add some new lrecord types for
9497 2001-01-18 Martin Buchholz <martin@xemacs.org>
9499 Improve alignment hackery.
9500 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
9501 (max_align_t): Moved from opaque.h - general purpose.
9502 (ALIGN_PTR): Use size_t, not long.
9503 * opaque.h (max_align_t): Move to lisp.h.
9505 2001-01-18 Norbert Koch <nk@LF.net>
9507 * gui.h: Fix and add prototypes to fix build problems.
9509 2001-01-18 Martin Buchholz <martin@xemacs.org>
9511 temacs is going away, so `dump-temacs' is now a bad name.
9512 * .dbxrc (dump-temacs): Rename to `dmp'.
9513 * .gdbinit (dump-temacs): Rename to `dmp'.
9515 2001-01-17 Andy Piper <andy@xemacs.org>
9517 * glyphs.c (print_image_instance): comment to make martin happy.
9519 * glyphs-x.c (x_redisplay_widget): update faces after a frame
9522 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
9524 (mswindows_tab_control_redisplay): warning suppression.
9526 * glyphs-widget.c (widget_update): re-write to cope with updated
9528 (widget_instantiate): use new gui_item functions.
9529 (tab_control_update): deleted.
9530 (progress_gauge_update): deleted.
9531 (image_instantiator_progress_guage): take out update reference.
9532 (image_instantiator_tree_view): ditto.
9533 (image_instantiator_tab_control): ditto.
9535 * gui.c (widget_gui_parse_item_keywords): new function. Do things
9537 (gui_item_add_keyval_pair): re-write to cope with descriptors and
9538 return whether anything was changed.
9539 (update_gui_item_keywords): as it sounds.
9541 * gui.h: declare widget_gui_parse_item_keywords.
9543 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
9544 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
9546 2001-01-17 Martin Buchholz <martin@xemacs.org>
9548 * XEmacs 21.2.41 "Polyhymnia" is released.
9550 2001-01-16 Didier Verna <didier@xemacs.org>
9552 * glyphs.c (image_instantiate): don't use fallbacks when
9553 instantiating a face's background pixmap by inheritance.
9555 2001-01-14 Mike Sperber <mike@xemacs.org>
9557 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
9558 Conditionalize accordingly.
9560 2001-01-16 Martin Buchholz <martin@xemacs.org>
9562 * dumper.c (pdump_file_get): Fix a compiler warning.
9564 2001-01-15 Martin Buchholz <martin@xemacs.org>
9566 Make Purify happy when pdumping.
9567 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
9568 iniitalizing all bits of new lisp object memory.
9569 * symbols.c (Fmake_local_variable): Likewise.
9570 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
9571 * symbols.c (Fdefvaralias): Likewise.
9572 * mule-charset.c (vars_of_mule_charset): Likewise.
9574 2001-01-15 Martin Buchholz <martin@xemacs.org>
9575 Add the `-nd' flag when running pre-dump operations under the debugger.
9576 * .dbxrc (run-temacs): Add `-nd'.
9577 * .dbxrc (update-elc): Likewise.
9578 * .dbxrc (dump-temacs): Likewise.
9579 * .gdbinit (run-temacs): Likewise.
9580 * .gdbinit (check-temacs): Likewise.
9581 * .gdbinit (update-elc): Likewise.
9582 * .gdbinit (dump-temacs): Likewise.
9584 2001-01-14 Martin Buchholz <martin@xemacs.org>
9586 Allow building 64-bit executables on AIX with GNU malloc, e.g.
9587 export OBJECT_MODE=64
9588 configure --pdump --use-union-type=no
9589 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
9590 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
9592 * miscplay.c (sndcnv8U_2mono):
9593 Avoid two uses of `++' in the same expression.
9594 Suppresses a GCC warning.
9596 2001-01-13 Martin Buchholz <martin@xemacs.org>
9598 Make sure future compilers don't miscompile alloc.c.
9600 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
9601 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
9603 2001-01-12 Martin Buchholz <martin@xemacs.org>
9605 * dumper.c: A little post-pdump-rename comment fixup.
9607 2001-01-09 Jerry James <james@eecs.ku.edu>
9609 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
9611 2001-01-13 Martin Buchholz <martin@xemacs.org>
9613 * *.[ch]: Globally rename symbols using the following `pdump-rename'
9617 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
9620 replace_symbol pdump_wire_lists pdump_weak_object_chains
9621 replace_symbol pdump_wire_list dump_add_weak_object_chain
9623 replace_symbol pdump_wires pdump_root_objects
9624 replace_symbol pdump_wire dump_add_root_object
9626 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
9627 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
9629 replace_symbol dumpstructinfos pdump_root_struct_ptrs
9630 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
9631 replace_symbol dumpstructinfo pdump_root_struct_ptr
9632 replace_symbol dumpstruct dump_add_root_struct_ptr
9634 replace_symbol dumpopaque dump_add_opaque
9635 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
9636 replace_symbol dumpopaqueinfos pdump_opaques
9637 replace_symbol dumpopaqueinfo pdump_opaque
9639 replace_symbol nb_structdump nb_root_struct_ptrs
9640 replace_symbol nb_opaquedump nb_opaques
9642 replace_symbol align_table pdump_align_table
9643 replace_symbol dump_header pdump_header
9645 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
9646 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
9649 2001-01-12 Martin Buchholz <martin@xemacs.org>
9651 * s/aix4.h: Keep the C for AIX compiler from overaggressively
9652 optimizing bytecount_to_charcount().
9654 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9657 (HAVE_DLFCN_H): Removed.
9658 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
9660 2001-01-06 Martin Buchholz <martin@xemacs.org>
9662 Portable dumper maintainability improvements.
9663 * alloc.c (staticpro):
9664 * alloc.c (staticpro_nodump):
9665 * alloc.c (garbage_collect_1):
9666 * alloc.c (reinit_alloc_once_early):
9667 * alloc.c (init_alloc_once_early):
9668 * alloc.c: Move dumper functions to alloc.c.
9669 * dumper.c (pdump_backtrace):
9670 * dumper.c (pdump_dump_structs):
9671 * dumper.c (pdump_dump_opaques):
9672 * dumper.c (pdump_dump_rtables):
9673 * dumper.c (pdump_dump_wired):
9675 * dumper.c (pdump_load_check):
9676 * dumper.c (pdump_load_finish):
9677 * dumper.c (pdump_file_unmap):
9678 * dumper.c (pdump_file_get):
9679 * dumper.c (pdump_resource_free):
9680 * dumper.c (pdump_resource_get):
9681 * dumper.c (pdump_file_free):
9682 * dumper.c (pdump_file_try):
9683 * dumper.c (pdump_load):
9684 Remove fixed size limits on staticpro(), staticpro_nodump(),
9685 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
9686 Remove custom code for dumping lrecord_implementations_table - use
9688 Remove (most of the) custom code for dumping staticpros - dump it
9689 like any other dynarr.
9691 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
9692 * dumper.c: Moved functions from alloc.c.
9693 * alloc.c (dumpstruct): Moved to dumper.c.
9694 * alloc.c (dumpopaque): Likewise.
9695 * alloc.c (pdump_wire): Likewise.
9696 * alloc.c (pdump_wire_list): Likewise.
9698 * lisp.h (Dynarr_sizeof): New.
9699 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
9700 * lisp.h (Dynarr_end): New. Very slightly C++oid.
9701 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
9703 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
9704 * lisp.h (dumpopaque): ditto.
9705 * lisp.h (pdump_wire): ditto.
9706 * lisp.h (pdump_wire_list): ditto.
9708 2001-01-09 Martin Buchholz <martin@xemacs.org>
9710 * make-src-depend (PrintPatternDeps):
9711 Use `sort' to make output independent of perl version.
9713 2001-01-08 Martin Buchholz <martin@xemacs.org>
9716 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
9717 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
9719 2001-01-03 Didier Verna <didier@xemacs.org>
9721 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
9722 that `focus_frame' is alive before thinking of calling
9723 `redisplay_redraw_cursor' on it.
9725 2001-01-08 Martin Buchholz <martin@xemacs.org>
9727 * XEmacs 21.2.40 is released.
9729 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9731 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
9733 2001-01-06 Martin Buchholz <martin@xemacs.org>
9735 * alloc.c (dbg_valmask): Make const.
9736 * alloc.c (dbg_typemask): Make const.
9737 * alloc.c (dbg_USE_UNION_TYPE): Make const.
9738 * alloc.c (dbg_valbits): Make const.
9739 * alloc.c (dbg_gctypebits): Make const.
9741 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
9743 * redisplay-x.c (x_bevel_area):
9744 redisplay.h (struct rune):
9745 Typo fixes in comments.
9747 2001-01-05 Andy Piper <andy@xemacs.org>
9749 * glyphs-x.c (x_redisplay_widget): use size changed for offset
9752 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
9754 2001-01-05 Martin Buchholz <martin@xemacs.org>
9756 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
9758 * mule-ccl.c (stack_idx_of_map_multiple):
9759 Non const global data must not be initialized!
9760 Found by MIYASHITA Hisashi.
9762 2001-01-02 Andy Piper <andy@xemacs.org>
9764 * frame.c (change_frame_size): make sure frame size is always
9767 * glyphs.c (image_instance_layout): minor code reuse.
9769 * window.c (Fcurrent_window_configuration): revert previous
9772 2001-01-02 Martin Buchholz <martin@xemacs.org>
9775 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
9777 2000-12-31 Andy Piper <andy@xemacs.org>
9779 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
9780 when widget gets unmapped.
9782 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
9783 function. Make sure widgets losing focus don't just drop it.
9784 (handle_focus_event_1): record the widget with focus.
9786 2000-12-31 Andy Piper <andy@xemacs.org>
9788 * window.c (allocate_window): use
9789 make_image_instance_cache_hash_table.
9790 (make_dummy_parent): ditto.
9791 (Fset_window_configuration): ditto.
9793 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
9795 * glyphs.c (process_image_string_instantiator): use
9797 (get_image_instantiator_governing_domain): ditto.
9798 (normalize_image_instantiator): ditto.
9799 (instantiate_image_instantiator): ditto.
9800 (make_image_instance_1): ditto.
9801 (image_instantiate): ditto. Key on glyph *and* instantiator type.
9802 (instantiator_eq_equal): new function for use with instance hash
9804 (instantiator_eq_hash): ditto.
9805 (make_image_instance_cache_hash_table): create a suitable hash
9806 table for storing image instances.
9808 * elhash.h (hash_table_weakness): new internal weakness type
9809 HASH_TABLE_KEY_CAR_VALUE_WEAK.
9810 declare new functions.
9812 * elhash.c (finish_marking_weak_hash_tables): introduce yet
9813 another weakness type for glyphs.
9814 (make_standard_lisp_hash_table): new function split out from
9815 make_general_lisp_hash_table.
9816 (make_lisp_hash_table): call make_standard_lisp_hash_table.
9817 (hash_table_instantiate): ditto.
9818 (Fmake_hash_table): ditto.
9820 2000-12-31 Martin Buchholz <martin@xemacs.org>
9822 * XEmacs 21.2.39 is released.
9824 2000-12-29 Andy Piper <andy@xemacs.org>
9826 * menubar.c (menubar_visible_p_changed): signal the frame changed.
9828 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
9829 the frame has changed so that we pick up geometry changes such as
9832 2000-12-28 Andy Piper <andy@xemacs.org>
9834 * lastfile.c (my_ebss): make a char array so we can pad the
9835 bss. Fixes cygwin unexec.
9837 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
9839 2000-12-26 Andy Piper <andy@xemacs.org>
9841 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
9842 comments and try and be more precise about a non-/SIGIO world.
9843 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
9846 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
9847 we don't normalize to zero width or height.
9849 2000-12-24 Andy Piper <andy@xemacs.org>
9851 * Makefile.in.in (ldflags): add -mwindows when appropriate.
9853 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
9855 * s/sco5.h: SCO 5 has pty support.
9857 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
9859 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
9860 input-method-xlib.c contains whole contents of input-method-xfs.c,
9861 so we can use input-method-xlib.c's code for USE_XFONTSET
9863 * input-method-xfs.c: removed.
9865 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
9867 * file-coding.h (enum coding_category_type): reorder enumerators to
9868 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
9869 (now one greater than largest real coding_category_type enumerator).
9870 * file-coding.c (coding_category_symbol, coding_category_by_priority,
9871 coding_category_system, fcd_descriptihon_1, decode_coding_category,
9872 Fcoding_category_list, Fset_coding_priority_list,
9873 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
9874 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
9876 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9878 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
9879 * redisplay-output.c (redisplay_output_window): Clear top of window
9880 when face is changed.
9881 * redisplay-x.c (x_redraw_exposed_window): Call
9882 redisplay_clear_top_of_window.
9883 * redisplay.h: Publish redisplay_clear_top_of_window.
9885 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9887 * buffer.c (Fkill_buffer): Map over all devices.
9888 * window.c (window_loop): Remove UNSHOW_BUFFER code.
9889 (list_windows): New function.
9890 (list_all_windows): Ditto.
9891 (Freplace_buffer_in_windows): Use them.
9893 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9895 * database.c (berkdb_subtype): Recognize new subtype `queue'.
9896 (Fopen_database): Use `db_create' instead of `db_open'.
9897 (syms_of_database): Initialize Qqueue.
9899 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9901 * buffer.c (common_init_complex_vars_of_buffer): Initialize
9902 buffer_local_face_property.
9903 * buffer.h (struct buffer): New member buffer_local_face_property.
9904 * window.c (Fset_window_buffer): Mark window's face as changed
9905 when buffer has buffer local face.
9906 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
9907 * objects.c (color_after_change): Set buffer_local_face_property
9908 when locale of face specifier is buffer.
9909 * objects.c (font_after_change): Ditto.
9910 * objects.c (face_boolean_after_change): Ditto.
9911 * glyphs.c (image_after_change): Ditto.
9913 2000-12-09 Dan Holmsand <dan@eyebee.com>
9915 * nt.c (mswindows_fstat): Report file permissions, volume serial
9916 number, etc. Code adapted from FSF Emacs 20.7.
9918 2000-12-09 Dan Holmsand <dan@eyebee.com>
9920 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
9921 of stat when we don't have symbolic links, to make sure
9922 mswindows_stat is called on mswindows.
9924 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
9926 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
9928 2000-12-12 Martin Buchholz <martin@xemacs.org>
9930 * doprnt.c (emacs_doprnt_1): More printing fixes.
9931 Make printing of numbers compatible with libc and FSF Emacs.
9932 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
9933 Use the system printf to do most of the hard work of formatting,
9934 instead of doprnt_1().
9935 Calculate memory to allocate for format string.
9936 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
9937 (doprnt_1): Cleaner code and documentation.
9939 2000-12-01 Jerry James <james@eecs.ukans.edu>
9941 * Makefile.in.in: Use the loop variable to install headers.
9943 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9945 * window.c (Fsplit_window): Don't invalidate face cache.
9947 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9949 * minibuf.c (Fall_completions): Undo the previous change
9950 which removed checking elements start with space.
9952 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9954 * mule-canna.c: Didier suppression.
9956 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9958 * mule-canna.c: rename static unsigned char buf[] to key_buffer
9959 (warning suppression). Add English comment translations.
9961 2000-12-05 Martin Buchholz <martin@xemacs.org>
9963 * unexelfsgi.c (unexec): Better test for mmap failure.
9965 2000-12-05 Martin Buchholz <martin@xemacs.org>
9967 * XEmacs 21.2.38 is released.
9969 2000-12-05 Martin Buchholz <martin@xemacs.org>
9971 * redisplay.c (bar-cursor): Make a user variable.
9973 * symsinit.h: Add init_postgresql_from_environment.
9975 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9977 * regex.c: Convert to clean C.
9979 2000-12-05 Dan Holmsand <dan@eyebee.com>
9982 Don't #include sysfile.h. Revert to duplicating PATH_MAX
9984 (sys_readlink): renamed to system_readlink to avoid conflict with
9985 the other sys_readlink.
9987 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
9989 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
9991 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
9993 * postgresql.c (init_postgresql_from_environment): new function.
9994 (vars_of_postgresql): Move code initializing Lisp variables out and
9995 into init_postgresql_from_environment.
9996 emacs.c (main_1): Call init_postgresql_from_environment if and only
9997 if running a dumped XEmacs.
9999 2000-08-31 Dan Holmsand <dan@eyebee.com>
10001 * buffer.c: Make find-file-compare-truenames default to true on
10004 * realpath.c (win32_abs_start):
10006 (win32_readlink): New functions.
10007 (xrealpath): Return really real filenames on windows.
10009 * fileio.c (Ffile_truename): Make file-truename work on windows.
10011 2000-11-29 Didier Verna <didier@xemacs.org>
10013 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
10014 * faces.c (update_face_cachel_data): use it.
10015 * faces.c (add_face_cachel): use it. Complete background pixmap
10016 frobbing in face cache if `update_face_cachel_data' has not done so.
10018 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
10020 * search.c (string_match_1): Don't set last_thing_searched
10021 when search failed.
10023 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
10025 * buffer.c: Include casetab.h
10026 (common_init_complex_vars_of_buffer): Use new case-table object.
10027 * buffer.h: Include casetab.h
10028 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
10029 (DOWNCASE_TABLE_OF): Ditto.
10030 * bufslots.h: Remove char-tables and add case-table.
10031 * casetab.c: Include casetab.h
10032 (CASE_TABLE_P): Removed.
10033 (mark_case_table): New function.
10034 (allocate_case_table): New function.
10035 (Fcase_table_p): Use new case-table.
10036 (case_table_char): New function.
10037 (Fget_case_table): Ditto.
10038 (Fput_case_table): Ditto.
10039 (Fput_case_table_pair): Ditto.
10040 (Fcopy_case_table): Ditto.
10041 (Fcurrent_case_table): Return case-table.
10042 (Fstandard_case_table): Return case-table.
10043 (Fset_case_table): Fix doc-string.
10044 (set_case_table): Use case-table
10045 (syms_of_casetab): DEFSUBR new functions.
10046 (complex_vars_of_casetab): Set up standard case-table.
10047 * casetab.h: New file.
10048 * editfns.c: Include casetab.h
10049 (Fcompare_buffer_substrings): Use case-table.
10050 * inline.c: Include casetab.h
10051 * lisp.h: Remove bogus extern.
10052 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
10053 * search.c: Include casetab.h
10054 (TRANSLATE_ASCII): Removed.
10055 (TRANSLATE): Unconditionally translate character.
10056 (looking_at_1): Use case-table.
10057 (string_match_1): Ditto.
10058 (fast_string_match): Ditto.
10059 (search_command): Ditto.
10060 (search_buffer): Separate boyer_moore. Check whether
10061 boyer_moore is possible.
10062 (simple_search): New function.
10063 (boyer_moore): Separated from search_buffer. Translate char.
10065 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
10067 * regex.c (RE_TR_ASCII): Removed.
10068 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
10069 (PATFETCH): Call PATFETCH_RAW.
10070 (PATFETCH_RAW): Fetch Emchar.
10071 (PATUNFETCH): Decrement charptr.
10072 (GET_BUFFER_SPACE): Rename b to buf_end.
10074 (BUF_PUSH_2): Ditto.
10075 (BUF_PUSH_3): Ditto.
10076 (EXTEND_BUFFER): Ditto.
10077 (SET_LIST_BIT): Ditto.
10078 (regex_compile): Ditto. Translate non ASCII char.
10079 (compile_range): Ditto.
10080 (re_search_2): Ditto.
10081 (re_match_2_internal): Compare Emchar.
10082 (bcmp_translate): Ditto.
10084 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
10086 * lisp.h (basic char/int typedefs): comment improvement.
10088 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
10090 * emacs.c (main_1): unconditional pdump unstomping; don't save and
10091 unstomp inhibit_site_lisp. Improve comments.
10093 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
10095 * mule-charset.c (Fcharset_property): improve type checking, comments.
10097 2000-11-28 Andy Piper <andy@xemacs.org>
10099 * redisplay-output.c (redisplay_output_subwindow): make sure we do
10100 clipped display for windows in the gutter also.
10101 (redisplay_display_boxes_in_window_p): change semantics of return
10102 codes to be more intuitive.
10104 * gutter.h: declare display_boxes_in_gutter_p.
10106 * gutter.c (display_boxes_in_gutter_p): new function for
10109 2000-11-22 Andy Piper <andy@xemacs.org>
10111 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
10114 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
10116 * callproc.c (Fold_call_process_internal):
10117 * gpm.c (Freceive_gpm_event):
10118 (tty_get_foreign_selection): Might be just warning supression.
10119 * fileio.c (Fwrite_region_internal):
10120 (Fset_visited_file_modtime):
10121 * keymap.c (event_matches_key_specifier_p):
10122 Initialize GCPROed variable.
10124 * menubar-x.c (command_builder_find_menu_accelerator):
10125 Initialize before use.
10127 2000-11-23 Andy Piper <andy@xemacs.org>
10129 * unexcw.c (unexec): make the resulting executable executable.
10131 2000-11-21 Martin Buchholz <martin@xemacs.org>
10133 * doc.c (get_doc_string):
10134 Use size_t, not int, for result of XSTRING_LENGTH.
10136 * cmds.c (Fdelete_char):
10137 * cmds.c (Fpoint_at_eol):
10138 * cmds.c (Fself_insert_command):
10139 Use EMACS_INT, not int, for result of XINT.
10140 Someday, someone will want to insert more than 2**31 identical characters.
10142 * cmds.c (Fdelete_char):
10143 * cmds.c (Fdelete_backward_char):
10144 * syntax.c (Fforward_word):
10145 * syntax.c (Fforward_comment):
10146 Make COUNT argument optional, for consistency with forward-char et al.
10148 2000-11-22 Martin Buchholz <martin@xemacs.org>
10151 * print.c (long_to_string):
10152 Return a useful value: the pointer at end of data written.
10155 Use `static const char * const' for constant strings.
10156 (union printf_arg): Delete `i', `ui' members.
10159 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
10160 Do all printf-ing via the `l' specifier.
10161 Use EMACS_INT instead of int.
10164 2000-11-20 Didier Verna <didier@xemacs.org>
10166 * faces.c (update_face_cachel_data): don't frob the background
10167 pixmap when the window is being created. The face is needed but
10168 does not exist yet.
10170 2000-11-20 Andy Piper <andy@xemacs.org>
10172 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
10173 messing with a debug environment.
10175 2000-11-20 Martin Buchholz <martin@xemacs.org>
10177 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
10179 2000-11-20 Martin Buchholz <martin@xemacs.org>
10181 * casetab.c (Fcase_table_p): Fix compile error and crash.
10183 2000-11-18 Philip Aston <philipa@mail.com>
10185 * s/cygwin32.h: Cygwin has SVR4-like pty support.
10187 2000-11-18 Martin Buchholz <martin@xemacs.org>
10189 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
10190 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
10192 2000-11-17 Martin Buchholz <martin@xemacs.org>
10194 * config.h.in: Define HAVE_ELF_H if elf.h exists.
10195 * unexelf.c: Use HAVE_ELF_H.
10196 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
10197 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
10198 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
10199 Greg Harrington <greg_harrington@hotmail.com> provided a machine
10201 So this is an unexelfsgi.c from a different line of development.
10203 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10205 * regex.c (RE_TR_ASCII): New function.
10206 (RE_TRANSLATE): Call it.
10208 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10210 * buffer.h (TRT_TABLE_OF): Remove assert.
10211 (IN_TRT_TABLE_DOMAIN): Removed.
10213 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
10215 * free-hook.c (log_gcpro):
10216 (show_gcprohist): Add support for GCPRO5.
10218 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
10220 * emacs.c (main_1): Improve -sd error message when --pdump=no.
10222 2000-11-16 Olivier Galibert <galibert@xemacs.org>
10224 * symeval.h: Declare flush_all_buffer_local_cache.
10226 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
10227 (flush_buffer_local_cache): Added.
10228 (flush_all_buffer_local_cache): Added.
10230 * lrecord.h: Remove unused XD_LO_RESET_NIL.
10232 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
10233 (pdump_dump_data): Ditto.
10234 (pdump_reloc_one): Ditto.
10235 (pdump): Remove unused pdump_qnil. Flush buffer local caches
10239 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10241 * buffer.c: Remove if 0'ed entry.
10242 * buffer.h: Rewrite TRT to use char-table.
10243 * bufslots.h: Remove mirror tables.
10244 * casetab.c: Remove mirror tables.
10245 (CASE_TABLE_P): New macro.
10246 (Fcase_table_p): Element of a case table is string or char-table.
10247 (make_mirror_trt_table): Removed.
10248 (set_case_table): Setup char-table from strings for backward
10250 * dired.c (Fdirectory_files):
10251 * dired-msw.c: (mswindows_get_files):
10252 * lisp.h: Change prototype of re_pattern_buffer.
10253 * regex.c: (RE_TRANSLATE): New macro.
10254 (TRANSLATE_P): Ditto.
10255 Change translate to type RE_TRANSLATE_TYPE.
10256 * regex.h: Define RE_TRANSLATE_TYPE
10257 * search.c (TRANSLATE): New macro.
10258 (TRANSLATE_ASCII): New macro.
10259 Translate table is changed to Lisp_Object.
10260 (signal_failure): Inhibit return.
10262 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10269 Do UNGCPRO before return.
10271 2000-11-14 Martin Buchholz <martin@xemacs.org>
10273 * XEmacs 21.2.37 is released.
10275 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
10277 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
10278 Add comments about discarded return value.
10280 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10283 * event-stream.c: Fix comments. Remove some #if 0'ed part.
10285 2000-10-27 Andy Piper <andy@xemacs.org>
10287 * gutter.c (Fset_default_gutter_position): default left and right
10288 gutters to visible.
10289 (calculate_gutter_size): calculate resonable heuristic for left
10290 and right gutter sizes.
10291 (specifier_vars_of_gutter): change left and right gutter sizes to
10293 (calculate_gutter_size_from_display_lines): new function.
10294 (output_gutter): check for resizing on left and right gutters.
10295 (clear_gutter): don't special case top and left gutters.
10296 (specifier_vars_of_gutter): use new signature for
10297 set_specifier_caching.
10299 * glyphs-x.c (x_redisplay_widget): spelling fix.
10300 * glyphs.c (specifier_vars_of_glyphs):
10301 * menubar.c (specifier_vars_of_menubar):
10302 * redisplay.c (specifier_vars_of_redisplay):
10303 * toolbar.c (specifier_vars_of_toolbar):
10304 * window.c (specifier_vars_of_window):
10305 * scrollbar.c (specifier_vars_of_scrollbar):
10306 (complex_vars_of_scrollbar): use new signature for
10307 set_specifier_caching.
10309 * specifier.c (set_specifier_caching): include recompute flag.
10310 (recompute_one_cached_specifier_in_window): always recompute if
10312 (recompute_one_cached_specifier_in_frame): ditto.
10314 * specifier.h (struct specifier_caching): add recompute flag.
10316 2000-10-24 Andy Piper <andy@xemacs.org>
10318 * unexcw.c (copy_executable_and_dump_data_section): add new
10319 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
10322 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10324 * console-x.h (x_device): New member modifier_release_time.
10325 * event-Xt.c (x_handle_sticky_modifiers):
10326 Bound interval modifier keys are sticky.
10327 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
10328 * events.h: extern it.
10330 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10332 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
10334 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10336 * event-stream.c (execute_command_event): Preserve current_events
10337 and the like when event is misc-user-event.
10338 Inhibit quit during the call to maybe_echo_keys.
10340 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10342 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
10343 symlink when buffer is killed.
10344 (inhibit_clash_detection): New variable.
10346 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10348 * console.c (Fset_input_method): Trigger redisplay on tty.
10350 2000-11-07 Martin Buchholz <martin@xemacs.org>
10352 * process.c (Fprocess_status): Revert to previous behavior:
10353 (process-status "nosuchprocess") ==> nil
10355 2000-11-06 Martin Buchholz <martin@xemacs.org>
10357 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
10358 Work around another GCC 2.95.2 optimizer bug.
10360 2000-11-02 Martin Buchholz <martin@xemacs.org>
10362 * process.c (Fget_process): Use LIST_LOOP_2.
10363 (kill_buffer_processes): Use LIST_LOOP_2.
10365 * minibuf.c (Fall_completions):
10366 Delete old non-functional code for FSF fourth argument.
10368 * frame.c (frame_matches_frame_spec):
10369 Renamed from `frame_matches_frametype'. Update all callers.
10370 (device_matches_device_spec):
10371 Renamed from 'device_matches_console_spec'. Update all callers.
10373 * doc.c (Fsubstitute_command_keys):
10374 Remove buffer overflow crash. Small code cleanups.
10376 * casetab.c (check_case_table): Simpler code.
10378 * window.c (Freplace_buffer_in_windows):
10379 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
10380 (and similar implementation) as Fdelete_windows_on.
10381 Update all callers.
10383 * alloc.c (Fmake_list):
10384 * alloc.c (make_vector):
10385 * alloc.c (Fmake_vector):
10386 * alloc.c (make_bit_vector):
10387 * alloc.c (Fmake_bit_vector):
10388 * alloc.c (Fbit_vector):
10389 * alloc.c (Fmake_string):
10390 * alloc.c (Fpurecopy):
10391 * alloc.c (Fmemory_limit):
10393 * buffer.c (Fget_buffer):
10394 * buffer.c (Fkill_buffer):
10395 * buffer.c (complex_vars_of_buffer):
10396 * bytecode.c (Fcompiled_function_stack_depth):
10397 * callint.c (Fprefix_numeric_value):
10399 * event-stream.c (Fread_key_sequence):
10401 * casetab.c (Fcase_table_p):
10402 * casetab.c (check_case_table):
10403 * casetab.c (Fset_case_table):
10404 * casetab.c (Fset_standard_case_table):
10406 * chartab.c (Fchar_table_type):
10407 * chartab.c (Freset_char_table):
10408 * chartab.c (Fget_char_table):
10409 * chartab.c (Fget_range_char_table):
10410 * chartab.c (Fput_char_table):
10411 * chartab.c (Fmap_char_table):
10412 * chartab.c (Fcategory_table_p):
10413 * chartab.c (Fcheck_category_at):
10414 * chartab.c (Fchar_in_category_p):
10415 * chartab.c (Fcategory_table):
10416 * chartab.c (Fcopy_category_table):
10417 * chartab.c (Fset_category_table):
10418 * chartab.c (Fcategory_designator_p):
10419 * chartab.c (Fcategory_table_value_p):
10420 * cmds.c (Fdelete_char):
10421 * cmds.c (Fdelete_backward_char):
10422 * cmds.c (Fself_insert_command):
10423 * cmds.c (Fself_insert_internal):
10424 * console.c (Fvalid_console_type_p):
10425 * console.c (Fcdfw_console):
10426 * console.c (Fconsole_type):
10427 * console.c (Fconsole_name):
10428 * console.c (Fconsole_device_list):
10429 * console.c (Fconsole_on_window_system_p):
10432 * data.c (Fold_eq):
10433 * data.c (Fsubr_interactive):
10434 * data.c (Fchar_to_int):
10435 * data.c (Fint_to_char):
10436 * data.c (Fsetcar):
10437 * data.c (Fsetcdr):
10438 * data.c (Fnumber_to_string):
10439 * data.c (Fstring_to_number):
10441 * database.c (mark_database):
10442 * database.c (finalize_database):
10443 * database.c (Fdatabase_live_p):
10444 * database.c (Fdatabasep):
10445 * device-x.c (Fx_get_resource):
10446 * device.c (Fdfw_device):
10448 * dired.c (Ffile_name_completion):
10449 * dired.c (Ffile_name_all_completions):
10450 * dired.c (Fuser_name_completion):
10451 * dired.c (Fuser_name_completion_1):
10452 * dired.c (Fuser_name_all_completions):
10453 * doc.c (Fdocumentation):
10454 * doc.c (Fdocumentation_property):
10455 * doc.c (Fsubstitute_command_keys):
10457 * editfns.c (Fchar_to_string):
10458 * editfns.c (Fstring_to_char):
10459 * editfns.c (Ftemp_directory):
10460 * editfns.c (Finsert_char):
10461 * editfns.c (Fbuffer_substring_no_properties):
10462 * editfns.c (Fnarrow_to_region):
10463 * editfns.c (Fchar_equal):
10464 * editfns.c (Fchar_Equal):
10465 * editfns.c (Ftranspose_regions):
10466 * emacs.c (Fdump_emacs):
10468 * eval.c (Fcommand_execute):
10469 * eval.c (Fautoload):
10470 * eval.c (Fbacktrace):
10471 * eval.c (Fbacktrace_frame):
10473 * events.c (Fcopy_event):
10474 * events.c (Fcharacter_to_event):
10475 * events.c (Fevent_button):
10476 * events.c (Fevent_process):
10478 * extents.c (Fnext_extent_change):
10479 * extents.c (Fextent_property):
10480 * faces.c (Ffacep):
10481 * faces.c (Fmake_face):
10483 * file-coding.c (Fencode_shift_jis_char):
10484 * file-coding.c (Fencode_big5_char):
10485 * fileio.c (Ffile_name_directory):
10486 * fileio.c (Ffile_name_nondirectory):
10487 * fileio.c (Ffile_name_as_directory):
10488 * fileio.c (Fdirectory_file_name):
10489 * fileio.c (Ffile_truename):
10490 * fileio.c (Fsubstitute_in_file_name):
10491 * fileio.c (Ffile_modes):
10492 * fileio.c (Fset_file_modes):
10493 * fileio.c (Fset_default_file_modes):
10494 * fileio.c (Fverify_visited_file_modtime):
10495 * floatfns.c (Facos):
10496 * floatfns.c (Fasin):
10497 * floatfns.c (Fatan):
10498 * floatfns.c (Fcos):
10499 * floatfns.c (Fsin):
10500 * floatfns.c (Ftan):
10501 * floatfns.c (Fbessel_j0):
10502 * floatfns.c (Fbessel_j1):
10503 * floatfns.c (Fbessel_jn):
10504 * floatfns.c (Fbessel_y0):
10505 * floatfns.c (Fbessel_y1):
10506 * floatfns.c (Fbessel_yn):
10507 * floatfns.c (Ferf):
10508 * floatfns.c (Ferfc):
10509 * floatfns.c (Flog_gamma):
10510 * floatfns.c (Fexp):
10511 * floatfns.c (Fexpt):
10512 * floatfns.c (Flog):
10513 * floatfns.c (Flog10):
10514 * floatfns.c (Fsqrt):
10515 * floatfns.c (Fcube_root):
10516 * floatfns.c (Facosh):
10517 * floatfns.c (Fasinh):
10518 * floatfns.c (Fatanh):
10519 * floatfns.c (Fcosh):
10520 * floatfns.c (Fsinh):
10521 * floatfns.c (Ftanh):
10522 * floatfns.c (Fabs):
10523 * floatfns.c (Ffloat):
10524 * floatfns.c (Flogb):
10525 * floatfns.c (Fceiling):
10526 * floatfns.c (Ffloor):
10527 * floatfns.c (Fround):
10528 * floatfns.c (Ftruncate):
10529 * floatfns.c (Ffceiling):
10530 * floatfns.c (Fffloor):
10531 * floatfns.c (Ffround):
10532 * floatfns.c (Fftruncate):
10533 * fns.c (Fstring_equal):
10534 * fns.c (Fstring_lessp):
10537 * fns.c (vconcat2):
10538 * fns.c (vconcat3):
10539 * fns.c (Fsubstring):
10541 * fns.c (Fold_assoc):
10542 * fns.c (assoc_no_quit):
10544 * fns.c (Fold_assq):
10545 * fns.c (assq_no_quit):
10547 * fns.c (Fold_rassoc):
10549 * fns.c (Fold_rassq):
10550 * fns.c (rassq_no_quit):
10551 * fns.c (Fremassoc):
10552 * fns.c (remassoc_no_quit):
10553 * fns.c (Fremassq):
10554 * fns.c (remassq_no_quit):
10555 * fns.c (Fremrassoc):
10556 * fns.c (Fremrassq):
10557 * fns.c (remrassq_no_quit):
10559 * fns.c (Fplist_get):
10560 * fns.c (Fplist_put):
10561 * fns.c (Fplist_remprop):
10562 * fns.c (Fplist_member):
10563 * fns.c (Flax_plist_get):
10564 * fns.c (Flax_plist_put):
10565 * fns.c (Flax_plist_remprop):
10566 * fns.c (Flax_plist_member):
10568 * fns.c (Fold_equal):
10569 * fns.c (Frequire):
10570 * fns.c (Fbase64_encode_region):
10571 * fns.c (Fbase64_encode_string):
10572 * fns.c (Fbase64_decode_region):
10574 * frame.c (frame_matches_frame_spec):
10575 * frame.c (device_matches_device_spec):
10576 * frame.c (next_frame):
10577 * frame.c (previous_frame):
10578 * frame.c (Fnext_frame):
10579 * frame.c (Fprevious_frame):
10580 * frame.c (Fframe_property):
10581 * frame.c (Fset_frame_height):
10582 * frame.c (Fset_frame_size):
10586 * glyphs.c (decode_error_behavior_flag):
10587 * glyphs.c (Fmake_image_instance):
10588 * indent.c (Findent_to):
10589 * intl.c (Fignore_defer_gettext):
10590 * keymap.c (Fkeymapp):
10591 * keymap.c (Flookup_key):
10593 * lread.c (Fload_internal):
10594 * lread.c (Feval_buffer):
10595 * lread.c (Feval_region):
10596 * macros.c (Fexecute_kbd_macro):
10597 * marker.c (set_marker_internal):
10598 * marker.c (Fset_marker):
10599 * marker.c (set_marker_restricted):
10600 * marker.c (Fcopy_marker):
10601 * marker.c (noseeum_copy_marker):
10603 * menubar.c (Fpopup_menu):
10605 * mule-charset.c (Fcharset_name):
10606 * mule-charset.c (Fchar_charset):
10607 * mule-charset.c (Fchar_octet):
10608 * mule-charset.c (Fsplit_char):
10609 * mule-wnnfns.c (Fwnn_open):
10610 * mule-wnnfns.c (Fwnn_dict_comment):
10611 * mule-wnnfns.c (Fwnn_quit_henkan):
10612 * mule-wnnfns.c (Fwnn_word_toroku):
10613 * mule-wnnfns.c (Fwnn_word_sakujo):
10614 * mule-wnnfns.c (Fwnn_word_use):
10615 * mule-wnnfns.c (Fwnn_hindo_set):
10617 * objects.c (Fmake_color_instance):
10618 * objects.c (Fmake_font_instance):
10619 * print.c (Fwrite_char):
10621 * process.c (mark_process):
10622 * process.c (print_process):
10623 * process.c (get_process_from_usid):
10624 * process.c (Fprocessp):
10625 * process.c (Fprocess_live_p):
10626 * process.c (Fget_process):
10627 * process.c (Fget_buffer_process):
10628 * process.c (get_process):
10629 * process.c (Fprocess_id):
10630 * process.c (Fprocess_name):
10631 * process.c (Fprocess_command):
10632 * process.c (init_process_io_handles):
10633 * process.c (start_process_unwind):
10634 * process.c (Fstart_process_internal):
10635 * process.c (Fopen_multicast_group_internal):
10636 * process.c (Fset_process_window_size):
10637 * process.c (read_process_output):
10638 * process.c (send_process):
10639 * process.c (Fprocess_tty_name):
10640 * process.c (Fset_process_buffer):
10641 * process.c (Fprocess_buffer):
10642 * process.c (Fprocess_mark):
10643 * process.c (set_process_filter):
10644 * process.c (Fset_process_filter):
10645 * process.c (Fprocess_filter):
10646 * process.c (Fprocess_send_region):
10647 * process.c (Fprocess_send_string):
10648 * process.c (exec_sentinel):
10649 * process.c (Fset_process_sentinel):
10650 * process.c (Fprocess_sentinel):
10651 * process.c (status_notify):
10652 * process.c (Fprocess_status):
10653 * process.c (Fprocess_exit_status):
10654 * process.c (process_send_signal):
10655 * process.c (Fprocess_send_eof):
10656 * process.c (deactivate_process):
10657 * process.c (remove_process):
10658 * process.c (Fdelete_process):
10659 * process.c (kill_buffer_processes):
10660 * process.c (Fprocess_kill_without_query):
10661 * process.c (Fprocess_kill_without_query_p):
10663 * rangetab.c (Fget_range_table):
10664 * rangetab.c (Fput_range_table):
10665 * rangetab.c (Fremove_range_table):
10666 * rangetab.c (Fclear_range_table):
10668 * search.c (Fskip_chars_forward):
10669 * search.c (Fskip_chars_backward):
10670 * search.c (Fskip_syntax_forward):
10671 * search.c (Fskip_syntax_backward):
10672 * search.c (search_command):
10673 * search.c (Freplace_match):
10674 * search.c (Fregexp_quote):
10675 * select.c (Fown_selection_internal):
10676 * select.c (Fselection_owner_p):
10677 * select.c (Fselection_exists_p):
10678 * select.c (Fget_selection_internal):
10681 * symbols.c (Fintern):
10682 * symbols.c (Fintern_soft):
10683 * symbols.c (Funintern):
10684 * symbols.c (Fapropos_internal):
10685 * symbols.c (Fset_default):
10687 * syntax.c (Fsyntax_table_p):
10688 * syntax.c (Fcopy_syntax_table):
10689 * syntax.c (Fset_syntax_table):
10690 * syntax.c (Fchar_syntax):
10691 * syntax.c (syntax_match):
10692 * syntax.c (Fmatching_paren):
10693 * syntax.c (Fforward_word):
10694 * syntax.c (scan_lists):
10695 * syntax.c (Fscan_lists):
10696 * syntax.c (Fscan_sexps):
10697 * syntax.c (Fparse_partial_sexp):
10698 * toolbar.c (Fcheck_toolbar_button_syntax):
10701 * window.c (Fwindowp):
10702 * window.c (Fwindow_live_p):
10703 * window.c (Fwindow_point):
10704 * window.c (Fdelete_window):
10705 * window.c (Fnext_window):
10706 * window.c (Fprevious_window):
10707 * window.c (Fother_window):
10708 * window.c (window_loop):
10709 * window.c (Fget_lru_window):
10710 * window.c (Fsplit_window):
10711 * window.c (Fenlarge_window):
10712 * window.c (Fenlarge_window_pixels):
10713 * window.c (Fshrink_window):
10714 * window.c (Fshrink_window_pixels):
10715 * window.c (change_window_height):
10716 * window.c (Fwindow_configuration_p):
10717 * window.c (Fcurrent_window_configuration):
10719 * casefiddle.c (casify_object):
10720 * casefiddle.c (Fupcase):
10721 * casefiddle.c (Fdowncase):
10722 * casefiddle.c (Fcapitalize):
10723 * casefiddle.c (Fupcase_initials):
10724 * casefiddle.c (casify_region_internal):
10725 * casefiddle.c (casify_region):
10726 * casefiddle.c (Fupcase_region):
10727 * casefiddle.c (Fdowncase_region):
10728 * casefiddle.c (Fcapitalize_region):
10729 * casefiddle.c (Fupcase_initials_region):
10730 * casefiddle.c (Fupcase_word):
10731 * casefiddle.c (Fdowncase_word):
10732 * casefiddle.c (Fcapitalize_word):
10733 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
10734 Replace 0 with '\0' when working with bytes.
10735 Replace initial "(" with "\(" in docstrings.
10737 2000-11-01 Martin Buchholz <martin@xemacs.org>
10739 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
10741 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
10743 2000-10-31 Martin Buchholz <martin@xemacs.org>
10745 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
10747 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10749 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
10752 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10754 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
10755 (inhibit_auto_save_session): New variable.
10756 (vars_of_fileio): Declare and initialize them.
10757 * fileio.c (Fdo_auto_save): Don't create session file if
10758 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
10760 2000-10-31 Martin Buchholz <martin@xemacs.org>
10762 * sgiplay.c (play_internal): C++ compilability.
10763 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
10764 * callproc.c (Fold_call_process_internal):
10765 Remove unused vars `env', `first'.
10766 * scrollbar.c (update_scrollbar_instance):
10767 #### unused var `current_window'.
10768 * redisplay-tty.c: Put currently unused vars insert_mode_on,
10769 etc. within #ifdef NOT_YET.
10770 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
10771 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
10772 * specifier.c (specifier_instance):
10773 #### unused var `tag'.
10774 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
10776 2000-10-27 Martin Buchholz <martin@xemacs.org>
10778 * fns.c (Fbutlast):
10779 * fns.c (list_sort):
10780 * fns.c (Ffillarray):
10781 * fns.c (bytecode_nconc2):
10784 * fns.c (Fmapconcat):
10785 Be pedantically 64-bit correct. For the time when someone will
10786 want to have a list with length > 2**32.
10788 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10789 Work around MIPSpro compiler bug.
10791 * process-unix.c (unix_kill_child_process): Add snarky comment.
10792 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
10794 * config.h.in: Oops, _getpt ==> _getpty
10796 2000-10-26 Martin Buchholz <martin@xemacs.org>
10800 Use void*, not char*, as return type of alloca().
10802 * alloc.c (free_marker): Side effect inside assert expression!
10804 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
10806 * mule-charset.c (Fset_charset_ccl_program): To check
10807 if the given ccl program is valid, use setup_ccl_program()
10808 instead of CHECK_VECTOR().
10809 (Fmake_charset): Likewise.
10811 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
10813 * faces.c (get_extent_fragment_face_cache_index):
10814 Fix cachel.merged_faces memory leak.
10816 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
10818 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
10819 Reset MSB of octets obtained by DECODE_SJIS
10820 because of the incompatibility with Emacs.
10821 (ccl_driver)<CCL_ENCODE_SJIS>:
10822 Set MSB of octets before passing them to
10823 ENCODE_SJIS because of the incompatibility
10826 2000-10-18 Daiki Ueno <ueno@unixuser.org>
10828 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
10829 (DECLARE_LRECORD): Undo the last change.
10830 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
10832 2000-10-17 Daiki Ueno <ueno@unixuser.org>
10834 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
10835 the implementation to lrecord_implementations_table.
10837 2000-10-14 Daiki Ueno <ueno@unixuser.org>
10839 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
10840 initial value of `lrecord_type_##c_name' and
10841 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
10842 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
10843 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
10844 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
10845 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
10847 2000-10-17 Martin Buchholz <martin@xemacs.org>
10849 * miscplay.c (sndcnv8S_2mono):
10850 (sndcnv2monounsigned):
10851 (sndcnvULaw_2linear):
10853 Remove implementation-defined behavior.
10855 2000-10-12 Martin Buchholz <martin@xemacs.org>
10857 * input-method-xlib.c: Warning suppression.
10859 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
10861 * mule-ccl.c: Sync up with Emacs 21.0.90.
10862 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
10864 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
10866 (ccl_driver[WriteMultibyteChar2]): Bug fix.
10867 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
10868 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
10869 leading char belongs to official 2-dimensional charset.
10870 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
10871 write the given character as is. Otherwise,
10872 if it is a multibyte char, convert it by
10873 non_ascii_set_charptr_emchar, then write it.
10874 (CCL_WRITE_STRING): Likewise.
10875 (ccl_get_compiled_code): New function.
10876 (setup_ccl_program): When ccl_prog is invalid,
10878 (Fregister_code_conversion_map): New function.
10879 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
10881 * mule-ccl.h: Sync up with Emacs 21.0.90.
10882 (Fregister_ccl_program): export it.
10884 * redisplay-msw.c (separate_textual_runs):
10885 If ccl program is not valid, don't do ccl conversion.
10887 * redisplay-x.c (separate_textual_runs): Ditto.
10889 * file-coding.c (Fmake_coding_system):
10890 When type is ccl and value is vector, register it
10891 with a proper symbol. And checks whether the
10892 given ccl program is valid.
10893 (mule_decode): When calling ccl_driver, if src indicates
10894 NULL pointer, set an empty string instead.
10895 (mule_encode): Likewise.
10897 2000-10-11 Martin Buchholz <martin@xemacs.org>
10899 The following large batch of changes gets us back to a state of
10900 C++ compilability. Extbyte is now a char, which means that
10901 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
10903 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
10905 * sound.c (Fplay_sound): Type correctness.
10907 * select-x.c (hack_motif_clipboard_selection): Type correctness.
10908 (x_get_window_property): Type correctness.
10909 (receive_incremental_selection): unsigned char ==> Extbyte
10910 (selection_data_to_lisp_data): unsigned char ==> Extbyte
10911 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
10912 (Fx_store_cutbuffer_internal): Type correctness.
10914 * process-unix.c (try_to_initialize_subtty): Type correctness.
10916 * objects-x.c (x_print_color_instance): Type correctness.
10917 (x_print_font_instance): Type correctness.
10918 (x_list_fonts): SExtbyte ==> Extbyte.
10919 (valid_x_font_name_p): SExtbyte ==> Extbyte.
10920 (x_find_charset_font): SExtbyte ==> Extbyte.
10921 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
10922 (truename_via_XListFonts): SExtbyte ==> Extbyte.
10923 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
10924 Use bufbyte_strcmp.
10926 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
10927 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
10928 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
10929 (BYTE_C0_P): Use bit ops for char-signedness safety.
10930 (BYTE_C1_P): Use bit ops for char-signedness safety.
10931 (CHARSET_BY_LEADING_BYTE):
10932 (CHARSET_BY_ATTRIBUTES):
10933 Always use inline function.
10934 Use type_checking_assert.
10937 * mule-charset.c (non_ascii_charptr_copy_char):
10938 Modify to work with both ASCII and non-ASCII characters.
10939 Improve docs and variable names.
10940 Replace over-clever fall-through switch with a simple loop.
10941 (Lstream_get_emchar_1):
10942 Replace over-clever fall-through switch with a simple loop.
10944 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10945 Warning suppression.
10947 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
10948 the return value of Lstream_getc, which could be EOF as well.
10950 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
10952 * lisp.h: Make Extbyte a char, not unsigned char, so that external
10953 APIs can be used on Extbytes without casts. Risky!
10954 (SExtbyte): Remove.
10955 (UExtbyte): Remove.
10957 * input-method-xlib.c (XIM_init_device):
10958 Use Xlib.h instead of IntrinsicP.h.
10959 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
10960 which will break in X11R7.
10961 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
10962 to call XRegisterIMInstantiateCallback with correct types.
10964 * gui-x.c (button_item_to_widget_value): Type correctness.
10966 * glyphs.c (bitmap_to_lisp_data): Type correctness.
10968 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
10969 (xbm_instantiate_1): Type correctness.
10970 (BUILD_GLYPH_INST): Type correctness.
10972 * fileio.c (Fsubstitute_in_file_name): Type correctness.
10975 (decode_coding_sjis):
10976 (decode_coding_big5):
10977 (decode_coding_ucs4):
10978 (decode_coding_utf8):
10979 (decode_coding_iso2022):
10980 (decode_coding_no_conversion):
10981 Make all decoding functions take an Extbyte * arg.
10982 (encode_coding_sjis):
10983 (encode_coding_big5):
10984 (encode_coding_ucs4):
10985 (encode_coding_utf8):
10986 (encode_coding_iso2022):
10987 (encode_coding_no_conversion):
10988 Make all encoding functions take a Bufbyte * arg.
10989 Use size_t instead of unsigned int for memory sizes.
10990 Only cast to unsigned char whenever dereferencing Extbyte *.
10992 * doc.c (unparesseuxify_doc_string): Type correctness.
10994 * console-x.c (split_up_display_spec):
10995 Rewrite without using details of internal string representation.
10996 (x_semi_canonicalize_device_connection): Type correctness.
10999 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
11000 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
11001 (HAVE_XFREE386): Removed.
11003 * buffer.h (DEC_CHARPTR): `const' correctness.
11004 (bufbyte_strcmp): New.
11005 (bufbyte_memcmp): New.
11007 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
11009 * buffer.h (XCHAR_OR_CHAR_INT):
11010 Always use inline function.
11011 Remove redundant type checking assert() - XINT will abort quite nicely.
11013 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11015 * search.c (Freplace_match): Set newtext to an empty string.
11017 2000-10-10 Martin Buchholz <martin@xemacs.org>
11019 * s/decosf1-3.h: Remove #include of stropts.h
11020 * s/ptx.h: Remove #include of stropts.h
11021 * s/usg5-4.h: Remove #include of stropts.h
11024 Use stropts.h, not sys/stropts.h.
11025 Use strtio.h, not sys/strtio.h.
11027 2000-10-04 Martin Buchholz <martin@xemacs.org>
11029 * XEmacs 21.2.36 is released.
11031 2000-09-21 Andy Piper <andy@xemacs.org>
11033 * glyphs-x.c (x_redisplay_widget): make sure non-structural
11034 changes still involve copying the widget tree.
11035 (update_widget_face): make sure a change is register in the widget
11036 tree. Call update_tab_widget_face appropriately.
11037 (update_tab_widget_face): ditto.
11038 (x_tab_control_redisplay): make sure non-structural changes still
11039 involve copying the widget tree.
11041 2000-08-31 Daiki Ueno <ueno@unixuser.org>
11043 * lread.c (locate_file): Check the path element is non-nil.
11045 2000-10-02 Martin Buchholz <martin@xemacs.org>
11047 * lisp.h: Warning suppression for SCO compilers.
11049 * redisplay-tty.c (reset_tty_modes): Fix crash.
11050 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
11052 2000-09-27 Martin Buchholz <martin@xemacs.org>
11054 Big signal/process handling overhaul. Bugs fixed:
11055 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
11056 M-x comint-kill-subjob should work for both values nil and t of
11057 process-connection-type. It was broken on most platforms.
11058 Testing on Irix and Cygwin still needed. Other plaforms tested.
11059 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
11060 * process-unix.c: Signal/Process handling overhaul.
11061 (pty_name): make 64 bytes, as `expect' does, for paranoia.
11062 (allocate_pty): Use all available modern methods of allocating
11063 ptys, falling back to old style BSD allocation as a last resort.
11064 Use allegedly more secure Unix98 pty allocation by default.
11065 (allocate_pty_the_old_fashioned_way): New. the last resort.
11066 (unix_create_process): Push ptem, ldterm, ttcompat where
11067 available. Autoconfiscate.
11068 (try_to_initialize_subtty): New.
11069 (unix_kill_child_process): Proper signal handling for ptys on most
11070 platforms, using special knowledge of AIX, BSD, etc...
11071 (unix_create_process): Always disconnect_controlling_terminal() for
11072 subprocesses, whether using ptys or not.
11073 * process.h: Remove old getpt-dependent PTY code.
11074 * process.c (Fprocess_send_signal): New, obvious generic function.
11075 (decode_signal): New.
11076 (Finterrupt_process):
11080 (Fcontinue_process):
11081 (Fsignal_process): Use decode_signal.
11082 (process_send_signal):
11083 Many docstring corrections.
11084 Allow any signal to be sent to a process object.
11085 * config.h.in: Add symbols for big signal/process overhaul.
11086 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
11087 * sysproc.h: Include process-related headers, where available:
11088 sys/stropts.h sys/strtio.h pty.h libutil.h
11096 Remove old S&M pty stuff.
11097 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
11098 * systty.h: Simplify cpp hackery, improve comments.
11099 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
11101 * editfns.c (Fformat_time_string):
11102 Be a little more paranoid with the return value of ctime.
11104 * fileio.c (check_executable):
11106 Use symbolic constants X_OK, W_OK.
11108 * console-x.c (split_up_display_spec): Fix a warning.
11110 2000-10-02 Martin Buchholz <martin@xemacs.org>
11112 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
11113 * ntproc.c (sys_spawnve): make_string ==> build_string
11114 Small clarity improvements.
11116 2000-09-30 Martin Buchholz <martin@xemacs.org>
11118 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
11120 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
11122 * config.h.in (HAVE_STRCASECMP): Remove.
11124 2000-09-29 Martin Buchholz <martin@xemacs.org>
11126 * redisplay-output.c (redisplay_output_pixmap):
11127 Cleaner and possibly more 64-bit correct code.
11129 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
11131 * dumper.c (pdump_load_finish): move restoration of
11132 `noninteractive1' to emacs.c (main_1).
11133 * emacs.c (main_1): protect LISP-visible command-line flags
11136 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
11138 * Makefile.in.in (versionclean): Use EXE_TARGET and
11139 DUMP_TARGET instead of literal program names.
11141 2000-09-20 Martin Buchholz <martin@xemacs.org>
11143 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
11145 2000-09-19 Martin Buchholz <martin@xemacs.org>
11147 * *: Spelling mega-patch
11149 2000-09-19 Martin Buchholz <martin@xemacs.org>
11151 * fns.c (bad_bad_turtle):
11152 Delete "Eek!" comment, since we fixed the bug to which it refers.
11154 2000-09-16 Martin Buchholz <martin@xemacs.org>
11156 * alloca.c: Replace REGISTER with register.
11158 2000-09-16 Daiki Ueno <ueno@unixuser.org>
11160 * file-coding.c (ucs_to_char): Use countof.
11162 2000-09-16 Martin Buchholz <martin@xemacs.org>
11164 * file-coding.c: (ucs_to_char):
11165 (complex_vars_of_file_coding):
11166 Use countof instead of sizeof.
11167 Use CHECK_NATNUM instead of CHECK_INT.
11169 * sysdep.c (strcasecmp): Remove.
11170 * device-x.c (ascii_strcasecmp): New.
11171 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
11172 Avoid using non-standard non-portable strcasecmp.
11174 2000-09-16 Martin Buchholz <martin@xemacs.org>
11176 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
11177 * font-lock.c: remove reference to emacsfns.h.
11178 * search.c: small doc improvement.
11179 * event-Xt.c: correct file names in comments.
11180 * console-x.h Correct file names in comments.
11181 * frame.c: Correct file names in comments.
11182 * event-stream.c: remove Energize from comments.
11184 2000-09-15 Martin Buchholz <martin@xemacs.org>
11186 * symeval.h (DEFERROR_STANDARD):
11189 (DEFSYMBOL_NO_DUMP):
11190 (DEFSYMBOL_MULTIWORD_PREDICATE):
11191 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
11193 The construct &##name is not sensible C.
11194 Fixes compilation errors with Unixware native compiler.
11196 2000-09-14 Martin Buchholz <martin@xemacs.org>
11198 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
11199 (next_frame_internal): Removed. We now just have next_frame.
11201 Write a simpler and cleaner one-pass algorithm.
11202 Remove called_from_delete_device arg and #ifdefed-out code.
11204 Renamed from prev_frame. Update callers.
11205 Cleaned up to have an analogous implementation to next_frame.
11206 (other_visible_frames_internal): Remove the
11207 called_from_delete_device bogus arg, and hence, remove this
11208 function. Just use other_visible_frames().
11210 * window.c (Fnext_window):
11211 Prettify docstring.
11212 Since next_frame() is guaranteed to return a frame, remove check
11213 for nil inserted in previous patch.
11214 (Fprevious_window):
11215 Prettify docstring.
11216 Make code look more like Fnext_window.
11218 Respect the `console' arg when iterating through windows.
11219 Fixes bug: (get-buffer-window buffer t device) not respecting
11221 This function needs more work, as others have pointed out.
11223 * frame.h: Rename prev_frame to previous_frame.
11224 device_matches_console_spec no longer takes a `frame' arg.
11229 Use EMACS_BLOCK_SIGNAL instead of sigblock.
11230 From "Golubev I. N." <gin@mo.msk.ru>.
11232 * make-src-depend: Fix typo.
11234 2000-09-13 Martin Buchholz <martin@xemacs.org>
11236 * window.c (Fnext_window):
11237 next_frame() might return nil, not a frame.
11239 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11241 * frame.c (next_frame_internal):
11242 We've passed a frame if we've passed its device.
11244 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11245 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
11247 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
11249 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11250 Allow option to suppress accelerators in menu/dialog items.
11251 (populate_or_checksum_helper): Pass dialog title through above.
11253 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
11255 * event-msw.c (mswindows_key_to_emacs_keysym):
11256 Add "pause" key, fix "menu" key.
11258 2000-09-09 Martin Buchholz <martin@xemacs.org>
11260 * eval.c (reinit_vars_of_eval):
11261 Increase max_lisp_eval_depth to 1000,
11262 required for thai-xtis.el to byte-compile under some circumstances.
11264 2000-09-04 Martin Buchholz <martin@xemacs.org>
11266 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
11267 From Kenichi Handa.
11269 2000-09-01 Martin Buchholz <martin@xemacs.org>
11271 * make-src-depend: Make the generated Makefiles smaller.
11273 * s/hpux.h (SETUP_SLAVE_PTY):
11274 Provide a %d in the format string for the errno argument.
11276 * editfns.c (Ftemp_directory):
11278 Avoid buffer overrun on very long file name.
11280 * input-method-xlib.c (XIM_init_device):
11281 6th parameter of XRegisterIMInstantiateCallback has different
11282 pointer types on different OSes, so simply cast to (void *).
11284 * unexhp9k800.c: Warning fixes. Fiddly changes.
11286 * sysdll.c (dll_open):
11287 shl_load will hang hard if passed a NULL filename.
11288 Simply return NULL for compatibility with dlopen.
11289 * sysdll.c: Conform to XEmacs coding standards.
11291 * sysdep.c (get_pty_max_bytes):
11292 Support pty input lines longer than 512 bytes on HP-UX 10.20.
11294 2000-08-31 Martin Buchholz <martin@xemacs.org>
11296 * tooltalk.c: Add #include <syssignal.h>
11298 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
11300 * s/hpux.h: Don't use undefined function sigunblock().
11302 2000-08-31 Martin Buchholz <martin@xemacs.org>
11304 * config.h.in: Add HAVE_BALLOON_HELP.
11305 * emacs.c: Use HAVE_BALLOON_HELP.
11306 * Makefile.in.in (x_objs):
11307 Make Balloon Help conditional on finding shape.h.
11309 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
11311 * syntax.c (regex_emacs_buffer_p): New variable.
11312 * syntax.h (regex_emacs_buffer_p): extern.
11313 * search.c (looking_at_1):
11315 (fast_string_match):
11316 (search_buffer): Set regex_emacs_buffer_p.
11317 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
11318 when before_dot, at_dot, after_dot.
11320 2000-08-23 Andy Piper <andy@xemacs.org>
11322 * gui-x.c (popup_selection_callback): Only set action_occurred
11323 when we really have an image instance.
11324 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
11326 2000-08-23 Andy Piper <andy@xemacs.org>
11328 * gui-msw.c (mswindows_handle_gui_wm_command): set
11330 * gui-x.c (popup_selection_callback): ditto.
11332 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
11333 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
11334 (struct Lisp_Image_Instance): add action_occurred flag.
11336 * glyphs.c (redisplay_subwindow): use action_occurred flag.
11337 (image_instance_changed): ditto.
11338 (reset_frame_subwindow_instance_cache): only unmap windows - do
11339 not remove them from the cache also.
11341 * glyphs-widget.c (tab_control_update): better debug.
11342 (progress_gauge_update): ditto.
11343 (layout_update): ditto.
11344 (layout_instantiate): ditto.
11345 (tab_control_order_only_changed): cope with null pending items.
11347 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
11348 debug. Force selection of an item when an action occurred. Cope
11349 with null pending_items.
11350 (mswindows_progress_gauge_redisplay): better debug.
11351 * glyphs-x.c (x_tab_control_redisplay): ditto.
11353 * redisplay.c (redisplay_frame): reset the frame cache if the
11356 * window.c (Fset_window_configuration): potentially re-enable
11358 (window_unmap_subwindows): need to finalize instances here since
11359 it is only used in mark_window_as_deleted.
11361 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
11363 * nas.c (SndOpenDataForReading):
11364 nas.c (WaveOpenDataForReading):
11365 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
11366 Somehow escaped from the 2000-08-14 patch.
11368 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
11370 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
11371 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
11373 2000-08-21 Andy Piper <andy@xemacs.org>
11375 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
11376 window if it is not already displayed.
11378 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
11379 it is not already displayed.
11381 * window.c (Fset_window_configuration): don't reset the frame
11384 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
11385 instances from the frame cache if we are actually finalizing them.
11386 (reset_frame_subwindow_instance_cache): reset frame cache only
11387 after unmapping everything.
11388 (map_subwindow): set displayed flag after mapping.
11390 2000-08-21 Martin Buchholz <martin@xemacs.org>
11392 * data.c (indirect_function):
11393 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
11395 * eval.c (function_argcount):
11396 Use original function when signaling errors.
11398 2000-08-18 Andy Piper <andy@xemacs.org>
11400 * frame.c (delete_frame_internal): use new
11401 free_frame_subwindow_instances name.
11403 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
11404 (add_tab_item): make return type correct.
11405 (mswindows_tab_control_instantiate): assert index of tab.
11406 (mswindows_tab_control_redisplay): Re-code to use
11407 gui_item_equal_sans_selected and gui_item_list_find_selected.
11409 * glyphs-widget.c (tab_control_update): Correct comment.
11411 * window.c (window_unmap_subwindows): use new
11412 unmap_subwindow_instance_cache_mapper.
11413 (window_unmap_subwindows_cache_mapper): deleted.
11414 (Fset_window_configuration): comparisons should now be with
11415 EQ. Preserve the subwindow instance cache across configuration
11417 (allocate_window): ditto.
11418 (make_dummy_parent): ditto.
11420 * glyphs.c (free_frame_subwindow_instances): rename from
11421 free_frame_subwindow_instance_cache. finalize all instances rather
11422 than just those in the display cache.
11423 (finalize_all_subwindow_instances): walk windows unmapping and
11424 finalizing subwindows.
11425 (unmap_subwindow_instance_cache_mapper): moved from
11426 window.c. Allow finalization as well as unmapping.
11428 * gui.c (gui_item_list_find_selected): new function.
11430 * gui.h (gui_item_list_find_selected): declare.
11432 * glyphs-x.c (x_tab_control_redisplay): pick tab
11433 explicitly. Re-code to use gui_item_equal_sans_selected and
11434 gui_item_list_find_selected.
11436 * glyphs-x.h: add lwlib-utils.h
11438 * buffer.c (Frecord_buffer): undo previous change.
11440 2000-08-09 Vin Shelton <acs@xemacs.org>
11442 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
11443 possible. Create temporary files more securely. The patch was
11444 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
11445 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
11446 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
11449 2000-08-07 Ben Wing <ben@xemacs.org>
11451 * getloadavg.c: remove duplicate (and windows-breaking)
11452 includes of fcntl.h and sys/file.h.
11454 * nt.c: remove duplicate getloadavg() definition.
11456 * sysdll.h (Qdll_filename_encoding): add missing stand-in
11459 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
11461 * eval.c (function_argcount): If function needs to be autoloaded
11462 actually use the loaded definition.
11465 2000-08-05 Ben Wing <ben@xemacs.org>
11467 * getloadavg.c: add prototype for getloadavg(). remove
11468 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
11469 of the code). remove duplicate header includes.
11471 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
11473 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
11474 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
11475 useful load average.
11477 * alloc.c (reinit_alloc_once_early): removed references to
11478 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
11479 the lisp vars are the only things referencing the malloc_sbrk_*
11480 vars, and they were already if 0'd out. these vars only exist
11481 in the older malloc.c, which is basically unused, and they're
11482 only for informational purposes.
11484 * m\*.h: removed useless VIRT_ADDR_VARIES.
11486 * m\powerpc.h: removed stray NO_ARG_ARRAY.
11488 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
11490 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
11491 color if the image is a mono pixmap.
11493 2000-07-30 Ben Wing <ben@xemacs.org>
11495 * Makefile.in.in (release):
11498 * buffer.c (directory_is_current_directory):
11499 * dired-msw.c (mswindows_get_files):
11501 * dired.c (Fdirectory_files):
11502 * dired.c (file_name_completion_stat):
11503 * dired.c (Ffile_attributes):
11504 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
11505 preprocessor tricks, to avoid problems on some machines
11508 * callproc.c (egetenv): GC docs.
11511 * console-msw.h (struct mswindows_dialog_id):
11512 * lrecord.h (lrecord_type):
11513 New object for use with MSW dialogs.
11515 * console.h (struct console_methods):
11516 New enable/disable frame methods, for proper modal dialogs.
11518 * device-msw.c (msprinter_default_printer): Fix to follow
11519 proper Mule conventions.
11522 * device-msw.c (signal_open_printer_error):
11523 * device-msw.c (msprinter_init_device):
11524 * device-msw.c (ensure_not_printing):
11525 * device-msw.c (plist_get_margin):
11526 * device-msw.c (Fmsprinter_select_settings):
11527 * device-msw.c (finalize_devmode):
11528 * device-msw.c (Fmsprinter_settings_despecialize):
11529 * device-msw.c (signal_enum_priner_error):
11530 * extents.c (decode_extent):
11531 * extents.c (decode_map_extents_flags):
11532 * extents.c (decode_extent_at_flag):
11533 * extents.c (Fextent_at):
11534 * extents.c (Fextents_at):
11535 * extents.c (symbol_to_glyph_layout):
11536 [[[[2]]]] Use structured errors.
11539 * dialog-msw.c (mswindows_is_dialog_msg):
11540 * dialog-msw.c (mark_mswindows_dialog_id):
11541 * dialog-msw.c (dialog_proc):
11542 * dialog-msw.c (handle_question_dialog_box):
11543 * dialog-msw.c (syms_of_dialog_mswindows):
11544 Define new object to clean up marking; use it as a dialog identifier.
11545 Call new delete-dialog-box-hook.
11547 * dialog-x.c (dbox_selection_callback):
11548 * dialog-x.c (dbox_descriptor_to_widget_value):
11549 * dialog-x.c (x_make_dialog_box_internal):
11550 Call new delete-dialog-box-hook.
11554 * dialog.c (syms_of_dialog):
11555 * dialog.c (vars_of_dialog):
11556 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
11559 * eval.c (signal_call_debugger):
11560 when noninteractive, output stack traces on the console instead
11561 of in a (never-seen) buffer.
11563 * eval.c (signal_type_error):
11564 * eval.c (invalid_argument_2):
11566 new funs for use w/structured errors.
11569 * event-Xt.c (x_to_emacs_keysym):
11570 * event-Xt.c (describe_event):
11571 * event-Xt.c (emacs_Xt_event_handler):
11572 * event-Xt.c (vars_of_event_Xt):
11574 * event-msw.c (mswindows_wnd_proc):
11575 * event-msw.c (vars_of_event_mswindows):
11576 rename {x,mswindows}-debug-events to debug-{}-events for
11577 consistency with other debug-foo variables.
11580 document next-event more clearly.
11582 * fileio.c (Ffile_name_directory):
11583 * fileio.c (Ffile_name_nondirectory):
11584 * fileio.c (Funhandled_file_name_directory):
11585 * fileio.c (file_name_as_directory):
11586 * fileio.c (Ffile_name_as_directory):
11587 * fileio.c (directory_file_name):
11588 * fileio.c (Fdirectory_file_name):
11589 * fileio.c (Fmake_temp_name):
11590 * fileio.c (Ffile_truename):
11591 * fileio.c (Fsubstitute_in_file_name):
11592 * fileio.c (expand_and_dir_to_file):
11593 * fileio.c (barf_or_query_if_file_exists):
11594 * fileio.c (check_executable):
11595 * fileio.c (Ffile_exists_p):
11596 * fileio.c (Ffile_writable_p):
11597 * fileio.c (Ffile_directory_p):
11598 * fileio.c (Ffile_regular_p):
11599 * fileio.c (Ffile_modes):
11600 * fileio.c (Ffile_newer_than_file_p):
11601 * fileio.c (Fverify_visited_file_modtime):
11602 * fileio.c (Fset_visited_file_modtime):
11603 * fileio.c (auto_save_1):
11608 * frame-msw.c (mswindows_init_frame_1):
11609 * frame-msw.c (mswindows_enable_frame):
11610 * frame-msw.c (error_frame_unsizable):
11611 * frame-msw.c (msprinter_init_frame_1):
11612 * frame-msw.c (msprinter_init_frame_3):
11613 * frame-msw.c (console_type_create_frame_mswindows):
11615 implement new enable/disable frame methods.
11618 * frame-x.c (x_enable_frame):
11619 * frame-x.c (console_type_create_frame_x):
11620 implement new enable/disable frame methods.
11623 * frame.c (Fdisable_frame):
11624 * frame.c (syms_of_frame):
11625 * frame.h (struct frame):
11626 implement new enable/disable frame methods/functions.
11631 * glyphs-msw.c (mswindows_widget_instantiate):
11632 comment that initial-focus should be implemented.
11635 * glyphs-widget.c (check_valid_instantiator):
11636 * glyphs-widget.c (check_valid_orientation):
11637 * glyphs-widget.c (check_valid_tab_orientation):
11638 * glyphs-widget.c (check_valid_justification):
11639 * glyphs-widget.c (check_valid_border):
11640 * glyphs-widget.c (check_valid_callback):
11641 * glyphs-widget.c (check_valid_int_or_function):
11642 * glyphs-widget.c (check_valid_string_or_vector):
11643 * glyphs-widget.c (check_valid_item_list_1):
11644 * glyphs-widget.c (widget_validate):
11645 * glyphs-widget.c (combo_box_validate):
11646 * glyphs-widget.c (widget_instantiate):
11647 * glyphs-widget.c (syms_of_glyphs_widget):
11648 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
11649 * glyphs-widget.c (image_instantiator_combo_box):
11650 * glyphs-widget.c (image_instantiator_scrollbar):
11651 * glyphs-widget.c (image_instantiator_tab_control):
11652 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
11654 support (unimplemented) keyword initial-focus.
11655 reindent long macros.
11657 * glyphs-x.c (x_redisplay_widget):
11658 * glyphs-x.c (x_button_instantiate):
11659 * glyphs-x.c (x_button_redisplay):
11660 * glyphs-x.c (x_progress_gauge_instantiate):
11661 * glyphs-x.c (x_edit_field_instantiate):
11662 * glyphs-x.c (x_combo_box_instantiate):
11663 * glyphs-x.c (x_tab_control_instantiate):
11664 * glyphs-x.c (x_label_instantiate):
11666 * gui-x.c (button_item_to_widget_value):
11667 * gui-x.c (gui_items_to_widget_values_1):
11668 * gui-x.c (gui_item_children_to_widget_values):
11669 * gui-x.c (gui_items_to_widget_values):
11671 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11672 add new flag to gui-parsing routines to indicate whether
11673 accelerator specs should be supported.
11675 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
11677 * glyphs.h (struct Lisp_Image_Instance):
11678 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
11679 add initial-focus flag.
11682 * gui.c (syms_of_gui):
11683 * gui.c (vars_of_gui):
11684 clean up menu-no-selection-hook.
11687 support delete-dialog-box-hook.
11689 * lread.c (Fload_internal):
11690 * lread.c (locate_file_in_directory_mapper):
11694 * lrecord.h (struct toolbar_button):
11695 * lrecord.h (syms_of_toolbar):
11696 document how to create a new object.
11698 * menubar-msw.c (mswindows_char_is_accelerator):
11699 may be called on frames w/o menus.
11701 * menubar.c (vars_of_menubar):
11702 clean up :filter docs.
11709 * process-nt.c (validate_signal_number):
11710 * process-nt.c (signal_cannot_launch):
11711 * process-nt.c (nt_create_process):
11712 * process-nt.c (nt_send_process):
11713 * process-nt.c (nt_kill_child_process):
11714 * process-nt.c (nt_open_network_stream):
11715 * process-nt.c (syms_of_process_nt):
11717 delete quote-handling. call new lisp code that does it better.
11719 * process-unix.c (connect_to_file_descriptor):
11720 * process-unix.c (allocate_pty):
11721 * process-unix.c (unix_send_process):
11722 * process-unix.c (unix_kill_child_process):
11723 * process-unix.c (unix_open_network_stream):
11724 * process-unix.c (unix_open_multicast_group):
11728 * process.c (Fstart_process_internal):
11729 (2). need to canonicalize process path even if absolute.
11731 * select-msw.c (symbol_to_ms_cf):
11732 * select-msw.c (ms_cf_to_symbol):
11733 * select-msw.c (cf_is_autofreed):
11734 * select-msw.c (mswindows_destroy_selection):
11736 * select.c (syms_of_select):
11738 support dibv5, fix bugs. (from Mike Alexander)
11740 * select.c (Fget_selection_internal):
11741 * select.c (select_convert_out):
11744 * sysdep.c (xemacs_stat):
11747 * sysdep.c (mkdir):
11748 * sysdep.c (rmdir):
11749 but keep original stat() here because we provide encapsulation
11753 * sysfile.h (fstat):
11754 remove stat garbage.
11757 fix X/MSW conflict.
11758 don't include tchar.h. it's inappropriate because it makes
11759 compile-time distinctions when we want runtime distinctions.
11760 (we provide our own tchar replacements)
11763 use default object printer for toolbar-button.
11766 make sure we don't encapsulate.
11768 * window.c (vars_of_window):
11769 emphasize that temp-buffer-show-hook is obsolete.
11771 2000-08-05 Martin Buchholz <martin@xemacs.org>
11773 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
11774 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
11776 * events.c (Fevent_timestamp_lessp):
11777 Not 64-bit clean. Use EMACS_INT, not int.
11779 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
11781 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
11782 unsigned int and changed the last enum to
11783 lrecord_type_last_built_in_type.
11784 (lrecord_implementations_table): changed prototype to know how
11785 long the array is supposed to be.
11786 (lrecord_type_count): new unsigned int to keep track of the
11787 current number of lisp lrecord types.
11788 (DEFINE_EXTERNAL_LRECORD):
11789 (DECLARE_EXTERNAL_LRECORD): Added these two for external
11790 dynamic-modules to declare new lisp types. They are the same
11791 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
11792 int for each new type, and increment lrecord_type_count by 1.
11794 * alloc.c (lrecord_implementations_table): Changed to reference
11795 lrecord_type_last_built_in_type for the size of the array.
11796 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
11798 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11800 * glyphs.h (check_valid_item_list): Renamed from
11801 check_valid_item_list_1.
11803 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
11805 * select.c (Qselect_coerce): New.
11806 * select.c (Vselection_coercion_alist): New.
11807 * select.c (syms_of_select): Declare.
11808 * select.c (get-selection-internal): Use it.
11809 Use the new select-coerce functionality.
11811 * select.c (select_coerce): New.
11812 * select.h (select_coerce): Declare.
11813 New function to coerce one type of data into another.
11815 2000-08-03 Martin Buchholz <martin@xemacs.org>
11817 * callproc.c (Fcall_process_internal):
11818 (Fcall_process_internal):
11819 * process-unix.c (unix_create_process):
11820 Save and restore the value of errno, so that error messages are accurate.
11822 2000-08-01 Martin Buchholz <martin@xemacs.org>
11824 * elhash.c (print_hash_table):
11825 Fix printing of hash tables to also use `key-and-value' instead of `t'.
11826 Prettify docstrings and indentation.
11828 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
11830 * window.c (Fwindow_pixel_edges): Subtract frame border and
11833 2000-07-31 Andy Piper <andy@xemacs.org>
11835 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
11836 will acknowledge the change.
11838 * glyphs.h: declare tab_control_order_only_changed.
11840 * glyphs-x.c (x_tab_control_redisplay): use
11841 tab_control_order_only_changed.
11843 * glyphs-widget.c (tab_control_order_only_changed): new function.
11845 * glyphs-msw.c (mswindows_tab_control_redisplay): use
11846 tab_control_order_only_changed.
11848 * gui.c (gui_item_equal_sans_selected): new function.
11849 (gui_item_equal): use it.
11851 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
11852 :properties in favor of :items..
11854 * glyphs-widget.c (check_valid_item_list): rename from
11855 check_valid_item_list_1.
11856 (check_valid_item_list_1): renamed.
11857 (combo_box_validate): deprecate :properties in favor of :items.
11858 (widget_instantiate): ditto.
11859 (tab_control_update): ditto.
11860 (image_instantiator_combo_box): ditto.
11861 (image_instantiator_tree_view): ditto.
11862 (image_instantiator_tab_control): ditto.
11863 (layout_post_instantiate): remove dead code.
11865 * print.c (debug_print_no_newline): only write to debugger if in
11868 * elhash.c (Fmake_hash_table): update doc string.
11870 * event-msw.c (mswindows_wnd_proc): don't allow processing of
11871 messages whilst in GC. This at least stops XEmacs crashing but has
11872 the potential for wierd behaviour.
11874 2000-07-31 Martin Buchholz <martin@xemacs.org>
11877 Make existence of s&m files optional.
11879 * s/bsd386.h: Remove HAVE_GETLOADAVG.
11880 * s/freebsd.h: Remove HAVE_GETLOADAVG.
11881 * s/gnu.h: Remove HAVE_GETLOADAVG.
11882 * s/netbsd.h: Remove HAVE_GETLOADAVG.
11883 * s/sol2.h: Remove HAVE_GETLOADAVG.
11884 * lisp.h: Remove getloadavg() declaration.
11886 Include <sys/loadavg.h> if available.
11887 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
11888 * config.h.in: Group together getloadavg()-related macros.
11889 Use only configure-time tests to detect getloadavg().
11891 2000-07-30 Martin Buchholz <martin@xemacs.org>
11893 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
11895 2000-07-25 Andy Piper <andy@xemacs.org>
11897 * syswindows.h: add tchar.h for native builds.
11899 * frame.c (syms_of_frame): remove set-glyph-image.
11901 * general-slots.h: add Qset_glyph_image.
11903 * glyphs-widget.c (layout_update): add domain arg to
11905 (syms_of_glyphs_widget): remove set-glyph-image.
11907 2000-07-23 Ben Wing <ben@xemacs.org>
11909 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
11912 2000-07-22 Andy Piper <andy@xemacs.org>
11914 * symsinit.h: add syms_of_win32().
11916 * gui-msw.c (syms_of_gui_mswindows): remove
11917 Fmswindows_shell_execute.
11918 (Fmswindows_shell_execute): moved to win32.c.
11920 * emacs.c (main_1): add syms_of_win32 ().
11922 * win32.c (init_potentially_nonexistent_functions): rewrite in
11923 compiler-friendly terms.
11924 (Fmswindows_shell_execute): move here from gui-msw.c.
11925 (syms_of_win32): new.
11927 * device-msw.c (Fmswindows_printer_list): clean up args to
11929 Don't include tchar under cygwin or mingw.
11930 (msprinter_default_printer): make cygwin-friendly.
11932 2000-07-21 Andy Piper <andy@xemacs.org>
11934 * glyphs-widget.c (image_instantiator_tree_view): use tab
11935 control's update function.
11936 (layout_property): new function. Retrieve items.
11938 * glyphs-msw.c (mswindows_tree_view_redisplay): new
11939 function. Re-populate the tree view from the pending items.
11941 * glyphs.c (instantiate_image_instantiator): Make sure the domain
11942 is designated the parent if the domain is an image instance. This
11943 is needed so that dirtiness can be cascade up the hierarchy and
11944 thus for layout children to be redisplayed correctly.
11945 (allocate_image_instance): rename glyph -> parent.
11947 * redisplay.h: change redisplay_output_layout signature.
11949 * redisplay-msw.c (mswindows_output_display_block): use domain
11952 * redisplay-x.c (x_output_display_block): use domain arg.
11954 2000-07-10 Andy Piper <andy@xemacs.org>
11956 * window.c (Fset_window_configuration): add comment.
11958 * redisplay-output.c (compare_runes):
11959 (redisplay_output_subwindow): redisplay rather than update subwindow.
11960 (redisplay_output_layout): ditto.
11962 * redisplay-msw.c (mswindows_frame_output_end):
11963 (mswindows_frame_output_end): make defer window pos optional.
11965 * lisp.h: add Flast.
11967 * glyphs.h (struct image_instantiator_methods): add dest_mask top
11968 normalize method. Change update method to be for changed
11969 instantiators. Add redisplay method. Change signature of layout
11971 (struct Lisp_Image_Instance): add instantiator.
11972 (IMAGE_INSTANCE_INSTANTIATOR): new.
11973 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
11974 (XIMAGE_INSTANCE_INSTANTIATOR): new.
11975 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
11978 (find_instantiator_differences): new function.
11979 (Fset_instantiator_property): new convenience function.
11980 (check_image_instance_structure): strictly check for vector
11982 (normalize_image_instantiator): make non-static.
11983 (instantiate_image_instantiator): pass on dest_mask and use new
11984 signatures for image_instance_layout and friends.
11985 (mark_image_instance): mark the instantiator. Mark the subwindow
11986 face not the widget face.
11987 (image_instance_equal): add instantiator.
11988 (image_instance_hash): ditto.
11989 (allocate_image_instance): ditto.
11990 (Fset_image_instance_property): removed.
11991 (Fimage_instance_file_name): ditto.
11992 (Fcolorize_image_instance): ditto.
11993 (image_instance_layout): add offsets to be set.
11994 (update_image_instance): new function. update an image instance
11995 from its changed instantiator.
11996 (inherit_normalize): add dest_mask.
11997 (xbm_normalize): ditto.
11998 (xface_normalize): ditto.
11999 (xpm_normalize): ditto.
12000 (text_update): set_property -> update.
12001 (image_instantiate): use the glyph identity as a hash key, not the
12003 (glyph_width): use new image_instance_layout signature.
12004 (glyph_ascent): ditto.
12005 (glyph_descent): ditto.
12006 (glyph_height): ditto.
12007 (glyph_query_geometry): ressurrect.
12008 (glyph_layout): ditto.
12009 (redisplay_subwindow): update -> redisplay.
12010 (syms_of_glyphs): add Fset_instantiator_property.
12011 (image_instantiator_format_create): set_property -> update.
12014 (autodetect_normalize): add dest_maks to signature.
12015 (x_redisplay_subwindow): update -> redisplay.
12016 (x_redisplay_widget): ditto.
12017 (x_button_redisplay): ditto.
12018 (x_progress_gauge_redisplay): ditto.
12019 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
12021 (console_type_create_glyphs_x): update -> redisplay.
12022 (image_instantiator_format_create_glyphs_x): ditto.
12025 (check_valid_instantiator): disallow glyphs in the instantiator,
12026 they must now be vectors.
12027 (check_valid_instantiator_list): ditto.
12028 (glyph_instantiator_to_glyph): use internal symbol rather than
12030 (widget_update): renamed from widget_set_property. Call cascaded
12032 (redisplay_widget): renamed from update_widget.
12033 (widget_layout): image_instance_layout now takes position as well
12035 (widget_normalize): ditto.
12036 (widget_instantiate): ditto.
12037 (tab_control_query_geometry) ditto.:
12038 (tab_control_update): renamed from tab_control_set_property.
12039 (progress_gauge_update): set_property -> update.
12040 (layout_normalize): rewrite so that child instantiators are
12042 (layout_update): new function. Create glyphs from the normalized
12043 children and cope with any other layout keywords. We do not
12044 instantiate children here that will be take care of by
12045 redisplay_output_layout.
12046 (layout_instantiate): call layout_update and not much else.
12047 (layout_post_instantiate): not sure whether this is needed
12049 (layout_query_geometry): query glyph geometry rather than
12050 image_instance geometry.
12051 (layout_layout): set offsets from pass in parameters. Use glyph
12052 geometry and layout functions rather than image instance ones.
12053 (native_layout_layout): ditto.
12054 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
12055 (image_instantiator_widget): set_property -> update.
12056 (image_instantiator_buttons): ditto.
12057 (image_instantiator_progress_guage): ditto.
12058 (image_instantiator_tab_control): ditto.
12059 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
12060 (image_instantiator_layout): add update method.
12062 * glyphs-msw.c (bmp_normalize):
12063 (mswindows_resource_normalize): add dest_mask so that it can be
12064 proprogated by layout_normalize.
12065 (begin_defer_window_pos): make optional because it may not be the
12066 right thing to do and it introduces differences with X.
12067 (mswindows_unmap_subwindow): ditto.
12068 (mswindows_map_subwindow): ditto.
12069 (mswindows_redisplay_subwindow): renamed from
12070 mswindows_update_subwindow.
12071 (mswindows_redisplay_widget): ditto.
12072 (mswindows_button_redisplay): renamed from
12073 mswindows_button_update. Update is now what the instantiation
12074 function does for a changed instantiator.
12075 (mswindows_progress_gauge_instantiate): set the progress value
12076 here if appropriate.
12077 (mswindows_tab_control_redisplay): cope with re-ordering of the
12078 members of the tab widget by simply selecting the new top
12079 widget. This makes things appear ok if you click on a tab.
12080 (mswindows_combo_box_instantiate): image_instance_layout now takes
12081 position as well as size.
12082 (mswindows_progress_gauge_redisplay): renamed from
12083 mswindows_progress_gauge_update.
12084 (console_type_create_glyphs_mswindows): fix update -> redisplay.
12085 (image_instantiator_format_create_glyphs_mswindows): ditto.
12087 * glyphs-eimage.c (jpeg_normalize):
12090 (tiff_normalize): add dest_mask so that it can be proprogated by
12094 (print_hash_table):
12095 (hash_table_weakness_validate):
12096 (decode_hash_table_weakness):
12097 (Fhash_table_weakness):
12098 (Fhash_table_type):
12099 (syms_of_elhash): use Ben's naming scheme for hashtable types..
12101 * console.h (struct console_methods): move update_* to
12104 2000-07-20 Ben Wing <ben@xemacs.org>
12106 * *.[ch] (XSETOBJ): remove unused middle argument.
12107 lisp-disunion.h: correct wrap_object() to one argument.
12109 2000-07-15 Ben Wing <ben@xemacs.org>
12112 * s/cygwin32.h (CYGWIN_CONV_PATH):
12113 Add missing logb prototype for v1.1.
12114 Use post-b20 names and alias to pre-b20 names when pre-b20.
12116 * s/windowsnt.h: [5].
12118 2000-07-15 Ben Wing <ben@xemacs.org>
12120 * Makefile.in.in (x_objs):
12121 * Makefile.in.in (sheap_objs):
12122 * Makefile.in.in (objs):
12123 added win32.o, cosmetic cleanups.
12125 * alloc.c (Fmake_byte_code):
12126 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
12127 etc. macros which declare their own args now.
12129 * alloc.c (syms_of_alloc):
12130 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
12133 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
12135 * buffer.c (Fget_file_buffer):
12136 Fixed GCPRO problem.
12138 * buffer.c (get_truename_buffer):
12139 Fixed comment about GC checking.
12141 * buffer.c (syms_of_buffer):
12142 Undeclared those dedicated frame funs.
12146 Define convenience macros for internal/external conversions.
12147 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
12148 and Qenvironment_variable_encoding for cleaner code.
12151 Remove dedicated-frame; in lisp.
12153 * bytecode.c (funcall_compiled_function):
12156 * bytecode.c (syms_of_bytecode):
12160 * console-msw.c (mswindows_show_console): Rewrote.
12162 * console-msw.c (Fmswindows_debugging_output): New.
12163 Sends to OutputDebugString (special MSWin debugger interface).
12165 * console-msw.c (Fmswindows_message_box):
12166 Fixed stupid bugs so it works when called from kill-emacs.
12168 * console-msw.c (syms_of_console_mswindows):
12169 Declare Fmswindows_debugging_output.
12172 New MSWin prototypes.
12174 * console-msw.h (struct mswindows_frame):
12175 New entry last-click-mods for improved button-modifier support.
12177 * console-msw.h (FRAME_MSWINDOWS_POPUP):
12178 New struct entry `popup' with corresponding accessor.
12181 * console-x.c (split_up_display_spec):
12182 * console-x.c (get_display_arg_connection):
12183 * console-x.c (x_semi_canonicalize_console_connection):
12184 * console-x.c (x_canonicalize_device_connection):
12185 [[[6]]]: Change char to more specific type.
12186 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
12188 * console-x.c (x_semi_canonicalize_console_connection):
12189 * console-x.c (x_canonicalize_device_connection):
12190 [[[9]]]: Fix up error signalling to use new structured error system.
12193 [[[4]]]: Define codesys aliases:
12194 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
12195 Qx_color_name_encoding, Qx_display_name_encoding.
12197 * console.h (struct console_methods):
12198 New method make_dialog_box_internal supersedes older
12199 popup_dialog_box method.
12202 Define many new errors, part of new structured errors.
12204 * data.c (init_errors_once_early):
12205 * data.c (syms_of_data):
12208 * device-msw.c (mswindows_init_device):
12209 [[[5]]]: Cleanup to support NT 3.51.
12211 * device-msw.c (decode_devmode): Cleanup.
12213 * device-msw.c (mswindows_handle_print_setup_dialog_box):
12214 * device-msw.c (mswindows_handle_print_dialog_box):
12215 * device-msw.c (mswindows_handle_page_setup_dialog_box):
12216 * device-msw.c (syms_of_device_mswindows):
12217 Delete the dialog box primitives recently introduced by Kirill and
12218 instead interface to general dialog box interface.
12221 * device-x.c (compute_x_app_name):
12222 * device-x.c (x_init_device):
12223 * device-x.c (Fx_valid_keysym_name_p):
12224 * device-x.c (Fx_set_font_path):
12228 * device.h (wrap_device): New.
12229 First of its kind; meant to replace XSETDEVICE.
12231 * dialog-msw.c: Many file-dialog symbols.
12233 * dialog-msw.c (mswindows_register_popup_frame): New.
12234 * dialog-msw.c (mswindows_is_dialog_msg): New.
12235 For supporting kbd traversal in dialog boxes.
12237 * dialog-msw.c (dialog_proc):
12238 Support hitting ESC in dialogs.
12240 * dialog-msw.c (struct):
12241 Common dialog box errors.
12243 * dialog-msw.c (handle_file_dialog_box): New.
12244 Add file dialog code.
12246 * dialog-msw.c (handle_question_dialog_box):
12247 Redo existing code to support new question dialog syntax.
12249 * dialog-msw.c (console_type_create_dialog_mswindows):
12250 We support new dialog console method.
12252 * dialog-msw.c (syms_of_dialog_mswindows):
12253 * dialog-msw.c (vars_of_dialog_mswindows):
12254 New file dialog symbols, vars.
12257 * dialog-x.c (maybe_run_dbox_text_callback):
12258 * dialog-x.c (dbox_descriptor_to_widget_value):
12259 * dialog-x.c (x_make_dialog_box_internal):
12260 * dialog-x.c (console_type_create_dialog_x):
12261 Mule-ize entire file.
12262 Redo to support question dialog syntax.
12266 * dialog.c (Fmake_dialog_box_internal):
12267 * dialog.c (syms_of_dialog):
12268 Kill old popup-dialog-box, replace with new primitive.
12269 Just call device method or signal error.
12271 * eldap.c (Fldap_open):
12272 * eldap.c (Fldap_search_basic):
12273 * eldap.c (Fldap_add):
12274 * eldap.c (Fldap_modify):
12279 * emacs.c (make_arg_list_1):
12280 * emacs.c (make_arg_list):
12281 Mule-ize call to dll_init().
12285 * emacs.c (make_argc_argv):
12286 * emacs.c (free_argc_argv):
12287 * emacs.c (init_cmdargs):
12288 * emacs.c (main_1):
12289 * emacs.c (Fkill_emacs):
12290 * emacs.c (Fdump_emacs):
12291 Update comments about what can be used in syms_* etc.
12292 Call init_win32() when necessary.
12293 Fix up MS Win dialog box in kill-buffer to actually work right.
12304 * eval.c (condition_case_3):
12306 * eval.c (function_argcount):
12307 * eval.c (funcall_lambda):
12310 * eval.c (type_error): New.
12311 * eval.c (maybe_type_error): New.
12312 * eval.c (continuable_type_error): New.
12313 * eval.c (maybe_continuable_type_error): New.
12314 * eval.c (type_error_with_frob): New.
12315 * eval.c (maybe_type_error_with_frob): New.
12316 * eval.c (continuable_type_error_with_frob): New.
12317 * eval.c (maybe_continuable_type_error_with_frob): New.
12318 New functions for use with structured errors.
12321 * event-Xt.c (x_event_to_emacs_event):
12322 Buttons are now modifiers too.
12324 * event-Xt.c (emacs_Xt_current_event_timestamp):
12325 Implement new event method.
12326 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
12329 * event-msw.c (ntpipe_shove_writer): [5].
12330 * event-msw.c (mswindows_enqueue_mouse_button_event):
12331 * event-msw.c (mswindows_drain_windows_queue):
12332 * event-msw.c (mswindows_wnd_proc): [7].
12333 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
12334 * event-msw.c (mswindows_modifier_state):
12335 Throughout: support new button modifiers.
12337 * event-msw.c (emacs_mswindows_current_event_timestamp):
12338 Implement new event method.
12339 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
12342 * event-stream.c (event_stream_current_event_timestamp): New.
12343 * event-stream.c (maybe_kbd_translate): New functionality.
12344 * event-stream.c (vars_of_event_stream):
12345 Document new kbd-translate-table functionality.
12347 * event-stream.c (Fcurrent_event_timestamp): New.
12348 New primitive for use in fabricated events.
12349 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
12351 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
12354 * events.c (Fmake_event):
12355 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
12359 * events.c (format_event_object): fix gcc warnings.
12361 * events.c (Fevent_timestamp): Document new primitives.
12363 * events.c (TIMESTAMP_HALFSPACE): New.
12365 * events.c (Fevent_timestamp_lessp): New. New primitive for
12366 comparing timestamps correctly (half-space algorithm).
12368 * events.c (Fevent_modifier_bits): Doc fix.
12370 * events.c (Fevent_modifiers): Major doc addition.
12371 * events.c (event_x_y_pixel_internal): Typo fix.
12372 * events.c (syms_of_events): Declare new primitives.
12375 Update long comment for button modifiers, timestamps.
12377 * events.h (struct event_stream):
12378 New current_event_timestamp method.
12381 * extents.c (extent_in_region_p):
12382 * extents.c (decode_extent):
12383 * extents.c (Fset_extent_parent):
12384 * extents.c (decode_map_extents_flags):
12388 * extents.c (struct extent_at_arg):
12389 * extents.c (decode_extent_at_flag):
12390 * extents.c (extent_at_mapper):
12391 * extents.c (extent_at_bytind):
12392 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
12393 * extents.c (Fextents_at): New primitive. [9].
12394 * extents.c (symbol_to_glyph_layout): [9].
12395 Support new primitive `extents-at'.
12398 * extents.c (get_text_property_bytind):
12399 extent_at_bytind has another arg.
12402 * extents.c (syms_of_extents): New primitive.
12404 * file-coding.c (Fmake_coding_system): [1].
12405 * file-coding.c (subsidiary_coding_system): fix gcc warning
12406 * file-coding.c (syms_of_file_coding): [2].
12408 * fileio.c (Fexpand_file_name):
12409 * fileio.c (Fsysnetunam):
12410 * fileio.c (Ffile_exists_p):
12411 * fileio.c (Ffile_executable_p):
12412 * fileio.c (Fverify_visited_file_modtime):
12415 * fileio.c (syms_of_fileio): [2].
12417 * filelock.c (lock_file_1):
12418 * filelock.c (current_lock_owner):
12419 * filelock.c (lock_if_free):
12420 * filelock.c (lock_file):
12421 * filelock.c (unlock_file):
12424 * fns.c (concat): Fix gcc warning.
12427 * fns.c (Fold_member):
12429 * fns.c (Fold_memq):
12430 * fns.c (memq_no_quit):
12432 * fns.c (Fold_assoc):
12434 * fns.c (Fold_assq):
12435 * fns.c (assq_no_quit):
12437 * fns.c (Fold_rassoc):
12439 * fns.c (Fold_rassq):
12440 * fns.c (rassq_no_quit):
12442 * fns.c (Fold_delete):
12444 * fns.c (Fold_delq):
12445 * fns.c (delq_no_quit):
12446 * fns.c (Fremassoc):
12447 * fns.c (Fremassq):
12448 * fns.c (remassq_no_quit):
12449 * fns.c (Fremrassoc):
12450 * fns.c (Fremrassq):
12451 * fns.c (remrassq_no_quit):
12452 * fns.c (Freverse):
12456 * frame-msw.c (mswindows_init_frame_1):
12457 * frame-msw.c (mswindows_delete_frame):
12458 Register popups with dialog code so keyboard traversing works.
12460 * frame-tty.c (tty_raise_frame_no_select): [1].
12463 * frame-x.c (x_set_frame_text_value):
12464 * frame-x.c (x_set_frame_properties):
12465 * frame-x.c (x_create_widgets):
12469 * frame.c (Fmouse_pixel_position): Minor doc fixes.
12471 * frame.h (wrap_frame): New.
12472 Macro like wrap_device.
12475 * general.c (SYMBOL):
12476 * general.c (syms_of_general):
12477 Major reorg. This is now just a wrapper and symbols themselves
12478 are listed in general-slots.h.
12480 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
12481 * glyphs-msw.c (mswindows_resource_instantiate): [5].
12483 * glyphs-msw.c (mswindows_native_layout_instantiate):
12484 Add DS_CONTROL so keyboard traversal will work.
12487 * glyphs-widget.c (syms_of_glyphs_widget):
12488 Move some symbols to general-slots.h.
12491 * glyphs-x.c (xbm_instantiate_1):
12492 * glyphs-x.c (x_xbm_instantiate):
12493 * glyphs-x.c (x_xface_instantiate):
12494 * glyphs-x.c (autodetect_instantiate):
12495 * glyphs-x.c (cursor_font_instantiate):
12496 * glyphs-x.c (x_update_widget):
12497 * glyphs-x.c (x_widget_instantiate):
12498 * glyphs.c (bitmap_to_lisp_data):
12499 * glyphs.c (pixmap_to_lisp_data):
12502 * glyphs.c (syms_of_glyphs):
12506 * gui-x.c (print_widget_value):
12507 * gui-x.c (menu_separator_style_and_to_external):
12508 * gui-x.c (add_accel_and_to_external):
12509 * gui-x.c (button_item_to_widget_value):
12510 * gui-x.c (gui_items_to_widget_values_1):
12511 * gui-x.c (gui_items_to_widget_values):
12512 * gui-x.c (syms_of_gui_x):
12513 * gui-x.c (vars_of_gui_x):
12514 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
12518 Muleize, prototype changes matching gui-x.c.
12521 * gui.c (separator_string_p):
12522 * gui.c (gui_item_add_keyval_pair):
12523 * gui.c (make_gui_item_from_keywords_internal):
12524 * gui.c (signal_too_long_error):
12525 * gui.c (parse_gui_item_tree_item):
12526 * gui.c (syms_of_gui):
12527 * gui.c (vars_of_gui):
12529 menu-no-selection-hook moved here (used by MSWin).
12530 Move some symbols to general-slots.h.
12534 * insdel.c (get_buffer_pos_char):
12535 * insdel.c (get_buffer_range_char):
12538 * keymap.c (keymap_lookup_directly):
12539 * keymap.c (keymap_store):
12540 * keymap.c (ensure_meta_prefix_char_keymapp):
12541 * keymap.c (describe_map):
12543 Support new button modifiers.
12545 * lisp-disunion.h (wrap_object):
12546 * lisp-disunion.h (XSETOBJ):
12547 Rename make_obj to wrap_object.
12550 * lisp-union.h (make_int):
12551 * lisp-union.h (make_char):
12552 Support wrap_object.
12555 * lisp.h (LIST_LOOP):
12556 * lisp.h (EXTERNAL_LIST_LOOP):
12557 * lisp.h (LIST_LOOP_2):
12558 * lisp.h (EXTERNAL_LIST_LOOP_1):
12559 * lisp.h (EXTERNAL_LIST_LOOP_2):
12560 * lisp.h (EXTERNAL_LIST_LOOP_3):
12561 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
12562 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
12563 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
12564 * lisp.h (EXTERNAL_ALIST_LOOP_5):
12565 * lisp.h (EXTERNAL_ALIST_LOOP_6):
12566 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
12567 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
12568 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
12569 * lisp.h (struct Lisp_Symbol):
12570 * lisp.h (maybe_continuable_error_with_frob):
12571 Fix up section comments.
12572 Add new types for char to indicate usage.
12573 Delete symbols auto-generated from general-slots.h.
12574 Add prototypes for structured error functions.
12575 Add long comments describing looping macros and change interface
12576 so that lvalues are automatically declared.
12577 Add NO_DECLARE macro in case callers want to declare lvalues
12580 * lread.c (read_syntax_error):
12581 * lread.c (continuable_read_syntax_error):
12582 * lread.c (read_structure):
12583 * lread.c (sequence_reader):
12584 * lread.c (read_list_conser):
12585 * lread.c (read_compiled_function):
12586 Rename syntax_error and continuable_syntax_error to avoid clash
12587 with same-named structured error functions.
12589 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12590 * menubar-msw.c (populate_menu_add_item):
12591 * menubar-msw.c (populate_or_checksum_helper):
12596 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12597 Mule-ize whole file.
12599 * menubar.c (Fnormalize_menu_item_name): Add optimization.
12601 * mule-charset.c (Fmake_charset):
12602 * mule-wnnfns.c (Fwnn_set_param):
12605 * ntproc.c (create_child):
12606 * ntproc.c (Fwin32_set_current_locale):
12607 Add comments portending doom.
12610 * objects-msw.c (old_font_enum_callback_2):
12611 * objects-msw.c (font_enum_callback_1):
12612 * objects-msw.c (mswindows_enumerate_fonts):
12616 * objects-x.c (allocate_nearest_color):
12617 * objects-x.c (x_parse_nearest_color):
12618 * objects-x.c (x_initialize_color_instance):
12619 * objects-x.c (x_print_color_instance):
12620 * objects-x.c (x_finalize_color_instance):
12621 * objects-x.c (x_valid_color_name_p):
12622 * objects-x.c (x_initialize_font_instance):
12623 * objects-x.c (x_print_font_instance):
12624 * objects-x.c (valid_x_font_name_p):
12625 * objects-x.c (truename_via_FONT_prop):
12626 * objects-x.c (truename_via_random_props):
12627 * objects-x.c (truename_via_XListFonts):
12628 * objects-x.c (x_font_truename):
12629 * objects-x.c (x_font_instance_truename):
12630 * objects-x.c (x_font_instance_properties):
12631 * objects-x.c (x_list_fonts):
12632 * objects-x.c (x_find_charset_font):
12633 Mule-ize entire file.
12640 * print.c (std_handle_out_external):
12641 * print.c (debug_print_no_newline):
12642 * print.c (syms_of_print):
12643 Output to all debugger kinds in debug-print.
12644 Fix console-output code under MSWin to actually work.
12646 * process-nt.c (send_signal):
12647 * process-nt.c (nt_create_process):
12648 Use newer Unicode macros.
12650 * process-unix.c (unix_create_process):
12651 * process-unix.c (unix_canonicalize_host_name):
12652 * process-unix.c (unix_open_network_stream):
12658 * search.c (syms_of_search):
12661 * select-msw.c (mswindows_destroy_selection):
12664 * select-x.c (symbol_to_x_atom):
12667 * select.c (syms_of_select):
12670 * sound.c (Fplay_sound_file):
12674 * specifier.c (decode_specifier_type):
12675 * specifier.c (Fvalid_specifier_locale_type_p):
12676 * specifier.c (check_valid_locale_or_locale_type):
12677 * specifier.c (decode_locale):
12678 * specifier.c (decode_locale_type):
12679 * specifier.c (decode_locale_list):
12680 * specifier.c (check_valid_domain):
12681 * specifier.c (decode_specifier_tag_set):
12682 * specifier.c (Fcanonicalize_tag_set):
12683 * specifier.c (Fdefine_specifier_tag):
12684 * specifier.c (Fspecifier_tag_predicate):
12685 * specifier.c (check_valid_inst_list):
12686 * specifier.c (check_valid_spec_list):
12687 * specifier.c (decode_how_to_add_specification):
12688 * specifier.c (check_modifiable_specifier):
12689 * specifier.c (specifier_add_spec):
12690 * specifier.c (boolean_validate):
12691 * specifier.c (display_table_validate):
12694 * specifier.c (syms_of_specifier):
12695 Move some symbols to general-slots.h.
12699 * symbols.c (Fmapatoms):
12700 * symbols.c (Fapropos_internal):
12703 * symbols.c (set_default_buffer_slot_variable):
12704 * symbols.c (set_default_console_slot_variable):
12707 * symbols.c (defsymbol_massage_name_1):
12708 * symbols.c (defkeyword_massage_name):
12709 * symbols.c (deferror_1):
12710 * symbols.c (deferror):
12711 * symbols.c (deferror_massage_name_and_message):
12713 * symeval.h (DEFSYMBOL):
12714 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
12716 * symbols.c (syms_of_symbols):
12720 * symsinit.h (init_win32): New.
12721 Also new is syms_of_dialog_mswindows.
12724 Add new Unicode macros, missing Cygwin wide-char functions,
12725 convenience conversion macros for Qmswindows_tstr, macros for
12726 encapsulating required MSWin <-> Cygwin filename conversions,
12727 prototype for dynamically-extracted (not in NT 3.51) functions.
12732 * tooltalk.c (Fadd_tooltalk_message_arg):
12733 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12734 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12737 * tooltalk.c (syms_of_tooltalk):
12741 * unexnt.c (unexec):
12742 Fix up headers, declaration of unexec() to be more standard.
12744 2000-07-20 Martin Buchholz <martin@xemacs.org>
12746 * offix.h: Revert change to guard macros - they're used in offix.c!
12748 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12750 * lisp.h: Defsubred Fdelete.
12752 * console-msw.h: (msprinter_default_printer): Added.
12754 * console-msw.c (msprinter_canonicalize_console_connection):
12755 (msprinter_canonicalize_device_connection): Added.
12757 * device-msw.c (msprinter_default_printer):
12758 (Fmswingows_get_default_printer):
12759 (signal_enum_priner_error):
12760 (Fmswingows_printer_list): Added.
12762 2000-07-19 Martin Buchholz <martin@xemacs.org>
12764 * XEmacs 21.2.35 is released.
12766 2000-07-19 Martin Buchholz <martin@xemacs.org>
12768 * select-x.c (x_handle_selection_request):
12769 Text selected in xemacs and pasted into xterm failed to appear.
12770 Spelling fixes and cosmetic changes.
12772 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12774 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
12775 XEmacs frame (fix for doubling chars in dialog boxes).
12777 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12779 * select.c (select_convert_in, select_convert_out):
12780 Don't call intern() every time.
12782 * select.c (Qselect_convert_in, Qselect_convert_out): New.
12783 * select.c (vars_of_select): Initialise them.
12785 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12787 * select.c (selection-coercible-types): New.
12789 * select.c (own-selection-internal):
12790 * select.c (get-selection-internal):
12791 MULE bug fix - these should default to COMPOUND_TEXT and not
12792 STRING for MULE. I think.
12794 * select.c (select_convert_out): Use selection-coercible-types
12795 to find types that we can attempt to perform coercions on.
12797 2000-07-18 Martin Buchholz <martin@xemacs.org>
12801 Add coding: cookie to identify encoding.
12803 * mule-canna.c (CANNA_mode_keys): make static.
12804 Use proper prototypes, even for functions of no arguments.
12805 Remove external prototype for Fding().
12807 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
12809 * select.c (syms_of_select): Add missing DEFSUBR.
12811 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12813 * select.c (get_selection_internal, own_selection_internal):
12814 Make the type default to STRING, rather than placing a nil type
12815 into Vselection_alist.
12817 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12819 * gpmevent.c (tty_selection_exists_p):
12820 * gpmevent.c (tty_own_selection):
12821 Updated parameter lists.
12823 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
12825 * select.h (selection-alist): Removed declaration.
12827 * select.h (get_local_selection):
12828 * select.c (get_local_selection):
12831 * select.h (convert_selection): Removed declaration.
12832 * select.c (convert_selection): Removed.
12833 This function belongs in Lisp.
12835 * select.h (select_convert_in): Declare.
12836 * select.h (select_convert_out): Declare.
12837 * select.c (select_convert_in): New.
12838 * select.c (select_convert_out): New.
12839 New conversion functions for other files to call.
12841 * select.h (select_notify_buffer_kill): Declare.
12842 * select.c (select_notify_buffer_kill): New.
12843 New functions that get called from kill-buffer.
12845 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
12846 X-specific lisp code.
12848 * select.h: Declare some of the lisp-visible functions for
12851 * select.c (clean_local_selection_data): Removed. This was
12852 a disgusting function, and previously should have been in
12853 select-x.c in any case. The functionality is now provided
12854 in select-convert-from-integer (select.el).
12856 * select.c (available-selection-types): Fixed stupidity where
12857 INTEGER and ATOM got added twice. Also add STRING when we see an
12860 * select.c (get-selection-internal): Removed symbol stripping. No
12861 longer causes conversion when data comes from the internal cache.
12863 * select.c (syms_of_select): Added new functions.
12865 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
12866 error checking - previously this called abort!
12868 * select-x.c (x_own_selection): Changed comment.
12870 * select-x.c (x_handle_selection_request): Use select_convert_out.
12871 Don't mess with selection-alist; it's an internal variable of select.c.
12873 * select-x.c (x_get_foreign_selection): Use select_convert_in.
12875 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
12876 rather than messing with selection-alist.
12878 * select-msw.c (mswindows_get_foreign_selection):
12879 Use TO_INTERNAL_FORMAT rather than hacking.
12881 2000-07-14 Martin Buchholz <martin@xemacs.org>
12883 * process-unix.c (unix_open_multicast_group):
12884 (unix_open_multicast_group): Remove useless casts.
12886 2000-07-13 Martin Buchholz <martin@xemacs.org>
12888 * sound.c (Fplay_sound): Fix `unused variable' warning.
12890 * emacs.c (main): Use correct type for _environ on SCO5.
12892 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
12894 * console.h (own_selection_method):
12895 * console.h (selection_exists_p_method):
12896 * console.h (available_selection_types_method): New.
12897 * console.h (register_selection_data_type_method): New.
12898 * console.h (selection_data_type_name): New.
12900 * console-msw.h (mswindows_destroy_selection): Declare it. New
12901 function & alist to track GlobalAlloc()'d handles that need
12902 releasing when the clipboard data gets replaced or emptied.
12904 * event-msw.c (mswindows_wnd_proc): Call it.
12906 * lisp.h, general.c (Qappend): New symbol representing a
12909 * select.c (own-selection-internal):
12910 * select.c (selection-exists-p):
12911 * select.c (available-selection-types): New.
12912 * select.c (register-selection-data-type): New.
12913 * select.c (selection-data-type-name): New. New functions to deal
12914 with device-specific selection data formats.
12915 * select.c (selection-converter-out-alist): Renamed.
12916 * select.c (selection-converter-in-alist): New.
12917 * select.c (selection-appender-alist): New. Added new alists.
12918 * select.c (syms_of_select, vars_of_select): Added new symbols &
12920 * select.c (get_local_selection): Split.
12921 * select.c: Removed spurious type checking - selections may now be
12922 of any type, not just strings.
12923 * select.c (own-selection-internal):
12925 * select.h, select.c (convert_selection): New. Created
12926 convert_selection() function based on get_local_selection().
12927 * select.h, select.c (QCF_*): New symbols representing mswindows
12929 * select.h, select.c (Qreplace_all, Qreplace_existing): New
12930 symbols representing `how-to-add' modes.
12932 * select-msw.c (x_sym_p): New.
12933 * select-msw.c (symbol_to_ms_cf): New.
12934 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
12935 symbols & clipboard formats. Can also handle string names.
12936 * select-msw.c (mswindows_own_selection):
12937 * select-msw.c (mswindows_selection_exists_p):
12938 Added `data-type' parameter. Use it.
12939 * select-msw.c (mswindows_available_selection_types): New.
12940 * select-msw.c (mswindows_register_selection_data_type): New.
12941 * select-msw.c (mswindows_selection_data_type_name): New.
12942 * select-msw.c (mswindows_own_selection):
12943 * select-msw.c (mswindows_get_foreign_selection):
12944 * select-msw.c (mswindows_selection_exists_p): Rewrote.
12945 * select-msw.c (console_create_select_mswindows): Added new methods.
12946 * select-msw.c (mswindows_destroy_selection): New.
12947 * select-msw.c (Vhandle_alist): New list.
12948 * select-msw.c (mswindows_own_selection):
12950 * select-x.c (x_own_selection):
12951 * select-x.c (x_selection_exists_p):
12952 * select-x.c: Added some comments about maybe using new
12954 * select-x.c (x_own_selection):
12956 * specifier.c: Remove definition of Qappend (now in general.c)
12957 * specifier.c (syms_of_specifier): Remove Qappend.
12959 2000-07-12 Martin Buchholz <martin@xemacs.org>
12961 * config.h.in: Add socklen_t.
12963 * s/decosf4-0.h: No special compiler flags needed or desired.
12964 In particular, undefine _BSD for DEC OSF 4.0.
12966 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12968 * redisplay-msw.c (msprinter_frame_output_end): Added.
12969 (console_type_create_redisplay_mswindows): Referred the above.
12971 * frame.c (setup_frame_without_minibuffer): Do not create a
12972 default minibuffer frame on a printer device.
12974 * frame-msw.c (apply_dc_geometry): Added.
12975 (msprinter_start_page):
12976 (msprinter_init_frame_3):
12977 (msprinter_eject_page): Use it.
12979 * console-msw.h (struct msprinter_frame): Added pix_left and top,
12980 and removed residual duplex and orientation properties.
12982 2000-07-11 Martin Buchholz <martin@xemacs.org>
12984 * eval.c (function_argcount): Work around a DEC CC compiler bug.
12986 * unexalpha.c: Remove system prototypes from C sources!
12988 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
12990 * eval.c: Remove references to M-x edit-options in DEFUNs for
12991 `defvar' and `defconst'.
12993 2000-07-09 Martin Buchholz <martin@xemacs.org>
12995 * config.h.in: Remove SMART_INCLUDE hackery.
12997 PostgreSQL hacking:
12998 * config.h.in: Don't use SMART_INCLUDE.
13000 * postgresql.h: Include libpq-fe.h here. Fix typo.
13001 * inline.c: Simply #include "postgresql.h"
13003 - Don't use SMART_INCLUDE
13004 - Use simply "const".
13005 - Use standard doc string conventions.
13006 - Use correct type for result of PQstatus.
13008 2000-07-09 Martin Buchholz <martin@xemacs.org>
13010 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
13012 C++ compilation changes.
13013 * config.h.in (EXTERN_C): Define.
13014 * config.h.in (not): This is also a C++ keyword.
13015 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
13016 * cm.c: Use EXTERN_C.
13017 * redisplay-tty.c: Use EXTERN_C.
13018 * sysdep.c: Use EXTERN_C. Remove Gould support.
13020 2000-07-09 Martin Buchholz <martin@xemacs.org>
13022 * general.c: Remove duplicate definition for Qfunction.
13024 2000-07-08 Ben Wing <ben@xemacs.org>
13026 * device-msw.c (msprinter_init_device):
13027 * device-msw.c (sync_printer_with_devmode):
13028 * device-msw.c (handle_devmode_changes):
13029 * device-msw.c (print_dialog_worker):
13030 * device-msw.c (Fmsprinter_apply_settings):
13031 * device-msw.c (hash_devmode):
13032 * device-msw.c (Fmsprinter_settings_despecialize):
13033 use Qmswindows_tstr, not Qctext.
13035 * vm-limit.c (check_memory_limits):
13036 avoid infinite loop printing warning messages.
13038 2000-07-05 Craig Lanning <lanning@scra.org>
13040 * Makefile.in.in: Add support for including the Windows resources
13041 when building with the cygwin and mingw targets.
13043 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
13044 not set or not correct.
13045 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
13046 (init_initial_directory): Don't try to use $PWD on the
13047 WIN32_NATIVE target.
13050 [[Add -mwindows to eliminate console window.]] not required --ben
13051 (HAVE_NATIVE_SOUND): removed; now handled by configure.
13052 (MAIL_USE_POP): removed; now handled by configure.
13054 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
13055 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
13056 (HAVE_NATIVE_SOUND): removed; now handled by configure.
13057 (MAIL_USE_POP): removed; now handled by configure.
13058 (ENCAPSULATE_STAT): from Dan Holmsand, added.
13059 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
13060 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
13062 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
13063 up from <winsock.h> via systime.h.
13064 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
13065 (getpagesize): from Dan Holmsand, added.
13066 Added #endif which was left dangling by Ben's mega patch; added
13067 comment to help prevent this in the future.
13069 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
13071 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13073 * console-msw.h (struct mswindows_device): Removed unnecessary
13074 cached device geometry values.
13075 Added update_tick and an accessor macro.
13076 (Lisp_Devmode): Added lrecord declaration.
13077 (struct msprinter_device): Contain devmode as a Lisp object.
13078 Added mswindows_get_selected_frame_hwnd();
13080 * console.h (struct console_methods): Indentation nitpicking.
13082 * device-msw.c (mswindows_init_device): Do not initialize geometry
13083 cache. Initialize update tick.
13084 (mswindows_device_system_metrics): Ask the device for its geometry.
13085 (global_free_2_maybe):
13086 (devmode_to_hglobal):
13087 (handle_printer_changes):
13088 (ensure_not_printing):
13089 (print_dialog_worker):
13090 (Fmsprinter_print_setup_dialog):
13091 (Fmsprinter_print_dialog):
13092 (plist_get_margin):
13093 (plist_set_margin):
13094 (Fmsprinter_page_setup_dialog): Added functions.
13095 (sync_printer_with_devmode):
13096 (handle_devmode_changes):
13097 (Fmsprinter_get_settings):
13098 (Fmsprinter_select_settings):
13099 (Fmsprinter_apply_settings):
13100 (allocate_devmode):
13101 (Fmsprinter_settings_copy):
13102 (Fmsprinter_settings_despecialize):
13104 (finalize_devmode):
13106 (hash_devmode): Added functions
13107 (syms_of_device_mswindows): Init devmode lrecord class.
13109 * device.h: Added an exfun for find-device.
13111 * event-msw.c (mswindows_wnd_proc): Do not update the cached
13112 geometry; although, recreate the device compatible DC.
13114 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
13115 (msprinter_init_frame_3):
13116 (msprinter_frame_property):
13117 (msprinter_internal_frame_property_p):
13118 (msprinter_frame_properties):
13119 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
13120 print job properties (will move to device settings).
13122 * lisp.h: Added symbols.
13124 * general.c (syms_of_general): Declared them.
13126 * hash.c (string_hash): Added.
13128 * lrecord.h (lrecord_type): Added devmode lrecord type.
13130 2000-07-02 Mike Sperber <mike@xemacs.org>
13132 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
13135 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
13137 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
13140 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
13142 * data.c (Fstring_to_number): Don't recognize floating point if
13145 2000-06-22 Martin Buchholz <martin@xemacs.org>
13147 * glyphs-widget.c (tab_control_query_geometry):
13148 (widget_query_geometry):
13149 (button_query_geometry):
13150 * glyphs.c (text_query_geometry):
13151 Enforce type correctness.
13153 2000-06-18 Martin Buchholz <martin@xemacs.org>
13155 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
13156 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
13158 2000-06-17 Martin Buchholz <martin@xemacs.org>
13160 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
13161 conflicts with gcc's fixincluded version of FOO.h.
13163 * glyphs.h (image_instance_geometry): Remove trailing `,'
13165 2000-06-08 Mike Alexander <mta@arbortext.com>
13167 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
13168 (shove_thread): Don't write the same output twice
13169 (make_ntpipe_output_stream): Increase priority of shove thread
13170 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
13172 (ntpipe_shove_closer): Don't delete the pipe until we're done with
13175 2000-06-12 Ben Wing <ben@xemacs.org>
13177 * s\mingw32.h (sigset):
13178 * s\windowsnt.h (sigset):
13179 rename msw_ to mswindows_ for consistency with general convention.
13181 2000-06-12 Ben Wing <ben@xemacs.org>
13184 * console-msw.c (mswindows_get_console_hwnd):
13185 * console-msw.c (mswindows_ensure_console_allocated):
13186 * console-msw.c (mswindows_hide_console):
13187 * console-msw.c (mswindows_show_console):
13188 * console-msw.c (mswindows_ensure_console_buffered):
13189 * console-msw.c (mswindows_output_console_string):
13190 * console-msw.c (mswindows_windows9x_p):
13192 * device-msw.c (mswindows_get_workspace_coords):
13193 * device-msw.c (mswindows_device_system_metrics):
13194 * dialog-msw.c (mswindows_popup_dialog_box):
13195 * event-msw.c (mswindows_wnd_proc):
13196 * frame-msw.c (mswindows_size_frame_internal):
13197 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
13198 * menubar-msw.c (displayable_menu_item):
13199 * menubar-msw.c (mswindows_char_is_accelerator):
13201 * nt.c (mswindows_sigset):
13202 * nt.c (mswindows_sigrelse):
13203 * nt.c (mswindows_sigpause):
13204 * nt.c (mswindows_raise):
13205 * nt.c (timer_proc):
13207 * ntproc.c (find_child_console):
13208 * ntproc.c (sys_kill):
13210 * print.c (std_handle_out_external):
13211 * process-nt.c (find_child_console):
13212 * process-nt.c (send_signal_the_95_way):
13213 * process-nt.c (ensure_console_window_exists):
13214 * process-nt.c (nt_create_process):
13216 rename msw_ to mswindows_ for consistency with general convention.
13220 include nt.h, not syswindows.h.
13222 * nt.c (mswindows_fstat):
13223 * nt.c (mswindows_stat):
13224 prefix mswindows_ instead of attempting to directly override the
13225 library functions. fix declarations.
13228 include syswindows.h. move some sysdep.h stuff here.
13231 include syswindows.h, not <windows.h>.
13239 * sysdep.c (sys_fstat):
13240 * sysdep.c (sys_stat):
13241 call mswindows versions when appropriate.
13244 move mswin decls to nt.h.
13247 add long comment describing appropriate use of the various windows
13250 2000-06-11 Ben Wing <ben@xemacs.org>
13252 * device-x.c: Correct doc string for sixth arg of x-get-resource.
13254 2000-06-10 Ben Wing <ben@xemacs.org>
13256 * Makefile.in.in (release):
13257 Correction to make sure xemacs.exe always dumped when correct.
13261 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
13263 * buffer.c (set_buffer_internal):
13264 [[[[2]]]]: Remove HAVE_FEP code.
13266 * buffer.c (init_initial_directory):
13270 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
13274 * callproc.c (call_process_cleanup):
13275 * callproc.c (Fold_call_process_internal):
13276 * callproc.c (child_setup):
13277 * callproc.c (getenv_internal):
13278 * callproc.c (init_callproc):
13279 * callproc.c (vars_of_callproc):
13280 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
13281 __CYGWIN32__ -> CYGWIN.
13282 DOS_NT -> WIN32_NATIVE.
13283 Remove MSDOS support/references, converting to WIN32_NATIVE
13285 __MINGW32__ -> MINGW.
13286 Fix windows.h includes.
13287 Remove bogus HAVE_NTGUI.
13293 mswindows_message_outputted added for use in allowing startup
13294 errors on the console to be seen.
13296 * console-msw.c (msw_ensure_console_allocated):
13297 * console-msw.c (msw_output_console_string):
13298 * console-msw.c (DHEADER):
13299 * console-msw.c (DOPAQUE_DATA):
13300 * console-msw.c (DEVENT):
13301 * console-msw.c (DCONS):
13302 * console-msw.c (DCONSCDR):
13303 * console-msw.c (DSTRING):
13304 * console-msw.c (DVECTOR):
13305 * console-msw.c (DSYMBOL):
13306 * console-msw.c (DSYMNAME):
13309 * console-stream.c (stream_init_console):
13310 Fix text/binary problems.
13313 * device-msw.c (mswindows_finish_init_device):
13314 * device-msw.c (mswindows_delete_device):
13317 * device.c (handle_asynch_device_change):
13321 * dgif_lib.c (DGifOpenFileName):
13322 * dgif_lib.c (DGifOpenFileHandle):
13323 * dgif_lib.c (DGifGetLine):
13324 * dgif_lib.c (DGifGetPixel):
13325 Added config.h/lisp.h, fix up includes.
13332 * dired.c (file_name_completion):
13333 * dired.c (Ffile_attributes):
13334 * dired.c (syms_of_dired):
13338 * dumper.c (pdump_file_unmap):
13339 * dumper.c (pdump_load):
13343 * editfns.c (Ftemp_directory):
13344 * editfns.c (user_login_name):
13345 * editfns.c (Fuser_real_login_name):
13346 * editfns.c (get_home_directory):
13349 * elhash.c (finish_marking_weak_hash_tables):
13350 [[[[5]]]]: Fix GCC warnings.
13353 * emacs.c (mswindows_handle_hardware_exceptions):
13354 * emacs.c (make_arg_list_1):
13355 * emacs.c (main_1):
13356 * emacs.c (Fkill_emacs):
13357 * emacs.c (Fdump_emacs):
13359 Fix problems with nested crashes, add long comment.
13361 * event-Xt.c (init_event_Xt_late):
13365 * event-msw.c (mswindows_dde_callback):
13366 * event-msw.c (mswindows_handle_sticky_modifiers):
13367 * event-msw.c (mswindows_wnd_proc):
13371 * events.c (character_to_event):
13375 * fileio.c (Ffile_name_directory):
13376 * fileio.c (Ffile_name_nondirectory):
13377 * fileio.c (directory_file_name):
13378 * fileio.c (Fexpand_file_name):
13379 * fileio.c (Fsubstitute_in_file_name):
13380 * fileio.c (Ffile_name_absolute_p):
13381 * fileio.c (check_executable):
13382 * fileio.c (Ffile_readable_p):
13383 * fileio.c (Ffile_accessible_directory_p):
13384 * fileio.c (Ffile_modes):
13385 * fileio.c (Funix_sync):
13386 * fileio.c (vars_of_fileio):
13389 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
13391 Expand getdefdir defn.
13392 Fix bogus rename() comment.
13394 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
13395 to use standard XEmacs include files, e.g. sysfile.h, rather
13396 than system-specific includes.
13402 * frame.c (vars_of_frame):
13406 * getloadavg.c (getloadavg):
13408 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
13409 (We don't use it elsewhere in the code; just add a comment.)
13416 * glyphs-msw.c (mswindows_resource_instantiate):
13419 * glyphs-x.c (x_native_layout_instantiate):
13422 * gui-msw.c (Fmswindows_shell_execute):
13431 * lread.c (locate_file_in_directory_mapper):
13438 * mem-limits.h (get_lim_data):
13450 * nt.c (rva_to_section):
13451 * nt.c (mswindows_executable_type):
13453 Fix closedir() defn.
13456 [[[[8]]]]: *_OK defs moved to sysfile.h.
13465 * print.c (std_handle_out_external):
13469 * process-nt.c (nt_create_process):
13471 try to fix process quoting somewhat.
13473 * process-unix.c (unix_create_process):
13477 * process.c (vars_of_process):
13484 * realpath.c (xrealpath):
13487 * redisplay-tty.c (init_tty_for_redisplay):
13497 * sheap.c (more_static_core):
13498 * sheap.c (report_sheap_usage):
13502 * signal.c (alarm_signal):
13509 * strftime.c (zone_name):
13512 * symsinit.h (init_sunpro):
13516 commctrl.h not in Cygwin b20.1.
13519 * sysdep.c (endif):
13520 * sysdep.c (sys_subshell):
13521 * sysdep.c (init_baud_rate):
13522 * sysdep.c (emacs_get_tty):
13523 * sysdep.c (emacs_set_tty):
13524 * sysdep.c (tty_init_sys_modes_on_device):
13525 * sysdep.c (init_system_name):
13526 * sysdep.c (sys_open):
13527 * sysdep.c (interruptible_open):
13528 * sysdep.c (sys_fopen):
13529 * sysdep.c (sys_mkdir):
13530 * sysdep.c (sys_rename):
13531 * sysdep.c (get_process_times_1):
13538 * sysdir.h (DIRENTRY_NONEMPTY):
13541 * sysdll.c (dll_init):
13547 added text/binary defs.
13553 * sysproc.h (EDESTADDRREQ):
13554 * sysproc.h (poll_fds_for_input):
13571 Always define WIN32_LEAN_AND_MEAN.
13573 * unexcw.c (unexec):
13577 * unexec.c (copy_text_and_data):
13578 * unexec.c (adjust_lnnoptrs):
13582 * unexnt.c (_start):
13585 2000-06-07 Ben Wing <ben@xemacs.org>
13587 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
13588 was used only as a model. We've long since extracted any useful
13589 logic or code out of this. (I just did an exhaustive search.)
13591 * s\msdos.h: Removed.
13593 * s\windows95.h: Removed.
13595 2000-06-10 Ben Wing <ben@xemacs.org>
13599 Don't use extern with fun defs.
13603 Remove nt\inc include.
13604 Remove getdisk, getdefdir. (The former is unused, the latter
13605 expanded in fileio.h.)
13608 * s\windowsnt.h (WIN32_NATIVE):
13609 * s\windowsnt.h (HAVE_STRCASECMP):
13611 Add long comment about preprocessor changes.
13612 Remove getdisk, getdefdir. (The former is unused, the latter
13613 expanded in fileio.h.)
13615 2000-06-10 Ben Wing <ben@xemacs.org>
13624 Remove bogus/unused NO_SOCK_SIGIO.
13626 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
13628 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
13631 2000-06-04 Mike Sperber <mike@xemacs.org>
13633 * casetab.c (set_case_table): For `set-standard-case-table',
13634 actually deposit the new case tables where the rest of XEmacs can
13637 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
13639 * data.c (Faset): Don't cast XCHAR() to unsigned char.
13641 2000-06-05 Ben Wing <ben@xemacs.org>
13643 * callproc.c (child_setup): Don't do close_load_descs() under
13644 MS Windows. Put in a comment explaining why.
13646 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
13648 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
13649 Toolkit shell" which breaks `kill-compilation' on Windows NT
13650 native, retaining STDERR handling improvements.
13652 2000-06-01 Andreas Jaeger <aj@suse.de>
13654 * s/s390.h: Support for S390, based on a patch by Martin
13655 Schwidefsky <schwidefsky@de.ibm.com>.
13657 2000-05-30 Andy Piper <andy@xemacs.org>
13659 * window.c (allocate_window):
13660 (make_dummy_parent):
13661 (Fset_window_configuration): use new hashtable type.
13663 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
13664 (struct image_instantiator_methods):
13665 (struct Lisp_Image_Instance): make instance geometry signed.
13667 * glyphs.c (instantiate_image_instantiator):
13668 (image_instance_query_geometry):
13669 (image_instance_layout):
13670 (image_instance_layout):
13671 (query_string_geometry):
13672 (text_query_geometry):
13673 (image_instantiate):
13674 (image_instantiate):
13675 (cache_subwindow_instance_in_frame_maybe):
13676 (subwindow_query_geometry): make instance geometry signed.
13678 * glyphs-widget.c (widget_query_geometry):
13680 (button_query_geometry):
13681 (tree_view_query_geometry):
13682 (tab_control_query_geometry):
13683 (layout_query_geometry):
13685 (native_layout_layout): make instance geometry signed.
13687 2000-05-29 Olivier Galibert <galibert@pobox.com>
13689 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
13692 * general.c (syms_of_general): Add Qfull_assoc symbol.
13694 * data.c (finish_marking_weak_lists): Mark full-assoc lists
13696 (decode_weak_list_type): Decode full-assoc type.
13697 (encode_weak_list_type): Encode full-assoc type.
13698 (Fmake_weak_list): Update doc string.
13700 2000-05-30 Andy Piper <andy@xemacs.org>
13702 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
13704 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
13705 (decode_hash_table_weakness): ditto.
13706 (Fhash_table_weakness): ditto.
13707 (Fhash_table_type): ditto.
13708 (finish_marking_weak_hash_tables): ditto.
13709 (hash_table_weakness_validate): ditto.
13710 (syms_of_elhash): ditto.
13712 2000-05-28 Martin Buchholz <martin@xemacs.org>
13714 * XEmacs 21.2.34 is released.
13716 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13718 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
13720 (updating_line_start_cache): Gone.
13721 (regenerate_window): Replace resetting of VERTICAL_CLIP by
13722 generic code to force a minimum of 1 line laid out in the
13725 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13727 * glyphs.c (instantiate_image_instantiator): Check for initialized
13728 height & width no longer special cases IMAGE_NOTHING.
13729 (nothing_instantiate): Set height and width of instance.
13731 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
13733 * unexelf.c (unexec): Search for ".data" section.
13734 Initialize new_data2_offset from old_data_index.
13735 Remove redundant check for ElfW.
13737 2000-05-23 Andy Piper <andy@xemacs.org>
13739 * glyphs.c (get_image_instantiator_governing_domain): allow more
13740 specific domains as the governing domain rather than expecting an
13741 exact match. This fixes problems with layouts.
13743 2000-05-22 Andy Piper <andy@xemacs.org>
13745 * redisplay-output.c (compare_runes): check for non-images
13747 * glyphs.c (set_glyph_dirty_p): ditto.
13748 (update_glyph_cachel_data): ditto.
13750 * glyphs-widget.c (layout_post_instantiate): ditto.
13751 (layout_post_instantiate): ditto.
13753 * event-msw.c (mswindows_wnd_proc): warning removal.
13755 2000-05-12 Craig Lanning <CraigL@DyCon.com>
13757 * s\mingw32.h: Added #undef for CLASH_DETECTION.
13759 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
13761 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
13763 * nt.c (rva_to_section): mingw32 needs rva_to_section.
13764 (mswindows_executable_type): mingw32 now has enough headers for
13767 2000-05-20 Andy Piper <andy@xemacs.org>
13769 * console-msw.c (mswindows_output_last_error): ; -> ,
13771 2000-05-12 Andy Piper <andy@xemacs.org>
13773 * console-msw.c (FROB): compare ints with ints.
13775 2000-05-11 Andy Piper <andy@xemacs.org>
13777 * glyphs-x.c (x_finalize_image_instance): make minimal build
13780 2000-05-20 Ben Wing <ben@xemacs.org>
13783 * event-Xt.c (vars_of_event_Xt):
13784 move modifier-keys-are-sticky to event-stream.c.
13787 * event-msw.c (mswindows_enqueue_mouse_button_event):
13788 * event-msw.c (key_needs_default_processing_p):
13789 * event-msw.c (XEMSW_LCONTROL):
13790 * event-msw.c (mswindows_handle_sticky_modifiers):
13791 * event-msw.c (FROB):
13792 * event-msw.c (clear_sticky_modifiers):
13793 * event-msw.c (output_modifier_keyboard_state):
13794 * event-msw.c (output_alt_keyboard_state):
13795 * event-msw.c (mswindows_wnd_proc):
13796 * event-msw.c (mswindows_modifier_state):
13797 * event-msw.c (emacs_mswindows_handle_magic_event):
13798 implement sticky modifiers.
13801 * event-stream.c (vars_of_event_stream):
13802 move modifier-keys-are-sticky here.
13805 add CHECK_FUNCTION.
13808 implement map-range-table.
13811 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
13813 * redisplay-tty.c (reset_tty_modes):
13814 (tty_redisplay_shutdown): Adjust argument type to
13815 tty_frame_output_end.
13817 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13819 * eval.c (Fbacktrace): Don't output a line with only right
13822 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
13824 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
13825 (Fpq_reset_poll): Ditto.
13827 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
13829 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
13831 2000-05-16 Ben Wing <ben@xemacs.org>
13834 * buffer.c (dfc_convert_to/from_internal_format):
13835 * buffer.c (reinit_vars_of_buffer):
13836 Fix conversion functions to allow reentrancy.
13839 * console-msw.c (mswindows_output_last_error):
13840 New fun, generally useful -- output a human-readable
13841 version of GetLastError() on the console.
13844 * console-msw.h (struct mswindows_frame):
13845 Changes for DeferWindowPos. Declare mswindows_output_last_error().
13847 * console-stream.c (stream_output_begin):
13848 * console-stream.c (stream_output_end):
13849 * console-stream.c (stream_output_vertical_divider):
13850 * console-stream.c (stream_clear_region):
13851 * console-stream.c (stream_flash):
13852 * console-stream.c (console_type_create_stream):
13853 Delete blank stream methods, not needed.
13855 * console.h (struct console_methods):
13856 Split begin/end methods into window and frame.
13859 * event-msw.c (mswindows_handle_paint):
13860 * event-msw.c (output_alt_keyboard_state):
13861 * event-msw.c (mswindows_wnd_proc):
13862 * event-msw.c (vars_of_event_mswindows):
13863 Comment about problems with ignored-expose.
13864 Define mswindows-debug-events; not really implemented.
13866 * frame-msw.c (mswindows_init_frame_1):
13870 * glyphs-msw.c (begin_defer_window_pos):
13871 * glyphs-msw.c (mswindows_unmap_subwindow):
13872 * glyphs-msw.c (mswindows_map_subwindow):
13873 * glyphs-msw.c (mswindows_resize_subwindow):
13874 Use DeferWindowPos to reduce flashing when mapping/unmapping.
13876 * glyphs.c (make_image_instance_1):
13879 * gutter.c (Fredisplay_gutter_area):
13880 Use new begin/end methods.
13882 * lisp.h (Dynarr_new2):
13886 * redisplay-msw.c (mswindows_frame_output_begin):
13887 * redisplay-msw.c (mswindows_frame_output_end):
13888 * redisplay-msw.c (console_type_create_redisplay_mswindows):
13889 New begin/end methods -- handle DeferWindowPos.
13891 * redisplay-output.c (redisplay_move_cursor):
13892 * redisplay-output.c (redraw_cursor_in_window):
13893 * redisplay-output.c (redisplay_update_line):
13894 * redisplay-output.c (redisplay_output_window):
13895 New begin/end methods.
13898 * redisplay-tty.c (tty_frame_output_begin):
13899 * redisplay-tty.c (tty_frame_output_end):
13900 * redisplay-tty.c (console_type_create_redisplay_tty):
13901 New begin/end methods.
13904 * redisplay-x.c (x_window_output_begin):
13905 * redisplay-x.c (x_window_output_end):
13906 * redisplay-x.c (console_type_create_redisplay_x):
13907 New begin/end methods.
13909 * redisplay.c (redisplay_frame):
13910 * redisplay.c (Fredisplay_echo_area):
13911 New begin/end methods.
13912 use MAYBE_DEVMETH for clear_frame; it may not exist.
13914 * window.h (WINDOW_XFRAME):
13915 WINDOW_XFOO macros -- get locale and decode struct pointer.
13918 2000-05-12 Ben Wing <ben@xemacs.org>
13921 * emacs.c (ensure_no_quitting_from_now_on):
13922 * emacs.c (fatal_error_signal):
13923 * emacs.c (mswindows_handle_hardware_exceptions):
13925 * emacs.c (Fkill_emacs):
13926 * emacs.c (shut_down_emacs):
13927 * emacs.c (assert_failed):
13928 various improvements in fatal error handling.
13931 move preparing_for_armageddon to emacs.c.
13934 declare fatal_error_in_progress.
13937 * print.c (std_handle_out_external):
13938 * print.c (std_handle_out_va):
13939 * print.c (stderr_out):
13940 * print.c (stdout_out):
13941 use console under mswin when no standard output.
13942 don't do code conversion during fatal error.
13944 * scrollbar.c (Fscrollbar_page_up):
13945 * scrollbar.c (Fscrollbar_page_down):
13946 fix missing else. reindent.
13948 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
13952 * glyphs.h (GLYPH_CACHEL_DESCENT):
13953 (GLYPH_CACHEL_DESCENT):
13954 (GLYPH_CACHEL_DESCENT):
13955 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
13956 used in case these are inline functions.
13957 Use more absurd values to error check.
13959 include window.h for error check functions.
13961 2000-05-11 Ben Wing <ben@xemacs.org>
13963 * cmdloop.c (Freally_early_error_handler):
13964 Display message box under windows; otherwise, message will disappear
13965 before it can be viewed.
13968 * console-msw.c (Fmswindows_message_box):
13969 * console-msw.c (FROB):
13970 * console-msw.c (syms_of_console_mswindows):
13971 Define new fun `mswindows-message-box'.
13972 #### I will merge this into `popup-dialog-box'; just give me
13976 * general.c (syms_of_general):
13977 Some new symbols used in `mswindows-message-box'.
13980 * glyphs.c (Fset_image_instance_property):
13981 put warning in this fun.
13984 * glyphs.h (GLYPH_CACHEL_WIDTH):
13985 * glyphs.h (GLYPH_CACHEL_ASCENT):
13986 * glyphs.h (GLYPH_CACHEL):
13987 * glyphs.h (GLYPH_CACHEL_GLYPH):
13988 define error-checking versions to try to catch a bug i've seen --
13989 redisplay gets in an infinite loop because the glyph width of the
13990 continuation glyph is 65535.
13993 Extern message-box stuff.
13995 * window.c (allocate_window):
13996 * window.c (make_dummy_parent):
13997 * window.c (Fset_window_configuration):
13998 Use EQUAL not EQ for subwindow caches to make them work a bit
13999 better. (Something is still very broken.)
14002 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
14004 * glyphs.c (image_instantiate): Suppress gcc warnings.
14005 (Fmake_image_instance): Fix doc string.
14006 * specifier.c (Fmake_specifier): Ditto.
14008 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
14010 * paths.h.in (PATH_LOCK): Removed.
14011 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
14012 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
14014 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14016 * fns.c (Ffeaturep): Update e-mail address in doc-string.
14017 Document (featurep '(and xemacs 21.02)).
14019 2000-05-09 Ben Wing <ben@xemacs.org>
14021 * buffer.c (complex_vars_of_buffer):
14022 update modeline-format doc.
14025 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
14028 timeline of all released versions of Emacs, for use in creating
14029 authorship comments and in synching up.
14031 * glyphs-widget.c (image_instantiator_buttons):
14032 * glyphs-widget.c (image_instantiator_edit_fields):
14033 * glyphs-widget.c (image_instantiator_combo_box):
14034 * glyphs-widget.c (image_instantiator_scrollbar):
14035 * glyphs-widget.c (image_instantiator_progress_guage):
14036 * glyphs-widget.c (image_instantiator_tree_view):
14037 * glyphs-widget.c (image_instantiator_tab_control):
14038 * glyphs-widget.c (image_instantiator_labels):
14039 * glyphs-widget.c (image_instantiator_layout):
14040 * glyphs-widget.c (image_instantiator_native_layout):
14041 rename decode_domain method to governing_domain.
14044 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
14045 * glyphs.c (add_entry_to_device_ii_format_list):
14046 make sure we don't put an entry more than once into the list.
14047 * glyphs.c (check_instance_cache_mapper):
14048 *************************************************************
14049 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14051 *************************************************************
14052 * glyphs.c (get_image_instantiator_governing_domain):
14053 clean up, expand on new concept of governing domain.
14054 * glyphs.c (instantiate_image_instantiator):
14055 * glyphs.c (allocate_image_instance):
14056 use governing_domain instead of cache_domain in naming.
14057 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
14058 * glyphs.c (make_image_instance_1):
14059 * glyphs.c (Fmake_image_instance):
14060 allow for any domain (not just device), and process the
14061 governing domain correctly. very big doc fix.
14062 * glyphs.c (Fimage_instance_domain):
14063 new primitive, to retrieve the governing domain of an image instance.
14064 * glyphs.c (image_instantiate):
14065 use new governing_domain stuff. this fixes a crash you could get
14066 by instantiating certain widget glyphs in frame locales. (should
14067 signal an error instead of crashing.)
14068 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
14069 * glyphs.c (Fglyphp): clean up doc.
14070 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
14071 * glyphs.c (syms_of_glyphs):
14072 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
14073 * glyphs.c (image_instantiator_format_create): add some comments about
14075 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
14076 for current-display-table. (Apparently Hrjove implemented in 1998 a
14077 design I wrote up in 1996, but didn't update the doc string.)
14079 * glyphs.h: clean up a doc string.
14080 * glyphs.h (governing_domain):
14081 * glyphs.h (struct image_instantiator_methods):
14082 changes for governing_domain stuff.
14085 * gutter.c (Fgutter_specifier_p):
14086 * gutter.c (Fgutter_size_specifier_p):
14087 * gutter.c (Fgutter_visible_specifier_p):
14089 * objects.c (Fcolor_specifier_p):
14090 * objects.c (Ffont_specifier_p):
14091 * objects.c (Fface_boolean_specifier_p):
14092 doc strings moved to make-*-specifier.
14094 * redisplay.c (add_disp_table_entry_runes_1):
14095 * redisplay.c (generate_fstring_runes):
14096 * redisplay.c (screen):
14097 add random comments and doc strings.
14100 * specifier.c (Fmake_specifier):
14101 major overhaul of this doc string.
14103 * specifier.c (Fvalid_specifier_domain_p):
14104 comment about the bogosity of image instances being domains.
14105 * specifier.c (decode_domain):
14106 now non-static, used in glyphs.c.
14107 * specifier.c (specifier_instance):
14108 comment about the bogosity of image instances being domains.
14109 * specifier.c (Fgeneric_specifier_p):
14110 move doc string to make-generic-specifier.
14111 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
14115 * specifier.h (DOMAIN_FRAME):
14116 * specifier.h (DOMAIN_LIVE_P):
14117 * specifier.h (DOMAIN_XDEVICE):
14119 add comments about problems with these macros.
14120 prototype for decode_domain.
14123 * toolbar.c (Ftoolbar_specifier_p):
14124 move doc string to `make-toolbar-specifier'.
14126 * window.c (window_unmap_subwindows_cache_mapper):
14127 *************************************************************
14128 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14130 *************************************************************
14132 2000-05-09 Andy Piper <andy@xemacs.org>
14134 * glyphs.h: declare reset_frame_subwindow_instance_cache.
14136 * window.c (Fset_window_configuration): reset the frame subwindow
14137 cache and re-initialize the window subwindow caches.
14139 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
14141 2000-05-09 Ben Wing <ben@xemacs.org>
14143 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
14146 2000-04-26 Mike Woolley <mike@bulsara.com>
14148 * ntheap.c: Changed recreate_heap to limit the amount reserved
14149 for the heap to that which is actually available. Also now
14150 displays a message box (with some dignostics) in the event that
14151 it still can't start.
14153 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14155 * callproc.c (Fold_call_process_internal): GCPRO path
14157 2000-05-08 Jan Vroonhof <jan@xemacs.org>
14159 Patch by Bill Perry.
14161 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
14162 back data instead of #ifdef.
14163 (Fscrollbar_page_down): ditto.
14165 2000-05-07 Ben Wing <ben@xemacs.org>
14168 Kludge for defining Qmswindows_tstr.
14171 * nt.c (open_input_file):
14172 * nt.c (open_output_file):
14173 * nt.c (rva_to_section):
14174 * nt.c (mswindows_executable_type):
14175 Move all memory-mapped-file routines here (some were in unexnt.c,
14176 which is bad because they are used by process-nt.c, and unexnt
14177 won't be around when portable dumping). Synched the above routines
14181 Removed ifdef'd out bogus code.
14182 Fixed some prototypes.
14184 * nt.h (file_data):
14185 * nt.h (OFFSET_TO_RVA):
14186 * nt.h (RVA_TO_OFFSET):
14187 * nt.h (RVA_TO_PTR):
14188 Moved the memory-mapped-file structures, macros and prototypes
14189 here, to parallel nt.c. ntheap.h should really be removed
14190 entirely, and it's a non-portable-dumper specific file.
14192 * ntheap.h (round_to_next):
14193 Moved the memory-mapped-file structures, macros and prototypes
14196 * ntproc.c (compare_env):
14197 Moved rva_to_section and mswindows_executable_type to nt.c.
14198 Moved compare_env to process-nt.c.
14199 ntproc.c will die, one day.
14201 * ntproc.c (sys_spawnve):
14202 Account for win32_ -> mswindows_.
14205 * process-nt.c (struct nt_process_data):
14206 * process-nt.c (ensure_console_window_exists):
14207 * process-nt.c (compare_env):
14208 * process-nt.c (nt_create_process):
14209 * process-nt.c (nt_kill_process_by_pid):
14210 * process-nt.c (syms_of_process_nt):
14211 * process-nt.c (vars_of_process_nt):
14212 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
14213 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
14214 changes). Eliminate our old `nt-quote-process-args' mechanism.
14215 Synch up nt_create_process with FSF 20.6 sys_spawnve.
14216 Move compare_env here from ntproc.c.
14218 * process.c (Fprocess_send_region):
14219 Takes an optional fourth argument, BUFFER, which should fix some
14220 problems with call-process.
14223 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
14226 Move ICC_BAR_CLASSES to syscommctrl.h.
14227 Add preliminary macros for MSWindows/Mule. More to come.
14230 * unexnt.c (unexec):
14231 open_output_file moved to nt.c.
14234 2000-05-05 Andy Piper <andy@xemacs.org>
14236 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
14237 instance from the frame cache also since GC may catch up too late
14238 to make frame deletion sane.
14240 2000-05-04 Andy Piper <andy@xemacs.org>
14242 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
14243 (x_finalize_image_instance): ungcpro on deletion.
14245 * glyphs.c (image_instantiator_format_create): give pointers a
14246 query geometry method so that the geometry is at least set.
14248 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
14249 initialize layouts if using widgets.
14251 2000-05-03 Andy Piper <andy@xemacs.org>
14253 * nt.c: remove bogus reference to sysmmsystem.h
14255 * gui-x.c (popup_selection_callback): fix no selection abort.
14257 2000-05-02 Andy Piper <andy@xemacs.org>
14259 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
14260 (mswindows_widget_instantiate): ditto.
14262 * glyphs-widget.c (initialize_widget_image_instance): initialize
14263 children correctly.
14264 (widget_instantiate): cope with children and items in the same
14267 * glyphs.c (mark_image_instance): cope with children as a first
14269 (image_instance_equal): ditto.
14270 (image_instance_hash): ditto.
14271 (image_instance_changed): ditto.
14273 2000-04-30 Andy Piper <andy@xemacs.org>
14275 * glyphs.c (subwindow_query_geometry): new function. Return some
14277 (subwindow_instantiate): don't assign dimensions if none have been
14279 (image_instantiator_format_create): add subwindow_query_geometry.
14280 (print_image_instance): cope with layouts as widgets.
14282 2000-04-29 Andy Piper <andy@xemacs.org>
14284 * frame.c (delete_frame_internal): call
14285 free_frame_subwindow_instance_cache so that all subwindows are
14286 finalized before their parent.
14287 (mark_frame): remove subwindow_cachels.
14288 (Fmake_frame): remove subwindow_cachel manipulation.
14289 (allocate_frame_core): subwindow_instance_cache is a weak list.
14290 (delete_frame_internal): set subwindow_instance_cache to nil.
14292 * glyphs-msw.c (mswindows_finalize_image_instance): make double
14294 (mswindows_finalize_image_instance): use the device
14295 not the domain as the domain may have died already.
14297 * glyphs-x.c (x_finalize_image_instance): ditto.
14298 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
14301 * redisplay-output.c (redisplay_unmap_subwindows): update for
14302 subwindow instance cache as a weak list.
14303 (redisplay_unmap_subwindows_maybe): ditto.
14304 (redisplay_unmap_subwindows_except_us): ditto.
14306 * glyphs.c (unmap_subwindow): error checking will check the domain
14307 so don't deal with it here. Don't use cachels anymore.
14308 (map_subwindow): ditto.
14309 (update_subwindow_cachel_data): remove old accessor names.
14310 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
14311 (Fresize_subwindow): don't update cachel.
14312 (mark_subwindow_cachels):
14313 (update_subwindow_cachel_data):
14314 (add_subwindow_cachel):
14315 (get_subwindow_cachel_index):
14316 (update_subwindow_cachel):
14317 (reset_subwindow_cachels):
14318 (mark_subwindow_cachels_as_not_updated): deleted.
14319 (cache_subwindow_instance_in_frame_maybe): new function. Add a
14320 subwindow instance to the frame cache.
14321 (find_matching_subwindow): update for subwindow instance cache as
14323 (update_widget_instances): ditto.
14324 (image_instance_type_to_mask):inlined.
14325 (free_frame_subwindow_instance_cache): new function. finalize all
14326 subwindows that are instantiated.
14328 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
14329 of cachel information.
14330 (IMAGE_INSTANCE_DISPLAY_X):
14331 (IMAGE_INSTANCE_DISPLAY_Y):
14332 (IMAGE_INSTANCE_DISPLAY_WIDTH):
14333 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
14334 (XIMAGE_INSTANCE_DISPLAY_X):
14335 (XIMAGE_INSTANCE_DISPLAY_Y):
14336 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
14337 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
14338 remove subwindow_cachel structure and function references.
14339 (image_instance_type_to_mask): inline from glyphs.c
14341 * redisplay.c (redisplay_frame): remove subwindow_cachel
14344 * frame.h (struct frame): remove subwindow_cachels.
14345 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
14347 * frameslots.h: add subwindow_instance_cache.
14349 * window.c (replace_window): check subwindow cache of replacement.
14350 (window_unmap_subwindows_cache_mapper):
14351 (window_unmap_subwindows): new functions. Unmap all subwindows
14352 cached on this window.
14353 (mark_window_as_deleted): unmap all subwindows.
14355 2000-04-27 Andy Piper <andy@xemacs.org>
14357 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
14359 * glyphs-widget.c (widget_layout): return something.
14360 (layout_layout): return something. Fail if not initialized.
14361 (layout_query_geometry): ditto.
14362 (image_instantiator_native_layout): new function. Initialized the
14363 native layout type.
14364 (widget_instantiate): don't do layout stuff here.
14366 * glyphs.c (instantiate_image_instantiator): reorded calling or
14367 instantiate and post_instantiate with layout in between.
14368 (image_instance_layout): be more selective about deciding whether
14369 the layout has been done or not.
14371 * glyphs.h (struct image_instantiator_methods): return a value
14372 from layout_method.
14374 2000-04-26 Andy Piper <andy@xemacs.org>
14376 * glyphs.c (allocate_image_instance): make initial width and
14377 height unspecified. Set initialized to 0.
14379 * syscommctrl.h new file. Encapsulates commctrl.h.
14381 * syswindows.h new file. Encapsulates windows.h.
14383 * ntplay.c: use new syswindows.h and syscommctrl.h header.
14385 * console-msw.h: ditto.
14387 * redisplay-tty.c (tty_output_display_block): remove layout references.
14389 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
14390 window handle rather than just the frame.
14392 * glyphs.c (mark_image_instance): remove layout references.
14393 (print_image_instance): ditto.
14394 (image_instance_equal): ditto.
14395 (image_instance_hash): ditto.
14396 (decode_image_instance_type): ditto.
14397 (encode_image_instance_type): ditto.
14398 (image_instantiate): ditto.
14399 (allocate_glyph): ditto.
14400 (Fimage_instance_height): ditto.
14401 (Fimage_instance_width): ditto.
14402 (update_subwindow): ditto.
14404 * redisplay-x.c (x_output_display_block): recode for layouts as
14407 * redisplay-output.c (redisplay_output_layout): recode for layouts
14409 (compare_runes): remove layout references.
14411 * redisplay-msw.c (mswindows_output_display_block): recode for
14412 layouts as widgets.
14414 * glyphs-widget.c (image_instantiator_layout): remove
14415 layout_possible_dest_types.
14416 (layout_possible_dest_types): deleted.
14418 * glyphs.h (image_instance_type): remove layout references.
14419 (struct Lisp_Image_Instance): ditto. Add initialized flag.
14420 (IMAGE_INSTANCE_INITIALIZED): new accessor.
14421 (XIMAGE_INSTANCE_INITIALIZED): ditto.
14423 2000-04-25 Andy Piper <andy@xemacs.org>
14425 * glyphs-widget.c (image_instantiator_buttons):
14426 (image_instantiator_edit_fields):
14427 (image_instantiator_combo_box):
14428 (image_instantiator_scrollbar):
14429 (image_instantiator_progress_guage):
14430 (image_instantiator_tree_view):
14431 (image_instantiator_tab_control):
14432 (image_instantiator_labels):
14433 (image_instantiator_layout): call default post_instantiate method.
14434 (widget_post_instantiate): new function. Simply lays out the
14437 * glyphs.h (struct image_instantiator_methods): add
14438 post_instantiate method.
14440 * glyphs.c (instantiate_image_instantiator): add post_instantiate
14443 2000-04-23 Andy Piper <andy@xemacs.org>
14445 * glyphs.h (struct image_instantiator_methods): add
14446 decode_domain_method.
14447 (struct Lisp_Image_Instance): remove subwindow frame - it can be
14448 derived from the domain.
14449 (IMAGE_INSTANCE_FRAME): new accessor.
14450 (XIMAGE_INSTANCE_FRAME): ditto.
14452 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
14453 instead of _SUBWINDOW_FRAME.
14454 (finalize_image_instance): ditto.
14455 (Fimage_instance_foreground): ditto.
14456 (Fimage_instance_background): ditto.
14457 (image_instantiate): ditto.
14458 (update_subwindow_cachel): ditto.
14459 (update_subwindow): ditto.
14460 (unmap_subwindow): ditto.
14461 (map_subwindow): ditto
14462 (subwindow_instantiate): ditto.
14463 * glyphs-msw.c (mswindows_update_widget): ditto.
14464 (mswindows_progress_gauge_instantiate): ditto.
14465 (mswindows_tab_control_update): ditto.
14466 * glyphs-x.c (x_update_widget): ditto.
14467 (x_widget_instantiate): ditto.
14468 (x_tab_control_instantiate): ditto.
14469 (x_tab_control_update): ditto.
14470 * event-msw.c (mswindows_wnd_proc): ditto
14472 * glyphs-widget.c (image_instantiator_layout): use
14473 subwindow_decode_domain.
14474 (image_instantiator_buttons): ditto.
14475 (image_instantiator_edit_fields): ditto.
14476 (image_instantiator_combo_box): ditto.
14477 (image_instantiator_scrollbar): ditto.
14478 (image_instantiator_progress_guage): ditto.
14479 (image_instantiator_tree_view): ditto.
14480 (image_instantiator_tab_control): ditto.
14481 (image_instantiator_labels): ditto.
14482 (image_instantiator_layout): ditto.
14484 * glyphs.c: add instance error checking to many functions.
14485 (instantiate_image_instantiator): decode device from cache_domain.
14486 (image_instantiate): partially rewrite by using
14487 decode_image_instantiator_domain to determine what domain the
14488 instance needs to be cached in.
14489 (decode_image_instantiator_domain): new function. Determine what
14490 domain the image needs to be cached in.
14491 (check_window_subwindow_cache): new error checking function.
14492 (check_instance_cache_mapper): ditto.
14493 (check_image_instance_structure): ditto.
14494 (subwindow_decode_domain): new function. Encodes a window as a
14495 subwindow's cache domain.
14496 (image_instantiator_format_create): use it for text and
14499 2000-04-21 Andy Piper <andy@xemacs.org>
14501 * glyphs.c (image_instance_device): new function.
14502 (image_instance_frame): new function.
14503 (image_instance_window): new function.
14504 (image_instance_live_p): new function.
14506 * window.c (mark_window_as_deleted): reset the subwindow_instance_
14509 * glyphs.h (struct Lisp_Image_Instance): device->domain.
14510 (IMAGE_INSTANCE_DOMAIN): new accessor.
14511 (XIMAGE_INSTANCE_DOMAIN): ditto.
14513 * glyphs-x.c (x_finalize_image_instance): device->domain.
14515 * glyphs-msw.c (init_image_instance_geometry): device->domain.
14516 (mswindows_finalize_image_instance): ditto.
14518 * glyphs-eimage.c (jpeg_instantiate): device->domain.
14519 (gif_instantiate): ditto.
14520 (png_instantiate): ditto.
14521 (tiff_instantiate): ditto.
14523 * glyphs.c (instantiate_image_instantiator): use domain rather
14525 (mark_image_instance): device -> domain.
14526 (print_image_instance): ditto.
14527 (finalize_image_instance): ditto.
14528 (image_instance_equal): ditto.
14529 (allocate_image_instance): ditto.
14530 (Fcolorize_image_instance): ditto.
14531 (query_string_geometry): ditto.
14532 (image_instantiate): ditto
14533 (query_string_font): ditto.
14534 (image_instantiate): ditto.
14535 (update_subwindow): ditto.
14536 (unmap_subwindow): ditto.
14537 (map_subwindow): ditto.
14538 (subwindow_instantiate): ditto.
14540 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
14541 (DOMAIN_FRAME): ditto.
14542 (DOMAIN_WINDOW): ditto.
14543 (DOMAIN_LIVE_P): ditto.
14544 (XDOMAIN_DEVICE): ditto.
14545 (XDOMAIN_FRAME): ditto.
14546 (XDOMAIN_WINDOW): ditto.
14548 * specifier.c (Fvalid_specifier_domain_p): add image instances as
14549 a valid specifier domain.
14551 2000-04-19 Andy Piper <andy@xemacs.org>
14553 * glyphs-widget.c (syms_of_glyphs_widget): remove
14554 widget-callback-current-channel.
14555 (vars_of_glyphs_widget): ditto.
14558 * gui.c (get_gui_callback): revert to previous behaviour.
14560 2000-04-18 Andy Piper <andy@xemacs.org>
14562 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
14563 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
14564 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
14566 * glyphs.c (image_instance_equal): add margin_width.
14567 (image_instance_hash): ditto.
14569 * glyphs-widget.c (widget_instantiate): deal with margin-width.
14570 (layout_query_geometry): ditto.
14571 (layout_layout): ditto.
14572 (syms_of_glyphs_widget): add margin-width.
14573 (image_instantiator_layout): allow margin-width.
14575 * glyphs.c (update_widget_instances): make a normal function.
14576 (syms_of_glyphs): remove Qupdate_widget_instances.
14579 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
14580 so that we don't corrupt ideas about the last event or
14581 command. Remove widget-callback-current-channel fiddling.
14582 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
14584 2000-05-01 Martin Buchholz <martin@xemacs.org>
14586 * XEmacs 21.2.33 is released.
14588 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
14590 * make-src-depend: Allow dots in header file name.
14592 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
14594 * mule-charset.h (struct charset_lookup): Add
14595 next_allocated_1_byte_leading_byte and
14596 next_allocated_2_byte_leading_byte.
14597 * mule-charset.c: Move above two variables so that those values
14600 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
14602 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
14603 when string length is zero.
14604 (find_charsets_in_emchar_string): Ditto.
14606 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
14608 * lisp.h: extern Qdialog and Qmenubar.
14610 * gui-x.c: added events.h.
14611 also fixed typo which made the file uncompilable.
14613 * general.c: Added Qmenubar and Qdialog
14615 2000-04-28 Ben Wing <ben@xemacs.org>
14617 * frame-msw.c (mswindows_init_frame_1):
14618 * frame-msw.c (mswindows_mark_frame):
14619 * event-msw.c (mswindows_enqueue_dispatch_event):
14621 * console-msw.h (struct mswindows_frame):
14622 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
14623 there are now three hash tables for callbacks.
14624 mswindows_enqueue_dispatch_event is no longer static.
14626 * dialog-x.c (maybe_run_dbox_text_callback):
14627 * dialog-x.c (dbox_descriptor_to_widget_value):
14628 switch to new cons3 form for callbacks.
14630 * glyphs-msw.c (mswindows_register_gui_item):
14631 * glyphs-msw.c (mswindows_widget_instantiate):
14632 * glyphs-msw.c (add_tree_item):
14633 * glyphs-msw.c (add_tab_item):
14634 new image instance parameter, so it can be passed to callback-ex.
14635 respect :callback-ex as well as :callback.
14637 * glyphs-widget.c (VALID_GUI_KEYWORDS):
14640 * glyphs.c (print_image_instance):
14641 prettify, e.g. now prints widget type.
14644 certain funs have new image instance parameter.
14647 * gui.c (get_gui_callback):
14648 * gui.c (gui_item_add_keyval_pair):
14649 * gui.c (gui_item_init):
14650 * gui.c (gui_add_item_keywords_to_plist):
14651 * gui.c (mark_gui_item):
14652 * gui.c (gui_item_hash):
14653 * gui.c (gui_item_equal):
14654 * gui.c (copy_gui_item):
14655 * gui.c (syms_of_gui):
14656 recognize callback-ex in a number of places.
14657 also, fix the annoying "can't get out of yes-no dialog" bug.
14660 * gui.h (struct Lisp_Gui_Item):
14661 recognize callback-ex in a number of places.
14663 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14664 new parameter in button_item_to_widget_value.
14666 * glyphs-x.c (x_update_widget):
14667 * glyphs-x.c (x_button_instantiate):
14668 * glyphs-x.c (x_button_update):
14669 * glyphs-x.c (x_progress_gauge_instantiate):
14670 * glyphs-x.c (x_edit_field_instantiate):
14671 * glyphs-x.c (x_combo_box_instantiate):
14672 * glyphs-x.c (x_tab_control_instantiate):
14673 * glyphs-x.c (x_label_instantiate):
14674 new image instance parameter in various places.
14677 * event-Xt.c (enqueue_Xt_dispatch_event):
14678 this fun gets exported.
14681 * gui-msw.c (mswindows_handle_gui_wm_command):
14682 handle both :callback and :callback-ex, and generate our own
14683 event because it's one of the callback-ex arguments.
14686 * gui-x.c (popup_selection_callback):
14687 handle both :callback and :callback-ex, and generate our own
14688 event because it's one of the callback-ex arguments.
14689 * gui-x.c (button_item_to_widget_value):
14690 * gui-x.c (gui_items_to_widget_values_1):
14691 * gui-x.c (gui_item_children_to_widget_values):
14692 * gui-x.c (gui_items_to_widget_values):
14693 new image instance parameter in various places.
14695 * fns.c (Freplace_list):
14696 fix small typo in doc string.
14699 declare enqueue_Xt_dispatch_event.
14701 2000-04-28 Ben Wing <ben@xemacs.org>
14704 * buffer.c (Frecord_buffer):
14705 * buffer.c (syms_of_buffer):
14706 delete record-buffer-hook.
14709 * fns.c (Freplace_list):
14710 * fns.c (syms_of_fns):
14711 new primitive replace-list.
14714 slot for old buffer-alist.
14717 exfun replace-list.
14720 * redisplay.c (redisplay_frame):
14721 * redisplay.c (syms_of_redisplay):
14722 * redisplay.c (vars_of_redisplay):
14723 new hook buffer-list-changed-hook.
14726 2000-04-27 Ben Wing <ben@xemacs.org>
14728 * extents.h: extern in_modeline_generation.
14730 * redisplay.c (generate_formatted_string_db): set
14731 in_modeline_generation.
14733 * extents.c (extent_changed_for_redisplay): don't mark redisplay
14734 flags if in modeline generation. otherwise frame-modified-tick
14735 is ticked far too often.
14736 Declare in_modeline_generation.
14738 2000-04-26 Ben Wing <ben@xemacs.org>
14740 * emacs.c (vars_of_emacs): document quick-build "error-checking"
14742 (vars_of_emacs): add quick-build as an error-checking option.
14743 A bit kludgy, but there doesn't seem much point in creating
14744 a real var for this.
14746 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
14748 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
14750 * redisplay.h (struct display_line): Add a new variable,
14753 * redisplay.c (create_text_block): Set dl->line_continuation if
14754 the line continues.
14755 (create_string_text_block): Ditto.
14756 (regenerate_window_incrementally): Use line_continuation instead
14757 of searching continuation glyph.
14758 (add_margin_runes): Call add_glyph_rune.
14759 (add_glyph_rune): Handle margin glyph.
14761 2000-04-20 Martin Buchholz <martin@xemacs.org>
14763 * filelock.c (fill_in_lock_file_name):
14765 Check for IS_ANY_SEP instead of '/'.
14767 Avoid generating gratuitous garbage. Call user_login_name() directly.
14768 Never check errno without first seeing that system call failed.
14769 (unlock_file): Add GCPRO.
14770 (Flock_buffer): Fix docstring.
14771 (Ffile_locked_p): Fix docstring. Add GCPRO.
14773 2000-04-19 Martin Buchholz <martin@xemacs.org>
14775 * sysdep.c (get_pty_max_bytes):
14776 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
14777 strings longer than 252 bytes.
14779 * md5.c: Unconditionally include ANSI header <limits.h>
14781 * glyphs-x.c (convert_EImage_to_XImage):
14782 * lisp-union.h (union Lisp_Object):
14783 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
14785 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
14787 * filelock.c (current_lock_owner): Remove unused variable o, p.
14789 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
14791 * callint.c: Remove multiply defined symbol Qlet
14792 (syms_of_callint): ditto.
14794 2000-04-14 Andy Piper <andy@xemacs.org>
14796 * general.c (syms_of_general): add last-command, this-command, let
14799 * lisp.h: declare various symbols.
14801 * glyphs.h: declare Qwidget_callback_current_channel;
14803 * glyphs-widget.c (syms_of_glyphs_widget): add
14804 Qgui_callback_current_channel.
14805 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
14807 * gui-msw.c (mswindows_handle_gui_wm_command): bind
14808 widget-callback-current-channel when invoking the interactive
14809 arg. Also bind last-command and next-command when invoking the
14811 * gui-x.c (popup_selection_callback): ditto.
14813 * gui.c (get_gui_callback): massage args so that we are always
14814 calling eval. This allows us to add our own variable bindings
14817 * glyphs-x.c (x_button_instantiate): use
14818 gui_items_to_widget_values since this is GC safe.
14819 (x_progress_gauge_instantiate): ditto.
14820 (x_edit_field_instantiate): ditto.
14821 (x_label_instantiate): ditto.
14823 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
14824 (emacs_Xt_event_widget_focus_out): new function
14825 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
14827 (emacs_Xt_event_add_widget_actions): new function. add focus
14828 functions as actions.
14829 (init_event_Xt_late): use it.
14831 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
14833 * event-stream.c (Fdispatch_event): Doc fix.
14835 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
14837 * postgresql.c: Remove all references to PQsetenv*.
14839 * postgresql.h: Remove references to PGsetenvHandler object.
14840 * lrecord.h (lrecord_type): Ditto.
14842 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14844 * glyphs-msw.h (struct mswindows_image_instance_data): Added
14845 real_heigh and real_width members, and accessor macros for these.
14847 * glyphs-msw.c (init_image_instance_geometry): New function.
14848 (init_image_instance_from_dibitmap): Use it.
14849 (mswindows_resource_instantiate): Use it.
14850 (init_image_instance_from_xbm_inline): Use it.
14851 (mswindows_initialize_image_instance_mask): Use real bitmap
14853 (mswindows_create_resized_bitmap): Ditto.
14854 (mswindows_create_resized_mask): Ditto.
14856 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
14857 and bitmap to their surface size.
14859 2000-04-11 Jan Vroonhof <jan@xemacs.org>
14861 * process-unix.c (unix_send_process): Guard against process MIA
14862 after Faccept_process_output.
14864 2000-04-11 Ben Wing <ben@xemacs.org>
14866 * eval.c (unbind_to_hairy): fix brokenness introduced by
14867 nanosecond speed improvements.
14869 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
14871 * sunplay.c (init_device): To play sounds correctly, the device
14872 apparently needs to be initialized at least once by XEmacs. Make
14875 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
14877 * redisplay.c (add_margin_runes): Add text image glyph
14880 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
14882 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
14883 gcc is newer than 2.5.
14885 2000-04-06 Colin Rafferty <colin@xemacs.org>
14887 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
14889 * fns.c (size_bit_vector):
14890 * alloc.c (size_vector):
14891 (make_vector_internal):
14892 (make_bit_vector_internal):
14893 (sweep_bit_vectors_1):
14894 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
14896 2000-04-06 Andy Piper <andy@xemacs.org>
14898 * gmalloc.c (malloc): undo previous change.
14903 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
14905 * line-number.c (buffer_line_number): Revert to former version.
14907 2000-04-06 Andy Piper <andy@xemacs.org>
14909 * gmalloc.c (malloc): add error checking.
14914 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
14915 button_item_to_widget_value arg.
14917 * glyphs-x.c (x_button_instantiate): add extra
14918 button_item_to_widget_value arg.
14919 (x_progress_gauge_instantiate): ditto.
14920 (x_edit_field_instantiate): ditto.
14921 (x_label_instantiate): ditto.
14923 * gui-x.c (gui_items_to_widget_values_1): add extra
14924 button_item_to_widget_value arg.
14925 (button_item_to_widget_value): add extra menu_item_p arg.
14927 * gui-x.h: change signature of button_item_to_widget_value.
14929 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
14930 button_item_to_widget_value arg.
14932 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
14934 * buffer.h (struct buffer): auto_save_modified should be long.
14936 2000-04-05 Andy Piper <andy@xemacs.org>
14938 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
14940 (button_query_geometry): give a little more room so that athena
14943 2000-04-05 Andy Piper <andy@xemacs.org>
14945 * faces.c (complex_vars_of_faces): The widget face should inherit
14946 the font of the gui-element face.
14948 2000-04-04 Andy Piper <andy@xemacs.org>
14950 * glyphs-x.c (x_button_update): new function. unconditionally
14951 update a button's state when the instance is dirty.
14952 (image_instantiator_format_create_glyphs_x): add x_button_update.
14953 (x_widget_instantiate): remove old resize cruft.
14955 2000-04-02 Andy Piper <andy@xemacs.org>
14957 * frame.c (change_frame_size_1): The introduction of gutters means
14958 that we need to allow 0 as a potential frame dimension.
14960 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
14962 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
14963 image glyph if allow_cursor.
14964 (add_hscroll_rune): Don't allow cursor to border glyph.
14965 (create_text_block): Ditto.
14967 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
14968 text not in buffer.
14969 (redisplay_output_layout): Call ensure_face_cachel_complete for
14973 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
14975 * redisplay.c (add_glyph_rune): Adding text image as text runes.
14977 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
14980 * redisplay-tty.c (tty_output_display_block): Delete the routine
14981 for text image glyph
14982 * redisplay-x.c (x_output_display_block): ditto
14983 * redisplay-msw.c (mswindows_output_display_block): ditto
14985 2000-02-02 Mike Alexander <mta@arbortext.com>
14987 Note: Some of these were committed by accident as part of other
14990 * regex.c (regex_compile): Avoid compiler warnings.
14992 * ntproc.c (sys_spawnve): Avoid compiler warnings.
14994 * nt.h: Declare term_ntproc correctly.
14996 * nt.c: Remove incorrect declaration of get_home_directory which
14997 is declared correctly in lisp.h.
14999 * keymap.c (get_keyelt): Avoid compiler warnings.
15000 (raw_lookup_key_mapper): Avoid compiler warnings.
15002 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
15004 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
15006 * filemode.c (mode_string): Avoid compiler warnings.
15008 * file-coding.c (Fcoding_system_aliasee): Add return statement to
15011 * events-mod.h: Undef some things that winuser.h defines differently.
15013 * data.c (Faset): Avoid compiler warnings.
15015 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
15017 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15019 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
15020 Fall through to simple beep on error.
15021 Replace "extern" by real header file.
15023 * linuxplay.c: Use nativesound.h
15024 (play_sound_data): Return error code. Be less verbose on error.
15026 * sunplay.c: Use nativesound.h
15027 (play_sound_data): Return error code. Be less verbose on error.
15029 * ntplay.c: Use nativesound.h
15030 (play_sound_data): Return fake error code
15032 * sgiplay.c: Use nativesound.h
15033 (play_sound_data): Return error code
15035 * hpplay.c: Use nativesound.h, partially implement
15036 new error code. Break compilation until finished.
15037 (play_sound_data): error code.
15039 * nativesound.h (play_sound_file):
15040 (play_sound_data): Prototype in new header.
15042 2000-03-31 Andy Piper <andy@xemacs.org>
15044 * glyphs-widget.c: (button_query_geometry): new function. Adjust
15045 for toggle and radio buttons.
15046 (image_instantiator_buttons): use it.
15048 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15050 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
15051 (x_update_horizontal_scrollbar_callback): Return if no mirror was
15052 found. Scrollbar event probably belonged to some old config.
15054 2000-03-31 Andy Piper <andy@xemacs.org>
15056 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
15058 (initialize_widget_image_instance): default layout to
15059 LAYOUT_HORIZONTAL rather than 0.
15060 (widget_instantiate): reverse the item list at the end rather than
15062 (layout_layout): re-code for the border text at the front of the
15063 item list rather than at the end.
15064 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
15065 provided by the user.
15066 (widget_query_geometry): comment.
15068 2000-03-30 Andy Piper <andy@xemacs.org>
15070 * glyphs-widget.c (image_instantiator_layout): allow standard
15071 widget keywords in layouts.
15073 * gutter.c (output_gutter): cope with nil gutter contents.
15075 * frame.c (Fset_frame_properties): add gutter docs.
15077 2000-03-29 Andy Piper <andy@xemacs.org>
15079 * toolbar-msw.c (TBSTYLE_FLAT): add.
15080 (mswindows_output_toolbar): minor fiddling.
15082 2000-03-29 Andy Piper <andy@xemacs.org>
15084 * gutter.c (output_gutter): force gutter size recalculation if
15085 what we are trying to display won't fit.
15086 (update_gutter_geometry): new function. A per-gutter version of
15087 update_frame_gutter_geometry.
15088 (update_frame_gutter_geometry): use it.
15089 (redraw_exposed_gutter): add extra debugging output.
15091 2000-03-28 Mike Alexander <mta@arbortext.com>
15093 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
15094 (pdump_file_unmap): Implement it on Windows
15095 (pdump_file_get): Save alocated handles for pdump_file_unmap
15097 2000-03-28 Andy Piper <andy@xemacs.org>
15099 * gui.c (get_gui_callback): treat Quit specially.
15101 2000-03-27 Andy Piper <andy@xemacs.org>
15103 * glyphs.c (image_instantiate): be careful to check in the same
15106 2000-03-27 Didier Verna <didier@xemacs.org>
15108 * config.h.in: define the proper SMART_INCLUDE macro.
15109 handle renaming of `foo_h_path' to `foo_h_file'.
15111 * database.c: ditto.
15115 * linuxplay.c: ditto.
15117 * terminfo.c: ditto.
15119 * tooltalk.h: ditto.
15121 2000-03-27 Andy Piper <andy@xemacs.org>
15123 * glyphs-msw.c (mswindows_update_widget): make sure the widget
15124 gets updated whenever the face might have changed.
15126 2000-03-26 Mike Alexander <mta@arbortext.com>
15128 * dumper.c (pdump_resource_free): Fix the comment.
15130 2000-03-21 Olivier Galibert <galibert@pobox.com>
15132 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
15134 2000-03-22 Mike Alexander <mta@arbortext.com>
15136 * dumper.c: Include Windows headers on Windows
15137 (pdump_resource_free): Add a body to the function
15138 (pdump_load): exe_name -> exe_path and add some comments.
15140 2000-03-25 Mike Alexander <mta@arbortext.com>
15142 * gui.c (copy_gui_item_tree): Return a value in all cases
15144 2000-03-21 Didier Verna <didier@xemacs.org>
15146 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
15148 (SMART_INCLUDE): new macro.
15149 (POSTGRES_INCLUDE): new macro to include postgresql headers from
15150 the proper location.
15152 * postgresql.c: use it.
15156 2000-03-24 Andy Piper <andy@xemacs.org>
15158 * gutter.c (redraw_exposed_gutters): must be "in display" when we
15161 2000-03-24 Andy Piper <andy@xemacs.org>
15163 * redisplay-output.c (compare_runes): use image_instance_changed
15164 to detect changes. Do not depend on glyphs_changed, only depend on
15166 (redisplay_output_layout): add debug messages.
15167 (compare_runes): ditto.
15169 * glyphs.h: declare new functions.
15170 (struct Lisp_Image_Instance): remove percent and associated
15173 * gui.h: declare new copying functions.
15175 * gui.c (copy_gui_item_tree): new function.
15176 (copy_gui_item): new function.
15177 (gui_item_id_hash): revert to standard hash.
15178 (gui_item_hash): ditto.
15179 (gui_item_hash_internal): deleted.
15180 (mark_gui_item): mark value.
15181 (gui_item_add_keyval_pair): add value.
15182 (gui_item_init): ditto.
15183 (gui_add_item_keywords_to_plist): ditto.
15184 (gui_item_equal): ditto.
15185 (syms_of_gui): add Q_value.
15187 * glyphs-x.c (x_progress_gauge_update): use pending items and
15188 value for setting the state.
15189 (x_update_widget): don't set items from pending here.
15191 * glyphs-widget.c (update_widget): update items here.
15192 (progress_gauge_set_property): use items for storing value. Put
15193 new value in pending items.
15195 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
15196 items for new value. Convert percent -> value.
15197 (mswindows_tab_control_update): don't update items here.
15199 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
15200 (update_subwindow): ditto.
15201 (image_instance_changed): new function. Compare hash values and
15202 past and present widget items.
15203 (image_instantiate): We more careful about where we instantiate
15205 (image_instantiate): add error checking.
15207 * gutter.c (syms_of_gutter): use -hook.
15209 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
15211 * console-tty.c (Fset_console_tty_input_coding_system): Use
15213 (Fset_console_tty_output_coding_system): Use Qterminal.
15214 (tty_init_console): Use Qkeyboard and Qterminal.
15216 2000-03-21 Ben Wing <ben@xemacs.org>
15218 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
15219 From Mike Alexander <mta@arbortext.com>.
15221 2000-03-21 Ben Wing <ben@xemacs.org>
15223 * event-msw.c (mswindows_need_event): Horrible kludge to fix
15224 process brokenness. Proper implementation to come.
15226 Rename call-process-internal to old-call-process-internal.
15227 New impl. in process.el.
15229 2000-03-21 Martin Buchholz <martin@xemacs.org>
15231 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
15233 2000-03-20 Andy Piper <andy@xemacs.org>
15235 * glyphs.c (full_list_hash): make hashes of the same elements in
15236 different orders return different values.
15238 2000-03-20 Martin Buchholz <martin@xemacs.org>
15240 * XEmacs 21.2.32 is released.
15242 2000-03-20 Martin Buchholz <martin@xemacs.org>
15244 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
15245 (DFC_MALLOC_USE_CONVERTED_DATA):
15246 Add aliasing-safe casts to allow use with char* or unsigned char*
15249 * eldap.c (Fldap_open):
15250 (Fldap_search_basic):
15253 Make C++-compilable.
15254 Make sure GCPRO'ed variables are initialized.
15255 Use temp variables to avoid repeated calls to Flength.
15257 2000-03-16 Martin Buchholz <martin@xemacs.org>
15260 Make sure PATH_MAX is always defined.
15261 Include limits.h for PATH_MAX.
15262 Deprecate use of MAXPATHLEN.
15264 2000-03-10 Martin Buchholz <martin@xemacs.org>
15266 * emacs.c: Add reinit_vars_of_fileio.
15267 * symsinit.h: Add reinit_vars_of_fileio.
15268 * fileio.c (reinit_vars_of_fileio): New.
15269 * fileio.c (Fmake_temp_name):
15270 Initialize temp_name random number from microseconds to make
15271 collisions even less likely. Initialize always at process startup
15272 time. (make-temp-name) used to return the same file name twice in
15274 Random stylistic fiddling.
15277 2000-03-20 Andy Piper <andy@xemacs.org>
15279 * glyphs.c (image_instantiate): allow text glyphs to be
15280 instantiated in the minibuffer window.
15282 2000-03-19 Andy Piper <andy@xemacs.org>
15284 * glyphs.c (image_instance_hash): be careful about which items we
15287 * glyphs-widget.c (tab_control_set_property): record into pending
15288 items rather than the actual items.
15290 * glyphs-x.c (x_update_widget): use pending items to update with.
15292 * glyphs-msw.c (mswindows_tab_control_update): use pending items
15295 * glyphs.c (mark_image_instance): mark pending items.
15297 * window.c (Fset_window_configuration): record the buffer.
15298 (Fselect_window): totally revert previous change which breaks many
15301 2000-03-18 Andy Piper <andy@xemacs.org>
15303 * glyphs-msw.c (mswindows_tab_control_update): force selected
15306 * glyphs.c (image_instantiate): don't allow the minibuffer as a
15307 window domain cache, otherwise we get inconsistencies at
15308 startup. There is something fishy at startup which can lead to the
15309 minibuffer being the selected window when the gutter content is
15312 * gui.c (parse_gui_item_tree_list): add probably unnecessary
15314 (parse_gui_item_tree_children): ditto.
15315 (parse_gui_item_tree_item): ditto.
15317 * glyphs.c (Fupdate_widget_instances): return something.
15319 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
15321 * window.c (Fselect_window): Undo 2000-03-17 change.
15323 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
15325 * postgresql.c (Fpq_setenv): Remove this turkey when linking
15326 against v7.0 libraries. Insta-coredump city until the postgres
15329 2000-03-17 Andy Piper <andy@xemacs.org>
15331 * faces.c (complex_vars_of_faces): don't give the widget face an
15332 inherited background pixmap.
15334 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
15337 * event-stream.c (Fdispatch_non_command_events): return something.
15339 * gutter.c (output_gutter): use widget face.
15340 (clear_gutter): ditto.
15342 * NEWS: adjust again.
15344 * window.c (Fselect_window): make sure this runs to completion to
15345 avoid oddities with Fset_window_configuration.
15346 (Fcurrent_window_configuration): in general do not save the
15347 minibuffer as the selected window.
15349 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
15351 2000-03-16 Olivier Galibert <galibert@pobox.com>
15353 * emacs.c (Frunning_temacs_p): Revert previous patch.
15354 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
15356 2000-03-16 Andy Piper <andy@xemacs.org>
15358 * glyphs-x.c (x_tab_control_update): if no widget values then
15361 * NEWS: update for new features.
15363 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
15364 synthetic event to the native system.
15365 (reinit_vars_of_event_Xt): set force_event_pending to
15366 emacs_Xt_force_event_pending.
15368 * events.h (struct event_stream): add force_event_pending.
15370 * specifier.c (recompute_one_cached_specifier_in_window): add
15373 * redisplay.c (redisplay_frame): don't call
15374 update_frame_subwindows. Reset subwindow cachels when
15375 subwindows_changed, removing this was an optimization too far.
15377 * redisplay-output.c (compare_runes): reorganize so that we catch
15378 glyph changes when we want them. Set optimize_output when this
15379 would help layouts.
15380 (redisplay_output_layout): remove frame_really_changed, use
15381 optimize_output instead.
15383 * redisplay-msw.c (mswindows_output_display_block): reset
15384 optimize_output after outputting a glyph.
15385 * redisplay-x.c (x_output_display_block): ditto.
15386 * redisplay-tty.c (tty_output_display_block): ditto.
15388 * gutter.c: (specifier_vars_of_gutter): use new spec changed
15390 (gutter_specs_changed): do specific gutter positions.
15391 (top_gutter_specs_changed): new function. Only update the
15392 specified gutter specs.
15393 (bottom_gutter_specs_changed): ditto.
15394 (left_gutter_specs_changed): ditto.
15395 (right_gutter_specs_changed): ditto.
15397 * gui.c (gui_item_hash_internal): new function, does a real hash.
15398 (gui_item_id_hash): use it.
15399 (gui_item_hash): hash the eval'ed gui_item.
15401 * gui-x.c (popup_selection_callback): send an eval event to call
15402 Fupdate_widget_instances.
15404 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
15405 to call Fupdate_widget_instances.
15407 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
15408 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
15410 * glyphs.c: (update_frame_subwindows): deleted.
15411 (Fupdate_widget_instances): new function for updating the dirty
15412 state of widgets that might have changed.
15413 (syms_of_glyphs): add Qupdate_widget_instances.
15414 (full_list_hash): hash a list completely.
15415 (image_instance_hash): use it for items and properties.
15417 * frame-msw.c (mswindows_size_frame_internal): remove unused
15420 * faces.h (struct face_cachel): fix comment.
15422 * event-stream.c (Fdispatch_non_command_events): new
15423 function. Process non-command events, forcing an event cycle
15425 (syms_of_event_stream): declare.
15426 (event_stream_force_event_pending): new function. Force an event
15427 on the native event queue so that an event cycle will occur next
15431 (struct ntpipe_shove_stream):
15432 (mswindows_enqueue_dispatch_event):
15433 (mswindows_dequeue_dispatch_event):
15434 (mswindows_cancel_dispatch_event):
15435 (mswindows_pump_outstanding_events):
15436 (mswindows_drain_windows_queue):
15437 (mswindows_handle_paint):
15438 (mswindows_wnd_proc):
15439 (mswindows_key_to_emacs_keysym):
15440 (get_process_input_waitable):
15441 (emacs_mswindows_delete_stream_pair): re-indent file.
15442 (mswindows_need_event): do not process further fds if the windows
15443 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
15444 fixes the 100% cpu problem.
15445 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
15447 2000-03-15 Olivier Galibert <galibert@pobox.com>
15453 * emacs.c: Moved dump file searching to dumper.c.
15454 (Frunning_temacs_p): Fixed.
15456 * alloc.c: Moved everything pdump-related to dumper.c. Removed
15457 last_lrecord_type_index_assigned.
15459 2000-02-20 Olivier Galibert <galibert@pobox.com>
15461 * symsinit.h: Added reinit parameter to init_console_stream
15464 * lisp.h: Added file parameter to pdump_load declaration.
15466 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
15467 support. Added dump file searching.
15469 * config.h.in: Added EMACS_PROGNAME.
15471 * console-stream.c (init_console_stream): Fix reinitialisation
15472 when running from temacs.
15474 * alloc.c (pdump): Add id support.
15475 (pdump_load): Add file parameter and signature/id support.
15477 * Makefile.in.in: Add full pdump support.
15479 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
15481 * postgresql.c: Update documentation to reflect latest code
15483 (print_result): Show tuple counts in printed representation when
15485 (Fpq_put_nbytes): MULE-ize.
15486 (Fpq_get_line_async): Ditto.
15488 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15490 * postgresql.c (Fpq_lo_import): Fix return value.
15491 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
15493 2000-03-13 Ben Wing <ben@xemacs.org>
15495 * alloc.c (pdump_load):
15496 Fix compile warning under mswin.
15498 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15500 * postgresql.c: Mule-ization, bug fixes.
15501 Use PG_CODING to encapsulate coding system name changes.
15502 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
15503 (pg-coding-system): Create.
15505 (Fpq_conn_defaults): Mule-ize.
15506 (Fpq_connectdb): Mule-ize & bug fix.
15507 (Fpq_connect_start): Mule-ize.
15508 (Fpq_set_client_encoding): Mule-ize.
15509 (Fpq_finish): Document `DEAD' connection status.
15510 (Fpq_clear): Ditto.
15511 (Fpq_pgconn): Mule-ize.
15512 (Fpq_exec): Mule-ize & bug fix.
15513 (Fpq_send_query): Ditto.
15514 (Fpq_get_result): Ditto.
15515 (Fpq_res_status): Mule-ize.
15516 (Fpq_result_error_message): Mule-ize.
15517 (Fpq_ntuples): fix comments.
15518 (Fpq_fname): Mule-ize.
15519 (Fpq_fnumber): Mule-ize.
15520 (Fpq_ftype): fix comments.
15521 (Fpq_get_value): Mule-ize.
15522 (Fpq_cmd_status): Ditto.
15523 (Fpq_cmd_tuples): Ditto.
15524 (Fpq_oid_value): Ditto.
15525 (Fpq_notifies): Ditto.
15526 (Fpq_lo_import): Ditto.
15527 (Fpq_lo_export): Ditto.
15528 (Fpq_get_line): Ditto.
15529 (Fpq_put_line): Mule-ize and bug fix.
15530 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
15532 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15534 * postgresql.c (vars_of_postgresql): Mule-ize.
15535 (Fpq_conn_defaults): Ditto.
15537 2000-03-12 Ben Wing <ben@xemacs.org>
15539 * alloc.c (Fmake_byte_code):
15540 * alloc.c (debug_string_purity_print):
15541 * alloc.c (pdump_backtrace):
15542 * alloc.c (pdump_get_indirect_count):
15543 * alloc.c (pdump_register_sub):
15544 * alloc.c (pdump_register_object):
15545 * alloc.c (pdump_register_struct):
15546 * alloc.c (pdump_dump_data):
15547 * alloc.c (pdump_reloc_one):
15551 * console-msw.c (GetConsoleHwnd):
15552 * console-msw.c (msw_hide_console):
15553 * console-msw.c (msw_show_console):
15554 * console-msw.c (msw_ensure_console_buffered):
15555 * console-msw.c (msw_output_console_string):
15556 * console-msw.c (console_type_create_mswindows):
15558 a) Added functions to manipulate the console window for use with
15561 b) Added support for writing text to the console, which is now
15562 used under Windows when xemacs is not being run non-interactively,
15563 to write text that would otherwise be destined for stdout because
15564 under these circumstances, text written to stdout tends to
15565 disappear and not be seen.
15569 * event-Xt.c (x_event_to_emacs_event):
15570 * event-Xt.c (describe_event_window):
15571 * events-mod.h (XEMACS_MOD_CONTROL):
15573 * events.c (Fmake_event):
15574 * events.c (character_to_event):
15575 * events.c (event_to_character):
15576 * events.c (format_event_object):
15577 * events.c (Fevent_modifiers):
15579 * events.h (struct key_data):
15580 * events.h (struct button_data):
15581 * events.h (struct misc_user_data):
15582 * frame-x.c (Fcde_start_drag_internal):
15583 * frame-x.c (Foffix_start_drag_internal):
15584 * gpmevent.c (Freceive_gpm_event):
15586 * keymap.c (bucky_sym_to_bucky_bit):
15587 * keymap.c (control_meta_superify):
15588 * keymap.c (make_key_description):
15589 * keymap.c (keymap_lookup_directly):
15590 * keymap.c (create_bucky_submap):
15591 * keymap.c (keymap_store):
15592 * keymap.c (define_key_check_and_coerce_keysym):
15593 * keymap.c (define_key_parser):
15594 * keymap.c (define_key_alternate_name):
15595 * keymap.c (Fdefine_key):
15596 * keymap.c (raw_lookup_key_mapper):
15597 * keymap.c (struct map_keymap_unsorted_closure):
15598 * keymap.c (map_keymap_unsorted_mapper):
15599 * keymap.c (map_keymap_sort_predicate):
15600 * keymap.c (map_keymap_sorted):
15601 * keymap.c (accessible_keymaps_mapper_1):
15602 * keymap.c (where_is_recursive_mapper):
15603 * keymap.c (describe_map_mapper):
15604 * keymap.c (describe_map_sort_predicate):
15605 * keymap.c (describe_map):
15606 * keymap.c (complex_vars_of_keymap):
15607 And a number of other files, the key modifier preprocessor
15608 constants that xemacs uses have names that conflict with constants
15609 defined under MS Windows for other purposes, so they were renamed
15610 to begin with the prefix XEMACS_. The variables that hold such
15611 modifiers were changed to consistently be of type int to fix
15612 various compile warnings.
15614 * console.c (complex_vars_of_console):
15617 * device-msw.c (mswindows_finish_init_device):
15618 * device-msw.c (msw_get_workspace_coords):
15619 * device-msw.c (mswindows_device_system_metrics):
15620 and various other files, added support for a new
15621 device property called offset-workspace which returns the position
15622 of the upper left corner of the workspace area and goes along with
15623 the existing size-workspace property.
15626 * dialog-msw.c (push_bufbyte_string_as_unicode):
15627 * dialog-msw.c (mswindows_popup_dialog_box):
15628 Added support for XEmacs-style accelerator specifications in
15629 button text. Note: I didn't add support for this under X Windows,
15630 and somebody needs to do this.
15633 * dialog.c (Fpopup_dialog_box):
15634 Documented the support for accelerators that was just mentioned.
15636 editfns.c (get_home_directory): Changed behavior under Windows
15637 when HOME not defined; former behavior was irretrievably broken.
15640 * emacs.c (main_1):
15642 * minibuf.c (clear_echo_area_internal):
15643 * minibuf.c (echo_area_append):
15645 * print.c (std_handle_out_external):
15646 * print.c (std_handle_out_va):
15648 * print.c (write_string_to_stdio_stream):
15649 * print.c (output_string):
15650 * print.c (debug_print):
15651 * print.c (debug_backtrace):
15652 * print.c (debug_short_backtrace):
15653 Cleaned up the code that prints text to stdout so that this can be
15654 changed to output into a console window instead under MS Windows,
15655 as described above.
15658 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
15659 * eval.c (internal_catch):
15660 * eval.c (unwind_to_catch):
15661 * eval.c (throw_or_bomb_out):
15662 * eval.c (condition_case_1):
15663 * eval.c (signal_1):
15664 * eval.c (check_error_state_sanity):
15665 * eval.c (call_with_suspended_errors_1):
15666 * eval.c (call_with_suspended_errors):
15667 * eval.c (reinit_vars_of_eval):
15668 Added code to catch throw loops and check for a pesky bug that may
15672 * event-msw.c (key_needs_default_processing_p):
15673 * event-msw.c (mswindows_wnd_proc):
15674 * event-msw.c (mswindows_modifier_state):
15675 * event-msw.c (emacs_mswindows_quit_p):
15676 * event-msw.c (vars_of_event_mswindows):
15677 a) Added support for using the alt key to select menu items as is
15678 standard under MS Windows. This is controlled using the variable
15679 menu-accelerator-enabled, just like under X Windows. There is an
15680 option on the options menu to turn this support on. I really
15681 think that it should be on by default under Windows, but I'm not
15682 going to make this change yet.
15684 b) Added support for dynamic display size changes under Windows.
15687 * event-stream.c (maybe_echo_keys):
15688 * event-stream.c (Fnext_event):
15689 * event-stream.c (command_builder_find_leaf):
15690 * event-stream.c (lookup_command_event):
15691 * event-stream.c (execute_command_event):
15692 * event-stream.c (pre_command_hook):
15693 * event-stream.c (post_command_hook):
15694 * event-stream.c (syms_of_event_stream):
15695 * event-stream.c (vars_of_event_stream):
15696 * event-stream.c (complex_vars_of_event_stream):
15697 * events.h (struct command_builder):
15699 a) Tried to clean up a little bit the horribly written x-specific
15700 accelerator code that crept into this file. I moved this code
15701 into menubar-x.c where it belongs. I also needed to move the
15702 command builder structure into the file events.h because it is
15703 accessed directly by this accelerator code. What I didn't do, but
15704 which should be done at some point, is to properly abstract this
15705 code using device methods instead of the kludgy way that it
15706 currently hooks into the event code.
15708 b) Added the lisp variables this-command-properties and
15709 last-command- properties, which should be used to synchronize two
15710 adjacent commands in preference to playing games with the variable
15711 this-command, which is typically what happens.
15713 c) Added some slightly nasty code to hook into the lisp support
15714 for shifted- motion-key selection. This is actually necessary for
15715 somewhat complicated reasons, which are described in
15716 simple.el. (NB: I think the proper thing would be to have the code
15717 that calls the pre and post command hooks also call out to generic
15718 lisp functions in simple.el, where all built-in stuff could be
15719 added. I will think about this more.)
15721 * event-unixoid.c (poll_fds_for_input):
15722 * lread.c (readchar):
15723 * redisplay-tty.c (tty_clear_frame):
15724 * redisplay-x.c (x_get_gc):
15725 * signal.c (interrupt_signal):
15726 And a whole bunch of other files: fixed up places that printed
15727 directly to stderr to instead call the function stderr_out so that
15728 the changes I made under Windows work correctly.
15730 * filemode.c (mode_string):
15734 * frame-msw.c (mswindows_size_frame_internal):
15735 Fixed the computation of frame size and position to keep the frame
15736 within the workspace area, rather than within the physical
15737 dimensions of the screen, so that the frame doesn't overlap window
15738 manager decorations, such as the start menu and toolbar, typically
15739 at the bottom of the screen.
15741 * frame.c (vars_of_frame):
15742 Changed the default frame title format under MS Windows to consist
15743 of buffername-XEmacs, which is standard under MS Windows. I think
15744 it might be a good idea to change this everywhere because I think
15745 it is superior to the current frame title format, but this is the
15746 kind of change that is likely to cause some people to get annoyed,
15747 so I'm not making it.
15749 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
15751 * gui-msw.c (mswindows_handle_gui_wm_command):
15752 Fixed compile warnings.
15755 * gui-x.c (strdup_and_add_accel):
15756 * gui-x.c (button_item_to_widget_value):
15758 Added code to automatically put an accelerator onto the beginning
15759 of menu items that don't have one as is now the standard, and is
15760 described more later. Also fixed things so that the menu item
15761 name can be an evaluated expression, again a new standard.
15764 * gui.c (gui_item_add_keyval_pair):
15765 * gui.c (make_gui_item_from_keywords_internal):
15766 * gui.c (gui_add_item_keywords_to_plist):
15767 * gui.c (gui_item_accelerator):
15768 * gui.c (gui_name_accelerator):
15769 * gui.c (gui_item_included_p):
15770 * gui.c (gui_item_display_flush_left):
15771 * gui.c (gui_item_display_flush_right):
15772 * gui.c (parse_gui_item_tree_item):
15773 * gui.c (parse_gui_item_tree_children):
15774 * gui.c (parse_gui_item_tree_list):
15775 Mule-ized. Cleanup. GCPRO addition.
15777 * line-number.c (buffer_line_number):
15779 * lisp.h (EMACS_INT_MAX):
15780 Added the manifest constant EMACS_INT_MIN corresponding to the
15781 existing constant EMACS_INT_MAX. This is partially to fix compile
15782 warnings under Windows, and partly for cleanliness.
15785 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
15786 * menubar-msw.c (msw_translate_menu_or_dialog_item):
15787 * menubar-msw.c (displayable_menu_item):
15788 * menubar-msw.c (populate_menu_add_item):
15789 * menubar-msw.c (populate_or_checksum_helper):
15790 * menubar-msw.c (populate_menu):
15791 * menubar-msw.c (update_frame_menubar_maybe):
15792 * menubar-msw.c (prune_menubar):
15793 * menubar-msw.c (msw_char_is_accelerator):
15794 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
15795 * menubar-msw.c (mswindows_handle_wm_command):
15796 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
15797 * menubar-msw.c (mswindows_handle_wm_initmenu):
15798 * menubar-msw.c (mswindows_update_frame_menubars):
15799 * menubar-msw.c (mswindows_free_frame_menubars):
15800 * menubar-msw.c (mswindows_popup_menu):
15801 Fixed a bug in handling accelerators where an extra character
15802 would be displayed in the menu item. Also generalized the
15803 function displayable_menu_item because it is now used by the
15804 dialog box code as well. And finally, added code in the functions
15805 that create the menubar to extract a list of accelerators for the
15806 top level menubar, which is used in the event code to determine
15807 whether a particular alt-key combination should be used to invoke
15808 a menu item, or should be passed through to access the standard
15809 XEmacs keymap binding for this key combination.
15811 Much needed GCPROing.
15814 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
15815 * menubar-x.c (menu_item_descriptor_to_widget_value):
15816 * menubar-x.c (restore_in_menu_callback):
15817 * menubar-x.c (x_popup_menu):
15818 * menubar-x.c (menu_move_up):
15819 * menubar-x.c (menu_move_down):
15820 * menubar-x.c (menu_move_left):
15821 * menubar-x.c (menu_move_right):
15822 * menubar-x.c (menu_select_item):
15823 * menubar-x.c (command_builder_operate_menu_accelerator):
15824 * menubar-x.c (menu_accelerator_junk_on_error):
15825 * menubar-x.c (command_builder_find_menu_accelerator):
15826 * menubar-x.c (Faccelerate_menu):
15828 Moved a whole bunch of code here that was previously in
15829 event-stream.c as described above. There is also code connected
15830 to the new standard of adding an accelerator to the beginning of
15831 menu items that don't have one as described above and below.
15834 * menubar.c (menu_parse_submenu_keywords):
15835 * menubar.c (Fmenu_find_real_submenu):
15836 * menubar.c (Fnormalize_menu_item_name):
15837 * menubar.c (syms_of_menubar):
15838 * menubar.c (vars_of_menubar):
15839 * menubar.c (complex_vars_of_menubar):
15841 a) Cleaned up a bunch of documentation and improved it.
15843 b) XEmacs now automatically adds an accelerator onto the beginning
15844 of any menu items that don't have one. I did this because there
15845 will inevitably be some menu items on the main menubar that don't
15846 have accelerators on them because the package that adds that
15847 particular menu item hasn't yet been fixed up to have accelerators
15848 in them and it looked rather strange to have some items with and
15849 some items without accelerators, especially since even in items
15850 without accelerators, you can, at least under windows, still
15851 access the item through an accelerator corresponding to the first
15852 character in the item's name. If people don't like this behavior,
15853 I can add a variable to turn it off optionally, but I'm not sure
15854 this is a good idea because we really do need to have accelerators
15855 on all of the menu items, and if a package doesn't like the
15856 accelerators being put on the first character, then it should put
15857 the accelerators where they belong.
15859 c) I made a behavior change, which is that the descriptor that
15860 specifies the text of the menu item, which formerly was just a
15861 string, can now also be an evaluated expression. This makes this
15862 descriptor parallel with all of the others, which could also be
15863 evaluated expressions. This also obviates the need for the
15864 keyword :label, which was previously listed in the documentation
15865 as unimplemented, and which was for the same purpose.
15870 * ntproc.c (new_child):
15871 * ntproc.c (sys_spawnve):
15872 * ntproc.c (find_child_console):
15873 * ntproc.c (sys_kill):
15874 Fixed compile warnings. By the way, this file should really go
15875 away entirely, and this will happen as soon as Kirill makes his
15876 final round of process cleanups, which affect the function
15880 * process-nt.c (struct nt_process_data):
15881 * process-nt.c (find_process_from_pid):
15882 * process-nt.c (send_signal_the_nt_way):
15883 * process-nt.c (enable_child_signals):
15884 * process-nt.c (find_child_console):
15885 * process-nt.c (send_signal_the_95_way):
15886 * process-nt.c (nt_finalize_process_data):
15887 * process-nt.c (ensure_console_window_exists):
15888 * process-nt.c (nt_create_process):
15889 * process-nt.c (nt_kill_child_process):
15890 * process-nt.c (nt_kill_process_by_pid):
15891 * process-nt.c (nt_open_network_stream):
15892 * process-nt.c (vars_of_process_nt):
15893 Copied over code from Emacs 20.5 to correctly send signals to sub-
15894 processes under Windows 95. Also added code to automatically
15895 create and hide console window when a sub-process is created under
15896 Windows 95, which obviates the need for the separate runemacs.exe
15897 executable, and finally implemented some variables that were
15898 implemented in Emacs 20.5, but previously not in XEmacs. These
15899 include mswindows- start-process-share-console and
15900 mswindows-start-process-inherit-error-mode. (Both of these only
15901 apply to Windows 95.)
15903 * regex.c (regex_compile): Fixed a compile warning.
15906 * select-msw.c (mswindows_own_selection):
15907 * select-msw.c (mswindows_get_foreign_selection):
15908 * select-msw.c (mswindows_disown_selection):
15909 * select-msw.c (console_type_create_select_mswindows):
15910 * select-msw.c (syms_of_select_mswindows):
15911 Cleaned up the file and implemented the device method
15912 selection_exists_p, which had accidentally been left out. Also
15913 removed four lisp functions that were remnants from before the
15914 time when the selection code was properly device abstracted.
15915 These functions are no longer needed because there are generic
15916 equivalents, and because they were added recently and don't exist
15917 in FSF Emacs, I don't think there's any problem with just deleting
15921 * sysdep.c (sys_subshell):
15922 Fixed a compile warning, although in this case there's probably
15923 something wrong with this code, and it ought to be looked into
15924 more thoroughly by somebody who understands it.
15927 * window.c (Fwindow_text_area_height):
15928 * window.c (Fwindow_width):
15929 * window.c (Fwindow_full_width):
15930 * window.c (Fwindow_pixel_width):
15931 * window.c (debug_print_window):
15932 * window.c (syms_of_window):
15933 Added functions window-text-area-height and window-full-width,
15934 which are functions for returning various width and height
15935 characteristics of a window. (One of these functions is necessary
15936 for making the file dialog box work correctly, and the other one
15937 was added for completeness.) Also added a table to the
15938 documentation for window-height which describes the entire scheme
15939 for accessing width and height characteristics of a window.
15941 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15943 * nt.c (fstat): Added a comment for another problem with
15944 non-encapsulated [f]stat(), reported by Adrian Aichner
15945 <aichner@ecf.teradyne.com>.
15947 2000-03-11 Andy Piper <andy@xemacs.org>
15949 * window.c (make_dummy_parent): initialize subwindow instance
15951 (Fset_window_configuration): zero extent_modiff.
15953 2000-03-10 Andy Piper <andy@xemacs.org>
15955 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
15956 more changes can be triggered.
15957 (Fredisplay_frame): ditto.
15958 (Fredraw_device): ditto.
15959 (Fredisplay_device): ditto.
15960 (redisplay_frame): make non-static.
15961 (redisplay_frame): call update_frame_gutter_geometry outside of
15964 * gutter.h: declare update_frame_gutter_geometry.
15966 * redisplay.h: declare redisplay_frame.
15968 * gutter.c (update_frame_gutter_geometry): move geometry changes
15969 in update_frame_gutters here. Geometry changes can only occur
15970 outside of redisplay.
15971 (update_frame_gutters): remove geometry change code.
15972 (Fredisplay_gutter_area): make sure that we are in display when we
15973 update and that we have flushed any size changes.
15975 2000-03-11 Andy Piper <andy@xemacs.org>
15977 * alloc.c (pdump_dump_data): remove i & count shadows.
15979 2000-02-27 Mike Alexander <mta@arbortext.com>
15981 * sysdep.h: Declare pdump_read_file
15983 * sysdep.c (pdump_read_file): New function
15985 * alloc.c (pdump_load): Call pdump_read_file to get the portable
15988 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15990 * lrecord.h: add `lrecord_type_pgsetenv'.
15992 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
15994 * symsinit.h: declare (vars|syms)_of* functions.
15995 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
15997 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
15999 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
16001 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
16004 * emacs.c (main_1): Call postgres initialization code.
16006 * postgresql.h: New file. PostgreSQL RDBMS support.
16007 * postgresql.c: New file.
16009 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
16011 * redisplay-output.c (redisplay_output_display_block): Disable
16014 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16016 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
16017 (Fcanna_henkan_next): Ditto.
16018 (Fcanna_bunsetu_henkou): Ditto.
16019 (Fcanna_henkan_kakutei): Ditto.
16020 (Fcanna_henkan_end): Ditto.
16021 (Fcanna_henkan_quit): Ditto.
16022 (Fcanna_henkan_next): Set retun value correctly.
16023 (c2mu): Use unsigned char instead of signed char.
16025 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16027 * emacs.c (main_1): Always call syms_of_gui.
16028 * inline.c: include gui.h
16030 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16032 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
16033 converted to Lisp_Object.
16034 (Qtop_bottom): New variable.
16035 (syms_of_redisplay): Initialize it.
16036 * redisplay.h (Vvisible_bell): Ditto.
16037 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
16038 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
16039 only flash top and bottom.
16041 2000-03-08 Andy Piper <andy@xemacs.org>
16043 * buffer.c (Frename_buffer): record new buffer name the right way.
16045 2000-03-08 Andy Piper <andy@xemacs.org>
16047 * glyphs.c (update_subwindow): increase hash depth so that widget
16048 items get picked up properly.
16050 * redisplay-output.c (compare_runes): increase hash depth so that
16051 widget items get picked up properly.
16053 2000-03-08 Andy Piper <andy@xemacs.org>
16055 * gutter.c (output_gutter): add some debug.
16057 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
16058 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
16059 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
16061 * redisplay-output.c (compare_runes): use display_hash to
16062 determine if glyphs really are not the same.
16064 * glyphs.c (update_subwindow): check display_hash to see if
16065 anything really needs to be updated. If not then do
16066 nothing. Record the display_hash after updating.
16067 (image_instance_equal): compare the image_instance face also.
16069 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
16071 * redisplay.h: Fix comment style.
16073 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
16075 * consle-msw.h (struct mswindows_frame):
16076 Added new member paint_pending to indicate whether a WM_PAINT
16077 magic event has been queued for this frame.
16079 * event-msw.c (mswindows_drain_windows_queue):
16080 Don't queue a WM_PAINT magic event if one is already queued.
16081 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
16083 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
16085 2000-03-07 Didier Verna <didier@xemacs.org>
16087 * dired.c: #include `regex.h' after `sysfile.h'.
16089 2000-03-06 Martin Buchholz <martin@xemacs.org>
16091 * sound.c (init_nas_sound): Fix compiler warning.
16093 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
16095 (MARK_STRUCT_AS_FREE):
16096 (MARK_STRUCT_AS_NOT_FREE):
16097 Make `gcc -fstrict-aliasing' work properly.
16099 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
16101 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
16102 (mswindows_delete_device): Call CoUnnitialize().
16104 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
16106 2000-02-25 <CraigL@DyCon.com>
16108 * process-nt.c: MinGW now has <shellapi.h>, but still needs
16111 * sysdep.c: This extern declaration for environ prevents MinGW
16112 from finding the variable in CRTDLL.DLL.
16114 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
16116 (SHGFI_EXETYPE): ..
16117 (WM_MOUSEWHEEL): ..
16118 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
16120 (MMRESULT): Removed, now defined in cygwin's windows headers.
16122 (uid_t,gid_t,pid_t,ssize_t): ..
16123 (_timeb): Removed, MinGW defines both _timeb and timeb.
16124 (HAVE_H_ERRNO): Added.
16125 (HAVE_TZNAME): Added, configure is not detecting this.
16127 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
16129 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
16130 * syntax.c (syntax_match): Use it.
16132 * cmds.c: Import auto-fill-chars from FSF Emacs.
16133 (Vauto_fill_chars): New variables.
16134 (internal_self_insert): Check Vauto_fill_chars.
16136 Declare auto-fill-chars as a Lisp variable and initialize it.
16138 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16140 * fileio.c (Fmake_symbolic_link):
16142 Run handlers even if local machine doesn't have symlinks.
16144 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16146 * event-msw.c (mswindows_drain_windows_queue):
16147 Don't generate paint magic events for non-XEmacs frames.
16149 2000-03-05 Andy Piper <andy@xemacs.org>
16151 * redisplay.c (redisplay_frame): generate_displayable_area and
16152 friends assumes that we are not in GC, we therefore have to make
16153 sure that this doesn't happen.
16155 * gutter.c (calculate_gutter_size): generate_displayable_area
16156 assumes that we are not in GC, we therefore have to make sure that
16157 this doesn't happen.
16159 2000-03-05 Martin Buchholz <martin@xemacs.org>
16161 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
16163 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
16165 * redisplay.c (regenerate_window): Make sure we set a sane value
16166 for end_pos even if we jump out of the loop.
16167 (regenerate_window): Answer Ben's question :-).
16168 (start_end_of_last_line): Add may_error argument.
16169 (start_of_last_line):
16170 (end_of_last_line): Pass may_error = 0.
16171 (end_of_last_line_may_error): New function.
16172 (pixel_to_glyph_translation): Use it, so we don't crash in
16175 2000-03-04 Andy Piper <andy@xemacs.org>
16177 * window.h (struct window): add gutter_extent_modiff.
16179 * window.c (allocate_window): zero out gutter_extent_modiff.
16181 * redisplay.h: declare sync_display_line_structs.
16183 * redisplay.c (add_glyph_rune): add a better comment.
16185 * redisplay-output.c (sync_display_line_structs): made non-static.
16186 (compare_runes): remove unneccesary glyph cachel access.
16188 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
16190 * gutter.c (output_gutter): don't output the gutter if extent
16191 changes only involve extents in buffers. use 4 sets of display
16193 (gutter_extent_signal_changed_region_maybe): new function. Mark
16194 extents in gutters as changed.
16195 (update_frame_gutters): use 4 sets of display lines.
16196 (reset_gutter_display_lines): ditto.
16197 (free_frame_gutters): ditto.
16198 (redraw_exposed_gutter): force output of gutters.
16200 * frame.h (struct frame): add 4 sets of gutter display lines.
16202 * extents.c: (extent_changed_for_redisplay): signal changes to
16203 extents in strings in the gutter as well as extents in buffers.
16205 2000-03-02 Andy Piper <andy@xemacs.org>
16207 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
16209 * frame.c (Fmake_frame): make sure the gutters get initialized
16210 after the frame is visible.
16211 (set_frame_selected_window): re-arrange compilation macros a
16213 (change_frame_size_1): mark gutters changed.
16215 * device.c (Fset_device_class): mark gutters changed.
16217 2000-03-01 Andy Piper <andy@xemacs.org>
16219 * window.c (window_top_frame_gutter_height): deleted.
16220 (window_bottom_frame_gutter_height): ditto.
16221 (window_left_frame_gutter_height): ditto.
16222 (window_right_frame_gutter_height): ditto.
16223 (window_top_gutter_height): don't use them.
16224 (window_bottom_gutter_height): ditto.
16225 (window_left_gutter_width): ditto.
16226 (window_right_gutter_width): ditto.
16227 (Fsplit_window): ditto.
16228 (Fwindow_pixel_edges): don't use border dimensions here.
16230 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
16231 (update_scrollbar_instance): ditto.
16233 * redisplay.c (generate_modeline): don't take gutters into account.
16234 (generate_modeline): ditto.
16235 (redisplay_frame): small gutter display optimization.
16237 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
16239 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
16240 gutters into account.
16242 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
16243 for window position and type.
16245 * gutter.c (get_gutter_coords): fix for frame gutters.
16246 (update_frame_gutters): update frame geometry if the gutters have
16248 (init_frame_gutters): record current gutter geometries.
16250 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
16252 (mswindows_widget_instantiate): ditto.
16254 * frame.h (struct frame): add current_gutter_bounds.
16256 * frame.c (change_frame_size_1): position window and minibuffer
16257 appropriately taking into account the frame gutters.
16259 * frame-x.c: (x_initialize_frame_size): take into account the
16262 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16264 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
16266 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16268 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
16270 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16272 * file-coding.c (reset_decoding_stream): Clear previous
16273 detection state when autodetect.
16275 2000-02-29 Didier Verna <didier@xemacs.org>
16277 * extents.c (set_extent_glyph_1): don't require extents to be
16280 2000-02-27 Andy Piper <andy@xemacs.org>
16282 * gutter.c (Fset_default_gutter_position): don't default left and
16283 right gutter visibility to t.
16284 (Fset_default_gutter_position): run
16285 default-gutter-position-changed-hook.
16286 (syms_of_gutter): add default-gutter-position-changed-hook.
16288 2000-02-26 Andy Piper <andy@xemacs.org>
16290 * specifier.c (Fmake_specifier): add gutter references.
16292 * gutter.h (RAW_WINDOW_GUTTER): new macro.
16294 * lisp.h: declare Fvalid_plist_p.
16296 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
16298 (default_gutter_visible_p_changed_in_window): invalidate gutter as
16299 well as its visibility so that it gets reconstructed.
16300 (construct_window_gutter_spec): new function. Construct a string
16301 to be displayed in the gutter from a plist of strings. Take care
16302 to only use elements that are declared as visible.
16303 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
16305 (gutter_validate): allow plists of strings in the specifier.
16306 (gutter_specs_changed): construct the real_gutter from the gutter
16307 specs using construct_window_gutter_spec.
16308 (gutter_visible_validate): gutter-visible is a new specifier type.
16309 (Fgutter_visible_specifier_p): new function for the new specifier.
16310 (syms_of_gutter): declare gutter-visible and
16311 Fgutter_visible_specifier_p.
16312 (specifier_type_create_gutter): intitalize new gutter-visible
16314 (reinit_specifier_type_create_gutter): ditto.
16315 (specifier_vars_of_gutter): use new specifier type for gutter
16317 (init_frame_gutters): construct real_gutter correctly.
16318 (Fgutter_specifier_p): beef up documentation.
16319 (Fgutter_size_specifier_p): ditto.
16321 * winslots.h: add real_gutter slots.
16323 2000-02-25 Andy Piper <andy@xemacs.org>
16325 * device-msw.c: Be kind to older cygwin versions. From Raymond
16326 Toy <toy@rtp.ericsson.se>.
16328 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
16329 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
16331 2000-02-25 Martin Buchholz <martin@xemacs.org>
16333 * elhash.c (MARK_OBJ): Practice macro hygiene.
16335 2000-02-24 Martin Buchholz <martin@xemacs.org>
16337 * miscplay.c: s/__inline__/inline/g;
16338 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
16339 (get_device_compdc): INLINE ==> static inline
16340 * *.[ch]: Change INLINE to INLINE_HEADER globally.
16341 find -name '*.h' | \
16342 xargs global-replace \
16343 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
16345 2000-02-25 Andy Piper <andy@xemacs.org>
16347 * window.c (window_top_frame_gutter_height): new function.
16348 (window_top_window_gutter_height): ditto.
16349 (window_top_gutter_height): use them.
16350 (window_bottom_frame_gutter_height): new function.
16351 (window_bottom_window_gutter_height): ditto.
16352 (window_bottom_gutter_height): use them.
16353 (window_left_window_gutter_width): new function.
16354 (window_left_frame_gutter_width): ditto.
16355 (window_left_gutter_width): use them.
16356 (window_right_window_gutter_width): new function.
16357 (window_right_frame_gutter_width): ditto.
16358 (window_right_gutter_width): use them.
16359 (window_pixel_height): new function. calulate window pixel height
16360 with frame gutter involvement.
16361 (Fsplit_window): calculate new sizes taking frame gutters into
16363 (window_char_height_to_pixel_height): don't include frame gutters.
16364 (window_char_height): use window_pixel_height.
16365 (window_pixheight): rename from window_pixel_height.
16366 (change_window_height): use it.
16367 (window_pixel_height_to_char_height): don't include frame gutters.
16368 (window_char_width_to_pixel_width): ditto.
16370 2000-02-25 Andy Piper <andy@xemacs.org>
16372 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
16375 2000-02-24 Martin Buchholz <martin@xemacs.org>
16377 * alloc.c (staticpro):
16378 (staticpro_nodump):
16383 (compact_string_chars):
16384 (pdump_dump_wired):
16385 Convert: if (foo) abort(); ==> assert (! foo);
16387 * eldap.c (Fldap_search_basic):
16391 Fix compiler warnings, and possible crashes if (random) return
16392 value were to be used.
16394 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16396 * device-msw.c: Workaround ResetDC failure.
16398 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
16399 applying a devmode.
16401 * redisplay-msw.c (get_frame_dc): Added start_page_p.
16402 (mswindows_text_width): Do not start printer page.
16404 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
16406 * glyphs-msw.c: Added image methods to msprinter console and
16407 msprinter-specific image instantiation.
16409 2000-02-20 Mike Alexander <mta@arbortext.com>
16411 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
16412 to avoid crashes when selection-sets-clipboard is on
16413 (mswindows_own_selection): ditto
16415 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16418 * redisplay-msw.c (get_frame_dc):
16419 (get_frame_compdc):
16421 * device-msw.c (mswindows_init_device):
16422 (mswindows_delete_device):
16423 (msprinter_init_device):
16424 (msprinter_delete_device):
16425 * frame-msw.c (mswindows_init_frame_1):
16426 (mswindows_delete_frame):
16427 (msprinter_init_frame_3):
16428 (msprinter_delete_frame): Move compatible DC to device object from
16429 frame object, for both mswindows and msprinter. Only one at a time
16430 is needed, it is a real waste to have one per frame!
16432 2000-02-23 Andy Piper <andy@xemacs.org>
16434 * glyphs.c: add dynamic width and height elements.
16435 (image_instance_equal): ditto.
16437 * glyphs-widget.c (widget_query_geometry): calculate width and
16438 height dynamically if required.
16439 (initialize_widget_image_instance): initialize dynamic dimensions.
16440 (widget_instantiate): pick-up dynamic dimensions.
16442 * glyphs.h (struct Lisp_Image_Instance): add width and height for
16443 dynamic determination. Add appropriate macros.
16445 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
16447 (WINDOW_GUTTER_SIZE): ditto.
16448 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
16450 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
16452 (get_frame_dc): ditto.
16454 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
16457 2000-02-23 Martin Buchholz <martin@xemacs.org>
16459 * XEmacs 21.2.31 is released.
16461 2000-02-22 Ben Wing <ben@xemacs.org>
16463 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
16465 2000-02-22 Andy Piper <andy@xemacs.org>
16467 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
16469 2000-02-21 Mike Sperber <mike@xemacs.org>
16473 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
16476 2000-02-21 Mike Sperber <mike@xemacs.org>
16478 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
16480 2000-02-21 Martin Buchholz <martin@xemacs.org>
16482 * XEmacs 21.2.30 is released.
16484 2000-02-20 Martin Buchholz <martin@xemacs.org>
16486 Performance hacking.
16488 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
16489 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
16490 * emacs.c (main_1):
16492 * console.c (DEFVAR_CONSOLE_LOCAL_1):
16493 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
16494 * symeval.h (DEFVAR_SYMVAL_FWD):
16495 * symbols.c (guts_of_unbound_marker):
16496 Make all c_readonly objects also lisp_readonly and marked for life.
16497 * lrecord.h (struct lrecord_implementation):
16498 Document flags better.
16499 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
16500 * lrecord.h (DECLARE_LRECORD):
16501 * lrecord.h (XSETRECORD):
16502 * lrecord.h (RECORDP):
16503 * lrecord.h (RECORD_TYPEP):
16504 * lrecord.h (RECORD_MARKER): New.
16505 * lrecord.h (error_check_*):
16506 * lrecord.h (CONCHECK_NONRECORD):
16507 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
16508 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
16509 * lrecord.h (set_lheader_implementation):
16510 * lrecord.h (enum lrecord_type): New.
16511 * symeval.h (SYMBOL_VALUE_MAGIC_P):
16512 * alloc.c (disksave_object_finalization_1):
16513 * alloc.c (mark_object):
16514 * alloc.c (lrecord_type_index):
16515 * alloc.c (tick_lcrecord_stats):
16516 * alloc.c (Fgarbage_collect):
16517 * alloc.c (init_alloc_once_early):
16518 * alloc.c (pdump_load):
16519 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
16520 * alloc.c (lrecord_type_index): Delete.
16521 Make lisp object type indexes be constant.
16522 Makes (byte-compile) 5% faster.
16523 Put all marker functions into their own array.
16524 Makes (garbage-collect) 5% faster.
16525 Optimize SYMBOL_VALUE_MAGIC_P.
16526 Makes (byte-compile) 2-3% faster.
16527 * config.h.in (gc_checking_assert): New.
16528 * alloc.c: Use gc_checking_assert().
16529 * .dbxrc: Make compatible with new object type implementation.
16530 * .gdbinit: Make compatible with new object type implementation.
16531 * alloc.c: Delete all symbols defined only for debugging, such as
16532 Lisp_Type_Vector and lrecord_charset.
16534 2000-02-21 Andy Piper <andy@xemacs.org>
16536 * gui-msw.c (Fmswindows_shell_execute): fix file location
16539 * buffer.c (Fkill_buffer): remove buffer from alist buffer
16540 unshowing so that set_window_buffer doesn't undo
16541 kill_buffer_hook's hard work.
16543 * glyphs-widget.c (tab_control_query_geometry): don't count the
16544 first item when calculating geometry.
16546 * glyphs.c (map_subwindow): remove redundant code.
16547 (update_frame_subwindows): be more circumspect about when to
16550 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
16551 when items haven't changed. Update faces if faces have changed as
16552 well as just the widget face.
16553 (x_tab_control_update): Update faces if faces have changed as well
16554 as just the widget face.
16556 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16558 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
16560 (build_syscolor_string): Use mswindows_color_to_string to try to
16562 (mswindows_device_system_metrics): Reverse the foreground and
16563 background colors so that they match the documentation.
16565 * objects-msw.c: (mswindows_X_color_map): tweak some values so
16566 they match the default Windows palette.
16567 (mswindows_color_to_string): New function.
16569 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16571 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
16573 2000-02-18 Olivier Galibert <galibert@pobox.com>
16575 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
16576 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
16578 * symbols.c (init_symbols_once_early): Removed obsolete
16579 DATA_SEG_BITS related kludge.
16580 (defvar_magic): Ditto.
16582 * malloc.c: Removed obsolete DATA_SEG_BITS
16584 * mem-limits.h: Ditto.
16586 * Makefile.in.in: Removed obsolete HAVE_SHM
16589 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16591 * device-msw.c (mswindows_delete_device): Free DDE string
16594 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16596 * keymap.c (get_keyelt):
16597 * unexnt.c (unexec):
16598 * vm-limit.c (memory_warnings):
16599 * ntheap.c (recreate_heap):
16600 * ntheap.h (UNINIT_PTR):
16601 * select-msw.c (Fmswindows_get_clipboard):
16602 (Fmswindows_set_clipboard):
16603 * objects-msw.h (MSWINDOWS_BAD_HFONT):
16605 * menubar-msw.c (displayable_menu_item):
16607 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
16608 * sysdep.c (sys_subshell):
16609 * process-nt.c (nt_create_process):
16610 * nt.c (normalize_filename):
16611 (dostounix_filename):
16612 (unixtodos_filename):
16613 * ntproc.c (win32_executable_type):
16614 * ntplay.c (play_sound_data_1):
16616 * editfns.c (get_home_directory):
16617 * event-msw.c (struct winsock_stream):
16618 (mswindows_dde_callback):
16619 * device-msw.c (msprinter_init_device):
16620 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
16622 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
16623 mswindows_clear_toolbar were swapped!
16625 * objects-msw.c:(colormap_t):
16627 * emacs.c (struct standard_args): Fixed const jumble.
16629 * glyphs-widget.c (update_widget): Fixed comparison notation.
16631 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
16633 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
16634 __declspec(noreturn) syntax.
16636 2000-02-19 Martin Buchholz <martin@xemacs.org>
16638 * eldap.c (Fldap_open):
16639 (Fldap_search_basic):
16642 Use new coding system conversion macros.
16644 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16646 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
16648 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
16650 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
16651 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16653 * eldap.c (Qadd, Qreplace): New constant symbols
16654 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
16655 interruptions by XEmacs signals
16656 Remove unnecessary calls to slow_down_interrupts and
16657 speed_up_interrupts
16658 (Fldap_search_basic): Renamed from Fldap_search_internal
16659 Added new optional parameter VERBOSE that triggers the
16660 display of progress messages
16661 Remove unnecessary calls to slow_down_interrupts and
16662 speed_up_interrupts
16663 LDAP result code analysis rewritten
16664 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16665 (syms_of_eldap): Define the new symbols and functions
16668 2000-02-17 Martin Buchholz <martin@xemacs.org>
16670 * realpath.c: Determine PATH_MAX maximally portably.
16672 * insdel.c (bytecount_to_charcount): Optimize.
16673 The function used to be optimized for entirely ASCII sequences.
16674 Now it is optimized for successive characters from the same
16675 charset. This also wins big for _mostly_ ASCII sequences.
16677 * fileio.c (Ffile_truename): convert return from realpath() using
16678 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
16679 - Rewrite GCPROing slightly.
16681 * sysdep.c (sys_open): Do filename conversion, like all other
16682 sys_* functions. Fixes bug:
16683 (let ((file-name-coding-system 'iso-8859-2))
16684 (write-region x y latin2-name))
16685 ==> writes filename using internal encoding.
16687 2000-02-18 Martin Buchholz <martin@xemacs.org>
16689 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
16690 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
16691 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
16692 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
16693 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
16694 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
16695 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
16696 (CONST_IF_NOT_DEBUG): Delete.
16697 * alloc.c (this_one_is_unmarkable): Delete.
16698 (mark_object): Don't check for this_one_is_unmarkable. Use the
16699 c_readonly flag instead.
16700 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
16702 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
16704 * event-msw.c (mswindows_drain_windows_queue):
16705 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
16706 away redundant repaint events.
16708 2000-02-17 Andy Piper <andy@xemacs.org>
16710 * redisplay.h: declare mark_redisplay_structs.
16712 * redisplay.c (redisplay_window):
16713 (redisplay_frame): don't check subwindows_state_changed.
16714 (mark_redisplay): mark gutters here.
16716 * glyphs.c: (instantiate_image_instantiator): always layout if we
16717 haven't done so already.
16718 (allocate_image_instance): don't mark as dirty.
16719 (update_subwindow): bind inhibit_quit.
16721 * gutter.c (mark_gutters): new function.
16723 * glyphs-x.c (x_update_widget): Always resize to get round a
16726 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
16727 breaking absolutely everything.
16729 * gutter.h: declare mark_gutters.
16731 2000-02-16 Martin Buchholz <martin@xemacs.org>
16733 * XEmacs 21.2.29 is released.
16735 2000-02-15 Olivier Galibert <galibert@pobox.com>
16737 * fns.c (size_bit_vector): Fix computation of the size.
16739 2000-02-15 Martin Buchholz <martin@xemacs.org>
16741 * *.[ch]: Change CONST to const globally.
16742 find -name '*.[ch]' | \
16743 xargs global-replace \
16744 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
16745 - Remove vestigial references to CONST_IS_LOSING
16747 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16749 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
16750 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
16751 events instead of dispatching them directly.
16752 (mswindows_handle_paint): New function to do repainting.
16753 (mswindows_wnd_proc):
16754 (emacs_mswindows_handle_magic_event): Call above function.
16756 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16758 * objects-msw.c (mswindows_create_font_variant): Return the new
16760 (initialize_font_instance): Get font metrics from the underlined
16761 variant of the font to cope with the case where the underlined
16762 font has a bigger descent.
16764 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16766 * gui.c (gui_item_accelerator): Return the first underlined
16767 character in item name.
16769 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16771 * lisp.h: Added Qprinter.
16773 * general.c (syms_of_general): Initialized it.
16775 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
16777 (get_frame_compdc): Made inline.
16779 * console.h (struct console_methods): Added eject_page method.
16781 * frame.h: Added FRAME_DISPLAY_P and friends.
16782 Aligned backslahes in many macros in more readable fashion.
16783 Added page_number to struct frame, and an accessor macro
16786 * defice.h: Added DEVICE_DISPLAY_P and friends.
16788 * device.c (Fdevice_printer_p): Used these.
16790 * frame.c (allocate_frame_core): Initialize page number.
16791 (Fprint_job_page_number):
16792 (Fprint_job_eject_page): Implemented.
16794 * frame-msw.c (msprinter_eject_page): Added method.
16795 (msprinter_start_page): Added.
16797 * window.c (Fwindow_truncated_p): Fixed docstring.
16798 (Fwindow_last_line_visible_height): Implemented.
16800 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16802 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
16804 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16806 * syntax.c (scan_words): Always advance at least one character.
16808 2000-02-13 Andy Piper <andy@xemacs.org>
16810 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
16811 to make sure the glyph is in the cachels.
16813 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
16814 global image instance flag.
16815 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
16816 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
16818 * glyphs.c (allocate_image_instance): set dirty bits correctly.
16819 (Fset_image_instance_property): mark layout as changed.
16820 (invalidate_glyph_geometry_maybe): mark layout as changed.
16821 (glyph_width): use new NEEDS_LAYOUT macro.
16822 (glyph_ascent): ditto.
16823 (glyph_descent): ditto.
16824 (glyph_height): ditto.
16825 (image_instance_layout): mark layout as clean after laying out.
16826 (update_subwindow): don't mark layout as clean here.
16828 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
16829 should no longer be needed.
16831 * glyphs-x.c (x_update_widget): sanitize asserts.
16832 (x_finalize_image_instance): sanitize assignment to widgets.
16834 * glyphs-widget.c (widget_instantiate): don't need to clear the
16837 2000-02-13 Martin Buchholz <martin@xemacs.org>
16839 * sysdep.c (getcwd): Use standard prototype.
16840 * sysdep.h (getcwd): Use standard prototype.
16842 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
16843 (sequence, start, end).
16844 Remove redundant type checking.
16845 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
16846 view of `caller-protects') to avoid a crash where the real fix was
16849 2000-02-12 Martin Buchholz <martin@xemacs.org>
16851 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
16853 * s/sol2.h: Remove feature macro initialization.
16855 * alloc.c (alloc_lcrecord): Add more type checking assertions.
16856 (vector_hash): New. Code from internal_hash.
16858 Fix up allocation subsystem comments.
16860 * config.h.in: Add __EXTENSIONS__ for Solaris.
16862 * systime.h (EMACS_GETTIMEOFDAY): New.
16863 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
16864 Remove Solaris-specific code.
16865 Use void* for the (ignored) second arg for gettimeofday().
16867 * elhash.c (hash_table_hash): Implement it, finally.
16868 * elhash.c: Use hashcode_t.
16870 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
16871 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
16873 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
16874 * fns.c (size_bit_vector):
16875 * alloc.c (size_vector):
16876 (make_vector_internal):
16877 (make_bit_vector_internal):
16878 (sweep_bit_vectors_1):
16879 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
16881 2000-02-10 Martin Buchholz <martin@xemacs.org>
16883 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
16884 Include strings.h to avoid warnings for bzero and strcasecmp.
16886 2000-02-10 Olivier Galibert <galibert@pobox.com>
16888 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
16889 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
16891 * fns.c (size_bit_vector): New. Declare bit vectors as a
16894 2000-02-10 Olivier Galibert <galibert@pobox.com>
16896 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
16897 use a value field instead.
16898 (symbol_value_forward_forward): Use value field.
16899 (DEFVAR_SYMVAL_FWD): Use value field.
16900 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
16901 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
16902 (DEFVAR_CONST_INT): Ditto.
16903 (DEFVAR_BOOL): Ditto.
16904 (DEFVAR_CONST_BOOL): Ditto.
16905 (DEFVAR_INT_MAGIC): Ditto.
16906 (DEFVAR_BOOL_MAGIC): Ditto.
16908 * symbols.c (guts_of_unbound_marker): Use value field.
16909 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
16910 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
16912 * lisp.h: Declare dumpopaque and noninteractive1.
16914 * alloc.c (dumpopaque): Added.
16915 (pdump_dump_opaquevec): Added.
16916 (pdump): Call pdump_dump_opaquevec to dump opaque data.
16917 (pdump_load): Reload opaque data. Sync noninteractive1 with
16920 2000-02-10 Andy Piper <andy@xemacs.org>
16922 * glyphs.c (image_instance_layout): if the size changes, mark it
16925 * redisplay-output.c (redisplay_output_layout): Update the
16927 (redisplay_output_subwindow): ditto.
16929 * glyphs.c (update_subwindow): make sure we reset flags for
16930 layouts as well as everything else.
16932 * glyphs-widget.c (layout_layout): don't need to set the instances
16935 2000-02-09 Martin Buchholz <martin@xemacs.org>
16937 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
16938 not HAVE_DLOPEN, which is a lower-level thing.
16940 * .cvsignore: Ignore gmon.out
16942 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
16944 * .cvsignore: Ignore portable dumper xemacs.dmp file
16946 2000-02-09 Andy Piper <andy@xemacs.org>
16948 * redisplay-output.c (redisplay_output_layout): be more clever
16949 about when we output based on the changed flags.
16951 * glyphs.h (struct image_instantiator_methods): add update_method.
16952 (struct Lisp_Image_Instance): add changed flags. Declare new
16953 macros for manipulating them.
16955 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
16956 (image_instance_parent_glyph): find an image_instance's parent
16957 glyph or image_instance.
16958 (image_instance_layout): mark the size as changed.
16959 (set_image_instance_dirty_p): new function. mark an image
16960 instance, plus all of its parents, as dirty.
16961 (Fset_image_instance_property): use it.
16962 (Fglyph_animated_timeout_handler): use it.
16963 (update_subwindow): call update_widget and device methods for
16964 update_subwindow. Mark all changed flags as clean.
16965 (Fresize_subwindow): mark size as changed.
16967 * glyphs-x.c (x_finalize_image_instance): try and detect gc
16969 (x_update_subwindow): only resize subwindows here.
16970 (x_update_widget): new function. Update all changed properties of
16972 (x_resize_subwindow): deleted.
16973 (x_widget_set_property): deleted.
16974 (x_progress_gauge_set_property): deleted.
16975 (x_progress_gauge_update): new function. Implement recorded
16977 (x_tab_control_update): ditto.
16978 (x_tab_control_set_property): deleted.
16979 (console_type_create_glyphs_x): declare new functions.
16980 (image_instantiator_format_create_glyphs_x): ditto.
16982 * glyphs-widget.c (widget_set_property): mark text changed.
16983 (update_widget): new function. Update properties of a widget.
16984 (widget_instantiate): for layouts make sure we set their
16985 children's parent correctly.
16986 (tab_control_set_property): new function. Record changes that will
16987 take place under redisplay's control.
16988 (progress_gauge_set_property): ditto.
16989 (image_instantiator_progress_guage): declare new functions.
16990 (image_instantiator_tab_control): ditto.
16992 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
16994 (mswindows_update_widget): new function. Update all properties on
16995 a widget that have changed.
16996 (mswindows_button_update): new function. Update a button's set
16998 (mswindows_tab_control_update): new function. Update the items in
17000 (mswindows_tab_control_set_property): deleted.
17001 (mswindows_progress_gauge_update): new function. Update the
17002 progress gauge's progress.
17003 (mswindows_widget_set_property): deleted. This is all done
17004 asynchronously now.
17005 (mswindows_progress_gauge_set_property): ditto.
17006 (console_type_create_glyphs_mswindows): declare new methods.
17007 (image_instantiator_format_create_glyphs_mswindows): ditto.
17009 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
17010 (msprinter_set_frame_properties): ditto.
17012 * console.h (struct console_methods): Add update_widget_method.
17014 2000-02-09 Andy Piper <andy@xemacs.org>
17016 * gui-msw.c (Fmswindows_shell_execute): Make
17017 mswindows-shell-execute industrial strength.
17019 2000-02-08 Martin Buchholz <martin@xemacs.org>
17021 * lrecord.h: Make macro argument `props' match member function `plist'.
17024 * fns.c (Fremprop):
17025 * fns.c (Fobject_plist):
17028 Object property list frobbing cleanup.
17029 - Allow any lisp object (compared with `eq'), not just symbols, as
17030 keys in object plists.
17031 - Move symbol plist frobbing into symbols.c, where it belongs.
17032 - Move string plist frobbing into alloc.c, where it belongs.
17033 - Everything's an lrecord now, so no need to test for symbolp, etc.
17034 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
17036 * extents.c: Reorder code to remove declarations.
17038 * frame.h (store_in_alist): Remove useless declaration.
17040 2000-02-07 Martin Buchholz <martin@xemacs.org>
17042 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
17043 * config.h.in: Add HAVE_XCONVERTCASE.
17045 2000-02-07 Andy Piper <andy@xemacs.org>
17047 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
17048 it breaks many things.
17050 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
17052 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
17053 actually can start a common comment type.
17054 * src/syntax.h (SYNTAX_END_P): ditto for end.
17056 2000-02-07 Martin Buchholz <martin@xemacs.org>
17058 * XEmacs 21.2.28 is released.
17060 2000-02-06 Martin Buchholz <martin@xemacs.org>
17062 * event-Xt.c (x_keysym_to_character): New.
17063 (maybe_define_x_key_as_self_inserting_character): New.
17064 (x_has_keysym): New.
17065 Auto-define all keys on the keyboard as self-insert-key.
17067 2000-02-02 Martin Buchholz <martin@xemacs.org>
17069 * menubar.c (vars_of_menubar): A small code simplification.
17071 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
17074 * ExternalClient.c:
17075 * EmacsShell-sub.c:
17078 Use consistent style for specifying X resources.
17080 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
17081 This makes (dontusethis-set-symbol-value-handler) actually usable.
17083 * lrecord.h (lrecord_decription_type):
17084 * alloc.c (pdump_register_sub):
17087 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
17088 Comply with XEmacs coding style.
17089 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
17090 args, and XD_LISP_OBJECT_ARRAY with 3 args.
17092 * keymap.c (Faccessible_keymaps):
17093 Make (accessible-keymaps map "\C-h") do the Right Thing.
17094 Make (accessible-keymaps map []) do the Right Thing.
17095 Make (accessible-keymaps map "") do the Right Thing.
17096 (check_keymap_definition_loop): New function.
17097 (keymap_store_internal): Keep luser from shooting self in foot,
17098 via (define-key ctl-x-4-map "p" global-map).
17099 Remove fullness slot from struct Lisp_Keymap, since hash tables
17101 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
17103 2000-01-30 Martin Buchholz <martin@xemacs.org>
17105 * redisplay.c (init_redisplay): Fix small memory leak.
17107 * elhash.c (pdump_reorganize_hash_table):
17108 Rename from reorganize_hash_table. Change prototype.
17109 Reuse the original memory for hentries. Save 100k.
17110 * alloc.c (PDUMP_READ): new macro.
17111 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
17112 * alloc.c: No need to #ifndef before #undef.
17114 * print.c: Allow debug_print() to print readably by modifying
17115 debug_print_readably. Use consistent variable names.
17117 * .dbxrc: Try to get things to work even if stopped in a function
17118 without source available by explicitly specifying source files.
17119 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17121 * unexnt.c (_start): Removed bogus code which caused loading heap
17122 from differrent executable file.
17123 Removed bogus assignment to _fmode, which caused inconsistencies.
17125 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17127 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
17128 Have spawnve encapsulation regard DONT_ENCAPSULATE.
17129 Do not preliminary `#define signal sigset'.
17131 * systime.h: Do not prototype environ on windows nt and cygwin,
17132 this conflicts with system header.
17134 * syssignal.h: Use correct define for WINDOWSNT
17136 * sysdep.h: Do not prototype environ on windows nt, this conflicts
17137 with system header.
17139 * sysdep.c (near start of file): Fixed commentary and rearranged
17140 ifdefs in readable order.
17141 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
17144 (end_of_data): Do not compile in if using PDUMP.
17146 * symsinit.h: Prototyped vars_of_nt().
17148 * ntproc.c (windows9x_p): Added, instead of os_subtype.
17149 (find_child_console): Use it.
17150 (sys_kill): Use it.
17152 * ntheap.h: Do not extern os_subtype.
17154 * ntheap.c (cache_system_info): Do not cache unneeded:
17155 nt_major_version, nt_minor_version and os_subtype.
17156 (recreate_heap): Do not compile in when PDUMPing.
17158 * nt.c (geteuid and friends): Use the new varibale
17159 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
17160 (init_user_info): Removed the above mentioned hackery.
17161 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
17162 stat has been fixed in the C runtime.
17163 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
17165 * file-coding.c (struct file_coding_dump): Do not define
17166 ucs_to_mule_table in the struct if not MULE.
17167 (struct struct lrecord_description fcd_description_1): Do not dump
17170 * emacs.c (main_1): Call vars_of_nt().
17171 (right before Fdump_emacs_data): Don't need lastfile if using both
17172 portabe dumper and system malloc.
17174 * alloc.c (Fmemory_limit): Conditionalized out.
17175 (pdump): Use OPEN_BINARY for the portable dump file.
17176 (pdump_load): Ditto.
17178 2000-02-02 Mike Alexander <mta@arbortext.com>
17180 * nt.c (convert_time): Set tm_isdst before calling mktime and
17181 avoid calling it at all if the compiler supports 64 bit integers.
17182 Also initialize utc_base_ft before using it.
17184 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
17186 * frame.c (change_frame_size_1): Take f->internal_border_width
17187 into consideration when calculating the width of the frame.
17189 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17191 * window.c (frame_min_height):
17192 (frame_size_valid_p):
17193 (frame_pixsize_valid_p): Added.
17194 (check_frame_size): Generalized.
17196 * window.h: Prototyped the above.
17199 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
17200 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
17201 Deleted Vwin32_* and Vbinary_process_* unused variables.
17203 * device-msw.c (msprinter_init_device): Do not get printer font
17204 list; Added DEVMODE functions.
17206 * frame-msw.c: Added lots of printer code.
17208 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
17211 * console-msw.h: Added more msprinter device private slots.
17213 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17215 * event-msw.c (key_needs_default_processing_p): Added.
17216 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
17218 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17220 * glyphs.c (image_instance_layout): Mark image instance as clean
17222 (glyph_dirty_p): Removed redundant function.
17223 (invalidate_glyph_geometry_maybe): Added.
17224 (update_glyph_cachel_data): Call it.
17226 * glyphs.h: Prototyped it.
17228 * redisplay.c (add_glyph_rune): Call it.
17229 (redisplay_window): Reset glyphs cachels when frame faces have
17230 changed, thus forcing recomputation of built-in border glyphs.
17232 2000-01-30 Martin Buchholz <martin@xemacs.org>
17234 * Makefile.in.in: Make portable dumper and purify play well together.
17235 Add imperfect, but better than nothing, support for pdump.
17236 Remove xemacs.dmp when temacs is re-generated.
17237 Don't ignore errors when dumping xemacs.
17239 * symbols.c (maybe_call_magic_handler): Remove one magic number.
17241 2000-01-28 Andy Piper <andy@xemacs.org>
17243 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
17244 (setup_normal_frame): ditto.
17245 (setup_frame_without_minibuffer): ditto.
17246 (setup_minibuffer_frame): ditto.
17247 (delete_frame_internal): ditto.
17248 (Fmake_frame_invisible): ditto.
17249 (Ficonify_frame): ditto.
17251 * window.h: change Fset_window_buffer signature.
17253 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
17254 (Fset_window_buffer): allow recording of buffer if the window is
17255 the selected window.
17256 (window_loop): Use new Fset_window signature.
17258 2000-01-23 Daniel Pittman <daniel@danann.net>
17260 * config.h.in: Added template for `HAVE_ATHENA_3D'
17262 2000-01-29 Andy Piper <andy@xemacs.org>
17264 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
17266 * gutter.c (output_gutter): Don't output if the window isn't live.
17268 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17270 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
17271 of 01/12/00: Moved SetFocus back here where it belongs.
17273 2000-01-23 Andy Piper <andy@xemacs.org>
17275 * s/cygwin32.h: declare printer things.
17277 2000-01-26 Andy Piper <andy@xemacs.org>
17279 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
17282 2000-01-24 Andy Piper <andy@xemacs.org>
17284 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
17285 (mswindows_button_instantiate): Make sure glyph is a pixmap.
17287 * glyphs-widget.c (widget_instantiate): Avoid shadows.
17289 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
17291 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
17293 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
17294 (mswindows_output_display_block): Avoid local shadows.
17296 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
17297 (mswindows_enqueue_mouse_button_event): ditto.
17298 (mswindows_handle_gui_wm_command): remove declaration.
17300 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
17303 * console-msw.h: Avoid shadows.
17304 (mswindows_get_toolbar_button_text):
17305 (emacs_mswindows_create_stream_pair):
17306 (emacs_mswindows_delete_stream_pair):
17307 (mswindows_handle_toolbar_wm_command): declare.
17309 * device-msw.c (build_syscolor_string): Avoid shadows.
17311 2000-01-23 Andy Piper <andy@xemacs.org>
17313 * glyphs-widget.c (widget_instantiate): reverse the items for
17314 layouts so that children are in the expected order.
17316 2000-01-28 Martin Buchholz <martin@xemacs.org>
17318 * ralloc.c: safe_bcopy ==> memmove
17319 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
17320 * s/msdos.h: Remove BCOPY macros.
17321 * insdel.c (gap_right): Remove BCOPY conditional code.
17322 * insdel.c (gap_left): Remove BCOPY conditional code.
17323 XEmacs demands a working ANSI C compiler - hence memmove.
17325 * regex.c (regex_compile): Remove accidental use of trigraphs.
17327 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17329 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
17332 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17334 * event-msw.c (mswindows_drain_windows_queue): Added the
17336 (mswindows_need_event): Commented the call to
17337 mswindows_drain_windows_queue().
17338 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
17341 * console-msw.h: Moved a few function prototypes here from
17344 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
17345 parameter from unsigned short to unsigned long.
17346 (Fmswindows_shell_execute): Added return value.
17348 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17350 * sysdep.c (init_system_name):
17351 process-unix.c (unix_canonicalized_host_name):
17352 Don't call freeaddrinfo() if getaddrinfo() fails.
17354 * process-unix.c (unix_open_unix_network_stream):
17355 Moved the code to get a port # into address loop.
17357 2000-01-27 Martin Buchholz <martin@xemacs.org>
17359 * buffer.c (reinit_vars_of_buffer):
17360 The right place to initialize conversion_in_dynarr and
17361 conversion_out_dynarr.
17363 * alloc.c (pdump): Use the real open() till sys_open() is functional.
17365 * process-unix.c (unix_canonicalize_host_name): Muleize.
17366 (unix_open_network_stream): Muleize.
17368 * buffer.h: Fix up prototypes for ralloc.c functions.
17370 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17371 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
17372 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
17373 instead of gethostbyname()
17374 * process-unix.c: In unix_canonicalize_host_name() and
17375 unix_open_network_stream(), add code to use getaddrinfo()
17376 instead of gethostbyname().
17378 2000-01-27 Daniel Pittman <daniel@danann.net>
17380 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
17381 libs when built with flat Athena.
17383 2000-01-27 Martin Buchholz <martin@xemacs.org>
17385 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
17386 Use coding standards for function prototypes.
17388 2000-01-25 Martin Buchholz <martin@xemacs.org>
17390 * dialog-msw.c (push_lisp_string_as_unicode):
17391 * doc.c (unparesseuxify_doc_string):
17392 * dired.c (Fuser_name_completion_1):
17393 * dired.c (Fuser_name_all_completions):
17394 * dired.c (free_user_cache):
17395 * dired.c (user_name_completion):
17396 * console-x.c (get_display_arg_connection):
17397 * minibuf.c (clear_echo_area_internal):
17398 * minibuf.c (echo_area_append):
17399 * eldap.c (Fldap_open):
17400 * eldap.c (Fldap_search_internal):
17401 * frame-x.c (x_set_frame_text_value):
17402 * frame-x.c (x_set_frame_properties):
17403 * frame-x.c (x_create_widgets):
17404 * redisplay-tty.c (term_get_fkeys_1):
17405 * objects-x.c (x_parse_nearest_color):
17406 * objects-x.c (x_valid_color_name_p):
17407 * objects-x.c (x_initialize_font_instance):
17408 * objects-x.c (x_list_fonts):
17409 * objects-x.c (x_find_charset_font):
17410 * tooltalk.c (Fadd_tooltalk_message_arg):
17411 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
17412 * tooltalk.c (Fadd_tooltalk_pattern_arg):
17413 * process-unix.c (unix_create_process):
17414 * ntproc.c (sys_spawnve):
17415 * sound.c (Fplay_sound_file):
17416 * sound.c (Fplay_sound):
17417 * buffer.c (init_initial_directory):
17418 * buffer.c (init_buffer):
17419 * editfns.c (init_editfns):
17420 * editfns.c (Ftemp_directory):
17421 * editfns.c (Fuser_full_name):
17422 * editfns.c (uncache_home_directory):
17423 * editfns.c (get_home_directory):
17424 * editfns.c (Fuser_home_directory):
17425 * editfns.c (Fformat_time_string):
17426 * editfns.c (Fcurrent_time_string):
17427 * gui-x.c (button_item_to_widget_value):
17428 * database.c (Fopen_database):
17429 * event-Xt.c (x_to_emacs_keysym):
17430 * event-Xt.c (x_event_to_emacs_event):
17431 * event-Xt.c (describe_event_window):
17432 * event-msw.c (mswindows_wnd_proc):
17433 * glyphs-eimage.c (jpeg_instantiate):
17434 * glyphs-eimage.c (gif_instantiate):
17435 * glyphs-eimage.c (png_instantiate):
17436 * glyphs-eimage.c (tiff_instantiate):
17437 * glyphs-x.c (xbm_instantiate_1):
17438 * glyphs-x.c (x_xbm_instantiate):
17439 * glyphs-x.c (x_xface_instantiate):
17440 * glyphs-x.c (autodetect_instantiate):
17441 * glyphs-x.c (cursor_font_instantiate):
17442 * glyphs-x.c (x_widget_instantiate):
17443 * glyphs-x.c (x_widget_set_property):
17444 * glyphs-x.c (x_widget_property):
17445 * glyphs-x.c (BUILD_GLYPH_INST):
17446 * print.c (write_string_to_stdio_stream):
17447 * print.c (output_string):
17448 * print.c (Falternate_debugging_output):
17449 * print.c (Fexternal_debugging_output):
17450 * glyphs-msw.c (extract_xpm_color_names):
17451 * glyphs-msw.c (mswindows_xpm_instantiate):
17452 * glyphs-msw.c (bmp_instantiate):
17453 * glyphs-msw.c (resource_name_to_resource):
17454 * glyphs-msw.c (mswindows_resource_instantiate):
17455 * glyphs-msw.c (xbm_instantiate_1):
17456 * glyphs-msw.c (mswindows_xbm_instantiate):
17457 * glyphs-msw.c (mswindows_xface_instantiate):
17458 * glyphs-msw.c (mswindows_widget_instantiate):
17459 * glyphs-msw.c (add_tree_item):
17460 * glyphs-msw.c (add_tab_item):
17461 * glyphs-msw.c (mswindows_combo_box_instantiate):
17462 * glyphs-msw.c (mswindows_widget_property):
17463 * glyphs-msw.c (mswindows_combo_box_property):
17464 * glyphs-msw.c (mswindows_widget_set_property):
17465 * console.c (stuff_buffered_input):
17466 * objects-msw.c (mswindows_initialize_color_instance):
17467 * objects-msw.c (mswindows_valid_color_name_p):
17468 * objects-msw.c (mswindows_list_fonts):
17469 * objects-msw.c (mswindows_font_instance_truename):
17470 * bytecode.c (optimize_compiled_function):
17471 * select-x.c (symbol_to_x_atom):
17472 * select-x.c (x_atom_to_symbol):
17473 * select-x.c (hack_motif_clipboard_selection):
17474 * select-x.c (selection_data_to_lisp_data):
17475 * select-x.c (lisp_data_to_selection_data):
17476 * select-x.c (Fx_get_cutbuffer_internal):
17477 * select-x.c (Fx_store_cutbuffer_internal):
17478 * buffer.h (TO_EXTERNAL_FORMAT): New function.
17479 * buffer.h (TO_INTERNAL_FORMAT): New function.
17480 * emacs.c (make_arg_list_1):
17481 * emacs.c (make_argc_argv):
17482 * emacs.c (main_1):
17483 * emacs.c (Fdump_emacs):
17484 * emacs.c (split_string_by_emchar_1):
17489 * device-x.c (x_init_device):
17490 * device-x.c (Fx_valid_keysym_name_p):
17491 * device-x.c (Fx_get_font_path):
17492 * device-x.c (Fx_set_font_path):
17493 * glyphs.c (bitmap_to_lisp_data):
17494 * glyphs.c (pixmap_to_lisp_data):
17495 * alloc.c (make_ext_string): Use coding system arguments. Update
17497 * alloc.c (build_string):
17498 * callproc.c (child_setup):
17499 * callproc.c (init_callproc):
17500 * fileio.c (lisp_strerror):
17501 * fileio.c (directory_file_name):
17502 * fileio.c (Fexpand_file_name):
17503 * fileio.c (Ffile_truename):
17504 * fileio.c (Fsysnetunam):
17505 * fileio.c (Fdo_auto_save):
17506 * sysdep.c (sys_readdir):
17507 * tests.c: New file. Allow adding C tests.
17508 Replace GET_* macros with a more comprehensible and flexible
17509 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
17511 Any coding system can be used to do format conversion.
17512 Eliminate enum external_data_format.
17513 Eliminate convert_to_external_format.
17514 Eliminate convert_to_internal_format.
17515 Make sure file-name, keyboard, terminal, and ctext are always
17516 defined as coding systems or aliases. Make
17517 file-name-coding-system, terminal-coding-system, and
17518 keyboard-coding-system magical variables that are equivalent to
17519 defining the corresponding coding system aliases.
17521 * file-coding.c (Fcoding_system_canonical_name_p): New function.
17522 * file-coding.c (Fcoding_system_alias_p): New function.
17523 * file-coding.c (Fcoding_system_aliasee): New function.
17524 * file-coding.c (append_suffix_to_symbol): New function.
17525 * file-coding.c (dangling_coding_system_alias_p): New function.
17526 * file-coding.c (Ffind_coding_system):
17527 * file-coding.c (Fcopy_coding_system):
17528 * file-coding.c (encode_coding_no_conversion):
17529 * file-coding.c (syms_of_file_coding):
17530 * file-coding.c (vars_of_file_coding):
17531 Rewrite coding system alias code.
17532 Allow nested aliases, like symbolic links.
17533 Allow redefinition of coding system aliases.
17534 Prevent existence of dangling coding system aliases.
17536 * dired.c (Fuser_name_completion_1):
17537 * dired.c (Fuser_name_all_completions):
17538 A crash would happen if user did QUIT in the middle of building
17539 user_name_cache. Remove redundant code in mainline and unwind_protect.
17542 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
17544 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
17545 an unsigned char *. Update all callers.
17547 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17549 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
17551 2000-01-25 Martin Buchholz <martin@xemacs.org>
17553 * elhash.c (hentry_description): Use more portable definition.
17554 (resize_hash_table): Initialize new hentries using
17555 xnew_array_and_zero, thereby simplifying the code.
17557 * mule-charset.c (make_charset): Make sure entire object is
17558 initialized, to avoid Purify warnings.
17560 * alloc.c (resize_string): Fix unlikely crash with big strings.
17562 2000-01-24 Martin Buchholz <martin@xemacs.org>
17564 * realpath.c (xrealpath):
17565 Don't call getwd().
17567 2000-01-25 Martin Buchholz <martin@xemacs.org>
17569 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
17571 1999-12-28 Max Matveev <max@melbourne.sgi.com>
17573 * unexelfsgi.c (unexec): Change the way we decide which segment
17574 should be extended.
17576 Assumption that .bss section should be outside the PT_LOADable
17577 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
17578 it's present) is inside the 'data' segment. This would fail the
17579 test which was used to find a segment to grow and cover new
17580 heap. Instead of this assumption, I created another one - on IRIX
17581 the segment to grow should start below .bss and it's address
17582 should extent above the end of .bss. Once this segment is
17583 identified, it's grown to accommodate the new heap and new
17584 zero-length .bss section is added at the end of .data2.
17586 2000-01-25 Martin Buchholz <martin@xemacs.org>
17588 * eval.c (Feval): Wrong number of arguments should use original
17589 function, not the indirect_function version of it.
17591 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
17593 * glyphs-x.c (x_button_instantiate): Don't add image if
17594 it is not a pixmap.
17595 (x_locate_pixmap_file): Call Fexpand_file_name when file name
17598 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
17600 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
17602 (DEFVAR_INT_MAGIC): Ditto.
17603 (DEFVAR_BOOL_MAGIC): Ditto.
17604 * glyphs.h: Reindent backslash.
17606 2000-01-24 Martin Buchholz <martin@xemacs.org>
17608 * glyphs-widget.c (layout_query_geometry):
17609 (layout_layout): Use correct types for gheight, gwidth.
17611 2000-01-24 Martin Buchholz <martin@xemacs.org>
17613 * EmacsManager.c (QueryGeometry): Purified.
17615 2000-01-23 Martin Buchholz <martin@xemacs.org>
17617 * alloc.c (make_float): Make sure entire object is initialized, to
17618 avoid Purify warnings.
17619 (pdump_register_sub): Remove useless assignment.
17620 (pdump): Use xmalloc, not malloc.
17621 (pdump_load): Use xmalloc, not malloc.
17623 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17630 * sysdep.c: Removed redundant #include <windows.h>
17632 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17634 * frame.c (delete_frame_internal): Do not delete device when its
17635 implementation so declares.
17636 (delete_frame_internal): Set device selected frame to nil when
17637 last frame goes away.
17639 * device-msw.c (msprinter_device_system_metrics): Implemented.
17640 (mswindows_device_system_metrics): Added 'device-dpi property.
17642 * device.c: (Fdevice_printer_p): Added.
17643 Added 'offset-workspace device metric.
17645 * console.h (device_metrics): Declared DM_offset_workspace.
17647 2000-01-23 Martin Buchholz <martin@xemacs.org>
17649 * fileio.c (Ffile_truename): Remove pointless and confusing
17650 initialization of elen.
17652 * glyphs-widget.c: Compiler warning fixes.
17654 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
17656 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
17657 instead of a Lisp_Object as argument to make it consistent with
17658 the other LIVE_P macros.
17659 (CHECK_LIVE_PROCESS): New macro.
17661 * process.c: Declare Qprocess_live_p.
17662 (Fprocess_live_p): New function.
17663 (create_process): Use PROCESS_LIVE_P.
17664 (read_process_output): Ditto.
17665 (set_process_filter): Ditto.
17666 (Fdelete_process): Ditto.
17667 (kill_buffer_processes): Ditto
17668 (process_send_signal): Use CHECK_LIVE_PROCESS.
17669 (Fprocess_input_coding_system): Check whether process is still
17670 alive (fix PR#1061).
17671 (Fprocess_output_coding_system): Ditto.
17672 (Fprocess_coding_system): Ditto.
17673 (Fset_process_input_coding_system): Ditto.
17674 (Fset_process_output_coding_system): Ditto.
17676 2000-01-23 Andy Piper <andy@xemacs.org>
17678 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
17681 * glyphs.c (mark_image_instance): take into account changed
17682 image_instance format.
17683 (image_instance_equal): ditto.
17684 (image_instance_hash): ditto.
17686 * glyphs-widget.c (widget_instantiate): Incorporate layout
17687 instantiation here. Delay layout of the layout until later.
17688 (layout_instantiate): deleted.
17689 (layout_query_geometry): new function. get the geometry of a
17691 (layout_layout): layout a layout dynamically.
17692 (image_instantiator_widget): New function - splitting up
17693 image_instantiator_format_create_glyphs_widget for netwinder
17695 (image_instantiator_buttons):
17696 (image_instantiator_edit_fields):
17697 (image_instantiator_combo_box):
17698 (image_instantiator_scrollbar):
17699 (image_instantiator_progress_guage):
17700 (image_instantiator_tree_view):
17701 (image_instantiator_tab_control):
17702 (image_instantiator_labels):
17703 (image_instantiator_layout): ditto.
17704 (image_instantiator_format_create_glyphs_widget): Call preceding
17707 2000-01-22 Martin Buchholz <martin@xemacs.org>
17709 * process.c (Fset_process_coding_system):
17710 * device-x.c (Fx_keysym_hash_table):
17713 * lstream.c (Lstream_write): Return documented value, not 0.
17715 * fileio.c (directory_file_name):
17716 (Fsubstitute_in_file_name):
17717 (Fsubstitute_insert_file_contents_internal):
17718 (Fwrite_region_internal):
17723 Remove vestigial APOLLO-conditional code.
17725 2000-01-21 Martin Buchholz <martin@xemacs.org>
17727 * getpagesize.h: Add guard macros.
17728 * libsst.h: Add guard macros.
17729 * libst.h: Add guard macros.
17730 * line-number.h: Add guard macros.
17731 * ndir.h: Add guard macros.
17732 * sysfloat.h: Add guard macros.
17733 * sysfile.h: Add guard macros.
17734 * sysproc.h: Add guard macros.
17735 * syswait.h: Add guard macros.
17736 * xintrinsic.h: Add guard macros.
17737 * xintrinsicp.h: Add guard macros.
17738 * xmmanager.h: Add guard macros.
17739 * xmmanagerp.h: Add guard macros.
17740 * xmprimitive.h: Add guard macros.
17741 * xmu.h: Add guard macros.
17742 * gpmevent.h: Add copyright statement. Add guard macros.
17743 * miscplay.h: Add guard macros.
17744 * *.h: Use consistent C-standards-approved guard macro names.
17746 * opaque.c (make_opaque): Switch parameter order.
17747 * opaque.h (make_opaque): Switch parameter order.
17748 Update all callers.
17749 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
17751 * config.h.in (type_checking_assert): Added.
17752 (bufpos_checking_assert): Added.
17754 2000-01-21 Martin Buchholz <martin@xemacs.org>
17756 * alloc.c: Harmless pdump changes.
17758 - spell alignment correctly.
17759 * sysdep.c: Use countof()
17761 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17763 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
17764 initially_selected_for_input() console method, default to 0.
17765 (semi_canonicalize_console_connection): Try to delegate to
17766 canonicalize_console_connection if no such console method.
17767 (canonicalize_console_connection): Vice versa.
17768 (print_console): Do not print nil connection.
17770 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
17771 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
17772 (XDEVIMPF_FRAMELESS_OK): Added.
17773 (CONSOLE_INHERITS_METHOD): Added.
17775 * console-msw.c (mswindows_canonicalize_console_connection):
17777 (mswindows_canonicalize_device_connection): Added.
17779 * console-msw.h (struct msprinter_device): Added this struct and
17781 (mswindows_device): Made fontlist a lisp object.
17783 * device.c (semi_canonicalize_device_connection): Try to delegate
17784 to canonicalize_device_connection if no such console method.
17785 (canonicalize_device_connection): Vice versa.
17786 (print_device): Do not print nil connection.
17788 * device-msw.c (mswindows_init_device): Call InitCommonControls
17790 (mswindows_delete_device): Removed fontlist deallocation.
17791 (mswindows_mark_device): Added.
17793 * events.c (event_equal): Added abort() at unreached code.
17794 (event_hash): Ditto.
17796 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
17797 fallback tags of Windows devices.
17799 * general.c (syms_of_general): Initialized Qmsprinter.
17801 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
17802 of fallback tags of Windows devices.
17804 * lisp.h: Declared Qmsprinter.
17806 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
17808 (mswindows_list_fonts): Ditto.
17809 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
17810 that it can be used by both mswindows and msprinter devices.
17811 (initialize_font_instance): Added.
17812 (mswindows_initialize_font_instance): Use it.
17813 (msprinter_initialize_font_instance): Added.
17815 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
17816 and implementation flags check.
17817 (redisplay_without_hooks): Changed the call to the above.
17818 (Fredraw_device): Ditto.
17819 (Fredisplay_device): Ditto.
17821 * redisplay-msw.c (get_frame_dc): Implemented.
17822 (get_frame_compdc): Implemented.
17823 (many functions): Use the two functions above to get device
17824 contexts, ether for a window or a printer.
17826 2000-01-21 Olivier Galibert <galibert@pobox.com>
17828 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
17829 initialization here.
17830 (init_symbols_once_early): Call it.
17831 * emacs.c (main_1): Call it.
17832 * symsinit.h: Declare it.
17834 2000-01-19 Olivier Galibert <galibert@pobox.com>
17836 * alloc.c: Use a lrecord_header * in the backtrace instead of a
17838 (pdump_backtrace): Ditto.
17839 (pdump_register_object): Ditto. Cleanup use of the pointers.
17840 (pdump_get_entry): Abort if trying to register a null pointer.
17841 (pdump_dump_data): Cleanup types when relocating.
17842 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
17843 (pdump_dump_rtables): Remove bad casts.
17844 (pdump_load): Cleanup relocation w.r.t union type. Use a
17845 Lisp_Object instead of a EMACS_INT for the hashtable
17848 2000-01-20 Martin Buchholz <martin@xemacs.org>
17850 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
17852 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
17854 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
17856 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
17858 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17860 * faces.h (FACE_STRIKETHRU_P): Added.
17862 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
17865 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
17866 (mswindows_set_dc_font): New function, aware of font variants,
17867 separated from mswindows_update_dc.
17869 * objects-msw.h (struct mswindows_font_instance_data): Added
17872 * objects-msw.c (mswindows_finalize_font_instance): Delete all
17873 cached fonts and the data structure.
17874 (mswindows_initialize_font_instance): Added creation of font data
17876 (mswindows_print_font_instance): Print at least something.
17877 (mswindows_create_font_variant): Implemented.
17878 (mswindows_get_hfont): Implemented.
17880 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
17882 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
17883 prototyping problem with msvc.
17885 * emacs.c (main_1): added syms_of_gui_mswindows() call
17887 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
17888 syms_of_gui_mswindows() function
17890 * symsinit.h: added the prototype for syms_of_gui_mswindows()
17892 2000-01-18 Martin Buchholz <martin@xemacs.org>
17894 * XEmacs 21.2.27 is released.
17896 2000-01-18 Martin Buchholz <martin@xemacs.org>
17898 * glyphs-eimage.c (struct tiff_error_struct):
17900 (tiff_warning_func):
17901 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
17906 * unexec.c: Remove vestigial Lucid C code.
17910 * libsst.c: Ansify.
17911 Remove declarations of errno and strerror().
17913 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
17915 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
17917 2000-01-16 Martin Buchholz <martin@xemacs.org>
17919 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
17922 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17927 Change enum eol_type to eol_type_t.
17929 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17931 * gui.c (get_gui_callback): Check cons before accessing car.
17933 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17935 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
17936 (XSETSPECIFIER_TYPE): Ditto.
17938 2000-01-17 Didier Verna <didier@xemacs.org>
17940 * redisplay.c (generate_fstring_runes): compute string size in
17941 characters, not bytes.
17943 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17945 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
17947 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
17949 * print.c (print_error_message): Call print_prepare().
17951 2000-01-14 Martin Buchholz <martin@xemacs.org>
17953 * .dbxrc: Renamed from dbxrc.
17955 * events.c (event_to_character):
17956 Use `assert (foo)' instead of `if (!foo) abort()'
17958 * .gdbinit (xtype): Add documentation.
17959 * .gdbinit (check-temacs): New function.
17960 * .gdbinit (check-xemacs): New function.
17961 * dbxrc (check-xemacs): New function.
17962 * dbxrc (check-xemacs): New function.
17964 2000-01-14 Andy Piper <andy@xemacs.org>
17966 * glyphs-widget.c (widget_query_geometry): Make sure that we
17967 calculate default dimensions correctly.
17969 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17971 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
17973 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
17974 pdump_wire'd variable.
17976 * emacs.c: (main_1): Conditionalized calls to
17977 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
17979 2000-01-13 Martin Buchholz <martin@xemacs.org>
17981 * window.c (Fset_window_configuration):
17982 * sysdep.c (_start):
17983 * input-method-motif.c (res):
17984 * event-Xt.c (Xt_process_to_emacs_event):
17985 Simple compiler warning fixes.
17987 * bytecode.c (funcall_compiled_function): Use the original
17988 function symbol on the backtrace list in preference to the
17989 compiled_function object in error messages.
17991 2000-01-13 Andy Piper <andy@xemacs.org>
17993 * glyphs-x.c (update_widget_face): Make sure we update the widget
17994 background as well as foreground.
17996 2000-01-13 Andy Piper <andy@xemacs.org>
17998 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
17999 fields to subwindow.
18000 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
18001 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
18002 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
18003 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
18005 * glyphs-widget.c (check_valid_tab_orientation): new function.
18006 (initialize_widget_image_instance): zero orientation and
18008 (widget_instantiate): pick up orientation.
18009 (tab_control_query_geometry): return appropriate values for
18012 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
18013 appropriate creation flags for left, right and bottom tabs.
18015 * s/cygwin32.h: add tab definitions.
18017 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18019 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
18020 frame upon hiding a subwindow.
18021 (mswindows_button_instantiate): Changed the push button style to
18023 (mswindows_button_instantiate): Removed button BS_NOTIFY
18025 (mswindows_button_instantiate): Removed redundant check for
18026 a disabled gui item.
18027 (mswindows_button_instantiate): Made use of WS_TABSTOP
18028 consistent: "operable" controls (edit, button, tree, scroll) have
18029 this style, "display-only" ones (static, progress gauge) do
18030 not. This style is currently ignored by XEmacs though. Also,
18031 removed the WS_EX_CONTROLPARENT style - it is not for children,
18032 it is for their parents!
18033 (mswindows_edit_field_instantiate): Ditto.
18034 (mswindows_progress_gauge_instantiate): Ditto.
18035 (mswindows_tree_view_instantiate): Ditto.
18036 (mswindows_tab_control_instantiate): Ditto.
18037 (mswindows_scrollbar_instantiate): Ditto.
18038 (mswindows_combo_box_instantiate): Ditto.
18039 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
18040 style to the "clip" window.
18041 (mswindows_button_instantiate): Removed compilation warning by
18042 equally typing terms of the ?: operator.
18044 2000-01-12 Didier Verna <didier@xemacs.org>
18046 * redisplay.c (generate_fstring_runes): new parameter holding the
18047 last modeline-format extent.
18048 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
18049 extent, fill the glyph block with it.
18050 (generate_fstring_runes): handle these parameters.
18051 (generate_formatted_string_db): ditto.
18053 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
18054 glyphs'extents in the modeline.
18056 1999-01-11 Mike Woolley <mike@bulsara.com>
18058 * ntheap.c: Reduced the reserved heap space from 1Gb down to
18059 256Mb, as a workaround for the non-starting problem many people
18062 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18064 * console-tty.c (Fset_console_tty_output_coding_system):
18065 Force redrawing tty frame.
18067 2000-01-10 Didier Verna <didier@xemacs.org>
18069 * redisplay.c (generate_fstring_runes): fix size computation bug.
18071 2000-01-09 William M. Perry <wmperry@aventail.com>
18073 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
18075 2000-01-09 Andy Piper <andy@xemacs.org>
18077 * glyphs-msw.c: index -> i to avoid shadows.
18078 (xbm_create_bitmap_from_data): make static.
18079 (check_valid_string_or_int): deleted.
18080 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
18082 * glyphs-x.c (x_update_subwindow): remove unused args.
18084 * glyphs.c (glyph_image_instance): return the thing. Don't set the
18085 back pointer - this is done in allocate_image_instance.
18086 (query_string_font): return Qnil to make the compiler happy.
18087 (unmap_subwindow): set to ~0 to make the compiler happy.
18088 (glyph_query_geometry): comment out until used.
18089 (glyph_layout): ditto.
18091 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
18093 * insdel.c (signal_after_change): Remove extraneous unbind_to().