1 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
4 `Qjapanese_jisx0208_1978'.
5 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
6 of `japanese-jisx0208-1978'.
7 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
10 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
12 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
13 only for XEmacs CHISE.
15 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
17 * char-ucs.h: Compact non-ISO-IR charset-ids.
18 (LEADING_BYTE_UCS): Changed to -177.
19 (LEADING_BYTE_CONTROL_1): Changed to -77.
20 (LEADING_BYTE_UCS_BMP): Changed to -176.
21 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
23 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
25 * mule-charset.c (Qiso_ir): New variable.
26 (Fmake_charset): Recognise new property `iso-ir'.
27 (syms_of_mule_charset): Add new symbol `iso-ir'.
29 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
31 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
32 n to -n; charset-id of non ISO-IR sets are changed to positive
35 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
37 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
38 for &MCS-XXXXXXXX; values.
40 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
42 * mule.c (Vxemacs_chise_version): Renamed from
44 (vars_of_mule): Add new variable `xemacs-chise-version'; define
45 `utf-2000-version' as an alias for `xemacs-chise-version'.
47 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
49 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
50 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
53 * config.h.in (CHISE): New macro.
55 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
57 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
59 (Qmap_ucs): New variable.
60 (syms_of_mule_charset): Add new symbol `=ucs'.
61 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
63 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
64 (simplify_char_spec): Likewise.
66 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
68 * char-ucs.h (Qmap_ucs): New extern variable.
70 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
72 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
73 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
74 don't define it when UTF2000 is not defined.
75 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
76 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
77 when UTF2000 is not defined.
78 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
79 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
81 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
83 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
85 * mule-charset.c (Vcharset_ucs_gb): Deleted.
87 (syms_of_mule_charset): Delete `ucs-gb'.
88 (complex_vars_of_mule_charset): Likewise.
90 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
92 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
94 * mule-charset.c (Vcharset_ucs_cns): Deleted.
96 (syms_of_mule_charset): Delete `ucs-cns'.
97 (complex_vars_of_mule_charset): Likewise.
99 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
101 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
103 * mule-charset.c (Vcharset_ucs_jis): Deleted.
105 (syms_of_mule_charset): Delete `ucs-jis'.
106 (complex_vars_of_mule_charset): Likewise.
108 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
110 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
112 * mule-charset.c (Vcharset_ucs_ks): Deleted.
114 (syms_of_mule_charset): Delete `ucs-ks'.
115 (complex_vars_of_mule_charset): Likewise.
117 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
119 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
120 (Qideograph_daikanwa_2): Deleted.
121 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
122 (complex_vars_of_mule_charset): Likewise.
124 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
125 (LEADING_BYTE_DAIKANWA_1): Deleted.
126 (LEADING_BYTE_DAIKANWA_2): Deleted.
127 (MIN_CHAR_DAIKANWA): Deleted.
128 (MAX_CHAR_DAIKANWA): Deleted.
130 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
132 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
133 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
134 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
136 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
137 (Vcharset_ideograph_daikanwa): Deleted.
138 (Qideograph_hanziku_{1..12}): Deleted.
139 (Qideograph_daikanwa): Deleted.
140 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
141 Vcharset_ideograph_daikanwa.
142 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
143 `ideograph-hanziku-{1..12}'.
144 (complex_vars_of_mule_charset): Likewise.
146 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
148 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
150 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
151 (Qideograph_gt_pj_{1..11}): Deleted.
152 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
153 (complex_vars_of_mule_charset): Likewise.
155 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
157 * mule-charset.c (Vcharset_ucs_big5): Deleted.
158 (Vcharset_ideograph_gt): Deleted.
159 (Qucs_big5): Deleted.
160 (Qideograph_gt): Deleted.
161 (syms_of_mule_charset): Delete symbol `ucs-big5' and
163 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
166 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
167 (LEADING_BYTE_GT): Deleted.
168 (MIN_CHAR_GT): Deleted.
169 (MAX_CHAR_GT): Deleted.
171 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
173 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
175 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
177 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
178 (save_uint16_byte_table): Likewise.
179 (save_byte_table): Likewise; convert values by it.
180 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
181 for `ideographic-structure'.
182 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
183 as the filter for `ideographic-structure'.
185 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
187 * chartab.c (put_char_composition): New function.
188 (Fput_char_attribute): Use `put_char_composition'; use
189 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
191 * fns.c (simplify_char_spec): New function.
192 (char_ref_simplify_spec): New function.
193 (Fchar_refs_simplify_char_specs): New function.
194 (syms_of_fns): Add new builtin function
195 `char-refs-simplify-char-specs'.
197 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
199 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
200 (Qideograph_cbeta): Deleted.
201 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
202 (complex_vars_of_mule_charset): Likewise.
204 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
205 (MIN_CHAR_CBETA): Comment out.
206 (MAX_CHAR_CBETA): Likewise.
208 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
210 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
211 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
212 CHISE client feature.
214 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
216 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
218 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
220 * mule-charset.c (charset_lookup_description_1): Use
221 `NUM_LEADING_BYTES' in UTF-2000.
223 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
225 * char-ucs.h (GC_CHARSETP): Deleted.
227 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
229 * char-ucs.h (MAX_CHAR_GT): Updated.
231 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
233 * text-coding.c: Sync with XEmacs 21.4.10.
235 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
237 * mule-charset.c (Vcharset_china3_jef): Deleted.
238 (Qchina3_jef): Deleted.
239 (syms_of_mule_charset): Don't define `china3-jef'.
240 (complex_vars_of_mule_charset): Likewise.
242 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
243 (MIN_CHAR_CHINA3_JEF): Comment out.
244 (MAX_CHAR_CHINA3_JEF): Comment out.
246 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
248 * mule-charset.c (Vcharset_ucs_gb): New variable.
249 (Qucs_gb): New variable.
250 (syms_of_mule_charset): Add new symbol `ucs-gb'.
251 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
253 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
255 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
257 * mule-charset.c (charset_code_point): if a coded-charset has a
258 final-byte, don't inherit the builtin range of the mother CCS.
260 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
262 * mule-charset.c (charset_code_point): Fix problem about
265 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
267 * mule-charset.c (decode_builtin_char): Reorganized.
269 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
271 * text-coding.c (char_encode_as_entity_reference): Modify for
272 `charset_code_point'.
273 (char_encode_shift_jis): Likewise.
274 (char_encode_big5): Likewise.
275 (char_encode_utf8): Likewise.
276 (char_encode_iso2022): Likewise.
278 * mule-charset.c (charset_code_point): Add new argument
280 (Fencode_char): Add new optional argument `defined_only'.
282 * chartab.c (put_char_table): Modify for `charset_code_point'.
284 * char-ucs.h (charset_code_point): Add new argument
286 (encode_char_1): Modify for `charset_code_point'.
288 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
290 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
291 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
293 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
295 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
296 (Qjis_x0208): Likewise.
297 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
298 XCHARSET_FINAL(charset).
299 (charset_code_point): Modify condition for final-byte based
301 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
302 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
303 in UTF-2000; specify `=jis-x0208' as the mother of
304 `japanese-jisx0208-1978', `japanese-jisx0208' and
305 `japanese-jisx0208-1990' in UTF-2000.
307 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
309 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
311 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
313 * text-coding.c (decode_coding_utf16): Support UTF-16.
314 (char_encode_utf16): Fixed.
316 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
318 * text-coding.c (Qutf16): New variable in MULE.
319 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
320 (Fcoding_system_type): Add `utf-16' in MULE.
321 (struct detection_state): Add a structure for utf16 in MULE.
322 (detect_coding_type): Setup st->utf16.mask in MULE.
323 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
325 (reset_encoding_stream): Use `char_encode_utf16' and
326 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
327 (detect_coding_utf16): New function [incomplete].
328 (decode_coding_utf16): New function [support only UCS-2].
329 (char_encode_utf16): New function.
330 (char_finish_utf16): New function.
331 (syms_of_file_coding): Add new symbol `utf-16'; setup
332 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
334 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
336 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
337 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
339 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
341 * chartab.c (put_char_table): When a charset is specified as a
342 range in UTF-2000, don't support builtin characters.
344 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
346 * mule-charset.c (decode_defined_char): Don't refer external
347 database if Qunbound or Qnil are found.
348 (Fsave_charset_mapping_table): Don't define it if
349 HAVE_CHISE_CLIENT is not defined.
350 (Freset_charset_mapping_table): New function.
351 (load_char_decoding_entry_maybe): Store Qnil if a character is not
352 found in external database.
353 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
354 if HAVE_CHISE_CLIENT is not defined; add new builtin function
355 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
357 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
359 * text-coding.c (decode_coding_utf8): Check CCS is specified or
362 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
364 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
365 Q_lowercase, Q_uppercase in UTF-2000.
367 * chartab.c (get_char_table): Add special code for the standard
368 case table to use character attribute `->downcase' and
369 `->uppercase' for case operations in UTF-2000.
371 * casetab.c (Qflippedcase): New variable in UTF-2000.
372 (Q_lowercase): Likewise.
373 (Q_uppercase): Likewise.
374 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
375 and `->uppercase' in UTF-2000.
376 (complex_vars_of_casetab): Assign attribute name `downcase' to
377 downcase and CANON table of Vstandard_case_table in UTF-2000;
378 assign attribute name `flippedcase' to upcase and EQV table of
379 Vstandard_case_table in UTF-2000.
381 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
383 * text-coding.c (decode_add_er_char): Support isolated-chars.
384 (char_encode_as_entity_reference): Likewise.
386 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
388 * emacs.c (Vutf_2000_lisp_directory): New variable.
389 (Vconfigure_utf_2000_lisp_directory): Likewise.
390 (complex_vars_of_emacs): Add new variable
391 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
393 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
395 * char-ucs.h (DECODE_CHAR): Delete special code for
396 `chinese-big5-1' and `chinese-big5-2'.
398 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
400 (decode_defined_char): Support CONVERSION_BIG5_1 and
402 (decode_builtin_char): Likewise.
403 (charset_code_point): Likewise.
404 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
405 'conversion in UTF-2000.
406 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
407 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
408 `chinese-big5-2' as children of `chinese-big5'.
410 * char-ucs.h (CONVERSION_BIG5_1): New macro.
411 (CONVERSION_BIG5_2): New macro.
413 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
415 * text-coding.c (char_encode_big5): Support entity-reference.
417 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
419 * text-coding.c (char_encode_as_entity_reference): New function.
420 (char_encode_utf8): Use `char_encode_as_entity_reference'.
422 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
424 * text-coding.c (decode_coding_big5): Support entity-reference
427 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
429 * text-coding.c (allocate_coding_system): Initialize initial
430 charsets for CODESYS_UTF8.
431 (Fmake_coding_system): Accept charset-g0, charset-g1 and
432 charset-g2 for CODESYS_UTF8.
433 (decode_coding_utf8): Use charset-g0.
434 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
435 to force variants to map to UCS.
437 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
439 * text-coding.c (Qutf_8_mcs): New variable.
440 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
441 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
442 instead of `utf-8' in UTF-2000.
444 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
446 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
447 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
448 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
449 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
450 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
451 CONVERSION_96x96x96x96 are introduced.
452 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
453 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
454 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
456 * char-ucs.h (CONVERSION_94): New macro.
457 (CONVERSION_96): New macro.
458 (CONVERSION_94x94): New macro.
459 (CONVERSION_96x96): New macro.
460 (CONVERSION_94x94x94): New macro.
461 (CONVERSION_96x96x96): New macro.
462 (CONVERSION_94x94x94x60): New macro.
463 (CONVERSION_94x94x94x94): New macro.
464 (CONVERSION_96x96x96x96): New macro.
466 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
468 * chartab.c (Vcharacter_variant_table): Deleted.
469 (Fchar_variants): Use character-attribute `->ucs-variants' instead
470 of `Vcharacter_variant_table'.
471 (Fput_char_attribute): Likewise.
472 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
473 (complex_vars_of_chartab): Likewise.
475 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
477 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
479 * fns.c (Qideographic_structure): New variable.
480 (Qkeyword_char): New variable.
481 (ids_format_unit): New function.
482 (Fideographic_structure_to_ids): New function.
483 (syms_of_fns): Add new symbols `ideographic-structure' and
484 `:char'; add new builtin function `ideographic-structure-to-ids'.
486 * data.c (Fchar_ref_p): New function.
487 (syms_of_data): Add new builtin function `char-ref-p'.
489 * chartab.h: Add an EXFUN for `Ffind_char'.
491 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
493 * text-coding.c (Vcharacter_composition_table): Deleted.
494 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
497 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
499 (Vcharacter_composition_table): Deleted.
500 (Fget_composite_char): Use the implementation for external-DB
501 support in every UTF-2000.
502 (Fput_char_attribute): Likewise.
503 (char_attribute_system_db_file): Don't define if external-DB
504 feature is not available.
505 (Fsave_char_attribute_table): Likewise.
506 (Fmount_char_attribute_table): Likewise.
507 (Fclose_char_attribute_table): Likewise.
508 (Freset_char_attribute_table): Likewise.
509 (Fload_char_attribute_table): Likewise.
510 (syms_of_chartab): Don't define `save-char-attribute-table',
511 `mount-char-attribute-table', `reset-char-attribute-table',
512 `close-char-attribute-table' and `load-char-attribute-table' if
513 external-DB feature is not available.
514 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
516 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
518 * text-coding.c (Qcomposition): Add extern if external-DB feature
520 (Vcharacter_composition_table): Don't add extern if external-DB
521 feature is supported.
522 (COMPOSE_ADD_CHAR): Modify for new data-representation of
523 character composition rule if external-DB feature is supported.
525 * chartab.c (Vcharacter_composition_table): Don't define if
526 external-DB feature is supported.
527 (Qcomposition): New variable.
528 (Fget_composite_char): New implementation for external-DB support.
529 (Fput_char_attribute): Use `composition' property of each
530 character instead of `Vcharacter_composition_table' to store
531 character-composition rules if external-DB feature is supported.
532 (syms_of_chartab): Add new symbol `composition'.
533 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
534 external-DB feature is supported.
536 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
538 * chartab.c (Vchar_db_stingy_mode): New variable.
539 (load_char_attribute_maybe): Close database if
540 Vchar_db_stingy_mode is not NIL.
541 (Fload_char_attribute_table_map_function): Use
542 `get_char_id_table_0' instead of `get_char_id_table'.
543 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
545 * chartab.h (get_char_id_table_0): New inline function.
546 (get_char_id_table): Use `get_char_id_table_0'.
548 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
550 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
551 and `COMPOSE_ADD_CHAR'.
552 (decode_coding_iso2022): Use `decode_flush_er_chars'.
554 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
556 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
557 instead of `DECODE_ADD_UCS_CHAR'.
558 (COMPOSE_ADD_CHAR): Likewise.
560 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
562 * text-coding.c (decode_flush_er_chars): New inline function.
563 (decode_add_er_char): New function.
564 (decode_coding_utf8): Use `decode_flush_er_chars' and
565 `decode_add_er_char'.
567 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
569 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
570 done before `decode_output_utf8_partial_char'.
572 * mule-charset.c (complex_vars_of_mule_charset): Specify
573 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
574 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
576 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
578 * mule-charset.c (decode_defined_char): New function; search
580 (decode_builtin_char): Don't search mother if
581 XCHARSET_MAX_CODE(charset) == 0.
582 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
583 == 0 even if code >= XCHARSET_MAX_CODE(charset).
584 (Fdecode_char): Use `decode_defined_char' instead of
585 `DECODE_DEFINED_CHAR'.
586 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
587 mother of `Vcharset_ucs_jis'.
589 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
590 instead of `DECODE_DEFINED_CHAR'.
592 * char-ucs.h (decode_defined_char): Renamed from
593 `DECODE_DEFINED_CHAR'; changed to normal function.
594 (DECODE_CHAR): Use `decode_defined_char' instead of
595 `DECODE_DEFINED_CHAR'.
597 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
599 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
601 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
603 * text-coding.c (Vcoded_charset_entity_reference_alist): New
605 (Quse_entity_reference): New variable.
609 (coding_system_description): Add description for
611 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
612 (allocate_coding_system): Initialize `ccs_priority_list' in
614 (Fmake_coding_system): Add description about
615 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
617 (Fcoding_system_property): Accept `disable-composition' and
618 `use-entity-reference' in UTF-2000.
619 (struct decoding_stream): Add new member `er_counter' and `er_buf'
621 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
622 (decode_coding_utf8): Decode entity-reference if
623 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
624 (char_encode_utf8): Encode non-Unicode characters as
625 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
627 (syms_of_file_coding): Add new symbols `use-entity-reference',
629 (vars_of_file_coding): Add new variable
630 `coded-charset-entity-reference-alist'.
631 (complex_vars_of_file_coding): Declare `disable-composition' and
632 `use-entity-reference' to be coding-system-properties in UTF-2000.
634 * file-coding.h (struct Lisp_Coding_System): Add new member
635 `use_entity_reference' and `ccs_priority_list'.
636 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
637 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
638 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
640 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
642 * chartab.c (save_uint8_byte_table): Don't clear the table.
643 (save_uint16_byte_table): Likewise.
644 (save_byte_table): Likewise.
645 (Fmount_char_attribute_table): New function.
646 (syms_of_chartab): Add new builtin function
647 `mount-char-attribute-table'.
649 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
651 * mule-charset.c (Fsave_charset_mapping_table): Open database as
653 (load_char_decoding_entry_maybe): Open database as read-only mode.
655 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
656 open database as "w+" mode.
657 (load_char_attribute_maybe): Open database as read-only mode.
658 (Fload_char_attribute_table): Likewise.
660 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
662 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
663 (char_table_description): Delete member `db_file'.
664 (Fmake_char_table): Don't refer `ct->db_file'.
665 (Fcopy_char_table): Likewise.
666 (Fsave_char_attribute_table): Likewise.
667 (Fclose_char_attribute_table): Likewise.
668 (Freset_char_attribute_table): Likewise.
669 (load_char_attribute_maybe): Likewise.
670 (Fload_char_attribute_table): Likewise.
672 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
674 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
676 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
677 (Fsave_char_attribute_table): Don't check `ct->db_file' if
679 (load_char_attribute_maybe): Likewise.
680 (Fload_char_attribute_table): Likewise.
682 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
684 * chartab.c (Fclose_char_attribute_table): Set Qnil on
685 `ct->db_file' unconditionally.
687 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
689 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
691 (char_table_description): Add description for `db_file' and `db'
693 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
695 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
696 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
697 (Fclose_char_attribute_table): New function.
698 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
699 (load_char_attribute_maybe): Change interface; use `cit->db_file'
701 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
702 (syms_of_chartab): Add new builtin function
703 `Fclose_char_attribute_table'.
705 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
707 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
709 (load_char_attribute_maybe): Change interface.
710 (get_char_id_table): Modify for `load_char_attribute_maybe'.
712 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
714 * database.h: Add an EXFUN for `Fdatabase_live_p'.
716 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
718 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
719 instead of `DECODE_CHAR' for mother; don't use special code for
720 chinese-big5 to use code space of chinese-big5-1 and
722 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
723 `MAX_CHAR_BIG5_CDP' for chinese-big5.
725 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
726 (MAX_CHAR_BIG5_CDP): Revival.
728 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
730 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
731 the XLFD registry-encoding name of `chinese-big5'.
733 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
735 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
736 (Qchinese_big5_cdp): Deleted.
737 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
738 (complex_vars_of_mule_charset): Delete coded-charset
741 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
742 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
743 `CHARSET_ID_OFFSET - n' for private CCS.
744 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
745 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
746 of `MIN_LEADING_BYTE'.
747 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
748 `(CHARSET_ID_OFFSET - 97)'.
749 (MIN_CHAR_BIG5_CDP): Deleted.
750 (MAX_CHAR_BIG5_CDP): Deleted.
752 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
754 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
756 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
758 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
759 (vars_of_mule): Add new variable `utf-2000-version' [moved from
762 * chartab.c (Vutf_2000_version): Moved to mule.c.
763 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
765 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
767 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
768 when HAVE_CHISE_CLIENT is not defined.
770 * mule.c (vars_of_mule): Provide feature `chise' when
771 HAVE_CHISE_CLIENT is defined.
773 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
775 * config.h.in (UTF2000): Add comment.
776 (HAVE_CHISE_CLIENT): New macro.
778 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
780 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
782 (Fput_char_attribute): Likewise.
783 (char_attribute_system_db_file): Encode file-name of attribute.
784 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
787 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
789 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
790 (Fsave_charset_mapping_table): Use
791 `char_attribute_system_db_file'.
792 (load_char_decoding_entry_maybe): Likewise.
794 * chartab.h (Qsystem_char_id): New external variable.
795 (char_attribute_system_db_file): New prototype.
797 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
798 (char_attribute_system_db_file): New function.
799 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
800 (Freset_char_attribute_table): Likewise.
801 (load_char_attribute_maybe): Likewise.
802 (Fload_char_attribute_table): Likewise.
803 (syms_of_chartab): Add new symbol `system-char-id'.
805 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
807 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
808 `XCHARSET_GRAPHIC(ccs)'.
810 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
812 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
814 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
816 * chartab.c (Q_ucs_variants): New variable.
817 (syms_of_chartab): Add new symbol `->ucs-variants'.
818 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
819 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
820 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
822 * mule-charset.c (load_char_decoding_entry_maybe): New function.
824 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
825 `HAVE_DATABASE' is defined.
826 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
827 `HAVE_DATABASE' is defined.
829 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
831 * chartab.c (Fsave_char_attribute_table): Don't clear internal
833 (Freset_char_attribute_table): New function.
834 (syms_of_chartab): Add new builtin function
835 `reset-char-attribute-table'.
837 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
839 * chartab.c (load_char_attribute_maybe): Don't make directories.
841 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
843 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
845 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
848 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
850 * mule-charset.c (Fsave_charset_mapping_table): Use
851 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
853 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
854 instead of `XCHARSET_CHARS'.
856 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
858 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
859 (XCHARSET_BYTE_SIZE): Likewise.
861 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
863 (XCHARSET_BYTE_SIZE): Likewise.
865 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
867 * chartab.c (Fput_char_attribute): Use exec-directory instead of
868 data-directory to store database.
869 (Fsave_char_attribute_table): Likewise.
870 (load_char_attribute_maybe): Likewise.
871 (Fload_char_attribute_table): Likewise.
873 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
875 * mule-charset.c (Fsave_charset_mapping_table): New function.
876 (syms_of_mule_charset): Add new builtin function
877 `save-charset-mapping-table'.
879 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
881 * char-ucs.h (decoding_table_check_elements): Delete prototype.
882 (get_ccs_octet_table): New inline function.
883 (put_ccs_octet_table): Likewise.
884 (decoding_table_put_char): Use `get_ccs_octet_table' and
885 `put_ccs_octet_table'.
886 (decoding_table_remove_char): Use `decoding_table_put_char'.
887 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
889 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
891 (make_charset): Use Qunbound instead Qnil as initial value of
894 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
896 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
897 element is Qunloaded.
898 (map_over_uint16_byte_table): Likewise.
899 (map_over_byte_table): Likewise.
900 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
901 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
902 database support, load encoding-table of the specified
903 coded-charset if it is not loaded yet.
904 (save_uint8_byte_table): New function of UTF-2000 with external
906 (save_uint16_byte_table): Likewise.
907 (save_byte_table): Likewise.
908 (Fput_char_attribute): Don't store value into external database
909 even if the external database feature is supported in UTF-2000;
910 set `attribute' as name of char-table if the external database
911 feature is supported.
912 (Fsave_char_attribute_table): New function in UTF-2000.
913 (syms_of_chartab): Add new builtin function
914 `save-char-attribute-table' in UTF-2000.
916 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
918 * chartab.c (char_attribute_table_to_put): New variable in
920 (Qput_char_table_map_function): Likewise.
921 (value_to_put): Likewise.
922 (Fput_char_table_map_function): New function in UTF-2000.
923 (put_char_table): Use `Fmap_char_attribute' for
924 CHARTAB_RANGE_CHARSET in UTF-2000.
925 (Fput_char_attribute): Store symbol instead of string in
926 `XCHAR_TABLE_NAME (table)'.
927 (load_char_attribute_maybe): Likewise.
928 (syms_of_chartab): Add new symbol/function
929 `put-char-table-map-function'.
931 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
933 * database.h: Add new EXFUN for `Fmap_database'.
935 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
936 (syms_of_database): Likewise.
938 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
940 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
941 (XCHAR_TABLE_UNLOADED): Likewise.
943 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
944 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
945 HAVE_DATABASE is defined.
946 (char_attribute_table_to_load): New variable of UTF-2000 with
947 external database support.
948 (Qload_char_attribute_table_map_function): Likewise.
949 (Fload_char_attribute_table_map_function): New function of
950 UTF-2000 with external database support.
951 (Fload_char_attribute_table): New function of UTF-2000.
952 (Fmap_char_attribute): Call Fload_char_attribute_table if
953 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
954 (syms_of_chartab): Add new symbol and function
955 `load-char-attribute-table-map-function' in UTF-2000 with external
956 database support; add new function `load-char-attribute-table' in
959 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
961 * chartab.h (load_char_attribute_maybe): New prototype for
962 UTF-2000 with DATABASE support.
963 (get_char_id_table): Use `load_char_attribute_maybe' if
964 HAVE_DATABASE is defined.
966 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
967 with DATABASE support.
969 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
971 * chartab.c (Fput_char_attribute): Use S-expression as key of
974 * chartab.h (get_char_id_table): Use S-expression as key of
977 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
979 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
980 if an element is not loaded, load the corresponding attributes
981 from an external database.
982 (map_over_uint16_byte_table): Likewise.
983 (map_over_byte_table): Likewise.
984 (map_char_table): Modify for `map_over_uint8_byte_table',
985 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
986 element is not loaded, load the corresponding attributes from an
988 (Fput_char_attribute): Change initial values to Qunloaded.
990 * chartab.h (get_char_id_table): If a character attribute is not
991 loaded and the attribute value is not found in an external
992 database, store Qunbound as the attribute value.
994 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
996 * chartab.c (BT_UINT8_unloaded): New macro.
997 (UINT8_VALUE_P): Accept Qunloaded.
998 (UINT8_ENCODE): Likewise.
999 (UINT8_DECODE): Likewise.
1000 (BT_UINT16_unloaded): New macro.
1001 (UINT16_VALUE_P): Accept Qunloaded.
1002 (UINT16_ENCODE): Likewise.
1003 (UINT16_DECODE): Likewise.
1004 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1006 (mark_char_table): Mark `ct->name' in UTF-2000.
1007 (char_table_description): Add `name' in UTF-2000.
1008 (Fmake_char_table): Initialize `ct->name'.
1009 (Fcopy_char_table): Copy `ct->name'.
1010 (Fput_char_attribute): Store value into an external database if
1011 HAVE_DATABASE is defined.
1013 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
1015 (CHAR_TABLE_NAME): New macro in UTF-2000.
1016 (XCHAR_TABLE_NAME): New macro in UTF-2000.
1017 (get_char_id_table): Try to read an external database if Qunloaded
1018 is stored in a table.
1020 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
1023 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1025 * database.h: Add EXFUN definitions for Fopen_database,
1026 Fput_database, Fget_database and Fclose_database.
1028 * data.c (Qunloaded): New variable in UTF-2000.
1030 * lisp.h (Qunloaded): New variable in UTF-2000.
1032 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1034 * mule-charset.c (put_char_ccs_code_point): Modify for
1035 `decoding_table_remove_char' and `decoding_table_put_char'.
1036 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1038 * char-ucs.h (decoding_table_remove_char): Change arguments to
1039 hide decoding_table vector.
1040 (decoding_table_put_char): Likewise.
1042 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1044 * mule-charset.c (decoding_table_remove_char): Moved to
1046 (decoding_table_put_char): Likewise.
1048 * char-ucs.h (decoding_table_check_elements): New prototype [moved
1049 from mule-charset.c].
1050 (decoding_table_remove_char): New inline function [moved from
1052 (decoding_table_put_char): Likewise.
1054 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1056 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
1059 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1061 * mule-charset.c (decode_builtin_char): Support mother charsets.
1063 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1065 * mule-charset.c (Q94x94x60): New variable.
1066 (charset_code_point): Support conversion `94x94x60'.
1067 (Fmake_charset): Likewise.
1068 (syms_of_mule_charset): Add new symbol `94x94x60'.
1070 * char-ucs.h (CONVERSION_94x94x60): New macro.
1072 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1074 * mule-charset.c (charset_code_point): Unify code about
1077 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1079 * mule-charset.c (charset_code_point): Merge code about builtin
1080 characters into code about mother charsets; don't use
1081 `range_charset_code_point'.
1082 (range_charset_code_point): Deleted.
1084 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1086 * mule-charset.c (Qcode_offset): New variable.
1087 (Fmake_charset): Use `XUINT' to get value of `min-code' and
1088 `max-code'; accept new property `code-offset'.
1089 (syms_of_mule_charset): Add new symbol `code-offset'.
1091 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1093 * mule-charset.c (range_charset_code_point): Fixed.
1095 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1097 * mule-charset.c (decode_builtin_char): Change semantics of
1098 code-offset of coded-charset.
1099 (charset_code_point): Likewise.
1100 (range_charset_code_point): Likewise.
1101 (complex_vars_of_mule_charset): Modify for the change.
1103 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1105 * mule-charset.c (Fencode_char): Reverse arguments.
1107 * mule-charset.c (charset_code_point): Fixed.
1109 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1111 * mule-charset.c (Vcharset_mojikyo): Deleted.
1112 (Vcharset_mojikyo_2022_1): Deleted.
1113 (Vcharset_mojikyo_pj_{1..21}): Deleted.
1114 (Qmin_code): New variable in UTF-2000.
1115 (Qmax_code): Likewise.
1116 (Qmother): Likewise.
1117 (Qconversion): Likewise.
1119 (Qmojikyo): Deleted.
1120 (Qmojikyo_2022_1): Deleted.
1121 (Qmojikyo_pj_{1..22}): Deleted.
1122 (mark_charset): Mark `cs->mother'.
1123 (charset_description): Add description for `mother'.
1124 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
1125 new arguments `mother' and `conversion'; use
1126 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
1127 (charset_code_point): Moved from char-ucs.h; support `mother'
1129 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
1130 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
1131 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
1132 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
1133 allow 2 as the value of `graphic' in UTF-2000; add new properties
1134 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
1135 require `final' in UTF-2000; modify for `make_charset'.
1136 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
1137 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
1138 (Fcharset_property): Support `mother', `min-code' and `max-code'.
1139 (Fencode_char): New function.
1140 (syms_of_mule_charset): Add new builtin function `encode-char' in
1141 UTF-2000; add new symbols `min-code', `max-code', `mother',
1142 `conversion' and `94x60'; delete symbols `mojikyo',
1143 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
1144 (complex_vars_of_mule_charset): Modify for `make_charset' change;
1145 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
1146 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
1148 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
1149 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
1151 * char-ucs.h (Vcharset_mojikyo): Deleted.
1152 (Vcharset_mojikyo_2022_1): Deleted.
1153 (LEADING_BYTE_MOJIKYO): Deleted.
1154 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
1155 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
1156 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
1157 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
1158 add new member `mother'; add new member `conversion'.
1159 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
1160 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
1161 (CHARSET_MOTHER): New macro.
1162 (CHARSET_CONVERSION): New macro.
1163 (CONVERSION_IDENTICAL): New macro.
1164 (CONVERSION_94x60): New macro.
1165 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
1166 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
1167 (XCHARSET_MOTHER): New macro.
1168 (XCHARSET_CONVERSION): New macro.
1169 (MIN_CHAR_MOJIKYO): Deleted.
1170 (MAX_CHAR_MOJIKYO): Deleted.
1171 (DECODE_MOJIKYO_2022): Deleted.
1172 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
1173 (charset_code_point): Changed to non-inline function.
1174 (encode_char_1): Use `charset_code_point'.
1175 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
1177 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1179 * lread.c (read_compiled_function): Fix prototype.
1180 (read_vector): Likewise.
1182 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1184 * lrecord.h (struct lrecord_header): Delete `older'.
1185 (set_lheader_implementation): Delete code for `older'.
1186 (set_lheader_older_implementation): Deleted.
1187 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
1188 (OLDER_RECORD_P): Deleted.
1189 (OLDER_RECORD_HEADER_P): Deleted.
1190 (alloc_older_lcrecord): Deleted.
1191 (alloc_older_lcrecord_type): Deleted.
1193 * alloc.c (all_older_lcrecords): Deleted.
1194 (alloc_older_lcrecord): Deleted.
1195 (disksave_object_finalization_1): Delete code for older objects.
1196 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
1197 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
1199 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1201 * mule-charset.c (decoding_table_put_char): Use `make_vector'
1202 instead of `make_older_vector'.
1203 (put_char_ccs_code_point): Likewise.
1204 (mark_charset): Mark `cs->decoding_table'.
1205 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
1207 * lisp.h (make_older_vector): Deleted.
1208 (make_vector_newer): Deleted.
1210 * config.h.in (HAVE_GGC): Deleted.
1212 * alloc.c (make_older_vector): Deleted.
1213 (make_vector_newer_1): Deleted.
1214 (make_vector_newer): Deleted.
1216 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1218 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
1219 (Qideograph_daikanwa_2): New variable.
1220 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
1221 (complex_vars_of_mule_charset): Add new coded-charset
1222 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
1223 `LEADING_BYTE_DAIKANWA'.
1225 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
1226 (LEADING_BYTE_DAIKANWA_1): New macro.
1227 (LEADING_BYTE_DAIKANWA_2): New macro.
1228 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
1230 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1232 * mule-charset.c (complex_vars_of_mule_charset): Change
1233 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
1234 the second revised version.
1236 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1238 * mule-charset.c (Vcharset_ucs_smp): New variable.
1239 (Vcharset_ucs_sip): New variable.
1240 (Qucs_smp): New variable.
1241 (Qucs_sip): New variable.
1242 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
1243 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
1244 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
1245 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
1246 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
1247 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
1249 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
1250 (LEADING_BYTE_UCS_SIP): New macro.
1251 (MIN_CHAR_SMP): New macro.
1252 (MAX_CHAR_SMP): New macro.
1253 (MIN_CHAR_SIP): New macro.
1254 (MAX_CHAR_SIP): New macro.
1256 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
1258 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
1261 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1263 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
1264 value; don't store value into `encoding_table' of `Lisp_Charset'.
1265 (mark_charset): `encoding_table' was deleted.
1266 (charset_description): Likewise.
1267 (make_charset): Likewise.
1268 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
1269 `put_char_ccs_code_point'.
1271 * chartab.h (Fput_char_attribute): New EXFUN.
1273 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
1274 is unified with normal symbol space.
1275 (Fget_char_attribute): Likewise.
1276 (Fput_char_attribute): Likewise; behavior of
1277 `put_char_ccs_code_point' is changed.
1279 * char-ucs.h: Include "elhash.h".
1280 (Vchar_attribute_hash_table): New external variable.
1281 (struct Lisp_Charset): Delete `encoding_table'.
1282 (CHARSET_ENCODING_TABLE): New implementation; refer
1283 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
1286 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1288 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
1291 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1293 * text-coding.c (char_encode_big5): Prefer charset-g1 than
1296 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1298 * chartab.c (uint8_byte_table_description): New constant.
1299 (uint8-byte-table): Use `uint8_byte_table_description'.
1300 (uint16_byte_table_description): New constant.
1301 (uint16-byte-table): Use `uint16_byte_table_description'.
1303 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1305 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
1306 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
1308 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1310 * mule-charset.c (Vcharset_ucs_ks): New variable.
1311 (Qucs_ks): New variable.
1312 (syms_of_mule_charset): Add new symbol `ucs-ks'.
1313 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
1315 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
1317 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1319 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
1320 (Fdecode_char): Likewise.
1322 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
1324 (Fdefine_char): Modify for Fdecode_char.
1325 (Ffind_char): Likewise.
1327 * mule-charset.c (Fdecode_char): Add new optional argument
1329 (Fdecode_builtin_char): Modify for `Fdecode_char'.
1331 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1333 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
1334 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
1335 (allocate_coding_system): Initialize initial-charsets of
1336 CODESYS_BIG5 in XEmacs UTF-2000.
1337 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
1338 CODESYS_BIG5 in XEmacs UTF-2000.
1339 (decode_coding_big5): Use initial-charset-g0 and -g1 of
1340 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
1342 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
1344 (Qideograph_hanziku_{1 .. 12}): Likewise.
1345 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
1347 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
1348 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
1349 `ideograph-hanziku-{1 .. 12}'.
1351 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
1352 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
1353 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
1354 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
1355 (DECODE_DEFINED_CHAR): New inline function.
1356 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
1358 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1360 * mule-charset.c (Vcharset_china3_jef): Renamed from
1361 `Vcharset_japanese_jef_china3'.
1362 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
1363 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
1364 `{MIN|MAX}_CHAR_JEF_CHINA3'..
1365 (syms_of_mule_charset): Rename `china3-jef' from
1366 `japanese-jef-china3'.
1367 (complex_vars_of_mule_charset): Likewise; rename
1368 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
1370 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
1371 `LEADING_BYTE_JEF_CHINA3'.
1372 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
1373 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
1375 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1377 * mule-charset.c (encode_builtin_char_1): Comment out special code
1378 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
1380 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
1381 (MAX_CHAR_MOJIKYO_0): Comment out.
1382 (MIN_CHAR_CBETA): Changed to 0x00E20000.
1383 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
1384 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
1385 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
1387 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1389 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
1390 (Qideograph_cbeta): New variable.
1391 (encode_builtin_char_1): Comment out special code for
1392 coded-charset `mojikyo' and `japanese-jef-china3'.
1393 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
1394 (complex_vars_of_mule_charset): Add new coded-charset
1397 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
1398 (MIN_CHAR_CBETA): New macro.
1399 (MAX_CHAR_CBETA): New macro.
1401 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1403 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
1404 (LEADING_BYTE_JEF_CHINA3): New macro.
1405 (MIN_CHAR_JEF_CHINA3): New macro.
1406 (MAX_CHAR_JEF_CHINA3): Likewise.
1407 (DECODE_CHAR): Fixed.
1409 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1411 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
1412 (Qjapanese_jef_china3): New variable.
1413 (encode_builtin_char_1): Support `japanese-jef-china3'.
1414 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
1415 (complex_vars_of_mule_charset): Add new coded-charset
1416 `japanese-jef-china3'.
1418 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1420 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
1421 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
1422 94^4, 96^3, 96^4, 128^n and 256^n set.
1423 (put_char_table): Use `XCHARSET_CELL_RANGE'.
1424 (map_char_table): Likewise.
1426 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1428 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
1431 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1433 * chartab.h (get_char_id_table): New inline function.
1435 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
1438 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1440 * chartab.h (decode_char_table_range): New prototype in XEmacs
1442 (put_char_id_table): New inline function in XEmacs UTF-2000.
1444 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
1446 (decode_char_table_range): Delete static declaration in XEmacs
1449 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1451 * chartab.c (put_char_id_table): Use `put_char_table'.
1453 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1455 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
1456 (map_over_uint16_byte_table): Likewise.
1457 (map_over_byte_table): Likewise.
1458 (map_char_table): Modify for `map_over_uint8_byte_table',
1459 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
1462 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1464 * chartab.c (struct map_char_table_for_charset_arg): New
1466 (map_char_table_for_charset_fun): New function.
1467 (map_char_table): Use `map_char_table' for encoding_table of
1470 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1472 * chartab.c (map_char_table): Check a character is found in
1473 range->charset instead of non default value is defined in
1474 char-table when range is CHARTAB_RANGE_ROW.
1476 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1478 * chartab.c (map_char_id_table): Deleted.
1479 (Fmap_char_attribute): Use `map_char_table' instead of
1480 `map_char_id_table'.
1482 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1484 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
1486 (update_syntax_table): Deleted in XEmacs UTF-2000.
1488 * syntax.c (find_defun_start): Use `syntax_table' instead of
1489 `mirror_syntax_table' in XEmacs UTF-2000.
1490 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
1492 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
1494 (Fmatching_paren): Likewise.
1495 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
1497 (find_start_of_comment): Likewise.
1498 (find_end_of_comment): Likewise.
1499 (Fforward_comment): Likewise.
1500 (scan_lists): Likewise.
1501 (char_quoted): Likewise.
1502 (Fbackward_prefix_chars): Likewise.
1503 (scan_sexps_forward): Likewise.
1504 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
1505 (update_syntax_table): Likewise.
1507 * search.c (skip_chars): Use `syntax_table' instead of
1508 `mirror_syntax_table' in XEmacs UTF-2000.
1509 (wordify): Likewise.
1510 (Freplace_match): Likewise.
1512 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
1513 `mirror_syntax_table' in XEmacs UTF-2000.
1514 (WORDCHAR_P_UNSAFE): Likewise.
1515 (re_match_2_internal): Likewise.
1517 * font-lock.c (find_context): Use `buf->syntax_table' instead of
1518 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1520 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
1521 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
1523 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
1526 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
1528 (print_char_table): Print `default_value' in XEmacs UTF-2000.
1529 (char_table_description): Delete `mirror_table' in XEmacs
1531 (fill_char_table): Don't call `update_syntax_table' in XEmacs
1533 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
1534 (Fcopy_char_table): Likewise.
1535 (put_char_table): Don't call `update_syntax_table' in XEmacs
1538 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
1539 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1540 (casify_region_internal): Likewise.
1542 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
1544 * buffer.c (common_init_complex_vars_of_buffer): Don't use
1545 `mirror_syntax_table' in XEmacs UTF-2000.
1547 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
1548 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1549 (Fexpand_abbrev): Likewise.
1551 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1553 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
1555 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1557 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
1558 (map_over_uint16_byte_table): Likewise.
1559 (map_over_byte_table): Likewise.
1560 (get_char_id_table): Refer `cit->default_value'.
1561 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1562 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
1563 of character-id ranges.
1564 (mark_char_table): Mark `ct->default_value'.
1565 (char_table_description): Add `default_value'.
1566 (fill_char_table): Use `default_value'.
1567 (decode_char_table_range): Decode `nil' as
1568 `CHARTAB_RANGE_DEFAULT'.
1569 (get_char_id_table): Refer `cit->default_value'.
1570 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1571 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
1572 temporary hack; check value of char-table is bound or not.
1573 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
1575 * chartab.h (struct Lisp_Char_Table): Add new member
1576 `default_value' in XEmacs UTF-2000.
1577 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
1578 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
1581 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1583 * chartab.h (Lisp_Char_ID_Table): Deleted.
1585 * chartab.c (char_table_description): Fix typo.
1586 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
1587 `Lisp_Char_ID_Table'.
1589 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1591 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
1594 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
1597 * chartab.h (XCHAR_ID_TABLE): Deleted.
1598 (XSETCHAR_ID_TABLE): Deleted.
1599 (CHAR_ID_TABLE_P): Deleted.
1601 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
1603 (Fget_composite_char): Likewise.
1604 (put_char_table): Likewise.
1605 (add_char_attribute_alist_mapper): Fixed.
1606 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
1608 (Fget_char_attribute): Likewise.
1609 (Fget_char_attribute): Likewise.
1610 (Fmap_char_attribute): Likewise.
1612 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
1614 (encode_char_1): Likewise.
1616 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1618 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
1621 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
1622 instead of `XCHAR_ID_TABLE'.
1623 (remove_char_ccs): Likewise.
1625 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
1627 (Fget_composite_char): Likewise.
1628 (Fchar_variants): Likewise.
1629 (put_char_table): Likewise.
1630 (add_char_attribute_alist_mapper): Likewise.
1631 (Fchar_attribute_alist): Likewise.
1632 (Fget_char_attribute): Likewise.
1633 (Fput_char_attribute): Likewise.
1634 (Fmap_char_attribute): Likewise.
1635 (Fmap_char_attribute): Likewise.
1637 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
1639 (encode_char_1): Likewise.
1641 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1643 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
1644 `Lisp_Char_ID_Table'.
1645 (mark_char_id_table): Deleted.
1646 (print_char_id_table): Likewise.
1647 (char_id_table_equal): Likewise.
1648 (char_id_table_hash): Likewise.
1649 (char_id_table_description): Likewise.
1650 (char_id_table): Likewise.
1651 (make_char_id_table): Use `Fmake_char_table' and
1653 (get_char_id_table): Use `Lisp_Char_Table' instead of
1654 `Lisp_Char_ID_Table'.
1655 (put_char_id_table): Likewise.
1656 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
1658 (Fremove_char_attribute): Likewise.
1659 (syms_of_chartab): Don't define type `char-id-table'.
1661 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
1662 (char_id_table): Likewise.
1663 (GC_CHAR_ID_TABLE_P): Likewise.
1664 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
1665 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
1666 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
1667 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
1668 (get_char_id_table): Use `Lisp_Char_Table' instead of
1669 `Lisp_Char_ID_Table'.
1670 (put_char_id_table_0): Likewise.
1671 (put_char_id_table): Likewise.
1673 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1675 * chartab.h: Lisp_Byte_Table related codes are moved from
1678 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
1680 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1682 * chartab.h: Don't include "chartab.h".
1683 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
1684 (Lisp_Char_ID_Table): Likewise.
1685 (char_id_table): Likewise.
1686 (XCHAR_ID_TABLE): Likewise.
1687 (XSETCHAR_ID_TABLE): Likewise.
1688 (CHAR_ID_TABLE_P): Likewise.
1689 (GC_CHAR_ID_TABLE_P): Likewise.
1690 (get_char_id_table): Likewise.
1692 * char-ucs.h: Include "chartab.h".
1693 (struct Lisp_Char_ID_Table): Moved to chartab.h.
1694 (Lisp_Char_ID_Table): Likewise.
1695 (char_id_table): Likewise.
1696 (XCHAR_ID_TABLE): Likewise.
1697 (XSETCHAR_ID_TABLE): Likewise.
1698 (CHAR_ID_TABLE_P): Likewise.
1699 (GC_CHAR_ID_TABLE_P): Likewise.
1700 (get_char_id_table): Likewise.
1702 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1704 * chartab.c (copy_uint8_byte_table): New function.
1705 (copy_uint16_byte_table): New function.
1706 (copy_byte_table): New function.
1707 (map_over_uint8_byte_table): Modify to avoid huge numbers of
1709 (map_over_uint16_byte_table): Likewise.
1710 (map_over_byte_table): Likewise.
1711 (get_byte_table): Move prototype to chartab.h.
1712 (put_byte_table): Likewise.
1713 (put_char_id_table_0): Moved to chartab.h.
1714 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
1715 (char_table_entry_equal): Likewise.
1716 (char_table_entry_hash): Likewise.
1717 (char_table_entry_description): Likewise.
1718 (char_table_entry): Likewise.
1719 (make_char_table_entry): Likewise.
1720 (copy_char_table_entry): Likewise.
1721 (get_non_ascii_char_table_value): Likewise.
1722 (map_over_charset_ascii): Likewise.
1723 (map_over_charset_control_1): Likewise.
1724 (map_over_charset_row): Likewise.
1725 (map_over_other_charset): Likewise.
1726 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
1727 (print_char_table): Likewise.
1728 (char_table_equal): Likewise.
1729 (char_table_hash): Likewise.
1730 (char_table_description): Likewise.
1731 (fill_char_table): Likewise.
1732 (Fcopy_char_table): Likewise.
1733 (get_char_table): Likewise.
1734 (Fget_range_char_table): Likewise.
1735 (put_char_table): Likewise.
1736 (map_char_table): Likewise.
1737 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
1740 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1742 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
1743 `Vauto_fill_chars' in XEmacs UTF-2000.
1745 * chartab.h (get_byte_table): New prototype [moved from
1747 (put_byte_table): Likewise [moved from chartab.c].
1748 (put_char_id_table_0): New inline function [moved from chartab.c].
1749 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
1750 (Lisp_Char_Table_Entry): Likewise.
1751 (char_table_entry): Likewise.
1752 (XCHAR_TABLE_ENTRY): Likewise.
1753 (XSETCHAR_TABLE_ENTRY): Likewise.
1754 (CHAR_TABLE_ENTRYP): Likewise.
1755 (CHECK_CHAR_TABLE_ENTRY): Likewise.
1756 (NUM_ASCII_CHARS): Likewise.
1757 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
1758 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
1760 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1762 * chartab.c (get_char_id_table): Change interface.
1763 (put_char_id_table_0): New function.
1764 (put_char_id_table): Change interface; new implementation.
1765 (Fget_composite_char): Modify for interface change of
1766 `get_char_id_table'.
1767 (Fchar_variants): Likewise.
1768 (add_char_attribute_alist_mapper): Likewise.
1769 (Fchar_attribute_alist): Likewise.
1770 (Fget_char_attribute): Likewise.
1771 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
1772 as same as character as the first argument like `put-char-table';
1773 modify for interface change of `put_char_id_table'.
1774 (Fremove_char_attribute): Modify for interface change of
1775 `put_char_id_table'.
1777 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1779 * text-coding.c: Sync up with XEmacs 21.2.41.
1780 (COMPOSE_ADD_CHAR): Modify for interface change of
1781 `get_char_id_table'.
1783 * mule-charset.c (put_char_ccs_code_point): Modify for interface
1784 change of `put_char_id_table'.
1785 (remove_char_ccs): Likewise.
1787 * chartab.h (put_char_id_table): Change interface.
1789 * char-ucs.h (get_char_id_table): Change interface.
1790 (charset_code_point): Modify for interface change of
1791 `get_char_id_table'.
1792 (encode_char_1): Likewise.
1794 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1796 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
1798 (map_over_uint16_byte_table): Likewise.
1799 (map_over_byte_table): Likewise.
1800 (map_char_id_table): Add new argument `range' like
1802 (Fmap_char_attribute): Add new argument `range' like
1805 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1807 * chartab.c (map_over_uint8_byte_table): Change interface of
1808 mapping function to use struct chartab_range instead of Emchar.
1809 (map_over_uint16_byte_table): Likewise.
1810 (map_over_byte_table): Likewise.
1811 (map_char_id_table): Likewise.
1812 (struct slow_map_char_id_table_arg): Deleted.
1813 (slow_map_char_id_table_fun): Deleted.
1814 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1815 function `slow_map_char_table_fun' instead of struct
1816 `slow_map_char_id_table_arg' and function
1817 `slow_map_char_id_table_fun'.
1819 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1821 * mule-charset.c: Move char-it-table related codes to chartab.c.
1822 (Vutf_2000_version): Moved to chartab.c.
1823 (Fdefine_char): Likewise.
1824 (Ffind_char): Likewise.
1825 (syms_of_mule_charset): Move types `uint8-byte-table',
1826 `uint16-byte-table', `byte-table' and `char-id-table' to
1827 chartab.c; move functions `char_attribute_list,
1828 `find_char_attribute_table, `char_attribute_alist,
1829 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1830 `map_char_attribute, `define_char, `find_char, `char_variants and
1831 `get_composite_char to chartab.c; move symbols `=>ucs',
1832 `->decomposition', `compat', `isolated', `initial', `medial',
1833 `final', `vertical', `noBreak', `fraction', `super', `sub',
1834 `circle', `square', `wide', `narrow', `small' and `font' to
1836 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1837 setting codes for `Vcharacter_composition_table' and
1838 `Vcharacter_variant_table' to chartab.c.
1839 (complex_vars_of_mule_charset): Move setting code for
1840 `Vchar_attribute_hash_table' to chartab.c.
1842 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1843 (make_char_id_table): New prototype.
1844 (put_char_id_table): Likewise.
1845 (Fget_char_attribute): Likewise.
1847 * chartab.c: Move char-id-table related code from mule-charset.c.
1848 (Vutf_2000_version): Moved from mule-charset.c.
1850 * char-ucs.h (Qucs): New external variable.
1851 (put_char_ccs_code_point): New prototype.
1852 (remove_char_ccs): Likewise.
1854 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1856 * mule-charset.c (Vcharset_ucs_jis): New variable.
1857 (Qucs_jis): Likewise.
1858 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1859 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1861 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1863 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1865 * mule-charset.c (map_over_uint8_byte_table): New function.
1866 (map_over_uint16_byte_table): Likewise.
1867 (map_over_byte_table): Likewise.
1868 (map_char_id_table): Likewise.
1869 (slow_map_char_id_table_fun): Likewise.
1870 (Fmap_char_attribute): Likewise.
1871 (syms_of_mule_charset): Add new function `map-char-attribute'.
1873 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1875 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1876 (syms_of_mule_charset): Add new function `find-char'.
1878 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1880 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1882 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1883 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1885 (complex_vars_of_mule_charset): Add new coded-charset
1886 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1887 `ideograph-gt-pj-*'.
1889 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1891 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1893 * mule-charset.c (encode_builtin_char_1): Purge codes about
1894 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1895 {MIN|MAX}_CHAR_HEBREW.
1896 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1897 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1899 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1900 (MAX_CHAR_GREEK): Purged.
1901 (MIN_CHAR_CYRILLIC): Purged.
1902 (MAX_CHAR_CYRILLIC): Purged.
1903 (MIN_CHAR_HEBREW): Commented out.
1904 (MAX_CHAR_HEBREW): Likewise.
1906 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1908 * mule-charset.c (Qto_ucs): New variable.
1909 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1910 (Fdefine_char): Likewise.
1911 (syms_of_mule_charset): Add new symbol `=>ucs'.
1913 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1915 * mule-charset.c (Fdecode_char): Fixed.
1917 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1919 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1920 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1923 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1925 * mule-charset.c (Vcharset_ucs_big5): New variable.
1926 (Qucs_big5): Likewise.
1927 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1928 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1930 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1932 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1934 * mule-charset.c (decode_builtin_char): Check Big5 code range
1935 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1937 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1939 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1940 (Qchinese_gb12345): Likewise.
1941 (Fdecode_builtin_char): Fixed.
1942 (syms_of_mule_charset): Add `chinese-gb12345'.
1943 (complex_vars_of_mule_charset): Add coded-charset
1946 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1947 (LEADING_BYTE_CHINESE_GB12345): New macro.
1949 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1951 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
1952 and `latin-viscii-upper' for `latin-viscii'.
1954 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1956 * mule-charset.c (Fdecode_builtin_char): Comment out
1957 regularization code for ISO-IR GR representation.
1959 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1961 * mule-charset.c (decode_builtin_char): New function; renamed from
1962 `make_builtin_char'; return -1 instead of signal.
1963 (Fdecode_builtin_char): Use `decode_builtin_char'.
1965 * char-ucs.h (decode_builtin_char): New prototype; renamed from
1966 `make_builtin_char'.
1967 (DECODE_CHAR): Use `decode_builtin_char' instead of
1968 `make_builtin_char'; use mapping table of `chinese-big5' for
1969 `chinese-big5-{1,2}'.
1971 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1973 * text-coding.c (char_encode_big5): New function.
1974 (char_finish_big5): Likewise.
1975 (reset_encoding_stream): Use `char_encode_big5' and
1976 `char_finish_big5' for CODESYS_BIG5.
1977 (mule_encode): Don't use `encode_coding_big5'.
1978 (encode_coding_big5): Deleted.
1980 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1982 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
1983 0x81- in XEmacs UTF-2000.
1984 (detect_coding_big5): Likewise.
1986 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1988 * mule-charset.c (Fdefine_char): Don't use a CCS property to
1989 generate character-id if the CCS property does not have
1990 corresponding predefined character.
1991 (make_builtin_char): Return -1 if corresponding predefined
1992 character is not found.
1993 (Fdecode_char): Return nil if corresponding character is not
1995 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
1996 don't map to builtin ucs space.
1998 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2000 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2001 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2003 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2005 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2006 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2007 (Qideograph_gt): Likewise.
2008 (Qideograph_gt_pj_{1..11}): Likewise.
2009 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2010 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2011 `ideograph-gt-pj-11'.
2012 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2013 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2014 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
2016 * char-ucs.h (LEADING_BYTE_GT): New macro.
2017 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
2018 (MIN_CHAR_GT): Likewise.
2019 (MAX_CHAR_GT): Likewise.
2021 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2023 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
2024 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
2026 * doprnt.c (unsigned_int_converters): Add `c'.
2027 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2029 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2030 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2032 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2033 (MAX_CHAR_MOJIKYO_0): New macro.
2034 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2036 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2038 * mule-charset.c (Fdefine_char): Delete cemented out code.
2039 (encode_builtin_char_1): Modify for new allocation of builtin
2042 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2044 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2046 * mule-charset.c (Vcharset_ucs_cns): New variable.
2047 (Qucs_cns): New variable.
2048 (syms_of_mule_charset): Add new symbol `ucs-cns'.
2049 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
2051 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2053 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
2055 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2057 * search.c (search_buffer): Make `charset_base_code' as
2058 character-id >> 6 to eliminate the corresponding last byte in
2059 UTF-8 representation [I'm not sure it is right thing].
2060 (boyer_moore): Likewise.
2062 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2064 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
2065 representation in MULE.
2067 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2069 * text-coding.c (Fmake_coding_system): Use
2070 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
2071 `EXTERNAL_PROPERTY_LIST_LOOP'.
2073 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2075 * text-coding.c (decode_output_utf8_partial_char): New function.
2076 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
2078 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2080 * text-coding.c (decode_coding_utf8): Output original byte
2081 sequence if it is broken; change order of conditions.
2083 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
2086 * mb-multibyte.h (BYTE_ASCII_P):
2087 Use bit ops for char-signedness safety.
2088 (BYTE_C0_P): Use bit ops for char-signedness safety.
2089 (BYTE_C1_P): Use bit ops for char-signedness safety.
2091 * character.h: (XCHAR_OR_CHAR_INT):
2092 Always use inline function.
2093 Remove redundant type checking assert() - XINT will abort quite
2096 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2098 * text-coding.c: (Fencode_shift_jis_char):
2099 (Fencode_big5_char):
2100 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2101 Replace 0 with '\0' when working with bytes.
2102 Replace initial "(" with "\(" in docstrings.
2104 (Fmake_coding_system):
2105 When type is ccl and value is vector, register it with a proper
2106 symbol. And checks whether the given ccl program is valid.
2107 (mule_decode): When calling ccl_driver, if src indicates
2108 NULL pointer, set an empty string instead.
2109 (mule_encode): Likewise.
2112 (detect_coding_sjis):
2113 (decode_coding_sjis):
2114 (detect_coding_big5):
2115 (decode_coding_big5):
2116 (detect_coding_ucs4):
2117 (decode_coding_ucs4):
2118 (detect_coding_utf8):
2119 (decode_coding_utf8):
2120 (detect_coding_iso2022):
2121 (decode_coding_iso2022):
2122 (decode_coding_no_conversion):
2124 Make all detecting and decoding functions take an Extbyte * arg.
2125 (text_encode_generic):
2126 (encode_coding_big5):
2127 (encode_coding_no_conversion):
2129 Make all encoding functions take a Bufbyte * arg.
2130 Use size_t instead of unsigned int for memory sizes.
2131 Only cast to unsigned char whenever dereferencing Extbyte *.
2133 (struct lrecord_description fcd_description_1): Use countof.
2134 (complex_vars_of_file_coding):
2135 Use countof instead of sizeof.
2136 Use CHECK_NATNUM instead of CHECK_INT.
2138 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2140 * mule-charset.c (Fget_char_attribute): Add new optional argument
2142 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
2143 (remove_char_ccs): Likewise.
2145 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2147 * text-coding.c (char_encode_shift_jis): New implementation in
2149 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
2152 * mule-charset.c (Vcharset_chinese_big5): New variable in
2154 (Qchinese_big5): New variable in UTF-2000.
2155 (BIG5_SAME_ROW): New macro in UTF-2000.
2156 (make_builtin_char): Use builtin characters of
2157 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
2158 characters of `Vcharset_chinese_big5'.
2159 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
2160 (complex_vars_of_mule_charset): Add new coded-charset
2161 `chinese-big5' in UTF-2000.
2163 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
2164 (Vcharset_chinese_big5): New external variable declaration.
2165 (Vcharset_japanese_jisx0208_1990): Likewise.
2167 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2169 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
2171 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
2173 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2175 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
2176 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
2177 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
2180 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2182 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
2184 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2186 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2189 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2191 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
2192 for `CHARSET_BY_ATTRIBUTES'.
2193 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2194 `CHARSET_BY_ATTRIBUTES'.
2196 * text-coding.c (struct decoding_stream): Rename member `CH' to
2198 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
2199 (decode_coding_sjis): Likewise.
2200 (decode_coding_big5): Likewise.
2201 (decode_coding_ucs4): Likewise.
2202 (decode_coding_utf8): Likewise.
2203 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2204 `CHARSET_BY_ATTRIBUTES'.
2205 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
2206 `str->counter'; decode 3, 4 bytes sets.
2207 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
2209 (decode_coding_no_conversion): Use `str->cpos' instead of
2212 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
2213 (Qmojikyo_2022_1): New variable.
2214 (make_charset): Don't use `CHARSET_TYPE_*'.
2215 (range_charset_code_point): Support coded-charset
2217 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
2218 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
2219 `CHARSET_BY_ATTRIBUTES'.
2220 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
2221 `CHARSET_BY_ATTRIBUTES'.
2222 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
2223 (complex_vars_of_mule_charset): Add new coded-charset
2226 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
2227 interface; changed to inline function.
2229 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
2230 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
2231 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
2232 (CHARSET_TYPE_94): Deleted.
2233 (CHARSET_TYPE_94X94): Deleted.
2234 (CHARSET_TYPE_96): Deleted.
2235 (CHARSET_TYPE_96X96): Deleted.
2236 (CHARSET_TYPE_128): Deleted.
2237 (CHARSET_TYPE_128X128): Deleted.
2238 (CHARSET_TYPE_256): Deleted.
2239 (CHARSET_TYPE_256X256): Deleted.
2240 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
2242 (DECODE_MOJIKYO_2022): New inline function.
2243 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
2244 `Vcharset_mojikyo_2022_1'.
2246 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2248 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
2250 (put_byte_table): Likewise.
2251 (char_id_table_equal): Use `get_byte_table' [new implementation].
2253 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2255 * mule-charset.c: Include <limits.h> in UTF-2000.
2256 (BT_UINT8_MIN): New macro in UTF-2000.
2257 (BT_UINT8_MAX): New macro in UTF-2000.
2258 (BT_UINT8_t): New macro in UTF-2000.
2259 (BT_UINT8_nil): New macro in UTF-2000.
2260 (BT_UINT8_unbound): New macro in UTF-2000.
2261 (INT_UINT8_P): New inline function in UTF-2000.
2262 (UINT8_VALUE_P): New inline function in UTF-2000.
2263 (UINT8_ENCODE): New inline function in UTF-2000.
2264 (UINT8_DECODE): New inline function in UTF-2000.
2265 (mark_uint8_byte_table): New function in UTF-2000.
2266 (print_uint8_byte_table): New function in UTF-2000.
2267 (uint8_byte_table_equal): New function in UTF-2000.
2268 (uint8_byte_table_hash): New function in UTF-2000.
2269 (make_uint8_byte_table): New function in UTF-2000.
2270 (uint8_byte_table_same_value_p): New function in UTF-2000.
2271 (BT_UINT16_MIN): New macro in UTF-2000.
2272 (BT_UINT16_MAX): New macro in UTF-2000.
2273 (BT_UINT16_t): New macro in UTF-2000.
2274 (BT_UINT16_nil): New macro in UTF-2000.
2275 (BT_UINT16_unbound): New macro in UTF-2000.
2276 (INT_UINT16_P): New inline function in UTF-2000.
2277 (UINT16_VALUE_P): New inline function in UTF-2000.
2278 (UINT16_ENCODE): New inline function in UTF-2000.
2279 (UINT16_DECODE): New inline function in UTF-2000.
2280 (UINT8_TO_UINT16): New inline function in UTF-2000.
2281 (mark_uint16_byte_table): New function in UTF-2000.
2282 (print_uint16_byte_table): New function in UTF-2000.
2283 (uint16_byte_table_equal): New function in UTF-2000.
2284 (uint16_byte_table_hash): New function in UTF-2000.
2285 (make_uint16_byte_table): New function in UTF-2000.
2286 (uint16_byte_table_same_value_p): New function in UTF-2000.
2287 (print_byte_table): New function in UTF-2000.
2288 (byte-table): Use `print_byte_table' as printer.
2289 (make_byte_table): Delete second argument `older'.
2290 (byte_table_same_value_p): New function in UTF-2000.
2291 (copy_byte_table): Deleted.
2292 (get_byte_table): New function in UTF-2000.
2293 (put_byte_table): New function in UTF-2000.
2294 (print_char_id_table): New function in UTF-2000.
2295 (char-id-table): Use `print_char_id_table' as printer.
2296 (make_char_id_table): Delete second argument `older'.
2297 (get_char_id_table): Use `get_byte_table [new implementation].
2298 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
2300 (Ffind_char_attribute_table): New function in UTF-2000.
2301 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2302 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
2303 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
2304 (syms_of_mule_charset): Add new function
2305 `find-char-attribute-table' in UTF-2000.
2307 * lrecord.h (enum lrecord_type): Add
2308 `lrecord_type_uint16_byte_table' and
2309 `lrecord_type_uint8_byte_table'.
2311 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
2312 (Lisp_Uint8_Byte_Table): New type.
2313 (XUINT8_BYTE_TABLE): New macro.
2314 (XSETUINT8_BYTE_TABLE): New macro.
2315 (UINT8_BYTE_TABLE_P): New macro.
2316 (GC_UINT8_BYTE_TABLE_P): New macro.
2317 (struct Lisp_Uint16_Byte_Table): New structure.
2318 (Lisp_Uint16_Byte_Table): New type.
2319 (XUINT16_BYTE_TABLE): New macro.
2320 (XSETUINT16_BYTE_TABLE): New macro.
2321 (UINT16_BYTE_TABLE_P): New macro.
2322 (GC_UINT16_BYTE_TABLE_P): New macro.
2324 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2326 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
2327 (Vcharacter_ideographic_strokes_table): Deleted.
2328 (Vcharacter_total_strokes_table): Deleted.
2329 (Vcharacter_morohashi_daikanwa_table): Deleted.
2330 (Vcharacter_decomposition_table): Deleted.
2331 (Qname): Deleted because it is duplicated.
2332 (Qideographic_radical): Deleted.
2333 (Qideographic_strokes): Deleted.
2334 (Qtotal_strokes): Deleted.
2335 (Qmorohashi_daikanwa): Deleted.
2336 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
2337 `ideographic-radical', `ideographic-strokes', `total-strokes',
2338 `morohashi-daikanwa' and `->decomposition'.
2339 (Fget_char_attribute): Likewise.
2340 (Fput_char_attribute): Likewise; use `make-vector' instead of
2341 `make_older_vector' for `->decomposition' value.
2342 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
2343 `ideograph-daikanwa'.
2344 (syms_of_mule_charset): Delete builtin symbols `name',
2345 `ideographic-radical', `ideographic-strokes', `total-strokes' and
2346 `morohashi-daikanwa'.
2347 (vars_of_mule_charset): Don't setup
2348 `Vcharacter_ideographic_radical_table',
2349 `Vcharacter_ideographic_strokes_table',
2350 `Vcharacter_total_strokes_table',
2351 `Vcharacter_morohashi_daikanwa_table' and
2352 `Vcharacter_decomposition_table'.
2354 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2356 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
2357 `make_older_vector', `make_vector_newer_1' and
2358 `make_vector_newer'.
2360 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
2361 `make_older_vector' and `make_vector_newer'.
2363 * config.h.in (HAVE_GGC): New macro.
2365 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2367 * mule-charset.c (struct char_attribute_list_closure): New
2368 structure in UTF-2000.
2369 (add_char_attribute_to_list_mapper): New function in UTF-2000.
2370 (Fchar_attribute_list): Likewise.
2371 (Fset_charset_mapping_table): Use `make_vector_newer'.
2372 (Fdecode_builtin_char): New function in UTF-2000.
2373 (syms_of_mule_charset): Add new function `char-attribute-list' and
2374 `decode-builtin-char' in UTF-2000.
2376 * lisp.h (make_vector_newer): New prototype.
2378 * alloc.c (make_vector_newer_1): New function.
2379 (make_vector_newer): New function.
2381 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2383 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
2386 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2388 * mule-charset.c (Vchar_attribute_hash_table): New variable.
2389 (Vcharacter_attribute_table): Deleted.
2390 (Vcharacter_name_table): Deleted.
2391 (put_char_attribute): Deleted.
2392 (remove_char_attribute): Deleted.
2393 (struct char_attribute_alist_closure): New structure.
2394 (add_char_attribute_alist_mapper): New function.
2395 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
2396 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
2397 (Fget_char_attribute): Likewise.
2398 (Fput_char_attribute): Likewise.
2399 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
2400 of `remove_char_attribute'.
2401 (Fdefine_char): Return character.
2402 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
2403 and `Vcharacter_name_table'.
2404 (complex_vars_of_mule_charset): Likewise
2405 `Vchar_attribute_hash_table'.
2407 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2409 * character.h (CHARC_CHARSET): New macro.
2410 (CHARC_CHARSET_ID): New macro.
2411 (CHARC_CODE_POINT): New macro.
2412 (CHARC_COLUMNS): New macro.
2413 (CHARC_TO_CHAR): New inline function.
2414 (CHARC_EQ): New inline function.
2415 (CHARC_ASCII_EQ): New inline function.
2416 (CHARC_IS_SPACE): New inline function.
2417 (ASCII_TO_CHARC): New inline function.
2419 * char-ucs.h (encode_char_2): Deleted.
2420 (ENCODE_CHAR): Use `encode_char_1' again.
2421 (breakup_char_1): Likewise.
2422 (CHAR_TO_CHARC): New inline function.
2424 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
2426 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2428 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
2429 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
2430 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
2431 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
2432 (create_string_text_block): Use `CHARC_ASCII_EQ' and
2434 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
2436 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
2438 (x_output_display_block): Use `CHARC_CHARSET' and
2441 * redisplay-tty.c (tty_output_display_block): Use
2443 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
2445 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
2447 * insdel.c (find_charsets_in_charc_string): Use
2449 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
2450 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
2451 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
2452 (convert_charc_string_into_malloced_string): Likewise.
2454 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2456 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
2457 instead of <Emchar_dynarr *> for buf; use
2458 `convert_bufbyte_string_into_charc_dynarr' instead of
2459 `convert_bufbyte_string_into_emchar_dynarr'; use
2460 `find_charsets_in_charc_string' instead of
2461 `find_charsets_in_emchar_string'.
2464 - Include "character.h".
2465 (struct rune): New member `cglyph'; delete member `chr'.
2467 * redisplay.c (redisplay_text_width_charc_string): New function;
2468 delete `redisplay_text_width_emchar_string'.
2469 (rtw_charc_dynarr): New variable; renamed from
2470 `rtw_emchar_dynarr'.
2471 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
2472 `rtw_emchar_dynarr'; use
2473 `convert_bufbyte_string_into_charc_dynarr' instead of
2474 `convert_bufbyte_string_into_emchar_dynarr'; use
2475 `redisplay_text_width_charc_string' instead of
2476 `redisplay_text_width_emchar_string'.
2477 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
2478 instead of `rtw_emchar_dynarr'; use
2479 `convert_bufbyte_string_into_charc_dynarr' instead of
2480 `convert_bufbyte_string_into_emchar_dynarr'.
2481 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
2482 `redisplay_text_width_charc_string' instead of
2483 `redisplay_text_width_emchar_string'.
2484 (create_text_block): Modify for <struct rune> change.
2485 (generate_formatted_string_db): Likewise.
2486 (create_string_text_block): Likewise.
2487 (pixel_to_glyph_translation): Likewise.
2489 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
2490 instead of <const Emchar *>.
2491 (x_text_width): Likewise.
2492 (x_output_display_block): Use <Charc_dynarr *> instead
2493 <Emchar_dynarr *>; modify for <structure rune> change.
2494 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
2497 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
2498 <const Emchar *>; use `charc_string_displayed_columns' instead of
2499 `emchar_string_displayed_columns'.
2500 (tty_output_display_block): Use <Charc_dynarr *> instead of
2501 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
2502 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
2503 (tty_output_charc_dynarr_dynarr): New variable; renamed from
2504 `tty_output_emchar_dynarr_dynarr'.
2505 (tty_output_charc_dynarr): New function; delete
2506 `tty_output_charc_dynarr'.
2508 * redisplay-output.c (compare_runes): Modify for `struct rune'.
2509 (redisplay_output_layout): Use <Charc_dynarr *> instead of
2510 <Emchar_dynarr *> for buf; use
2511 `convert_bufbyte_string_into_charc_dynarr' instead of
2512 `convert_bufbyte_string_into_emchar_dynarr'.
2514 * frame.c (title_string_charc_dynarr): New variable; renamed from
2515 `title_string_emchar_dynarr'.
2516 (generate_title_string): Use `title_string_charc_dynarr' instead
2517 of `title_string_emchar_dynarr'; use
2518 `convert_charc_string_into_malloced_string' instead of
2519 `convert_emchar_string_into_malloced_string'.
2520 (init_frame): Use `title_string_charc_dynarr' instead of
2521 `title_string_emchar_dynarr'.
2524 - Include "character.h".
2525 (struct console_methods): Use <const Charc *> instead of <const
2526 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
2527 <Emchar_dynarr *> in output_string_method.
2529 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
2532 * console-stream.c (stream_text_width): Use <const Charc *>
2533 instead of <const Emchar *>.
2535 * character.h (Charc_dynarr): New type.
2537 * char-ucs.h (structure Charc): New structure; define new type
2540 * char-lb.h (DECODE_CHAR): New inline function.
2541 (encode_char_1): New inline function.
2542 (ENCODE_CHAR): New macro.
2543 (structure Charc): New structure; define new type `Charc'.
2545 * char-1byte.h (Vcharset_control_1): New macro.
2546 (Vcharset_latin_iso8859_1): New macro.
2547 (DECODE_CHAR): New inline function.
2548 (encode_char_1): New inline function.
2549 (ENCODE_CHAR): New macro.
2550 (structure Charc): New structure; define new type `Charc'.
2552 * insdel.c (find_charsets_in_charc_string): New function; delete
2553 `find_charsets_in_emchar_string'.
2554 (charc_string_displayed_columns): New function; delete
2555 `emchar_string_displayed_columns'.
2556 (convert_bufbyte_string_into_charc_dynarr): New function; delete
2557 `convert_bufbyte_string_into_emchar_dynarr'.
2558 (convert_charc_string_into_bufbyte_dynarr): New function; delete
2559 `convert_charc_string_into_bufbyte_dynarr'.
2560 (convert_charc_string_into_malloced_string): New function; delete
2561 `convert_charc_string_into_malloced_string'.
2563 * buffer.h (find_charsets_in_charc_string): New prototype; delete
2564 `find_charsets_in_emchar_string'.
2565 (charc_string_displayed_columns): New prototype; delete
2566 `emchar_string_displayed_columns'.
2567 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
2568 `convert_charc_string_into_bufbyte_dynarr'.
2569 (convert_charc_string_into_malloced_string): New prototype; delete
2570 `convert_charc_string_into_malloced_string'.
2572 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2574 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
2576 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2578 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
2580 * char-ucs.h: Use <short> for <Charset_ID>.
2582 * mule-charset.h, char-1byte.h: Use <unsigned char> for
2585 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2587 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2590 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2592 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
2594 (Qmorohashi_daikanwa): New variable.
2595 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
2596 for `morohashi-daikanwa' attribute.
2597 (Fget_char_attribute): Likewise.
2598 (Fput_char_attribute): Likewise.
2599 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
2600 has the same value of `ideograph-daikanwa'.
2601 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
2602 (vars_of_mule_charset): Setup
2603 `Vcharacter_morohashi_daikanwa_table'.
2605 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2607 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
2609 (add_charset_to_list_mapper): Add `key' instead of
2610 `XCHARSET_NAME (value)' to return aliases.
2612 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2614 * mule-charset.c (Vcharacter_ideographic_radical_table): New
2616 (Vcharacter_ideographic_strokes_table): New variable.
2617 (Qideographic_radical): New variable.
2618 (Qideographic_strokes): New variable.
2619 (Fchar_attribute_alist): Use
2620 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
2621 attribute; use `Vcharacter_ideographic_strokes_table' for
2622 `ideographic-strokes' attribute.
2623 (Fget_char_attribute): Likewise.
2624 (Fput_char_attribute): Likewise.
2625 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
2626 `ideographic-strokes'.
2627 (vars_of_mule_charset): Setup
2628 `Vcharacter_ideographic_radical_table' and
2629 `Vcharacter_ideographic_strokes_table'.
2631 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2633 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
2634 (Qtotal_strokes): New variable.
2635 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
2636 `total-strokes' attribute.
2637 (Fget_char_attribute): Likewise.
2638 (Fput_char_attribute): Likewise.
2639 (syms_of_mule_charset): Add new symbol `total-strokes'.
2640 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
2642 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2644 * mule-charset.c (Vcharacter_decomposition_table): New variable.
2645 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
2647 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
2648 `->decomposition' attribute.
2649 (Fput_char_attribute): Likewise.
2650 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
2652 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2654 * mule-charset.c (decoding_table_check_elements): New function.
2655 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
2657 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2659 * mule-charset.c (Fset_charset_mapping_table): Use
2660 `put_char_ccs_code_point'.
2662 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2664 * mule-charset.c (decoding_table_put_char): New inline function.
2665 (put_char_ccs_code_point): Use `decoding_table_put_char'.
2667 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2669 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
2670 (XCHARSET_BYTE_SIZE): New macro.
2671 (decoding_table_remove_char): New inline function.
2672 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
2673 `decoding_table_remove_char'.
2674 (remove_char_ccs): Use `decoding_table_remove_char'.
2675 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
2677 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2679 * mule-charset.c (Vcharacter_name_table): New variable.
2680 (Qname): New variable.
2681 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
2683 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
2684 `Vcharacter_name_table' for `name' attribute.
2685 (Fremove_char_attribute): Use function `remove_char_ccs'.
2686 (put_char_ccs_code_point): New function.
2687 (remove_char_ccs): New function.
2688 (syms_of_mule_charset): Add new symbol `name'.
2689 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
2691 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2693 * mule-charset.c (make_byte_table): Add new argument `older'.
2694 (make_char_id_table): Likewise.
2695 (copy_char_id_table): Comment out because it is not used.
2696 (put_char_id_table): Modify for `make_byte_table'.
2697 (Fput_char_attribute): Make encoding_table as older object;
2698 inherit older bit of `Vcharacter_composition_table'.
2699 (mark_charset): Don't mark `cs->encoding_table'.
2700 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
2701 normal object; make `Vcharacter_composition_table' as an older
2702 object; delete staticpro for `Vcharacter_composition_table'; make
2703 `Vcharacter_variant_table' as a normal object.
2705 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
2706 (mark_object): Don't check older object in UTF-2000.
2708 * lrecord.h (struct lrecord_header): Add new member `older' in
2710 (set_lheader_implementation): Setup `SLI_header->older' in
2712 (set_lheader_older_implementation): New macro in UTF-2000.
2713 (OLDER_RECORD_P): New macro in UTF-2000.
2714 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
2715 (alloc_older_lcrecord): New prototype in UTF-2000.
2716 (alloc_older_lcrecord_type): New macro in UTF-2000.
2718 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2720 * mule-charset.c (byte_table_description): Use
2721 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
2722 (char_id_table_description): Delete bogus `, 1'.
2723 (Fget_char_attribute): Refer encoding_table of each coded-charset
2724 to get value of coded-charset attribute of a character.
2725 (Fput_char_attribute): Use `make_older_vector' instead of
2726 `make_vector'; use encoding_table of each coded-charset to store
2727 value of coded-charset attribute of a character.
2728 (Fremove_char_attribute): Use encoding_table of each coded-charset
2729 to store value of coded-charset attribute of a character.
2730 (mark_charset): Mark `cs->encoding_table'; don't mark
2731 `cs->decoding_table'.
2732 (charset_description): Add description of new member
2734 (make_charset): Initialize `encoding_table'.
2736 * char-ucs.h (struct Lisp_Charset): Add new member
2738 (CHARSET_ENCODING_TABLE): New macro.
2739 (XCHARSET_ENCODING_TABLE): New macro.
2740 (charset_code_point): New implementation.
2741 (encode_char_1): Likewise.
2743 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
2744 (disksave_object_finalization_1): Call finalizers of
2745 `all_older_lcrecords' in UTF-2000.
2746 (make_older_vector): New function in UTF-2000.
2747 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
2750 * lisp.h (make_older_vector): New prototype in UTF-2000.
2752 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2754 * lrecord.h (enum lrecord_type): Rename
2755 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
2757 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
2758 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
2759 `get_char_code_table'.
2761 * mule-charset.c (mark_char_id_table): Renamed from
2762 `mark_char_code_table'.
2763 (char_id_table_equal): Renamed from `char_code_table_equal'.
2764 (char_id_table_hash): Renamed from `char_code_table_hash'.
2765 (make_char_id_table): Renamed from `make_char_code_table'.
2766 (copy_char_id_table): Renamed from `copy_char_code_table'.
2767 (get_char_id_table): Renamed from `get_char_code_table'.
2768 (put_char_id_table): Renamed from `put_char_code_table'.
2769 (to_char_id): Renamed from `to_char_code'.
2771 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
2772 `Lisp_Char_Code_Table'.
2773 (char_id_table): Renamed from `char_code_table'.
2774 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
2775 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
2776 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
2777 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
2778 (get_char_id_table): Renamed from `get_char_code_table'.
2780 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2782 * lrecord.h (enum lrecord_type): Rename
2783 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
2785 * mule-charset.c (mark_byte_table): Renamed from
2786 `mark_char_byte_table'.
2787 (byte_table_equal): Renamed from `char_byte_table_equal'.
2788 (byte_table_hash): Renamed from `byte_table_hash'.
2789 (make_byte_table): Renamed from `make_byte_table'.
2790 (copy_byte_table): Renamed from `copy_char_byte_table'.
2792 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
2793 `Lisp_Char_Byte_Table'.
2794 (byte_table): Renamed from `char_byte_table'.
2795 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
2796 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
2797 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
2798 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
2800 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2802 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
2803 (dfc_convert_to_internal_format): Likewise.
2805 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2806 * text-coding.c (Fcoding_system_alias_p): New function.
2807 * text-coding.c (Fcoding_system_aliasee): New function.
2808 * text-coding.c (append_suffix_to_symbol): New function.
2809 * text-coding.c (dangling_coding_system_alias_p): New function.
2810 * text-coding.c (Ffind_coding_system):
2811 * text-coding.c (Fcopy_coding_system):
2812 * text-coding.c (encode_coding_no_conversion):
2813 * text-coding.c (syms_of_file_coding):
2814 * text-coding.c (vars_of_file_coding):
2815 Rewrite coding system alias code.
2816 Allow nested aliases, like symbolic links.
2817 Allow redefinition of coding system aliases.
2818 Prevent existence of dangling coding system aliases.
2819 Eliminate convert_to_external_format.
2820 Eliminate convert_to_internal_format.
2822 * text-coding.c: Change enum eol_type to eol_type_t.
2824 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2826 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2827 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2829 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2830 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2832 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2834 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2835 `ideograph-daikanwa'.
2837 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2838 (Vcharset_ucs_bmp): Likewise.
2839 (Vcharset_mojikyo): Add new extern variable definition.
2840 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2841 (Vcharset_latin_iso8859_3): Likewise.
2842 (Vcharset_latin_iso8859_4): Likewise.
2843 (Vcharset_latin_iso8859_9): Likewise.
2844 (Vcharset_latin_viscii_lower): Likewise.
2845 (Vcharset_latin_viscii_upper): Likewise.
2846 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2847 `mojikyo' code-point is used to decode.
2848 (encode_char_2): New function [to convert `mojikyo' code-point to
2849 Mojikyo font encoding].
2850 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2851 (breakup_char_1): Likewise.
2852 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2854 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2856 * text-coding.c (Fmake_coding_system): Add document about
2857 `disable-composition' property.
2859 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2861 * text-coding.c (Qdisable_composition): New variable; delete
2863 (Fmake_coding_system): Add new property `disable-composite';
2864 delete property `composite'.
2865 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2866 instead of `!CODING_SYSTEM_COMPOSITE'.
2867 (syms_of_file_coding): Add new symbol `disable-composition';
2868 delete symbol `composite'.
2870 * file-coding.h (struct Lisp_Coding_System): Add
2871 `disable_composition'; delete `enable_composition'.
2872 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2873 `CODING_SYSTEM_COMPOSITE'.
2874 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2875 `XCODING_SYSTEM_COMPOSITE'.
2877 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2879 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2882 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2884 * text-coding.c (Qcomposite): New variable.
2885 (Fmake_coding_system): Add new property `composite'.
2886 (struct decoding_stream): Add `combined_char_count',
2887 `combined_chars' and `combining_table' in UTF-2000.
2888 (COMPOSE_FLUSH_CHARS): New macro.
2889 (COMPOSE_ADD_CHAR): New macro.
2890 (reset_decoding_stream): Reset `str->combined_char_count' and
2891 `str->combining_table' in UTF-2000.
2892 (decode_coding_iso2022): Modify for character-decomposition.
2893 (syms_of_file_coding): Add new symbol `composite'.
2895 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2897 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2898 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2899 of `Vcharacter_composition_table' if `->decomposition' property
2901 (Qlatin_tcvn5712): New variable.
2902 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2903 (complex_vars_of_mule_charset): Add new coded-charset
2906 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2908 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2910 * file-coding.h (struct Lisp_Coding_System): Add
2911 `enable_composition'.
2912 (CODING_SYSTEM_COMPOSITE): New macro.
2913 (XCODING_SYSTEM_COMPOSITE): New macro.
2915 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2917 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2919 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2921 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2922 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2924 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2926 * mule-charset.c (Vcharset_mojikyo): New variable.
2927 (Fdefine_char): Don't use coded-charset which does not have
2928 non-builtin character range to allocate character-id.
2929 (Qmojikyo): New variable.
2930 (syms_of_mule_charset): Add new symbol `mojikyo'.
2931 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2933 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2934 (LEADING_BYTE_MOJIKYO): New macro.
2935 (MIN_CHAR_MOJIKYO): New macro.
2936 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2937 (MAX_CHAR_MOJIKYO): New macro.
2939 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2941 * mule-charset.c (remove_char_attribute): Fixed.
2943 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2945 * mule-charset.c (remove_char_attribute): New function.
2946 (Fremove_char_attribute): New function.
2947 (encode_builtin_char_1): Comment out builtin-support for
2948 greek-iso8859-7 and cyrillic-iso8859-5.
2949 (Fdecode_char): Check `code' is an integer.
2950 (syms_of_mule_charset): Add `remove-char-attribute'.
2951 (MIN_CHAR_GREEK): Deleted.
2952 (MAX_CHAR_GREEK): Likewise.
2953 (MIN_CHAR_CYRILLIC): Likewise.
2954 (MAX_CHAR_CYRILLIC): Likewise.
2955 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
2956 MAX_CHAR_GREEK for `greek-iso8859-7'.
2958 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
2959 (MAX_CHAR_GREEK): Likewise.
2960 (MIN_CHAR_CYRILLIC): Likewise.
2961 (MAX_CHAR_CYRILLIC): Likewise.
2963 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
2965 * mule-charset.c (Fdefine_char): Fix problem when new code-point
2966 format is used without `ucs' property.
2967 (Fdecode_char): Fix problem with GR representation.
2968 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
2969 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
2971 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2973 * mule-charset.c (make_builtin_char): New function.
2974 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
2975 (Fset_charset_mapping_table): Modify for new representation of
2977 (Fdecode_char): New function.
2978 (syms_of_mule_charset): Add new builtin function `decode-char' in
2981 * char-ucs.h (make_builtin_char): New prototype.
2982 (DECODE_CHAR): New inline function.
2983 (MAKE_CHAR): Use `DECODE_CHAR'.
2985 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
2987 * text-coding.c (parse_charset_conversion_specs): Use
2988 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
2990 (iso2022_designate): Likewise.
2992 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
2993 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
2995 * mule-charset.c (Vcharset_ucs): New variable.
2996 (print_charset): Change design; use `CHARSET_CHARS' and
2997 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
2998 (make_charset): Change signature to specify `chars' and
2999 `dimension' instead of `type'.
3000 (range_charset_code_point): Modify for 256^n-set.
3001 (encode_builtin_char_1): Encode as `ucs' in default.
3002 (Fmake_charset): Modify for `make_charset'.
3003 (Fmake_reverse_direction_charset): Likewise.
3004 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3006 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3009 * char-ucs.h (Vcharset_ucs): New variable.
3010 (LEADING_BYTE_UCS): New macro.
3011 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3012 and `chars' to `unsigned short' from `unsigned int'.
3013 (CHARSET_TYPE): Deleted.
3014 (XCHARSET_TYPE): Deleted.
3016 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
3018 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
3020 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
3021 (ENCODE_CHAR): New macro.
3023 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3025 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3026 to 0.14 (Kawachi-Katakami).
3028 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3030 * text-coding.c (char_encode_shift_jis): Modify for
3031 `charset_code_point'.
3032 (char_encode_iso2022): Likewise.
3034 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3035 (integer) instead of list of <Lisp_Object>s (integers) as the
3036 format of code-point of a coded-charset.
3037 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3038 (encode_builtin_char_1): New function; delete
3039 `split_builtin_char'.
3040 (charset_code_point): Return <int> instead of <Lisp_Object>.
3041 (Fsplit_char): Don't use `SPLIT_CHAR'.
3043 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3044 prototype for `split_builtin_char'.
3045 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3046 (charset_code_point): Likewise.
3047 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
3048 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
3050 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
3052 * mule-charset.c (complex_vars_of_mule_charset): Don't define
3053 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
3055 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3057 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
3059 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
3060 (MAX_CHAR_OBS_94x94): Deleted.
3062 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3064 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
3066 * char-ucs.h (MAX_CHAR_BMP): New macro.
3068 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3070 * text-coding.c: Sync with r21-2-24.
3072 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3074 * file-coding.c: Modify for UTF-2000.
3076 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3078 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3081 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3083 * mule-charset.c (split_builtin_char): Delete builtin support for
3084 `katakana-jisx0201'.
3085 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
3086 BMP area in builtin representation.
3088 * char-ucs.h (MAKE_CHAR): Delete builtin support for
3089 `Vcharset_katakana_jisx0201'.
3091 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3093 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
3094 (Qisolated): New variable.
3095 (Qinitial): New variable.
3096 (Qmedial): New variable.
3097 (Qfinal): New variable.
3098 (Qvertical): New variable.
3099 (Qsmall): New variable.
3100 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
3101 `Qvertical' and `Qsmall'.
3102 (Qmojikyo_pj_[1 .. 21]): New variable.
3103 (syms_of_mule_charset): Add new symbols `isolated', `initial',
3104 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
3105 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
3108 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3110 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
3111 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
3112 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
3114 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3116 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
3117 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
3119 (Qjapanese_jisx0208_1990): New variable.
3120 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
3121 (complex_vars_of_mule_charset): Add new coded-charset
3122 `japanese-jisx0208-1990'.
3124 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
3125 (MIN_CHAR_JIS_X0208_1990): New macro.
3126 (MAX_CHAR_JIS_X0208_1990): New macro.
3128 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3130 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
3131 coded-charset is not found.
3133 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3135 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
3136 (Fdefine_char): Use `Fmake_char'.
3138 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3140 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
3141 (Vcharset_hiragana_jisx0208): Deleted.
3142 (Vcharset_katakana_jisx0208): Deleted.
3143 (Qideograph_daikanwa): New variable.
3144 (Qhiragana_jisx0208): Deleted.
3145 (Qkatakana_jisx0208): Deleted.
3146 (split_builtin_char): Split `ideograph-daikanwa'.
3147 (Fsplit_char): New implementation for UTF-2000.
3148 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
3149 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
3150 (complex_vars_of_mule_charset): Add new coded-charset
3151 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
3152 `katakana-jisx0208'.
3154 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
3155 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
3156 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
3157 (MIN_CHAR_DAIKANWA): New macro.
3158 (MAX_CHAR_DAIKANWA): New macro.
3160 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3162 * data.c (Fstring_to_number): Don't recognize floating point if
3165 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3167 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
3169 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3171 * mule-charset.c (Qsquare): New variable.
3172 (to_char_code): Add `Qsquare'.
3173 (syms_of_mule_charset): Add new symbol `square'.
3175 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3177 * mule-charset.c (Qcircle): New variable.
3178 (to_char_code): Add `Qcircle'.
3179 (syms_of_mule_charset): Add new symbol `circle'.
3181 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3183 * mule-charset.c (Qfont): New variable.
3184 (to_char_code): Add `Qfont'.
3185 (syms_of_mule_charset): Add new symbol `font'.
3187 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3189 * mule-charset.c (Qsub): New variable.
3190 (to_char_code): Add `Qsub'.
3191 (syms_of_mule_charset): Add new symbol `sub'.
3193 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3195 * mule-charset.c (Fput_char_attribute): Convert each element of
3196 VALUE to GL position if ATTRIBUTE is a GR-set,
3198 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3200 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
3201 coded-charset is a GR-set.
3203 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3205 * mule-charset.c (Fput_char_attribute): Check each element of
3206 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
3208 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3210 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
3212 (Qethiopic_ucs): New variable in UTF-2000.
3213 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
3214 (complex_vars_of_mule_charset): Add new coded-charset
3215 `ethiopic-ucs' in UTF-2000.
3217 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
3218 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3220 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3222 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
3224 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3226 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
3229 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3231 * mule-charset.c (Vcharacter_variant_table): New variable.
3232 (Q_ucs): New variable.
3233 (Fchar_variants): New function.
3234 (Fput_char_attribute): Register `->ucs' value to
3235 `Vcharacter_variant_table'.
3236 (syms_of_mule_charset): Add new function `char-variants' and new
3238 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
3240 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3242 * mule-charset.c (get_char_code_table): Allow negative character
3244 (put_char_code_table): Likewise.
3245 (Vcharacter_composition_table): New variable.
3246 (Q_decomposition): New variable.
3247 (Qwide): New variable.
3248 (Qnarrow): New variable.
3249 (Qcompat): New variable.
3250 (QnoBreak): New variable.
3251 (Qsuper): New variable.
3252 (Qfraction): New variable.
3253 (to_char_code): New function.
3254 (Fget_composite_char): New function.
3255 (Fput_char_attribute): Register `->decomposition' value to
3256 `Vcharacter_composition_table'.
3257 (syms_of_mule_charset): Add new function `get-composite-char', new
3258 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
3259 `super' and `fraction'.
3260 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
3262 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3264 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
3265 character; copy the return value.
3267 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3269 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
3271 * mule-charset.c (range_charset_code_point): Must use make_int.
3272 (split_builtin_char): New function.
3274 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3276 * mule-charset.c (char_byte_table): Change name from
3277 "char-code-table" to "char-byte-table".
3278 (mark_char_code_table): New function.
3279 (char_code_table_equal): New function.
3280 (char_code_table_hash): New function.
3281 (char_code_table_description): New constant.
3282 (char_code_table): New type.
3283 (make_char_code_table): New function.
3284 (copy_char_code_table): New function.
3285 (get_char_code_table): Modify for `char_code_table' type.
3286 (put_char_code_table): Likewise.
3287 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
3290 * char-ucs.h (char_code_table): New type.
3291 (XCHAR_CODE_TABLE): New macro.
3292 (XSETCHAR_CODE_TABLE): New macro.
3293 (CHAR_CODE_TABLE_P): New macro.
3294 (GC_CHAR_CODE_TABLE_P): New macro.
3295 (struct Lisp_Char_Code_Table): New structure.
3297 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3299 * mule-charset.c (Fmake_charset): Setup byte_offset for
3302 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
3304 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
3307 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3309 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
3312 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3314 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
3315 charset, it is regarded as a charset.
3316 (put_char_attribute): New function in UTF-2000.
3317 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
3318 charset, mapping-table of the charset is modified.
3319 (Fdefine_char): New function in UTF-2000.
3320 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
3321 `Fput_char_attribute'.
3322 (syms_of_mule_charset): Add new function `define-char' and new
3323 symbol `ucs' in UTF-2000.
3324 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
3326 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3328 * mule-charset.c (Fcharset_name): Define `byte_offset' in
3329 non-UTF-2000 configuration.
3331 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3333 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
3334 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
3336 * mule-charset.c (mark_charset): `cs->encoding_table' has been
3338 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
3339 (Fset_charset_mapping_table): Likewise.
3341 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
3342 (CHARSET_ENCODING_TABLE): Delete.
3343 (XCHARSET_ENCODING_TABLE): Delete.
3344 (charset_code_point): New interface.
3346 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3348 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
3349 instead of `charset_get_byte1' and `charset_get_byte2'.
3351 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
3352 (charset_get_byte2): Deleted.
3354 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3356 * char-ucs.h (SPLIT_CHAR): New inline function.
3357 (breakup_char_1): Use `SPLIT_CHAR'.
3359 * mule-charset.c (range_charset_code_point): New function.
3360 (charset_code_point): New function.
3362 * char-ucs.h (range_charset_code_point): New interface.
3363 (breakup_char_1): Use `range_charset_code_point'.
3365 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3367 * mule-charset.c (Fmake_charset): Delete unused local variable
3370 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
3371 (breakup_char_1): Find a charset and code-point in
3372 `Vcharacter_attribute_table'.
3374 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3376 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3379 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3381 * mule-charset.c (Vcharacter_attribute_table): New variable.
3382 (Fchar_attribute_alist): New function.
3383 (Fget_char_attribute): New function.
3384 (Fput_char_attribute): New function.
3385 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
3387 (syms_of_mule_charset): Add new function `char-attribute-alist',
3388 `get-char-attribute' and `put-char-attribute'.
3389 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
3391 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
3393 * mule-charset.c (Fmake_charset): Just use
3394 `get_unallocated_leading_byte'.
3396 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
3397 sets; don't use final-byte based number for private sets.
3399 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3401 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
3404 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3406 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3409 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3411 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
3412 of `CHAR_LEADING_BYTE' in UTF-2000.
3414 * insdel.c (find_charsets_in_bufbyte_string): Use
3415 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3416 (find_charsets_in_emchar_string): Likewise.
3418 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
3419 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3421 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
3422 (CHAR_CHARSET_ID): New macro.
3424 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3426 * chartab.c (get_char_table): Don't use type `Charset_ID' for
3427 charset-id - MIN_LEADING_BYTE.
3428 (put_char_table): Likewise.
3430 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3432 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
3433 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
3434 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
3435 (CHARSET_ID_OFFSET): New macro.
3436 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
3437 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
3438 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
3439 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3441 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3443 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
3444 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
3445 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
3446 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
3447 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
3449 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3451 * mule-charset.c (next_allocated_leading_byte): New variable in
3453 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
3454 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
3455 (get_unallocated_leading_byte): Simply use
3456 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
3457 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
3460 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
3461 (MAX_LEADING_BYTE_PRIVATE): New macro.
3462 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
3463 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
3465 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3467 * mule-charset.c (Fmake_charset): Allocate final-byte based
3468 charset-id for 94-set, 96-set and 94x94-set.
3470 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3472 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
3474 (Fmake_charset): Likewise.
3475 (complex_vars_of_mule_charset): Modify the font registry of
3476 `ucs-bmp' not to match `Ethiopic-Unicode'.
3478 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3480 * mule-charset.c (complex_vars_of_mule_charset): Add font
3481 registory of `ucs-bmp'.
3483 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3485 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
3486 coded-charsets in `default-coded-charset-priority-list' when
3487 breaking up a character.
3489 * mule-charset.c (Vcharset_latin_viscii): New variable.
3490 (Qlatin_viscii): New variable.
3491 (make_charset): Don't use `decoding_table'.
3492 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
3494 (Fset_charset_mapping_table): New implementation.
3495 (syms_of_mule_charset): Add new symbol `latin-viscii'.
3496 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
3497 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
3498 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
3499 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
3500 charset `latin_viscii'.
3502 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
3503 (CHARSET_TYPE_94X94): Change to 1 from 2.
3504 (CHARSET_TYPE_96): Change to 2 from 1.
3505 (CHARSET_TYPE_128): New macro.
3506 (CHARSET_TYPE_128X128): Change to 5 from 4.
3507 (CHARSET_TYPE_256): New macro.
3508 (CHARSET_TYPE_256X256): Change to 7 from 5.
3509 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
3511 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3513 * text-coding.c (char_encode_shift_jis): Refer
3514 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
3515 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
3517 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
3518 (char_byte_table_equal): New function in UTF-2000.
3519 (char_byte_table_hash): New function in UTF-2000.
3520 (char_byte_table_description): New constant in UTF-2000.
3521 (char_byte_table): New type in UTF-2000.
3522 (make_char_byte_table): New function in UTF-2000.
3523 (copy_char_byte_table): New function in UTF-2000.
3524 (make_char_code_table): New macro in UTF-2000.
3525 (get_char_code_table): New function in UTF-2000.
3526 (put_char_code_table): New function in UTF-2000.
3527 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3528 (charset_description): Add setting in UTF-2000.
3529 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
3530 `CHARSET_TO_BYTE1_TABLE(cs)'.
3531 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
3532 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
3533 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
3534 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
3535 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
3536 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
3537 `CHARSET_TO_BYTE2_TABLE(cs)'.
3539 * char-ucs.h (char_byte_table): New type.
3540 (XCHAR_BYTE_TABLE): New macro.
3541 (XSETCHAR_BYTE_TABLE): New macro.
3542 (CHAR_BYTE_TABLE_P): New macro.
3543 (GC_CHAR_BYTE_TABLE_P): New macro.
3544 (struct Lisp_Char_Byte_Table): New structure.
3545 (get_char_code_table): New interface.
3546 (Emchar_to_byte_table): Deleted.
3547 (get_byte_from_character_table): Deleted.
3548 (struct Lisp_Charset): Add `encoding_table'; delete
3549 `to_byte1_table' and `to_byte2_table'.
3550 (CHARSET_ENCODING_TABLE): New macro.
3551 (CHARSET_TO_BYTE1_TABLE): Deleted.
3552 (CHARSET_TO_BYTE2_TABLE): Deleted.
3553 (XCHARSET_ENCODING_TABLE): New macro.
3554 (XCHARSET_TO_BYTE1_TABLE): Deleted.
3555 (XCHARSET_TO_BYTE2_TABLE): Deleted.
3557 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3559 * mule-charset.c (syms_of_mule_charset): Delete charset alias
3560 `vietnamese-viscii-*'.
3562 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3564 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
3565 (Qvietnamese_viscii_upper): New variable.
3566 (Fdefine_charset_alias): New function.
3567 (syms_of_mule_charset): Add new function `define-charset-alias'.
3568 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
3569 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
3572 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
3574 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
3575 (MAX_CHAR_OBS_94x94): New macro.
3576 (breakup_char_1): Support obsolete XEmacs-UCS private code space
3579 * mule-charset.c (put_byte_from_character_table): Change unit size
3581 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
3583 (Fmake_reverse_direction_charset): Modify dummy argument of
3584 `make_charset' for non-UTF-2000 environment.
3586 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3588 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
3590 * mule-charset.c (destroy_byte_from_character_table): New macro.
3591 (latin_jisx0201_to_ucs): Deleted.
3592 (latin_iso8859_2_to_ucs): Deleted.
3593 (latin_iso8859_3_to_ucs): Deleted.
3594 (latin_iso8859_4_to_ucs): Deleted.
3595 (latin_iso8859_9_to_ucs): Deleted.
3596 (latin_viscii_lower_to_ucs): Deleted.
3597 (latin_viscii_upper_to_ucs): Deleted.
3598 (mark_charset): Mark `cs->decoding_table'.
3599 (Fcharset_mapping_table): Fix DOC-string.
3600 (Fset_charset_mapping_table): New function.
3601 (syms_of_mule_charset): Add nwe function
3602 `set-charset-mapping-table'.
3603 (complex_vars_of_mule_charset): Don't setup and use
3606 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
3608 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
3611 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
3613 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
3614 (Vcharset_katakana_jisx0208): New variable.
3615 (Qhiragana_jisx0208): New variable.
3616 (Qkatakana_jisx0208): New variable.
3617 (make_charset): Add new argument `byte_offset'.
3618 (charset_get_byte1): Modify for new coded-charset definition; use
3619 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3620 `XCHARSET_BYTE_OFFSET'.
3621 (Fmake_charset): Modify for `make_charset'.
3622 (Fmake_reverse_direction_charset): Likewise.
3623 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
3624 `katakana-jisx0208'.
3625 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
3626 `.' in font registry of charset `katakana-jisx0201',
3627 `latin-jisx0201', `vietnamese-viscii-lower' and
3628 `vietnamese-viscii-upper'; modify DOC-string of charset
3629 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
3630 registry of charset `japanese-jisx0208' not to use font for JIS
3631 X0208:1990; add new charset `hiragana-jisx0208' and
3632 `katakana-jisx0208'.
3634 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
3635 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
3636 (struct Lisp_Charset): Add `byte_offset'.
3637 (CHARSET_BYTE_OFFSET): New macro.
3638 (XCHARSET_UCS_MIN): New macro.
3639 (XCHARSET_UCS_MAX): New macro.
3640 (XCHARSET_CODE_OFFSET): New macro.
3641 (XCHARSET_BYTE_OFFSET): New macro.
3642 (MIN_CHAR_HIRAGANA): New macro.
3643 (MAX_CHAR_HIRAGANA): New macro.
3644 (MIN_CHAR_KATAKANA): New macro.
3645 (MAX_CHAR_KATAKANA): New macro.
3646 (MAKE_CHAR): Modify for new coded-charset definition; use
3647 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3648 `XCHARSET_BYTE_OFFSET'.
3650 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3652 * mule-charset.c (CHAR96): Deleted.
3653 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
3655 (latin_iso8859_2_to_ucs): Likewise.
3656 (latin_iso8859_3_to_ucs): Likewise.
3657 (latin_iso8859_4_to_ucs): Likewise.
3658 (latin_iso8859_9_to_ucs): Likewise.
3659 (latin_viscii_lower_to_ucs): Likewise.
3660 (latin_viscii_upper_to_ucs): Likewise.
3661 (latin_tcvn5712_to_ucs): Commented out.
3662 (make_charset): Change type of argument `decoding_table' from
3663 <Emchar*> to <Lisp_Object> [vector of characters].
3664 (Fmake_charset): Modify for `make_charset'.
3665 (Fmake_reverse_direction_charset): Likewise.
3666 (Fcharset_mapping_table): New function in UTF-2000.
3667 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
3669 (complex_vars_of_mule_charset): Modify for type change of
3670 `*_to_ucs'; modify for `make_charset'.
3672 * char-ucs.h (struct Lisp_Charset): Change type of
3673 `decoding_table' from <Emchar*> to <Lisp_Object>.
3674 (MAKE_CHAR): Modify for new specification of `decoding_table'.
3676 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3678 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
3679 error with non-UTF-2000-Mule.
3681 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
3683 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
3685 (Vcharset_chinese_cns11643_4): Likewise.
3686 (Vcharset_chinese_cns11643_5): Likewise.
3687 (Vcharset_chinese_cns11643_6): Likewise.
3688 (Vcharset_chinese_cns11643_7): Likewise.
3689 (Qchinese_cns11643_3): Likewise.
3690 (Qchinese_cns11643_4): Likewise.
3691 (Qchinese_cns11643_5): Likewise.
3692 (Qchinese_cns11643_6): Likewise.
3693 (Qchinese_cns11643_7): Likewise.
3694 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
3695 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3696 and `chinese-cns11643-7' to lisp/mule/chinese.el.
3697 (complex_vars_of_mule_charset): Likewise.
3699 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3701 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
3703 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
3704 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
3706 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3708 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
3710 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
3711 (breakup_char_1): Likewise.
3713 * text-coding.c (char_encode_iso2022): Keep designated charsets if
3714 one of them includes the specified character.
3716 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3718 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
3720 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3722 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
3724 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3726 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
3727 definition for non-UTF-2000 Mule.
3728 (latin_iso8859_3_to_ucs): Likewise.
3729 (latin_iso8859_4_to_ucs): Likewise.
3730 (latin_iso8859_9_to_ucs): Likewise.
3731 (latin_jisx0201_to_ucs): Likewise.
3732 (MIN_CHAR_THAI): Likewise.
3733 (MAX_CHAR_THAI): Likewise.
3734 (MIN_CHAR_GREEK): Likewise.
3735 (MAX_CHAR_GREEK): Likewise.
3736 (MIN_CHAR_HEBREW): Likewise.
3737 (MAX_CHAR_HEBREW): Likewise.
3738 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
3739 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
3740 (MIN_CHAR_CYRILLIC): Likewise.
3741 (MAX_CHAR_CYRILLIC): Likewise.
3743 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3745 * char-ucs.h (breakup_char_1): Use
3746 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
3747 thai-tis620 and katakana-jisx0201 area.
3749 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3751 * char-ucs.h (breakup_char_1): Use
3752 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
3755 * text-coding.c (reset_encoding_stream): Fixed.
3756 (char_encode_ucs4): Delete `& 255'.
3758 * char-ucs.h (breakup_char_1): Use
3759 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
3761 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3763 * file-coding.c (Fmake_coding_system): Don't set up
3764 `codesys->fixed.size'.
3765 (encode_coding_no_conversion): Don't refer
3766 `str->codesys->fixed.size'.
3768 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3770 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
3771 (latin_a_char_to_byte1): Deleted.
3772 (latin_a_char_to_byte2): Deleted.
3774 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3776 * mule-charset.c (make_charset): Add new argument `ucs_min',
3777 `ucs_max' and `code_offset'.
3778 (charset_get_byte1): New implementation [delete specific charset
3779 depended implementations].
3780 (Fmake_charset): Modify for `make_charset'.
3781 (Fmake_reverse_direction_charset): Likewise.
3782 (complex_vars_of_mule_charset): Likewise.
3784 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
3786 (CHARSET_UCS_MIN): New macro.
3787 (CHARSET_UCS_MAX): New macro.
3788 (CHARSET_CODE_OFFSET): New macro.
3789 (MAKE_CHAR): Delete charset depended definitions [except
3792 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3794 * char-ucs.h (breakup_char_1): Use
3795 `Vdefault_coded_charset_priority_list' for C0-Controls,
3796 Basic-Latin, C1-Controls and Latin-1-Supplement area.
3798 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3800 * char-ucs.h (charset_get_byte1): New function.
3801 (XCHARSET_GET_BYTE1): Deleted.
3802 (charset_get_byte2): New function.
3803 (XCHARSET_GET_BYTE2): Deleted.
3804 (Vdefault_coded_charset_priority_list): New external variable.
3805 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3806 `Vdefault_preferred_coded_charset_list'.
3808 * mule-charset.c (charset_get_byte1): New function.
3809 (charset_get_byte2): New function.
3810 (Vdefault_coded_charset_priority_list): New variable.
3811 (vars_of_mule_charset): Add new variable
3812 `default-coded-charset-priority-list'.
3814 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3816 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3817 (XCHARSET_GET_BYTE2): New inline function.
3818 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3819 `XCHARSET_GET_BYTE2'.
3821 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3823 * mule-charset.c (make_charset): Initialize
3824 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3825 NULL if table is not defined.
3827 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3829 * text-coding.c (char_encode_shift_jis): Use
3830 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3831 `ucs_to_latin_jisx0201'.
3833 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3834 (ucs_to_latin_iso8859_2): Deleted.
3835 (ucs_to_latin_iso8859_3): Deleted.
3836 (ucs_to_latin_iso8859_4): Deleted.
3837 (ucs_to_latin_iso8859_9): Deleted.
3838 (ucs_to_latin_viscii_lower): Deleted.
3839 (ucs_to_latin_viscii_upper): Deleted.
3840 (ucs_to_latin_tcvn5712): Deleted.
3841 (make_charset): Add new argument `decoding_table'; set up
3842 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3843 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3844 `decoding_table' is defined in UTF-2000.
3845 (Fmake_charset): Modify for `make_charset'.
3846 (Fmake_reverse_direction_charset): Likewise.
3847 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3848 and `GENERATE_96_SET'.
3850 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3851 (ucs_to_latin_jisx0201): Deleted.
3852 (latin_iso8859_2_to_ucs): Deleted.
3853 (ucs_to_latin_iso8859_2): Deleted.
3854 (latin_iso8859_3_to_ucs): Deleted.
3855 (ucs_to_latin_iso8859_3): Deleted.
3856 (latin_iso8859_4_to_ucs): Deleted.
3857 (ucs_to_latin_iso8859_4): Deleted.
3858 (latin_iso8859_9_to_ucs): Deleted.
3859 (ucs_to_latin_iso8859_9): Deleted.
3860 (latin_viscii_lower_to_ucs): Deleted.
3861 (ucs_to_latin_viscii_lower): Deleted.
3862 (latin_viscii_upper_to_ucs): Deleted.
3863 (ucs_to_latin_viscii_upper): Deleted.
3864 (struct Lisp_Charset): Renamed `encoding_table' to
3865 `to_byte1_table'; add `to_byte2_table'.
3866 (CHARSET_DECODING_TABLE): New macro.
3867 (CHARSET_TO_BYTE1_TABLE): New macro.
3868 (CHARSET_TO_BYTE2_TABLE): New macro.
3869 (XCHARSET_DECODING_TABLE): New macro.
3870 (XCHARSET_TO_BYTE1_TABLE): New macro.
3871 (XCHARSET_TO_BYTE2_TABLE): New macro.
3872 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3874 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3875 don't use `ucs_to_*' tables.
3877 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3879 * text-coding.c (Fmake_coding_system): Don't set up
3880 `codesys->fixed.size'.
3881 (encode_coding_no_conversion): Use `if' instead of `switch'.
3883 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3885 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3887 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3888 (Fmake_charset): Modify for `make_charset'.
3889 (Fmake_reverse_direction_charset): Likewise.
3890 (complex_vars_of_mule_charset): Likewise.
3892 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3894 * text-coding.c (char_encode_shift_jis): Use table
3895 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3897 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3899 * text-coding.c (text_encode_generic): Use `if' instead of
3901 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3904 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3906 * text-coding.c (encode_coding_sjis): Deleted.
3907 (char_encode_shift_jis): New function.
3908 (char_finish_shift_jis): New function.
3909 (reset_encoding_stream): Set up `encode_char' and `finish' for
3910 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3911 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3912 (char_encode_utf8): Treat `eol_type'.
3914 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3916 * file-coding.c (decode_coding_iso2022): Use
3917 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3919 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3921 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3924 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3926 * char-lb.h (CHAR_COLUMNS): New macro.
3928 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3930 * text-coding.c (char_encode_ucs4): New function.
3931 (char_finish_ucs4): New function.
3932 (encode_coding_ucs4): Deleted.
3933 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3934 (text_encode_generic): Delete local variable `charset' and `half'.
3935 (ucs_to_mule_table): Deleted.
3936 (mule_to_ucs_table): Deleted.
3937 (Fset_ucs_char): Deleted.
3938 (ucs_to_char): Deleted.
3939 (Fucs_char): Deleted.
3940 (Fset_char_ucs): Deleted.
3941 (Fchar_ucs): Deleted.
3942 (decode_ucs4): Deleted.
3943 (mule_char_to_ucs4): Deleted.
3944 (encode_ucs4): Deleted.
3945 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3946 (decode_coding_utf8): Likewise.
3947 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3948 (char_encode_iso2022): Fixed.
3949 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3950 `Fset_char_ucs' and `Fchar_ucs'.
3951 (complex_vars_of_file_coding): Don't initialize
3952 `ucs_to_mule_table'.
3954 * objects-tty.c (tty_initialize_font_instance): Don't use
3957 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
3960 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
3961 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3963 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
3964 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3965 (emchar_string_displayed_columns): Likewise.
3967 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
3968 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3969 (string_column_at_point): Likewise.
3970 (Fmove_to_column): Likewise.
3972 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
3973 `encoding_table' and `decoding_table'.
3974 (CHARSET_REP_BYTES): Deleted.
3975 (XCHARSET_REP_BYTES): Deleted.
3976 (XCHARSET_COLUMNS): Deleted.
3977 (CHAR_COLUMNS): New macro.
3978 (lookup_composite_char): Deleted unconditionally.
3979 (composite_char_string): Likewise.
3981 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3983 * char-ucs.h (Emchar_to_byte_table): New type.
3984 (get_byte_from_character_table): New function interface.
3985 (Vcharset_latin_jisx0201): New variable.
3986 (latin_jisx0201_to_ucs): New variable.
3987 (ucs_to_latin_jisx0201): New variable.
3988 (Vcharset_latin_iso8859_2): New variable.
3989 (latin_iso8859_2_to_ucs): New variable.
3990 (ucs_to_latin_iso8859_2): New variable.
3991 (Vcharset_latin_iso8859_3): New variable.
3992 (latin_iso8859_3_to_ucs): New variable.
3993 (ucs_to_latin_iso8859_3): New variable.
3994 (Vcharset_latin_iso8859_4): New variable.
3995 (latin_iso8859_4_to_ucs): New variable.
3996 (ucs_to_latin_iso8859_4): New variable.
3997 (Vcharset_latin_iso8859_9): New variable.
3998 (latin_iso8859_9_to_ucs): New variable.
3999 (ucs_to_latin_iso8859_9): New variable.
4000 (Vcharset_latin_viscii_lower): New variable.
4001 (latin_viscii_lower_to_ucs): New variable.
4002 (ucs_to_latin_viscii_lower): New variable.
4003 (Vcharset_latin_viscii_upper): New variable.
4004 (latin_viscii_upper_to_ucs): New variable.
4005 (ucs_to_latin_viscii_upper): New variable.
4006 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4007 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4008 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4009 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4010 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4011 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4012 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4013 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4014 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
4015 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
4017 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
4018 (Vcharset_latin_viscii_upper): New variable.
4019 (make_byte_from_character_table): New function.
4020 (put_byte_from_character_table): New function.
4021 (get_byte_from_character_table): New function.
4022 (CHAR96): New macro.
4023 (ucs_to_latin_jisx0201): New variable.
4024 (latin_jisx0201_to_ucs): New variable.
4025 (ucs_to_latin_iso8859_2): New variable.
4026 (latin_iso8859_2_to_ucs): New variable.
4027 (ucs_to_latin_iso8859_3): New variable.
4028 (latin_iso8859_3_to_ucs): New variable.
4029 (ucs_to_latin_iso8859_4): New variable.
4030 (latin_iso8859_4_to_ucs): New variable.
4031 (ucs_to_latin_iso8859_9): New variable.
4032 (latin_iso8859_9_to_ucs): New variable.
4033 (ucs_to_latin_viscii_lower): New variable.
4034 (latin_viscii_lower_to_ucs): New variable.
4035 (ucs_to_latin_viscii_upper): New variable.
4036 (latin_viscii_upper_to_ucs): New variable.
4037 (ucs_to_latin_tcvn5712): New variable.
4038 (latin_tcvn5712_to_ucs): New variable.
4039 (Qlatin_viscii_lower): New variable.
4040 (Qlatin_viscii_upper): New variable.
4041 (syms_of_mule_charset): Set up new symbol
4042 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4043 (complex_vars_of_mule_charset): Set up new charset
4044 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
4045 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
4046 `ucs_to_<CHARSET>' tables.
4048 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4050 * text-coding.c: New file.
4052 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4054 * mule-charset.c (Fmake_char): Fix problem of 256-set.
4056 * char-ucs.h (Vcharset_ucs_bmp): New variable.
4057 (MAKE_CHAR): Modify for `ucs-bmp'.
4058 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
4059 non-MULE characters of BMP.
4061 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
4063 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4066 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
4069 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
4070 - Include character.h for `CHAR_ASCII_P'.
4072 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
4074 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
4075 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
4077 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
4078 (BYTE_C0_P): Likewise.
4079 (BYTE_C1_P): Likewise.
4080 (Lstream_get_emchar_1): Likewise.
4081 (Lstream_fput_emchar): Likewise.
4082 (Lstream_funget_emchar): Likewise.
4083 (copy_internal_to_external): Likewise.
4084 (copy_external_to_internal): Likewise.
4086 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
4087 (BYTE_C0_P): Likewise.
4088 (BYTE_C1_P): Likewise.
4089 (Lstream_get_emchar_1): Likewise.
4090 (Lstream_fput_emchar): Likewise.
4091 (Lstream_funget_emchar): Likewise.
4092 (copy_internal_to_external): Likewise.
4093 (copy_external_to_internal): Likewise.
4095 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
4096 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4098 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
4099 (BYTE_ASCII_P): Moved to mb-1byte.h.
4101 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
4103 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
4105 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
4106 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
4107 (VALID_CHARPTR_P): Moved to mb-*byte.h.
4108 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4109 (VALIDATE_CHARPTR_FORWARD): Likewise.
4110 (simple_charptr_emchar): Moved to mb-multibyte.h.
4111 (simple_set_charptr_emchar): Likewise.
4112 (simple_charptr_copy_char): Likewise.
4113 (non_ascii_charptr_emchar): Likewise.
4114 (non_ascii_set_charptr_emchar): Likewise.
4115 (non_ascii_charptr_copy_char): Likewise.
4116 (charptr_emchar): Moved to mb-*byte.h.
4117 (set_charptr_emchar): Likewise.
4118 (charptr_copy_char): Likewise.
4120 * mb-1byte.h, mb-multibyte.h: New files.
4122 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4124 * mb-utf-8.h (MULTIBYTE): New macro.
4125 (MAX_EMCHAR_LEN): Moved from buffer.h.
4126 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
4128 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
4130 * mb-lb.h, multibyte.h: New files.
4132 * char-1byte.h (Charset_ID): Moved from buffer.h.
4133 (MIN_LEADING_BYTE): Likewise.
4134 (LEADING_BYTE_ASCII): Likewise.
4135 (NUM_LEADING_BYTES): Likewise.
4136 (CHARSETP): Likewise.
4137 (CHARSET_BY_LEADING_BYTE): Likewise.
4138 (XCHARSET_LEADING_BYTE): Likewise.
4139 (XCHARSET_GRAPHIC): Likewise.
4140 (XCHARSET_COLUMNS): Likewise.
4141 (XCHARSET_DIMENSION): Likewise.
4142 (CHAR_CHARSET): Likewise.
4143 (CHAR_LEADING_BYTE): Likewise.
4144 (BREAKUP_CHAR): Likewise.
4145 (Vcharset_ascii): Likewise.
4147 * buffer.h: Include multibyte.h unconditionally.
4148 (VALID_CHARPTR_P): Moved to multibyte.h.
4149 (ASSERT_VALID_CHARPTR): Likewise.
4150 (REAL_INC_CHARPTR): Likewise.
4151 (REAL_INC_CHARBYTIND): Likewise.
4152 (REAL_DEC_CHARPTR): Likewise.
4153 (INC_CHARPTR): Likewise.
4154 (INC_CHARBYTIND): Likewise.
4155 (DEC_CHARPTR): Likewise.
4156 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4157 (VALIDATE_CHARPTR_FORWARD): Likewise.
4158 (charptr_n_addr): Likewise.
4159 (MAX_EMCHAR_LEN): Moved to mb-*.h.
4160 (simple_charptr_emchar): Moved to multibyte.h.
4161 (simple_set_charptr_emchar): Likewise.
4162 (simple_charptr_copy_char): Likewise.
4163 (non_ascii_charptr_emchar): Likewise.
4164 (non_ascii_set_charptr_emchar): Likewise.
4165 (non_ascii_charptr_copy_char): Likewise.
4166 (charptr_emchar): Likewise.
4167 (set_charptr_emchar): Likewise.
4168 (charptr_copy_char): Likewise.
4169 (charptr_emchar_n): Likewise.
4170 (Charset_ID): Moved to char-1byte.h.
4171 (Vcharset_ascii): Likewise.
4172 (CHAR_CHARSET): Likewise.
4173 (CHAR_LEADING_BYTE): Likewise.
4174 (LEADING_BYTE_ASCII): Likewise.
4175 (NUM_LEADING_BYTES): Likewise.
4176 (MIN_LEADING_BYTE): Likewise.
4177 (CHARSETP): Likewise.
4178 (CHARSET_BY_LEADING_BYTE): Likewise.
4179 (XCHARSET_LEADING_BYTE): Likewise.
4180 (XCHARSET_GRAPHIC): Likewise.
4181 (XCHARSET_COLUMNS): Likewise.
4182 (XCHARSET_DIMENSION): Likewise.
4183 (BREAKUP_CHAR): Likewise.
4185 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4187 * character.h: Add document about interface for characters.
4189 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
4190 (MAKE_CHAR): Delete comment about
4191 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
4192 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
4193 (BREAKUP_CHAR): Modify name of arguments.
4194 (CHAR_CHARSET): Modify name of argument.
4196 * buffer.h: Delete document about Emchar accessors.
4198 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4200 * character.h (CHAR_INTP): Moved from buffer.h
4201 (CHAR_OR_CHAR_INTP): Likewise.
4202 (XCHAR_OR_CHAR_INT): Likewise.
4203 (CHECK_CHAR_COERCE_INT): Likewise.
4205 * buffer.h (CHAR_INTP): Moved to character.h
4206 (CHAR_OR_CHAR_INTP): Likewise.
4207 (XCHAR_OR_CHAR_INT): Likewise.
4208 (CHECK_CHAR_COERCE_INT): Likewise.
4210 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4213 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
4214 - Include char-1byte.h, char-lb.h or char-ucs.h.
4216 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
4218 * buffer.h: Include character unconditionally.
4219 (valid_char_p): Moved to char-*.h.
4220 (non_ascii_valid_char_p): Moved to char-lb.h.
4222 * char-1byte.h, char-lb.h, char-ucs.h: New files.
4224 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4226 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
4227 in UTF-2000 because it is not ported yet and not to use
4228 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
4229 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
4230 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
4232 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
4233 (CHAR_ASCII_P): Moved from character.h.
4235 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
4236 (CHAR_ASCII_P): Likewise.
4237 (CHAR_FIELD1_MASK): Deleted.
4238 (CHAR_FIELD2_MASK): Deleted.
4239 (CHAR_FIELD3_MASK): Deleted.
4240 (MAX_CHAR_BASIC_LATIN): New macro.
4241 (CHAR_FIELD1): Deleted.
4242 (CHAR_FIELD2_INTERNAL): Deleted.
4243 (CHAR_FIELD3_INTERNAL): Deleted.
4244 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
4245 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
4246 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
4247 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
4248 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
4249 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
4250 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
4251 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
4252 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
4253 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
4254 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
4255 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
4256 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
4257 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
4258 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
4259 (MIN_CHAR_COMPOSITION): Deleted.
4260 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
4261 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
4263 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
4265 * buffer.h: Include mb-utf-8.h in UTF-2000.
4267 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
4269 * mb-utf-8.h: New file.
4271 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
4273 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
4276 * mule-charset.h, buffer.h (Charset_ID): New type.
4278 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4280 * mule-canna.c (c2mu): Use `MAKE_CHAR',
4281 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
4282 instead of `MULE_CHAR_PRIVATE_OFFSET',
4283 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
4284 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
4285 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
4287 * character.h (Vcharset_japanese_jisx0212): New variable
4290 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4292 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
4293 (charset_by_attributes): Delete array about direction.
4294 (latin_a_char_to_charset): New variable in UTF-2000.
4295 (latin_a_char_to_byte1): New variable in UTF-2000.
4296 (latin_a_char_to_byte2): New variable in UTF-2000.
4297 (Qucs_bmp): New variable.
4298 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
4300 (next_allocated_2_byte_leading_byte): Likewise.
4301 (non_ascii_set_charptr_emchar): Likewise.
4302 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
4303 `CHARSET_TYPE_256X256' in UTF-2000; modify for
4304 `charset_by_attributes'.
4305 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
4306 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
4307 and `CHARSET_BY_LEADING_BYTE'.
4308 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
4309 `utf-2000-version' to `vars_of_mule_charset'.
4310 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
4311 define `leading-code-private-11' in UTF-2000; move setting of
4312 `utf-2000-version' from `syms_of_mule_charset'.
4313 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
4316 * character.h (Charset_ID): New type.
4317 (LEADING_BYTE_UCS_BMP): New macro.
4318 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
4319 (CHARSET_ID_OFFSET_94): New macro.
4320 (MIN_CHARSET_ID_PRIVATE_94): New macro.
4321 (MAX_CHARSET_ID_PRIVATE_94): New macro.
4322 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
4324 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
4325 (LEADING_BYTE_LATIN_JISX0201): Likewise.
4326 (CHARSET_ID_OFFSET_96): New macro.
4327 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
4328 CHARSET_ID_OFFSET_96 and final-byte.
4329 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
4330 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
4331 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
4332 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
4333 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
4334 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
4335 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
4336 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
4337 (LEADING_BYTE_THAI_TIS620): Likewise.
4338 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
4339 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
4340 (CHARSET_ID_OFFSET_94x94): New macro.
4341 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
4342 CHARSET_ID_OFFSET_94x94 and final-byte.
4343 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
4344 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
4345 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
4346 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
4347 (LEADING_BYTE_CHINESE_GB2312): Likewise.
4348 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
4349 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
4350 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
4351 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
4352 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
4353 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
4354 (CHARSET_TYPE_128X128): New macro.
4355 (CHARSET_TYPE_256X256): New macro.
4356 (XCHARSET_PRIVATE_P): Delete unconditionally.
4357 (charset_by_attributes): Delete array about direction.
4358 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
4359 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
4360 (MIN_CHAR_94): New macro.
4361 (MAX_CHAR_94): New macro.
4362 (MIN_CHAR_96): New macro.
4363 (MAX_CHAR_96): New macro.
4364 (MIN_CHAR_94x94): New macro.
4365 (MAX_CHAR_94x94): New macro.
4366 (MIN_CHAR_96x96): New macro.
4367 (MAX_CHAR_96x96): New macro.
4368 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
4369 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4370 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
4372 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
4373 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
4374 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
4375 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
4376 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
4377 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
4378 `XCHARSET_LEADING_BYTE' to make code-point.
4379 (latin_a_char_to_charset): New variable.
4380 (latin_a_char_to_byte1): New variable.
4381 (latin_a_char_to_byte2): New variable.
4382 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
4383 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
4384 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
4386 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
4387 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
4388 (find_charsets_in_emchar_string): Likewise.
4389 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
4391 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
4393 (decode_coding_iso2022): Likewise.
4395 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
4398 * redisplay.c (redisplay_text_width_emchar_string): Use
4399 `Charset_ID' instead of `unsigned char'.
4400 (redisplay_frame_text_width_string): Likewise.
4402 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
4405 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
4406 instead of `unsigned char'.
4407 (face_cachel_charset_font_metric_info): Likewise.
4409 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
4410 (get_non_ascii_char_table_value): Likewise.
4411 (get_char_table): Likewise.
4412 (put_char_table): Likewise.
4413 (map_over_other_charset): Likewise.
4414 (map_char_table): Likewise.
4416 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
4417 instead of `unsigned char'.
4419 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
4421 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
4422 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
4424 * mule-charset.c (leading_code_private_11): Don't define in
4427 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
4428 in UTF-2000 because it is not ported yet and not to use
4429 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
4431 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
4433 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
4435 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4437 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
4440 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
4441 of unsigned char to store leading-byte.
4443 * chartab.c (get_non_ascii_char_table_value): Don't use
4444 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
4446 * file-coding.c (encode_coding_big5): Delete bogus implementation
4449 * character.h (LEADING_BYTE_*): Delete definition for
4451 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
4452 (LEADING_BYTE_PREFIX_P): Deleted.
4453 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
4454 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
4455 (BUFBYTE_LEADING_BYTE_P): Deleted.
4456 (CHARSET_PRIVATE_P): Deleted unconditionally.
4457 (rep_bytes_by_first_byte): Deleted unconditionally.
4458 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
4459 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
4460 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4461 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
4462 (CHAR_FIELD2): Deleted.
4463 (CHAR_FIELD3): Deleted.
4464 (MAKE_CHAR): Delete definition for non-UTF-2000.
4465 (BREAKUP_CHAR_1_UNSAFE): Deleted.
4466 (breakup_char_1): New implementation.
4467 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
4468 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
4470 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4472 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
4475 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4477 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
4478 (CHARSET_PRIVATE_P): Likewise.
4479 (XCHARSET_PRIVATE_P): Likewise.
4480 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
4482 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
4484 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
4486 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4488 * character.h (LEADING_BYTE_*): Changed in UTF2000.
4489 (NUM_LEADING_BYTES): Changed from 128 to 256.
4490 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4491 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
4493 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4495 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
4497 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
4498 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
4499 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
4500 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
4501 (Qchinese_cns11643_3): New variable in UTF2000.
4502 (Qchinese_cns11643_4): New variable in UTF2000.
4503 (Qchinese_cns11643_5): New variable in UTF2000.
4504 (Qchinese_cns11643_6): New variable in UTF2000.
4505 (Qchinese_cns11643_7): New variable in UTF2000.
4506 (syms_of_mule_charset): Define `chinese-cns11643-3',
4507 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4508 and `chinese-cns11643-7' in UTF2000.
4509 (vars_of_mule_charset): Initialize
4510 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
4512 (complex_vars_of_mule_charset): Setup charset
4513 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
4514 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
4516 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4518 * mule-charset.c: Move setting for `leading-code-private-11' from
4519 `syms_of_mule_charset' to `vars_of_mule_charset'.
4521 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4523 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
4524 and `NUM_LEADING_BYTES' in assert.
4526 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4528 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
4530 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
4531 `NUM_LEADING_BYTES' instead of 128.
4533 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4535 * mule-charset.h (charset_by_leading_byte): Use
4536 `NUM_LEADING_BYTES' instead of 128.
4537 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
4539 * mule-charset.c (charset_by_leading_byte): Use
4540 `NUM_LEADING_BYTES' instead of 128.
4541 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
4543 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
4546 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4548 * mule-charset.c (syms_of_mule_charset): Update to
4551 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4553 * file-coding.c (encode_coding_sjis): New implementation for
4554 UTF2000. (decode_coding_sjis): Ditto.
4556 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4558 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
4559 Don't define in UTF2000.
4561 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
4564 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4565 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
4568 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4570 * config.h.in (CHAR_IS_UCS4): New macro.
4572 * mule-charset.c (rep_bytes_by_first_byte): Modify for
4573 conventional MULE representation.
4574 (syms_of_mule_charset): Update to 0.3 (Imamiya).
4576 * mule-charset.h: Reverted to original.
4578 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4579 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
4580 "mule-charset.h" if CHAR_IS_UCS4 is defined.
4582 * character.h: New file.
4584 * file-coding.c (Fmake_coding_system): Set 1 to
4585 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
4587 (encode_coding_no_conversion): New implementation for UTF2000.
4589 * file-coding.h (struct Lisp_Coding_System): Add new member
4592 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
4594 * file-coding.c (decode_coding_iso2022): Code-point arguments of
4595 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
4596 (encode_coding_iso2022): New implementation for UTF2000.
4598 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4600 * mule-canna.c (c2mu): New implementation for UTF2000.
4603 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4605 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
4607 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4609 * file-coding.c (reset_encoding_stream): Set 0 to
4610 `str->iso2022.current_char_boundary' in UTF2000.
4611 (encode_utf8): Don't define in UTF2000.
4612 (encode_coding_utf8): New implementation for UTF-8 representation
4614 (complex_vars_of_file_coding): Define coding-system `utf-8'.
4616 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4618 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
4620 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
4622 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4624 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
4626 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
4627 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
4628 as UTF-8 in UTF2000.
4629 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
4630 (non_ascii_valid_char_p): Don't define in UTF2000.
4631 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
4632 (Lstream_get_emchar_1): Likewise.
4633 (utf-2000-version): New variable in UTF2000.
4635 * lread.c (read_escape): Add new reader `u'.
4637 * insdel.c (three_to_one_table): Don't define in UTF2000.
4638 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
4639 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4641 (bytind_to_bufpos_func): Likewise.
4642 (buffer_mule_signal_inserted_region): Likewise.
4643 (vars_of_insdel): Don't initialize `three_to_one_table'.
4644 (init_buffer_text): Use `buf->text->mule_size' instead of
4645 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4648 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
4649 UTF-8 representation in UTF2000.
4650 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
4651 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
4652 (decode_coding_iso2022): Don't define local variable `lb' in
4653 UTF2000; don't use LEADING_BYTE in UTF2000; use
4654 `DECODE_ADD_UCS_CHAR' in UTF2000.
4655 (convert_to_external_format): Decode as UTF-8 in UTF2000.
4657 * config.h.in (UTF2000): New macro.
4659 * buffer.h (struct buffer_text): Add new member `mule_size' and
4660 don't add `mule_shifter' and `mule_three_p' in UTF2000.
4661 (valid_char_p): Return always 1 in UTF2000.
4662 (MAX_EMCHAR_LEN): 6 in UTF2000.
4663 (three_to_one_table): Don't define in UTF2000.
4664 (real_bufpos_to_bytind): Modify for UTF-8 representation in
4666 (real_bytind_to_bufpos): Likewise.
4668 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
4670 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4672 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
4673 representation change.
4674 (Vutf_2000_version): New variable.
4675 (leading_code_private_11): New variable.
4676 (syms_of_mule_charset): Add new variables `utf-2000-version' and
4677 `leading-code-private-11'.
4679 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
4680 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
4681 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
4682 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
4683 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
4684 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
4685 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
4686 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
4687 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
4688 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
4689 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
4690 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
4691 (MIN_CHAR_GREEK): New macro.
4692 (MAX_CHAR_GREEK): New macro.
4693 (MIN_CHAR_CYRILLIC): New macro.
4694 (MAX_CHAR_CYRILLIC): New macro.
4695 (MIN_CHAR_HEBREW): New macro.
4696 (MAX_CHAR_HEBREW): New macro.
4697 (MIN_CHAR_THAI): New macro.
4698 (MAX_CHAR_THAI): New macro.
4699 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
4700 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
4701 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
4702 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
4703 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
4704 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
4705 (CHAR_FIELD2): New inline function.
4706 (CHAR_FIELD3): New inline function.
4707 (MULE_CHAR_PRIVATE_OFFSET): New macro.
4708 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
4709 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
4710 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
4711 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
4712 (MIN_CHAR_COMPOSITION): Likewise.
4713 (CHAR_LEADING_BYTE): Modified for character representation change.
4714 (MAKE_CHAR): Likewise.
4716 * lisp.h (Vcharset_latin_iso8859_1): New variable.
4717 (Vcharset_greek_iso8859_7): Likewise.
4718 (Vcharset_cyrillic_iso8859_5): Likewise.
4719 (Vcharset_hebrew_iso8859_8): Likewise.
4720 (Vcharset_thai_tis620): Likewise.
4721 (Vcharset_katakana_jisx0201): Likewise.
4723 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
4725 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
4727 2002-12-14 Ben Wing <ben@xemacs.org>
4729 * callint.c: Declaration error.
4731 * dumper.c (pdump_load): Warning fix.
4732 * process.c: GCPRO error.
4733 * glyphs.c (unmap_subwindow):
4734 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
4735 * event-stream.c (maybe_kbd_translate): Wrong argument to
4736 character_to_event().
4738 * alloc.c (garbage_collect_1):
4740 * emacs.c (debug_can_access_memory):
4741 * emacs.c (fatal_error_signal):
4742 * emacs.c (mswindows_handle_hardware_exceptions):
4745 * emacs.c (assert_failed):
4746 * emacs.c (syms_of_emacs):
4749 * print.c (std_handle_out_va):
4750 * print.c (write_string_to_stdio_stream):
4751 * print.c (write_fmt_string):
4752 * print.c (printing_badness):
4753 * print.c (printing_major_badness):
4754 * print.c (print_internal):
4755 * print.c (debug_print_no_newline):
4756 * print.c (debug_backtrace):
4757 Be more defensive in handling bad values when printing. Add code
4758 from trunk involving inhibit_non_essential_printing_operations.
4759 When going down or in debug_print(), don't do external conversion
4760 and such and try really, really hard when printing to avoid core
4761 dumping. Add force-debugging-signal, debug_break().
4763 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
4765 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
4766 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
4768 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
4770 * database.c: Fix open_database. Berkeley DB API has changed in
4771 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
4773 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
4775 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
4777 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
4779 * event-Xt.c (Xt_timeout):
4780 (Xt_timeout_callback):
4781 (emacs_Xt_add_timeout):
4782 (emacs_Xt_remove_timeout):
4783 (Xt_timeout_to_emacs_event):
4784 Turn completed_timeouts from a stack into a queue. Fixes
4785 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
4787 2002-11-07 Wolfram Gloger <wg@malloc.de>
4789 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
4790 * emacs.c (main): Assert that mmap'd allocation is disabled.
4792 2002-10-14 Andy Piper <andy@xemacs.org>
4794 * glyphs-widget.c (layout_query_geometry): add in fiddle
4795 factor. Include border text in width layout calculation.
4796 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
4798 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
4800 * XEmacs 21.4.10 "Military Intelligence" is released.
4802 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
4804 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
4805 using the NAS private array SoundFileInfo that no longer exists in
4806 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
4807 and earlier. This is broken for some versions between 1.5a and
4810 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
4812 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
4814 * emacs.c (shut_down_emacs): Improve crash message.
4816 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
4818 * file-coding.c (determine_real_coding_system): Check for coding
4819 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
4820 shebangs and Python PEP 263.
4822 2002-10-08 Andy Piper <andy@xemacs.org>
4824 * glyphs-widget.c (layout_query_geometry): only resize dynamically
4825 if static sizes haven't been set.
4827 2002-08-30 Mike Alexander <mta@arbortext.com>
4829 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
4832 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
4834 * callproc.c (child_setup): 21.4 doesn't have retry_close.
4836 2002-09-20 Mike Sperber <mike@xemacs.org>
4838 (This partially gets back my patch from 2002-07-20 without the
4840 * callproc.c (child_setup): Remove Ben's comment noting confusion
4841 over the file descriptors >= 3: close_process_descs() doesn't
4842 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
4843 * process-unix.c (unix_create_process): Call
4844 begin_dont_check_for_quit to inhibit unwanted interaction (and
4845 thus breaking of X event synchronicity) in the child.
4847 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
4849 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
4852 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
4854 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
4855 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
4856 the xemacs process did not exit, but looped infinitely here. This
4859 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
4861 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
4862 (find_context): Improve comments.
4864 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
4865 (re_match_2): An XCHAR_TABLE operation was missing.
4867 Many of the following changes were inspired by Andy Piper's (now
4868 obsolete) patch to make syntax-table text property lookup optional.
4872 * syntax.h (top level): Document semantics of syntax flags.
4873 * syntax.c (comstr_start, Fforward_comment): Improve comments.
4874 * syntax.c, syntax.h (top level): Document syntax cache better in
4877 [Instrument syntax caching (temporary change)]
4879 * syntax.h (enum syntax_cache_statistics_functions, struct
4880 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
4881 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
4882 * syntax.c (scan_words, Fforward_comment, scan_lists,
4883 Fbackward_prefix_characters):
4884 * font-lock.c (find_context):
4885 Use them to instrument syntax caching.
4886 * syntax.c (struct syntax_cache_statistics, scs_statistics,
4887 syntax_cache_statistics_function_names): New type and variables.
4888 * syntax.c (update_syntax_cache): Update and report statistics.
4890 [Major syntax cache optimizations]
4892 syntax.c (lookup_syntax_properties): Default off.
4894 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
4895 * syntax.c (update_syntax_cache):
4896 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
4898 [Minor syntax cache optimizations and code clarifications]
4900 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
4901 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
4902 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
4903 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
4904 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
4905 (Code clarification.)
4907 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
4908 scan_lists): Compute code from syncode, use Boolean macros instead
4909 of redundant masking operations. (Code clarification; any decent
4910 compiler can do this optimization.)
4912 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
4915 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
4916 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
4917 use F*_single_property_change instead of F*_extent_change.
4918 Currently F*_single_property_change is _much_ less efficient.
4920 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
4921 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
4922 syntax_cache.object properly, don't leave Qt or Qnil.
4923 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
4924 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
4925 tests for Qt or Qnil.
4927 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
4929 * redisplay.c (point_in_line_start_cache):
4930 * extents.c (print_extent_1):
4933 * extents.c (Fset_extent_property): Document `syntax-table' property.
4935 * extents.h (Fnext_single_property_change): EXFUN it.
4937 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
4939 * search.c (clear_unused_search_regs): New static function.
4943 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
4944 Minor clarifications in comments.
4946 * regex.c (re_match_2_internal): Ensure no stale submatches.
4948 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
4950 * event-Xt.c (enqueue_focus_event): Add missing prototype.
4952 2002-08-29 Jerry James <james@xemacs.org>
4954 * lisp.h: structrures -> structures.
4956 2002-06-03 Andy Piper <andy@xemacs.org>
4958 * frame.c (frame_conversion_internal): add conversion appropriate
4959 for setting frame dimensions in pixels.
4961 * console.h (struct console_methods): add device-specific widget
4964 * emacs.c (main_1): initialize glyph vars.
4966 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
4967 (handle_focus_event_2): new function. Allow focus to
4968 be set to a particular window and widget.
4969 (enqueue_focus_event): new function. Create a
4970 synthetic focus event.
4971 (emacs_Xt_handle_magic_event): call
4972 handle_focus_event_2.
4974 * frame.c (Fset_frame_pixel_height): new function. Allow
4975 pixel-based sizing. Does the right thing on character-oriented
4977 (Fset_frame_pixel_width): ditto.
4978 (Fset_frame_pixel_size): ditto.
4979 (syms_of_frame): declare.
4981 * general-slots.h: add :vertically-justify and
4982 :horizontally-justify.
4984 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
4985 (mswindows_widget_border_width): new function.
4986 (mswindows_combo_box_instantiate): set border widths.
4987 (console_type_create_glyphs_mswindows): declare.
4990 (check_valid_justification): allow vertical and horizontal
4992 (widget_border_width): new function. Call device methods.
4993 (widget_instance_border_width): ditto.
4994 (logical_unit_height): new function. Determine the height of a
4995 logical-unit. Logical units are intended to provide grid-like
4996 layout for subcontrols in a layout. If the layout is
4997 :vertically-justify top then subcontrols will be positioned on
4998 logical-unit boundaries, thus allowing adjacent subcontrols to
5000 (widget_logical_unit_height): ditto for widgets.
5001 (redisplay_widget): misc cleanup.
5002 (widget_spacing): new function. Call device specific
5003 methods. Intended to be the default gap between adjacent widgets.
5004 (widget_query_geometry): use new spacing functions to determine
5005 appropriate geometry.
5006 (initialize_widget_image_instance): initialize horizontal and
5007 vertical justification.
5008 (widget_instantiate): use logica-units where appropriate for
5009 sizing large widgets.
5010 (button_query_geometry): use widget_instance_border_width.
5011 (tree_view_query_geometry): ditto.
5012 (tab_control_query_geometry): ditto.
5013 (edit_field_query_geometry): new function.
5014 (layout_update): pick up :justify, :horizontally-justify and
5015 :vertically-justify none of which worked previously. :justify is
5016 used as a fallback for both horizontal and vertical justification.
5017 (layout_query_geometry): use logical units to size appropriately.
5018 (layout_layout): ditto.
5019 (Fwidget_logical_to_character_width): new function. Allow users to
5020 convert from logical units to characters so that frame sizes can
5021 be set appropriately.
5022 (Fwidget_logical_to_character_height): ditto.
5023 (syms_of_glyphs_widget): declare.
5024 (image_instantiator_edit_fields): add edit_field_query_geometry.
5025 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
5026 :horizontally-justify.
5027 (specifier_vars_of_glyphs_widget): new function. Declare
5028 Vwidget_border_width which is not yet used.
5030 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
5031 (x_widget_border_width): new function.
5032 (x_widget_instantiate): create a sensible name for widgets.
5033 (console_type_create_glyphs_x): declare x_widget_border_width.
5035 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
5036 (struct Lisp_Image_Instance): add :vertically-justify and
5037 :horizontally-justify.
5038 (LAYOUT_JUSTIFY_TOP): new.
5039 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
5040 (ROUND_UP): new macro. Round argument up to next integral
5043 * redisplay-output.c (redisplay_output_layout): misc formatting.
5045 * symsinit.h: declare specifier_vars_of_glyphs_widget.
5047 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
5049 * XEmacs 21.4.9 "Informed Management" is released.
5051 2002-08-19 Andy Piper <andy@xemacs.org>
5053 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
5056 * realpath.c (xrealpath): normalize drive spec also so that dir
5057 sep chars are not mixed on cygwin.
5059 2002-08-06 Jerry James <james@xemacs.org>
5061 * window.c (Fsplit_window): Count only half of the divider width
5062 against the left window when splitting horizontally.
5064 2002-06-24 Andy Piper <andy@xemacs.org>
5066 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
5067 toolbar was cleared.
5069 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
5070 function. Split out from mswindows_output_frame_toolbars.
5071 (mswindows_output_frame_toolbars): move clear pieces to
5072 mswindows_output_frame_toolbars.
5074 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
5075 out from gtk_output_frame_toolbars.
5076 (gtk_output_frame_toolbars): move clear pieces to
5077 gtk_clear_frame_toolbars.
5079 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
5080 the frame is cleared. How this ever worked before is a mystery.
5081 (x_output_frame_toolbars): Only output toolbars.
5082 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
5084 * gutter.c (update_gutter_geometry):
5085 Mark frame layout changed.
5086 (update_frame_gutter_geometry, update_frame_gutters):
5087 Respect frame_layout_changed.
5089 * console.h (struct console_methods): add
5090 clear_frame_toolbars_method.
5092 * redisplay.c (redisplay_frame): call
5093 update_frame_toolbars_geometry and re-order update_frame_toolbars.
5095 * toolbar.h: declare update_frame_toolbars_geometry.
5097 * toolbar.c (update_frame_toolbars_geometry): new function. Split
5098 out from update_frame_toolbars. Call clear_frame_toolbars.
5099 (update_frame_toolbars): only output, do not change geometry.
5101 * redisplay.c: add frame_layout_changed.
5103 * redisplay.h: add frame_layout_changed.
5104 (CLASS_RESET_CHANGED_FLAGS): set it.
5105 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
5106 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
5107 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
5109 * device.h (struct device): add frame_layout_changed.
5110 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
5112 * frame.h (struct frame): add frame_layout_changed.
5113 (MARK_FRAME_LAYOUT_CHANGED): new.
5115 2002-06-30 Mike Alexander <mta@arbortext.com>
5117 * event-msw.c (mswindows_need_event): Don't wait for a new message
5118 if the queue is not empty. Suggested by Paul Moore.
5120 2002-06-12 Andy Piper <andy@xemacs.org>
5122 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
5123 for printing on accurately.
5125 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
5127 * event-msw.c (mswindows_wnd_proc): Add a handler for the
5128 WM_ACTIVATE message. Make sure that the frame is visible if the
5129 window is visible. This seemss to fix the problem where XEmacs
5130 appears to freeze after switching desktops with certain virtual
5132 (debug_output_mswin_message): Added code to output message
5133 parameters for WM_WINDOWPOSCHANGED,
5134 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
5136 2002-05-25 Andy Piper <andy@xemacs.org>
5138 * select-x.c (vars_of_select_x): Fix docstring of
5139 x-selection-strict-motif-ownership
5141 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5143 * keymap.c (get_keymap):
5144 Add comment about do_autoload GCPROs own args.
5146 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5148 * bytecode.c (execute_optimized_program): check_opcode ifdef
5149 ERROR_CHECK_BYTE_CODE.
5151 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5153 Thanks to Ben Wing and Michael Sperber.
5155 * eval.c (Fcommand_execute):
5158 (Fmacroexpand_internal):
5159 (function_argcount):
5160 callint.c (Fcall_interactively):
5161 Add comment about do_autoload GCPROs own args.
5163 * (do_autoload): GCPRO both args as well as local Lisp_Object.
5165 * eval.c (Ffuncall): Extra braces to placate GCC.
5167 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
5169 * backtrace.h (grow_specpdl):
5171 * EmacsFrame.c (EmacsFrameSetValues):
5172 * eval.c (grow_specpdl):
5173 * ExternalShell.c (hack_event_masks_1):
5174 * glyphs-x.c (convert_EImage_to_XImage):
5175 (x_finalize_image_instance):
5176 * ralloc.c (page_size):
5178 * xgccache.c (gc_cache_hash):
5179 Fix unsigned comparison warnings.
5181 2002-07-29 Jerry James <james@xemacs.org>
5183 * lread.c (locate_file): Any nonnegative return value indicates
5184 success if MODE is nonnegative.
5186 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
5188 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
5191 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
5193 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
5195 * dumper.c (pdump_get_indirect_count):
5196 (pdump_scan_by_alignment):
5197 (pdump_dump_root_struct_ptrs):
5198 (pdump_dump_rtables):
5199 (pdump_dump_root_objects):
5201 * nas.c (WaveOpenDataForReading):
5202 * fns.c (print_bit_vector):
5203 * font-lock.c (SINGLE_SYNTAX_STYLE):
5204 * glyphs.c (check_for_ignored_expose):
5205 (find_matching_subwindow):
5207 * imgproc.c (get_histogram):
5208 * redisplay.c (point_in_line_start_cache):
5209 * redisplay-output.c (redisplay_unmap_subwindows):
5210 * symbols.c (defsymbol_massage_name_1):
5211 (defkeyword_massage_name):
5212 (deferror_massage_name_and_message):
5213 * redisplay-x.c (x_output_string):
5214 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
5215 * frame.h (struct frame):
5216 * filelock.c (current_lock_owner):
5217 * doprnt.c (emacs_doprnt_1):
5218 * lisp.h (struct Lisp_Bit_Vector):
5222 2002-02-13 Ben Wing <ben@xemacs.org>
5224 * event-stream.c (reset_key_echo):
5225 * event-stream.c (reset_this_command_keys):
5226 * event-stream.c (execute_command_event):
5227 If console is dead as a result of C-x 5 0, then post-command stuff
5228 needs to be careful and do only non-console-specific stuff.
5230 2002-07-01 Mike Sperber <mike@xemacs.org>
5232 * process-unix.c (unix_send_process): Mark coding_outstream as
5233 non-open upon SIGPIPE.
5235 * event-stream.c (Fnext_event): Reorder switch cases to something
5238 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
5240 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
5241 Don't bogusly reinitialize ascii_character property.
5243 2002-07-08 Mike Sperber <mike@xemacs.org>
5245 * process.c (Fstart_process_internal): Do error checking before we
5246 fork off the child, so the child can't muck with the state of the
5249 2002-07-08 Mike Sperber <mike@xemacs.org>
5251 * ralloc.c (init_ralloc): Allocate properly for pdump.
5253 2002-06-12 Andy Piper <andy@xemacs.org>
5255 * glyphs.c (query_string_geometry): check the string.
5257 * glyphs-widget.c (widget_logical_unit_height): cope with nil
5260 2002-06-17 Jerry James <james@xemacs.org>
5262 * sysdll.c: Remove RTLD_GLOBAL initialization.
5263 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
5265 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
5267 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
5269 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
5271 * sysdep.c (sys_rename): Make sys_rename work for the case where
5272 Windows rename sets errno to EACCES if target file exists.
5274 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
5276 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5277 Fix detection of metric units to work on Win95
5279 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
5281 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
5283 2002-04-25 Andy Piper <andy@xemacs.org>
5285 * redisplay.c (create_text_block): Remove extra comment trailer.
5287 2002-04-24 Andy Piper <andy@xemacs.org>
5289 * redisplay.c (create_text_block): Don't actually add propagation
5290 data if the line ends after we have added a glyph.
5292 2002-04-22 Andy Piper <andy@xemacs.org>
5294 * extents.c (extent_fragment_update): check for glyphs we have
5295 previously displayed.
5296 * extents.c (print_extent_1): warning removal.
5297 * extents.h: change prototype.
5298 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
5299 widths correctly for wide glyphs.
5300 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
5301 * redisplay.c (prop_type): add PROP_GLYPH.
5302 * redisplay.c (struct prop_block): add glyph type
5303 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
5304 to the propagation data.
5305 * redisplay.c (create_text_block): if there is a glyph in the
5306 propagation data use it to salt extent_fragment_update.
5307 * redisplay.c (create_string_text_block): ditto.
5309 2002-04-13 Nix <nix@esperi.demon.co.uk>
5311 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
5312 * redisplay-output.c (compare_runes): Compare them.
5313 * redisplay.c: Update copyright date.
5314 * redisplay.c (pos_data): Add need_baseline_computation field.
5315 * redisplay.c (add_glyph_rune): Update ascent, descent, and
5316 need_baseline_computation; zero yoffset. Set max_pixmap_height
5317 for all pixmaps, not just automatically positioned ones.
5318 * redisplay.c (calculate_yoffset): New, compute yoffset values.
5319 * redisplay.c (calculate_baseline): New, compute textual baseline.
5320 * redisplay.c (add_glyph_rune): Call them.
5321 * redisplay.c (create_text_block): Likewise.
5322 * redisplay.c (create_overlay_glyph_block): Likewise.
5323 * redisplay.c (add_margin_runes): Likewise.
5324 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
5326 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
5327 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
5328 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
5329 * redisplay-msw.c (mswindows_output_string): Likewise.
5330 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
5331 * redisplay-gtk.c (gtk_output_display_block): Likewise.
5332 * redisplay-x.c (x_output_display_block): Likewise.
5334 2002-03-28 Ben Wing <ben@xemacs.org>
5336 * redisplay.c: Fixed bug in redisplay
5337 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
5338 and down of the lines, since they're bigger than the line
5339 size. (It was seen most obviously when there's a horizontal scroll
5340 bar, e.g. do C-h a glyph or something like that.) The problem was
5341 that the glyph-contrib-p setting on glyphs was ignored even if it
5342 was set properly, which it wasn't until now.
5344 2002-04-24 Andy Piper <andy@xemacs.org>
5346 * lisp.h (Dynarr_end): Fix definition.
5348 2002-02-06 Adrian Aichner <adrian@xemacs.org>
5350 * redisplay.c (mark_redisplay): Remove call to
5351 update_frame_window_mirror.
5353 2001-11-15 Andy Piper <andy@xemacs.org>
5355 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
5358 2002-02-13 Andy Piper <andy@xemacs.org>
5360 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
5361 we did in fact enqueue the XM_MAPFRAME event.
5363 2002-01-15 Adrian Aichner <adrian@xemacs.org>
5365 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
5366 to fix problem switching between virtual desktops under virtuawin
5367 virtual window manager.
5369 2001-07-30 Adrian Aichner <adrian@xemacs.org>
5371 * event-msw.c: Typo fix.
5372 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
5373 magic XM_MAPFRAME event has been sent.
5375 2001-11-23 Andy Piper <andy@xemacs.org>
5377 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
5379 2001-11-21 Andy Piper <andy@xemacs.org>
5381 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
5382 mouse events outside the frame.
5384 2002-03-20 Andy Piper <andy@xemacs.org>
5386 * menubar-msw.c (mswindows_popup_menu): warning removal.
5387 * dialog-msw.c (dialog_popped_down): ditto.
5389 2001-12-11 Andy Piper <andy@xemacs.org>
5391 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
5392 * dialog-msw.c (mswindows_make_dialog_box_internal): set
5394 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
5395 * menubar-msw.c (mswindows_handle_wm_command): ditto.
5396 * menubar-msw.c (mswindows_popup_menu): ditto.
5398 2001-10-29 Andy Piper <andy@xemacs.org>
5400 * dialog-msw.c (handle_directory_dialog_box): quit if the user
5403 2002-01-03 Andy Piper <andy@xemacs.org>
5405 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
5409 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
5411 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
5412 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
5413 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5414 Detect and handle case where machine is set up for metric units
5416 2002-04-02 Andy Piper <andy@xemacs.org>
5418 * dired-msw.c (mswindows_get_files):
5419 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
5420 completely handled by XEmacs. Suggested by Thomas Vogler
5421 <mail@thomas-vogler.de>.
5423 2001-11-14 Andy Piper <andy@xemacs.org>
5425 * nt.c (REG_ROOT): change registry key to XEmacs.
5427 2002-04-27 Andy Piper <andy@xemacs.org>
5429 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
5431 2002-04-26 Andy Piper <andy@xemacs.org>
5433 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
5436 2002-03-14 Mike Alexander <mta@arbortext.com>
5438 * event-msw.c (mswindows_unwait_process): New, remove process from
5440 * process-nt.c (nt_finalize_process_data): Call
5441 mswindows_unwait_process
5442 * console-msw.h: Declare mswindows_unwait_process
5444 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
5446 * editfns.c (Fdecode_time):
5447 (Fformat_time_string):
5448 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
5449 (make_time): Warning elimination (change arg name).
5451 2001-11-24 Andy Piper <andy@xemacs.org>
5453 * window.c (Fsplit_window): Doc return type.
5455 2002-04-01 Andy Piper <andy@xemacs.org>
5457 * emacs.c (Fkill_emacs): Only output message box in interactive
5460 2002-04-26 Andy Piper <andy@xemacs.org>
5462 * config.h.in: pull in 21.5.x change to stop alloca warnings under
5465 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
5467 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
5470 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
5472 * XEmacs 21.4.8 "Honest Recruiter" is released.
5474 2002-05-07 Nix <nix@esperi.demon.co.uk>
5476 Supersedes 2002-04-17 patch.
5478 * process.h (PROCESS_LIVE_P): Use the process status as
5479 evidence of health, not the state of the input stream.
5480 (PROCESS_READABLE_P): Say if the process is readable
5481 from. (It may be dead nonetheless.)
5482 (CHECK_READABLE_PROCESS): Test for that condition.
5484 * process.c (create_process): Use PROCESS_READABLE_P.
5485 (read_process_output, set_process_filter): Likewise.
5487 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
5488 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
5490 This code is #if 0'd, this is not the time to add new functions:
5492 * process.c (Fprocess_readable_p): Report readability status.
5493 * process.c (Qprocess_readable_p): New, associated symbol...
5494 * process.c (syms_of_process): ... initialize it.
5496 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
5498 * XEmacs 21.4.7 "Economic Science" is released.
5500 2002-04-17 Nix <nix@esperi.demon.co.uk>
5502 * process.h (PROCESS_LIVE_P): Use the process status as
5503 evidence of health, not the state of the input stream.
5505 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
5507 * sysdep.c (sys_siglist): change "signum" to "signal"
5509 2001-04-21 Martin Buchholz <martin@xemacs.org>
5511 * s/darwin.h: New file.
5512 Thanks to Greg Parker <gparker@cs.stanford.edu>.
5514 2002-04-23 Andreas Jaeger <aj@suse.de>
5516 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
5517 which use lib64 for 64-bit libs.
5518 (START_FILES): Likewise.
5520 2002-02-11 Mike Sperber <mike@xemacs.org>
5523 (x_IO_error_handler):
5524 (x_init_device): Temporarily keep device in static variable
5525 `device_being_initialized' so we can recover gracefully from
5526 internal XOpenDevice failure. (XOpenDevice is documented to
5527 return NULL on failure, but sometimes calls the IO error handler
5530 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
5532 * dired.c (Ffile_name_all_completions): Change documentation --
5533 remove reference to completion-ignored-extensions.
5534 * dired.c (vars_of_dired): Change documentation for
5535 completion-ignored-extensions -- remove reference to
5536 file-name-all-completions.
5538 2002-03-06 Jerry James <james@xemacs.org>
5540 * emodules.c (emodules_load): Fix multiple loading of same module.
5542 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
5543 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
5544 RTLD_LAZY to avoid incorrect symbol binding when using nested
5545 shared libraries on Solaris.
5547 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
5549 * fileio.c (Ffind_file_name_handler): Improve docstring.
5551 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
5553 * fns.c (Fmapconcat): Improve docstring.
5555 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
5557 * device-gtk.c: Add prototype for
5558 emacs_gtk_selection_clear_event_handle.
5559 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
5560 selection. Setup signal handler for "selection_clear_event"
5561 (emacs_gtk_selection_clear_event_handle).
5563 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
5564 other applications owning the clipboard (based on
5565 x_handle_selection_clear).
5567 2001-12-23 William M. Perry <wmperry@gnu.org>
5569 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
5571 2002-01-04 Martin Buchholz <martin@xemacs.org>
5573 * keymap.c (define_key_alternate_name): Parenthesize EQ.
5575 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
5577 * XEmacs 21.4.6 "Common Lisp" is released.
5579 2001-12-16 Torsten Duwe <duwe@caldera.de>
5581 * search.c (Freplace_match): Add missing sub-expression functionality.
5583 * buffer.c (decode_buffer): Add a check for pointer type to
5584 decode_buffer, before gcc's CSE optimization reorders a
5585 dereference in front of the allow_string test.
5587 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
5589 * window.c (window_loop): Fix bug that sometimes prevented
5590 window_loop() from iterating across multiple devices. Also, at
5591 Ben's request, changed infloop-detecting code to abort() instead
5592 of silently terminating window_loop().
5594 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
5596 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
5597 * editfns.c (make_time): New function.
5598 (Fencode_time): Use it instead of wasteful_word_to_lisp.
5599 * lisp.h (make_time): Prototype and comment it.
5600 * dired.c (wasteful_word_to_lisp): Deprecate.
5601 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
5603 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
5605 * fileio.c (auto_save_1): Use current coding system, not
5608 2001-11-13 Ben Wing <ben@xemacs.org>
5611 * window.c (window_truncation_on):
5612 * window.c (syms_of_window):
5613 truncate-partial-width-windows should respect the buffer being
5614 displayed, like other redisplay vars.
5616 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
5618 * event-stream.c (Fread_key_sequence): save current buffer.
5620 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
5622 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
5624 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
5626 * alloc.c (lcrecord_stats): Add space for types defined in modules.
5628 2001-10-26 Mike Alexander <mta@arbortext.com>
5630 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
5632 2001-10-25 Andy Piper <andy@xemacs.org>
5635 * dialog-msw.c (handle_directory_proc): new function.
5636 (handle_directory_dialog_box): new fucntion.
5637 (handle_file_dialog_box): use new directory dialog support.
5638 (mswindows_make_dialog_box_internal): ditto.
5639 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
5641 (mswindows_find_frame): make global.
5642 * fileio.c (Fexpand_file_name): build fix.
5643 * general-slots.h: add Qdirectory.
5644 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
5646 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
5647 cygwin not leaving win32 paths unchanged.
5648 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
5649 cygwin runtime to do path conversion.
5650 (Fmswindows_shell_execute): fix cygwin handling of URLs.
5651 (syms_of_win32): add new function.
5652 * window.c (window_loop): build fix.
5654 2001-10-15 Andy Piper <andy@xemacs.org>
5656 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
5658 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
5660 * XEmacs 21.4.5 "Civil Service" is released.
5662 2001-04-08 Danny Colascione <qtmstr@optonline.net>
5664 * glyphs-x.c: Force buffer-tab highlight update when moving the
5665 buffer, avoiding an ugly black border, used for keyboard focus
5666 indication, on a widget that can never have keyboard focus, the
5669 2001-08-30 Daiki Ueno <ueno@unixuser.org>
5671 * process-unix.c (unix_open_multicast_group): Remove too much
5672 conversion between host and network byte order.
5674 2001-09-10 Nix <nix@esperi.demon.co.uk>
5676 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
5677 before replacing them.
5679 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
5682 * src/window.c (undedicate_windows): Use it.
5683 * src/window.h: Add prototype.
5685 2001-09-17 Ben Wing <ben@xemacs.org>
5687 * fileio.c (normalize_filename):
5688 * fileio.c (Fexpand_file_name):
5689 Fix various C++ compile errors in Andy's recent code.
5691 * callint.c (Fcall_interactively):
5692 * editfns.c (Ftemp_directory):
5693 * editfns.c (Fuser_full_name):
5694 * emacs.c (argmatch):
5695 * lread.c (locate_file_map_suffixes):
5696 * redisplay-x.c (x_ring_bell):
5697 Fix sign-compare warnings.
5699 2001-09-08 Andy Piper <andy@xemacs.org>
5701 * fileio.c (normalize_filename): copied from nt.c
5702 * (Ffile_name_directory): enable win32 paths under cygwin.
5703 * (Ffile_name_nondirectory): ditto.
5704 * (directory_file_name): ditto.
5705 * (Fexpand_file_name): ditto.
5706 * (Ffile_truename): ditto.
5707 * (Fsubstitute_in_file_name): ditto.
5708 * (Ffile_name_absolute_p): ditto.
5709 * (Ffile_readable_p): ditto.
5711 2001-09-08 Andy Piper <andy@xemacs.org>
5713 * device-msw.c (mswindows_finish_init_device): remove dde
5715 * device-msw.c (mswindows_init_dde): factor out from
5716 mswindows_finish_init_device()
5717 * device-msw.c (init_mswindows_very_early): new function
5718 initialize but don't enable dde.
5719 * emacs.c (main_1): call init_mswindows_very_early.
5721 * event-msw.c (mswindows_dde_callback): only execute when we are
5723 * symsinit.h: declare init_mswindows_very_early.
5725 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5727 [sjt: This has been in 21.5 for months with no complaints.]
5729 * console.h (struct console_methods): Added flags member.
5730 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
5731 (CONMETH_IMPL_FLAG):
5732 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
5733 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
5735 * device.c (window_system_pixelated_geometry): Use the above macros.
5737 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
5738 implememntation flag.
5739 * device.h (DEVICE_DISPLAY_P): Use it.
5741 * frame.c (delete_frame_internal): Use the above macro.
5743 * redisplay.c (redisplay_device): Use it.
5744 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
5745 (redisplay_frame): Ditto.
5747 * device-msw.c (mswindows_device_implementation_flags): Removed.
5748 (msprinter_device_implementation_flags): Removed.
5749 (console_type_create_device_mswindows): Removed references to
5750 implementation_flags methods, set implementation flags here.
5751 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
5753 * device-gtk.c (gtk_device_implementation_flags): Removed method.
5754 (console_type_create_device_gtk): Removed method declaration.
5755 Added commented out statement which semantically matches the
5756 commented out statement in the above removed method.
5758 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
5760 The attached patch fixes a few warnings.
5762 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
5763 * src/frame-gtk.c: guard against GNOME calls in GTK only
5764 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
5765 * src/select-gtk.c: prototype lisp_to_time
5767 2001-06-08 Ben Wing <ben@xemacs.org>
5769 ------ gc-in-window-procedure fixes ------
5772 * alloc.c (struct post_gc_action):
5773 * alloc.c (register_post_gc_action):
5774 * alloc.c (run_post_gc_actions):
5775 * alloc.c (garbage_collect_1):
5776 Create "post-gc actions", to avoid those dreaded "GC during window
5777 procedure" problems.
5780 Abort, clean and simple, when GC in window procedure. We want
5781 to flush these puppies out.
5784 * glyphs-msw.c (finalize_destroy_window):
5785 * glyphs-msw.c (mswindows_finalize_image_instance):
5786 Use a post-gc action when destroying subwindows.
5789 Declare register_post_gc_action().
5792 * scrollbar-msw.c (unshow_that_mofo):
5793 Use a post-gc action when unshowing scrollbar windows, if in gc.
5795 * redisplay.c (mark_redisplay):
5796 Add comment about the utter evilness of what's going down here.
5798 ------ cygwin setitimer fixes ------
5800 * Makefile.in.in (sheap_objs):
5801 * Makefile.in.in (profile_objs):
5802 * Makefile.in.in (objs):
5803 Compile profile.c only when HAVE_SETITIMER.
5805 * nt.c (mswindows_sigset):
5806 * nt.c (mswindows_sighold):
5807 * nt.c (mswindows_sigrelse):
5808 * nt.c (mswindows_sigpause):
5809 * nt.c (mswindows_raise):
5810 * nt.c (close_file_data):
5814 Move setitimer() emulation to win32.c, because Cygwin needs it too.
5817 * profile.c (Fstart_profiling):
5818 * profile.c (Fstop_profiling):
5819 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
5820 instead of just plain setitimer().
5823 * signal.c (set_one_shot_timer):
5825 Define qxe_setitimer() as an encapsulation around setitimer() --
5826 call setitimer() directly unless Cygwin or MS Win, in which case
5827 we use our simulated version in win32.c.
5830 * systime.h (struct itimerval):
5831 * systime.h (ITIMER_REAL):
5832 Prototype mswindows_setitimer() and qxe_setitimer(). Long
5833 comment about "qxe" and the policy regarding encapsulation.
5836 * win32.c (setitimer_helper_proc):
5837 * win32.c (setitimer_helper_period):
5838 * win32.c (setitimer_helper):
5839 * win32.c (mswindows_setitimer):
5840 Move setitimer() emulation here, so Cygwin can use it.
5841 Rename a couple of functions and variables to be longer and more
5842 descriptive. In setitimer_helper_proc(), send the signal
5843 using either mswindows_raise() or (on Cygwin) kill(). If for
5844 some reason we are still getting lockups, we'll change the kill()
5845 to directly invoke the signal handlers.
5847 ------ windows shell fixes ------
5851 Comments about how these two files must die.
5853 * callproc.c (init_callproc):
5854 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
5855 not just COMSPEC. (more correct and closer to FSF.) Don't
5856 force a value for SHELL into the environment. (Comments added
5857 to explain why not.)
5859 * nt.c (init_user_info):
5860 Don't shove a fabricated SHELL into the environment. See above.
5862 2001-06-01 Ben Wing <ben@xemacs.org>
5864 * Makefile.in.in (ldflags):
5865 eliminate that pesky "defaulting to 00401000" warning.
5869 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
5871 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
5872 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
5874 2001-04-24 Jerry James <james@xemacs.org>
5876 * faces.h: pass parameters to Fadd_spec_to_specifier in the
5879 2001-06-01 Ben Wing <ben@xemacs.org>
5881 * event-msw.c (debug_mswin_messages):
5882 conditionalize the messages that were causing compile errors.
5883 (if only macros could generate #ifdef statements ...)
5885 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
5887 * XEmacs 21.4.4 "Artificial Intelligence" is released.
5889 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
5891 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
5893 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
5895 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
5896 * process-unix.c (unix_canonicalize_host_name):
5897 sysdep.c (init_system_name):
5898 Use it to conditionally support IPv6 canonicalization.
5900 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
5903 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
5905 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
5907 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
5908 attempt is made to scroll when no scroll bar is available.
5910 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
5912 * input-method-motif.c (XIM_delete_frame): New callback.
5913 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
5914 got deleted from 21.4.3.)
5916 2001-06-01 Ben Wing <ben@xemacs.org>
5918 * nt.c (mswindows_utime):
5919 * nt.c (close_file_data):
5920 fix off-by-one-indirection error.
5922 2001-05-29 Adrian Aichner <adrian@xemacs.org>
5924 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
5925 because set_file_times() now takes Lisp_Object path, instead of
5927 * nt.c: Include buffer.h.
5928 * nt.c (convert_from_time_t): New.
5929 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
5930 not set mtime correctly.
5931 * nt.h: Declare mswindows_utime().
5932 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
5933 path, instead of char*.
5934 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
5936 2001-05-30 Ben Wing <ben@xemacs.org>
5940 (Stephen, just take all event-msw.c patches. This includes
5941 the "iconify" fix below.)
5944 * event-msw.c (mswindows_dequeue_dispatch_event):
5945 * event-msw.c (assert):
5946 * event-msw.c (emacs_mswindows_quit_p):
5947 * event-msw.c (debug_mswin_messages):
5948 * event-msw.c (debug_output_mswin_message):
5949 * event-msw.c (vars_of_event_mswindows):
5950 Fix yet more problems with C-g handling.
5951 Implement debug-mswindows-events.
5953 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5955 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
5957 2001-05-23 Ben Wing <ben@xemacs.org>
5959 * event-msw.c (winsock_writer):
5960 * event-msw.c (winsock_closer):
5961 prior kludgy code was clobbering the buffer, thinking it was
5962 "unused" space to store an unneeded return value; instead, use
5963 the variable we've already got staring us in the face.
5965 2001-05-17 Andy Piper <andy@xemacs.org>
5967 * sysfile.h: don't assume that file attributes are boolean
5969 2001-05-23 Ben Wing <ben@xemacs.org>
5971 * device-msw.c (msprinter_init_device):
5972 signal an error rather than crash with an unavailable network
5973 printer (from Mike Alexander).
5976 * event-msw.c (struct winsock_stream):
5977 * event-msw.c (winsock_writer):
5978 * event-msw.c (winsock_closer):
5979 * event-msw.c (make_winsock_stream_1):
5980 cleanup headers. fix (hopefully) an error with data corruption
5981 when sending to a network connection.
5983 * fileio.c (Fexpand_file_name): Fix evil code that attempts
5984 to handle the ~user prefix by (a) always assuming we're referencing
5985 ourselves and not even verifying the user -- hence any file with
5986 a tilde as its first char is invalid! (b) if there wasn't a slash
5987 following the filename, the pointer was set *past* the end of
5988 file and we started reading from uninitialized memory. Now we
5989 simply treat these as files, always.
5991 * buffer.c (common_init_complex_vars_of_buffer): comment change.
5993 2001-05-19 Ben Wing <ben@xemacs.org>
5995 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
5998 * process-nt.c (vars_of_process_nt):
5999 remove unused mswindows-quote-process-args. rec for 21.4.
6001 2001-05-12 Ben Wing <ben@xemacs.org>
6003 * event-msw.c (mswindows_dde_callback):
6004 * event-msw.c (mswindows_wnd_proc):
6005 eliminate cygwin warnings.
6007 2001-05-06 Ben Wing <ben@xemacs.org>
6011 * device-msw.c (print_dialog_worker):
6012 * device-msw.c (mswindows_handle_print_dialog_box):
6013 * device-msw.c (syms_of_device_mswindows):
6014 * dialog-msw.c (mswindows_make_dialog_box_internal):
6016 implement printing the selection when it's selected.
6018 2001-05-20 Drazen Kacar <dave@arsdigita.com>
6020 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
6022 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6024 * lisp.h (EMACS_INT_MAX): This should be one bit less since
6025 EMACS_INT is signed.
6027 2001-04-15 Michael Lausch <mla@1012surf.net>
6029 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
6030 gtk_widget_request_size() to give scrollbar >0 width for
6033 2001-05-30 William M. Perry <wmperry@gnu.org>
6035 * event-gtk.c: Check for buttons as modifier keys.
6037 2001-05-25 Craig Lanning <CraigL@Knology.net>
6040 Properly find MinGW's <process.h> inside Cygwin's restructured
6041 include directories. Don't try to include <cygwin/version.h>
6042 since we are dropping support for MinGW in versions of Cygwin
6045 Drop support for MinGW in versions of Cygwin before b21.
6047 Properly find MinGW's <process.h> inside Cygwin's restructured
6048 include directories.
6050 Drop support for MinGW in versions of Cygwin before b21.
6052 Even though a.out.h is no longer detected by configure, allow
6053 MinGW to use it until we figure out how to do the job with Win32.
6055 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
6057 * syntax.c (find_start_of_comment):
6058 Fix `unbalanced parentheses' bug when dealing with mixed comment
6059 styles in c++/java/etc. mode
6061 2001-05-29 Mike Alexander <mta@arbortext.com>
6063 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
6064 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
6066 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
6068 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
6070 2001-03-31 Mike Sperber <mike@xemacs.org>
6072 * search.c (Freplace_match): Support FSF-style specification of
6073 match subexpression when applied to a buffer.
6075 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6077 * event-stream.c (is_scrollbar_event): add missing semicolon
6079 2001-05-22 Isaac Hollander <ysh@mindspring.com>
6081 * Makefile.in.in: Use TAR macro instead of hardcoding
6082 tar. Allows use of GNU tar instead of system tar
6084 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6086 * event-stream.c (is_scrollbar_event): add missing semicolon
6088 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6090 * XEmacs 21.4.3 "Academic Rigor" is released.
6092 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6094 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
6096 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
6098 * buffer.c (Vcase_fold_search): Remove obsolete
6099 comment about non ASCII case-fold-search. This
6100 bug has been fixed by case-table changes.
6102 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
6104 * event-msw.c: Restore include of events-mod.h.
6106 2001-04-22 zhaoway <zw@debian.org>
6108 * event-stream.c (is_scrollbar_event): Noop returning 0 if
6111 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
6113 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
6115 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
6117 * mule-charset.c (Fmake_charset): Add missing else.
6119 2001-04-23 Ben Wing <ben@xemacs.org>
6121 * event-msw.c (FAKE_MOD_QUIT):
6122 * event-msw.c (mswindows_dequeue_dispatch_event):
6123 * event-msw.c (mswindows_wnd_proc):
6124 * event-msw.c (emacs_mswindows_quit_p):
6125 Get critical quit working.
6127 2001-05-05 Ben Wing <ben@xemacs.org>
6131 * device-msw.c (mswindows_get_default_margin):
6132 * frame-msw.c (mswindows_size_frame_internal):
6133 * frame-msw.c (msprinter_init_frame_1):
6134 * frame-msw.c (vars_of_frame_mswindows):
6135 Change top/bottom margin defaults to 0.5 inches.
6137 2001-05-01 Martin Buchholz <martin@xemacs.org>
6139 Fix link error with gcc 3.0 on Linux.
6140 * terminfo.c (UP): Remove.
6141 * terminfo.c (BC): Remove.
6142 * terminfo.c (PC): Remove.
6143 They weren't used, and in any case, these symbols should be
6144 defined in the *library*.
6146 2001-05-03 Martin Buchholz <martin@xemacs.org>
6148 * s/aix4.h: Fix crash with xlc -O3.
6149 Improve comment explaining how -O3 works.
6151 2001-04-15 Ben Wing <ben@xemacs.org>
6154 * event-stream.c (Fnext_event):
6155 * event-stream.c (is_scrollbar_event):
6156 * event-stream.c (execute_command_event):
6157 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
6158 crash' problem. His fix introduces other problems. We filter
6159 out scrollbar events specifically, making them somewhat invisible
6160 to command-building, and not appearing in `this-command-keys'.
6161 More work is still needed (see comments in event-stream.c), but
6162 this fixes all the major problems.
6164 2001-04-20 Ben Wing <ben@xemacs.org>
6166 * .cvsignore: Added stuff for Windows.
6168 2001-04-28 Ben Wing <ben@xemacs.org>
6170 * buffer.c (Ferase_buffer):
6171 * editfns.c (buffer_insert1):
6172 * editfns.c (Finsert_before_markers):
6173 * editfns.c (Finsert_string):
6174 * editfns.c (Finsert_char):
6175 * editfns.c (Fdelete_region):
6176 * editfns.c (Fwiden):
6177 * editfns.c (Fnarrow_to_region):
6178 remove bogus lines setting zmacs_region_stays to 0.
6180 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
6182 * process-unix.c (unix_open_network_stream): If connect() fails
6183 invalidate file descriptor after closing it.
6185 2001-03-08 Mike Alexander <mta@arbortext.com>
6187 * event-msw.c (mswindows_need_event_in_modal_loop):
6188 Don't dispatch a message if we didn't get one.
6189 (mswindows_need_event):
6190 Terminate the correct process when one exits instead of the first
6191 one on Vprocess_list and look for process termination when in
6192 mswindows_protect_modal_loop.
6194 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
6196 * XEmacs 21.4.1 "Copyleft" is released.
6198 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6200 * input-method-motif.c (XIM_delete_frame): New callback.
6201 (XIM_init_frame): Register it.
6203 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6205 * XEmacs 21.4.0 "Solid Vapor" is released.
6207 2001-04-15 Ben Wing <ben@xemacs.org>
6209 * cmdloop.c (call_command_loop):
6210 Fix braino in bit-rotting code.
6212 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
6214 * extents.c (Fset_extent_endpoints): Force creation of extent info
6215 in buffer_or_string.
6217 * extents.c (process_extents_for_insertion_mapper): Correctly
6218 check for open-open zero-length extents.
6220 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6222 * lisp.h: New typedefs Memory_count, Element_count.
6225 Sign-compare warning elimination: several unsigned -> signed.
6226 Based on work by Ben Wing <ben@xemacs.org>.
6228 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
6230 * XEmacs 21.2.47 "Zephir" is released.
6232 2001-04-02 Jan Vroonhof <jan@xemacs.org>
6234 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
6236 2001-04-03 Mike Sperber <mike@xemacs.org>
6238 * search.c: Revert previous patch due because of release.
6240 2001-03-30 Ben Wing <ben@xemacs.org>
6243 Add missing killpg prototype.
6246 Add a comment about fixing problems when a new entry is added
6249 * frame-msw.c (mswindows_init_frame_1):
6250 Fix compile warnings.
6252 * menubar.c (vars_of_menubar):
6253 Provide `menu-accelerator-support' to indicate that we properly
6254 support %_ in menu specifications, so that package code can
6255 conditionalize on this (and remove %_ from menu specifications
6260 * scrollbar-msw.c (can_scroll):
6262 Fix handling of mouse wheel under Windows to follow standards --
6263 now scrolls window under pointer, not selected window.
6265 2001-03-31 Mike Sperber <mike@xemacs.org>
6267 * search.c (Freplace_match): Support FSF-style specification of
6268 match subexpression when applied to a buffer.
6270 2001-03-15 Martin Buchholz <martin@xemacs.org>
6272 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
6273 function to modify KEYMAP, so map over a copy of the hash table.
6275 2001-03-21 Martin Buchholz <martin@xemacs.org>
6277 * XEmacs 21.2.46 "Urania" is released.
6279 2001-03-20 Dan Holmsand <dan@eyebee.com>
6281 * realpath.c (xrealpath): Make file-truename work with symlinks to
6282 /cygdrive paths on cygwin. Always lowercase drive-letters on
6284 (cygwin_readlink): Don't try to find canonical filename unless
6287 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
6289 * ChangeLog: Log GTK merge.
6295 Revert gratuitous whitespace changes from GTK merge.
6297 * emacs.c: Document end of complex #ifdef @ l. 1495.
6300 2001-03-12 Andy Piper <andy@xemacs.org>
6302 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
6303 have to do likewise.
6305 2001-03-12 Andy Piper <andy@xemacs.org>
6307 * sysdep.c: we only support mingw now.
6309 2001-03-09 Andy Piper <andy@xemacs.org>
6311 * unexcw.c (copy_executable_and_dump_data_section): making approx
6312 overrun a warning only.
6314 2001-03-10 William M. Perry <wmperry@aventail.com>
6316 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
6317 satisfy Stephen's identical-after-cpp plea.
6319 2001-03-02 Ben Wing <ben@xemacs.org>
6322 * cmds.c (Fforward_char):
6326 Augment documentation of the most common motion commands to make
6327 note of the shifted-motion support.
6329 2001-03-02 Ben Wing <ben@xemacs.org>
6331 * nt.c (mswindows_fstat):
6332 * nt.c (mswindows_stat):
6333 * search.c (boyer_moore):
6334 Fix compile warnings under Windows.
6336 * sysdep.c (sys_readdir):
6337 Fix buggy filename-conversion code under Mule.
6339 2001-03-09 William M. Perry <wmperry@aventail.com>
6361 * redisplay-output.c:
6367 The Great GTK Merge.
6374 * emacs-widget-accessors.c:
6388 * native-gtk-toolbar.c:
6399 The Great GTK Merge: new files.
6401 2001-02-26 Ben Wing <ben@xemacs.org>
6403 Reapplied Lstream change.
6405 2001-02-26 Ben Wing <ben@xemacs.org>
6407 Undid the last change, since it is more controversial than I
6408 thought. It should be back in at some point soon.
6410 2001-02-25 Ben Wing <ben@xemacs.org>
6413 * callproc.c (Fold_call_process_internal):
6414 * event-msw.c (ntpipe_slurp_reader):
6415 * event-msw.c (ntpipe_shove_writer):
6416 * event-msw.c (winsock_reader):
6417 * event-msw.c (winsock_writer):
6419 * file-coding.c (detect_eol_type):
6420 * file-coding.c (detect_coding_type):
6421 * file-coding.c (determine_real_coding_system):
6422 * file-coding.c (Fdetect_coding_region):
6423 * file-coding.c (decoding_reader):
6424 * file-coding.c (decoding_writer):
6425 * file-coding.c (mule_decode):
6426 * file-coding.c (Fdecode_coding_region):
6427 * file-coding.c (encoding_reader):
6428 * file-coding.c (encoding_writer):
6429 * file-coding.c (mule_encode):
6430 * file-coding.c (Fencode_coding_region):
6431 * file-coding.c (detect_coding_sjis):
6432 * file-coding.c (decode_coding_sjis):
6433 * file-coding.c (encode_coding_sjis):
6434 * file-coding.c (detect_coding_big5):
6435 * file-coding.c (decode_coding_big5):
6436 * file-coding.c (encode_coding_big5):
6437 * file-coding.c (detect_coding_ucs4):
6438 * file-coding.c (decode_coding_ucs4):
6439 * file-coding.c (encode_coding_ucs4):
6440 * file-coding.c (detect_coding_utf8):
6441 * file-coding.c (decode_coding_utf8):
6442 * file-coding.c (encode_coding_utf8):
6443 * file-coding.c (detect_coding_iso2022):
6444 * file-coding.c (decode_coding_iso2022):
6445 * file-coding.c (encode_coding_iso2022):
6446 * file-coding.c (decode_coding_no_conversion):
6447 * file-coding.c (encode_coding_no_conversion):
6448 * glyphs-x.c (write_lisp_string_to_temp_file):
6449 * gpmevent.c (tty_get_foreign_selection):
6452 * lstream.c (Lstream_flush_out):
6453 * lstream.c (Lstream_adding):
6454 * lstream.c (Lstream_write_1):
6455 * lstream.c (Lstream_write):
6456 * lstream.c (Lstream_raw_read):
6457 * lstream.c (Lstream_read_more):
6458 * lstream.c (Lstream_read):
6459 * lstream.c (Lstream_unread):
6460 * lstream.c (Lstream_fputc):
6461 * lstream.c (stdio_reader):
6462 * lstream.c (stdio_writer):
6463 * lstream.c (filedesc_reader):
6464 * lstream.c (filedesc_writer):
6465 * lstream.c (lisp_string_reader):
6466 * lstream.c (struct fixed_buffer_stream):
6467 * lstream.c (make_fixed_buffer_input_stream):
6468 * lstream.c (make_fixed_buffer_output_stream):
6469 * lstream.c (fixed_buffer_reader):
6470 * lstream.c (fixed_buffer_writer):
6471 * lstream.c (struct resizing_buffer_stream):
6472 * lstream.c (resizing_buffer_writer):
6473 * lstream.c (dynarr_writer):
6474 * lstream.c (lisp_buffer_reader):
6475 * lstream.c (lisp_buffer_writer):
6477 * lstream.h (lstream_implementation):
6478 * lstream.h (struct lstream):
6480 * process-nt.c (nt_send_process):
6481 * process-unix.c (unix_send_process):
6483 Correct Lstream lossage due to mixing of signed and unsigned
6484 quantities. All Lstream uses of size_t and ssize_t are now a
6485 single signed data type Lstream_data_count. This fixes problems
6486 under Windows with sending large quantities of data to a process,
6487 and may well fix other subtle bugs.
6489 2001-02-23 Martin Buchholz <martin@xemacs.org>
6491 * XEmacs 21.2.45 "Thelxepeia" is released.
6493 2001-02-21 Martin Buchholz <martin@xemacs.org>
6495 * lisp-union.h (XSETINT):
6498 Reverse previous change of 2001-02-06.
6500 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
6502 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
6504 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6505 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
6506 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
6507 * regex.c (POS_AS_IN_BUFFER): removed
6508 * regex.c (re_search_2):
6509 * regex.c (re_match_2):
6510 Don't use an offset of 1 when calculating buffer positions, since
6511 `BI_BUF_BEGV' does it already.
6513 2001-02-18 Wim Dumon <wim@easics.be>
6515 * insdel.c (prepare_to_modify_buffer): Also check for
6516 supersession when clash-detection is enabled.
6518 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
6520 * regex.c (re_match_2_internal):
6521 Convert temp characters from 'const unsigned char' to 're_char'.
6522 Fix crashing bug with extended characters under mule.
6523 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
6524 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
6525 font-lock, pdump, and new syntax-table code.
6526 * syntax.c (find_start_of_comment):
6527 (find_end_of_comment):
6529 Fix crashing bugs involving moving beyond end of buffer.
6530 * syntax.c (find_start_of_comment):
6531 Fixed logic to allow proper detection of cases where the same
6532 character is used to end both a two-char comment start and a
6533 two-char comment end sequence. Fixes `(forward-comment -1)'.
6534 * syntax.c (find_start_of_comment):
6535 Return position just past last comment-end character for all cases
6536 (previously was only done for two-char comment-end sequences).
6537 * syntax.c (forward-comment):
6538 Take value returned from `find_end_of_comment', rather than
6540 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6541 Properly deal with BUFFERP (syntax_cache.object)
6543 2001-02-17 Martin Buchholz <martin@xemacs.org>
6545 * alloc.c (Fgarbage_collect):
6546 * alloc.c (make_bit_vector_from_byte_vector):
6547 -Wsign-compare-correctness.
6549 2001-02-16 Martin Buchholz <martin@xemacs.org>
6551 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
6552 (XSETCHAR): Likewise.
6553 (XSETOBJ): Likewise.
6555 2001-02-15 Martin Buchholz <martin@xemacs.org>
6557 * mule-canna.c (canna-func-delete_previous):
6558 Rename to canna-func-delete-previous.
6560 2001-02-14 Martin Buchholz <martin@xemacs.org>
6562 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
6564 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
6566 * font-lock.c (find_context): Fix C++ compile errors introduced by
6569 2001-02-13 Martin Buchholz <martin@xemacs.org>
6571 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
6572 pragma, but earlier ones barf on the same pragma.
6574 2001-02-06 Mike Sperber <mike@xemacs.org>
6576 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
6577 `configure-mule-lisp-directory'.
6579 2001-02-12 Martin Buchholz <martin@xemacs.org>
6581 Make sure dump-id.c is compiled in the same way as other .c's.
6582 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
6583 * dump-id.h: Remove.
6584 * emacs.c: Move dump-id.h into dumper.h.
6585 * dumper.h: Move dump-id.h into dumper.h.
6587 Use standard .c.o rule for building dump-id.o.
6588 Remove preprocessor flags from link command.
6589 Add dump-id.o to ${otherobjs} if PDUMP.
6591 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
6593 Port FSF 20.7 syntax table improvements.
6597 Fixups for new syntax table stuff.
6598 * dired.c: Include syntax.c.
6599 (Fdirectory_files): Initialize regex_match_object and
6601 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
6602 and Fget_char_property.
6604 Use ported FSF 20.7 syntax table improvements.
6609 2001-02-09 Martin Buchholz <martin@xemacs.org>
6611 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
6612 Unixware's enum boolean from sys/types.h.
6614 2001-02-10 Martin Buchholz <martin@xemacs.org>
6616 Fix support for building with latest Purify.
6617 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
6618 (PURIFY_FLAGS): Likewise.
6620 2001-02-09 Martin Buchholz <martin@xemacs.org>
6622 * fileio.c (lisp_string_set_file_times): New.
6623 * fileio.c (Fcopy_file): Use it.
6625 (copy-file filename non-ascii-filename t t)
6626 ==> No such file or directory, non-ascii-filename
6628 2001-02-10 Martin Buchholz <martin@xemacs.org>
6630 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
6631 USHRT_MAX seems clearer than ~0 anyways.
6633 2001-02-09 Martin Buchholz <martin@xemacs.org>
6635 dumper improvements. Inspired by Olivier.
6636 * dumper.c (pdump_max_align): New.
6637 * dumper.c (pdump_add_entry): Use pdump_max_align.
6638 * dumper.c (pdump_get_entry_list): Likewise.
6639 * dumper.c (pdump_scan_by_alignment): Likewise.
6640 Don't iterate through unnecessary alignments.
6641 * dumper.c (pdump_file_get): No need to align result of malloc().
6642 * dumper.c (pdump_mallocadr): Remove.
6643 The result of malloc() is guaranteed to be maximally aligned.
6644 * dumper.c: s/elmt/elt/g;
6645 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
6646 * dumper.c (pdump_alert_undump_object): Likewise.
6647 * dumper.c (pdump_align_table):
6648 Don't support alignments > 64.
6649 Store ALIGNOF's, not shift counts, in table.
6651 2001-02-09 Martin Buchholz <martin@xemacs.org>
6653 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
6654 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
6655 * systime.h: Use HAVE_UTIME.
6656 * sysdep.c (struct utimbuf): Remove.
6657 * sysdep.c (set_file_times): Prefer utime() to utimes().
6658 * config.h.in (HAVE_UTIME): New.
6659 * config.h.in (HAVE_UTIME_H): Remove.
6660 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
6662 2001-02-09 Martin Buchholz <martin@xemacs.org>
6664 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
6666 2001-02-08 Martin Buchholz <martin@xemacs.org>
6668 * s/irix6-0.h: Use the standard system memmove, not bcopy.
6670 2001-02-08 Martin Buchholz <martin@xemacs.org>
6672 * XEmacs 21.2.44 "Thalia" is released.
6674 2001-02-06 Martin Buchholz <martin@xemacs.org>
6676 Fixes crashes in kill-emacs on some systems.
6677 * process-unix.c (unix_kill_child_process):
6678 It's OK for kill() to fail with ESRCH.
6680 2001-02-07 Martin Buchholz <martin@xemacs.org>
6682 Contortions to make .gdbinit tricks work on most systems.
6683 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
6684 * alloc.c (dbg_valmask): Make non-const.
6685 * alloc.c (dbg_typemask): Make non-const.
6686 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
6687 * alloc.c (dbg_valbits): Make non-const.
6688 * alloc.c (dbg_gctypebits): Make non-const.
6689 * .gdbinit (decode_object): Make it work with AIX cc.
6691 2001-02-06 Martin Buchholz <martin@xemacs.org>
6693 * elhash.c (make_general_lisp_hash_table):
6694 Use simpler and more efficient calloc to clear entries.
6696 2001-02-07 Martin Buchholz <martin@xemacs.org>
6698 * window.c (window_scroll): Work around an AIX C compiler bug.
6699 Fixes 'scroll-up' does nothing problem with xlC.
6701 2001-02-05 Martin Buchholz <martin@xemacs.org>
6703 * .gdbinit: Remove obsolete comment.
6705 2001-01-31 Mike Alexander <mta@arbortext.com>
6707 * select.c (Fown_selection_internal): Set owned_p for device
6710 2001-02-01 Martin Buchholz <martin@xemacs.org>
6713 "not" cannot be used as a macro name as it is an operator in C++
6714 * config.h.in: Stop #defining `not'.
6715 * chartab.c (check_category_char): not ==> not_p
6716 * chartab.h: Likewise.
6717 * regex.c (re_match_2_internal): Likewise.
6719 2001-02-02 Martin Buchholz <martin@xemacs.org>
6721 * lisp-disunion.h: Fix up comments.
6723 2001-01-31 Martin Buchholz <martin@xemacs.org>
6725 * keymap.c (define_key_check_and_coerce_keysym):
6727 Support mouse-6 and mouse-7 bindings in the obvious way.
6729 2001-02-01 Martin Buchholz <martin@xemacs.org>
6731 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
6733 2001-01-30 Martin Buchholz <martin@xemacs.org>
6735 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
6736 Previous patch missed DEFVAR_INT_MAGIC.
6737 Make sure future DEFVAR_foo use correct types.
6738 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
6739 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
6740 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
6741 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
6742 * (DEFVAR_INT): Likewise.
6743 * redisplay.c (vertical_clip): Should be of type Fixnum.
6744 * redisplay.c (horizontal_clip): Likewise.
6745 * lisp.h (dump_add_opaque_int): New.
6746 (dump_add_opaque_fixnum): New.
6748 2001-01-29 Andy Piper <andy@xemacs.org>
6750 * glyphs-widget.c (check_valid_int_or_function): allow symbols
6751 since they can be eval'ed
6753 2001-01-29 Martin Buchholz <martin@xemacs.org>
6755 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
6756 Oops, XEmacs redefines `class'. Use `typename' instead.
6758 2001-01-28 Martin Buchholz <martin@xemacs.org>
6760 * dumper.c: Fix C++ compile errors.
6762 2001-01-29 Martin Buchholz <martin@xemacs.org>
6764 * tparam.c: Use correct prototypes.
6766 2001-01-28 Martin Buchholz <martin@xemacs.org>
6768 * sysproc.h: #include util.h for NetBSD's openpty.
6770 2001-01-27 Martin Buchholz <martin@xemacs.org>
6772 More 64-bit correctness.
6773 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
6774 Use a typedef `fixnum' for the type used for DEFVAR_INT.
6776 This finally finishes the 64-bit SGI port.
6777 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
6778 * symbols.c: Fix up comments and type casts.
6779 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
6780 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
6781 * symeval.h (Fixnum): New type.
6782 * symeval.h (symbol_value_type): Fix up comment.
6798 * mule-canna.c: A million DEFVAR_INTs here...
6799 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
6812 s/int/Fixnum/g in DEFVAR_INT declarations.
6814 2001-01-26 Martin Buchholz <martin@xemacs.org>
6816 Port pdump to SGI alignment-sensitive environment.
6817 Lisp Object sizeof methods now return aligned sizes. Rely on that.
6818 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
6820 Define and use aligned reading and writing macros.
6821 Use buffered stdio instead of posix i/o for faster dumping.
6822 Eliminate kludgy 256 byte space for header.
6823 Read and write from dump file using structs for alignment safety.
6824 * dumper.c (pdump_align_stream): New.
6825 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
6826 * dumper.c (PDUMP_READ_ALIGNED): New.
6827 * dumper.c (PDUMP_WRITE_ALIGNED): New.
6828 * dumper.c (pdump_static_Lisp_Object): New struct.
6829 * dumper.c (pdump_static_pointer): New struct.
6830 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
6831 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
6832 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
6833 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
6835 * dumper.c (pdump_backtrace):
6836 * dumper.c (pdump_get_indirect_count):
6837 * dumper.c (pdump_register_object):
6838 * dumper.c (pdump_register_struct):
6839 * dumper.c (pdump_reloc_one):
6840 * dumper.c (pdump_scan_by_alignment):
6841 * dumper.c (pdump_dump_from_root_struct_ptrs):
6842 * dumper.c (pdump_dump_opaques):
6843 * dumper.c (pdump_dump_rtables):
6844 * dumper.c (pdump_dump_from_root_objects):
6846 * dumper.c (pdump_load_finish):
6847 Use aligned reading and writing.
6849 * dumper.c (pdump_free): Make static.
6850 * dumper.c (pdump_hFile): Likewise.
6851 * dumper.c (pdump_hMap): Likewise.
6853 2001-01-26 Martin Buchholz <martin@xemacs.org>
6855 * XEmacs 21.2.43 "Terspichore" is released.
6857 2001-01-25 Martin Buchholz <martin@xemacs.org>
6859 Type fiddling for window_config.saved_windows_count
6860 * window.c (struct window_config):
6861 Make saved_windows_count member unsigned.
6862 * window.c (sizeof_window_config_for_n_windows):
6863 Make parameter unsigned.
6864 * window.c (mark_window_config):
6865 * window.c (window_config_equal):
6866 * window.c (free_window_configuration):
6867 * window.c (Fset_window_configuration):
6868 * window.c (count_windows):
6869 * window.c (Fcurrent_window_configuration):
6870 * window.c (reinit_vars_of_window):
6871 Update all callers and users.
6873 2001-01-25 Martin Buchholz <martin@xemacs.org>
6875 Alignment correctness for flexible arrays.
6876 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
6877 Make alignment-correct. Add interesting comments.
6878 * alloc.c (size_vector):
6879 * alloc.c (make_vector_internal):
6880 * alloc.c (make_bit_vector_internal):
6881 * alloc.c (sweep_bit_vectors_1):
6882 * fns.c (size_bit_vector):
6883 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
6884 * window.c (sizeof_window_config_for_n_windows):
6885 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
6887 2001-01-24 Martin Buchholz <martin@xemacs.org>
6889 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
6891 2001-01-23 Andy Piper <andy@xemacs.org>
6893 * select.c (Fown_selection_internal): pass owned_p
6895 * select-msw.c (mswindows_own_selection): New Signature.
6897 * console.h (struct console_methods): add owned_p to
6900 * select-x.c (x_own_selection): pass owned_p
6901 (hack_motif_clipboard_selection): use owned_p
6902 (vars_of_select_x): new variable -
6903 x_selection_strict_motif_ownership.
6905 2001-01-23 Martin Buchholz <martin@xemacs.org>
6907 * specifier.h (specifier_data_offset): Remove pointless parens.
6908 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
6910 2001-01-24 Martin Buchholz <martin@xemacs.org>
6912 Make Lisp_Object sizeof methods be alignment-correct.
6913 pdump must restore objects to the same alignment as the C compiler
6914 assumes. It really matters on SGIs.
6915 * lstream.c (aligned_sizeof_lstream): New.
6916 (sizeof_lstream): Use aligned_sizeof_lstream.
6917 (Lstream_new): Likewise.
6918 * opaque.c (aligned_sizeof_opaque): New.
6919 (sizeof_opaque): Use aligned_sizeof_opaque.
6920 (make_opaque): Likewise.
6921 * specifier.c (aligned_sizeof_specifier): New.
6922 (sizeof_specifier): Use aligned_sizeof_specifier.
6923 (make_specifier_internal): Likewise.
6925 2001-01-23 Martin Buchholz <martin@xemacs.org>
6927 * lstream.h (struct lstream): Use max_align_t for trailing data.
6928 * specifier.h (struct Lisp_Specifier): Likewise.
6930 2001-01-22 Martin Buchholz <martin@xemacs.org>
6932 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
6933 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
6934 (CCL_SUSPEND): Likewise.
6935 (CCL_INVALID_CMD): Likewise.
6936 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
6937 (ccl_driver): Likewise.
6938 (CCL_WRITE_CHAR): Macro hygiene.
6939 (CCL_WRITE_STRING): Macro hygiene.
6941 2001-01-22 Martin Buchholz <martin@xemacs.org>
6943 Port "portable" dumper to SunOS 4 and HP-UX.
6944 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
6945 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
6946 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
6948 2001-01-22 Martin Buchholz <martin@xemacs.org>
6950 * lisp.h (ALIGNOF): A better definition for C++.
6952 2001-01-20 Martin Buchholz <martin@xemacs.org>
6955 Fix printf warnings: int format, long int arg.
6956 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
6957 (PUSH_FAILURE_POINT): Use correct printf formats.
6958 (POP_FAILURE_POINT): Use correct printf formats.
6959 Use do {...} while (0)
6961 2001-01-20 Martin Buchholz <martin@xemacs.org>
6963 * XEmacs 21.2.42 "Poseidon" is released.
6965 2001-01-20 Martin Buchholz <martin@xemacs.org>
6967 * console-x.h: typo fix du jour. Remove #if 0'ed code.
6969 2001-01-19 Martin Buchholz <martin@xemacs.org>
6971 De-kludgify FIXED_TYPE free list frobbing.
6972 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
6973 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
6974 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
6975 * alloc.c (Lisp_Free): New pseudo lisp object definition.
6976 * alloc.c (LRECORD_FREE_P): New.
6977 * alloc.c (MARK_LRECORD_AS_FREE): New.
6978 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
6979 * alloc.c (STRUCT_FREE_P): Deleted.
6980 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
6981 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
6982 * alloc.c (STRING_CHARS_FREE_P): New.
6983 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
6984 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
6985 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
6986 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
6987 * alloc.c (resize_string): Use new definitions.
6988 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
6989 * alloc.c (verify_string_chars_integrity): Use new definitions.
6990 * alloc.c (compact_string_chars): Use new definitions.
6991 * alloc.c: Update monster comments.
6992 * lrecord.h (lrecord_type): Add some new lrecord types for
6995 2001-01-18 Martin Buchholz <martin@xemacs.org>
6997 Improve alignment hackery.
6998 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
6999 (max_align_t): Moved from opaque.h - general purpose.
7000 (ALIGN_PTR): Use size_t, not long.
7001 * opaque.h (max_align_t): Move to lisp.h.
7003 2001-01-18 Norbert Koch <nk@LF.net>
7005 * gui.h: Fix and add prototypes to fix build problems.
7007 2001-01-18 Martin Buchholz <martin@xemacs.org>
7009 temacs is going away, so `dump-temacs' is now a bad name.
7010 * .dbxrc (dump-temacs): Rename to `dmp'.
7011 * .gdbinit (dump-temacs): Rename to `dmp'.
7013 2001-01-17 Andy Piper <andy@xemacs.org>
7015 * glyphs.c (print_image_instance): comment to make martin happy.
7017 * glyphs-x.c (x_redisplay_widget): update faces after a frame
7020 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
7022 (mswindows_tab_control_redisplay): warning suppression.
7024 * glyphs-widget.c (widget_update): re-write to cope with updated
7026 (widget_instantiate): use new gui_item functions.
7027 (tab_control_update): deleted.
7028 (progress_gauge_update): deleted.
7029 (image_instantiator_progress_guage): take out update reference.
7030 (image_instantiator_tree_view): ditto.
7031 (image_instantiator_tab_control): ditto.
7033 * gui.c (widget_gui_parse_item_keywords): new function. Do things
7035 (gui_item_add_keyval_pair): re-write to cope with descriptors and
7036 return whether anything was changed.
7037 (update_gui_item_keywords): as it sounds.
7039 * gui.h: declare widget_gui_parse_item_keywords.
7041 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
7042 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
7044 2001-01-17 Martin Buchholz <martin@xemacs.org>
7046 * XEmacs 21.2.41 "Polyhymnia" is released.
7048 2001-01-16 Didier Verna <didier@xemacs.org>
7050 * glyphs.c (image_instantiate): don't use fallbacks when
7051 instantiating a face's background pixmap by inheritance.
7053 2001-01-14 Mike Sperber <mike@xemacs.org>
7055 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
7056 Conditionalize accordingly.
7058 2001-01-16 Martin Buchholz <martin@xemacs.org>
7060 * dumper.c (pdump_file_get): Fix a compiler warning.
7062 2001-01-15 Martin Buchholz <martin@xemacs.org>
7064 Make Purify happy when pdumping.
7065 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
7066 iniitalizing all bits of new lisp object memory.
7067 * symbols.c (Fmake_local_variable): Likewise.
7068 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
7069 * symbols.c (Fdefvaralias): Likewise.
7070 * mule-charset.c (vars_of_mule_charset): Likewise.
7072 2001-01-15 Martin Buchholz <martin@xemacs.org>
7073 Add the `-nd' flag when running pre-dump operations under the debugger.
7074 * .dbxrc (run-temacs): Add `-nd'.
7075 * .dbxrc (update-elc): Likewise.
7076 * .dbxrc (dump-temacs): Likewise.
7077 * .gdbinit (run-temacs): Likewise.
7078 * .gdbinit (check-temacs): Likewise.
7079 * .gdbinit (update-elc): Likewise.
7080 * .gdbinit (dump-temacs): Likewise.
7082 2001-01-14 Martin Buchholz <martin@xemacs.org>
7084 Allow building 64-bit executables on AIX with GNU malloc, e.g.
7085 export OBJECT_MODE=64
7086 configure --pdump --use-union-type=no
7087 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
7088 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
7090 * miscplay.c (sndcnv8U_2mono):
7091 Avoid two uses of `++' in the same expression.
7092 Suppresses a GCC warning.
7094 2001-01-13 Martin Buchholz <martin@xemacs.org>
7096 Make sure future compilers don't miscompile alloc.c.
7098 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
7099 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
7101 2001-01-12 Martin Buchholz <martin@xemacs.org>
7103 * dumper.c: A little post-pdump-rename comment fixup.
7105 2001-01-09 Jerry James <james@eecs.ku.edu>
7107 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
7109 2001-01-13 Martin Buchholz <martin@xemacs.org>
7111 * *.[ch]: Globally rename symbols using the following `pdump-rename'
7115 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
7118 replace_symbol pdump_wire_lists pdump_weak_object_chains
7119 replace_symbol pdump_wire_list dump_add_weak_object_chain
7121 replace_symbol pdump_wires pdump_root_objects
7122 replace_symbol pdump_wire dump_add_root_object
7124 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
7125 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
7127 replace_symbol dumpstructinfos pdump_root_struct_ptrs
7128 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
7129 replace_symbol dumpstructinfo pdump_root_struct_ptr
7130 replace_symbol dumpstruct dump_add_root_struct_ptr
7132 replace_symbol dumpopaque dump_add_opaque
7133 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
7134 replace_symbol dumpopaqueinfos pdump_opaques
7135 replace_symbol dumpopaqueinfo pdump_opaque
7137 replace_symbol nb_structdump nb_root_struct_ptrs
7138 replace_symbol nb_opaquedump nb_opaques
7140 replace_symbol align_table pdump_align_table
7141 replace_symbol dump_header pdump_header
7143 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
7144 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
7147 2001-01-12 Martin Buchholz <martin@xemacs.org>
7149 * s/aix4.h: Keep the C for AIX compiler from overaggressively
7150 optimizing bytecount_to_charcount().
7152 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7155 (HAVE_DLFCN_H): Removed.
7156 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
7158 2001-01-06 Martin Buchholz <martin@xemacs.org>
7160 Portable dumper maintainability improvements.
7161 * alloc.c (staticpro):
7162 * alloc.c (staticpro_nodump):
7163 * alloc.c (garbage_collect_1):
7164 * alloc.c (reinit_alloc_once_early):
7165 * alloc.c (init_alloc_once_early):
7166 * alloc.c: Move dumper functions to alloc.c.
7167 * dumper.c (pdump_backtrace):
7168 * dumper.c (pdump_dump_structs):
7169 * dumper.c (pdump_dump_opaques):
7170 * dumper.c (pdump_dump_rtables):
7171 * dumper.c (pdump_dump_wired):
7173 * dumper.c (pdump_load_check):
7174 * dumper.c (pdump_load_finish):
7175 * dumper.c (pdump_file_unmap):
7176 * dumper.c (pdump_file_get):
7177 * dumper.c (pdump_resource_free):
7178 * dumper.c (pdump_resource_get):
7179 * dumper.c (pdump_file_free):
7180 * dumper.c (pdump_file_try):
7181 * dumper.c (pdump_load):
7182 Remove fixed size limits on staticpro(), staticpro_nodump(),
7183 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
7184 Remove custom code for dumping lrecord_implementations_table - use
7186 Remove (most of the) custom code for dumping staticpros - dump it
7187 like any other dynarr.
7189 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
7190 * dumper.c: Moved functions from alloc.c.
7191 * alloc.c (dumpstruct): Moved to dumper.c.
7192 * alloc.c (dumpopaque): Likewise.
7193 * alloc.c (pdump_wire): Likewise.
7194 * alloc.c (pdump_wire_list): Likewise.
7196 * lisp.h (Dynarr_sizeof): New.
7197 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
7198 * lisp.h (Dynarr_end): New. Very slightly C++oid.
7199 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
7201 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
7202 * lisp.h (dumpopaque): ditto.
7203 * lisp.h (pdump_wire): ditto.
7204 * lisp.h (pdump_wire_list): ditto.
7206 2001-01-09 Martin Buchholz <martin@xemacs.org>
7208 * make-src-depend (PrintPatternDeps):
7209 Use `sort' to make output independent of perl version.
7211 2001-01-08 Martin Buchholz <martin@xemacs.org>
7214 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
7215 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
7217 2001-01-03 Didier Verna <didier@xemacs.org>
7219 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
7220 that `focus_frame' is alive before thinking of calling
7221 `redisplay_redraw_cursor' on it.
7223 2001-01-08 Martin Buchholz <martin@xemacs.org>
7225 * XEmacs 21.2.40 is released.
7227 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7229 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
7231 2001-01-06 Martin Buchholz <martin@xemacs.org>
7233 * alloc.c (dbg_valmask): Make const.
7234 * alloc.c (dbg_typemask): Make const.
7235 * alloc.c (dbg_USE_UNION_TYPE): Make const.
7236 * alloc.c (dbg_valbits): Make const.
7237 * alloc.c (dbg_gctypebits): Make const.
7239 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
7241 * redisplay-x.c (x_bevel_area):
7242 redisplay.h (struct rune):
7243 Typo fixes in comments.
7245 2001-01-05 Andy Piper <andy@xemacs.org>
7247 * glyphs-x.c (x_redisplay_widget): use size changed for offset
7250 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
7252 2001-01-05 Martin Buchholz <martin@xemacs.org>
7254 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
7256 * mule-ccl.c (stack_idx_of_map_multiple):
7257 Non const global data must not be initialized!
7258 Found by MIYASHITA Hisashi.
7260 2001-01-02 Andy Piper <andy@xemacs.org>
7262 * frame.c (change_frame_size): make sure frame size is always
7265 * glyphs.c (image_instance_layout): minor code reuse.
7267 * window.c (Fcurrent_window_configuration): revert previous
7270 2001-01-02 Martin Buchholz <martin@xemacs.org>
7273 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
7275 2000-12-31 Andy Piper <andy@xemacs.org>
7277 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
7278 when widget gets unmapped.
7280 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
7281 function. Make sure widgets losing focus don't just drop it.
7282 (handle_focus_event_1): record the widget with focus.
7284 2000-12-31 Andy Piper <andy@xemacs.org>
7286 * window.c (allocate_window): use
7287 make_image_instance_cache_hash_table.
7288 (make_dummy_parent): ditto.
7289 (Fset_window_configuration): ditto.
7291 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
7293 * glyphs.c (process_image_string_instantiator): use
7295 (get_image_instantiator_governing_domain): ditto.
7296 (normalize_image_instantiator): ditto.
7297 (instantiate_image_instantiator): ditto.
7298 (make_image_instance_1): ditto.
7299 (image_instantiate): ditto. Key on glyph *and* instantiator type.
7300 (instantiator_eq_equal): new function for use with instance hash
7302 (instantiator_eq_hash): ditto.
7303 (make_image_instance_cache_hash_table): create a suitable hash
7304 table for storing image instances.
7306 * elhash.h (hash_table_weakness): new internal weakness type
7307 HASH_TABLE_KEY_CAR_VALUE_WEAK.
7308 declare new functions.
7310 * elhash.c (finish_marking_weak_hash_tables): introduce yet
7311 another weakness type for glyphs.
7312 (make_standard_lisp_hash_table): new function split out from
7313 make_general_lisp_hash_table.
7314 (make_lisp_hash_table): call make_standard_lisp_hash_table.
7315 (hash_table_instantiate): ditto.
7316 (Fmake_hash_table): ditto.
7318 2000-12-31 Martin Buchholz <martin@xemacs.org>
7320 * XEmacs 21.2.39 is released.
7322 2000-12-29 Andy Piper <andy@xemacs.org>
7324 * menubar.c (menubar_visible_p_changed): signal the frame changed.
7326 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
7327 the frame has changed so that we pick up geometry changes such as
7330 2000-12-28 Andy Piper <andy@xemacs.org>
7332 * lastfile.c (my_ebss): make a char array so we can pad the
7333 bss. Fixes cygwin unexec.
7335 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
7337 2000-12-26 Andy Piper <andy@xemacs.org>
7339 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
7340 comments and try and be more precise about a non-/SIGIO world.
7341 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
7344 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
7345 we don't normalize to zero width or height.
7347 2000-12-24 Andy Piper <andy@xemacs.org>
7349 * Makefile.in.in (ldflags): add -mwindows when appropriate.
7351 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
7353 * s/sco5.h: SCO 5 has pty support.
7355 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
7357 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
7358 input-method-xlib.c contains whole contents of input-method-xfs.c,
7359 so we can use input-method-xlib.c's code for USE_XFONTSET
7361 * input-method-xfs.c: removed.
7363 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
7365 * file-coding.h (enum coding_category_type): reorder enumerators to
7366 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
7367 (now one greater than largest real coding_category_type enumerator).
7368 * file-coding.c (coding_category_symbol, coding_category_by_priority,
7369 coding_category_system, fcd_descriptihon_1, decode_coding_category,
7370 Fcoding_category_list, Fset_coding_priority_list,
7371 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
7372 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
7374 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7376 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
7377 * redisplay-output.c (redisplay_output_window): Clear top of window
7378 when face is changed.
7379 * redisplay-x.c (x_redraw_exposed_window): Call
7380 redisplay_clear_top_of_window.
7381 * redisplay.h: Publish redisplay_clear_top_of_window.
7383 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7385 * buffer.c (Fkill_buffer): Map over all devices.
7386 * window.c (window_loop): Remove UNSHOW_BUFFER code.
7387 (list_windows): New function.
7388 (list_all_windows): Ditto.
7389 (Freplace_buffer_in_windows): Use them.
7391 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
7393 * database.c (berkdb_subtype): Recognize new subtype `queue'.
7394 (Fopen_database): Use `db_create' instead of `db_open'.
7395 (syms_of_database): Initialize Qqueue.
7397 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7399 * buffer.c (common_init_complex_vars_of_buffer): Initialize
7400 buffer_local_face_property.
7401 * buffer.h (struct buffer): New member buffer_local_face_property.
7402 * window.c (Fset_window_buffer): Mark window's face as changed
7403 when buffer has buffer local face.
7404 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
7405 * objects.c (color_after_change): Set buffer_local_face_property
7406 when locale of face specifier is buffer.
7407 * objects.c (font_after_change): Ditto.
7408 * objects.c (face_boolean_after_change): Ditto.
7409 * glyphs.c (image_after_change): Ditto.
7411 2000-12-09 Dan Holmsand <dan@eyebee.com>
7413 * nt.c (mswindows_fstat): Report file permissions, volume serial
7414 number, etc. Code adapted from FSF Emacs 20.7.
7416 2000-12-09 Dan Holmsand <dan@eyebee.com>
7418 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
7419 of stat when we don't have symbolic links, to make sure
7420 mswindows_stat is called on mswindows.
7422 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
7424 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
7426 2000-12-12 Martin Buchholz <martin@xemacs.org>
7428 * doprnt.c (emacs_doprnt_1): More printing fixes.
7429 Make printing of numbers compatible with libc and FSF Emacs.
7430 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
7431 Use the system printf to do most of the hard work of formatting,
7432 instead of doprnt_1().
7433 Calculate memory to allocate for format string.
7434 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
7435 (doprnt_1): Cleaner code and documentation.
7437 2000-12-01 Jerry James <james@eecs.ukans.edu>
7439 * Makefile.in.in: Use the loop variable to install headers.
7441 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7443 * window.c (Fsplit_window): Don't invalidate face cache.
7445 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7447 * minibuf.c (Fall_completions): Undo the previous change
7448 which removed checking elements start with space.
7450 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7452 * mule-canna.c: Didier suppression.
7454 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7456 * mule-canna.c: rename static unsigned char buf[] to key_buffer
7457 (warning suppression). Add English comment translations.
7459 2000-12-05 Martin Buchholz <martin@xemacs.org>
7461 * unexelfsgi.c (unexec): Better test for mmap failure.
7463 2000-12-05 Martin Buchholz <martin@xemacs.org>
7465 * XEmacs 21.2.38 is released.
7467 2000-12-05 Martin Buchholz <martin@xemacs.org>
7469 * redisplay.c (bar-cursor): Make a user variable.
7471 * symsinit.h: Add init_postgresql_from_environment.
7473 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7475 * regex.c: Convert to clean C.
7477 2000-12-05 Dan Holmsand <dan@eyebee.com>
7480 Don't #include sysfile.h. Revert to duplicating PATH_MAX
7482 (sys_readlink): renamed to system_readlink to avoid conflict with
7483 the other sys_readlink.
7485 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
7487 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
7489 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
7491 * postgresql.c (init_postgresql_from_environment): new function.
7492 (vars_of_postgresql): Move code initializing Lisp variables out and
7493 into init_postgresql_from_environment.
7494 emacs.c (main_1): Call init_postgresql_from_environment if and only
7495 if running a dumped XEmacs.
7497 2000-08-31 Dan Holmsand <dan@eyebee.com>
7499 * buffer.c: Make find-file-compare-truenames default to true on
7502 * realpath.c (win32_abs_start):
7504 (win32_readlink): New functions.
7505 (xrealpath): Return really real filenames on windows.
7507 * fileio.c (Ffile_truename): Make file-truename work on windows.
7509 2000-11-29 Didier Verna <didier@xemacs.org>
7511 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
7512 * faces.c (update_face_cachel_data): use it.
7513 * faces.c (add_face_cachel): use it. Complete background pixmap
7514 frobbing in face cache if `update_face_cachel_data' has not done so.
7516 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
7518 * search.c (string_match_1): Don't set last_thing_searched
7521 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
7523 * buffer.c: Include casetab.h
7524 (common_init_complex_vars_of_buffer): Use new case-table object.
7525 * buffer.h: Include casetab.h
7526 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
7527 (DOWNCASE_TABLE_OF): Ditto.
7528 * bufslots.h: Remove char-tables and add case-table.
7529 * casetab.c: Include casetab.h
7530 (CASE_TABLE_P): Removed.
7531 (mark_case_table): New function.
7532 (allocate_case_table): New function.
7533 (Fcase_table_p): Use new case-table.
7534 (case_table_char): New function.
7535 (Fget_case_table): Ditto.
7536 (Fput_case_table): Ditto.
7537 (Fput_case_table_pair): Ditto.
7538 (Fcopy_case_table): Ditto.
7539 (Fcurrent_case_table): Return case-table.
7540 (Fstandard_case_table): Return case-table.
7541 (Fset_case_table): Fix doc-string.
7542 (set_case_table): Use case-table
7543 (syms_of_casetab): DEFSUBR new functions.
7544 (complex_vars_of_casetab): Set up standard case-table.
7545 * casetab.h: New file.
7546 * editfns.c: Include casetab.h
7547 (Fcompare_buffer_substrings): Use case-table.
7548 * inline.c: Include casetab.h
7549 * lisp.h: Remove bogus extern.
7550 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
7551 * search.c: Include casetab.h
7552 (TRANSLATE_ASCII): Removed.
7553 (TRANSLATE): Unconditionally translate character.
7554 (looking_at_1): Use case-table.
7555 (string_match_1): Ditto.
7556 (fast_string_match): Ditto.
7557 (search_command): Ditto.
7558 (search_buffer): Separate boyer_moore. Check whether
7559 boyer_moore is possible.
7560 (simple_search): New function.
7561 (boyer_moore): Separated from search_buffer. Translate char.
7563 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
7565 * regex.c (RE_TR_ASCII): Removed.
7566 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
7567 (PATFETCH): Call PATFETCH_RAW.
7568 (PATFETCH_RAW): Fetch Emchar.
7569 (PATUNFETCH): Decrement charptr.
7570 (GET_BUFFER_SPACE): Rename b to buf_end.
7572 (BUF_PUSH_2): Ditto.
7573 (BUF_PUSH_3): Ditto.
7574 (EXTEND_BUFFER): Ditto.
7575 (SET_LIST_BIT): Ditto.
7576 (regex_compile): Ditto. Translate non ASCII char.
7577 (compile_range): Ditto.
7578 (re_search_2): Ditto.
7579 (re_match_2_internal): Compare Emchar.
7580 (bcmp_translate): Ditto.
7582 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
7584 * lisp.h (basic char/int typedefs): comment improvement.
7586 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
7588 * emacs.c (main_1): unconditional pdump unstomping; don't save and
7589 unstomp inhibit_site_lisp. Improve comments.
7591 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
7593 * mule-charset.c (Fcharset_property): improve type checking, comments.
7595 2000-11-28 Andy Piper <andy@xemacs.org>
7597 * redisplay-output.c (redisplay_output_subwindow): make sure we do
7598 clipped display for windows in the gutter also.
7599 (redisplay_display_boxes_in_window_p): change semantics of return
7600 codes to be more intuitive.
7602 * gutter.h: declare display_boxes_in_gutter_p.
7604 * gutter.c (display_boxes_in_gutter_p): new function for
7607 2000-11-22 Andy Piper <andy@xemacs.org>
7609 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
7612 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
7614 * callproc.c (Fold_call_process_internal):
7615 * gpm.c (Freceive_gpm_event):
7616 (tty_get_foreign_selection): Might be just warning supression.
7617 * fileio.c (Fwrite_region_internal):
7618 (Fset_visited_file_modtime):
7619 * keymap.c (event_matches_key_specifier_p):
7620 Initialize GCPROed variable.
7622 * menubar-x.c (command_builder_find_menu_accelerator):
7623 Initialize before use.
7625 2000-11-23 Andy Piper <andy@xemacs.org>
7627 * unexcw.c (unexec): make the resulting executable executable.
7629 2000-11-21 Martin Buchholz <martin@xemacs.org>
7631 * doc.c (get_doc_string):
7632 Use size_t, not int, for result of XSTRING_LENGTH.
7634 * cmds.c (Fdelete_char):
7635 * cmds.c (Fpoint_at_eol):
7636 * cmds.c (Fself_insert_command):
7637 Use EMACS_INT, not int, for result of XINT.
7638 Someday, someone will want to insert more than 2**31 identical characters.
7640 * cmds.c (Fdelete_char):
7641 * cmds.c (Fdelete_backward_char):
7642 * syntax.c (Fforward_word):
7643 * syntax.c (Fforward_comment):
7644 Make COUNT argument optional, for consistency with forward-char et al.
7646 2000-11-22 Martin Buchholz <martin@xemacs.org>
7649 * print.c (long_to_string):
7650 Return a useful value: the pointer at end of data written.
7653 Use `static const char * const' for constant strings.
7654 (union printf_arg): Delete `i', `ui' members.
7657 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
7658 Do all printf-ing via the `l' specifier.
7659 Use EMACS_INT instead of int.
7662 2000-11-20 Didier Verna <didier@xemacs.org>
7664 * faces.c (update_face_cachel_data): don't frob the background
7665 pixmap when the window is being created. The face is needed but
7668 2000-11-20 Andy Piper <andy@xemacs.org>
7670 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
7671 messing with a debug environment.
7673 2000-11-20 Martin Buchholz <martin@xemacs.org>
7675 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
7677 2000-11-20 Martin Buchholz <martin@xemacs.org>
7679 * casetab.c (Fcase_table_p): Fix compile error and crash.
7681 2000-11-18 Philip Aston <philipa@mail.com>
7683 * s/cygwin32.h: Cygwin has SVR4-like pty support.
7685 2000-11-18 Martin Buchholz <martin@xemacs.org>
7687 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
7688 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
7690 2000-11-17 Martin Buchholz <martin@xemacs.org>
7692 * config.h.in: Define HAVE_ELF_H if elf.h exists.
7693 * unexelf.c: Use HAVE_ELF_H.
7694 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
7695 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
7696 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
7697 Greg Harrington <greg_harrington@hotmail.com> provided a machine
7699 So this is an unexelfsgi.c from a different line of development.
7701 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
7703 * regex.c (RE_TR_ASCII): New function.
7704 (RE_TRANSLATE): Call it.
7706 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
7708 * buffer.h (TRT_TABLE_OF): Remove assert.
7709 (IN_TRT_TABLE_DOMAIN): Removed.
7711 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
7713 * free-hook.c (log_gcpro):
7714 (show_gcprohist): Add support for GCPRO5.
7716 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
7718 * emacs.c (main_1): Improve -sd error message when --pdump=no.
7720 2000-11-16 Olivier Galibert <galibert@xemacs.org>
7722 * symeval.h: Declare flush_all_buffer_local_cache.
7724 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
7725 (flush_buffer_local_cache): Added.
7726 (flush_all_buffer_local_cache): Added.
7728 * lrecord.h: Remove unused XD_LO_RESET_NIL.
7730 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
7731 (pdump_dump_data): Ditto.
7732 (pdump_reloc_one): Ditto.
7733 (pdump): Remove unused pdump_qnil. Flush buffer local caches
7737 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
7739 * buffer.c: Remove if 0'ed entry.
7740 * buffer.h: Rewrite TRT to use char-table.
7741 * bufslots.h: Remove mirror tables.
7742 * casetab.c: Remove mirror tables.
7743 (CASE_TABLE_P): New macro.
7744 (Fcase_table_p): Element of a case table is string or char-table.
7745 (make_mirror_trt_table): Removed.
7746 (set_case_table): Setup char-table from strings for backward
7748 * dired.c (Fdirectory_files):
7749 * dired-msw.c: (mswindows_get_files):
7750 * lisp.h: Change prototype of re_pattern_buffer.
7751 * regex.c: (RE_TRANSLATE): New macro.
7752 (TRANSLATE_P): Ditto.
7753 Change translate to type RE_TRANSLATE_TYPE.
7754 * regex.h: Define RE_TRANSLATE_TYPE
7755 * search.c (TRANSLATE): New macro.
7756 (TRANSLATE_ASCII): New macro.
7757 Translate table is changed to Lisp_Object.
7758 (signal_failure): Inhibit return.
7760 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
7767 Do UNGCPRO before return.
7769 2000-11-14 Martin Buchholz <martin@xemacs.org>
7771 * XEmacs 21.2.37 is released.
7773 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7775 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
7776 Add comments about discarded return value.
7778 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
7781 * event-stream.c: Fix comments. Remove some #if 0'ed part.
7783 2000-10-27 Andy Piper <andy@xemacs.org>
7785 * gutter.c (Fset_default_gutter_position): default left and right
7787 (calculate_gutter_size): calculate resonable heuristic for left
7788 and right gutter sizes.
7789 (specifier_vars_of_gutter): change left and right gutter sizes to
7791 (calculate_gutter_size_from_display_lines): new function.
7792 (output_gutter): check for resizing on left and right gutters.
7793 (clear_gutter): don't special case top and left gutters.
7794 (specifier_vars_of_gutter): use new signature for
7795 set_specifier_caching.
7797 * glyphs-x.c (x_redisplay_widget): spelling fix.
7798 * glyphs.c (specifier_vars_of_glyphs):
7799 * menubar.c (specifier_vars_of_menubar):
7800 * redisplay.c (specifier_vars_of_redisplay):
7801 * toolbar.c (specifier_vars_of_toolbar):
7802 * window.c (specifier_vars_of_window):
7803 * scrollbar.c (specifier_vars_of_scrollbar):
7804 (complex_vars_of_scrollbar): use new signature for
7805 set_specifier_caching.
7807 * specifier.c (set_specifier_caching): include recompute flag.
7808 (recompute_one_cached_specifier_in_window): always recompute if
7810 (recompute_one_cached_specifier_in_frame): ditto.
7812 * specifier.h (struct specifier_caching): add recompute flag.
7814 2000-10-24 Andy Piper <andy@xemacs.org>
7816 * unexcw.c (copy_executable_and_dump_data_section): add new
7817 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
7820 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7822 * console-x.h (x_device): New member modifier_release_time.
7823 * event-Xt.c (x_handle_sticky_modifiers):
7824 Bound interval modifier keys are sticky.
7825 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
7826 * events.h: extern it.
7828 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7830 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
7832 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7834 * event-stream.c (execute_command_event): Preserve current_events
7835 and the like when event is misc-user-event.
7836 Inhibit quit during the call to maybe_echo_keys.
7838 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
7840 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
7841 symlink when buffer is killed.
7842 (inhibit_clash_detection): New variable.
7844 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
7846 * console.c (Fset_input_method): Trigger redisplay on tty.
7848 2000-11-07 Martin Buchholz <martin@xemacs.org>
7850 * process.c (Fprocess_status): Revert to previous behavior:
7851 (process-status "nosuchprocess") ==> nil
7853 2000-11-06 Martin Buchholz <martin@xemacs.org>
7855 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
7856 Work around another GCC 2.95.2 optimizer bug.
7858 2000-11-02 Martin Buchholz <martin@xemacs.org>
7860 * process.c (Fget_process): Use LIST_LOOP_2.
7861 (kill_buffer_processes): Use LIST_LOOP_2.
7863 * minibuf.c (Fall_completions):
7864 Delete old non-functional code for FSF fourth argument.
7866 * frame.c (frame_matches_frame_spec):
7867 Renamed from `frame_matches_frametype'. Update all callers.
7868 (device_matches_device_spec):
7869 Renamed from 'device_matches_console_spec'. Update all callers.
7871 * doc.c (Fsubstitute_command_keys):
7872 Remove buffer overflow crash. Small code cleanups.
7874 * casetab.c (check_case_table): Simpler code.
7876 * window.c (Freplace_buffer_in_windows):
7877 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
7878 (and similar implementation) as Fdelete_windows_on.
7881 * alloc.c (Fmake_list):
7882 * alloc.c (make_vector):
7883 * alloc.c (Fmake_vector):
7884 * alloc.c (make_bit_vector):
7885 * alloc.c (Fmake_bit_vector):
7886 * alloc.c (Fbit_vector):
7887 * alloc.c (Fmake_string):
7888 * alloc.c (Fpurecopy):
7889 * alloc.c (Fmemory_limit):
7891 * buffer.c (Fget_buffer):
7892 * buffer.c (Fkill_buffer):
7893 * buffer.c (complex_vars_of_buffer):
7894 * bytecode.c (Fcompiled_function_stack_depth):
7895 * callint.c (Fprefix_numeric_value):
7897 * event-stream.c (Fread_key_sequence):
7899 * casetab.c (Fcase_table_p):
7900 * casetab.c (check_case_table):
7901 * casetab.c (Fset_case_table):
7902 * casetab.c (Fset_standard_case_table):
7904 * chartab.c (Fchar_table_type):
7905 * chartab.c (Freset_char_table):
7906 * chartab.c (Fget_char_table):
7907 * chartab.c (Fget_range_char_table):
7908 * chartab.c (Fput_char_table):
7909 * chartab.c (Fmap_char_table):
7910 * chartab.c (Fcategory_table_p):
7911 * chartab.c (Fcheck_category_at):
7912 * chartab.c (Fchar_in_category_p):
7913 * chartab.c (Fcategory_table):
7914 * chartab.c (Fcopy_category_table):
7915 * chartab.c (Fset_category_table):
7916 * chartab.c (Fcategory_designator_p):
7917 * chartab.c (Fcategory_table_value_p):
7918 * cmds.c (Fdelete_char):
7919 * cmds.c (Fdelete_backward_char):
7920 * cmds.c (Fself_insert_command):
7921 * cmds.c (Fself_insert_internal):
7922 * console.c (Fvalid_console_type_p):
7923 * console.c (Fcdfw_console):
7924 * console.c (Fconsole_type):
7925 * console.c (Fconsole_name):
7926 * console.c (Fconsole_device_list):
7927 * console.c (Fconsole_on_window_system_p):
7931 * data.c (Fsubr_interactive):
7932 * data.c (Fchar_to_int):
7933 * data.c (Fint_to_char):
7936 * data.c (Fnumber_to_string):
7937 * data.c (Fstring_to_number):
7939 * database.c (mark_database):
7940 * database.c (finalize_database):
7941 * database.c (Fdatabase_live_p):
7942 * database.c (Fdatabasep):
7943 * device-x.c (Fx_get_resource):
7944 * device.c (Fdfw_device):
7946 * dired.c (Ffile_name_completion):
7947 * dired.c (Ffile_name_all_completions):
7948 * dired.c (Fuser_name_completion):
7949 * dired.c (Fuser_name_completion_1):
7950 * dired.c (Fuser_name_all_completions):
7951 * doc.c (Fdocumentation):
7952 * doc.c (Fdocumentation_property):
7953 * doc.c (Fsubstitute_command_keys):
7955 * editfns.c (Fchar_to_string):
7956 * editfns.c (Fstring_to_char):
7957 * editfns.c (Ftemp_directory):
7958 * editfns.c (Finsert_char):
7959 * editfns.c (Fbuffer_substring_no_properties):
7960 * editfns.c (Fnarrow_to_region):
7961 * editfns.c (Fchar_equal):
7962 * editfns.c (Fchar_Equal):
7963 * editfns.c (Ftranspose_regions):
7964 * emacs.c (Fdump_emacs):
7966 * eval.c (Fcommand_execute):
7967 * eval.c (Fautoload):
7968 * eval.c (Fbacktrace):
7969 * eval.c (Fbacktrace_frame):
7971 * events.c (Fcopy_event):
7972 * events.c (Fcharacter_to_event):
7973 * events.c (Fevent_button):
7974 * events.c (Fevent_process):
7976 * extents.c (Fnext_extent_change):
7977 * extents.c (Fextent_property):
7979 * faces.c (Fmake_face):
7981 * file-coding.c (Fencode_shift_jis_char):
7982 * file-coding.c (Fencode_big5_char):
7983 * fileio.c (Ffile_name_directory):
7984 * fileio.c (Ffile_name_nondirectory):
7985 * fileio.c (Ffile_name_as_directory):
7986 * fileio.c (Fdirectory_file_name):
7987 * fileio.c (Ffile_truename):
7988 * fileio.c (Fsubstitute_in_file_name):
7989 * fileio.c (Ffile_modes):
7990 * fileio.c (Fset_file_modes):
7991 * fileio.c (Fset_default_file_modes):
7992 * fileio.c (Fverify_visited_file_modtime):
7993 * floatfns.c (Facos):
7994 * floatfns.c (Fasin):
7995 * floatfns.c (Fatan):
7996 * floatfns.c (Fcos):
7997 * floatfns.c (Fsin):
7998 * floatfns.c (Ftan):
7999 * floatfns.c (Fbessel_j0):
8000 * floatfns.c (Fbessel_j1):
8001 * floatfns.c (Fbessel_jn):
8002 * floatfns.c (Fbessel_y0):
8003 * floatfns.c (Fbessel_y1):
8004 * floatfns.c (Fbessel_yn):
8005 * floatfns.c (Ferf):
8006 * floatfns.c (Ferfc):
8007 * floatfns.c (Flog_gamma):
8008 * floatfns.c (Fexp):
8009 * floatfns.c (Fexpt):
8010 * floatfns.c (Flog):
8011 * floatfns.c (Flog10):
8012 * floatfns.c (Fsqrt):
8013 * floatfns.c (Fcube_root):
8014 * floatfns.c (Facosh):
8015 * floatfns.c (Fasinh):
8016 * floatfns.c (Fatanh):
8017 * floatfns.c (Fcosh):
8018 * floatfns.c (Fsinh):
8019 * floatfns.c (Ftanh):
8020 * floatfns.c (Fabs):
8021 * floatfns.c (Ffloat):
8022 * floatfns.c (Flogb):
8023 * floatfns.c (Fceiling):
8024 * floatfns.c (Ffloor):
8025 * floatfns.c (Fround):
8026 * floatfns.c (Ftruncate):
8027 * floatfns.c (Ffceiling):
8028 * floatfns.c (Fffloor):
8029 * floatfns.c (Ffround):
8030 * floatfns.c (Fftruncate):
8031 * fns.c (Fstring_equal):
8032 * fns.c (Fstring_lessp):
8037 * fns.c (Fsubstring):
8039 * fns.c (Fold_assoc):
8040 * fns.c (assoc_no_quit):
8042 * fns.c (Fold_assq):
8043 * fns.c (assq_no_quit):
8045 * fns.c (Fold_rassoc):
8047 * fns.c (Fold_rassq):
8048 * fns.c (rassq_no_quit):
8049 * fns.c (Fremassoc):
8050 * fns.c (remassoc_no_quit):
8052 * fns.c (remassq_no_quit):
8053 * fns.c (Fremrassoc):
8054 * fns.c (Fremrassq):
8055 * fns.c (remrassq_no_quit):
8057 * fns.c (Fplist_get):
8058 * fns.c (Fplist_put):
8059 * fns.c (Fplist_remprop):
8060 * fns.c (Fplist_member):
8061 * fns.c (Flax_plist_get):
8062 * fns.c (Flax_plist_put):
8063 * fns.c (Flax_plist_remprop):
8064 * fns.c (Flax_plist_member):
8066 * fns.c (Fold_equal):
8068 * fns.c (Fbase64_encode_region):
8069 * fns.c (Fbase64_encode_string):
8070 * fns.c (Fbase64_decode_region):
8072 * frame.c (frame_matches_frame_spec):
8073 * frame.c (device_matches_device_spec):
8074 * frame.c (next_frame):
8075 * frame.c (previous_frame):
8076 * frame.c (Fnext_frame):
8077 * frame.c (Fprevious_frame):
8078 * frame.c (Fframe_property):
8079 * frame.c (Fset_frame_height):
8080 * frame.c (Fset_frame_size):
8084 * glyphs.c (decode_error_behavior_flag):
8085 * glyphs.c (Fmake_image_instance):
8086 * indent.c (Findent_to):
8087 * intl.c (Fignore_defer_gettext):
8088 * keymap.c (Fkeymapp):
8089 * keymap.c (Flookup_key):
8091 * lread.c (Fload_internal):
8092 * lread.c (Feval_buffer):
8093 * lread.c (Feval_region):
8094 * macros.c (Fexecute_kbd_macro):
8095 * marker.c (set_marker_internal):
8096 * marker.c (Fset_marker):
8097 * marker.c (set_marker_restricted):
8098 * marker.c (Fcopy_marker):
8099 * marker.c (noseeum_copy_marker):
8101 * menubar.c (Fpopup_menu):
8103 * mule-charset.c (Fcharset_name):
8104 * mule-charset.c (Fchar_charset):
8105 * mule-charset.c (Fchar_octet):
8106 * mule-charset.c (Fsplit_char):
8107 * mule-wnnfns.c (Fwnn_open):
8108 * mule-wnnfns.c (Fwnn_dict_comment):
8109 * mule-wnnfns.c (Fwnn_quit_henkan):
8110 * mule-wnnfns.c (Fwnn_word_toroku):
8111 * mule-wnnfns.c (Fwnn_word_sakujo):
8112 * mule-wnnfns.c (Fwnn_word_use):
8113 * mule-wnnfns.c (Fwnn_hindo_set):
8115 * objects.c (Fmake_color_instance):
8116 * objects.c (Fmake_font_instance):
8117 * print.c (Fwrite_char):
8119 * process.c (mark_process):
8120 * process.c (print_process):
8121 * process.c (get_process_from_usid):
8122 * process.c (Fprocessp):
8123 * process.c (Fprocess_live_p):
8124 * process.c (Fget_process):
8125 * process.c (Fget_buffer_process):
8126 * process.c (get_process):
8127 * process.c (Fprocess_id):
8128 * process.c (Fprocess_name):
8129 * process.c (Fprocess_command):
8130 * process.c (init_process_io_handles):
8131 * process.c (start_process_unwind):
8132 * process.c (Fstart_process_internal):
8133 * process.c (Fopen_multicast_group_internal):
8134 * process.c (Fset_process_window_size):
8135 * process.c (read_process_output):
8136 * process.c (send_process):
8137 * process.c (Fprocess_tty_name):
8138 * process.c (Fset_process_buffer):
8139 * process.c (Fprocess_buffer):
8140 * process.c (Fprocess_mark):
8141 * process.c (set_process_filter):
8142 * process.c (Fset_process_filter):
8143 * process.c (Fprocess_filter):
8144 * process.c (Fprocess_send_region):
8145 * process.c (Fprocess_send_string):
8146 * process.c (exec_sentinel):
8147 * process.c (Fset_process_sentinel):
8148 * process.c (Fprocess_sentinel):
8149 * process.c (status_notify):
8150 * process.c (Fprocess_status):
8151 * process.c (Fprocess_exit_status):
8152 * process.c (process_send_signal):
8153 * process.c (Fprocess_send_eof):
8154 * process.c (deactivate_process):
8155 * process.c (remove_process):
8156 * process.c (Fdelete_process):
8157 * process.c (kill_buffer_processes):
8158 * process.c (Fprocess_kill_without_query):
8159 * process.c (Fprocess_kill_without_query_p):
8161 * rangetab.c (Fget_range_table):
8162 * rangetab.c (Fput_range_table):
8163 * rangetab.c (Fremove_range_table):
8164 * rangetab.c (Fclear_range_table):
8166 * search.c (Fskip_chars_forward):
8167 * search.c (Fskip_chars_backward):
8168 * search.c (Fskip_syntax_forward):
8169 * search.c (Fskip_syntax_backward):
8170 * search.c (search_command):
8171 * search.c (Freplace_match):
8172 * search.c (Fregexp_quote):
8173 * select.c (Fown_selection_internal):
8174 * select.c (Fselection_owner_p):
8175 * select.c (Fselection_exists_p):
8176 * select.c (Fget_selection_internal):
8179 * symbols.c (Fintern):
8180 * symbols.c (Fintern_soft):
8181 * symbols.c (Funintern):
8182 * symbols.c (Fapropos_internal):
8183 * symbols.c (Fset_default):
8185 * syntax.c (Fsyntax_table_p):
8186 * syntax.c (Fcopy_syntax_table):
8187 * syntax.c (Fset_syntax_table):
8188 * syntax.c (Fchar_syntax):
8189 * syntax.c (syntax_match):
8190 * syntax.c (Fmatching_paren):
8191 * syntax.c (Fforward_word):
8192 * syntax.c (scan_lists):
8193 * syntax.c (Fscan_lists):
8194 * syntax.c (Fscan_sexps):
8195 * syntax.c (Fparse_partial_sexp):
8196 * toolbar.c (Fcheck_toolbar_button_syntax):
8199 * window.c (Fwindowp):
8200 * window.c (Fwindow_live_p):
8201 * window.c (Fwindow_point):
8202 * window.c (Fdelete_window):
8203 * window.c (Fnext_window):
8204 * window.c (Fprevious_window):
8205 * window.c (Fother_window):
8206 * window.c (window_loop):
8207 * window.c (Fget_lru_window):
8208 * window.c (Fsplit_window):
8209 * window.c (Fenlarge_window):
8210 * window.c (Fenlarge_window_pixels):
8211 * window.c (Fshrink_window):
8212 * window.c (Fshrink_window_pixels):
8213 * window.c (change_window_height):
8214 * window.c (Fwindow_configuration_p):
8215 * window.c (Fcurrent_window_configuration):
8217 * casefiddle.c (casify_object):
8218 * casefiddle.c (Fupcase):
8219 * casefiddle.c (Fdowncase):
8220 * casefiddle.c (Fcapitalize):
8221 * casefiddle.c (Fupcase_initials):
8222 * casefiddle.c (casify_region_internal):
8223 * casefiddle.c (casify_region):
8224 * casefiddle.c (Fupcase_region):
8225 * casefiddle.c (Fdowncase_region):
8226 * casefiddle.c (Fcapitalize_region):
8227 * casefiddle.c (Fupcase_initials_region):
8228 * casefiddle.c (Fupcase_word):
8229 * casefiddle.c (Fdowncase_word):
8230 * casefiddle.c (Fcapitalize_word):
8231 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
8232 Replace 0 with '\0' when working with bytes.
8233 Replace initial "(" with "\(" in docstrings.
8235 2000-11-01 Martin Buchholz <martin@xemacs.org>
8237 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
8239 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
8241 2000-10-31 Martin Buchholz <martin@xemacs.org>
8243 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
8245 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8247 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
8250 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8252 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
8253 (inhibit_auto_save_session): New variable.
8254 (vars_of_fileio): Declare and initialize them.
8255 * fileio.c (Fdo_auto_save): Don't create session file if
8256 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
8258 2000-10-31 Martin Buchholz <martin@xemacs.org>
8260 * sgiplay.c (play_internal): C++ compilability.
8261 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
8262 * callproc.c (Fold_call_process_internal):
8263 Remove unused vars `env', `first'.
8264 * scrollbar.c (update_scrollbar_instance):
8265 #### unused var `current_window'.
8266 * redisplay-tty.c: Put currently unused vars insert_mode_on,
8267 etc. within #ifdef NOT_YET.
8268 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
8269 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
8270 * specifier.c (specifier_instance):
8271 #### unused var `tag'.
8272 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
8274 2000-10-27 Martin Buchholz <martin@xemacs.org>
8277 * fns.c (list_sort):
8278 * fns.c (Ffillarray):
8279 * fns.c (bytecode_nconc2):
8282 * fns.c (Fmapconcat):
8283 Be pedantically 64-bit correct. For the time when someone will
8284 want to have a list with length > 2**32.
8286 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
8287 Work around MIPSpro compiler bug.
8289 * process-unix.c (unix_kill_child_process): Add snarky comment.
8290 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
8292 * config.h.in: Oops, _getpt ==> _getpty
8294 2000-10-26 Martin Buchholz <martin@xemacs.org>
8298 Use void*, not char*, as return type of alloca().
8300 * alloc.c (free_marker): Side effect inside assert expression!
8302 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
8304 * mule-charset.c (Fset_charset_ccl_program): To check
8305 if the given ccl program is valid, use setup_ccl_program()
8306 instead of CHECK_VECTOR().
8307 (Fmake_charset): Likewise.
8309 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
8311 * faces.c (get_extent_fragment_face_cache_index):
8312 Fix cachel.merged_faces memory leak.
8314 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
8316 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
8317 Reset MSB of octets obtained by DECODE_SJIS
8318 because of the incompatibility with Emacs.
8319 (ccl_driver)<CCL_ENCODE_SJIS>:
8320 Set MSB of octets before passing them to
8321 ENCODE_SJIS because of the incompatibility
8324 2000-10-18 Daiki Ueno <ueno@unixuser.org>
8326 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
8327 (DECLARE_LRECORD): Undo the last change.
8328 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
8330 2000-10-17 Daiki Ueno <ueno@unixuser.org>
8332 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
8333 the implementation to lrecord_implementations_table.
8335 2000-10-14 Daiki Ueno <ueno@unixuser.org>
8337 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
8338 initial value of `lrecord_type_##c_name' and
8339 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
8340 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
8341 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
8342 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
8343 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
8345 2000-10-17 Martin Buchholz <martin@xemacs.org>
8347 * miscplay.c (sndcnv8S_2mono):
8348 (sndcnv2monounsigned):
8349 (sndcnvULaw_2linear):
8351 Remove implementation-defined behavior.
8353 2000-10-12 Martin Buchholz <martin@xemacs.org>
8355 * input-method-xlib.c: Warning suppression.
8357 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
8359 * mule-ccl.c: Sync up with Emacs 21.0.90.
8360 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
8362 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
8364 (ccl_driver[WriteMultibyteChar2]): Bug fix.
8365 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
8366 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
8367 leading char belongs to official 2-dimensional charset.
8368 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
8369 write the given character as is. Otherwise,
8370 if it is a multibyte char, convert it by
8371 non_ascii_set_charptr_emchar, then write it.
8372 (CCL_WRITE_STRING): Likewise.
8373 (ccl_get_compiled_code): New function.
8374 (setup_ccl_program): When ccl_prog is invalid,
8376 (Fregister_code_conversion_map): New function.
8377 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
8379 * mule-ccl.h: Sync up with Emacs 21.0.90.
8380 (Fregister_ccl_program): export it.
8382 * redisplay-msw.c (separate_textual_runs):
8383 If ccl program is not valid, don't do ccl conversion.
8385 * redisplay-x.c (separate_textual_runs): Ditto.
8387 * file-coding.c (Fmake_coding_system):
8388 When type is ccl and value is vector, register it
8389 with a proper symbol. And checks whether the
8390 given ccl program is valid.
8391 (mule_decode): When calling ccl_driver, if src indicates
8392 NULL pointer, set an empty string instead.
8393 (mule_encode): Likewise.
8395 2000-10-11 Martin Buchholz <martin@xemacs.org>
8397 The following large batch of changes gets us back to a state of
8398 C++ compilability. Extbyte is now a char, which means that
8399 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
8401 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
8403 * sound.c (Fplay_sound): Type correctness.
8405 * select-x.c (hack_motif_clipboard_selection): Type correctness.
8406 (x_get_window_property): Type correctness.
8407 (receive_incremental_selection): unsigned char ==> Extbyte
8408 (selection_data_to_lisp_data): unsigned char ==> Extbyte
8409 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
8410 (Fx_store_cutbuffer_internal): Type correctness.
8412 * process-unix.c (try_to_initialize_subtty): Type correctness.
8414 * objects-x.c (x_print_color_instance): Type correctness.
8415 (x_print_font_instance): Type correctness.
8416 (x_list_fonts): SExtbyte ==> Extbyte.
8417 (valid_x_font_name_p): SExtbyte ==> Extbyte.
8418 (x_find_charset_font): SExtbyte ==> Extbyte.
8419 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
8420 (truename_via_XListFonts): SExtbyte ==> Extbyte.
8421 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
8424 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
8425 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
8426 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
8427 (BYTE_C0_P): Use bit ops for char-signedness safety.
8428 (BYTE_C1_P): Use bit ops for char-signedness safety.
8429 (CHARSET_BY_LEADING_BYTE):
8430 (CHARSET_BY_ATTRIBUTES):
8431 Always use inline function.
8432 Use type_checking_assert.
8435 * mule-charset.c (non_ascii_charptr_copy_char):
8436 Modify to work with both ASCII and non-ASCII characters.
8437 Improve docs and variable names.
8438 Replace over-clever fall-through switch with a simple loop.
8439 (Lstream_get_emchar_1):
8440 Replace over-clever fall-through switch with a simple loop.
8442 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8443 Warning suppression.
8445 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
8446 the return value of Lstream_getc, which could be EOF as well.
8448 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
8450 * lisp.h: Make Extbyte a char, not unsigned char, so that external
8451 APIs can be used on Extbytes without casts. Risky!
8455 * input-method-xlib.c (XIM_init_device):
8456 Use Xlib.h instead of IntrinsicP.h.
8457 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
8458 which will break in X11R7.
8459 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
8460 to call XRegisterIMInstantiateCallback with correct types.
8462 * gui-x.c (button_item_to_widget_value): Type correctness.
8464 * glyphs.c (bitmap_to_lisp_data): Type correctness.
8466 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
8467 (xbm_instantiate_1): Type correctness.
8468 (BUILD_GLYPH_INST): Type correctness.
8470 * fileio.c (Fsubstitute_in_file_name): Type correctness.
8473 (decode_coding_sjis):
8474 (decode_coding_big5):
8475 (decode_coding_ucs4):
8476 (decode_coding_utf8):
8477 (decode_coding_iso2022):
8478 (decode_coding_no_conversion):
8479 Make all decoding functions take an Extbyte * arg.
8480 (encode_coding_sjis):
8481 (encode_coding_big5):
8482 (encode_coding_ucs4):
8483 (encode_coding_utf8):
8484 (encode_coding_iso2022):
8485 (encode_coding_no_conversion):
8486 Make all encoding functions take a Bufbyte * arg.
8487 Use size_t instead of unsigned int for memory sizes.
8488 Only cast to unsigned char whenever dereferencing Extbyte *.
8490 * doc.c (unparesseuxify_doc_string): Type correctness.
8492 * console-x.c (split_up_display_spec):
8493 Rewrite without using details of internal string representation.
8494 (x_semi_canonicalize_device_connection): Type correctness.
8497 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
8498 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
8499 (HAVE_XFREE386): Removed.
8501 * buffer.h (DEC_CHARPTR): `const' correctness.
8502 (bufbyte_strcmp): New.
8503 (bufbyte_memcmp): New.
8505 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
8507 * buffer.h (XCHAR_OR_CHAR_INT):
8508 Always use inline function.
8509 Remove redundant type checking assert() - XINT will abort quite nicely.
8511 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
8513 * search.c (Freplace_match): Set newtext to an empty string.
8515 2000-10-10 Martin Buchholz <martin@xemacs.org>
8517 * s/decosf1-3.h: Remove #include of stropts.h
8518 * s/ptx.h: Remove #include of stropts.h
8519 * s/usg5-4.h: Remove #include of stropts.h
8522 Use stropts.h, not sys/stropts.h.
8523 Use strtio.h, not sys/strtio.h.
8525 2000-10-04 Martin Buchholz <martin@xemacs.org>
8527 * XEmacs 21.2.36 is released.
8529 2000-09-21 Andy Piper <andy@xemacs.org>
8531 * glyphs-x.c (x_redisplay_widget): make sure non-structural
8532 changes still involve copying the widget tree.
8533 (update_widget_face): make sure a change is register in the widget
8534 tree. Call update_tab_widget_face appropriately.
8535 (update_tab_widget_face): ditto.
8536 (x_tab_control_redisplay): make sure non-structural changes still
8537 involve copying the widget tree.
8539 2000-08-31 Daiki Ueno <ueno@unixuser.org>
8541 * lread.c (locate_file): Check the path element is non-nil.
8543 2000-10-02 Martin Buchholz <martin@xemacs.org>
8545 * lisp.h: Warning suppression for SCO compilers.
8547 * redisplay-tty.c (reset_tty_modes): Fix crash.
8548 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
8550 2000-09-27 Martin Buchholz <martin@xemacs.org>
8552 Big signal/process handling overhaul. Bugs fixed:
8553 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
8554 M-x comint-kill-subjob should work for both values nil and t of
8555 process-connection-type. It was broken on most platforms.
8556 Testing on Irix and Cygwin still needed. Other plaforms tested.
8557 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
8558 * process-unix.c: Signal/Process handling overhaul.
8559 (pty_name): make 64 bytes, as `expect' does, for paranoia.
8560 (allocate_pty): Use all available modern methods of allocating
8561 ptys, falling back to old style BSD allocation as a last resort.
8562 Use allegedly more secure Unix98 pty allocation by default.
8563 (allocate_pty_the_old_fashioned_way): New. the last resort.
8564 (unix_create_process): Push ptem, ldterm, ttcompat where
8565 available. Autoconfiscate.
8566 (try_to_initialize_subtty): New.
8567 (unix_kill_child_process): Proper signal handling for ptys on most
8568 platforms, using special knowledge of AIX, BSD, etc...
8569 (unix_create_process): Always disconnect_controlling_terminal() for
8570 subprocesses, whether using ptys or not.
8571 * process.h: Remove old getpt-dependent PTY code.
8572 * process.c (Fprocess_send_signal): New, obvious generic function.
8573 (decode_signal): New.
8574 (Finterrupt_process):
8578 (Fcontinue_process):
8579 (Fsignal_process): Use decode_signal.
8580 (process_send_signal):
8581 Many docstring corrections.
8582 Allow any signal to be sent to a process object.
8583 * config.h.in: Add symbols for big signal/process overhaul.
8584 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
8585 * sysproc.h: Include process-related headers, where available:
8586 sys/stropts.h sys/strtio.h pty.h libutil.h
8594 Remove old S&M pty stuff.
8595 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
8596 * systty.h: Simplify cpp hackery, improve comments.
8597 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
8599 * editfns.c (Fformat_time_string):
8600 Be a little more paranoid with the return value of ctime.
8602 * fileio.c (check_executable):
8604 Use symbolic constants X_OK, W_OK.
8606 * console-x.c (split_up_display_spec): Fix a warning.
8608 2000-10-02 Martin Buchholz <martin@xemacs.org>
8610 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
8611 * ntproc.c (sys_spawnve): make_string ==> build_string
8612 Small clarity improvements.
8614 2000-09-30 Martin Buchholz <martin@xemacs.org>
8616 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
8618 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
8620 * config.h.in (HAVE_STRCASECMP): Remove.
8622 2000-09-29 Martin Buchholz <martin@xemacs.org>
8624 * redisplay-output.c (redisplay_output_pixmap):
8625 Cleaner and possibly more 64-bit correct code.
8627 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
8629 * dumper.c (pdump_load_finish): move restoration of
8630 `noninteractive1' to emacs.c (main_1).
8631 * emacs.c (main_1): protect LISP-visible command-line flags
8634 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
8636 * Makefile.in.in (versionclean): Use EXE_TARGET and
8637 DUMP_TARGET instead of literal program names.
8639 2000-09-20 Martin Buchholz <martin@xemacs.org>
8641 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
8643 2000-09-19 Martin Buchholz <martin@xemacs.org>
8645 * *: Spelling mega-patch
8647 2000-09-19 Martin Buchholz <martin@xemacs.org>
8649 * fns.c (bad_bad_turtle):
8650 Delete "Eek!" comment, since we fixed the bug to which it refers.
8652 2000-09-16 Martin Buchholz <martin@xemacs.org>
8654 * alloca.c: Replace REGISTER with register.
8656 2000-09-16 Daiki Ueno <ueno@unixuser.org>
8658 * file-coding.c (ucs_to_char): Use countof.
8660 2000-09-16 Martin Buchholz <martin@xemacs.org>
8662 * file-coding.c: (ucs_to_char):
8663 (complex_vars_of_file_coding):
8664 Use countof instead of sizeof.
8665 Use CHECK_NATNUM instead of CHECK_INT.
8667 * sysdep.c (strcasecmp): Remove.
8668 * device-x.c (ascii_strcasecmp): New.
8669 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
8670 Avoid using non-standard non-portable strcasecmp.
8672 2000-09-16 Martin Buchholz <martin@xemacs.org>
8674 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
8675 * font-lock.c: remove reference to emacsfns.h.
8676 * search.c: small doc improvement.
8677 * event-Xt.c: correct file names in comments.
8678 * console-x.h Correct file names in comments.
8679 * frame.c: Correct file names in comments.
8680 * event-stream.c: remove Energize from comments.
8682 2000-09-15 Martin Buchholz <martin@xemacs.org>
8684 * symeval.h (DEFERROR_STANDARD):
8687 (DEFSYMBOL_NO_DUMP):
8688 (DEFSYMBOL_MULTIWORD_PREDICATE):
8689 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
8691 The construct &##name is not sensible C.
8692 Fixes compilation errors with Unixware native compiler.
8694 2000-09-14 Martin Buchholz <martin@xemacs.org>
8696 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
8697 (next_frame_internal): Removed. We now just have next_frame.
8699 Write a simpler and cleaner one-pass algorithm.
8700 Remove called_from_delete_device arg and #ifdefed-out code.
8702 Renamed from prev_frame. Update callers.
8703 Cleaned up to have an analogous implementation to next_frame.
8704 (other_visible_frames_internal): Remove the
8705 called_from_delete_device bogus arg, and hence, remove this
8706 function. Just use other_visible_frames().
8708 * window.c (Fnext_window):
8710 Since next_frame() is guaranteed to return a frame, remove check
8711 for nil inserted in previous patch.
8714 Make code look more like Fnext_window.
8716 Respect the `console' arg when iterating through windows.
8717 Fixes bug: (get-buffer-window buffer t device) not respecting
8719 This function needs more work, as others have pointed out.
8721 * frame.h: Rename prev_frame to previous_frame.
8722 device_matches_console_spec no longer takes a `frame' arg.
8727 Use EMACS_BLOCK_SIGNAL instead of sigblock.
8728 From "Golubev I. N." <gin@mo.msk.ru>.
8730 * make-src-depend: Fix typo.
8732 2000-09-13 Martin Buchholz <martin@xemacs.org>
8734 * window.c (Fnext_window):
8735 next_frame() might return nil, not a frame.
8737 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
8739 * frame.c (next_frame_internal):
8740 We've passed a frame if we've passed its device.
8742 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
8743 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
8745 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
8747 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
8748 Allow option to suppress accelerators in menu/dialog items.
8749 (populate_or_checksum_helper): Pass dialog title through above.
8751 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
8753 * event-msw.c (mswindows_key_to_emacs_keysym):
8754 Add "pause" key, fix "menu" key.
8756 2000-09-09 Martin Buchholz <martin@xemacs.org>
8758 * eval.c (reinit_vars_of_eval):
8759 Increase max_lisp_eval_depth to 1000,
8760 required for thai-xtis.el to byte-compile under some circumstances.
8762 2000-09-04 Martin Buchholz <martin@xemacs.org>
8764 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
8767 2000-09-01 Martin Buchholz <martin@xemacs.org>
8769 * make-src-depend: Make the generated Makefiles smaller.
8771 * s/hpux.h (SETUP_SLAVE_PTY):
8772 Provide a %d in the format string for the errno argument.
8774 * editfns.c (Ftemp_directory):
8776 Avoid buffer overrun on very long file name.
8778 * input-method-xlib.c (XIM_init_device):
8779 6th parameter of XRegisterIMInstantiateCallback has different
8780 pointer types on different OSes, so simply cast to (void *).
8782 * unexhp9k800.c: Warning fixes. Fiddly changes.
8784 * sysdll.c (dll_open):
8785 shl_load will hang hard if passed a NULL filename.
8786 Simply return NULL for compatibility with dlopen.
8787 * sysdll.c: Conform to XEmacs coding standards.
8789 * sysdep.c (get_pty_max_bytes):
8790 Support pty input lines longer than 512 bytes on HP-UX 10.20.
8792 2000-08-31 Martin Buchholz <martin@xemacs.org>
8794 * tooltalk.c: Add #include <syssignal.h>
8796 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
8798 * s/hpux.h: Don't use undefined function sigunblock().
8800 2000-08-31 Martin Buchholz <martin@xemacs.org>
8802 * config.h.in: Add HAVE_BALLOON_HELP.
8803 * emacs.c: Use HAVE_BALLOON_HELP.
8804 * Makefile.in.in (x_objs):
8805 Make Balloon Help conditional on finding shape.h.
8807 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
8809 * syntax.c (regex_emacs_buffer_p): New variable.
8810 * syntax.h (regex_emacs_buffer_p): extern.
8811 * search.c (looking_at_1):
8813 (fast_string_match):
8814 (search_buffer): Set regex_emacs_buffer_p.
8815 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
8816 when before_dot, at_dot, after_dot.
8818 2000-08-23 Andy Piper <andy@xemacs.org>
8820 * gui-x.c (popup_selection_callback): Only set action_occurred
8821 when we really have an image instance.
8822 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
8824 2000-08-23 Andy Piper <andy@xemacs.org>
8826 * gui-msw.c (mswindows_handle_gui_wm_command): set
8828 * gui-x.c (popup_selection_callback): ditto.
8830 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
8831 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
8832 (struct Lisp_Image_Instance): add action_occurred flag.
8834 * glyphs.c (redisplay_subwindow): use action_occurred flag.
8835 (image_instance_changed): ditto.
8836 (reset_frame_subwindow_instance_cache): only unmap windows - do
8837 not remove them from the cache also.
8839 * glyphs-widget.c (tab_control_update): better debug.
8840 (progress_gauge_update): ditto.
8841 (layout_update): ditto.
8842 (layout_instantiate): ditto.
8843 (tab_control_order_only_changed): cope with null pending items.
8845 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
8846 debug. Force selection of an item when an action occurred. Cope
8847 with null pending_items.
8848 (mswindows_progress_gauge_redisplay): better debug.
8849 * glyphs-x.c (x_tab_control_redisplay): ditto.
8851 * redisplay.c (redisplay_frame): reset the frame cache if the
8854 * window.c (Fset_window_configuration): potentially re-enable
8856 (window_unmap_subwindows): need to finalize instances here since
8857 it is only used in mark_window_as_deleted.
8859 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
8861 * nas.c (SndOpenDataForReading):
8862 nas.c (WaveOpenDataForReading):
8863 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
8864 Somehow escaped from the 2000-08-14 patch.
8866 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
8868 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
8869 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
8871 2000-08-21 Andy Piper <andy@xemacs.org>
8873 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
8874 window if it is not already displayed.
8876 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
8877 it is not already displayed.
8879 * window.c (Fset_window_configuration): don't reset the frame
8882 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
8883 instances from the frame cache if we are actually finalizing them.
8884 (reset_frame_subwindow_instance_cache): reset frame cache only
8885 after unmapping everything.
8886 (map_subwindow): set displayed flag after mapping.
8888 2000-08-21 Martin Buchholz <martin@xemacs.org>
8890 * data.c (indirect_function):
8891 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
8893 * eval.c (function_argcount):
8894 Use original function when signaling errors.
8896 2000-08-18 Andy Piper <andy@xemacs.org>
8898 * frame.c (delete_frame_internal): use new
8899 free_frame_subwindow_instances name.
8901 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
8902 (add_tab_item): make return type correct.
8903 (mswindows_tab_control_instantiate): assert index of tab.
8904 (mswindows_tab_control_redisplay): Re-code to use
8905 gui_item_equal_sans_selected and gui_item_list_find_selected.
8907 * glyphs-widget.c (tab_control_update): Correct comment.
8909 * window.c (window_unmap_subwindows): use new
8910 unmap_subwindow_instance_cache_mapper.
8911 (window_unmap_subwindows_cache_mapper): deleted.
8912 (Fset_window_configuration): comparisons should now be with
8913 EQ. Preserve the subwindow instance cache across configuration
8915 (allocate_window): ditto.
8916 (make_dummy_parent): ditto.
8918 * glyphs.c (free_frame_subwindow_instances): rename from
8919 free_frame_subwindow_instance_cache. finalize all instances rather
8920 than just those in the display cache.
8921 (finalize_all_subwindow_instances): walk windows unmapping and
8922 finalizing subwindows.
8923 (unmap_subwindow_instance_cache_mapper): moved from
8924 window.c. Allow finalization as well as unmapping.
8926 * gui.c (gui_item_list_find_selected): new function.
8928 * gui.h (gui_item_list_find_selected): declare.
8930 * glyphs-x.c (x_tab_control_redisplay): pick tab
8931 explicitly. Re-code to use gui_item_equal_sans_selected and
8932 gui_item_list_find_selected.
8934 * glyphs-x.h: add lwlib-utils.h
8936 * buffer.c (Frecord_buffer): undo previous change.
8938 2000-08-09 Vin Shelton <acs@xemacs.org>
8940 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
8941 possible. Create temporary files more securely. The patch was
8942 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
8943 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
8944 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
8947 2000-08-07 Ben Wing <ben@xemacs.org>
8949 * getloadavg.c: remove duplicate (and windows-breaking)
8950 includes of fcntl.h and sys/file.h.
8952 * nt.c: remove duplicate getloadavg() definition.
8954 * sysdll.h (Qdll_filename_encoding): add missing stand-in
8957 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
8959 * eval.c (function_argcount): If function needs to be autoloaded
8960 actually use the loaded definition.
8963 2000-08-05 Ben Wing <ben@xemacs.org>
8965 * getloadavg.c: add prototype for getloadavg(). remove
8966 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
8967 of the code). remove duplicate header includes.
8969 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
8971 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
8972 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
8973 useful load average.
8975 * alloc.c (reinit_alloc_once_early): removed references to
8976 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
8977 the lisp vars are the only things referencing the malloc_sbrk_*
8978 vars, and they were already if 0'd out. these vars only exist
8979 in the older malloc.c, which is basically unused, and they're
8980 only for informational purposes.
8982 * m\*.h: removed useless VIRT_ADDR_VARIES.
8984 * m\powerpc.h: removed stray NO_ARG_ARRAY.
8986 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
8988 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
8989 color if the image is a mono pixmap.
8991 2000-07-30 Ben Wing <ben@xemacs.org>
8993 * Makefile.in.in (release):
8996 * buffer.c (directory_is_current_directory):
8997 * dired-msw.c (mswindows_get_files):
8999 * dired.c (Fdirectory_files):
9000 * dired.c (file_name_completion_stat):
9001 * dired.c (Ffile_attributes):
9002 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
9003 preprocessor tricks, to avoid problems on some machines
9006 * callproc.c (egetenv): GC docs.
9009 * console-msw.h (struct mswindows_dialog_id):
9010 * lrecord.h (lrecord_type):
9011 New object for use with MSW dialogs.
9013 * console.h (struct console_methods):
9014 New enable/disable frame methods, for proper modal dialogs.
9016 * device-msw.c (msprinter_default_printer): Fix to follow
9017 proper Mule conventions.
9020 * device-msw.c (signal_open_printer_error):
9021 * device-msw.c (msprinter_init_device):
9022 * device-msw.c (ensure_not_printing):
9023 * device-msw.c (plist_get_margin):
9024 * device-msw.c (Fmsprinter_select_settings):
9025 * device-msw.c (finalize_devmode):
9026 * device-msw.c (Fmsprinter_settings_despecialize):
9027 * device-msw.c (signal_enum_priner_error):
9028 * extents.c (decode_extent):
9029 * extents.c (decode_map_extents_flags):
9030 * extents.c (decode_extent_at_flag):
9031 * extents.c (Fextent_at):
9032 * extents.c (Fextents_at):
9033 * extents.c (symbol_to_glyph_layout):
9034 [[[[2]]]] Use structured errors.
9037 * dialog-msw.c (mswindows_is_dialog_msg):
9038 * dialog-msw.c (mark_mswindows_dialog_id):
9039 * dialog-msw.c (dialog_proc):
9040 * dialog-msw.c (handle_question_dialog_box):
9041 * dialog-msw.c (syms_of_dialog_mswindows):
9042 Define new object to clean up marking; use it as a dialog identifier.
9043 Call new delete-dialog-box-hook.
9045 * dialog-x.c (dbox_selection_callback):
9046 * dialog-x.c (dbox_descriptor_to_widget_value):
9047 * dialog-x.c (x_make_dialog_box_internal):
9048 Call new delete-dialog-box-hook.
9052 * dialog.c (syms_of_dialog):
9053 * dialog.c (vars_of_dialog):
9054 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
9057 * eval.c (signal_call_debugger):
9058 when noninteractive, output stack traces on the console instead
9059 of in a (never-seen) buffer.
9061 * eval.c (signal_type_error):
9062 * eval.c (invalid_argument_2):
9064 new funs for use w/structured errors.
9067 * event-Xt.c (x_to_emacs_keysym):
9068 * event-Xt.c (describe_event):
9069 * event-Xt.c (emacs_Xt_event_handler):
9070 * event-Xt.c (vars_of_event_Xt):
9072 * event-msw.c (mswindows_wnd_proc):
9073 * event-msw.c (vars_of_event_mswindows):
9074 rename {x,mswindows}-debug-events to debug-{}-events for
9075 consistency with other debug-foo variables.
9078 document next-event more clearly.
9080 * fileio.c (Ffile_name_directory):
9081 * fileio.c (Ffile_name_nondirectory):
9082 * fileio.c (Funhandled_file_name_directory):
9083 * fileio.c (file_name_as_directory):
9084 * fileio.c (Ffile_name_as_directory):
9085 * fileio.c (directory_file_name):
9086 * fileio.c (Fdirectory_file_name):
9087 * fileio.c (Fmake_temp_name):
9088 * fileio.c (Ffile_truename):
9089 * fileio.c (Fsubstitute_in_file_name):
9090 * fileio.c (expand_and_dir_to_file):
9091 * fileio.c (barf_or_query_if_file_exists):
9092 * fileio.c (check_executable):
9093 * fileio.c (Ffile_exists_p):
9094 * fileio.c (Ffile_writable_p):
9095 * fileio.c (Ffile_directory_p):
9096 * fileio.c (Ffile_regular_p):
9097 * fileio.c (Ffile_modes):
9098 * fileio.c (Ffile_newer_than_file_p):
9099 * fileio.c (Fverify_visited_file_modtime):
9100 * fileio.c (Fset_visited_file_modtime):
9101 * fileio.c (auto_save_1):
9106 * frame-msw.c (mswindows_init_frame_1):
9107 * frame-msw.c (mswindows_enable_frame):
9108 * frame-msw.c (error_frame_unsizable):
9109 * frame-msw.c (msprinter_init_frame_1):
9110 * frame-msw.c (msprinter_init_frame_3):
9111 * frame-msw.c (console_type_create_frame_mswindows):
9113 implement new enable/disable frame methods.
9116 * frame-x.c (x_enable_frame):
9117 * frame-x.c (console_type_create_frame_x):
9118 implement new enable/disable frame methods.
9121 * frame.c (Fdisable_frame):
9122 * frame.c (syms_of_frame):
9123 * frame.h (struct frame):
9124 implement new enable/disable frame methods/functions.
9129 * glyphs-msw.c (mswindows_widget_instantiate):
9130 comment that initial-focus should be implemented.
9133 * glyphs-widget.c (check_valid_instantiator):
9134 * glyphs-widget.c (check_valid_orientation):
9135 * glyphs-widget.c (check_valid_tab_orientation):
9136 * glyphs-widget.c (check_valid_justification):
9137 * glyphs-widget.c (check_valid_border):
9138 * glyphs-widget.c (check_valid_callback):
9139 * glyphs-widget.c (check_valid_int_or_function):
9140 * glyphs-widget.c (check_valid_string_or_vector):
9141 * glyphs-widget.c (check_valid_item_list_1):
9142 * glyphs-widget.c (widget_validate):
9143 * glyphs-widget.c (combo_box_validate):
9144 * glyphs-widget.c (widget_instantiate):
9145 * glyphs-widget.c (syms_of_glyphs_widget):
9146 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
9147 * glyphs-widget.c (image_instantiator_combo_box):
9148 * glyphs-widget.c (image_instantiator_scrollbar):
9149 * glyphs-widget.c (image_instantiator_tab_control):
9150 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
9152 support (unimplemented) keyword initial-focus.
9153 reindent long macros.
9155 * glyphs-x.c (x_redisplay_widget):
9156 * glyphs-x.c (x_button_instantiate):
9157 * glyphs-x.c (x_button_redisplay):
9158 * glyphs-x.c (x_progress_gauge_instantiate):
9159 * glyphs-x.c (x_edit_field_instantiate):
9160 * glyphs-x.c (x_combo_box_instantiate):
9161 * glyphs-x.c (x_tab_control_instantiate):
9162 * glyphs-x.c (x_label_instantiate):
9164 * gui-x.c (button_item_to_widget_value):
9165 * gui-x.c (gui_items_to_widget_values_1):
9166 * gui-x.c (gui_item_children_to_widget_values):
9167 * gui-x.c (gui_items_to_widget_values):
9169 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9170 add new flag to gui-parsing routines to indicate whether
9171 accelerator specs should be supported.
9173 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
9175 * glyphs.h (struct Lisp_Image_Instance):
9176 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
9177 add initial-focus flag.
9180 * gui.c (syms_of_gui):
9181 * gui.c (vars_of_gui):
9182 clean up menu-no-selection-hook.
9185 support delete-dialog-box-hook.
9187 * lread.c (Fload_internal):
9188 * lread.c (locate_file_in_directory_mapper):
9192 * lrecord.h (struct toolbar_button):
9193 * lrecord.h (syms_of_toolbar):
9194 document how to create a new object.
9196 * menubar-msw.c (mswindows_char_is_accelerator):
9197 may be called on frames w/o menus.
9199 * menubar.c (vars_of_menubar):
9200 clean up :filter docs.
9207 * process-nt.c (validate_signal_number):
9208 * process-nt.c (signal_cannot_launch):
9209 * process-nt.c (nt_create_process):
9210 * process-nt.c (nt_send_process):
9211 * process-nt.c (nt_kill_child_process):
9212 * process-nt.c (nt_open_network_stream):
9213 * process-nt.c (syms_of_process_nt):
9215 delete quote-handling. call new lisp code that does it better.
9217 * process-unix.c (connect_to_file_descriptor):
9218 * process-unix.c (allocate_pty):
9219 * process-unix.c (unix_send_process):
9220 * process-unix.c (unix_kill_child_process):
9221 * process-unix.c (unix_open_network_stream):
9222 * process-unix.c (unix_open_multicast_group):
9226 * process.c (Fstart_process_internal):
9227 (2). need to canonicalize process path even if absolute.
9229 * select-msw.c (symbol_to_ms_cf):
9230 * select-msw.c (ms_cf_to_symbol):
9231 * select-msw.c (cf_is_autofreed):
9232 * select-msw.c (mswindows_destroy_selection):
9234 * select.c (syms_of_select):
9236 support dibv5, fix bugs. (from Mike Alexander)
9238 * select.c (Fget_selection_internal):
9239 * select.c (select_convert_out):
9242 * sysdep.c (xemacs_stat):
9247 but keep original stat() here because we provide encapsulation
9251 * sysfile.h (fstat):
9252 remove stat garbage.
9256 don't include tchar.h. it's inappropriate because it makes
9257 compile-time distinctions when we want runtime distinctions.
9258 (we provide our own tchar replacements)
9261 use default object printer for toolbar-button.
9264 make sure we don't encapsulate.
9266 * window.c (vars_of_window):
9267 emphasize that temp-buffer-show-hook is obsolete.
9269 2000-08-05 Martin Buchholz <martin@xemacs.org>
9271 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
9272 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
9274 * events.c (Fevent_timestamp_lessp):
9275 Not 64-bit clean. Use EMACS_INT, not int.
9277 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
9279 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
9280 unsigned int and changed the last enum to
9281 lrecord_type_last_built_in_type.
9282 (lrecord_implementations_table): changed prototype to know how
9283 long the array is supposed to be.
9284 (lrecord_type_count): new unsigned int to keep track of the
9285 current number of lisp lrecord types.
9286 (DEFINE_EXTERNAL_LRECORD):
9287 (DECLARE_EXTERNAL_LRECORD): Added these two for external
9288 dynamic-modules to declare new lisp types. They are the same
9289 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
9290 int for each new type, and increment lrecord_type_count by 1.
9292 * alloc.c (lrecord_implementations_table): Changed to reference
9293 lrecord_type_last_built_in_type for the size of the array.
9294 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
9296 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9298 * glyphs.h (check_valid_item_list): Renamed from
9299 check_valid_item_list_1.
9301 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
9303 * select.c (Qselect_coerce): New.
9304 * select.c (Vselection_coercion_alist): New.
9305 * select.c (syms_of_select): Declare.
9306 * select.c (get-selection-internal): Use it.
9307 Use the new select-coerce functionality.
9309 * select.c (select_coerce): New.
9310 * select.h (select_coerce): Declare.
9311 New function to coerce one type of data into another.
9313 2000-08-03 Martin Buchholz <martin@xemacs.org>
9315 * callproc.c (Fcall_process_internal):
9316 (Fcall_process_internal):
9317 * process-unix.c (unix_create_process):
9318 Save and restore the value of errno, so that error messages are accurate.
9320 2000-08-01 Martin Buchholz <martin@xemacs.org>
9322 * elhash.c (print_hash_table):
9323 Fix printing of hash tables to also use `key-and-value' instead of `t'.
9324 Prettify docstrings and indentation.
9326 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
9328 * window.c (Fwindow_pixel_edges): Subtract frame border and
9331 2000-07-31 Andy Piper <andy@xemacs.org>
9333 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
9334 will acknowledge the change.
9336 * glyphs.h: declare tab_control_order_only_changed.
9338 * glyphs-x.c (x_tab_control_redisplay): use
9339 tab_control_order_only_changed.
9341 * glyphs-widget.c (tab_control_order_only_changed): new function.
9343 * glyphs-msw.c (mswindows_tab_control_redisplay): use
9344 tab_control_order_only_changed.
9346 * gui.c (gui_item_equal_sans_selected): new function.
9347 (gui_item_equal): use it.
9349 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
9350 :properties in favor of :items..
9352 * glyphs-widget.c (check_valid_item_list): rename from
9353 check_valid_item_list_1.
9354 (check_valid_item_list_1): renamed.
9355 (combo_box_validate): deprecate :properties in favor of :items.
9356 (widget_instantiate): ditto.
9357 (tab_control_update): ditto.
9358 (image_instantiator_combo_box): ditto.
9359 (image_instantiator_tree_view): ditto.
9360 (image_instantiator_tab_control): ditto.
9361 (layout_post_instantiate): remove dead code.
9363 * print.c (debug_print_no_newline): only write to debugger if in
9366 * elhash.c (Fmake_hash_table): update doc string.
9368 * event-msw.c (mswindows_wnd_proc): don't allow processing of
9369 messages whilst in GC. This at least stops XEmacs crashing but has
9370 the potential for wierd behaviour.
9372 2000-07-31 Martin Buchholz <martin@xemacs.org>
9375 Make existence of s&m files optional.
9377 * s/bsd386.h: Remove HAVE_GETLOADAVG.
9378 * s/freebsd.h: Remove HAVE_GETLOADAVG.
9379 * s/gnu.h: Remove HAVE_GETLOADAVG.
9380 * s/netbsd.h: Remove HAVE_GETLOADAVG.
9381 * s/sol2.h: Remove HAVE_GETLOADAVG.
9382 * lisp.h: Remove getloadavg() declaration.
9384 Include <sys/loadavg.h> if available.
9385 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
9386 * config.h.in: Group together getloadavg()-related macros.
9387 Use only configure-time tests to detect getloadavg().
9389 2000-07-30 Martin Buchholz <martin@xemacs.org>
9391 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
9393 2000-07-25 Andy Piper <andy@xemacs.org>
9395 * syswindows.h: add tchar.h for native builds.
9397 * frame.c (syms_of_frame): remove set-glyph-image.
9399 * general-slots.h: add Qset_glyph_image.
9401 * glyphs-widget.c (layout_update): add domain arg to
9403 (syms_of_glyphs_widget): remove set-glyph-image.
9405 2000-07-23 Ben Wing <ben@xemacs.org>
9407 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
9410 2000-07-22 Andy Piper <andy@xemacs.org>
9412 * symsinit.h: add syms_of_win32().
9414 * gui-msw.c (syms_of_gui_mswindows): remove
9415 Fmswindows_shell_execute.
9416 (Fmswindows_shell_execute): moved to win32.c.
9418 * emacs.c (main_1): add syms_of_win32 ().
9420 * win32.c (init_potentially_nonexistent_functions): rewrite in
9421 compiler-friendly terms.
9422 (Fmswindows_shell_execute): move here from gui-msw.c.
9423 (syms_of_win32): new.
9425 * device-msw.c (Fmswindows_printer_list): clean up args to
9427 Don't include tchar under cygwin or mingw.
9428 (msprinter_default_printer): make cygwin-friendly.
9430 2000-07-21 Andy Piper <andy@xemacs.org>
9432 * glyphs-widget.c (image_instantiator_tree_view): use tab
9433 control's update function.
9434 (layout_property): new function. Retrieve items.
9436 * glyphs-msw.c (mswindows_tree_view_redisplay): new
9437 function. Re-populate the tree view from the pending items.
9439 * glyphs.c (instantiate_image_instantiator): Make sure the domain
9440 is designated the parent if the domain is an image instance. This
9441 is needed so that dirtiness can be cascade up the hierarchy and
9442 thus for layout children to be redisplayed correctly.
9443 (allocate_image_instance): rename glyph -> parent.
9445 * redisplay.h: change redisplay_output_layout signature.
9447 * redisplay-msw.c (mswindows_output_display_block): use domain
9450 * redisplay-x.c (x_output_display_block): use domain arg.
9452 2000-07-10 Andy Piper <andy@xemacs.org>
9454 * window.c (Fset_window_configuration): add comment.
9456 * redisplay-output.c (compare_runes):
9457 (redisplay_output_subwindow): redisplay rather than update subwindow.
9458 (redisplay_output_layout): ditto.
9460 * redisplay-msw.c (mswindows_frame_output_end):
9461 (mswindows_frame_output_end): make defer window pos optional.
9463 * lisp.h: add Flast.
9465 * glyphs.h (struct image_instantiator_methods): add dest_mask top
9466 normalize method. Change update method to be for changed
9467 instantiators. Add redisplay method. Change signature of layout
9469 (struct Lisp_Image_Instance): add instantiator.
9470 (IMAGE_INSTANCE_INSTANTIATOR): new.
9471 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
9472 (XIMAGE_INSTANCE_INSTANTIATOR): new.
9473 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
9476 (find_instantiator_differences): new function.
9477 (Fset_instantiator_property): new convenience function.
9478 (check_image_instance_structure): strictly check for vector
9480 (normalize_image_instantiator): make non-static.
9481 (instantiate_image_instantiator): pass on dest_mask and use new
9482 signatures for image_instance_layout and friends.
9483 (mark_image_instance): mark the instantiator. Mark the subwindow
9484 face not the widget face.
9485 (image_instance_equal): add instantiator.
9486 (image_instance_hash): ditto.
9487 (allocate_image_instance): ditto.
9488 (Fset_image_instance_property): removed.
9489 (Fimage_instance_file_name): ditto.
9490 (Fcolorize_image_instance): ditto.
9491 (image_instance_layout): add offsets to be set.
9492 (update_image_instance): new function. update an image instance
9493 from its changed instantiator.
9494 (inherit_normalize): add dest_mask.
9495 (xbm_normalize): ditto.
9496 (xface_normalize): ditto.
9497 (xpm_normalize): ditto.
9498 (text_update): set_property -> update.
9499 (image_instantiate): use the glyph identity as a hash key, not the
9501 (glyph_width): use new image_instance_layout signature.
9502 (glyph_ascent): ditto.
9503 (glyph_descent): ditto.
9504 (glyph_height): ditto.
9505 (glyph_query_geometry): ressurrect.
9506 (glyph_layout): ditto.
9507 (redisplay_subwindow): update -> redisplay.
9508 (syms_of_glyphs): add Fset_instantiator_property.
9509 (image_instantiator_format_create): set_property -> update.
9512 (autodetect_normalize): add dest_maks to signature.
9513 (x_redisplay_subwindow): update -> redisplay.
9514 (x_redisplay_widget): ditto.
9515 (x_button_redisplay): ditto.
9516 (x_progress_gauge_redisplay): ditto.
9517 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
9519 (console_type_create_glyphs_x): update -> redisplay.
9520 (image_instantiator_format_create_glyphs_x): ditto.
9523 (check_valid_instantiator): disallow glyphs in the instantiator,
9524 they must now be vectors.
9525 (check_valid_instantiator_list): ditto.
9526 (glyph_instantiator_to_glyph): use internal symbol rather than
9528 (widget_update): renamed from widget_set_property. Call cascaded
9530 (redisplay_widget): renamed from update_widget.
9531 (widget_layout): image_instance_layout now takes position as well
9533 (widget_normalize): ditto.
9534 (widget_instantiate): ditto.
9535 (tab_control_query_geometry) ditto.:
9536 (tab_control_update): renamed from tab_control_set_property.
9537 (progress_gauge_update): set_property -> update.
9538 (layout_normalize): rewrite so that child instantiators are
9540 (layout_update): new function. Create glyphs from the normalized
9541 children and cope with any other layout keywords. We do not
9542 instantiate children here that will be take care of by
9543 redisplay_output_layout.
9544 (layout_instantiate): call layout_update and not much else.
9545 (layout_post_instantiate): not sure whether this is needed
9547 (layout_query_geometry): query glyph geometry rather than
9548 image_instance geometry.
9549 (layout_layout): set offsets from pass in parameters. Use glyph
9550 geometry and layout functions rather than image instance ones.
9551 (native_layout_layout): ditto.
9552 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
9553 (image_instantiator_widget): set_property -> update.
9554 (image_instantiator_buttons): ditto.
9555 (image_instantiator_progress_guage): ditto.
9556 (image_instantiator_tab_control): ditto.
9557 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
9558 (image_instantiator_layout): add update method.
9560 * glyphs-msw.c (bmp_normalize):
9561 (mswindows_resource_normalize): add dest_mask so that it can be
9562 proprogated by layout_normalize.
9563 (begin_defer_window_pos): make optional because it may not be the
9564 right thing to do and it introduces differences with X.
9565 (mswindows_unmap_subwindow): ditto.
9566 (mswindows_map_subwindow): ditto.
9567 (mswindows_redisplay_subwindow): renamed from
9568 mswindows_update_subwindow.
9569 (mswindows_redisplay_widget): ditto.
9570 (mswindows_button_redisplay): renamed from
9571 mswindows_button_update. Update is now what the instantiation
9572 function does for a changed instantiator.
9573 (mswindows_progress_gauge_instantiate): set the progress value
9574 here if appropriate.
9575 (mswindows_tab_control_redisplay): cope with re-ordering of the
9576 members of the tab widget by simply selecting the new top
9577 widget. This makes things appear ok if you click on a tab.
9578 (mswindows_combo_box_instantiate): image_instance_layout now takes
9579 position as well as size.
9580 (mswindows_progress_gauge_redisplay): renamed from
9581 mswindows_progress_gauge_update.
9582 (console_type_create_glyphs_mswindows): fix update -> redisplay.
9583 (image_instantiator_format_create_glyphs_mswindows): ditto.
9585 * glyphs-eimage.c (jpeg_normalize):
9588 (tiff_normalize): add dest_mask so that it can be proprogated by
9593 (hash_table_weakness_validate):
9594 (decode_hash_table_weakness):
9595 (Fhash_table_weakness):
9597 (syms_of_elhash): use Ben's naming scheme for hashtable types..
9599 * console.h (struct console_methods): move update_* to
9602 2000-07-20 Ben Wing <ben@xemacs.org>
9604 * *.[ch] (XSETOBJ): remove unused middle argument.
9605 lisp-disunion.h: correct wrap_object() to one argument.
9607 2000-07-15 Ben Wing <ben@xemacs.org>
9610 * s/cygwin32.h (CYGWIN_CONV_PATH):
9611 Add missing logb prototype for v1.1.
9612 Use post-b20 names and alias to pre-b20 names when pre-b20.
9614 * s/windowsnt.h: [5].
9616 2000-07-15 Ben Wing <ben@xemacs.org>
9618 * Makefile.in.in (x_objs):
9619 * Makefile.in.in (sheap_objs):
9620 * Makefile.in.in (objs):
9621 added win32.o, cosmetic cleanups.
9623 * alloc.c (Fmake_byte_code):
9624 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
9625 etc. macros which declare their own args now.
9627 * alloc.c (syms_of_alloc):
9628 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
9631 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
9633 * buffer.c (Fget_file_buffer):
9634 Fixed GCPRO problem.
9636 * buffer.c (get_truename_buffer):
9637 Fixed comment about GC checking.
9639 * buffer.c (syms_of_buffer):
9640 Undeclared those dedicated frame funs.
9644 Define convenience macros for internal/external conversions.
9645 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
9646 and Qenvironment_variable_encoding for cleaner code.
9649 Remove dedicated-frame; in lisp.
9651 * bytecode.c (funcall_compiled_function):
9654 * bytecode.c (syms_of_bytecode):
9658 * console-msw.c (mswindows_show_console): Rewrote.
9660 * console-msw.c (Fmswindows_debugging_output): New.
9661 Sends to OutputDebugString (special MSWin debugger interface).
9663 * console-msw.c (Fmswindows_message_box):
9664 Fixed stupid bugs so it works when called from kill-emacs.
9666 * console-msw.c (syms_of_console_mswindows):
9667 Declare Fmswindows_debugging_output.
9670 New MSWin prototypes.
9672 * console-msw.h (struct mswindows_frame):
9673 New entry last-click-mods for improved button-modifier support.
9675 * console-msw.h (FRAME_MSWINDOWS_POPUP):
9676 New struct entry `popup' with corresponding accessor.
9679 * console-x.c (split_up_display_spec):
9680 * console-x.c (get_display_arg_connection):
9681 * console-x.c (x_semi_canonicalize_console_connection):
9682 * console-x.c (x_canonicalize_device_connection):
9683 [[[6]]]: Change char to more specific type.
9684 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
9686 * console-x.c (x_semi_canonicalize_console_connection):
9687 * console-x.c (x_canonicalize_device_connection):
9688 [[[9]]]: Fix up error signalling to use new structured error system.
9691 [[[4]]]: Define codesys aliases:
9692 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
9693 Qx_color_name_encoding, Qx_display_name_encoding.
9695 * console.h (struct console_methods):
9696 New method make_dialog_box_internal supersedes older
9697 popup_dialog_box method.
9700 Define many new errors, part of new structured errors.
9702 * data.c (init_errors_once_early):
9703 * data.c (syms_of_data):
9706 * device-msw.c (mswindows_init_device):
9707 [[[5]]]: Cleanup to support NT 3.51.
9709 * device-msw.c (decode_devmode): Cleanup.
9711 * device-msw.c (mswindows_handle_print_setup_dialog_box):
9712 * device-msw.c (mswindows_handle_print_dialog_box):
9713 * device-msw.c (mswindows_handle_page_setup_dialog_box):
9714 * device-msw.c (syms_of_device_mswindows):
9715 Delete the dialog box primitives recently introduced by Kirill and
9716 instead interface to general dialog box interface.
9719 * device-x.c (compute_x_app_name):
9720 * device-x.c (x_init_device):
9721 * device-x.c (Fx_valid_keysym_name_p):
9722 * device-x.c (Fx_set_font_path):
9726 * device.h (wrap_device): New.
9727 First of its kind; meant to replace XSETDEVICE.
9729 * dialog-msw.c: Many file-dialog symbols.
9731 * dialog-msw.c (mswindows_register_popup_frame): New.
9732 * dialog-msw.c (mswindows_is_dialog_msg): New.
9733 For supporting kbd traversal in dialog boxes.
9735 * dialog-msw.c (dialog_proc):
9736 Support hitting ESC in dialogs.
9738 * dialog-msw.c (struct):
9739 Common dialog box errors.
9741 * dialog-msw.c (handle_file_dialog_box): New.
9742 Add file dialog code.
9744 * dialog-msw.c (handle_question_dialog_box):
9745 Redo existing code to support new question dialog syntax.
9747 * dialog-msw.c (console_type_create_dialog_mswindows):
9748 We support new dialog console method.
9750 * dialog-msw.c (syms_of_dialog_mswindows):
9751 * dialog-msw.c (vars_of_dialog_mswindows):
9752 New file dialog symbols, vars.
9755 * dialog-x.c (maybe_run_dbox_text_callback):
9756 * dialog-x.c (dbox_descriptor_to_widget_value):
9757 * dialog-x.c (x_make_dialog_box_internal):
9758 * dialog-x.c (console_type_create_dialog_x):
9759 Mule-ize entire file.
9760 Redo to support question dialog syntax.
9764 * dialog.c (Fmake_dialog_box_internal):
9765 * dialog.c (syms_of_dialog):
9766 Kill old popup-dialog-box, replace with new primitive.
9767 Just call device method or signal error.
9769 * eldap.c (Fldap_open):
9770 * eldap.c (Fldap_search_basic):
9771 * eldap.c (Fldap_add):
9772 * eldap.c (Fldap_modify):
9777 * emacs.c (make_arg_list_1):
9778 * emacs.c (make_arg_list):
9779 Mule-ize call to dll_init().
9783 * emacs.c (make_argc_argv):
9784 * emacs.c (free_argc_argv):
9785 * emacs.c (init_cmdargs):
9787 * emacs.c (Fkill_emacs):
9788 * emacs.c (Fdump_emacs):
9789 Update comments about what can be used in syms_* etc.
9790 Call init_win32() when necessary.
9791 Fix up MS Win dialog box in kill-buffer to actually work right.
9802 * eval.c (condition_case_3):
9804 * eval.c (function_argcount):
9805 * eval.c (funcall_lambda):
9808 * eval.c (type_error): New.
9809 * eval.c (maybe_type_error): New.
9810 * eval.c (continuable_type_error): New.
9811 * eval.c (maybe_continuable_type_error): New.
9812 * eval.c (type_error_with_frob): New.
9813 * eval.c (maybe_type_error_with_frob): New.
9814 * eval.c (continuable_type_error_with_frob): New.
9815 * eval.c (maybe_continuable_type_error_with_frob): New.
9816 New functions for use with structured errors.
9819 * event-Xt.c (x_event_to_emacs_event):
9820 Buttons are now modifiers too.
9822 * event-Xt.c (emacs_Xt_current_event_timestamp):
9823 Implement new event method.
9824 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
9827 * event-msw.c (ntpipe_shove_writer): [5].
9828 * event-msw.c (mswindows_enqueue_mouse_button_event):
9829 * event-msw.c (mswindows_drain_windows_queue):
9830 * event-msw.c (mswindows_wnd_proc): [7].
9831 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
9832 * event-msw.c (mswindows_modifier_state):
9833 Throughout: support new button modifiers.
9835 * event-msw.c (emacs_mswindows_current_event_timestamp):
9836 Implement new event method.
9837 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
9840 * event-stream.c (event_stream_current_event_timestamp): New.
9841 * event-stream.c (maybe_kbd_translate): New functionality.
9842 * event-stream.c (vars_of_event_stream):
9843 Document new kbd-translate-table functionality.
9845 * event-stream.c (Fcurrent_event_timestamp): New.
9846 New primitive for use in fabricated events.
9847 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
9849 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
9852 * events.c (Fmake_event):
9853 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
9857 * events.c (format_event_object): fix gcc warnings.
9859 * events.c (Fevent_timestamp): Document new primitives.
9861 * events.c (TIMESTAMP_HALFSPACE): New.
9863 * events.c (Fevent_timestamp_lessp): New. New primitive for
9864 comparing timestamps correctly (half-space algorithm).
9866 * events.c (Fevent_modifier_bits): Doc fix.
9868 * events.c (Fevent_modifiers): Major doc addition.
9869 * events.c (event_x_y_pixel_internal): Typo fix.
9870 * events.c (syms_of_events): Declare new primitives.
9873 Update long comment for button modifiers, timestamps.
9875 * events.h (struct event_stream):
9876 New current_event_timestamp method.
9879 * extents.c (extent_in_region_p):
9880 * extents.c (decode_extent):
9881 * extents.c (Fset_extent_parent):
9882 * extents.c (decode_map_extents_flags):
9886 * extents.c (struct extent_at_arg):
9887 * extents.c (decode_extent_at_flag):
9888 * extents.c (extent_at_mapper):
9889 * extents.c (extent_at_bytind):
9890 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
9891 * extents.c (Fextents_at): New primitive. [9].
9892 * extents.c (symbol_to_glyph_layout): [9].
9893 Support new primitive `extents-at'.
9896 * extents.c (get_text_property_bytind):
9897 extent_at_bytind has another arg.
9900 * extents.c (syms_of_extents): New primitive.
9902 * file-coding.c (Fmake_coding_system): [1].
9903 * file-coding.c (subsidiary_coding_system): fix gcc warning
9904 * file-coding.c (syms_of_file_coding): [2].
9906 * fileio.c (Fexpand_file_name):
9907 * fileio.c (Fsysnetunam):
9908 * fileio.c (Ffile_exists_p):
9909 * fileio.c (Ffile_executable_p):
9910 * fileio.c (Fverify_visited_file_modtime):
9913 * fileio.c (syms_of_fileio): [2].
9915 * filelock.c (lock_file_1):
9916 * filelock.c (current_lock_owner):
9917 * filelock.c (lock_if_free):
9918 * filelock.c (lock_file):
9919 * filelock.c (unlock_file):
9922 * fns.c (concat): Fix gcc warning.
9925 * fns.c (Fold_member):
9927 * fns.c (Fold_memq):
9928 * fns.c (memq_no_quit):
9930 * fns.c (Fold_assoc):
9932 * fns.c (Fold_assq):
9933 * fns.c (assq_no_quit):
9935 * fns.c (Fold_rassoc):
9937 * fns.c (Fold_rassq):
9938 * fns.c (rassq_no_quit):
9940 * fns.c (Fold_delete):
9942 * fns.c (Fold_delq):
9943 * fns.c (delq_no_quit):
9944 * fns.c (Fremassoc):
9946 * fns.c (remassq_no_quit):
9947 * fns.c (Fremrassoc):
9948 * fns.c (Fremrassq):
9949 * fns.c (remrassq_no_quit):
9954 * frame-msw.c (mswindows_init_frame_1):
9955 * frame-msw.c (mswindows_delete_frame):
9956 Register popups with dialog code so keyboard traversing works.
9958 * frame-tty.c (tty_raise_frame_no_select): [1].
9961 * frame-x.c (x_set_frame_text_value):
9962 * frame-x.c (x_set_frame_properties):
9963 * frame-x.c (x_create_widgets):
9967 * frame.c (Fmouse_pixel_position): Minor doc fixes.
9969 * frame.h (wrap_frame): New.
9970 Macro like wrap_device.
9973 * general.c (SYMBOL):
9974 * general.c (syms_of_general):
9975 Major reorg. This is now just a wrapper and symbols themselves
9976 are listed in general-slots.h.
9978 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
9979 * glyphs-msw.c (mswindows_resource_instantiate): [5].
9981 * glyphs-msw.c (mswindows_native_layout_instantiate):
9982 Add DS_CONTROL so keyboard traversal will work.
9985 * glyphs-widget.c (syms_of_glyphs_widget):
9986 Move some symbols to general-slots.h.
9989 * glyphs-x.c (xbm_instantiate_1):
9990 * glyphs-x.c (x_xbm_instantiate):
9991 * glyphs-x.c (x_xface_instantiate):
9992 * glyphs-x.c (autodetect_instantiate):
9993 * glyphs-x.c (cursor_font_instantiate):
9994 * glyphs-x.c (x_update_widget):
9995 * glyphs-x.c (x_widget_instantiate):
9996 * glyphs.c (bitmap_to_lisp_data):
9997 * glyphs.c (pixmap_to_lisp_data):
10000 * glyphs.c (syms_of_glyphs):
10004 * gui-x.c (print_widget_value):
10005 * gui-x.c (menu_separator_style_and_to_external):
10006 * gui-x.c (add_accel_and_to_external):
10007 * gui-x.c (button_item_to_widget_value):
10008 * gui-x.c (gui_items_to_widget_values_1):
10009 * gui-x.c (gui_items_to_widget_values):
10010 * gui-x.c (syms_of_gui_x):
10011 * gui-x.c (vars_of_gui_x):
10012 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
10016 Muleize, prototype changes matching gui-x.c.
10019 * gui.c (separator_string_p):
10020 * gui.c (gui_item_add_keyval_pair):
10021 * gui.c (make_gui_item_from_keywords_internal):
10022 * gui.c (signal_too_long_error):
10023 * gui.c (parse_gui_item_tree_item):
10024 * gui.c (syms_of_gui):
10025 * gui.c (vars_of_gui):
10027 menu-no-selection-hook moved here (used by MSWin).
10028 Move some symbols to general-slots.h.
10032 * insdel.c (get_buffer_pos_char):
10033 * insdel.c (get_buffer_range_char):
10036 * keymap.c (keymap_lookup_directly):
10037 * keymap.c (keymap_store):
10038 * keymap.c (ensure_meta_prefix_char_keymapp):
10039 * keymap.c (describe_map):
10041 Support new button modifiers.
10043 * lisp-disunion.h (wrap_object):
10044 * lisp-disunion.h (XSETOBJ):
10045 Rename make_obj to wrap_object.
10048 * lisp-union.h (make_int):
10049 * lisp-union.h (make_char):
10050 Support wrap_object.
10053 * lisp.h (LIST_LOOP):
10054 * lisp.h (EXTERNAL_LIST_LOOP):
10055 * lisp.h (LIST_LOOP_2):
10056 * lisp.h (EXTERNAL_LIST_LOOP_1):
10057 * lisp.h (EXTERNAL_LIST_LOOP_2):
10058 * lisp.h (EXTERNAL_LIST_LOOP_3):
10059 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
10060 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10061 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
10062 * lisp.h (EXTERNAL_ALIST_LOOP_5):
10063 * lisp.h (EXTERNAL_ALIST_LOOP_6):
10064 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
10065 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
10066 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
10067 * lisp.h (struct Lisp_Symbol):
10068 * lisp.h (maybe_continuable_error_with_frob):
10069 Fix up section comments.
10070 Add new types for char to indicate usage.
10071 Delete symbols auto-generated from general-slots.h.
10072 Add prototypes for structured error functions.
10073 Add long comments describing looping macros and change interface
10074 so that lvalues are automatically declared.
10075 Add NO_DECLARE macro in case callers want to declare lvalues
10078 * lread.c (read_syntax_error):
10079 * lread.c (continuable_read_syntax_error):
10080 * lread.c (read_structure):
10081 * lread.c (sequence_reader):
10082 * lread.c (read_list_conser):
10083 * lread.c (read_compiled_function):
10084 Rename syntax_error and continuable_syntax_error to avoid clash
10085 with same-named structured error functions.
10087 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10088 * menubar-msw.c (populate_menu_add_item):
10089 * menubar-msw.c (populate_or_checksum_helper):
10094 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10095 Mule-ize whole file.
10097 * menubar.c (Fnormalize_menu_item_name): Add optimization.
10099 * mule-charset.c (Fmake_charset):
10100 * mule-wnnfns.c (Fwnn_set_param):
10103 * ntproc.c (create_child):
10104 * ntproc.c (Fwin32_set_current_locale):
10105 Add comments portending doom.
10108 * objects-msw.c (old_font_enum_callback_2):
10109 * objects-msw.c (font_enum_callback_1):
10110 * objects-msw.c (mswindows_enumerate_fonts):
10114 * objects-x.c (allocate_nearest_color):
10115 * objects-x.c (x_parse_nearest_color):
10116 * objects-x.c (x_initialize_color_instance):
10117 * objects-x.c (x_print_color_instance):
10118 * objects-x.c (x_finalize_color_instance):
10119 * objects-x.c (x_valid_color_name_p):
10120 * objects-x.c (x_initialize_font_instance):
10121 * objects-x.c (x_print_font_instance):
10122 * objects-x.c (valid_x_font_name_p):
10123 * objects-x.c (truename_via_FONT_prop):
10124 * objects-x.c (truename_via_random_props):
10125 * objects-x.c (truename_via_XListFonts):
10126 * objects-x.c (x_font_truename):
10127 * objects-x.c (x_font_instance_truename):
10128 * objects-x.c (x_font_instance_properties):
10129 * objects-x.c (x_list_fonts):
10130 * objects-x.c (x_find_charset_font):
10131 Mule-ize entire file.
10138 * print.c (std_handle_out_external):
10139 * print.c (debug_print_no_newline):
10140 * print.c (syms_of_print):
10141 Output to all debugger kinds in debug-print.
10142 Fix console-output code under MSWin to actually work.
10144 * process-nt.c (send_signal):
10145 * process-nt.c (nt_create_process):
10146 Use newer Unicode macros.
10148 * process-unix.c (unix_create_process):
10149 * process-unix.c (unix_canonicalize_host_name):
10150 * process-unix.c (unix_open_network_stream):
10156 * search.c (syms_of_search):
10159 * select-msw.c (mswindows_destroy_selection):
10162 * select-x.c (symbol_to_x_atom):
10165 * select.c (syms_of_select):
10168 * sound.c (Fplay_sound_file):
10172 * specifier.c (decode_specifier_type):
10173 * specifier.c (Fvalid_specifier_locale_type_p):
10174 * specifier.c (check_valid_locale_or_locale_type):
10175 * specifier.c (decode_locale):
10176 * specifier.c (decode_locale_type):
10177 * specifier.c (decode_locale_list):
10178 * specifier.c (check_valid_domain):
10179 * specifier.c (decode_specifier_tag_set):
10180 * specifier.c (Fcanonicalize_tag_set):
10181 * specifier.c (Fdefine_specifier_tag):
10182 * specifier.c (Fspecifier_tag_predicate):
10183 * specifier.c (check_valid_inst_list):
10184 * specifier.c (check_valid_spec_list):
10185 * specifier.c (decode_how_to_add_specification):
10186 * specifier.c (check_modifiable_specifier):
10187 * specifier.c (specifier_add_spec):
10188 * specifier.c (boolean_validate):
10189 * specifier.c (display_table_validate):
10192 * specifier.c (syms_of_specifier):
10193 Move some symbols to general-slots.h.
10197 * symbols.c (Fmapatoms):
10198 * symbols.c (Fapropos_internal):
10201 * symbols.c (set_default_buffer_slot_variable):
10202 * symbols.c (set_default_console_slot_variable):
10205 * symbols.c (defsymbol_massage_name_1):
10206 * symbols.c (defkeyword_massage_name):
10207 * symbols.c (deferror_1):
10208 * symbols.c (deferror):
10209 * symbols.c (deferror_massage_name_and_message):
10211 * symeval.h (DEFSYMBOL):
10212 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
10214 * symbols.c (syms_of_symbols):
10218 * symsinit.h (init_win32): New.
10219 Also new is syms_of_dialog_mswindows.
10222 Add new Unicode macros, missing Cygwin wide-char functions,
10223 convenience conversion macros for Qmswindows_tstr, macros for
10224 encapsulating required MSWin <-> Cygwin filename conversions,
10225 prototype for dynamically-extracted (not in NT 3.51) functions.
10230 * tooltalk.c (Fadd_tooltalk_message_arg):
10231 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
10232 * tooltalk.c (Fadd_tooltalk_pattern_arg):
10235 * tooltalk.c (syms_of_tooltalk):
10239 * unexnt.c (unexec):
10240 Fix up headers, declaration of unexec() to be more standard.
10242 2000-07-20 Martin Buchholz <martin@xemacs.org>
10244 * offix.h: Revert change to guard macros - they're used in offix.c!
10246 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10248 * lisp.h: Defsubred Fdelete.
10250 * console-msw.h: (msprinter_default_printer): Added.
10252 * console-msw.c (msprinter_canonicalize_console_connection):
10253 (msprinter_canonicalize_device_connection): Added.
10255 * device-msw.c (msprinter_default_printer):
10256 (Fmswingows_get_default_printer):
10257 (signal_enum_priner_error):
10258 (Fmswingows_printer_list): Added.
10260 2000-07-19 Martin Buchholz <martin@xemacs.org>
10262 * XEmacs 21.2.35 is released.
10264 2000-07-19 Martin Buchholz <martin@xemacs.org>
10266 * select-x.c (x_handle_selection_request):
10267 Text selected in xemacs and pasted into xterm failed to appear.
10268 Spelling fixes and cosmetic changes.
10270 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10272 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
10273 XEmacs frame (fix for doubling chars in dialog boxes).
10275 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10277 * select.c (select_convert_in, select_convert_out):
10278 Don't call intern() every time.
10280 * select.c (Qselect_convert_in, Qselect_convert_out): New.
10281 * select.c (vars_of_select): Initialise them.
10283 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10285 * select.c (selection-coercible-types): New.
10287 * select.c (own-selection-internal):
10288 * select.c (get-selection-internal):
10289 MULE bug fix - these should default to COMPOUND_TEXT and not
10290 STRING for MULE. I think.
10292 * select.c (select_convert_out): Use selection-coercible-types
10293 to find types that we can attempt to perform coercions on.
10295 2000-07-18 Martin Buchholz <martin@xemacs.org>
10299 Add coding: cookie to identify encoding.
10301 * mule-canna.c (CANNA_mode_keys): make static.
10302 Use proper prototypes, even for functions of no arguments.
10303 Remove external prototype for Fding().
10305 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
10307 * select.c (syms_of_select): Add missing DEFSUBR.
10309 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10311 * select.c (get_selection_internal, own_selection_internal):
10312 Make the type default to STRING, rather than placing a nil type
10313 into Vselection_alist.
10315 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10317 * gpmevent.c (tty_selection_exists_p):
10318 * gpmevent.c (tty_own_selection):
10319 Updated parameter lists.
10321 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
10323 * select.h (selection-alist): Removed declaration.
10325 * select.h (get_local_selection):
10326 * select.c (get_local_selection):
10329 * select.h (convert_selection): Removed declaration.
10330 * select.c (convert_selection): Removed.
10331 This function belongs in Lisp.
10333 * select.h (select_convert_in): Declare.
10334 * select.h (select_convert_out): Declare.
10335 * select.c (select_convert_in): New.
10336 * select.c (select_convert_out): New.
10337 New conversion functions for other files to call.
10339 * select.h (select_notify_buffer_kill): Declare.
10340 * select.c (select_notify_buffer_kill): New.
10341 New functions that get called from kill-buffer.
10343 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
10344 X-specific lisp code.
10346 * select.h: Declare some of the lisp-visible functions for
10349 * select.c (clean_local_selection_data): Removed. This was
10350 a disgusting function, and previously should have been in
10351 select-x.c in any case. The functionality is now provided
10352 in select-convert-from-integer (select.el).
10354 * select.c (available-selection-types): Fixed stupidity where
10355 INTEGER and ATOM got added twice. Also add STRING when we see an
10358 * select.c (get-selection-internal): Removed symbol stripping. No
10359 longer causes conversion when data comes from the internal cache.
10361 * select.c (syms_of_select): Added new functions.
10363 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
10364 error checking - previously this called abort!
10366 * select-x.c (x_own_selection): Changed comment.
10368 * select-x.c (x_handle_selection_request): Use select_convert_out.
10369 Don't mess with selection-alist; it's an internal variable of select.c.
10371 * select-x.c (x_get_foreign_selection): Use select_convert_in.
10373 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
10374 rather than messing with selection-alist.
10376 * select-msw.c (mswindows_get_foreign_selection):
10377 Use TO_INTERNAL_FORMAT rather than hacking.
10379 2000-07-14 Martin Buchholz <martin@xemacs.org>
10381 * process-unix.c (unix_open_multicast_group):
10382 (unix_open_multicast_group): Remove useless casts.
10384 2000-07-13 Martin Buchholz <martin@xemacs.org>
10386 * sound.c (Fplay_sound): Fix `unused variable' warning.
10388 * emacs.c (main): Use correct type for _environ on SCO5.
10390 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
10392 * console.h (own_selection_method):
10393 * console.h (selection_exists_p_method):
10394 * console.h (available_selection_types_method): New.
10395 * console.h (register_selection_data_type_method): New.
10396 * console.h (selection_data_type_name): New.
10398 * console-msw.h (mswindows_destroy_selection): Declare it. New
10399 function & alist to track GlobalAlloc()'d handles that need
10400 releasing when the clipboard data gets replaced or emptied.
10402 * event-msw.c (mswindows_wnd_proc): Call it.
10404 * lisp.h, general.c (Qappend): New symbol representing a
10407 * select.c (own-selection-internal):
10408 * select.c (selection-exists-p):
10409 * select.c (available-selection-types): New.
10410 * select.c (register-selection-data-type): New.
10411 * select.c (selection-data-type-name): New. New functions to deal
10412 with device-specific selection data formats.
10413 * select.c (selection-converter-out-alist): Renamed.
10414 * select.c (selection-converter-in-alist): New.
10415 * select.c (selection-appender-alist): New. Added new alists.
10416 * select.c (syms_of_select, vars_of_select): Added new symbols &
10418 * select.c (get_local_selection): Split.
10419 * select.c: Removed spurious type checking - selections may now be
10420 of any type, not just strings.
10421 * select.c (own-selection-internal):
10423 * select.h, select.c (convert_selection): New. Created
10424 convert_selection() function based on get_local_selection().
10425 * select.h, select.c (QCF_*): New symbols representing mswindows
10427 * select.h, select.c (Qreplace_all, Qreplace_existing): New
10428 symbols representing `how-to-add' modes.
10430 * select-msw.c (x_sym_p): New.
10431 * select-msw.c (symbol_to_ms_cf): New.
10432 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
10433 symbols & clipboard formats. Can also handle string names.
10434 * select-msw.c (mswindows_own_selection):
10435 * select-msw.c (mswindows_selection_exists_p):
10436 Added `data-type' parameter. Use it.
10437 * select-msw.c (mswindows_available_selection_types): New.
10438 * select-msw.c (mswindows_register_selection_data_type): New.
10439 * select-msw.c (mswindows_selection_data_type_name): New.
10440 * select-msw.c (mswindows_own_selection):
10441 * select-msw.c (mswindows_get_foreign_selection):
10442 * select-msw.c (mswindows_selection_exists_p): Rewrote.
10443 * select-msw.c (console_create_select_mswindows): Added new methods.
10444 * select-msw.c (mswindows_destroy_selection): New.
10445 * select-msw.c (Vhandle_alist): New list.
10446 * select-msw.c (mswindows_own_selection):
10448 * select-x.c (x_own_selection):
10449 * select-x.c (x_selection_exists_p):
10450 * select-x.c: Added some comments about maybe using new
10452 * select-x.c (x_own_selection):
10454 * specifier.c: Remove definition of Qappend (now in general.c)
10455 * specifier.c (syms_of_specifier): Remove Qappend.
10457 2000-07-12 Martin Buchholz <martin@xemacs.org>
10459 * config.h.in: Add socklen_t.
10461 * s/decosf4-0.h: No special compiler flags needed or desired.
10462 In particular, undefine _BSD for DEC OSF 4.0.
10464 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10466 * redisplay-msw.c (msprinter_frame_output_end): Added.
10467 (console_type_create_redisplay_mswindows): Referred the above.
10469 * frame.c (setup_frame_without_minibuffer): Do not create a
10470 default minibuffer frame on a printer device.
10472 * frame-msw.c (apply_dc_geometry): Added.
10473 (msprinter_start_page):
10474 (msprinter_init_frame_3):
10475 (msprinter_eject_page): Use it.
10477 * console-msw.h (struct msprinter_frame): Added pix_left and top,
10478 and removed residual duplex and orientation properties.
10480 2000-07-11 Martin Buchholz <martin@xemacs.org>
10482 * eval.c (function_argcount): Work around a DEC CC compiler bug.
10484 * unexalpha.c: Remove system prototypes from C sources!
10486 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
10488 * eval.c: Remove references to M-x edit-options in DEFUNs for
10489 `defvar' and `defconst'.
10491 2000-07-09 Martin Buchholz <martin@xemacs.org>
10493 * config.h.in: Remove SMART_INCLUDE hackery.
10495 PostgreSQL hacking:
10496 * config.h.in: Don't use SMART_INCLUDE.
10498 * postgresql.h: Include libpq-fe.h here. Fix typo.
10499 * inline.c: Simply #include "postgresql.h"
10501 - Don't use SMART_INCLUDE
10502 - Use simply "const".
10503 - Use standard doc string conventions.
10504 - Use correct type for result of PQstatus.
10506 2000-07-09 Martin Buchholz <martin@xemacs.org>
10508 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
10510 C++ compilation changes.
10511 * config.h.in (EXTERN_C): Define.
10512 * config.h.in (not): This is also a C++ keyword.
10513 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
10514 * cm.c: Use EXTERN_C.
10515 * redisplay-tty.c: Use EXTERN_C.
10516 * sysdep.c: Use EXTERN_C. Remove Gould support.
10518 2000-07-09 Martin Buchholz <martin@xemacs.org>
10520 * general.c: Remove duplicate definition for Qfunction.
10522 2000-07-08 Ben Wing <ben@xemacs.org>
10524 * device-msw.c (msprinter_init_device):
10525 * device-msw.c (sync_printer_with_devmode):
10526 * device-msw.c (handle_devmode_changes):
10527 * device-msw.c (print_dialog_worker):
10528 * device-msw.c (Fmsprinter_apply_settings):
10529 * device-msw.c (hash_devmode):
10530 * device-msw.c (Fmsprinter_settings_despecialize):
10531 use Qmswindows_tstr, not Qctext.
10533 * vm-limit.c (check_memory_limits):
10534 avoid infinite loop printing warning messages.
10536 2000-07-05 Craig Lanning <lanning@scra.org>
10538 * Makefile.in.in: Add support for including the Windows resources
10539 when building with the cygwin and mingw targets.
10541 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
10542 not set or not correct.
10543 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
10544 (init_initial_directory): Don't try to use $PWD on the
10545 WIN32_NATIVE target.
10548 [[Add -mwindows to eliminate console window.]] not required --ben
10549 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10550 (MAIL_USE_POP): removed; now handled by configure.
10552 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
10553 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
10554 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10555 (MAIL_USE_POP): removed; now handled by configure.
10556 (ENCAPSULATE_STAT): from Dan Holmsand, added.
10557 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
10558 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
10560 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
10561 up from <winsock.h> via systime.h.
10562 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
10563 (getpagesize): from Dan Holmsand, added.
10564 Added #endif which was left dangling by Ben's mega patch; added
10565 comment to help prevent this in the future.
10567 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
10569 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10571 * console-msw.h (struct mswindows_device): Removed unnecessary
10572 cached device geometry values.
10573 Added update_tick and an accessor macro.
10574 (Lisp_Devmode): Added lrecord declaration.
10575 (struct msprinter_device): Contain devmode as a Lisp object.
10576 Added mswindows_get_selected_frame_hwnd();
10578 * console.h (struct console_methods): Indentation nitpicking.
10580 * device-msw.c (mswindows_init_device): Do not initialize geometry
10581 cache. Initialize update tick.
10582 (mswindows_device_system_metrics): Ask the device for its geometry.
10583 (global_free_2_maybe):
10584 (devmode_to_hglobal):
10585 (handle_printer_changes):
10586 (ensure_not_printing):
10587 (print_dialog_worker):
10588 (Fmsprinter_print_setup_dialog):
10589 (Fmsprinter_print_dialog):
10590 (plist_get_margin):
10591 (plist_set_margin):
10592 (Fmsprinter_page_setup_dialog): Added functions.
10593 (sync_printer_with_devmode):
10594 (handle_devmode_changes):
10595 (Fmsprinter_get_settings):
10596 (Fmsprinter_select_settings):
10597 (Fmsprinter_apply_settings):
10598 (allocate_devmode):
10599 (Fmsprinter_settings_copy):
10600 (Fmsprinter_settings_despecialize):
10602 (finalize_devmode):
10604 (hash_devmode): Added functions
10605 (syms_of_device_mswindows): Init devmode lrecord class.
10607 * device.h: Added an exfun for find-device.
10609 * event-msw.c (mswindows_wnd_proc): Do not update the cached
10610 geometry; although, recreate the device compatible DC.
10612 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
10613 (msprinter_init_frame_3):
10614 (msprinter_frame_property):
10615 (msprinter_internal_frame_property_p):
10616 (msprinter_frame_properties):
10617 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
10618 print job properties (will move to device settings).
10620 * lisp.h: Added symbols.
10622 * general.c (syms_of_general): Declared them.
10624 * hash.c (string_hash): Added.
10626 * lrecord.h (lrecord_type): Added devmode lrecord type.
10628 2000-07-02 Mike Sperber <mike@xemacs.org>
10630 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
10633 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
10635 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
10638 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
10640 * data.c (Fstring_to_number): Don't recognize floating point if
10643 2000-06-22 Martin Buchholz <martin@xemacs.org>
10645 * glyphs-widget.c (tab_control_query_geometry):
10646 (widget_query_geometry):
10647 (button_query_geometry):
10648 * glyphs.c (text_query_geometry):
10649 Enforce type correctness.
10651 2000-06-18 Martin Buchholz <martin@xemacs.org>
10653 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
10654 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
10656 2000-06-17 Martin Buchholz <martin@xemacs.org>
10658 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
10659 conflicts with gcc's fixincluded version of FOO.h.
10661 * glyphs.h (image_instance_geometry): Remove trailing `,'
10663 2000-06-08 Mike Alexander <mta@arbortext.com>
10665 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
10666 (shove_thread): Don't write the same output twice
10667 (make_ntpipe_output_stream): Increase priority of shove thread
10668 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
10670 (ntpipe_shove_closer): Don't delete the pipe until we're done with
10673 2000-06-12 Ben Wing <ben@xemacs.org>
10675 * s\mingw32.h (sigset):
10676 * s\windowsnt.h (sigset):
10677 rename msw_ to mswindows_ for consistency with general convention.
10679 2000-06-12 Ben Wing <ben@xemacs.org>
10682 * console-msw.c (mswindows_get_console_hwnd):
10683 * console-msw.c (mswindows_ensure_console_allocated):
10684 * console-msw.c (mswindows_hide_console):
10685 * console-msw.c (mswindows_show_console):
10686 * console-msw.c (mswindows_ensure_console_buffered):
10687 * console-msw.c (mswindows_output_console_string):
10688 * console-msw.c (mswindows_windows9x_p):
10690 * device-msw.c (mswindows_get_workspace_coords):
10691 * device-msw.c (mswindows_device_system_metrics):
10692 * dialog-msw.c (mswindows_popup_dialog_box):
10693 * event-msw.c (mswindows_wnd_proc):
10694 * frame-msw.c (mswindows_size_frame_internal):
10695 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10696 * menubar-msw.c (displayable_menu_item):
10697 * menubar-msw.c (mswindows_char_is_accelerator):
10699 * nt.c (mswindows_sigset):
10700 * nt.c (mswindows_sigrelse):
10701 * nt.c (mswindows_sigpause):
10702 * nt.c (mswindows_raise):
10703 * nt.c (timer_proc):
10705 * ntproc.c (find_child_console):
10706 * ntproc.c (sys_kill):
10708 * print.c (std_handle_out_external):
10709 * process-nt.c (find_child_console):
10710 * process-nt.c (send_signal_the_95_way):
10711 * process-nt.c (ensure_console_window_exists):
10712 * process-nt.c (nt_create_process):
10714 rename msw_ to mswindows_ for consistency with general convention.
10718 include nt.h, not syswindows.h.
10720 * nt.c (mswindows_fstat):
10721 * nt.c (mswindows_stat):
10722 prefix mswindows_ instead of attempting to directly override the
10723 library functions. fix declarations.
10726 include syswindows.h. move some sysdep.h stuff here.
10729 include syswindows.h, not <windows.h>.
10737 * sysdep.c (sys_fstat):
10738 * sysdep.c (sys_stat):
10739 call mswindows versions when appropriate.
10742 move mswin decls to nt.h.
10745 add long comment describing appropriate use of the various windows
10748 2000-06-11 Ben Wing <ben@xemacs.org>
10750 * device-x.c: Correct doc string for sixth arg of x-get-resource.
10752 2000-06-10 Ben Wing <ben@xemacs.org>
10754 * Makefile.in.in (release):
10755 Correction to make sure xemacs.exe always dumped when correct.
10759 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
10761 * buffer.c (set_buffer_internal):
10762 [[[[2]]]]: Remove HAVE_FEP code.
10764 * buffer.c (init_initial_directory):
10768 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
10772 * callproc.c (call_process_cleanup):
10773 * callproc.c (Fold_call_process_internal):
10774 * callproc.c (child_setup):
10775 * callproc.c (getenv_internal):
10776 * callproc.c (init_callproc):
10777 * callproc.c (vars_of_callproc):
10778 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
10779 __CYGWIN32__ -> CYGWIN.
10780 DOS_NT -> WIN32_NATIVE.
10781 Remove MSDOS support/references, converting to WIN32_NATIVE
10783 __MINGW32__ -> MINGW.
10784 Fix windows.h includes.
10785 Remove bogus HAVE_NTGUI.
10791 mswindows_message_outputted added for use in allowing startup
10792 errors on the console to be seen.
10794 * console-msw.c (msw_ensure_console_allocated):
10795 * console-msw.c (msw_output_console_string):
10796 * console-msw.c (DHEADER):
10797 * console-msw.c (DOPAQUE_DATA):
10798 * console-msw.c (DEVENT):
10799 * console-msw.c (DCONS):
10800 * console-msw.c (DCONSCDR):
10801 * console-msw.c (DSTRING):
10802 * console-msw.c (DVECTOR):
10803 * console-msw.c (DSYMBOL):
10804 * console-msw.c (DSYMNAME):
10807 * console-stream.c (stream_init_console):
10808 Fix text/binary problems.
10811 * device-msw.c (mswindows_finish_init_device):
10812 * device-msw.c (mswindows_delete_device):
10815 * device.c (handle_asynch_device_change):
10819 * dgif_lib.c (DGifOpenFileName):
10820 * dgif_lib.c (DGifOpenFileHandle):
10821 * dgif_lib.c (DGifGetLine):
10822 * dgif_lib.c (DGifGetPixel):
10823 Added config.h/lisp.h, fix up includes.
10830 * dired.c (file_name_completion):
10831 * dired.c (Ffile_attributes):
10832 * dired.c (syms_of_dired):
10836 * dumper.c (pdump_file_unmap):
10837 * dumper.c (pdump_load):
10841 * editfns.c (Ftemp_directory):
10842 * editfns.c (user_login_name):
10843 * editfns.c (Fuser_real_login_name):
10844 * editfns.c (get_home_directory):
10847 * elhash.c (finish_marking_weak_hash_tables):
10848 [[[[5]]]]: Fix GCC warnings.
10851 * emacs.c (mswindows_handle_hardware_exceptions):
10852 * emacs.c (make_arg_list_1):
10853 * emacs.c (main_1):
10854 * emacs.c (Fkill_emacs):
10855 * emacs.c (Fdump_emacs):
10857 Fix problems with nested crashes, add long comment.
10859 * event-Xt.c (init_event_Xt_late):
10863 * event-msw.c (mswindows_dde_callback):
10864 * event-msw.c (mswindows_handle_sticky_modifiers):
10865 * event-msw.c (mswindows_wnd_proc):
10869 * events.c (character_to_event):
10873 * fileio.c (Ffile_name_directory):
10874 * fileio.c (Ffile_name_nondirectory):
10875 * fileio.c (directory_file_name):
10876 * fileio.c (Fexpand_file_name):
10877 * fileio.c (Fsubstitute_in_file_name):
10878 * fileio.c (Ffile_name_absolute_p):
10879 * fileio.c (check_executable):
10880 * fileio.c (Ffile_readable_p):
10881 * fileio.c (Ffile_accessible_directory_p):
10882 * fileio.c (Ffile_modes):
10883 * fileio.c (Funix_sync):
10884 * fileio.c (vars_of_fileio):
10887 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
10889 Expand getdefdir defn.
10890 Fix bogus rename() comment.
10892 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
10893 to use standard XEmacs include files, e.g. sysfile.h, rather
10894 than system-specific includes.
10900 * frame.c (vars_of_frame):
10904 * getloadavg.c (getloadavg):
10906 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
10907 (We don't use it elsewhere in the code; just add a comment.)
10914 * glyphs-msw.c (mswindows_resource_instantiate):
10917 * glyphs-x.c (x_native_layout_instantiate):
10920 * gui-msw.c (Fmswindows_shell_execute):
10929 * lread.c (locate_file_in_directory_mapper):
10936 * mem-limits.h (get_lim_data):
10948 * nt.c (rva_to_section):
10949 * nt.c (mswindows_executable_type):
10951 Fix closedir() defn.
10954 [[[[8]]]]: *_OK defs moved to sysfile.h.
10963 * print.c (std_handle_out_external):
10967 * process-nt.c (nt_create_process):
10969 try to fix process quoting somewhat.
10971 * process-unix.c (unix_create_process):
10975 * process.c (vars_of_process):
10982 * realpath.c (xrealpath):
10985 * redisplay-tty.c (init_tty_for_redisplay):
10995 * sheap.c (more_static_core):
10996 * sheap.c (report_sheap_usage):
11000 * signal.c (alarm_signal):
11007 * strftime.c (zone_name):
11010 * symsinit.h (init_sunpro):
11014 commctrl.h not in Cygwin b20.1.
11017 * sysdep.c (endif):
11018 * sysdep.c (sys_subshell):
11019 * sysdep.c (init_baud_rate):
11020 * sysdep.c (emacs_get_tty):
11021 * sysdep.c (emacs_set_tty):
11022 * sysdep.c (tty_init_sys_modes_on_device):
11023 * sysdep.c (init_system_name):
11024 * sysdep.c (sys_open):
11025 * sysdep.c (interruptible_open):
11026 * sysdep.c (sys_fopen):
11027 * sysdep.c (sys_mkdir):
11028 * sysdep.c (sys_rename):
11029 * sysdep.c (get_process_times_1):
11036 * sysdir.h (DIRENTRY_NONEMPTY):
11039 * sysdll.c (dll_init):
11045 added text/binary defs.
11051 * sysproc.h (EDESTADDRREQ):
11052 * sysproc.h (poll_fds_for_input):
11069 Always define WIN32_LEAN_AND_MEAN.
11071 * unexcw.c (unexec):
11075 * unexec.c (copy_text_and_data):
11076 * unexec.c (adjust_lnnoptrs):
11080 * unexnt.c (_start):
11083 2000-06-07 Ben Wing <ben@xemacs.org>
11085 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
11086 was used only as a model. We've long since extracted any useful
11087 logic or code out of this. (I just did an exhaustive search.)
11089 * s\msdos.h: Removed.
11091 * s\windows95.h: Removed.
11093 2000-06-10 Ben Wing <ben@xemacs.org>
11097 Don't use extern with fun defs.
11101 Remove nt\inc include.
11102 Remove getdisk, getdefdir. (The former is unused, the latter
11103 expanded in fileio.h.)
11106 * s\windowsnt.h (WIN32_NATIVE):
11107 * s\windowsnt.h (HAVE_STRCASECMP):
11109 Add long comment about preprocessor changes.
11110 Remove getdisk, getdefdir. (The former is unused, the latter
11111 expanded in fileio.h.)
11113 2000-06-10 Ben Wing <ben@xemacs.org>
11122 Remove bogus/unused NO_SOCK_SIGIO.
11124 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
11126 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
11129 2000-06-04 Mike Sperber <mike@xemacs.org>
11131 * casetab.c (set_case_table): For `set-standard-case-table',
11132 actually deposit the new case tables where the rest of XEmacs can
11135 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
11137 * data.c (Faset): Don't cast XCHAR() to unsigned char.
11139 2000-06-05 Ben Wing <ben@xemacs.org>
11141 * callproc.c (child_setup): Don't do close_load_descs() under
11142 MS Windows. Put in a comment explaining why.
11144 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
11146 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
11147 Toolkit shell" which breaks `kill-compilation' on Windows NT
11148 native, retaining STDERR handling improvements.
11150 2000-06-01 Andreas Jaeger <aj@suse.de>
11152 * s/s390.h: Support for S390, based on a patch by Martin
11153 Schwidefsky <schwidefsky@de.ibm.com>.
11155 2000-05-30 Andy Piper <andy@xemacs.org>
11157 * window.c (allocate_window):
11158 (make_dummy_parent):
11159 (Fset_window_configuration): use new hashtable type.
11161 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
11162 (struct image_instantiator_methods):
11163 (struct Lisp_Image_Instance): make instance geometry signed.
11165 * glyphs.c (instantiate_image_instantiator):
11166 (image_instance_query_geometry):
11167 (image_instance_layout):
11168 (image_instance_layout):
11169 (query_string_geometry):
11170 (text_query_geometry):
11171 (image_instantiate):
11172 (image_instantiate):
11173 (cache_subwindow_instance_in_frame_maybe):
11174 (subwindow_query_geometry): make instance geometry signed.
11176 * glyphs-widget.c (widget_query_geometry):
11178 (button_query_geometry):
11179 (tree_view_query_geometry):
11180 (tab_control_query_geometry):
11181 (layout_query_geometry):
11183 (native_layout_layout): make instance geometry signed.
11185 2000-05-29 Olivier Galibert <galibert@pobox.com>
11187 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
11190 * general.c (syms_of_general): Add Qfull_assoc symbol.
11192 * data.c (finish_marking_weak_lists): Mark full-assoc lists
11194 (decode_weak_list_type): Decode full-assoc type.
11195 (encode_weak_list_type): Encode full-assoc type.
11196 (Fmake_weak_list): Update doc string.
11198 2000-05-30 Andy Piper <andy@xemacs.org>
11200 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
11202 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
11203 (decode_hash_table_weakness): ditto.
11204 (Fhash_table_weakness): ditto.
11205 (Fhash_table_type): ditto.
11206 (finish_marking_weak_hash_tables): ditto.
11207 (hash_table_weakness_validate): ditto.
11208 (syms_of_elhash): ditto.
11210 2000-05-28 Martin Buchholz <martin@xemacs.org>
11212 * XEmacs 21.2.34 is released.
11214 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11216 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
11218 (updating_line_start_cache): Gone.
11219 (regenerate_window): Replace resetting of VERTICAL_CLIP by
11220 generic code to force a minimum of 1 line laid out in the
11223 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11225 * glyphs.c (instantiate_image_instantiator): Check for initialized
11226 height & width no longer special cases IMAGE_NOTHING.
11227 (nothing_instantiate): Set height and width of instance.
11229 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
11231 * unexelf.c (unexec): Search for ".data" section.
11232 Initialize new_data2_offset from old_data_index.
11233 Remove redundant check for ElfW.
11235 2000-05-23 Andy Piper <andy@xemacs.org>
11237 * glyphs.c (get_image_instantiator_governing_domain): allow more
11238 specific domains as the governing domain rather than expecting an
11239 exact match. This fixes problems with layouts.
11241 2000-05-22 Andy Piper <andy@xemacs.org>
11243 * redisplay-output.c (compare_runes): check for non-images
11245 * glyphs.c (set_glyph_dirty_p): ditto.
11246 (update_glyph_cachel_data): ditto.
11248 * glyphs-widget.c (layout_post_instantiate): ditto.
11249 (layout_post_instantiate): ditto.
11251 * event-msw.c (mswindows_wnd_proc): warning removal.
11253 2000-05-12 Craig Lanning <CraigL@DyCon.com>
11255 * s\mingw32.h: Added #undef for CLASH_DETECTION.
11257 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
11259 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
11261 * nt.c (rva_to_section): mingw32 needs rva_to_section.
11262 (mswindows_executable_type): mingw32 now has enough headers for
11265 2000-05-20 Andy Piper <andy@xemacs.org>
11267 * console-msw.c (mswindows_output_last_error): ; -> ,
11269 2000-05-12 Andy Piper <andy@xemacs.org>
11271 * console-msw.c (FROB): compare ints with ints.
11273 2000-05-11 Andy Piper <andy@xemacs.org>
11275 * glyphs-x.c (x_finalize_image_instance): make minimal build
11278 2000-05-20 Ben Wing <ben@xemacs.org>
11281 * event-Xt.c (vars_of_event_Xt):
11282 move modifier-keys-are-sticky to event-stream.c.
11285 * event-msw.c (mswindows_enqueue_mouse_button_event):
11286 * event-msw.c (key_needs_default_processing_p):
11287 * event-msw.c (XEMSW_LCONTROL):
11288 * event-msw.c (mswindows_handle_sticky_modifiers):
11289 * event-msw.c (FROB):
11290 * event-msw.c (clear_sticky_modifiers):
11291 * event-msw.c (output_modifier_keyboard_state):
11292 * event-msw.c (output_alt_keyboard_state):
11293 * event-msw.c (mswindows_wnd_proc):
11294 * event-msw.c (mswindows_modifier_state):
11295 * event-msw.c (emacs_mswindows_handle_magic_event):
11296 implement sticky modifiers.
11299 * event-stream.c (vars_of_event_stream):
11300 move modifier-keys-are-sticky here.
11303 add CHECK_FUNCTION.
11306 implement map-range-table.
11309 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
11311 * redisplay-tty.c (reset_tty_modes):
11312 (tty_redisplay_shutdown): Adjust argument type to
11313 tty_frame_output_end.
11315 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11317 * eval.c (Fbacktrace): Don't output a line with only right
11320 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
11322 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
11323 (Fpq_reset_poll): Ditto.
11325 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
11327 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
11329 2000-05-16 Ben Wing <ben@xemacs.org>
11332 * buffer.c (dfc_convert_to/from_internal_format):
11333 * buffer.c (reinit_vars_of_buffer):
11334 Fix conversion functions to allow reentrancy.
11337 * console-msw.c (mswindows_output_last_error):
11338 New fun, generally useful -- output a human-readable
11339 version of GetLastError() on the console.
11342 * console-msw.h (struct mswindows_frame):
11343 Changes for DeferWindowPos. Declare mswindows_output_last_error().
11345 * console-stream.c (stream_output_begin):
11346 * console-stream.c (stream_output_end):
11347 * console-stream.c (stream_output_vertical_divider):
11348 * console-stream.c (stream_clear_region):
11349 * console-stream.c (stream_flash):
11350 * console-stream.c (console_type_create_stream):
11351 Delete blank stream methods, not needed.
11353 * console.h (struct console_methods):
11354 Split begin/end methods into window and frame.
11357 * event-msw.c (mswindows_handle_paint):
11358 * event-msw.c (output_alt_keyboard_state):
11359 * event-msw.c (mswindows_wnd_proc):
11360 * event-msw.c (vars_of_event_mswindows):
11361 Comment about problems with ignored-expose.
11362 Define mswindows-debug-events; not really implemented.
11364 * frame-msw.c (mswindows_init_frame_1):
11368 * glyphs-msw.c (begin_defer_window_pos):
11369 * glyphs-msw.c (mswindows_unmap_subwindow):
11370 * glyphs-msw.c (mswindows_map_subwindow):
11371 * glyphs-msw.c (mswindows_resize_subwindow):
11372 Use DeferWindowPos to reduce flashing when mapping/unmapping.
11374 * glyphs.c (make_image_instance_1):
11377 * gutter.c (Fredisplay_gutter_area):
11378 Use new begin/end methods.
11380 * lisp.h (Dynarr_new2):
11384 * redisplay-msw.c (mswindows_frame_output_begin):
11385 * redisplay-msw.c (mswindows_frame_output_end):
11386 * redisplay-msw.c (console_type_create_redisplay_mswindows):
11387 New begin/end methods -- handle DeferWindowPos.
11389 * redisplay-output.c (redisplay_move_cursor):
11390 * redisplay-output.c (redraw_cursor_in_window):
11391 * redisplay-output.c (redisplay_update_line):
11392 * redisplay-output.c (redisplay_output_window):
11393 New begin/end methods.
11396 * redisplay-tty.c (tty_frame_output_begin):
11397 * redisplay-tty.c (tty_frame_output_end):
11398 * redisplay-tty.c (console_type_create_redisplay_tty):
11399 New begin/end methods.
11402 * redisplay-x.c (x_window_output_begin):
11403 * redisplay-x.c (x_window_output_end):
11404 * redisplay-x.c (console_type_create_redisplay_x):
11405 New begin/end methods.
11407 * redisplay.c (redisplay_frame):
11408 * redisplay.c (Fredisplay_echo_area):
11409 New begin/end methods.
11410 use MAYBE_DEVMETH for clear_frame; it may not exist.
11412 * window.h (WINDOW_XFRAME):
11413 WINDOW_XFOO macros -- get locale and decode struct pointer.
11416 2000-05-12 Ben Wing <ben@xemacs.org>
11419 * emacs.c (ensure_no_quitting_from_now_on):
11420 * emacs.c (fatal_error_signal):
11421 * emacs.c (mswindows_handle_hardware_exceptions):
11423 * emacs.c (Fkill_emacs):
11424 * emacs.c (shut_down_emacs):
11425 * emacs.c (assert_failed):
11426 various improvements in fatal error handling.
11429 move preparing_for_armageddon to emacs.c.
11432 declare fatal_error_in_progress.
11435 * print.c (std_handle_out_external):
11436 * print.c (std_handle_out_va):
11437 * print.c (stderr_out):
11438 * print.c (stdout_out):
11439 use console under mswin when no standard output.
11440 don't do code conversion during fatal error.
11442 * scrollbar.c (Fscrollbar_page_up):
11443 * scrollbar.c (Fscrollbar_page_down):
11444 fix missing else. reindent.
11446 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
11450 * glyphs.h (GLYPH_CACHEL_DESCENT):
11451 (GLYPH_CACHEL_DESCENT):
11452 (GLYPH_CACHEL_DESCENT):
11453 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
11454 used in case these are inline functions.
11455 Use more absurd values to error check.
11457 include window.h for error check functions.
11459 2000-05-11 Ben Wing <ben@xemacs.org>
11461 * cmdloop.c (Freally_early_error_handler):
11462 Display message box under windows; otherwise, message will disappear
11463 before it can be viewed.
11466 * console-msw.c (Fmswindows_message_box):
11467 * console-msw.c (FROB):
11468 * console-msw.c (syms_of_console_mswindows):
11469 Define new fun `mswindows-message-box'.
11470 #### I will merge this into `popup-dialog-box'; just give me
11474 * general.c (syms_of_general):
11475 Some new symbols used in `mswindows-message-box'.
11478 * glyphs.c (Fset_image_instance_property):
11479 put warning in this fun.
11482 * glyphs.h (GLYPH_CACHEL_WIDTH):
11483 * glyphs.h (GLYPH_CACHEL_ASCENT):
11484 * glyphs.h (GLYPH_CACHEL):
11485 * glyphs.h (GLYPH_CACHEL_GLYPH):
11486 define error-checking versions to try to catch a bug i've seen --
11487 redisplay gets in an infinite loop because the glyph width of the
11488 continuation glyph is 65535.
11491 Extern message-box stuff.
11493 * window.c (allocate_window):
11494 * window.c (make_dummy_parent):
11495 * window.c (Fset_window_configuration):
11496 Use EQUAL not EQ for subwindow caches to make them work a bit
11497 better. (Something is still very broken.)
11500 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11502 * glyphs.c (image_instantiate): Suppress gcc warnings.
11503 (Fmake_image_instance): Fix doc string.
11504 * specifier.c (Fmake_specifier): Ditto.
11506 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
11508 * paths.h.in (PATH_LOCK): Removed.
11509 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
11510 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
11512 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
11514 * fns.c (Ffeaturep): Update e-mail address in doc-string.
11515 Document (featurep '(and xemacs 21.02)).
11517 2000-05-09 Ben Wing <ben@xemacs.org>
11519 * buffer.c (complex_vars_of_buffer):
11520 update modeline-format doc.
11523 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
11526 timeline of all released versions of Emacs, for use in creating
11527 authorship comments and in synching up.
11529 * glyphs-widget.c (image_instantiator_buttons):
11530 * glyphs-widget.c (image_instantiator_edit_fields):
11531 * glyphs-widget.c (image_instantiator_combo_box):
11532 * glyphs-widget.c (image_instantiator_scrollbar):
11533 * glyphs-widget.c (image_instantiator_progress_guage):
11534 * glyphs-widget.c (image_instantiator_tree_view):
11535 * glyphs-widget.c (image_instantiator_tab_control):
11536 * glyphs-widget.c (image_instantiator_labels):
11537 * glyphs-widget.c (image_instantiator_layout):
11538 * glyphs-widget.c (image_instantiator_native_layout):
11539 rename decode_domain method to governing_domain.
11542 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
11543 * glyphs.c (add_entry_to_device_ii_format_list):
11544 make sure we don't put an entry more than once into the list.
11545 * glyphs.c (check_instance_cache_mapper):
11546 *************************************************************
11547 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
11549 *************************************************************
11550 * glyphs.c (get_image_instantiator_governing_domain):
11551 clean up, expand on new concept of governing domain.
11552 * glyphs.c (instantiate_image_instantiator):
11553 * glyphs.c (allocate_image_instance):
11554 use governing_domain instead of cache_domain in naming.
11555 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
11556 * glyphs.c (make_image_instance_1):
11557 * glyphs.c (Fmake_image_instance):
11558 allow for any domain (not just device), and process the
11559 governing domain correctly. very big doc fix.
11560 * glyphs.c (Fimage_instance_domain):
11561 new primitive, to retrieve the governing domain of an image instance.
11562 * glyphs.c (image_instantiate):
11563 use new governing_domain stuff. this fixes a crash you could get
11564 by instantiating certain widget glyphs in frame locales. (should
11565 signal an error instead of crashing.)
11566 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
11567 * glyphs.c (Fglyphp): clean up doc.
11568 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
11569 * glyphs.c (syms_of_glyphs):
11570 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
11571 * glyphs.c (image_instantiator_format_create): add some comments about
11573 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
11574 for current-display-table. (Apparently Hrjove implemented in 1998 a
11575 design I wrote up in 1996, but didn't update the doc string.)
11577 * glyphs.h: clean up a doc string.
11578 * glyphs.h (governing_domain):
11579 * glyphs.h (struct image_instantiator_methods):
11580 changes for governing_domain stuff.
11583 * gutter.c (Fgutter_specifier_p):
11584 * gutter.c (Fgutter_size_specifier_p):
11585 * gutter.c (Fgutter_visible_specifier_p):
11587 * objects.c (Fcolor_specifier_p):
11588 * objects.c (Ffont_specifier_p):
11589 * objects.c (Fface_boolean_specifier_p):
11590 doc strings moved to make-*-specifier.
11592 * redisplay.c (add_disp_table_entry_runes_1):
11593 * redisplay.c (generate_fstring_runes):
11594 * redisplay.c (screen):
11595 add random comments and doc strings.
11598 * specifier.c (Fmake_specifier):
11599 major overhaul of this doc string.
11601 * specifier.c (Fvalid_specifier_domain_p):
11602 comment about the bogosity of image instances being domains.
11603 * specifier.c (decode_domain):
11604 now non-static, used in glyphs.c.
11605 * specifier.c (specifier_instance):
11606 comment about the bogosity of image instances being domains.
11607 * specifier.c (Fgeneric_specifier_p):
11608 move doc string to make-generic-specifier.
11609 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
11613 * specifier.h (DOMAIN_FRAME):
11614 * specifier.h (DOMAIN_LIVE_P):
11615 * specifier.h (DOMAIN_XDEVICE):
11617 add comments about problems with these macros.
11618 prototype for decode_domain.
11621 * toolbar.c (Ftoolbar_specifier_p):
11622 move doc string to `make-toolbar-specifier'.
11624 * window.c (window_unmap_subwindows_cache_mapper):
11625 *************************************************************
11626 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
11628 *************************************************************
11630 2000-05-09 Andy Piper <andy@xemacs.org>
11632 * glyphs.h: declare reset_frame_subwindow_instance_cache.
11634 * window.c (Fset_window_configuration): reset the frame subwindow
11635 cache and re-initialize the window subwindow caches.
11637 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
11639 2000-05-09 Ben Wing <ben@xemacs.org>
11641 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
11644 2000-04-26 Mike Woolley <mike@bulsara.com>
11646 * ntheap.c: Changed recreate_heap to limit the amount reserved
11647 for the heap to that which is actually available. Also now
11648 displays a message box (with some dignostics) in the event that
11649 it still can't start.
11651 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11653 * callproc.c (Fold_call_process_internal): GCPRO path
11655 2000-05-08 Jan Vroonhof <jan@xemacs.org>
11657 Patch by Bill Perry.
11659 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
11660 back data instead of #ifdef.
11661 (Fscrollbar_page_down): ditto.
11663 2000-05-07 Ben Wing <ben@xemacs.org>
11666 Kludge for defining Qmswindows_tstr.
11669 * nt.c (open_input_file):
11670 * nt.c (open_output_file):
11671 * nt.c (rva_to_section):
11672 * nt.c (mswindows_executable_type):
11673 Move all memory-mapped-file routines here (some were in unexnt.c,
11674 which is bad because they are used by process-nt.c, and unexnt
11675 won't be around when portable dumping). Synched the above routines
11679 Removed ifdef'd out bogus code.
11680 Fixed some prototypes.
11682 * nt.h (file_data):
11683 * nt.h (OFFSET_TO_RVA):
11684 * nt.h (RVA_TO_OFFSET):
11685 * nt.h (RVA_TO_PTR):
11686 Moved the memory-mapped-file structures, macros and prototypes
11687 here, to parallel nt.c. ntheap.h should really be removed
11688 entirely, and it's a non-portable-dumper specific file.
11690 * ntheap.h (round_to_next):
11691 Moved the memory-mapped-file structures, macros and prototypes
11694 * ntproc.c (compare_env):
11695 Moved rva_to_section and mswindows_executable_type to nt.c.
11696 Moved compare_env to process-nt.c.
11697 ntproc.c will die, one day.
11699 * ntproc.c (sys_spawnve):
11700 Account for win32_ -> mswindows_.
11703 * process-nt.c (struct nt_process_data):
11704 * process-nt.c (ensure_console_window_exists):
11705 * process-nt.c (compare_env):
11706 * process-nt.c (nt_create_process):
11707 * process-nt.c (nt_kill_process_by_pid):
11708 * process-nt.c (syms_of_process_nt):
11709 * process-nt.c (vars_of_process_nt):
11710 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
11711 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
11712 changes). Eliminate our old `nt-quote-process-args' mechanism.
11713 Synch up nt_create_process with FSF 20.6 sys_spawnve.
11714 Move compare_env here from ntproc.c.
11716 * process.c (Fprocess_send_region):
11717 Takes an optional fourth argument, BUFFER, which should fix some
11718 problems with call-process.
11721 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
11724 Move ICC_BAR_CLASSES to syscommctrl.h.
11725 Add preliminary macros for MSWindows/Mule. More to come.
11728 * unexnt.c (unexec):
11729 open_output_file moved to nt.c.
11732 2000-05-05 Andy Piper <andy@xemacs.org>
11734 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
11735 instance from the frame cache also since GC may catch up too late
11736 to make frame deletion sane.
11738 2000-05-04 Andy Piper <andy@xemacs.org>
11740 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
11741 (x_finalize_image_instance): ungcpro on deletion.
11743 * glyphs.c (image_instantiator_format_create): give pointers a
11744 query geometry method so that the geometry is at least set.
11746 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
11747 initialize layouts if using widgets.
11749 2000-05-03 Andy Piper <andy@xemacs.org>
11751 * nt.c: remove bogus reference to sysmmsystem.h
11753 * gui-x.c (popup_selection_callback): fix no selection abort.
11755 2000-05-02 Andy Piper <andy@xemacs.org>
11757 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
11758 (mswindows_widget_instantiate): ditto.
11760 * glyphs-widget.c (initialize_widget_image_instance): initialize
11761 children correctly.
11762 (widget_instantiate): cope with children and items in the same
11765 * glyphs.c (mark_image_instance): cope with children as a first
11767 (image_instance_equal): ditto.
11768 (image_instance_hash): ditto.
11769 (image_instance_changed): ditto.
11771 2000-04-30 Andy Piper <andy@xemacs.org>
11773 * glyphs.c (subwindow_query_geometry): new function. Return some
11775 (subwindow_instantiate): don't assign dimensions if none have been
11777 (image_instantiator_format_create): add subwindow_query_geometry.
11778 (print_image_instance): cope with layouts as widgets.
11780 2000-04-29 Andy Piper <andy@xemacs.org>
11782 * frame.c (delete_frame_internal): call
11783 free_frame_subwindow_instance_cache so that all subwindows are
11784 finalized before their parent.
11785 (mark_frame): remove subwindow_cachels.
11786 (Fmake_frame): remove subwindow_cachel manipulation.
11787 (allocate_frame_core): subwindow_instance_cache is a weak list.
11788 (delete_frame_internal): set subwindow_instance_cache to nil.
11790 * glyphs-msw.c (mswindows_finalize_image_instance): make double
11792 (mswindows_finalize_image_instance): use the device
11793 not the domain as the domain may have died already.
11795 * glyphs-x.c (x_finalize_image_instance): ditto.
11796 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
11799 * redisplay-output.c (redisplay_unmap_subwindows): update for
11800 subwindow instance cache as a weak list.
11801 (redisplay_unmap_subwindows_maybe): ditto.
11802 (redisplay_unmap_subwindows_except_us): ditto.
11804 * glyphs.c (unmap_subwindow): error checking will check the domain
11805 so don't deal with it here. Don't use cachels anymore.
11806 (map_subwindow): ditto.
11807 (update_subwindow_cachel_data): remove old accessor names.
11808 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
11809 (Fresize_subwindow): don't update cachel.
11810 (mark_subwindow_cachels):
11811 (update_subwindow_cachel_data):
11812 (add_subwindow_cachel):
11813 (get_subwindow_cachel_index):
11814 (update_subwindow_cachel):
11815 (reset_subwindow_cachels):
11816 (mark_subwindow_cachels_as_not_updated): deleted.
11817 (cache_subwindow_instance_in_frame_maybe): new function. Add a
11818 subwindow instance to the frame cache.
11819 (find_matching_subwindow): update for subwindow instance cache as
11821 (update_widget_instances): ditto.
11822 (image_instance_type_to_mask):inlined.
11823 (free_frame_subwindow_instance_cache): new function. finalize all
11824 subwindows that are instantiated.
11826 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
11827 of cachel information.
11828 (IMAGE_INSTANCE_DISPLAY_X):
11829 (IMAGE_INSTANCE_DISPLAY_Y):
11830 (IMAGE_INSTANCE_DISPLAY_WIDTH):
11831 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
11832 (XIMAGE_INSTANCE_DISPLAY_X):
11833 (XIMAGE_INSTANCE_DISPLAY_Y):
11834 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
11835 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
11836 remove subwindow_cachel structure and function references.
11837 (image_instance_type_to_mask): inline from glyphs.c
11839 * redisplay.c (redisplay_frame): remove subwindow_cachel
11842 * frame.h (struct frame): remove subwindow_cachels.
11843 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
11845 * frameslots.h: add subwindow_instance_cache.
11847 * window.c (replace_window): check subwindow cache of replacement.
11848 (window_unmap_subwindows_cache_mapper):
11849 (window_unmap_subwindows): new functions. Unmap all subwindows
11850 cached on this window.
11851 (mark_window_as_deleted): unmap all subwindows.
11853 2000-04-27 Andy Piper <andy@xemacs.org>
11855 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
11857 * glyphs-widget.c (widget_layout): return something.
11858 (layout_layout): return something. Fail if not initialized.
11859 (layout_query_geometry): ditto.
11860 (image_instantiator_native_layout): new function. Initialized the
11861 native layout type.
11862 (widget_instantiate): don't do layout stuff here.
11864 * glyphs.c (instantiate_image_instantiator): reorded calling or
11865 instantiate and post_instantiate with layout in between.
11866 (image_instance_layout): be more selective about deciding whether
11867 the layout has been done or not.
11869 * glyphs.h (struct image_instantiator_methods): return a value
11870 from layout_method.
11872 2000-04-26 Andy Piper <andy@xemacs.org>
11874 * glyphs.c (allocate_image_instance): make initial width and
11875 height unspecified. Set initialized to 0.
11877 * syscommctrl.h new file. Encapsulates commctrl.h.
11879 * syswindows.h new file. Encapsulates windows.h.
11881 * ntplay.c: use new syswindows.h and syscommctrl.h header.
11883 * console-msw.h: ditto.
11885 * redisplay-tty.c (tty_output_display_block): remove layout references.
11887 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
11888 window handle rather than just the frame.
11890 * glyphs.c (mark_image_instance): remove layout references.
11891 (print_image_instance): ditto.
11892 (image_instance_equal): ditto.
11893 (image_instance_hash): ditto.
11894 (decode_image_instance_type): ditto.
11895 (encode_image_instance_type): ditto.
11896 (image_instantiate): ditto.
11897 (allocate_glyph): ditto.
11898 (Fimage_instance_height): ditto.
11899 (Fimage_instance_width): ditto.
11900 (update_subwindow): ditto.
11902 * redisplay-x.c (x_output_display_block): recode for layouts as
11905 * redisplay-output.c (redisplay_output_layout): recode for layouts
11907 (compare_runes): remove layout references.
11909 * redisplay-msw.c (mswindows_output_display_block): recode for
11910 layouts as widgets.
11912 * glyphs-widget.c (image_instantiator_layout): remove
11913 layout_possible_dest_types.
11914 (layout_possible_dest_types): deleted.
11916 * glyphs.h (image_instance_type): remove layout references.
11917 (struct Lisp_Image_Instance): ditto. Add initialized flag.
11918 (IMAGE_INSTANCE_INITIALIZED): new accessor.
11919 (XIMAGE_INSTANCE_INITIALIZED): ditto.
11921 2000-04-25 Andy Piper <andy@xemacs.org>
11923 * glyphs-widget.c (image_instantiator_buttons):
11924 (image_instantiator_edit_fields):
11925 (image_instantiator_combo_box):
11926 (image_instantiator_scrollbar):
11927 (image_instantiator_progress_guage):
11928 (image_instantiator_tree_view):
11929 (image_instantiator_tab_control):
11930 (image_instantiator_labels):
11931 (image_instantiator_layout): call default post_instantiate method.
11932 (widget_post_instantiate): new function. Simply lays out the
11935 * glyphs.h (struct image_instantiator_methods): add
11936 post_instantiate method.
11938 * glyphs.c (instantiate_image_instantiator): add post_instantiate
11941 2000-04-23 Andy Piper <andy@xemacs.org>
11943 * glyphs.h (struct image_instantiator_methods): add
11944 decode_domain_method.
11945 (struct Lisp_Image_Instance): remove subwindow frame - it can be
11946 derived from the domain.
11947 (IMAGE_INSTANCE_FRAME): new accessor.
11948 (XIMAGE_INSTANCE_FRAME): ditto.
11950 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
11951 instead of _SUBWINDOW_FRAME.
11952 (finalize_image_instance): ditto.
11953 (Fimage_instance_foreground): ditto.
11954 (Fimage_instance_background): ditto.
11955 (image_instantiate): ditto.
11956 (update_subwindow_cachel): ditto.
11957 (update_subwindow): ditto.
11958 (unmap_subwindow): ditto.
11959 (map_subwindow): ditto
11960 (subwindow_instantiate): ditto.
11961 * glyphs-msw.c (mswindows_update_widget): ditto.
11962 (mswindows_progress_gauge_instantiate): ditto.
11963 (mswindows_tab_control_update): ditto.
11964 * glyphs-x.c (x_update_widget): ditto.
11965 (x_widget_instantiate): ditto.
11966 (x_tab_control_instantiate): ditto.
11967 (x_tab_control_update): ditto.
11968 * event-msw.c (mswindows_wnd_proc): ditto
11970 * glyphs-widget.c (image_instantiator_layout): use
11971 subwindow_decode_domain.
11972 (image_instantiator_buttons): ditto.
11973 (image_instantiator_edit_fields): ditto.
11974 (image_instantiator_combo_box): ditto.
11975 (image_instantiator_scrollbar): ditto.
11976 (image_instantiator_progress_guage): ditto.
11977 (image_instantiator_tree_view): ditto.
11978 (image_instantiator_tab_control): ditto.
11979 (image_instantiator_labels): ditto.
11980 (image_instantiator_layout): ditto.
11982 * glyphs.c: add instance error checking to many functions.
11983 (instantiate_image_instantiator): decode device from cache_domain.
11984 (image_instantiate): partially rewrite by using
11985 decode_image_instantiator_domain to determine what domain the
11986 instance needs to be cached in.
11987 (decode_image_instantiator_domain): new function. Determine what
11988 domain the image needs to be cached in.
11989 (check_window_subwindow_cache): new error checking function.
11990 (check_instance_cache_mapper): ditto.
11991 (check_image_instance_structure): ditto.
11992 (subwindow_decode_domain): new function. Encodes a window as a
11993 subwindow's cache domain.
11994 (image_instantiator_format_create): use it for text and
11997 2000-04-21 Andy Piper <andy@xemacs.org>
11999 * glyphs.c (image_instance_device): new function.
12000 (image_instance_frame): new function.
12001 (image_instance_window): new function.
12002 (image_instance_live_p): new function.
12004 * window.c (mark_window_as_deleted): reset the subwindow_instance_
12007 * glyphs.h (struct Lisp_Image_Instance): device->domain.
12008 (IMAGE_INSTANCE_DOMAIN): new accessor.
12009 (XIMAGE_INSTANCE_DOMAIN): ditto.
12011 * glyphs-x.c (x_finalize_image_instance): device->domain.
12013 * glyphs-msw.c (init_image_instance_geometry): device->domain.
12014 (mswindows_finalize_image_instance): ditto.
12016 * glyphs-eimage.c (jpeg_instantiate): device->domain.
12017 (gif_instantiate): ditto.
12018 (png_instantiate): ditto.
12019 (tiff_instantiate): ditto.
12021 * glyphs.c (instantiate_image_instantiator): use domain rather
12023 (mark_image_instance): device -> domain.
12024 (print_image_instance): ditto.
12025 (finalize_image_instance): ditto.
12026 (image_instance_equal): ditto.
12027 (allocate_image_instance): ditto.
12028 (Fcolorize_image_instance): ditto.
12029 (query_string_geometry): ditto.
12030 (image_instantiate): ditto
12031 (query_string_font): ditto.
12032 (image_instantiate): ditto.
12033 (update_subwindow): ditto.
12034 (unmap_subwindow): ditto.
12035 (map_subwindow): ditto.
12036 (subwindow_instantiate): ditto.
12038 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
12039 (DOMAIN_FRAME): ditto.
12040 (DOMAIN_WINDOW): ditto.
12041 (DOMAIN_LIVE_P): ditto.
12042 (XDOMAIN_DEVICE): ditto.
12043 (XDOMAIN_FRAME): ditto.
12044 (XDOMAIN_WINDOW): ditto.
12046 * specifier.c (Fvalid_specifier_domain_p): add image instances as
12047 a valid specifier domain.
12049 2000-04-19 Andy Piper <andy@xemacs.org>
12051 * glyphs-widget.c (syms_of_glyphs_widget): remove
12052 widget-callback-current-channel.
12053 (vars_of_glyphs_widget): ditto.
12056 * gui.c (get_gui_callback): revert to previous behaviour.
12058 2000-04-18 Andy Piper <andy@xemacs.org>
12060 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
12061 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
12062 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
12064 * glyphs.c (image_instance_equal): add margin_width.
12065 (image_instance_hash): ditto.
12067 * glyphs-widget.c (widget_instantiate): deal with margin-width.
12068 (layout_query_geometry): ditto.
12069 (layout_layout): ditto.
12070 (syms_of_glyphs_widget): add margin-width.
12071 (image_instantiator_layout): allow margin-width.
12073 * glyphs.c (update_widget_instances): make a normal function.
12074 (syms_of_glyphs): remove Qupdate_widget_instances.
12077 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
12078 so that we don't corrupt ideas about the last event or
12079 command. Remove widget-callback-current-channel fiddling.
12080 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
12082 2000-05-01 Martin Buchholz <martin@xemacs.org>
12084 * XEmacs 21.2.33 is released.
12086 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
12088 * make-src-depend: Allow dots in header file name.
12090 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
12092 * mule-charset.h (struct charset_lookup): Add
12093 next_allocated_1_byte_leading_byte and
12094 next_allocated_2_byte_leading_byte.
12095 * mule-charset.c: Move above two variables so that those values
12098 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
12100 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
12101 when string length is zero.
12102 (find_charsets_in_emchar_string): Ditto.
12104 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
12106 * lisp.h: extern Qdialog and Qmenubar.
12108 * gui-x.c: added events.h.
12109 also fixed typo which made the file uncompilable.
12111 * general.c: Added Qmenubar and Qdialog
12113 2000-04-28 Ben Wing <ben@xemacs.org>
12115 * frame-msw.c (mswindows_init_frame_1):
12116 * frame-msw.c (mswindows_mark_frame):
12117 * event-msw.c (mswindows_enqueue_dispatch_event):
12119 * console-msw.h (struct mswindows_frame):
12120 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
12121 there are now three hash tables for callbacks.
12122 mswindows_enqueue_dispatch_event is no longer static.
12124 * dialog-x.c (maybe_run_dbox_text_callback):
12125 * dialog-x.c (dbox_descriptor_to_widget_value):
12126 switch to new cons3 form for callbacks.
12128 * glyphs-msw.c (mswindows_register_gui_item):
12129 * glyphs-msw.c (mswindows_widget_instantiate):
12130 * glyphs-msw.c (add_tree_item):
12131 * glyphs-msw.c (add_tab_item):
12132 new image instance parameter, so it can be passed to callback-ex.
12133 respect :callback-ex as well as :callback.
12135 * glyphs-widget.c (VALID_GUI_KEYWORDS):
12138 * glyphs.c (print_image_instance):
12139 prettify, e.g. now prints widget type.
12142 certain funs have new image instance parameter.
12145 * gui.c (get_gui_callback):
12146 * gui.c (gui_item_add_keyval_pair):
12147 * gui.c (gui_item_init):
12148 * gui.c (gui_add_item_keywords_to_plist):
12149 * gui.c (mark_gui_item):
12150 * gui.c (gui_item_hash):
12151 * gui.c (gui_item_equal):
12152 * gui.c (copy_gui_item):
12153 * gui.c (syms_of_gui):
12154 recognize callback-ex in a number of places.
12155 also, fix the annoying "can't get out of yes-no dialog" bug.
12158 * gui.h (struct Lisp_Gui_Item):
12159 recognize callback-ex in a number of places.
12161 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12162 new parameter in button_item_to_widget_value.
12164 * glyphs-x.c (x_update_widget):
12165 * glyphs-x.c (x_button_instantiate):
12166 * glyphs-x.c (x_button_update):
12167 * glyphs-x.c (x_progress_gauge_instantiate):
12168 * glyphs-x.c (x_edit_field_instantiate):
12169 * glyphs-x.c (x_combo_box_instantiate):
12170 * glyphs-x.c (x_tab_control_instantiate):
12171 * glyphs-x.c (x_label_instantiate):
12172 new image instance parameter in various places.
12175 * event-Xt.c (enqueue_Xt_dispatch_event):
12176 this fun gets exported.
12179 * gui-msw.c (mswindows_handle_gui_wm_command):
12180 handle both :callback and :callback-ex, and generate our own
12181 event because it's one of the callback-ex arguments.
12184 * gui-x.c (popup_selection_callback):
12185 handle both :callback and :callback-ex, and generate our own
12186 event because it's one of the callback-ex arguments.
12187 * gui-x.c (button_item_to_widget_value):
12188 * gui-x.c (gui_items_to_widget_values_1):
12189 * gui-x.c (gui_item_children_to_widget_values):
12190 * gui-x.c (gui_items_to_widget_values):
12191 new image instance parameter in various places.
12193 * fns.c (Freplace_list):
12194 fix small typo in doc string.
12197 declare enqueue_Xt_dispatch_event.
12199 2000-04-28 Ben Wing <ben@xemacs.org>
12202 * buffer.c (Frecord_buffer):
12203 * buffer.c (syms_of_buffer):
12204 delete record-buffer-hook.
12207 * fns.c (Freplace_list):
12208 * fns.c (syms_of_fns):
12209 new primitive replace-list.
12212 slot for old buffer-alist.
12215 exfun replace-list.
12218 * redisplay.c (redisplay_frame):
12219 * redisplay.c (syms_of_redisplay):
12220 * redisplay.c (vars_of_redisplay):
12221 new hook buffer-list-changed-hook.
12224 2000-04-27 Ben Wing <ben@xemacs.org>
12226 * extents.h: extern in_modeline_generation.
12228 * redisplay.c (generate_formatted_string_db): set
12229 in_modeline_generation.
12231 * extents.c (extent_changed_for_redisplay): don't mark redisplay
12232 flags if in modeline generation. otherwise frame-modified-tick
12233 is ticked far too often.
12234 Declare in_modeline_generation.
12236 2000-04-26 Ben Wing <ben@xemacs.org>
12238 * emacs.c (vars_of_emacs): document quick-build "error-checking"
12240 (vars_of_emacs): add quick-build as an error-checking option.
12241 A bit kludgy, but there doesn't seem much point in creating
12242 a real var for this.
12244 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
12246 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
12248 * redisplay.h (struct display_line): Add a new variable,
12251 * redisplay.c (create_text_block): Set dl->line_continuation if
12252 the line continues.
12253 (create_string_text_block): Ditto.
12254 (regenerate_window_incrementally): Use line_continuation instead
12255 of searching continuation glyph.
12256 (add_margin_runes): Call add_glyph_rune.
12257 (add_glyph_rune): Handle margin glyph.
12259 2000-04-20 Martin Buchholz <martin@xemacs.org>
12261 * filelock.c (fill_in_lock_file_name):
12263 Check for IS_ANY_SEP instead of '/'.
12265 Avoid generating gratuitous garbage. Call user_login_name() directly.
12266 Never check errno without first seeing that system call failed.
12267 (unlock_file): Add GCPRO.
12268 (Flock_buffer): Fix docstring.
12269 (Ffile_locked_p): Fix docstring. Add GCPRO.
12271 2000-04-19 Martin Buchholz <martin@xemacs.org>
12273 * sysdep.c (get_pty_max_bytes):
12274 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
12275 strings longer than 252 bytes.
12277 * md5.c: Unconditionally include ANSI header <limits.h>
12279 * glyphs-x.c (convert_EImage_to_XImage):
12280 * lisp-union.h (union Lisp_Object):
12281 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
12283 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
12285 * filelock.c (current_lock_owner): Remove unused variable o, p.
12287 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
12289 * callint.c: Remove multiply defined symbol Qlet
12290 (syms_of_callint): ditto.
12292 2000-04-14 Andy Piper <andy@xemacs.org>
12294 * general.c (syms_of_general): add last-command, this-command, let
12297 * lisp.h: declare various symbols.
12299 * glyphs.h: declare Qwidget_callback_current_channel;
12301 * glyphs-widget.c (syms_of_glyphs_widget): add
12302 Qgui_callback_current_channel.
12303 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
12305 * gui-msw.c (mswindows_handle_gui_wm_command): bind
12306 widget-callback-current-channel when invoking the interactive
12307 arg. Also bind last-command and next-command when invoking the
12309 * gui-x.c (popup_selection_callback): ditto.
12311 * gui.c (get_gui_callback): massage args so that we are always
12312 calling eval. This allows us to add our own variable bindings
12315 * glyphs-x.c (x_button_instantiate): use
12316 gui_items_to_widget_values since this is GC safe.
12317 (x_progress_gauge_instantiate): ditto.
12318 (x_edit_field_instantiate): ditto.
12319 (x_label_instantiate): ditto.
12321 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
12322 (emacs_Xt_event_widget_focus_out): new function
12323 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
12325 (emacs_Xt_event_add_widget_actions): new function. add focus
12326 functions as actions.
12327 (init_event_Xt_late): use it.
12329 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
12331 * event-stream.c (Fdispatch_event): Doc fix.
12333 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
12335 * postgresql.c: Remove all references to PQsetenv*.
12337 * postgresql.h: Remove references to PGsetenvHandler object.
12338 * lrecord.h (lrecord_type): Ditto.
12340 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12342 * glyphs-msw.h (struct mswindows_image_instance_data): Added
12343 real_heigh and real_width members, and accessor macros for these.
12345 * glyphs-msw.c (init_image_instance_geometry): New function.
12346 (init_image_instance_from_dibitmap): Use it.
12347 (mswindows_resource_instantiate): Use it.
12348 (init_image_instance_from_xbm_inline): Use it.
12349 (mswindows_initialize_image_instance_mask): Use real bitmap
12351 (mswindows_create_resized_bitmap): Ditto.
12352 (mswindows_create_resized_mask): Ditto.
12354 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
12355 and bitmap to their surface size.
12357 2000-04-11 Jan Vroonhof <jan@xemacs.org>
12359 * process-unix.c (unix_send_process): Guard against process MIA
12360 after Faccept_process_output.
12362 2000-04-11 Ben Wing <ben@xemacs.org>
12364 * eval.c (unbind_to_hairy): fix brokenness introduced by
12365 nanosecond speed improvements.
12367 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
12369 * sunplay.c (init_device): To play sounds correctly, the device
12370 apparently needs to be initialized at least once by XEmacs. Make
12373 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
12375 * redisplay.c (add_margin_runes): Add text image glyph
12378 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
12380 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
12381 gcc is newer than 2.5.
12383 2000-04-06 Colin Rafferty <colin@xemacs.org>
12385 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
12387 * fns.c (size_bit_vector):
12388 * alloc.c (size_vector):
12389 (make_vector_internal):
12390 (make_bit_vector_internal):
12391 (sweep_bit_vectors_1):
12392 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
12394 2000-04-06 Andy Piper <andy@xemacs.org>
12396 * gmalloc.c (malloc): undo previous change.
12401 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
12403 * line-number.c (buffer_line_number): Revert to former version.
12405 2000-04-06 Andy Piper <andy@xemacs.org>
12407 * gmalloc.c (malloc): add error checking.
12412 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
12413 button_item_to_widget_value arg.
12415 * glyphs-x.c (x_button_instantiate): add extra
12416 button_item_to_widget_value arg.
12417 (x_progress_gauge_instantiate): ditto.
12418 (x_edit_field_instantiate): ditto.
12419 (x_label_instantiate): ditto.
12421 * gui-x.c (gui_items_to_widget_values_1): add extra
12422 button_item_to_widget_value arg.
12423 (button_item_to_widget_value): add extra menu_item_p arg.
12425 * gui-x.h: change signature of button_item_to_widget_value.
12427 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
12428 button_item_to_widget_value arg.
12430 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
12432 * buffer.h (struct buffer): auto_save_modified should be long.
12434 2000-04-05 Andy Piper <andy@xemacs.org>
12436 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
12438 (button_query_geometry): give a little more room so that athena
12441 2000-04-05 Andy Piper <andy@xemacs.org>
12443 * faces.c (complex_vars_of_faces): The widget face should inherit
12444 the font of the gui-element face.
12446 2000-04-04 Andy Piper <andy@xemacs.org>
12448 * glyphs-x.c (x_button_update): new function. unconditionally
12449 update a button's state when the instance is dirty.
12450 (image_instantiator_format_create_glyphs_x): add x_button_update.
12451 (x_widget_instantiate): remove old resize cruft.
12453 2000-04-02 Andy Piper <andy@xemacs.org>
12455 * frame.c (change_frame_size_1): The introduction of gutters means
12456 that we need to allow 0 as a potential frame dimension.
12458 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
12460 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
12461 image glyph if allow_cursor.
12462 (add_hscroll_rune): Don't allow cursor to border glyph.
12463 (create_text_block): Ditto.
12465 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
12466 text not in buffer.
12467 (redisplay_output_layout): Call ensure_face_cachel_complete for
12471 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
12473 * redisplay.c (add_glyph_rune): Adding text image as text runes.
12475 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
12478 * redisplay-tty.c (tty_output_display_block): Delete the routine
12479 for text image glyph
12480 * redisplay-x.c (x_output_display_block): ditto
12481 * redisplay-msw.c (mswindows_output_display_block): ditto
12483 2000-02-02 Mike Alexander <mta@arbortext.com>
12485 Note: Some of these were committed by accident as part of other
12488 * regex.c (regex_compile): Avoid compiler warnings.
12490 * ntproc.c (sys_spawnve): Avoid compiler warnings.
12492 * nt.h: Declare term_ntproc correctly.
12494 * nt.c: Remove incorrect declaration of get_home_directory which
12495 is declared correctly in lisp.h.
12497 * keymap.c (get_keyelt): Avoid compiler warnings.
12498 (raw_lookup_key_mapper): Avoid compiler warnings.
12500 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
12502 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
12504 * filemode.c (mode_string): Avoid compiler warnings.
12506 * file-coding.c (Fcoding_system_aliasee): Add return statement to
12509 * events-mod.h: Undef some things that winuser.h defines differently.
12511 * data.c (Faset): Avoid compiler warnings.
12513 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
12515 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12517 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
12518 Fall through to simple beep on error.
12519 Replace "extern" by real header file.
12521 * linuxplay.c: Use nativesound.h
12522 (play_sound_data): Return error code. Be less verbose on error.
12524 * sunplay.c: Use nativesound.h
12525 (play_sound_data): Return error code. Be less verbose on error.
12527 * ntplay.c: Use nativesound.h
12528 (play_sound_data): Return fake error code
12530 * sgiplay.c: Use nativesound.h
12531 (play_sound_data): Return error code
12533 * hpplay.c: Use nativesound.h, partially implement
12534 new error code. Break compilation until finished.
12535 (play_sound_data): error code.
12537 * nativesound.h (play_sound_file):
12538 (play_sound_data): Prototype in new header.
12540 2000-03-31 Andy Piper <andy@xemacs.org>
12542 * glyphs-widget.c: (button_query_geometry): new function. Adjust
12543 for toggle and radio buttons.
12544 (image_instantiator_buttons): use it.
12546 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12548 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
12549 (x_update_horizontal_scrollbar_callback): Return if no mirror was
12550 found. Scrollbar event probably belonged to some old config.
12552 2000-03-31 Andy Piper <andy@xemacs.org>
12554 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
12556 (initialize_widget_image_instance): default layout to
12557 LAYOUT_HORIZONTAL rather than 0.
12558 (widget_instantiate): reverse the item list at the end rather than
12560 (layout_layout): re-code for the border text at the front of the
12561 item list rather than at the end.
12562 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
12563 provided by the user.
12564 (widget_query_geometry): comment.
12566 2000-03-30 Andy Piper <andy@xemacs.org>
12568 * glyphs-widget.c (image_instantiator_layout): allow standard
12569 widget keywords in layouts.
12571 * gutter.c (output_gutter): cope with nil gutter contents.
12573 * frame.c (Fset_frame_properties): add gutter docs.
12575 2000-03-29 Andy Piper <andy@xemacs.org>
12577 * toolbar-msw.c (TBSTYLE_FLAT): add.
12578 (mswindows_output_toolbar): minor fiddling.
12580 2000-03-29 Andy Piper <andy@xemacs.org>
12582 * gutter.c (output_gutter): force gutter size recalculation if
12583 what we are trying to display won't fit.
12584 (update_gutter_geometry): new function. A per-gutter version of
12585 update_frame_gutter_geometry.
12586 (update_frame_gutter_geometry): use it.
12587 (redraw_exposed_gutter): add extra debugging output.
12589 2000-03-28 Mike Alexander <mta@arbortext.com>
12591 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
12592 (pdump_file_unmap): Implement it on Windows
12593 (pdump_file_get): Save alocated handles for pdump_file_unmap
12595 2000-03-28 Andy Piper <andy@xemacs.org>
12597 * gui.c (get_gui_callback): treat Quit specially.
12599 2000-03-27 Andy Piper <andy@xemacs.org>
12601 * glyphs.c (image_instantiate): be careful to check in the same
12604 2000-03-27 Didier Verna <didier@xemacs.org>
12606 * config.h.in: define the proper SMART_INCLUDE macro.
12607 handle renaming of `foo_h_path' to `foo_h_file'.
12609 * database.c: ditto.
12613 * linuxplay.c: ditto.
12615 * terminfo.c: ditto.
12617 * tooltalk.h: ditto.
12619 2000-03-27 Andy Piper <andy@xemacs.org>
12621 * glyphs-msw.c (mswindows_update_widget): make sure the widget
12622 gets updated whenever the face might have changed.
12624 2000-03-26 Mike Alexander <mta@arbortext.com>
12626 * dumper.c (pdump_resource_free): Fix the comment.
12628 2000-03-21 Olivier Galibert <galibert@pobox.com>
12630 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
12632 2000-03-22 Mike Alexander <mta@arbortext.com>
12634 * dumper.c: Include Windows headers on Windows
12635 (pdump_resource_free): Add a body to the function
12636 (pdump_load): exe_name -> exe_path and add some comments.
12638 2000-03-25 Mike Alexander <mta@arbortext.com>
12640 * gui.c (copy_gui_item_tree): Return a value in all cases
12642 2000-03-21 Didier Verna <didier@xemacs.org>
12644 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
12646 (SMART_INCLUDE): new macro.
12647 (POSTGRES_INCLUDE): new macro to include postgresql headers from
12648 the proper location.
12650 * postgresql.c: use it.
12654 2000-03-24 Andy Piper <andy@xemacs.org>
12656 * gutter.c (redraw_exposed_gutters): must be "in display" when we
12659 2000-03-24 Andy Piper <andy@xemacs.org>
12661 * redisplay-output.c (compare_runes): use image_instance_changed
12662 to detect changes. Do not depend on glyphs_changed, only depend on
12664 (redisplay_output_layout): add debug messages.
12665 (compare_runes): ditto.
12667 * glyphs.h: declare new functions.
12668 (struct Lisp_Image_Instance): remove percent and associated
12671 * gui.h: declare new copying functions.
12673 * gui.c (copy_gui_item_tree): new function.
12674 (copy_gui_item): new function.
12675 (gui_item_id_hash): revert to standard hash.
12676 (gui_item_hash): ditto.
12677 (gui_item_hash_internal): deleted.
12678 (mark_gui_item): mark value.
12679 (gui_item_add_keyval_pair): add value.
12680 (gui_item_init): ditto.
12681 (gui_add_item_keywords_to_plist): ditto.
12682 (gui_item_equal): ditto.
12683 (syms_of_gui): add Q_value.
12685 * glyphs-x.c (x_progress_gauge_update): use pending items and
12686 value for setting the state.
12687 (x_update_widget): don't set items from pending here.
12689 * glyphs-widget.c (update_widget): update items here.
12690 (progress_gauge_set_property): use items for storing value. Put
12691 new value in pending items.
12693 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
12694 items for new value. Convert percent -> value.
12695 (mswindows_tab_control_update): don't update items here.
12697 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
12698 (update_subwindow): ditto.
12699 (image_instance_changed): new function. Compare hash values and
12700 past and present widget items.
12701 (image_instantiate): We more careful about where we instantiate
12703 (image_instantiate): add error checking.
12705 * gutter.c (syms_of_gutter): use -hook.
12707 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
12709 * console-tty.c (Fset_console_tty_input_coding_system): Use
12711 (Fset_console_tty_output_coding_system): Use Qterminal.
12712 (tty_init_console): Use Qkeyboard and Qterminal.
12714 2000-03-21 Ben Wing <ben@xemacs.org>
12716 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
12717 From Mike Alexander <mta@arbortext.com>.
12719 2000-03-21 Ben Wing <ben@xemacs.org>
12721 * event-msw.c (mswindows_need_event): Horrible kludge to fix
12722 process brokenness. Proper implementation to come.
12724 Rename call-process-internal to old-call-process-internal.
12725 New impl. in process.el.
12727 2000-03-21 Martin Buchholz <martin@xemacs.org>
12729 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
12731 2000-03-20 Andy Piper <andy@xemacs.org>
12733 * glyphs.c (full_list_hash): make hashes of the same elements in
12734 different orders return different values.
12736 2000-03-20 Martin Buchholz <martin@xemacs.org>
12738 * XEmacs 21.2.32 is released.
12740 2000-03-20 Martin Buchholz <martin@xemacs.org>
12742 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
12743 (DFC_MALLOC_USE_CONVERTED_DATA):
12744 Add aliasing-safe casts to allow use with char* or unsigned char*
12747 * eldap.c (Fldap_open):
12748 (Fldap_search_basic):
12751 Make C++-compilable.
12752 Make sure GCPRO'ed variables are initialized.
12753 Use temp variables to avoid repeated calls to Flength.
12755 2000-03-16 Martin Buchholz <martin@xemacs.org>
12758 Make sure PATH_MAX is always defined.
12759 Include limits.h for PATH_MAX.
12760 Deprecate use of MAXPATHLEN.
12762 2000-03-10 Martin Buchholz <martin@xemacs.org>
12764 * emacs.c: Add reinit_vars_of_fileio.
12765 * symsinit.h: Add reinit_vars_of_fileio.
12766 * fileio.c (reinit_vars_of_fileio): New.
12767 * fileio.c (Fmake_temp_name):
12768 Initialize temp_name random number from microseconds to make
12769 collisions even less likely. Initialize always at process startup
12770 time. (make-temp-name) used to return the same file name twice in
12772 Random stylistic fiddling.
12775 2000-03-20 Andy Piper <andy@xemacs.org>
12777 * glyphs.c (image_instantiate): allow text glyphs to be
12778 instantiated in the minibuffer window.
12780 2000-03-19 Andy Piper <andy@xemacs.org>
12782 * glyphs.c (image_instance_hash): be careful about which items we
12785 * glyphs-widget.c (tab_control_set_property): record into pending
12786 items rather than the actual items.
12788 * glyphs-x.c (x_update_widget): use pending items to update with.
12790 * glyphs-msw.c (mswindows_tab_control_update): use pending items
12793 * glyphs.c (mark_image_instance): mark pending items.
12795 * window.c (Fset_window_configuration): record the buffer.
12796 (Fselect_window): totally revert previous change which breaks many
12799 2000-03-18 Andy Piper <andy@xemacs.org>
12801 * glyphs-msw.c (mswindows_tab_control_update): force selected
12804 * glyphs.c (image_instantiate): don't allow the minibuffer as a
12805 window domain cache, otherwise we get inconsistencies at
12806 startup. There is something fishy at startup which can lead to the
12807 minibuffer being the selected window when the gutter content is
12810 * gui.c (parse_gui_item_tree_list): add probably unnecessary
12812 (parse_gui_item_tree_children): ditto.
12813 (parse_gui_item_tree_item): ditto.
12815 * glyphs.c (Fupdate_widget_instances): return something.
12817 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
12819 * window.c (Fselect_window): Undo 2000-03-17 change.
12821 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
12823 * postgresql.c (Fpq_setenv): Remove this turkey when linking
12824 against v7.0 libraries. Insta-coredump city until the postgres
12827 2000-03-17 Andy Piper <andy@xemacs.org>
12829 * faces.c (complex_vars_of_faces): don't give the widget face an
12830 inherited background pixmap.
12832 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
12835 * event-stream.c (Fdispatch_non_command_events): return something.
12837 * gutter.c (output_gutter): use widget face.
12838 (clear_gutter): ditto.
12840 * NEWS: adjust again.
12842 * window.c (Fselect_window): make sure this runs to completion to
12843 avoid oddities with Fset_window_configuration.
12844 (Fcurrent_window_configuration): in general do not save the
12845 minibuffer as the selected window.
12847 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
12849 2000-03-16 Olivier Galibert <galibert@pobox.com>
12851 * emacs.c (Frunning_temacs_p): Revert previous patch.
12852 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
12854 2000-03-16 Andy Piper <andy@xemacs.org>
12856 * glyphs-x.c (x_tab_control_update): if no widget values then
12859 * NEWS: update for new features.
12861 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
12862 synthetic event to the native system.
12863 (reinit_vars_of_event_Xt): set force_event_pending to
12864 emacs_Xt_force_event_pending.
12866 * events.h (struct event_stream): add force_event_pending.
12868 * specifier.c (recompute_one_cached_specifier_in_window): add
12871 * redisplay.c (redisplay_frame): don't call
12872 update_frame_subwindows. Reset subwindow cachels when
12873 subwindows_changed, removing this was an optimization too far.
12875 * redisplay-output.c (compare_runes): reorganize so that we catch
12876 glyph changes when we want them. Set optimize_output when this
12877 would help layouts.
12878 (redisplay_output_layout): remove frame_really_changed, use
12879 optimize_output instead.
12881 * redisplay-msw.c (mswindows_output_display_block): reset
12882 optimize_output after outputting a glyph.
12883 * redisplay-x.c (x_output_display_block): ditto.
12884 * redisplay-tty.c (tty_output_display_block): ditto.
12886 * gutter.c: (specifier_vars_of_gutter): use new spec changed
12888 (gutter_specs_changed): do specific gutter positions.
12889 (top_gutter_specs_changed): new function. Only update the
12890 specified gutter specs.
12891 (bottom_gutter_specs_changed): ditto.
12892 (left_gutter_specs_changed): ditto.
12893 (right_gutter_specs_changed): ditto.
12895 * gui.c (gui_item_hash_internal): new function, does a real hash.
12896 (gui_item_id_hash): use it.
12897 (gui_item_hash): hash the eval'ed gui_item.
12899 * gui-x.c (popup_selection_callback): send an eval event to call
12900 Fupdate_widget_instances.
12902 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
12903 to call Fupdate_widget_instances.
12905 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
12906 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
12908 * glyphs.c: (update_frame_subwindows): deleted.
12909 (Fupdate_widget_instances): new function for updating the dirty
12910 state of widgets that might have changed.
12911 (syms_of_glyphs): add Qupdate_widget_instances.
12912 (full_list_hash): hash a list completely.
12913 (image_instance_hash): use it for items and properties.
12915 * frame-msw.c (mswindows_size_frame_internal): remove unused
12918 * faces.h (struct face_cachel): fix comment.
12920 * event-stream.c (Fdispatch_non_command_events): new
12921 function. Process non-command events, forcing an event cycle
12923 (syms_of_event_stream): declare.
12924 (event_stream_force_event_pending): new function. Force an event
12925 on the native event queue so that an event cycle will occur next
12929 (struct ntpipe_shove_stream):
12930 (mswindows_enqueue_dispatch_event):
12931 (mswindows_dequeue_dispatch_event):
12932 (mswindows_cancel_dispatch_event):
12933 (mswindows_pump_outstanding_events):
12934 (mswindows_drain_windows_queue):
12935 (mswindows_handle_paint):
12936 (mswindows_wnd_proc):
12937 (mswindows_key_to_emacs_keysym):
12938 (get_process_input_waitable):
12939 (emacs_mswindows_delete_stream_pair): re-indent file.
12940 (mswindows_need_event): do not process further fds if the windows
12941 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
12942 fixes the 100% cpu problem.
12943 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
12945 2000-03-15 Olivier Galibert <galibert@pobox.com>
12951 * emacs.c: Moved dump file searching to dumper.c.
12952 (Frunning_temacs_p): Fixed.
12954 * alloc.c: Moved everything pdump-related to dumper.c. Removed
12955 last_lrecord_type_index_assigned.
12957 2000-02-20 Olivier Galibert <galibert@pobox.com>
12959 * symsinit.h: Added reinit parameter to init_console_stream
12962 * lisp.h: Added file parameter to pdump_load declaration.
12964 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
12965 support. Added dump file searching.
12967 * config.h.in: Added EMACS_PROGNAME.
12969 * console-stream.c (init_console_stream): Fix reinitialisation
12970 when running from temacs.
12972 * alloc.c (pdump): Add id support.
12973 (pdump_load): Add file parameter and signature/id support.
12975 * Makefile.in.in: Add full pdump support.
12977 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
12979 * postgresql.c: Update documentation to reflect latest code
12981 (print_result): Show tuple counts in printed representation when
12983 (Fpq_put_nbytes): MULE-ize.
12984 (Fpq_get_line_async): Ditto.
12986 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
12988 * postgresql.c (Fpq_lo_import): Fix return value.
12989 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
12991 2000-03-13 Ben Wing <ben@xemacs.org>
12993 * alloc.c (pdump_load):
12994 Fix compile warning under mswin.
12996 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
12998 * postgresql.c: Mule-ization, bug fixes.
12999 Use PG_CODING to encapsulate coding system name changes.
13000 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
13001 (pg-coding-system): Create.
13003 (Fpq_conn_defaults): Mule-ize.
13004 (Fpq_connectdb): Mule-ize & bug fix.
13005 (Fpq_connect_start): Mule-ize.
13006 (Fpq_set_client_encoding): Mule-ize.
13007 (Fpq_finish): Document `DEAD' connection status.
13008 (Fpq_clear): Ditto.
13009 (Fpq_pgconn): Mule-ize.
13010 (Fpq_exec): Mule-ize & bug fix.
13011 (Fpq_send_query): Ditto.
13012 (Fpq_get_result): Ditto.
13013 (Fpq_res_status): Mule-ize.
13014 (Fpq_result_error_message): Mule-ize.
13015 (Fpq_ntuples): fix comments.
13016 (Fpq_fname): Mule-ize.
13017 (Fpq_fnumber): Mule-ize.
13018 (Fpq_ftype): fix comments.
13019 (Fpq_get_value): Mule-ize.
13020 (Fpq_cmd_status): Ditto.
13021 (Fpq_cmd_tuples): Ditto.
13022 (Fpq_oid_value): Ditto.
13023 (Fpq_notifies): Ditto.
13024 (Fpq_lo_import): Ditto.
13025 (Fpq_lo_export): Ditto.
13026 (Fpq_get_line): Ditto.
13027 (Fpq_put_line): Mule-ize and bug fix.
13028 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
13030 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13032 * postgresql.c (vars_of_postgresql): Mule-ize.
13033 (Fpq_conn_defaults): Ditto.
13035 2000-03-12 Ben Wing <ben@xemacs.org>
13037 * alloc.c (Fmake_byte_code):
13038 * alloc.c (debug_string_purity_print):
13039 * alloc.c (pdump_backtrace):
13040 * alloc.c (pdump_get_indirect_count):
13041 * alloc.c (pdump_register_sub):
13042 * alloc.c (pdump_register_object):
13043 * alloc.c (pdump_register_struct):
13044 * alloc.c (pdump_dump_data):
13045 * alloc.c (pdump_reloc_one):
13049 * console-msw.c (GetConsoleHwnd):
13050 * console-msw.c (msw_hide_console):
13051 * console-msw.c (msw_show_console):
13052 * console-msw.c (msw_ensure_console_buffered):
13053 * console-msw.c (msw_output_console_string):
13054 * console-msw.c (console_type_create_mswindows):
13056 a) Added functions to manipulate the console window for use with
13059 b) Added support for writing text to the console, which is now
13060 used under Windows when xemacs is not being run non-interactively,
13061 to write text that would otherwise be destined for stdout because
13062 under these circumstances, text written to stdout tends to
13063 disappear and not be seen.
13067 * event-Xt.c (x_event_to_emacs_event):
13068 * event-Xt.c (describe_event_window):
13069 * events-mod.h (XEMACS_MOD_CONTROL):
13071 * events.c (Fmake_event):
13072 * events.c (character_to_event):
13073 * events.c (event_to_character):
13074 * events.c (format_event_object):
13075 * events.c (Fevent_modifiers):
13077 * events.h (struct key_data):
13078 * events.h (struct button_data):
13079 * events.h (struct misc_user_data):
13080 * frame-x.c (Fcde_start_drag_internal):
13081 * frame-x.c (Foffix_start_drag_internal):
13082 * gpmevent.c (Freceive_gpm_event):
13084 * keymap.c (bucky_sym_to_bucky_bit):
13085 * keymap.c (control_meta_superify):
13086 * keymap.c (make_key_description):
13087 * keymap.c (keymap_lookup_directly):
13088 * keymap.c (create_bucky_submap):
13089 * keymap.c (keymap_store):
13090 * keymap.c (define_key_check_and_coerce_keysym):
13091 * keymap.c (define_key_parser):
13092 * keymap.c (define_key_alternate_name):
13093 * keymap.c (Fdefine_key):
13094 * keymap.c (raw_lookup_key_mapper):
13095 * keymap.c (struct map_keymap_unsorted_closure):
13096 * keymap.c (map_keymap_unsorted_mapper):
13097 * keymap.c (map_keymap_sort_predicate):
13098 * keymap.c (map_keymap_sorted):
13099 * keymap.c (accessible_keymaps_mapper_1):
13100 * keymap.c (where_is_recursive_mapper):
13101 * keymap.c (describe_map_mapper):
13102 * keymap.c (describe_map_sort_predicate):
13103 * keymap.c (describe_map):
13104 * keymap.c (complex_vars_of_keymap):
13105 And a number of other files, the key modifier preprocessor
13106 constants that xemacs uses have names that conflict with constants
13107 defined under MS Windows for other purposes, so they were renamed
13108 to begin with the prefix XEMACS_. The variables that hold such
13109 modifiers were changed to consistently be of type int to fix
13110 various compile warnings.
13112 * console.c (complex_vars_of_console):
13115 * device-msw.c (mswindows_finish_init_device):
13116 * device-msw.c (msw_get_workspace_coords):
13117 * device-msw.c (mswindows_device_system_metrics):
13118 and various other files, added support for a new
13119 device property called offset-workspace which returns the position
13120 of the upper left corner of the workspace area and goes along with
13121 the existing size-workspace property.
13124 * dialog-msw.c (push_bufbyte_string_as_unicode):
13125 * dialog-msw.c (mswindows_popup_dialog_box):
13126 Added support for XEmacs-style accelerator specifications in
13127 button text. Note: I didn't add support for this under X Windows,
13128 and somebody needs to do this.
13131 * dialog.c (Fpopup_dialog_box):
13132 Documented the support for accelerators that was just mentioned.
13134 editfns.c (get_home_directory): Changed behavior under Windows
13135 when HOME not defined; former behavior was irretrievably broken.
13138 * emacs.c (main_1):
13140 * minibuf.c (clear_echo_area_internal):
13141 * minibuf.c (echo_area_append):
13143 * print.c (std_handle_out_external):
13144 * print.c (std_handle_out_va):
13146 * print.c (write_string_to_stdio_stream):
13147 * print.c (output_string):
13148 * print.c (debug_print):
13149 * print.c (debug_backtrace):
13150 * print.c (debug_short_backtrace):
13151 Cleaned up the code that prints text to stdout so that this can be
13152 changed to output into a console window instead under MS Windows,
13153 as described above.
13156 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
13157 * eval.c (internal_catch):
13158 * eval.c (unwind_to_catch):
13159 * eval.c (throw_or_bomb_out):
13160 * eval.c (condition_case_1):
13161 * eval.c (signal_1):
13162 * eval.c (check_error_state_sanity):
13163 * eval.c (call_with_suspended_errors_1):
13164 * eval.c (call_with_suspended_errors):
13165 * eval.c (reinit_vars_of_eval):
13166 Added code to catch throw loops and check for a pesky bug that may
13170 * event-msw.c (key_needs_default_processing_p):
13171 * event-msw.c (mswindows_wnd_proc):
13172 * event-msw.c (mswindows_modifier_state):
13173 * event-msw.c (emacs_mswindows_quit_p):
13174 * event-msw.c (vars_of_event_mswindows):
13175 a) Added support for using the alt key to select menu items as is
13176 standard under MS Windows. This is controlled using the variable
13177 menu-accelerator-enabled, just like under X Windows. There is an
13178 option on the options menu to turn this support on. I really
13179 think that it should be on by default under Windows, but I'm not
13180 going to make this change yet.
13182 b) Added support for dynamic display size changes under Windows.
13185 * event-stream.c (maybe_echo_keys):
13186 * event-stream.c (Fnext_event):
13187 * event-stream.c (command_builder_find_leaf):
13188 * event-stream.c (lookup_command_event):
13189 * event-stream.c (execute_command_event):
13190 * event-stream.c (pre_command_hook):
13191 * event-stream.c (post_command_hook):
13192 * event-stream.c (syms_of_event_stream):
13193 * event-stream.c (vars_of_event_stream):
13194 * event-stream.c (complex_vars_of_event_stream):
13195 * events.h (struct command_builder):
13197 a) Tried to clean up a little bit the horribly written x-specific
13198 accelerator code that crept into this file. I moved this code
13199 into menubar-x.c where it belongs. I also needed to move the
13200 command builder structure into the file events.h because it is
13201 accessed directly by this accelerator code. What I didn't do, but
13202 which should be done at some point, is to properly abstract this
13203 code using device methods instead of the kludgy way that it
13204 currently hooks into the event code.
13206 b) Added the lisp variables this-command-properties and
13207 last-command- properties, which should be used to synchronize two
13208 adjacent commands in preference to playing games with the variable
13209 this-command, which is typically what happens.
13211 c) Added some slightly nasty code to hook into the lisp support
13212 for shifted- motion-key selection. This is actually necessary for
13213 somewhat complicated reasons, which are described in
13214 simple.el. (NB: I think the proper thing would be to have the code
13215 that calls the pre and post command hooks also call out to generic
13216 lisp functions in simple.el, where all built-in stuff could be
13217 added. I will think about this more.)
13219 * event-unixoid.c (poll_fds_for_input):
13220 * lread.c (readchar):
13221 * redisplay-tty.c (tty_clear_frame):
13222 * redisplay-x.c (x_get_gc):
13223 * signal.c (interrupt_signal):
13224 And a whole bunch of other files: fixed up places that printed
13225 directly to stderr to instead call the function stderr_out so that
13226 the changes I made under Windows work correctly.
13228 * filemode.c (mode_string):
13232 * frame-msw.c (mswindows_size_frame_internal):
13233 Fixed the computation of frame size and position to keep the frame
13234 within the workspace area, rather than within the physical
13235 dimensions of the screen, so that the frame doesn't overlap window
13236 manager decorations, such as the start menu and toolbar, typically
13237 at the bottom of the screen.
13239 * frame.c (vars_of_frame):
13240 Changed the default frame title format under MS Windows to consist
13241 of buffername-XEmacs, which is standard under MS Windows. I think
13242 it might be a good idea to change this everywhere because I think
13243 it is superior to the current frame title format, but this is the
13244 kind of change that is likely to cause some people to get annoyed,
13245 so I'm not making it.
13247 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
13249 * gui-msw.c (mswindows_handle_gui_wm_command):
13250 Fixed compile warnings.
13253 * gui-x.c (strdup_and_add_accel):
13254 * gui-x.c (button_item_to_widget_value):
13256 Added code to automatically put an accelerator onto the beginning
13257 of menu items that don't have one as is now the standard, and is
13258 described more later. Also fixed things so that the menu item
13259 name can be an evaluated expression, again a new standard.
13262 * gui.c (gui_item_add_keyval_pair):
13263 * gui.c (make_gui_item_from_keywords_internal):
13264 * gui.c (gui_add_item_keywords_to_plist):
13265 * gui.c (gui_item_accelerator):
13266 * gui.c (gui_name_accelerator):
13267 * gui.c (gui_item_included_p):
13268 * gui.c (gui_item_display_flush_left):
13269 * gui.c (gui_item_display_flush_right):
13270 * gui.c (parse_gui_item_tree_item):
13271 * gui.c (parse_gui_item_tree_children):
13272 * gui.c (parse_gui_item_tree_list):
13273 Mule-ized. Cleanup. GCPRO addition.
13275 * line-number.c (buffer_line_number):
13277 * lisp.h (EMACS_INT_MAX):
13278 Added the manifest constant EMACS_INT_MIN corresponding to the
13279 existing constant EMACS_INT_MAX. This is partially to fix compile
13280 warnings under Windows, and partly for cleanliness.
13283 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
13284 * menubar-msw.c (msw_translate_menu_or_dialog_item):
13285 * menubar-msw.c (displayable_menu_item):
13286 * menubar-msw.c (populate_menu_add_item):
13287 * menubar-msw.c (populate_or_checksum_helper):
13288 * menubar-msw.c (populate_menu):
13289 * menubar-msw.c (update_frame_menubar_maybe):
13290 * menubar-msw.c (prune_menubar):
13291 * menubar-msw.c (msw_char_is_accelerator):
13292 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
13293 * menubar-msw.c (mswindows_handle_wm_command):
13294 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
13295 * menubar-msw.c (mswindows_handle_wm_initmenu):
13296 * menubar-msw.c (mswindows_update_frame_menubars):
13297 * menubar-msw.c (mswindows_free_frame_menubars):
13298 * menubar-msw.c (mswindows_popup_menu):
13299 Fixed a bug in handling accelerators where an extra character
13300 would be displayed in the menu item. Also generalized the
13301 function displayable_menu_item because it is now used by the
13302 dialog box code as well. And finally, added code in the functions
13303 that create the menubar to extract a list of accelerators for the
13304 top level menubar, which is used in the event code to determine
13305 whether a particular alt-key combination should be used to invoke
13306 a menu item, or should be passed through to access the standard
13307 XEmacs keymap binding for this key combination.
13309 Much needed GCPROing.
13312 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13313 * menubar-x.c (menu_item_descriptor_to_widget_value):
13314 * menubar-x.c (restore_in_menu_callback):
13315 * menubar-x.c (x_popup_menu):
13316 * menubar-x.c (menu_move_up):
13317 * menubar-x.c (menu_move_down):
13318 * menubar-x.c (menu_move_left):
13319 * menubar-x.c (menu_move_right):
13320 * menubar-x.c (menu_select_item):
13321 * menubar-x.c (command_builder_operate_menu_accelerator):
13322 * menubar-x.c (menu_accelerator_junk_on_error):
13323 * menubar-x.c (command_builder_find_menu_accelerator):
13324 * menubar-x.c (Faccelerate_menu):
13326 Moved a whole bunch of code here that was previously in
13327 event-stream.c as described above. There is also code connected
13328 to the new standard of adding an accelerator to the beginning of
13329 menu items that don't have one as described above and below.
13332 * menubar.c (menu_parse_submenu_keywords):
13333 * menubar.c (Fmenu_find_real_submenu):
13334 * menubar.c (Fnormalize_menu_item_name):
13335 * menubar.c (syms_of_menubar):
13336 * menubar.c (vars_of_menubar):
13337 * menubar.c (complex_vars_of_menubar):
13339 a) Cleaned up a bunch of documentation and improved it.
13341 b) XEmacs now automatically adds an accelerator onto the beginning
13342 of any menu items that don't have one. I did this because there
13343 will inevitably be some menu items on the main menubar that don't
13344 have accelerators on them because the package that adds that
13345 particular menu item hasn't yet been fixed up to have accelerators
13346 in them and it looked rather strange to have some items with and
13347 some items without accelerators, especially since even in items
13348 without accelerators, you can, at least under windows, still
13349 access the item through an accelerator corresponding to the first
13350 character in the item's name. If people don't like this behavior,
13351 I can add a variable to turn it off optionally, but I'm not sure
13352 this is a good idea because we really do need to have accelerators
13353 on all of the menu items, and if a package doesn't like the
13354 accelerators being put on the first character, then it should put
13355 the accelerators where they belong.
13357 c) I made a behavior change, which is that the descriptor that
13358 specifies the text of the menu item, which formerly was just a
13359 string, can now also be an evaluated expression. This makes this
13360 descriptor parallel with all of the others, which could also be
13361 evaluated expressions. This also obviates the need for the
13362 keyword :label, which was previously listed in the documentation
13363 as unimplemented, and which was for the same purpose.
13368 * ntproc.c (new_child):
13369 * ntproc.c (sys_spawnve):
13370 * ntproc.c (find_child_console):
13371 * ntproc.c (sys_kill):
13372 Fixed compile warnings. By the way, this file should really go
13373 away entirely, and this will happen as soon as Kirill makes his
13374 final round of process cleanups, which affect the function
13378 * process-nt.c (struct nt_process_data):
13379 * process-nt.c (find_process_from_pid):
13380 * process-nt.c (send_signal_the_nt_way):
13381 * process-nt.c (enable_child_signals):
13382 * process-nt.c (find_child_console):
13383 * process-nt.c (send_signal_the_95_way):
13384 * process-nt.c (nt_finalize_process_data):
13385 * process-nt.c (ensure_console_window_exists):
13386 * process-nt.c (nt_create_process):
13387 * process-nt.c (nt_kill_child_process):
13388 * process-nt.c (nt_kill_process_by_pid):
13389 * process-nt.c (nt_open_network_stream):
13390 * process-nt.c (vars_of_process_nt):
13391 Copied over code from Emacs 20.5 to correctly send signals to sub-
13392 processes under Windows 95. Also added code to automatically
13393 create and hide console window when a sub-process is created under
13394 Windows 95, which obviates the need for the separate runemacs.exe
13395 executable, and finally implemented some variables that were
13396 implemented in Emacs 20.5, but previously not in XEmacs. These
13397 include mswindows- start-process-share-console and
13398 mswindows-start-process-inherit-error-mode. (Both of these only
13399 apply to Windows 95.)
13401 * regex.c (regex_compile): Fixed a compile warning.
13404 * select-msw.c (mswindows_own_selection):
13405 * select-msw.c (mswindows_get_foreign_selection):
13406 * select-msw.c (mswindows_disown_selection):
13407 * select-msw.c (console_type_create_select_mswindows):
13408 * select-msw.c (syms_of_select_mswindows):
13409 Cleaned up the file and implemented the device method
13410 selection_exists_p, which had accidentally been left out. Also
13411 removed four lisp functions that were remnants from before the
13412 time when the selection code was properly device abstracted.
13413 These functions are no longer needed because there are generic
13414 equivalents, and because they were added recently and don't exist
13415 in FSF Emacs, I don't think there's any problem with just deleting
13419 * sysdep.c (sys_subshell):
13420 Fixed a compile warning, although in this case there's probably
13421 something wrong with this code, and it ought to be looked into
13422 more thoroughly by somebody who understands it.
13425 * window.c (Fwindow_text_area_height):
13426 * window.c (Fwindow_width):
13427 * window.c (Fwindow_full_width):
13428 * window.c (Fwindow_pixel_width):
13429 * window.c (debug_print_window):
13430 * window.c (syms_of_window):
13431 Added functions window-text-area-height and window-full-width,
13432 which are functions for returning various width and height
13433 characteristics of a window. (One of these functions is necessary
13434 for making the file dialog box work correctly, and the other one
13435 was added for completeness.) Also added a table to the
13436 documentation for window-height which describes the entire scheme
13437 for accessing width and height characteristics of a window.
13439 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13441 * nt.c (fstat): Added a comment for another problem with
13442 non-encapsulated [f]stat(), reported by Adrian Aichner
13443 <aichner@ecf.teradyne.com>.
13445 2000-03-11 Andy Piper <andy@xemacs.org>
13447 * window.c (make_dummy_parent): initialize subwindow instance
13449 (Fset_window_configuration): zero extent_modiff.
13451 2000-03-10 Andy Piper <andy@xemacs.org>
13453 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
13454 more changes can be triggered.
13455 (Fredisplay_frame): ditto.
13456 (Fredraw_device): ditto.
13457 (Fredisplay_device): ditto.
13458 (redisplay_frame): make non-static.
13459 (redisplay_frame): call update_frame_gutter_geometry outside of
13462 * gutter.h: declare update_frame_gutter_geometry.
13464 * redisplay.h: declare redisplay_frame.
13466 * gutter.c (update_frame_gutter_geometry): move geometry changes
13467 in update_frame_gutters here. Geometry changes can only occur
13468 outside of redisplay.
13469 (update_frame_gutters): remove geometry change code.
13470 (Fredisplay_gutter_area): make sure that we are in display when we
13471 update and that we have flushed any size changes.
13473 2000-03-11 Andy Piper <andy@xemacs.org>
13475 * alloc.c (pdump_dump_data): remove i & count shadows.
13477 2000-02-27 Mike Alexander <mta@arbortext.com>
13479 * sysdep.h: Declare pdump_read_file
13481 * sysdep.c (pdump_read_file): New function
13483 * alloc.c (pdump_load): Call pdump_read_file to get the portable
13486 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13488 * lrecord.h: add `lrecord_type_pgsetenv'.
13490 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
13492 * symsinit.h: declare (vars|syms)_of* functions.
13493 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
13495 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
13497 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
13499 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
13502 * emacs.c (main_1): Call postgres initialization code.
13504 * postgresql.h: New file. PostgreSQL RDBMS support.
13505 * postgresql.c: New file.
13507 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13509 * redisplay-output.c (redisplay_output_display_block): Disable
13512 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13514 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
13515 (Fcanna_henkan_next): Ditto.
13516 (Fcanna_bunsetu_henkou): Ditto.
13517 (Fcanna_henkan_kakutei): Ditto.
13518 (Fcanna_henkan_end): Ditto.
13519 (Fcanna_henkan_quit): Ditto.
13520 (Fcanna_henkan_next): Set retun value correctly.
13521 (c2mu): Use unsigned char instead of signed char.
13523 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13525 * emacs.c (main_1): Always call syms_of_gui.
13526 * inline.c: include gui.h
13528 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13530 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
13531 converted to Lisp_Object.
13532 (Qtop_bottom): New variable.
13533 (syms_of_redisplay): Initialize it.
13534 * redisplay.h (Vvisible_bell): Ditto.
13535 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
13536 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
13537 only flash top and bottom.
13539 2000-03-08 Andy Piper <andy@xemacs.org>
13541 * buffer.c (Frename_buffer): record new buffer name the right way.
13543 2000-03-08 Andy Piper <andy@xemacs.org>
13545 * glyphs.c (update_subwindow): increase hash depth so that widget
13546 items get picked up properly.
13548 * redisplay-output.c (compare_runes): increase hash depth so that
13549 widget items get picked up properly.
13551 2000-03-08 Andy Piper <andy@xemacs.org>
13553 * gutter.c (output_gutter): add some debug.
13555 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
13556 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
13557 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
13559 * redisplay-output.c (compare_runes): use display_hash to
13560 determine if glyphs really are not the same.
13562 * glyphs.c (update_subwindow): check display_hash to see if
13563 anything really needs to be updated. If not then do
13564 nothing. Record the display_hash after updating.
13565 (image_instance_equal): compare the image_instance face also.
13567 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
13569 * redisplay.h: Fix comment style.
13571 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
13573 * consle-msw.h (struct mswindows_frame):
13574 Added new member paint_pending to indicate whether a WM_PAINT
13575 magic event has been queued for this frame.
13577 * event-msw.c (mswindows_drain_windows_queue):
13578 Don't queue a WM_PAINT magic event if one is already queued.
13579 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
13581 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
13583 2000-03-07 Didier Verna <didier@xemacs.org>
13585 * dired.c: #include `regex.h' after `sysfile.h'.
13587 2000-03-06 Martin Buchholz <martin@xemacs.org>
13589 * sound.c (init_nas_sound): Fix compiler warning.
13591 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
13593 (MARK_STRUCT_AS_FREE):
13594 (MARK_STRUCT_AS_NOT_FREE):
13595 Make `gcc -fstrict-aliasing' work properly.
13597 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
13599 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
13600 (mswindows_delete_device): Call CoUnnitialize().
13602 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
13604 2000-02-25 <CraigL@DyCon.com>
13606 * process-nt.c: MinGW now has <shellapi.h>, but still needs
13609 * sysdep.c: This extern declaration for environ prevents MinGW
13610 from finding the variable in CRTDLL.DLL.
13612 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
13614 (SHGFI_EXETYPE): ..
13615 (WM_MOUSEWHEEL): ..
13616 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
13618 (MMRESULT): Removed, now defined in cygwin's windows headers.
13620 (uid_t,gid_t,pid_t,ssize_t): ..
13621 (_timeb): Removed, MinGW defines both _timeb and timeb.
13622 (HAVE_H_ERRNO): Added.
13623 (HAVE_TZNAME): Added, configure is not detecting this.
13625 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
13627 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
13628 * syntax.c (syntax_match): Use it.
13630 * cmds.c: Import auto-fill-chars from FSF Emacs.
13631 (Vauto_fill_chars): New variables.
13632 (internal_self_insert): Check Vauto_fill_chars.
13634 Declare auto-fill-chars as a Lisp variable and initialize it.
13636 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
13638 * fileio.c (Fmake_symbolic_link):
13640 Run handlers even if local machine doesn't have symlinks.
13642 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
13644 * event-msw.c (mswindows_drain_windows_queue):
13645 Don't generate paint magic events for non-XEmacs frames.
13647 2000-03-05 Andy Piper <andy@xemacs.org>
13649 * redisplay.c (redisplay_frame): generate_displayable_area and
13650 friends assumes that we are not in GC, we therefore have to make
13651 sure that this doesn't happen.
13653 * gutter.c (calculate_gutter_size): generate_displayable_area
13654 assumes that we are not in GC, we therefore have to make sure that
13655 this doesn't happen.
13657 2000-03-05 Martin Buchholz <martin@xemacs.org>
13659 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
13661 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13663 * redisplay.c (regenerate_window): Make sure we set a sane value
13664 for end_pos even if we jump out of the loop.
13665 (regenerate_window): Answer Ben's question :-).
13666 (start_end_of_last_line): Add may_error argument.
13667 (start_of_last_line):
13668 (end_of_last_line): Pass may_error = 0.
13669 (end_of_last_line_may_error): New function.
13670 (pixel_to_glyph_translation): Use it, so we don't crash in
13673 2000-03-04 Andy Piper <andy@xemacs.org>
13675 * window.h (struct window): add gutter_extent_modiff.
13677 * window.c (allocate_window): zero out gutter_extent_modiff.
13679 * redisplay.h: declare sync_display_line_structs.
13681 * redisplay.c (add_glyph_rune): add a better comment.
13683 * redisplay-output.c (sync_display_line_structs): made non-static.
13684 (compare_runes): remove unneccesary glyph cachel access.
13686 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
13688 * gutter.c (output_gutter): don't output the gutter if extent
13689 changes only involve extents in buffers. use 4 sets of display
13691 (gutter_extent_signal_changed_region_maybe): new function. Mark
13692 extents in gutters as changed.
13693 (update_frame_gutters): use 4 sets of display lines.
13694 (reset_gutter_display_lines): ditto.
13695 (free_frame_gutters): ditto.
13696 (redraw_exposed_gutter): force output of gutters.
13698 * frame.h (struct frame): add 4 sets of gutter display lines.
13700 * extents.c: (extent_changed_for_redisplay): signal changes to
13701 extents in strings in the gutter as well as extents in buffers.
13703 2000-03-02 Andy Piper <andy@xemacs.org>
13705 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
13707 * frame.c (Fmake_frame): make sure the gutters get initialized
13708 after the frame is visible.
13709 (set_frame_selected_window): re-arrange compilation macros a
13711 (change_frame_size_1): mark gutters changed.
13713 * device.c (Fset_device_class): mark gutters changed.
13715 2000-03-01 Andy Piper <andy@xemacs.org>
13717 * window.c (window_top_frame_gutter_height): deleted.
13718 (window_bottom_frame_gutter_height): ditto.
13719 (window_left_frame_gutter_height): ditto.
13720 (window_right_frame_gutter_height): ditto.
13721 (window_top_gutter_height): don't use them.
13722 (window_bottom_gutter_height): ditto.
13723 (window_left_gutter_width): ditto.
13724 (window_right_gutter_width): ditto.
13725 (Fsplit_window): ditto.
13726 (Fwindow_pixel_edges): don't use border dimensions here.
13728 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
13729 (update_scrollbar_instance): ditto.
13731 * redisplay.c (generate_modeline): don't take gutters into account.
13732 (generate_modeline): ditto.
13733 (redisplay_frame): small gutter display optimization.
13735 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
13737 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
13738 gutters into account.
13740 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
13741 for window position and type.
13743 * gutter.c (get_gutter_coords): fix for frame gutters.
13744 (update_frame_gutters): update frame geometry if the gutters have
13746 (init_frame_gutters): record current gutter geometries.
13748 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
13750 (mswindows_widget_instantiate): ditto.
13752 * frame.h (struct frame): add current_gutter_bounds.
13754 * frame.c (change_frame_size_1): position window and minibuffer
13755 appropriately taking into account the frame gutters.
13757 * frame-x.c: (x_initialize_frame_size): take into account the
13760 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
13762 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
13764 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
13766 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
13768 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13770 * file-coding.c (reset_decoding_stream): Clear previous
13771 detection state when autodetect.
13773 2000-02-29 Didier Verna <didier@xemacs.org>
13775 * extents.c (set_extent_glyph_1): don't require extents to be
13778 2000-02-27 Andy Piper <andy@xemacs.org>
13780 * gutter.c (Fset_default_gutter_position): don't default left and
13781 right gutter visibility to t.
13782 (Fset_default_gutter_position): run
13783 default-gutter-position-changed-hook.
13784 (syms_of_gutter): add default-gutter-position-changed-hook.
13786 2000-02-26 Andy Piper <andy@xemacs.org>
13788 * specifier.c (Fmake_specifier): add gutter references.
13790 * gutter.h (RAW_WINDOW_GUTTER): new macro.
13792 * lisp.h: declare Fvalid_plist_p.
13794 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
13796 (default_gutter_visible_p_changed_in_window): invalidate gutter as
13797 well as its visibility so that it gets reconstructed.
13798 (construct_window_gutter_spec): new function. Construct a string
13799 to be displayed in the gutter from a plist of strings. Take care
13800 to only use elements that are declared as visible.
13801 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
13803 (gutter_validate): allow plists of strings in the specifier.
13804 (gutter_specs_changed): construct the real_gutter from the gutter
13805 specs using construct_window_gutter_spec.
13806 (gutter_visible_validate): gutter-visible is a new specifier type.
13807 (Fgutter_visible_specifier_p): new function for the new specifier.
13808 (syms_of_gutter): declare gutter-visible and
13809 Fgutter_visible_specifier_p.
13810 (specifier_type_create_gutter): intitalize new gutter-visible
13812 (reinit_specifier_type_create_gutter): ditto.
13813 (specifier_vars_of_gutter): use new specifier type for gutter
13815 (init_frame_gutters): construct real_gutter correctly.
13816 (Fgutter_specifier_p): beef up documentation.
13817 (Fgutter_size_specifier_p): ditto.
13819 * winslots.h: add real_gutter slots.
13821 2000-02-25 Andy Piper <andy@xemacs.org>
13823 * device-msw.c: Be kind to older cygwin versions. From Raymond
13824 Toy <toy@rtp.ericsson.se>.
13826 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
13827 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
13829 2000-02-25 Martin Buchholz <martin@xemacs.org>
13831 * elhash.c (MARK_OBJ): Practice macro hygiene.
13833 2000-02-24 Martin Buchholz <martin@xemacs.org>
13835 * miscplay.c: s/__inline__/inline/g;
13836 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
13837 (get_device_compdc): INLINE ==> static inline
13838 * *.[ch]: Change INLINE to INLINE_HEADER globally.
13839 find -name '*.h' | \
13840 xargs global-replace \
13841 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
13843 2000-02-25 Andy Piper <andy@xemacs.org>
13845 * window.c (window_top_frame_gutter_height): new function.
13846 (window_top_window_gutter_height): ditto.
13847 (window_top_gutter_height): use them.
13848 (window_bottom_frame_gutter_height): new function.
13849 (window_bottom_window_gutter_height): ditto.
13850 (window_bottom_gutter_height): use them.
13851 (window_left_window_gutter_width): new function.
13852 (window_left_frame_gutter_width): ditto.
13853 (window_left_gutter_width): use them.
13854 (window_right_window_gutter_width): new function.
13855 (window_right_frame_gutter_width): ditto.
13856 (window_right_gutter_width): use them.
13857 (window_pixel_height): new function. calulate window pixel height
13858 with frame gutter involvement.
13859 (Fsplit_window): calculate new sizes taking frame gutters into
13861 (window_char_height_to_pixel_height): don't include frame gutters.
13862 (window_char_height): use window_pixel_height.
13863 (window_pixheight): rename from window_pixel_height.
13864 (change_window_height): use it.
13865 (window_pixel_height_to_char_height): don't include frame gutters.
13866 (window_char_width_to_pixel_width): ditto.
13868 2000-02-25 Andy Piper <andy@xemacs.org>
13870 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
13873 2000-02-24 Martin Buchholz <martin@xemacs.org>
13875 * alloc.c (staticpro):
13876 (staticpro_nodump):
13881 (compact_string_chars):
13882 (pdump_dump_wired):
13883 Convert: if (foo) abort(); ==> assert (! foo);
13885 * eldap.c (Fldap_search_basic):
13889 Fix compiler warnings, and possible crashes if (random) return
13890 value were to be used.
13892 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13894 * device-msw.c: Workaround ResetDC failure.
13896 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
13897 applying a devmode.
13899 * redisplay-msw.c (get_frame_dc): Added start_page_p.
13900 (mswindows_text_width): Do not start printer page.
13902 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
13904 * glyphs-msw.c: Added image methods to msprinter console and
13905 msprinter-specific image instantiation.
13907 2000-02-20 Mike Alexander <mta@arbortext.com>
13909 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
13910 to avoid crashes when selection-sets-clipboard is on
13911 (mswindows_own_selection): ditto
13913 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13916 * redisplay-msw.c (get_frame_dc):
13917 (get_frame_compdc):
13919 * device-msw.c (mswindows_init_device):
13920 (mswindows_delete_device):
13921 (msprinter_init_device):
13922 (msprinter_delete_device):
13923 * frame-msw.c (mswindows_init_frame_1):
13924 (mswindows_delete_frame):
13925 (msprinter_init_frame_3):
13926 (msprinter_delete_frame): Move compatible DC to device object from
13927 frame object, for both mswindows and msprinter. Only one at a time
13928 is needed, it is a real waste to have one per frame!
13930 2000-02-23 Andy Piper <andy@xemacs.org>
13932 * glyphs.c: add dynamic width and height elements.
13933 (image_instance_equal): ditto.
13935 * glyphs-widget.c (widget_query_geometry): calculate width and
13936 height dynamically if required.
13937 (initialize_widget_image_instance): initialize dynamic dimensions.
13938 (widget_instantiate): pick-up dynamic dimensions.
13940 * glyphs.h (struct Lisp_Image_Instance): add width and height for
13941 dynamic determination. Add appropriate macros.
13943 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
13945 (WINDOW_GUTTER_SIZE): ditto.
13946 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
13948 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
13950 (get_frame_dc): ditto.
13952 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
13955 2000-02-23 Martin Buchholz <martin@xemacs.org>
13957 * XEmacs 21.2.31 is released.
13959 2000-02-22 Ben Wing <ben@xemacs.org>
13961 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
13963 2000-02-22 Andy Piper <andy@xemacs.org>
13965 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
13967 2000-02-21 Mike Sperber <mike@xemacs.org>
13971 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
13974 2000-02-21 Mike Sperber <mike@xemacs.org>
13976 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
13978 2000-02-21 Martin Buchholz <martin@xemacs.org>
13980 * XEmacs 21.2.30 is released.
13982 2000-02-20 Martin Buchholz <martin@xemacs.org>
13984 Performance hacking.
13986 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
13987 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
13988 * emacs.c (main_1):
13990 * console.c (DEFVAR_CONSOLE_LOCAL_1):
13991 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
13992 * symeval.h (DEFVAR_SYMVAL_FWD):
13993 * symbols.c (guts_of_unbound_marker):
13994 Make all c_readonly objects also lisp_readonly and marked for life.
13995 * lrecord.h (struct lrecord_implementation):
13996 Document flags better.
13997 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
13998 * lrecord.h (DECLARE_LRECORD):
13999 * lrecord.h (XSETRECORD):
14000 * lrecord.h (RECORDP):
14001 * lrecord.h (RECORD_TYPEP):
14002 * lrecord.h (RECORD_MARKER): New.
14003 * lrecord.h (error_check_*):
14004 * lrecord.h (CONCHECK_NONRECORD):
14005 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
14006 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
14007 * lrecord.h (set_lheader_implementation):
14008 * lrecord.h (enum lrecord_type): New.
14009 * symeval.h (SYMBOL_VALUE_MAGIC_P):
14010 * alloc.c (disksave_object_finalization_1):
14011 * alloc.c (mark_object):
14012 * alloc.c (lrecord_type_index):
14013 * alloc.c (tick_lcrecord_stats):
14014 * alloc.c (Fgarbage_collect):
14015 * alloc.c (init_alloc_once_early):
14016 * alloc.c (pdump_load):
14017 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
14018 * alloc.c (lrecord_type_index): Delete.
14019 Make lisp object type indexes be constant.
14020 Makes (byte-compile) 5% faster.
14021 Put all marker functions into their own array.
14022 Makes (garbage-collect) 5% faster.
14023 Optimize SYMBOL_VALUE_MAGIC_P.
14024 Makes (byte-compile) 2-3% faster.
14025 * config.h.in (gc_checking_assert): New.
14026 * alloc.c: Use gc_checking_assert().
14027 * .dbxrc: Make compatible with new object type implementation.
14028 * .gdbinit: Make compatible with new object type implementation.
14029 * alloc.c: Delete all symbols defined only for debugging, such as
14030 Lisp_Type_Vector and lrecord_charset.
14032 2000-02-21 Andy Piper <andy@xemacs.org>
14034 * gui-msw.c (Fmswindows_shell_execute): fix file location
14037 * buffer.c (Fkill_buffer): remove buffer from alist buffer
14038 unshowing so that set_window_buffer doesn't undo
14039 kill_buffer_hook's hard work.
14041 * glyphs-widget.c (tab_control_query_geometry): don't count the
14042 first item when calculating geometry.
14044 * glyphs.c (map_subwindow): remove redundant code.
14045 (update_frame_subwindows): be more circumspect about when to
14048 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
14049 when items haven't changed. Update faces if faces have changed as
14050 well as just the widget face.
14051 (x_tab_control_update): Update faces if faces have changed as well
14052 as just the widget face.
14054 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14056 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
14058 (build_syscolor_string): Use mswindows_color_to_string to try to
14060 (mswindows_device_system_metrics): Reverse the foreground and
14061 background colors so that they match the documentation.
14063 * objects-msw.c: (mswindows_X_color_map): tweak some values so
14064 they match the default Windows palette.
14065 (mswindows_color_to_string): New function.
14067 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14069 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
14071 2000-02-18 Olivier Galibert <galibert@pobox.com>
14073 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
14074 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
14076 * symbols.c (init_symbols_once_early): Removed obsolete
14077 DATA_SEG_BITS related kludge.
14078 (defvar_magic): Ditto.
14080 * malloc.c: Removed obsolete DATA_SEG_BITS
14082 * mem-limits.h: Ditto.
14084 * Makefile.in.in: Removed obsolete HAVE_SHM
14087 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14089 * device-msw.c (mswindows_delete_device): Free DDE string
14092 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14094 * keymap.c (get_keyelt):
14095 * unexnt.c (unexec):
14096 * vm-limit.c (memory_warnings):
14097 * ntheap.c (recreate_heap):
14098 * ntheap.h (UNINIT_PTR):
14099 * select-msw.c (Fmswindows_get_clipboard):
14100 (Fmswindows_set_clipboard):
14101 * objects-msw.h (MSWINDOWS_BAD_HFONT):
14103 * menubar-msw.c (displayable_menu_item):
14105 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
14106 * sysdep.c (sys_subshell):
14107 * process-nt.c (nt_create_process):
14108 * nt.c (normalize_filename):
14109 (dostounix_filename):
14110 (unixtodos_filename):
14111 * ntproc.c (win32_executable_type):
14112 * ntplay.c (play_sound_data_1):
14114 * editfns.c (get_home_directory):
14115 * event-msw.c (struct winsock_stream):
14116 (mswindows_dde_callback):
14117 * device-msw.c (msprinter_init_device):
14118 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
14120 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
14121 mswindows_clear_toolbar were swapped!
14123 * objects-msw.c:(colormap_t):
14125 * emacs.c (struct standard_args): Fixed const jumble.
14127 * glyphs-widget.c (update_widget): Fixed comparison notation.
14129 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
14131 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
14132 __declspec(noreturn) syntax.
14134 2000-02-19 Martin Buchholz <martin@xemacs.org>
14136 * eldap.c (Fldap_open):
14137 (Fldap_search_basic):
14140 Use new coding system conversion macros.
14142 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14144 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
14146 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
14148 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
14149 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14151 * eldap.c (Qadd, Qreplace): New constant symbols
14152 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
14153 interruptions by XEmacs signals
14154 Remove unnecessary calls to slow_down_interrupts and
14155 speed_up_interrupts
14156 (Fldap_search_basic): Renamed from Fldap_search_internal
14157 Added new optional parameter VERBOSE that triggers the
14158 display of progress messages
14159 Remove unnecessary calls to slow_down_interrupts and
14160 speed_up_interrupts
14161 LDAP result code analysis rewritten
14162 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14163 (syms_of_eldap): Define the new symbols and functions
14166 2000-02-17 Martin Buchholz <martin@xemacs.org>
14168 * realpath.c: Determine PATH_MAX maximally portably.
14170 * insdel.c (bytecount_to_charcount): Optimize.
14171 The function used to be optimized for entirely ASCII sequences.
14172 Now it is optimized for successive characters from the same
14173 charset. This also wins big for _mostly_ ASCII sequences.
14175 * fileio.c (Ffile_truename): convert return from realpath() using
14176 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
14177 - Rewrite GCPROing slightly.
14179 * sysdep.c (sys_open): Do filename conversion, like all other
14180 sys_* functions. Fixes bug:
14181 (let ((file-name-coding-system 'iso-8859-2))
14182 (write-region x y latin2-name))
14183 ==> writes filename using internal encoding.
14185 2000-02-18 Martin Buchholz <martin@xemacs.org>
14187 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
14188 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
14189 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
14190 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
14191 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
14192 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
14193 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
14194 (CONST_IF_NOT_DEBUG): Delete.
14195 * alloc.c (this_one_is_unmarkable): Delete.
14196 (mark_object): Don't check for this_one_is_unmarkable. Use the
14197 c_readonly flag instead.
14198 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
14200 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
14202 * event-msw.c (mswindows_drain_windows_queue):
14203 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
14204 away redundant repaint events.
14206 2000-02-17 Andy Piper <andy@xemacs.org>
14208 * redisplay.h: declare mark_redisplay_structs.
14210 * redisplay.c (redisplay_window):
14211 (redisplay_frame): don't check subwindows_state_changed.
14212 (mark_redisplay): mark gutters here.
14214 * glyphs.c: (instantiate_image_instantiator): always layout if we
14215 haven't done so already.
14216 (allocate_image_instance): don't mark as dirty.
14217 (update_subwindow): bind inhibit_quit.
14219 * gutter.c (mark_gutters): new function.
14221 * glyphs-x.c (x_update_widget): Always resize to get round a
14224 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
14225 breaking absolutely everything.
14227 * gutter.h: declare mark_gutters.
14229 2000-02-16 Martin Buchholz <martin@xemacs.org>
14231 * XEmacs 21.2.29 is released.
14233 2000-02-15 Olivier Galibert <galibert@pobox.com>
14235 * fns.c (size_bit_vector): Fix computation of the size.
14237 2000-02-15 Martin Buchholz <martin@xemacs.org>
14239 * *.[ch]: Change CONST to const globally.
14240 find -name '*.[ch]' | \
14241 xargs global-replace \
14242 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
14243 - Remove vestigial references to CONST_IS_LOSING
14245 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14247 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
14248 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
14249 events instead of dispatching them directly.
14250 (mswindows_handle_paint): New function to do repainting.
14251 (mswindows_wnd_proc):
14252 (emacs_mswindows_handle_magic_event): Call above function.
14254 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14256 * objects-msw.c (mswindows_create_font_variant): Return the new
14258 (initialize_font_instance): Get font metrics from the underlined
14259 variant of the font to cope with the case where the underlined
14260 font has a bigger descent.
14262 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14264 * gui.c (gui_item_accelerator): Return the first underlined
14265 character in item name.
14267 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14269 * lisp.h: Added Qprinter.
14271 * general.c (syms_of_general): Initialized it.
14273 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
14275 (get_frame_compdc): Made inline.
14277 * console.h (struct console_methods): Added eject_page method.
14279 * frame.h: Added FRAME_DISPLAY_P and friends.
14280 Aligned backslahes in many macros in more readable fashion.
14281 Added page_number to struct frame, and an accessor macro
14284 * defice.h: Added DEVICE_DISPLAY_P and friends.
14286 * device.c (Fdevice_printer_p): Used these.
14288 * frame.c (allocate_frame_core): Initialize page number.
14289 (Fprint_job_page_number):
14290 (Fprint_job_eject_page): Implemented.
14292 * frame-msw.c (msprinter_eject_page): Added method.
14293 (msprinter_start_page): Added.
14295 * window.c (Fwindow_truncated_p): Fixed docstring.
14296 (Fwindow_last_line_visible_height): Implemented.
14298 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14300 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
14302 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14304 * syntax.c (scan_words): Always advance at least one character.
14306 2000-02-13 Andy Piper <andy@xemacs.org>
14308 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
14309 to make sure the glyph is in the cachels.
14311 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
14312 global image instance flag.
14313 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
14314 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
14316 * glyphs.c (allocate_image_instance): set dirty bits correctly.
14317 (Fset_image_instance_property): mark layout as changed.
14318 (invalidate_glyph_geometry_maybe): mark layout as changed.
14319 (glyph_width): use new NEEDS_LAYOUT macro.
14320 (glyph_ascent): ditto.
14321 (glyph_descent): ditto.
14322 (glyph_height): ditto.
14323 (image_instance_layout): mark layout as clean after laying out.
14324 (update_subwindow): don't mark layout as clean here.
14326 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
14327 should no longer be needed.
14329 * glyphs-x.c (x_update_widget): sanitize asserts.
14330 (x_finalize_image_instance): sanitize assignment to widgets.
14332 * glyphs-widget.c (widget_instantiate): don't need to clear the
14335 2000-02-13 Martin Buchholz <martin@xemacs.org>
14337 * sysdep.c (getcwd): Use standard prototype.
14338 * sysdep.h (getcwd): Use standard prototype.
14340 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
14341 (sequence, start, end).
14342 Remove redundant type checking.
14343 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
14344 view of `caller-protects') to avoid a crash where the real fix was
14347 2000-02-12 Martin Buchholz <martin@xemacs.org>
14349 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
14351 * s/sol2.h: Remove feature macro initialization.
14353 * alloc.c (alloc_lcrecord): Add more type checking assertions.
14354 (vector_hash): New. Code from internal_hash.
14356 Fix up allocation subsystem comments.
14358 * config.h.in: Add __EXTENSIONS__ for Solaris.
14360 * systime.h (EMACS_GETTIMEOFDAY): New.
14361 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
14362 Remove Solaris-specific code.
14363 Use void* for the (ignored) second arg for gettimeofday().
14365 * elhash.c (hash_table_hash): Implement it, finally.
14366 * elhash.c: Use hashcode_t.
14368 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
14369 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
14371 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
14372 * fns.c (size_bit_vector):
14373 * alloc.c (size_vector):
14374 (make_vector_internal):
14375 (make_bit_vector_internal):
14376 (sweep_bit_vectors_1):
14377 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
14379 2000-02-10 Martin Buchholz <martin@xemacs.org>
14381 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
14382 Include strings.h to avoid warnings for bzero and strcasecmp.
14384 2000-02-10 Olivier Galibert <galibert@pobox.com>
14386 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
14387 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
14389 * fns.c (size_bit_vector): New. Declare bit vectors as a
14392 2000-02-10 Olivier Galibert <galibert@pobox.com>
14394 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
14395 use a value field instead.
14396 (symbol_value_forward_forward): Use value field.
14397 (DEFVAR_SYMVAL_FWD): Use value field.
14398 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
14399 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
14400 (DEFVAR_CONST_INT): Ditto.
14401 (DEFVAR_BOOL): Ditto.
14402 (DEFVAR_CONST_BOOL): Ditto.
14403 (DEFVAR_INT_MAGIC): Ditto.
14404 (DEFVAR_BOOL_MAGIC): Ditto.
14406 * symbols.c (guts_of_unbound_marker): Use value field.
14407 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
14408 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
14410 * lisp.h: Declare dumpopaque and noninteractive1.
14412 * alloc.c (dumpopaque): Added.
14413 (pdump_dump_opaquevec): Added.
14414 (pdump): Call pdump_dump_opaquevec to dump opaque data.
14415 (pdump_load): Reload opaque data. Sync noninteractive1 with
14418 2000-02-10 Andy Piper <andy@xemacs.org>
14420 * glyphs.c (image_instance_layout): if the size changes, mark it
14423 * redisplay-output.c (redisplay_output_layout): Update the
14425 (redisplay_output_subwindow): ditto.
14427 * glyphs.c (update_subwindow): make sure we reset flags for
14428 layouts as well as everything else.
14430 * glyphs-widget.c (layout_layout): don't need to set the instances
14433 2000-02-09 Martin Buchholz <martin@xemacs.org>
14435 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
14436 not HAVE_DLOPEN, which is a lower-level thing.
14438 * .cvsignore: Ignore gmon.out
14440 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
14442 * .cvsignore: Ignore portable dumper xemacs.dmp file
14444 2000-02-09 Andy Piper <andy@xemacs.org>
14446 * redisplay-output.c (redisplay_output_layout): be more clever
14447 about when we output based on the changed flags.
14449 * glyphs.h (struct image_instantiator_methods): add update_method.
14450 (struct Lisp_Image_Instance): add changed flags. Declare new
14451 macros for manipulating them.
14453 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
14454 (image_instance_parent_glyph): find an image_instance's parent
14455 glyph or image_instance.
14456 (image_instance_layout): mark the size as changed.
14457 (set_image_instance_dirty_p): new function. mark an image
14458 instance, plus all of its parents, as dirty.
14459 (Fset_image_instance_property): use it.
14460 (Fglyph_animated_timeout_handler): use it.
14461 (update_subwindow): call update_widget and device methods for
14462 update_subwindow. Mark all changed flags as clean.
14463 (Fresize_subwindow): mark size as changed.
14465 * glyphs-x.c (x_finalize_image_instance): try and detect gc
14467 (x_update_subwindow): only resize subwindows here.
14468 (x_update_widget): new function. Update all changed properties of
14470 (x_resize_subwindow): deleted.
14471 (x_widget_set_property): deleted.
14472 (x_progress_gauge_set_property): deleted.
14473 (x_progress_gauge_update): new function. Implement recorded
14475 (x_tab_control_update): ditto.
14476 (x_tab_control_set_property): deleted.
14477 (console_type_create_glyphs_x): declare new functions.
14478 (image_instantiator_format_create_glyphs_x): ditto.
14480 * glyphs-widget.c (widget_set_property): mark text changed.
14481 (update_widget): new function. Update properties of a widget.
14482 (widget_instantiate): for layouts make sure we set their
14483 children's parent correctly.
14484 (tab_control_set_property): new function. Record changes that will
14485 take place under redisplay's control.
14486 (progress_gauge_set_property): ditto.
14487 (image_instantiator_progress_guage): declare new functions.
14488 (image_instantiator_tab_control): ditto.
14490 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
14492 (mswindows_update_widget): new function. Update all properties on
14493 a widget that have changed.
14494 (mswindows_button_update): new function. Update a button's set
14496 (mswindows_tab_control_update): new function. Update the items in
14498 (mswindows_tab_control_set_property): deleted.
14499 (mswindows_progress_gauge_update): new function. Update the
14500 progress gauge's progress.
14501 (mswindows_widget_set_property): deleted. This is all done
14502 asynchronously now.
14503 (mswindows_progress_gauge_set_property): ditto.
14504 (console_type_create_glyphs_mswindows): declare new methods.
14505 (image_instantiator_format_create_glyphs_mswindows): ditto.
14507 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
14508 (msprinter_set_frame_properties): ditto.
14510 * console.h (struct console_methods): Add update_widget_method.
14512 2000-02-09 Andy Piper <andy@xemacs.org>
14514 * gui-msw.c (Fmswindows_shell_execute): Make
14515 mswindows-shell-execute industrial strength.
14517 2000-02-08 Martin Buchholz <martin@xemacs.org>
14519 * lrecord.h: Make macro argument `props' match member function `plist'.
14522 * fns.c (Fremprop):
14523 * fns.c (Fobject_plist):
14526 Object property list frobbing cleanup.
14527 - Allow any lisp object (compared with `eq'), not just symbols, as
14528 keys in object plists.
14529 - Move symbol plist frobbing into symbols.c, where it belongs.
14530 - Move string plist frobbing into alloc.c, where it belongs.
14531 - Everything's an lrecord now, so no need to test for symbolp, etc.
14532 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
14534 * extents.c: Reorder code to remove declarations.
14536 * frame.h (store_in_alist): Remove useless declaration.
14538 2000-02-07 Martin Buchholz <martin@xemacs.org>
14540 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
14541 * config.h.in: Add HAVE_XCONVERTCASE.
14543 2000-02-07 Andy Piper <andy@xemacs.org>
14545 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
14546 it breaks many things.
14548 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14550 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
14551 actually can start a common comment type.
14552 * src/syntax.h (SYNTAX_END_P): ditto for end.
14554 2000-02-07 Martin Buchholz <martin@xemacs.org>
14556 * XEmacs 21.2.28 is released.
14558 2000-02-06 Martin Buchholz <martin@xemacs.org>
14560 * event-Xt.c (x_keysym_to_character): New.
14561 (maybe_define_x_key_as_self_inserting_character): New.
14562 (x_has_keysym): New.
14563 Auto-define all keys on the keyboard as self-insert-key.
14565 2000-02-02 Martin Buchholz <martin@xemacs.org>
14567 * menubar.c (vars_of_menubar): A small code simplification.
14569 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
14572 * ExternalClient.c:
14573 * EmacsShell-sub.c:
14576 Use consistent style for specifying X resources.
14578 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
14579 This makes (dontusethis-set-symbol-value-handler) actually usable.
14581 * lrecord.h (lrecord_decription_type):
14582 * alloc.c (pdump_register_sub):
14585 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
14586 Comply with XEmacs coding style.
14587 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
14588 args, and XD_LISP_OBJECT_ARRAY with 3 args.
14590 * keymap.c (Faccessible_keymaps):
14591 Make (accessible-keymaps map "\C-h") do the Right Thing.
14592 Make (accessible-keymaps map []) do the Right Thing.
14593 Make (accessible-keymaps map "") do the Right Thing.
14594 (check_keymap_definition_loop): New function.
14595 (keymap_store_internal): Keep luser from shooting self in foot,
14596 via (define-key ctl-x-4-map "p" global-map).
14597 Remove fullness slot from struct Lisp_Keymap, since hash tables
14599 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
14601 2000-01-30 Martin Buchholz <martin@xemacs.org>
14603 * redisplay.c (init_redisplay): Fix small memory leak.
14605 * elhash.c (pdump_reorganize_hash_table):
14606 Rename from reorganize_hash_table. Change prototype.
14607 Reuse the original memory for hentries. Save 100k.
14608 * alloc.c (PDUMP_READ): new macro.
14609 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
14610 * alloc.c: No need to #ifndef before #undef.
14612 * print.c: Allow debug_print() to print readably by modifying
14613 debug_print_readably. Use consistent variable names.
14615 * .dbxrc: Try to get things to work even if stopped in a function
14616 without source available by explicitly specifying source files.
14617 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14619 * unexnt.c (_start): Removed bogus code which caused loading heap
14620 from differrent executable file.
14621 Removed bogus assignment to _fmode, which caused inconsistencies.
14623 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14625 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
14626 Have spawnve encapsulation regard DONT_ENCAPSULATE.
14627 Do not preliminary `#define signal sigset'.
14629 * systime.h: Do not prototype environ on windows nt and cygwin,
14630 this conflicts with system header.
14632 * syssignal.h: Use correct define for WINDOWSNT
14634 * sysdep.h: Do not prototype environ on windows nt, this conflicts
14635 with system header.
14637 * sysdep.c (near start of file): Fixed commentary and rearranged
14638 ifdefs in readable order.
14639 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
14642 (end_of_data): Do not compile in if using PDUMP.
14644 * symsinit.h: Prototyped vars_of_nt().
14646 * ntproc.c (windows9x_p): Added, instead of os_subtype.
14647 (find_child_console): Use it.
14648 (sys_kill): Use it.
14650 * ntheap.h: Do not extern os_subtype.
14652 * ntheap.c (cache_system_info): Do not cache unneeded:
14653 nt_major_version, nt_minor_version and os_subtype.
14654 (recreate_heap): Do not compile in when PDUMPing.
14656 * nt.c (geteuid and friends): Use the new varibale
14657 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
14658 (init_user_info): Removed the above mentioned hackery.
14659 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
14660 stat has been fixed in the C runtime.
14661 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
14663 * file-coding.c (struct file_coding_dump): Do not define
14664 ucs_to_mule_table in the struct if not MULE.
14665 (struct struct lrecord_description fcd_description_1): Do not dump
14668 * emacs.c (main_1): Call vars_of_nt().
14669 (right before Fdump_emacs_data): Don't need lastfile if using both
14670 portabe dumper and system malloc.
14672 * alloc.c (Fmemory_limit): Conditionalized out.
14673 (pdump): Use OPEN_BINARY for the portable dump file.
14674 (pdump_load): Ditto.
14676 2000-02-02 Mike Alexander <mta@arbortext.com>
14678 * nt.c (convert_time): Set tm_isdst before calling mktime and
14679 avoid calling it at all if the compiler supports 64 bit integers.
14680 Also initialize utc_base_ft before using it.
14682 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14684 * frame.c (change_frame_size_1): Take f->internal_border_width
14685 into consideration when calculating the width of the frame.
14687 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14689 * window.c (frame_min_height):
14690 (frame_size_valid_p):
14691 (frame_pixsize_valid_p): Added.
14692 (check_frame_size): Generalized.
14694 * window.h: Prototyped the above.
14697 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
14698 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
14699 Deleted Vwin32_* and Vbinary_process_* unused variables.
14701 * device-msw.c (msprinter_init_device): Do not get printer font
14702 list; Added DEVMODE functions.
14704 * frame-msw.c: Added lots of printer code.
14706 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
14709 * console-msw.h: Added more msprinter device private slots.
14711 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14713 * event-msw.c (key_needs_default_processing_p): Added.
14714 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
14716 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14718 * glyphs.c (image_instance_layout): Mark image instance as clean
14720 (glyph_dirty_p): Removed redundant function.
14721 (invalidate_glyph_geometry_maybe): Added.
14722 (update_glyph_cachel_data): Call it.
14724 * glyphs.h: Prototyped it.
14726 * redisplay.c (add_glyph_rune): Call it.
14727 (redisplay_window): Reset glyphs cachels when frame faces have
14728 changed, thus forcing recomputation of built-in border glyphs.
14730 2000-01-30 Martin Buchholz <martin@xemacs.org>
14732 * Makefile.in.in: Make portable dumper and purify play well together.
14733 Add imperfect, but better than nothing, support for pdump.
14734 Remove xemacs.dmp when temacs is re-generated.
14735 Don't ignore errors when dumping xemacs.
14737 * symbols.c (maybe_call_magic_handler): Remove one magic number.
14739 2000-01-28 Andy Piper <andy@xemacs.org>
14741 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
14742 (setup_normal_frame): ditto.
14743 (setup_frame_without_minibuffer): ditto.
14744 (setup_minibuffer_frame): ditto.
14745 (delete_frame_internal): ditto.
14746 (Fmake_frame_invisible): ditto.
14747 (Ficonify_frame): ditto.
14749 * window.h: change Fset_window_buffer signature.
14751 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
14752 (Fset_window_buffer): allow recording of buffer if the window is
14753 the selected window.
14754 (window_loop): Use new Fset_window signature.
14756 2000-01-23 Daniel Pittman <daniel@danann.net>
14758 * config.h.in: Added template for `HAVE_ATHENA_3D'
14760 2000-01-29 Andy Piper <andy@xemacs.org>
14762 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
14764 * gutter.c (output_gutter): Don't output if the window isn't live.
14766 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14768 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
14769 of 01/12/00: Moved SetFocus back here where it belongs.
14771 2000-01-23 Andy Piper <andy@xemacs.org>
14773 * s/cygwin32.h: declare printer things.
14775 2000-01-26 Andy Piper <andy@xemacs.org>
14777 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
14780 2000-01-24 Andy Piper <andy@xemacs.org>
14782 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
14783 (mswindows_button_instantiate): Make sure glyph is a pixmap.
14785 * glyphs-widget.c (widget_instantiate): Avoid shadows.
14787 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
14789 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
14791 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
14792 (mswindows_output_display_block): Avoid local shadows.
14794 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
14795 (mswindows_enqueue_mouse_button_event): ditto.
14796 (mswindows_handle_gui_wm_command): remove declaration.
14798 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
14801 * console-msw.h: Avoid shadows.
14802 (mswindows_get_toolbar_button_text):
14803 (emacs_mswindows_create_stream_pair):
14804 (emacs_mswindows_delete_stream_pair):
14805 (mswindows_handle_toolbar_wm_command): declare.
14807 * device-msw.c (build_syscolor_string): Avoid shadows.
14809 2000-01-23 Andy Piper <andy@xemacs.org>
14811 * glyphs-widget.c (widget_instantiate): reverse the items for
14812 layouts so that children are in the expected order.
14814 2000-01-28 Martin Buchholz <martin@xemacs.org>
14816 * ralloc.c: safe_bcopy ==> memmove
14817 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
14818 * s/msdos.h: Remove BCOPY macros.
14819 * insdel.c (gap_right): Remove BCOPY conditional code.
14820 * insdel.c (gap_left): Remove BCOPY conditional code.
14821 XEmacs demands a working ANSI C compiler - hence memmove.
14823 * regex.c (regex_compile): Remove accidental use of trigraphs.
14825 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14827 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
14830 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14832 * event-msw.c (mswindows_drain_windows_queue): Added the
14834 (mswindows_need_event): Commented the call to
14835 mswindows_drain_windows_queue().
14836 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
14839 * console-msw.h: Moved a few function prototypes here from
14842 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
14843 parameter from unsigned short to unsigned long.
14844 (Fmswindows_shell_execute): Added return value.
14846 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
14848 * sysdep.c (init_system_name):
14849 process-unix.c (unix_canonicalized_host_name):
14850 Don't call freeaddrinfo() if getaddrinfo() fails.
14852 * process-unix.c (unix_open_unix_network_stream):
14853 Moved the code to get a port # into address loop.
14855 2000-01-27 Martin Buchholz <martin@xemacs.org>
14857 * buffer.c (reinit_vars_of_buffer):
14858 The right place to initialize conversion_in_dynarr and
14859 conversion_out_dynarr.
14861 * alloc.c (pdump): Use the real open() till sys_open() is functional.
14863 * process-unix.c (unix_canonicalize_host_name): Muleize.
14864 (unix_open_network_stream): Muleize.
14866 * buffer.h: Fix up prototypes for ralloc.c functions.
14868 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
14869 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
14870 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
14871 instead of gethostbyname()
14872 * process-unix.c: In unix_canonicalize_host_name() and
14873 unix_open_network_stream(), add code to use getaddrinfo()
14874 instead of gethostbyname().
14876 2000-01-27 Daniel Pittman <daniel@danann.net>
14878 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
14879 libs when built with flat Athena.
14881 2000-01-27 Martin Buchholz <martin@xemacs.org>
14883 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
14884 Use coding standards for function prototypes.
14886 2000-01-25 Martin Buchholz <martin@xemacs.org>
14888 * dialog-msw.c (push_lisp_string_as_unicode):
14889 * doc.c (unparesseuxify_doc_string):
14890 * dired.c (Fuser_name_completion_1):
14891 * dired.c (Fuser_name_all_completions):
14892 * dired.c (free_user_cache):
14893 * dired.c (user_name_completion):
14894 * console-x.c (get_display_arg_connection):
14895 * minibuf.c (clear_echo_area_internal):
14896 * minibuf.c (echo_area_append):
14897 * eldap.c (Fldap_open):
14898 * eldap.c (Fldap_search_internal):
14899 * frame-x.c (x_set_frame_text_value):
14900 * frame-x.c (x_set_frame_properties):
14901 * frame-x.c (x_create_widgets):
14902 * redisplay-tty.c (term_get_fkeys_1):
14903 * objects-x.c (x_parse_nearest_color):
14904 * objects-x.c (x_valid_color_name_p):
14905 * objects-x.c (x_initialize_font_instance):
14906 * objects-x.c (x_list_fonts):
14907 * objects-x.c (x_find_charset_font):
14908 * tooltalk.c (Fadd_tooltalk_message_arg):
14909 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
14910 * tooltalk.c (Fadd_tooltalk_pattern_arg):
14911 * process-unix.c (unix_create_process):
14912 * ntproc.c (sys_spawnve):
14913 * sound.c (Fplay_sound_file):
14914 * sound.c (Fplay_sound):
14915 * buffer.c (init_initial_directory):
14916 * buffer.c (init_buffer):
14917 * editfns.c (init_editfns):
14918 * editfns.c (Ftemp_directory):
14919 * editfns.c (Fuser_full_name):
14920 * editfns.c (uncache_home_directory):
14921 * editfns.c (get_home_directory):
14922 * editfns.c (Fuser_home_directory):
14923 * editfns.c (Fformat_time_string):
14924 * editfns.c (Fcurrent_time_string):
14925 * gui-x.c (button_item_to_widget_value):
14926 * database.c (Fopen_database):
14927 * event-Xt.c (x_to_emacs_keysym):
14928 * event-Xt.c (x_event_to_emacs_event):
14929 * event-Xt.c (describe_event_window):
14930 * event-msw.c (mswindows_wnd_proc):
14931 * glyphs-eimage.c (jpeg_instantiate):
14932 * glyphs-eimage.c (gif_instantiate):
14933 * glyphs-eimage.c (png_instantiate):
14934 * glyphs-eimage.c (tiff_instantiate):
14935 * glyphs-x.c (xbm_instantiate_1):
14936 * glyphs-x.c (x_xbm_instantiate):
14937 * glyphs-x.c (x_xface_instantiate):
14938 * glyphs-x.c (autodetect_instantiate):
14939 * glyphs-x.c (cursor_font_instantiate):
14940 * glyphs-x.c (x_widget_instantiate):
14941 * glyphs-x.c (x_widget_set_property):
14942 * glyphs-x.c (x_widget_property):
14943 * glyphs-x.c (BUILD_GLYPH_INST):
14944 * print.c (write_string_to_stdio_stream):
14945 * print.c (output_string):
14946 * print.c (Falternate_debugging_output):
14947 * print.c (Fexternal_debugging_output):
14948 * glyphs-msw.c (extract_xpm_color_names):
14949 * glyphs-msw.c (mswindows_xpm_instantiate):
14950 * glyphs-msw.c (bmp_instantiate):
14951 * glyphs-msw.c (resource_name_to_resource):
14952 * glyphs-msw.c (mswindows_resource_instantiate):
14953 * glyphs-msw.c (xbm_instantiate_1):
14954 * glyphs-msw.c (mswindows_xbm_instantiate):
14955 * glyphs-msw.c (mswindows_xface_instantiate):
14956 * glyphs-msw.c (mswindows_widget_instantiate):
14957 * glyphs-msw.c (add_tree_item):
14958 * glyphs-msw.c (add_tab_item):
14959 * glyphs-msw.c (mswindows_combo_box_instantiate):
14960 * glyphs-msw.c (mswindows_widget_property):
14961 * glyphs-msw.c (mswindows_combo_box_property):
14962 * glyphs-msw.c (mswindows_widget_set_property):
14963 * console.c (stuff_buffered_input):
14964 * objects-msw.c (mswindows_initialize_color_instance):
14965 * objects-msw.c (mswindows_valid_color_name_p):
14966 * objects-msw.c (mswindows_list_fonts):
14967 * objects-msw.c (mswindows_font_instance_truename):
14968 * bytecode.c (optimize_compiled_function):
14969 * select-x.c (symbol_to_x_atom):
14970 * select-x.c (x_atom_to_symbol):
14971 * select-x.c (hack_motif_clipboard_selection):
14972 * select-x.c (selection_data_to_lisp_data):
14973 * select-x.c (lisp_data_to_selection_data):
14974 * select-x.c (Fx_get_cutbuffer_internal):
14975 * select-x.c (Fx_store_cutbuffer_internal):
14976 * buffer.h (TO_EXTERNAL_FORMAT): New function.
14977 * buffer.h (TO_INTERNAL_FORMAT): New function.
14978 * emacs.c (make_arg_list_1):
14979 * emacs.c (make_argc_argv):
14980 * emacs.c (main_1):
14981 * emacs.c (Fdump_emacs):
14982 * emacs.c (split_string_by_emchar_1):
14987 * device-x.c (x_init_device):
14988 * device-x.c (Fx_valid_keysym_name_p):
14989 * device-x.c (Fx_get_font_path):
14990 * device-x.c (Fx_set_font_path):
14991 * glyphs.c (bitmap_to_lisp_data):
14992 * glyphs.c (pixmap_to_lisp_data):
14993 * alloc.c (make_ext_string): Use coding system arguments. Update
14995 * alloc.c (build_string):
14996 * callproc.c (child_setup):
14997 * callproc.c (init_callproc):
14998 * fileio.c (lisp_strerror):
14999 * fileio.c (directory_file_name):
15000 * fileio.c (Fexpand_file_name):
15001 * fileio.c (Ffile_truename):
15002 * fileio.c (Fsysnetunam):
15003 * fileio.c (Fdo_auto_save):
15004 * sysdep.c (sys_readdir):
15005 * tests.c: New file. Allow adding C tests.
15006 Replace GET_* macros with a more comprehensible and flexible
15007 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
15009 Any coding system can be used to do format conversion.
15010 Eliminate enum external_data_format.
15011 Eliminate convert_to_external_format.
15012 Eliminate convert_to_internal_format.
15013 Make sure file-name, keyboard, terminal, and ctext are always
15014 defined as coding systems or aliases. Make
15015 file-name-coding-system, terminal-coding-system, and
15016 keyboard-coding-system magical variables that are equivalent to
15017 defining the corresponding coding system aliases.
15019 * file-coding.c (Fcoding_system_canonical_name_p): New function.
15020 * file-coding.c (Fcoding_system_alias_p): New function.
15021 * file-coding.c (Fcoding_system_aliasee): New function.
15022 * file-coding.c (append_suffix_to_symbol): New function.
15023 * file-coding.c (dangling_coding_system_alias_p): New function.
15024 * file-coding.c (Ffind_coding_system):
15025 * file-coding.c (Fcopy_coding_system):
15026 * file-coding.c (encode_coding_no_conversion):
15027 * file-coding.c (syms_of_file_coding):
15028 * file-coding.c (vars_of_file_coding):
15029 Rewrite coding system alias code.
15030 Allow nested aliases, like symbolic links.
15031 Allow redefinition of coding system aliases.
15032 Prevent existence of dangling coding system aliases.
15034 * dired.c (Fuser_name_completion_1):
15035 * dired.c (Fuser_name_all_completions):
15036 A crash would happen if user did QUIT in the middle of building
15037 user_name_cache. Remove redundant code in mainline and unwind_protect.
15040 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
15042 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
15043 an unsigned char *. Update all callers.
15045 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15047 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
15049 2000-01-25 Martin Buchholz <martin@xemacs.org>
15051 * elhash.c (hentry_description): Use more portable definition.
15052 (resize_hash_table): Initialize new hentries using
15053 xnew_array_and_zero, thereby simplifying the code.
15055 * mule-charset.c (make_charset): Make sure entire object is
15056 initialized, to avoid Purify warnings.
15058 * alloc.c (resize_string): Fix unlikely crash with big strings.
15060 2000-01-24 Martin Buchholz <martin@xemacs.org>
15062 * realpath.c (xrealpath):
15063 Don't call getwd().
15065 2000-01-25 Martin Buchholz <martin@xemacs.org>
15067 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
15069 1999-12-28 Max Matveev <max@melbourne.sgi.com>
15071 * unexelfsgi.c (unexec): Change the way we decide which segment
15072 should be extended.
15074 Assumption that .bss section should be outside the PT_LOADable
15075 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
15076 it's present) is inside the 'data' segment. This would fail the
15077 test which was used to find a segment to grow and cover new
15078 heap. Instead of this assumption, I created another one - on IRIX
15079 the segment to grow should start below .bss and it's address
15080 should extent above the end of .bss. Once this segment is
15081 identified, it's grown to accommodate the new heap and new
15082 zero-length .bss section is added at the end of .data2.
15084 2000-01-25 Martin Buchholz <martin@xemacs.org>
15086 * eval.c (Feval): Wrong number of arguments should use original
15087 function, not the indirect_function version of it.
15089 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
15091 * glyphs-x.c (x_button_instantiate): Don't add image if
15092 it is not a pixmap.
15093 (x_locate_pixmap_file): Call Fexpand_file_name when file name
15096 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
15098 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
15100 (DEFVAR_INT_MAGIC): Ditto.
15101 (DEFVAR_BOOL_MAGIC): Ditto.
15102 * glyphs.h: Reindent backslash.
15104 2000-01-24 Martin Buchholz <martin@xemacs.org>
15106 * glyphs-widget.c (layout_query_geometry):
15107 (layout_layout): Use correct types for gheight, gwidth.
15109 2000-01-24 Martin Buchholz <martin@xemacs.org>
15111 * EmacsManager.c (QueryGeometry): Purified.
15113 2000-01-23 Martin Buchholz <martin@xemacs.org>
15115 * alloc.c (make_float): Make sure entire object is initialized, to
15116 avoid Purify warnings.
15117 (pdump_register_sub): Remove useless assignment.
15118 (pdump): Use xmalloc, not malloc.
15119 (pdump_load): Use xmalloc, not malloc.
15121 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15128 * sysdep.c: Removed redundant #include <windows.h>
15130 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15132 * frame.c (delete_frame_internal): Do not delete device when its
15133 implementation so declares.
15134 (delete_frame_internal): Set device selected frame to nil when
15135 last frame goes away.
15137 * device-msw.c (msprinter_device_system_metrics): Implemented.
15138 (mswindows_device_system_metrics): Added 'device-dpi property.
15140 * device.c: (Fdevice_printer_p): Added.
15141 Added 'offset-workspace device metric.
15143 * console.h (device_metrics): Declared DM_offset_workspace.
15145 2000-01-23 Martin Buchholz <martin@xemacs.org>
15147 * fileio.c (Ffile_truename): Remove pointless and confusing
15148 initialization of elen.
15150 * glyphs-widget.c: Compiler warning fixes.
15152 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
15154 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
15155 instead of a Lisp_Object as argument to make it consistent with
15156 the other LIVE_P macros.
15157 (CHECK_LIVE_PROCESS): New macro.
15159 * process.c: Declare Qprocess_live_p.
15160 (Fprocess_live_p): New function.
15161 (create_process): Use PROCESS_LIVE_P.
15162 (read_process_output): Ditto.
15163 (set_process_filter): Ditto.
15164 (Fdelete_process): Ditto.
15165 (kill_buffer_processes): Ditto
15166 (process_send_signal): Use CHECK_LIVE_PROCESS.
15167 (Fprocess_input_coding_system): Check whether process is still
15168 alive (fix PR#1061).
15169 (Fprocess_output_coding_system): Ditto.
15170 (Fprocess_coding_system): Ditto.
15171 (Fset_process_input_coding_system): Ditto.
15172 (Fset_process_output_coding_system): Ditto.
15174 2000-01-23 Andy Piper <andy@xemacs.org>
15176 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
15179 * glyphs.c (mark_image_instance): take into account changed
15180 image_instance format.
15181 (image_instance_equal): ditto.
15182 (image_instance_hash): ditto.
15184 * glyphs-widget.c (widget_instantiate): Incorporate layout
15185 instantiation here. Delay layout of the layout until later.
15186 (layout_instantiate): deleted.
15187 (layout_query_geometry): new function. get the geometry of a
15189 (layout_layout): layout a layout dynamically.
15190 (image_instantiator_widget): New function - splitting up
15191 image_instantiator_format_create_glyphs_widget for netwinder
15193 (image_instantiator_buttons):
15194 (image_instantiator_edit_fields):
15195 (image_instantiator_combo_box):
15196 (image_instantiator_scrollbar):
15197 (image_instantiator_progress_guage):
15198 (image_instantiator_tree_view):
15199 (image_instantiator_tab_control):
15200 (image_instantiator_labels):
15201 (image_instantiator_layout): ditto.
15202 (image_instantiator_format_create_glyphs_widget): Call preceding
15205 2000-01-22 Martin Buchholz <martin@xemacs.org>
15207 * process.c (Fset_process_coding_system):
15208 * device-x.c (Fx_keysym_hash_table):
15211 * lstream.c (Lstream_write): Return documented value, not 0.
15213 * fileio.c (directory_file_name):
15214 (Fsubstitute_in_file_name):
15215 (Fsubstitute_insert_file_contents_internal):
15216 (Fwrite_region_internal):
15221 Remove vestigial APOLLO-conditional code.
15223 2000-01-21 Martin Buchholz <martin@xemacs.org>
15225 * getpagesize.h: Add guard macros.
15226 * libsst.h: Add guard macros.
15227 * libst.h: Add guard macros.
15228 * line-number.h: Add guard macros.
15229 * ndir.h: Add guard macros.
15230 * sysfloat.h: Add guard macros.
15231 * sysfile.h: Add guard macros.
15232 * sysproc.h: Add guard macros.
15233 * syswait.h: Add guard macros.
15234 * xintrinsic.h: Add guard macros.
15235 * xintrinsicp.h: Add guard macros.
15236 * xmmanager.h: Add guard macros.
15237 * xmmanagerp.h: Add guard macros.
15238 * xmprimitive.h: Add guard macros.
15239 * xmu.h: Add guard macros.
15240 * gpmevent.h: Add copyright statement. Add guard macros.
15241 * miscplay.h: Add guard macros.
15242 * *.h: Use consistent C-standards-approved guard macro names.
15244 * opaque.c (make_opaque): Switch parameter order.
15245 * opaque.h (make_opaque): Switch parameter order.
15246 Update all callers.
15247 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
15249 * config.h.in (type_checking_assert): Added.
15250 (bufpos_checking_assert): Added.
15252 2000-01-21 Martin Buchholz <martin@xemacs.org>
15254 * alloc.c: Harmless pdump changes.
15256 - spell alignment correctly.
15257 * sysdep.c: Use countof()
15259 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15261 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
15262 initially_selected_for_input() console method, default to 0.
15263 (semi_canonicalize_console_connection): Try to delegate to
15264 canonicalize_console_connection if no such console method.
15265 (canonicalize_console_connection): Vice versa.
15266 (print_console): Do not print nil connection.
15268 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
15269 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
15270 (XDEVIMPF_FRAMELESS_OK): Added.
15271 (CONSOLE_INHERITS_METHOD): Added.
15273 * console-msw.c (mswindows_canonicalize_console_connection):
15275 (mswindows_canonicalize_device_connection): Added.
15277 * console-msw.h (struct msprinter_device): Added this struct and
15279 (mswindows_device): Made fontlist a lisp object.
15281 * device.c (semi_canonicalize_device_connection): Try to delegate
15282 to canonicalize_device_connection if no such console method.
15283 (canonicalize_device_connection): Vice versa.
15284 (print_device): Do not print nil connection.
15286 * device-msw.c (mswindows_init_device): Call InitCommonControls
15288 (mswindows_delete_device): Removed fontlist deallocation.
15289 (mswindows_mark_device): Added.
15291 * events.c (event_equal): Added abort() at unreached code.
15292 (event_hash): Ditto.
15294 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
15295 fallback tags of Windows devices.
15297 * general.c (syms_of_general): Initialized Qmsprinter.
15299 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
15300 of fallback tags of Windows devices.
15302 * lisp.h: Declared Qmsprinter.
15304 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
15306 (mswindows_list_fonts): Ditto.
15307 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
15308 that it can be used by both mswindows and msprinter devices.
15309 (initialize_font_instance): Added.
15310 (mswindows_initialize_font_instance): Use it.
15311 (msprinter_initialize_font_instance): Added.
15313 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
15314 and implementation flags check.
15315 (redisplay_without_hooks): Changed the call to the above.
15316 (Fredraw_device): Ditto.
15317 (Fredisplay_device): Ditto.
15319 * redisplay-msw.c (get_frame_dc): Implemented.
15320 (get_frame_compdc): Implemented.
15321 (many functions): Use the two functions above to get device
15322 contexts, ether for a window or a printer.
15324 2000-01-21 Olivier Galibert <galibert@pobox.com>
15326 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
15327 initialization here.
15328 (init_symbols_once_early): Call it.
15329 * emacs.c (main_1): Call it.
15330 * symsinit.h: Declare it.
15332 2000-01-19 Olivier Galibert <galibert@pobox.com>
15334 * alloc.c: Use a lrecord_header * in the backtrace instead of a
15336 (pdump_backtrace): Ditto.
15337 (pdump_register_object): Ditto. Cleanup use of the pointers.
15338 (pdump_get_entry): Abort if trying to register a null pointer.
15339 (pdump_dump_data): Cleanup types when relocating.
15340 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
15341 (pdump_dump_rtables): Remove bad casts.
15342 (pdump_load): Cleanup relocation w.r.t union type. Use a
15343 Lisp_Object instead of a EMACS_INT for the hashtable
15346 2000-01-20 Martin Buchholz <martin@xemacs.org>
15348 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
15350 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
15352 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
15354 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
15356 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15358 * faces.h (FACE_STRIKETHRU_P): Added.
15360 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
15363 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
15364 (mswindows_set_dc_font): New function, aware of font variants,
15365 separated from mswindows_update_dc.
15367 * objects-msw.h (struct mswindows_font_instance_data): Added
15370 * objects-msw.c (mswindows_finalize_font_instance): Delete all
15371 cached fonts and the data structure.
15372 (mswindows_initialize_font_instance): Added creation of font data
15374 (mswindows_print_font_instance): Print at least something.
15375 (mswindows_create_font_variant): Implemented.
15376 (mswindows_get_hfont): Implemented.
15378 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
15380 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
15381 prototyping problem with msvc.
15383 * emacs.c (main_1): added syms_of_gui_mswindows() call
15385 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
15386 syms_of_gui_mswindows() function
15388 * symsinit.h: added the prototype for syms_of_gui_mswindows()
15390 2000-01-18 Martin Buchholz <martin@xemacs.org>
15392 * XEmacs 21.2.27 is released.
15394 2000-01-18 Martin Buchholz <martin@xemacs.org>
15396 * glyphs-eimage.c (struct tiff_error_struct):
15398 (tiff_warning_func):
15399 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
15404 * unexec.c: Remove vestigial Lucid C code.
15408 * libsst.c: Ansify.
15409 Remove declarations of errno and strerror().
15411 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
15413 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
15415 2000-01-16 Martin Buchholz <martin@xemacs.org>
15417 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
15420 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15425 Change enum eol_type to eol_type_t.
15427 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15429 * gui.c (get_gui_callback): Check cons before accessing car.
15431 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15433 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
15434 (XSETSPECIFIER_TYPE): Ditto.
15436 2000-01-17 Didier Verna <didier@xemacs.org>
15438 * redisplay.c (generate_fstring_runes): compute string size in
15439 characters, not bytes.
15441 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15443 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
15445 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
15447 * print.c (print_error_message): Call print_prepare().
15449 2000-01-14 Martin Buchholz <martin@xemacs.org>
15451 * .dbxrc: Renamed from dbxrc.
15453 * events.c (event_to_character):
15454 Use `assert (foo)' instead of `if (!foo) abort()'
15456 * .gdbinit (xtype): Add documentation.
15457 * .gdbinit (check-temacs): New function.
15458 * .gdbinit (check-xemacs): New function.
15459 * dbxrc (check-xemacs): New function.
15460 * dbxrc (check-xemacs): New function.
15462 2000-01-14 Andy Piper <andy@xemacs.org>
15464 * glyphs-widget.c (widget_query_geometry): Make sure that we
15465 calculate default dimensions correctly.
15467 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15469 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
15471 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
15472 pdump_wire'd variable.
15474 * emacs.c: (main_1): Conditionalized calls to
15475 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
15477 2000-01-13 Martin Buchholz <martin@xemacs.org>
15479 * window.c (Fset_window_configuration):
15480 * sysdep.c (_start):
15481 * input-method-motif.c (res):
15482 * event-Xt.c (Xt_process_to_emacs_event):
15483 Simple compiler warning fixes.
15485 * bytecode.c (funcall_compiled_function): Use the original
15486 function symbol on the backtrace list in preference to the
15487 compiled_function object in error messages.
15489 2000-01-13 Andy Piper <andy@xemacs.org>
15491 * glyphs-x.c (update_widget_face): Make sure we update the widget
15492 background as well as foreground.
15494 2000-01-13 Andy Piper <andy@xemacs.org>
15496 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
15497 fields to subwindow.
15498 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
15499 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
15500 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15501 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15503 * glyphs-widget.c (check_valid_tab_orientation): new function.
15504 (initialize_widget_image_instance): zero orientation and
15506 (widget_instantiate): pick up orientation.
15507 (tab_control_query_geometry): return appropriate values for
15510 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
15511 appropriate creation flags for left, right and bottom tabs.
15513 * s/cygwin32.h: add tab definitions.
15515 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15517 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
15518 frame upon hiding a subwindow.
15519 (mswindows_button_instantiate): Changed the push button style to
15521 (mswindows_button_instantiate): Removed button BS_NOTIFY
15523 (mswindows_button_instantiate): Removed redundant check for
15524 a disabled gui item.
15525 (mswindows_button_instantiate): Made use of WS_TABSTOP
15526 consistent: "operable" controls (edit, button, tree, scroll) have
15527 this style, "display-only" ones (static, progress gauge) do
15528 not. This style is currently ignored by XEmacs though. Also,
15529 removed the WS_EX_CONTROLPARENT style - it is not for children,
15530 it is for their parents!
15531 (mswindows_edit_field_instantiate): Ditto.
15532 (mswindows_progress_gauge_instantiate): Ditto.
15533 (mswindows_tree_view_instantiate): Ditto.
15534 (mswindows_tab_control_instantiate): Ditto.
15535 (mswindows_scrollbar_instantiate): Ditto.
15536 (mswindows_combo_box_instantiate): Ditto.
15537 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
15538 style to the "clip" window.
15539 (mswindows_button_instantiate): Removed compilation warning by
15540 equally typing terms of the ?: operator.
15542 2000-01-12 Didier Verna <didier@xemacs.org>
15544 * redisplay.c (generate_fstring_runes): new parameter holding the
15545 last modeline-format extent.
15546 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
15547 extent, fill the glyph block with it.
15548 (generate_fstring_runes): handle these parameters.
15549 (generate_formatted_string_db): ditto.
15551 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
15552 glyphs'extents in the modeline.
15554 1999-01-11 Mike Woolley <mike@bulsara.com>
15556 * ntheap.c: Reduced the reserved heap space from 1Gb down to
15557 256Mb, as a workaround for the non-starting problem many people
15560 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15562 * console-tty.c (Fset_console_tty_output_coding_system):
15563 Force redrawing tty frame.
15565 2000-01-10 Didier Verna <didier@xemacs.org>
15567 * redisplay.c (generate_fstring_runes): fix size computation bug.
15569 2000-01-09 William M. Perry <wmperry@aventail.com>
15571 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
15573 2000-01-09 Andy Piper <andy@xemacs.org>
15575 * glyphs-msw.c: index -> i to avoid shadows.
15576 (xbm_create_bitmap_from_data): make static.
15577 (check_valid_string_or_int): deleted.
15578 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
15580 * glyphs-x.c (x_update_subwindow): remove unused args.
15582 * glyphs.c (glyph_image_instance): return the thing. Don't set the
15583 back pointer - this is done in allocate_image_instance.
15584 (query_string_font): return Qnil to make the compiler happy.
15585 (unmap_subwindow): set to ~0 to make the compiler happy.
15586 (glyph_query_geometry): comment out until used.
15587 (glyph_layout): ditto.
15589 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15591 * insdel.c (signal_after_change): Remove extraneous unbind_to().