1 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
3 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
4 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
6 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
9 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
11 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
12 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
14 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
17 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
19 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
20 (syms_of_mule_charset): Add new symbol `=big5' instead of
22 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
24 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
26 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
27 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
29 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
32 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
34 * mule-charset.c (Qmap_jis_x0212): Renamed from
36 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
38 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
41 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
43 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
45 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
46 of `japanese-jisx0208'.
47 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
50 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
52 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
53 `Qjapanese_jisx0208_1978'.
54 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
55 of `japanese-jisx0208-1978'.
56 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
59 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
61 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
62 only for XEmacs CHISE.
64 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
66 * char-ucs.h: Compact non-ISO-IR charset-ids.
67 (LEADING_BYTE_UCS): Changed to -177.
68 (LEADING_BYTE_CONTROL_1): Changed to -77.
69 (LEADING_BYTE_UCS_BMP): Changed to -176.
70 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
72 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
74 * mule-charset.c (Qiso_ir): New variable.
75 (Fmake_charset): Recognise new property `iso-ir'.
76 (syms_of_mule_charset): Add new symbol `iso-ir'.
78 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
80 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
81 n to -n; charset-id of non ISO-IR sets are changed to positive
84 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
86 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
87 for &MCS-XXXXXXXX; values.
89 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
91 * mule.c (Vxemacs_chise_version): Renamed from
93 (vars_of_mule): Add new variable `xemacs-chise-version'; define
94 `utf-2000-version' as an alias for `xemacs-chise-version'.
96 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
98 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
99 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
102 * config.h.in (CHISE): New macro.
104 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
106 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
108 (Qmap_ucs): New variable.
109 (syms_of_mule_charset): Add new symbol `=ucs'.
110 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
112 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
113 (simplify_char_spec): Likewise.
115 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
117 * char-ucs.h (Qmap_ucs): New extern variable.
119 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
121 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
122 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
123 don't define it when UTF2000 is not defined.
124 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
125 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
126 when UTF2000 is not defined.
127 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
128 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
130 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
132 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
134 * mule-charset.c (Vcharset_ucs_gb): Deleted.
136 (syms_of_mule_charset): Delete `ucs-gb'.
137 (complex_vars_of_mule_charset): Likewise.
139 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
141 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
143 * mule-charset.c (Vcharset_ucs_cns): Deleted.
145 (syms_of_mule_charset): Delete `ucs-cns'.
146 (complex_vars_of_mule_charset): Likewise.
148 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
150 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
152 * mule-charset.c (Vcharset_ucs_jis): Deleted.
154 (syms_of_mule_charset): Delete `ucs-jis'.
155 (complex_vars_of_mule_charset): Likewise.
157 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
159 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
161 * mule-charset.c (Vcharset_ucs_ks): Deleted.
163 (syms_of_mule_charset): Delete `ucs-ks'.
164 (complex_vars_of_mule_charset): Likewise.
166 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
168 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
169 (Qideograph_daikanwa_2): Deleted.
170 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
171 (complex_vars_of_mule_charset): Likewise.
173 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
174 (LEADING_BYTE_DAIKANWA_1): Deleted.
175 (LEADING_BYTE_DAIKANWA_2): Deleted.
176 (MIN_CHAR_DAIKANWA): Deleted.
177 (MAX_CHAR_DAIKANWA): Deleted.
179 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
181 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
182 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
183 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
185 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
186 (Vcharset_ideograph_daikanwa): Deleted.
187 (Qideograph_hanziku_{1..12}): Deleted.
188 (Qideograph_daikanwa): Deleted.
189 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
190 Vcharset_ideograph_daikanwa.
191 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
192 `ideograph-hanziku-{1..12}'.
193 (complex_vars_of_mule_charset): Likewise.
195 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
197 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
199 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
200 (Qideograph_gt_pj_{1..11}): Deleted.
201 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
202 (complex_vars_of_mule_charset): Likewise.
204 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
206 * mule-charset.c (Vcharset_ucs_big5): Deleted.
207 (Vcharset_ideograph_gt): Deleted.
208 (Qucs_big5): Deleted.
209 (Qideograph_gt): Deleted.
210 (syms_of_mule_charset): Delete symbol `ucs-big5' and
212 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
215 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
216 (LEADING_BYTE_GT): Deleted.
217 (MIN_CHAR_GT): Deleted.
218 (MAX_CHAR_GT): Deleted.
220 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
222 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
224 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
226 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
227 (save_uint16_byte_table): Likewise.
228 (save_byte_table): Likewise; convert values by it.
229 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
230 for `ideographic-structure'.
231 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
232 as the filter for `ideographic-structure'.
234 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
236 * chartab.c (put_char_composition): New function.
237 (Fput_char_attribute): Use `put_char_composition'; use
238 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
240 * fns.c (simplify_char_spec): New function.
241 (char_ref_simplify_spec): New function.
242 (Fchar_refs_simplify_char_specs): New function.
243 (syms_of_fns): Add new builtin function
244 `char-refs-simplify-char-specs'.
246 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
248 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
249 (Qideograph_cbeta): Deleted.
250 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
251 (complex_vars_of_mule_charset): Likewise.
253 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
254 (MIN_CHAR_CBETA): Comment out.
255 (MAX_CHAR_CBETA): Likewise.
257 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
259 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
260 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
261 CHISE client feature.
263 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
265 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
267 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
269 * mule-charset.c (charset_lookup_description_1): Use
270 `NUM_LEADING_BYTES' in UTF-2000.
272 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
274 * char-ucs.h (GC_CHARSETP): Deleted.
276 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
278 * char-ucs.h (MAX_CHAR_GT): Updated.
280 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
282 * text-coding.c: Sync with XEmacs 21.4.10.
284 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
286 * mule-charset.c (Vcharset_china3_jef): Deleted.
287 (Qchina3_jef): Deleted.
288 (syms_of_mule_charset): Don't define `china3-jef'.
289 (complex_vars_of_mule_charset): Likewise.
291 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
292 (MIN_CHAR_CHINA3_JEF): Comment out.
293 (MAX_CHAR_CHINA3_JEF): Comment out.
295 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
297 * mule-charset.c (Vcharset_ucs_gb): New variable.
298 (Qucs_gb): New variable.
299 (syms_of_mule_charset): Add new symbol `ucs-gb'.
300 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
302 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
304 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
306 * mule-charset.c (charset_code_point): if a coded-charset has a
307 final-byte, don't inherit the builtin range of the mother CCS.
309 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
311 * mule-charset.c (charset_code_point): Fix problem about
314 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
316 * mule-charset.c (decode_builtin_char): Reorganized.
318 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
320 * text-coding.c (char_encode_as_entity_reference): Modify for
321 `charset_code_point'.
322 (char_encode_shift_jis): Likewise.
323 (char_encode_big5): Likewise.
324 (char_encode_utf8): Likewise.
325 (char_encode_iso2022): Likewise.
327 * mule-charset.c (charset_code_point): Add new argument
329 (Fencode_char): Add new optional argument `defined_only'.
331 * chartab.c (put_char_table): Modify for `charset_code_point'.
333 * char-ucs.h (charset_code_point): Add new argument
335 (encode_char_1): Modify for `charset_code_point'.
337 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
339 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
340 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
342 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
344 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
345 (Qjis_x0208): Likewise.
346 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
347 XCHARSET_FINAL(charset).
348 (charset_code_point): Modify condition for final-byte based
350 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
351 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
352 in UTF-2000; specify `=jis-x0208' as the mother of
353 `japanese-jisx0208-1978', `japanese-jisx0208' and
354 `japanese-jisx0208-1990' in UTF-2000.
356 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
358 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
360 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
362 * text-coding.c (decode_coding_utf16): Support UTF-16.
363 (char_encode_utf16): Fixed.
365 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
367 * text-coding.c (Qutf16): New variable in MULE.
368 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
369 (Fcoding_system_type): Add `utf-16' in MULE.
370 (struct detection_state): Add a structure for utf16 in MULE.
371 (detect_coding_type): Setup st->utf16.mask in MULE.
372 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
374 (reset_encoding_stream): Use `char_encode_utf16' and
375 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
376 (detect_coding_utf16): New function [incomplete].
377 (decode_coding_utf16): New function [support only UCS-2].
378 (char_encode_utf16): New function.
379 (char_finish_utf16): New function.
380 (syms_of_file_coding): Add new symbol `utf-16'; setup
381 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
383 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
385 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
386 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
388 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
390 * chartab.c (put_char_table): When a charset is specified as a
391 range in UTF-2000, don't support builtin characters.
393 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
395 * mule-charset.c (decode_defined_char): Don't refer external
396 database if Qunbound or Qnil are found.
397 (Fsave_charset_mapping_table): Don't define it if
398 HAVE_CHISE_CLIENT is not defined.
399 (Freset_charset_mapping_table): New function.
400 (load_char_decoding_entry_maybe): Store Qnil if a character is not
401 found in external database.
402 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
403 if HAVE_CHISE_CLIENT is not defined; add new builtin function
404 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
406 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
408 * text-coding.c (decode_coding_utf8): Check CCS is specified or
411 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
413 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
414 Q_lowercase, Q_uppercase in UTF-2000.
416 * chartab.c (get_char_table): Add special code for the standard
417 case table to use character attribute `->downcase' and
418 `->uppercase' for case operations in UTF-2000.
420 * casetab.c (Qflippedcase): New variable in UTF-2000.
421 (Q_lowercase): Likewise.
422 (Q_uppercase): Likewise.
423 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
424 and `->uppercase' in UTF-2000.
425 (complex_vars_of_casetab): Assign attribute name `downcase' to
426 downcase and CANON table of Vstandard_case_table in UTF-2000;
427 assign attribute name `flippedcase' to upcase and EQV table of
428 Vstandard_case_table in UTF-2000.
430 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
432 * text-coding.c (decode_add_er_char): Support isolated-chars.
433 (char_encode_as_entity_reference): Likewise.
435 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
437 * emacs.c (Vutf_2000_lisp_directory): New variable.
438 (Vconfigure_utf_2000_lisp_directory): Likewise.
439 (complex_vars_of_emacs): Add new variable
440 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
442 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
444 * char-ucs.h (DECODE_CHAR): Delete special code for
445 `chinese-big5-1' and `chinese-big5-2'.
447 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
449 (decode_defined_char): Support CONVERSION_BIG5_1 and
451 (decode_builtin_char): Likewise.
452 (charset_code_point): Likewise.
453 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
454 'conversion in UTF-2000.
455 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
456 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
457 `chinese-big5-2' as children of `chinese-big5'.
459 * char-ucs.h (CONVERSION_BIG5_1): New macro.
460 (CONVERSION_BIG5_2): New macro.
462 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
464 * text-coding.c (char_encode_big5): Support entity-reference.
466 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
468 * text-coding.c (char_encode_as_entity_reference): New function.
469 (char_encode_utf8): Use `char_encode_as_entity_reference'.
471 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
473 * text-coding.c (decode_coding_big5): Support entity-reference
476 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
478 * text-coding.c (allocate_coding_system): Initialize initial
479 charsets for CODESYS_UTF8.
480 (Fmake_coding_system): Accept charset-g0, charset-g1 and
481 charset-g2 for CODESYS_UTF8.
482 (decode_coding_utf8): Use charset-g0.
483 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
484 to force variants to map to UCS.
486 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
488 * text-coding.c (Qutf_8_mcs): New variable.
489 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
490 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
491 instead of `utf-8' in UTF-2000.
493 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
495 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
496 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
497 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
498 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
499 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
500 CONVERSION_96x96x96x96 are introduced.
501 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
502 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
503 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
505 * char-ucs.h (CONVERSION_94): New macro.
506 (CONVERSION_96): New macro.
507 (CONVERSION_94x94): New macro.
508 (CONVERSION_96x96): New macro.
509 (CONVERSION_94x94x94): New macro.
510 (CONVERSION_96x96x96): New macro.
511 (CONVERSION_94x94x94x60): New macro.
512 (CONVERSION_94x94x94x94): New macro.
513 (CONVERSION_96x96x96x96): New macro.
515 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
517 * chartab.c (Vcharacter_variant_table): Deleted.
518 (Fchar_variants): Use character-attribute `->ucs-variants' instead
519 of `Vcharacter_variant_table'.
520 (Fput_char_attribute): Likewise.
521 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
522 (complex_vars_of_chartab): Likewise.
524 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
526 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
528 * fns.c (Qideographic_structure): New variable.
529 (Qkeyword_char): New variable.
530 (ids_format_unit): New function.
531 (Fideographic_structure_to_ids): New function.
532 (syms_of_fns): Add new symbols `ideographic-structure' and
533 `:char'; add new builtin function `ideographic-structure-to-ids'.
535 * data.c (Fchar_ref_p): New function.
536 (syms_of_data): Add new builtin function `char-ref-p'.
538 * chartab.h: Add an EXFUN for `Ffind_char'.
540 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
542 * text-coding.c (Vcharacter_composition_table): Deleted.
543 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
546 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
548 (Vcharacter_composition_table): Deleted.
549 (Fget_composite_char): Use the implementation for external-DB
550 support in every UTF-2000.
551 (Fput_char_attribute): Likewise.
552 (char_attribute_system_db_file): Don't define if external-DB
553 feature is not available.
554 (Fsave_char_attribute_table): Likewise.
555 (Fmount_char_attribute_table): Likewise.
556 (Fclose_char_attribute_table): Likewise.
557 (Freset_char_attribute_table): Likewise.
558 (Fload_char_attribute_table): Likewise.
559 (syms_of_chartab): Don't define `save-char-attribute-table',
560 `mount-char-attribute-table', `reset-char-attribute-table',
561 `close-char-attribute-table' and `load-char-attribute-table' if
562 external-DB feature is not available.
563 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
565 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
567 * text-coding.c (Qcomposition): Add extern if external-DB feature
569 (Vcharacter_composition_table): Don't add extern if external-DB
570 feature is supported.
571 (COMPOSE_ADD_CHAR): Modify for new data-representation of
572 character composition rule if external-DB feature is supported.
574 * chartab.c (Vcharacter_composition_table): Don't define if
575 external-DB feature is supported.
576 (Qcomposition): New variable.
577 (Fget_composite_char): New implementation for external-DB support.
578 (Fput_char_attribute): Use `composition' property of each
579 character instead of `Vcharacter_composition_table' to store
580 character-composition rules if external-DB feature is supported.
581 (syms_of_chartab): Add new symbol `composition'.
582 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
583 external-DB feature is supported.
585 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
587 * chartab.c (Vchar_db_stingy_mode): New variable.
588 (load_char_attribute_maybe): Close database if
589 Vchar_db_stingy_mode is not NIL.
590 (Fload_char_attribute_table_map_function): Use
591 `get_char_id_table_0' instead of `get_char_id_table'.
592 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
594 * chartab.h (get_char_id_table_0): New inline function.
595 (get_char_id_table): Use `get_char_id_table_0'.
597 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
599 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
600 and `COMPOSE_ADD_CHAR'.
601 (decode_coding_iso2022): Use `decode_flush_er_chars'.
603 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
605 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
606 instead of `DECODE_ADD_UCS_CHAR'.
607 (COMPOSE_ADD_CHAR): Likewise.
609 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
611 * text-coding.c (decode_flush_er_chars): New inline function.
612 (decode_add_er_char): New function.
613 (decode_coding_utf8): Use `decode_flush_er_chars' and
614 `decode_add_er_char'.
616 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
618 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
619 done before `decode_output_utf8_partial_char'.
621 * mule-charset.c (complex_vars_of_mule_charset): Specify
622 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
623 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
625 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
627 * mule-charset.c (decode_defined_char): New function; search
629 (decode_builtin_char): Don't search mother if
630 XCHARSET_MAX_CODE(charset) == 0.
631 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
632 == 0 even if code >= XCHARSET_MAX_CODE(charset).
633 (Fdecode_char): Use `decode_defined_char' instead of
634 `DECODE_DEFINED_CHAR'.
635 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
636 mother of `Vcharset_ucs_jis'.
638 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
639 instead of `DECODE_DEFINED_CHAR'.
641 * char-ucs.h (decode_defined_char): Renamed from
642 `DECODE_DEFINED_CHAR'; changed to normal function.
643 (DECODE_CHAR): Use `decode_defined_char' instead of
644 `DECODE_DEFINED_CHAR'.
646 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
648 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
650 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
652 * text-coding.c (Vcoded_charset_entity_reference_alist): New
654 (Quse_entity_reference): New variable.
658 (coding_system_description): Add description for
660 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
661 (allocate_coding_system): Initialize `ccs_priority_list' in
663 (Fmake_coding_system): Add description about
664 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
666 (Fcoding_system_property): Accept `disable-composition' and
667 `use-entity-reference' in UTF-2000.
668 (struct decoding_stream): Add new member `er_counter' and `er_buf'
670 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
671 (decode_coding_utf8): Decode entity-reference if
672 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
673 (char_encode_utf8): Encode non-Unicode characters as
674 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
676 (syms_of_file_coding): Add new symbols `use-entity-reference',
678 (vars_of_file_coding): Add new variable
679 `coded-charset-entity-reference-alist'.
680 (complex_vars_of_file_coding): Declare `disable-composition' and
681 `use-entity-reference' to be coding-system-properties in UTF-2000.
683 * file-coding.h (struct Lisp_Coding_System): Add new member
684 `use_entity_reference' and `ccs_priority_list'.
685 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
686 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
687 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
689 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
691 * chartab.c (save_uint8_byte_table): Don't clear the table.
692 (save_uint16_byte_table): Likewise.
693 (save_byte_table): Likewise.
694 (Fmount_char_attribute_table): New function.
695 (syms_of_chartab): Add new builtin function
696 `mount-char-attribute-table'.
698 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
700 * mule-charset.c (Fsave_charset_mapping_table): Open database as
702 (load_char_decoding_entry_maybe): Open database as read-only mode.
704 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
705 open database as "w+" mode.
706 (load_char_attribute_maybe): Open database as read-only mode.
707 (Fload_char_attribute_table): Likewise.
709 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
711 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
712 (char_table_description): Delete member `db_file'.
713 (Fmake_char_table): Don't refer `ct->db_file'.
714 (Fcopy_char_table): Likewise.
715 (Fsave_char_attribute_table): Likewise.
716 (Fclose_char_attribute_table): Likewise.
717 (Freset_char_attribute_table): Likewise.
718 (load_char_attribute_maybe): Likewise.
719 (Fload_char_attribute_table): Likewise.
721 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
723 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
725 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
726 (Fsave_char_attribute_table): Don't check `ct->db_file' if
728 (load_char_attribute_maybe): Likewise.
729 (Fload_char_attribute_table): Likewise.
731 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
733 * chartab.c (Fclose_char_attribute_table): Set Qnil on
734 `ct->db_file' unconditionally.
736 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
738 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
740 (char_table_description): Add description for `db_file' and `db'
742 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
744 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
745 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
746 (Fclose_char_attribute_table): New function.
747 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
748 (load_char_attribute_maybe): Change interface; use `cit->db_file'
750 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
751 (syms_of_chartab): Add new builtin function
752 `Fclose_char_attribute_table'.
754 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
756 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
758 (load_char_attribute_maybe): Change interface.
759 (get_char_id_table): Modify for `load_char_attribute_maybe'.
761 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
763 * database.h: Add an EXFUN for `Fdatabase_live_p'.
765 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
767 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
768 instead of `DECODE_CHAR' for mother; don't use special code for
769 chinese-big5 to use code space of chinese-big5-1 and
771 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
772 `MAX_CHAR_BIG5_CDP' for chinese-big5.
774 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
775 (MAX_CHAR_BIG5_CDP): Revival.
777 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
779 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
780 the XLFD registry-encoding name of `chinese-big5'.
782 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
784 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
785 (Qchinese_big5_cdp): Deleted.
786 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
787 (complex_vars_of_mule_charset): Delete coded-charset
790 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
791 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
792 `CHARSET_ID_OFFSET - n' for private CCS.
793 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
794 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
795 of `MIN_LEADING_BYTE'.
796 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
797 `(CHARSET_ID_OFFSET - 97)'.
798 (MIN_CHAR_BIG5_CDP): Deleted.
799 (MAX_CHAR_BIG5_CDP): Deleted.
801 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
803 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
805 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
807 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
808 (vars_of_mule): Add new variable `utf-2000-version' [moved from
811 * chartab.c (Vutf_2000_version): Moved to mule.c.
812 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
814 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
816 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
817 when HAVE_CHISE_CLIENT is not defined.
819 * mule.c (vars_of_mule): Provide feature `chise' when
820 HAVE_CHISE_CLIENT is defined.
822 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
824 * config.h.in (UTF2000): Add comment.
825 (HAVE_CHISE_CLIENT): New macro.
827 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
829 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
831 (Fput_char_attribute): Likewise.
832 (char_attribute_system_db_file): Encode file-name of attribute.
833 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
836 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
838 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
839 (Fsave_charset_mapping_table): Use
840 `char_attribute_system_db_file'.
841 (load_char_decoding_entry_maybe): Likewise.
843 * chartab.h (Qsystem_char_id): New external variable.
844 (char_attribute_system_db_file): New prototype.
846 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
847 (char_attribute_system_db_file): New function.
848 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
849 (Freset_char_attribute_table): Likewise.
850 (load_char_attribute_maybe): Likewise.
851 (Fload_char_attribute_table): Likewise.
852 (syms_of_chartab): Add new symbol `system-char-id'.
854 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
856 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
857 `XCHARSET_GRAPHIC(ccs)'.
859 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
861 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
863 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
865 * chartab.c (Q_ucs_variants): New variable.
866 (syms_of_chartab): Add new symbol `->ucs-variants'.
867 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
868 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
869 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
871 * mule-charset.c (load_char_decoding_entry_maybe): New function.
873 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
874 `HAVE_DATABASE' is defined.
875 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
876 `HAVE_DATABASE' is defined.
878 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
880 * chartab.c (Fsave_char_attribute_table): Don't clear internal
882 (Freset_char_attribute_table): New function.
883 (syms_of_chartab): Add new builtin function
884 `reset-char-attribute-table'.
886 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
888 * chartab.c (load_char_attribute_maybe): Don't make directories.
890 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
892 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
894 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
897 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
899 * mule-charset.c (Fsave_charset_mapping_table): Use
900 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
902 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
903 instead of `XCHARSET_CHARS'.
905 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
907 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
908 (XCHARSET_BYTE_SIZE): Likewise.
910 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
912 (XCHARSET_BYTE_SIZE): Likewise.
914 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
916 * chartab.c (Fput_char_attribute): Use exec-directory instead of
917 data-directory to store database.
918 (Fsave_char_attribute_table): Likewise.
919 (load_char_attribute_maybe): Likewise.
920 (Fload_char_attribute_table): Likewise.
922 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
924 * mule-charset.c (Fsave_charset_mapping_table): New function.
925 (syms_of_mule_charset): Add new builtin function
926 `save-charset-mapping-table'.
928 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
930 * char-ucs.h (decoding_table_check_elements): Delete prototype.
931 (get_ccs_octet_table): New inline function.
932 (put_ccs_octet_table): Likewise.
933 (decoding_table_put_char): Use `get_ccs_octet_table' and
934 `put_ccs_octet_table'.
935 (decoding_table_remove_char): Use `decoding_table_put_char'.
936 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
938 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
940 (make_charset): Use Qunbound instead Qnil as initial value of
943 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
945 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
946 element is Qunloaded.
947 (map_over_uint16_byte_table): Likewise.
948 (map_over_byte_table): Likewise.
949 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
950 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
951 database support, load encoding-table of the specified
952 coded-charset if it is not loaded yet.
953 (save_uint8_byte_table): New function of UTF-2000 with external
955 (save_uint16_byte_table): Likewise.
956 (save_byte_table): Likewise.
957 (Fput_char_attribute): Don't store value into external database
958 even if the external database feature is supported in UTF-2000;
959 set `attribute' as name of char-table if the external database
960 feature is supported.
961 (Fsave_char_attribute_table): New function in UTF-2000.
962 (syms_of_chartab): Add new builtin function
963 `save-char-attribute-table' in UTF-2000.
965 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
967 * chartab.c (char_attribute_table_to_put): New variable in
969 (Qput_char_table_map_function): Likewise.
970 (value_to_put): Likewise.
971 (Fput_char_table_map_function): New function in UTF-2000.
972 (put_char_table): Use `Fmap_char_attribute' for
973 CHARTAB_RANGE_CHARSET in UTF-2000.
974 (Fput_char_attribute): Store symbol instead of string in
975 `XCHAR_TABLE_NAME (table)'.
976 (load_char_attribute_maybe): Likewise.
977 (syms_of_chartab): Add new symbol/function
978 `put-char-table-map-function'.
980 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
982 * database.h: Add new EXFUN for `Fmap_database'.
984 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
985 (syms_of_database): Likewise.
987 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
989 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
990 (XCHAR_TABLE_UNLOADED): Likewise.
992 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
993 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
994 HAVE_DATABASE is defined.
995 (char_attribute_table_to_load): New variable of UTF-2000 with
996 external database support.
997 (Qload_char_attribute_table_map_function): Likewise.
998 (Fload_char_attribute_table_map_function): New function of
999 UTF-2000 with external database support.
1000 (Fload_char_attribute_table): New function of UTF-2000.
1001 (Fmap_char_attribute): Call Fload_char_attribute_table if
1002 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
1003 (syms_of_chartab): Add new symbol and function
1004 `load-char-attribute-table-map-function' in UTF-2000 with external
1005 database support; add new function `load-char-attribute-table' in
1008 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1010 * chartab.h (load_char_attribute_maybe): New prototype for
1011 UTF-2000 with DATABASE support.
1012 (get_char_id_table): Use `load_char_attribute_maybe' if
1013 HAVE_DATABASE is defined.
1015 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1016 with DATABASE support.
1018 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1020 * chartab.c (Fput_char_attribute): Use S-expression as key of
1023 * chartab.h (get_char_id_table): Use S-expression as key of
1026 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1028 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1029 if an element is not loaded, load the corresponding attributes
1030 from an external database.
1031 (map_over_uint16_byte_table): Likewise.
1032 (map_over_byte_table): Likewise.
1033 (map_char_table): Modify for `map_over_uint8_byte_table',
1034 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1035 element is not loaded, load the corresponding attributes from an
1037 (Fput_char_attribute): Change initial values to Qunloaded.
1039 * chartab.h (get_char_id_table): If a character attribute is not
1040 loaded and the attribute value is not found in an external
1041 database, store Qunbound as the attribute value.
1043 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1045 * chartab.c (BT_UINT8_unloaded): New macro.
1046 (UINT8_VALUE_P): Accept Qunloaded.
1047 (UINT8_ENCODE): Likewise.
1048 (UINT8_DECODE): Likewise.
1049 (BT_UINT16_unloaded): New macro.
1050 (UINT16_VALUE_P): Accept Qunloaded.
1051 (UINT16_ENCODE): Likewise.
1052 (UINT16_DECODE): Likewise.
1053 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1055 (mark_char_table): Mark `ct->name' in UTF-2000.
1056 (char_table_description): Add `name' in UTF-2000.
1057 (Fmake_char_table): Initialize `ct->name'.
1058 (Fcopy_char_table): Copy `ct->name'.
1059 (Fput_char_attribute): Store value into an external database if
1060 HAVE_DATABASE is defined.
1062 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
1064 (CHAR_TABLE_NAME): New macro in UTF-2000.
1065 (XCHAR_TABLE_NAME): New macro in UTF-2000.
1066 (get_char_id_table): Try to read an external database if Qunloaded
1067 is stored in a table.
1069 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
1072 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1074 * database.h: Add EXFUN definitions for Fopen_database,
1075 Fput_database, Fget_database and Fclose_database.
1077 * data.c (Qunloaded): New variable in UTF-2000.
1079 * lisp.h (Qunloaded): New variable in UTF-2000.
1081 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1083 * mule-charset.c (put_char_ccs_code_point): Modify for
1084 `decoding_table_remove_char' and `decoding_table_put_char'.
1085 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1087 * char-ucs.h (decoding_table_remove_char): Change arguments to
1088 hide decoding_table vector.
1089 (decoding_table_put_char): Likewise.
1091 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1093 * mule-charset.c (decoding_table_remove_char): Moved to
1095 (decoding_table_put_char): Likewise.
1097 * char-ucs.h (decoding_table_check_elements): New prototype [moved
1098 from mule-charset.c].
1099 (decoding_table_remove_char): New inline function [moved from
1101 (decoding_table_put_char): Likewise.
1103 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1105 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
1108 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1110 * mule-charset.c (decode_builtin_char): Support mother charsets.
1112 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1114 * mule-charset.c (Q94x94x60): New variable.
1115 (charset_code_point): Support conversion `94x94x60'.
1116 (Fmake_charset): Likewise.
1117 (syms_of_mule_charset): Add new symbol `94x94x60'.
1119 * char-ucs.h (CONVERSION_94x94x60): New macro.
1121 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1123 * mule-charset.c (charset_code_point): Unify code about
1126 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1128 * mule-charset.c (charset_code_point): Merge code about builtin
1129 characters into code about mother charsets; don't use
1130 `range_charset_code_point'.
1131 (range_charset_code_point): Deleted.
1133 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1135 * mule-charset.c (Qcode_offset): New variable.
1136 (Fmake_charset): Use `XUINT' to get value of `min-code' and
1137 `max-code'; accept new property `code-offset'.
1138 (syms_of_mule_charset): Add new symbol `code-offset'.
1140 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1142 * mule-charset.c (range_charset_code_point): Fixed.
1144 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1146 * mule-charset.c (decode_builtin_char): Change semantics of
1147 code-offset of coded-charset.
1148 (charset_code_point): Likewise.
1149 (range_charset_code_point): Likewise.
1150 (complex_vars_of_mule_charset): Modify for the change.
1152 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1154 * mule-charset.c (Fencode_char): Reverse arguments.
1156 * mule-charset.c (charset_code_point): Fixed.
1158 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1160 * mule-charset.c (Vcharset_mojikyo): Deleted.
1161 (Vcharset_mojikyo_2022_1): Deleted.
1162 (Vcharset_mojikyo_pj_{1..21}): Deleted.
1163 (Qmin_code): New variable in UTF-2000.
1164 (Qmax_code): Likewise.
1165 (Qmother): Likewise.
1166 (Qconversion): Likewise.
1168 (Qmojikyo): Deleted.
1169 (Qmojikyo_2022_1): Deleted.
1170 (Qmojikyo_pj_{1..22}): Deleted.
1171 (mark_charset): Mark `cs->mother'.
1172 (charset_description): Add description for `mother'.
1173 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
1174 new arguments `mother' and `conversion'; use
1175 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
1176 (charset_code_point): Moved from char-ucs.h; support `mother'
1178 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
1179 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
1180 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
1181 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
1182 allow 2 as the value of `graphic' in UTF-2000; add new properties
1183 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
1184 require `final' in UTF-2000; modify for `make_charset'.
1185 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
1186 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
1187 (Fcharset_property): Support `mother', `min-code' and `max-code'.
1188 (Fencode_char): New function.
1189 (syms_of_mule_charset): Add new builtin function `encode-char' in
1190 UTF-2000; add new symbols `min-code', `max-code', `mother',
1191 `conversion' and `94x60'; delete symbols `mojikyo',
1192 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
1193 (complex_vars_of_mule_charset): Modify for `make_charset' change;
1194 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
1195 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
1197 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
1198 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
1200 * char-ucs.h (Vcharset_mojikyo): Deleted.
1201 (Vcharset_mojikyo_2022_1): Deleted.
1202 (LEADING_BYTE_MOJIKYO): Deleted.
1203 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
1204 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
1205 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
1206 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
1207 add new member `mother'; add new member `conversion'.
1208 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
1209 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
1210 (CHARSET_MOTHER): New macro.
1211 (CHARSET_CONVERSION): New macro.
1212 (CONVERSION_IDENTICAL): New macro.
1213 (CONVERSION_94x60): New macro.
1214 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
1215 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
1216 (XCHARSET_MOTHER): New macro.
1217 (XCHARSET_CONVERSION): New macro.
1218 (MIN_CHAR_MOJIKYO): Deleted.
1219 (MAX_CHAR_MOJIKYO): Deleted.
1220 (DECODE_MOJIKYO_2022): Deleted.
1221 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
1222 (charset_code_point): Changed to non-inline function.
1223 (encode_char_1): Use `charset_code_point'.
1224 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
1226 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1228 * lread.c (read_compiled_function): Fix prototype.
1229 (read_vector): Likewise.
1231 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1233 * lrecord.h (struct lrecord_header): Delete `older'.
1234 (set_lheader_implementation): Delete code for `older'.
1235 (set_lheader_older_implementation): Deleted.
1236 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
1237 (OLDER_RECORD_P): Deleted.
1238 (OLDER_RECORD_HEADER_P): Deleted.
1239 (alloc_older_lcrecord): Deleted.
1240 (alloc_older_lcrecord_type): Deleted.
1242 * alloc.c (all_older_lcrecords): Deleted.
1243 (alloc_older_lcrecord): Deleted.
1244 (disksave_object_finalization_1): Delete code for older objects.
1245 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
1246 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
1248 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1250 * mule-charset.c (decoding_table_put_char): Use `make_vector'
1251 instead of `make_older_vector'.
1252 (put_char_ccs_code_point): Likewise.
1253 (mark_charset): Mark `cs->decoding_table'.
1254 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
1256 * lisp.h (make_older_vector): Deleted.
1257 (make_vector_newer): Deleted.
1259 * config.h.in (HAVE_GGC): Deleted.
1261 * alloc.c (make_older_vector): Deleted.
1262 (make_vector_newer_1): Deleted.
1263 (make_vector_newer): Deleted.
1265 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1267 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
1268 (Qideograph_daikanwa_2): New variable.
1269 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
1270 (complex_vars_of_mule_charset): Add new coded-charset
1271 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
1272 `LEADING_BYTE_DAIKANWA'.
1274 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
1275 (LEADING_BYTE_DAIKANWA_1): New macro.
1276 (LEADING_BYTE_DAIKANWA_2): New macro.
1277 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
1279 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1281 * mule-charset.c (complex_vars_of_mule_charset): Change
1282 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
1283 the second revised version.
1285 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1287 * mule-charset.c (Vcharset_ucs_smp): New variable.
1288 (Vcharset_ucs_sip): New variable.
1289 (Qucs_smp): New variable.
1290 (Qucs_sip): New variable.
1291 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
1292 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
1293 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
1294 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
1295 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
1296 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
1298 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
1299 (LEADING_BYTE_UCS_SIP): New macro.
1300 (MIN_CHAR_SMP): New macro.
1301 (MAX_CHAR_SMP): New macro.
1302 (MIN_CHAR_SIP): New macro.
1303 (MAX_CHAR_SIP): New macro.
1305 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
1307 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
1310 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1312 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
1313 value; don't store value into `encoding_table' of `Lisp_Charset'.
1314 (mark_charset): `encoding_table' was deleted.
1315 (charset_description): Likewise.
1316 (make_charset): Likewise.
1317 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
1318 `put_char_ccs_code_point'.
1320 * chartab.h (Fput_char_attribute): New EXFUN.
1322 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
1323 is unified with normal symbol space.
1324 (Fget_char_attribute): Likewise.
1325 (Fput_char_attribute): Likewise; behavior of
1326 `put_char_ccs_code_point' is changed.
1328 * char-ucs.h: Include "elhash.h".
1329 (Vchar_attribute_hash_table): New external variable.
1330 (struct Lisp_Charset): Delete `encoding_table'.
1331 (CHARSET_ENCODING_TABLE): New implementation; refer
1332 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
1335 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1337 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
1340 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1342 * text-coding.c (char_encode_big5): Prefer charset-g1 than
1345 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1347 * chartab.c (uint8_byte_table_description): New constant.
1348 (uint8-byte-table): Use `uint8_byte_table_description'.
1349 (uint16_byte_table_description): New constant.
1350 (uint16-byte-table): Use `uint16_byte_table_description'.
1352 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1354 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
1355 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
1357 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1359 * mule-charset.c (Vcharset_ucs_ks): New variable.
1360 (Qucs_ks): New variable.
1361 (syms_of_mule_charset): Add new symbol `ucs-ks'.
1362 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
1364 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
1366 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1368 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
1369 (Fdecode_char): Likewise.
1371 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
1373 (Fdefine_char): Modify for Fdecode_char.
1374 (Ffind_char): Likewise.
1376 * mule-charset.c (Fdecode_char): Add new optional argument
1378 (Fdecode_builtin_char): Modify for `Fdecode_char'.
1380 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1382 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
1383 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
1384 (allocate_coding_system): Initialize initial-charsets of
1385 CODESYS_BIG5 in XEmacs UTF-2000.
1386 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
1387 CODESYS_BIG5 in XEmacs UTF-2000.
1388 (decode_coding_big5): Use initial-charset-g0 and -g1 of
1389 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
1391 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
1393 (Qideograph_hanziku_{1 .. 12}): Likewise.
1394 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
1396 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
1397 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
1398 `ideograph-hanziku-{1 .. 12}'.
1400 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
1401 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
1402 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
1403 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
1404 (DECODE_DEFINED_CHAR): New inline function.
1405 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
1407 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1409 * mule-charset.c (Vcharset_china3_jef): Renamed from
1410 `Vcharset_japanese_jef_china3'.
1411 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
1412 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
1413 `{MIN|MAX}_CHAR_JEF_CHINA3'..
1414 (syms_of_mule_charset): Rename `china3-jef' from
1415 `japanese-jef-china3'.
1416 (complex_vars_of_mule_charset): Likewise; rename
1417 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
1419 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
1420 `LEADING_BYTE_JEF_CHINA3'.
1421 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
1422 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
1424 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1426 * mule-charset.c (encode_builtin_char_1): Comment out special code
1427 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
1429 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
1430 (MAX_CHAR_MOJIKYO_0): Comment out.
1431 (MIN_CHAR_CBETA): Changed to 0x00E20000.
1432 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
1433 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
1434 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
1436 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1438 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
1439 (Qideograph_cbeta): New variable.
1440 (encode_builtin_char_1): Comment out special code for
1441 coded-charset `mojikyo' and `japanese-jef-china3'.
1442 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
1443 (complex_vars_of_mule_charset): Add new coded-charset
1446 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
1447 (MIN_CHAR_CBETA): New macro.
1448 (MAX_CHAR_CBETA): New macro.
1450 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1452 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
1453 (LEADING_BYTE_JEF_CHINA3): New macro.
1454 (MIN_CHAR_JEF_CHINA3): New macro.
1455 (MAX_CHAR_JEF_CHINA3): Likewise.
1456 (DECODE_CHAR): Fixed.
1458 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1460 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
1461 (Qjapanese_jef_china3): New variable.
1462 (encode_builtin_char_1): Support `japanese-jef-china3'.
1463 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
1464 (complex_vars_of_mule_charset): Add new coded-charset
1465 `japanese-jef-china3'.
1467 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1469 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
1470 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
1471 94^4, 96^3, 96^4, 128^n and 256^n set.
1472 (put_char_table): Use `XCHARSET_CELL_RANGE'.
1473 (map_char_table): Likewise.
1475 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1477 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
1480 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1482 * chartab.h (get_char_id_table): New inline function.
1484 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
1487 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1489 * chartab.h (decode_char_table_range): New prototype in XEmacs
1491 (put_char_id_table): New inline function in XEmacs UTF-2000.
1493 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
1495 (decode_char_table_range): Delete static declaration in XEmacs
1498 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1500 * chartab.c (put_char_id_table): Use `put_char_table'.
1502 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1504 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
1505 (map_over_uint16_byte_table): Likewise.
1506 (map_over_byte_table): Likewise.
1507 (map_char_table): Modify for `map_over_uint8_byte_table',
1508 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
1511 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1513 * chartab.c (struct map_char_table_for_charset_arg): New
1515 (map_char_table_for_charset_fun): New function.
1516 (map_char_table): Use `map_char_table' for encoding_table of
1519 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1521 * chartab.c (map_char_table): Check a character is found in
1522 range->charset instead of non default value is defined in
1523 char-table when range is CHARTAB_RANGE_ROW.
1525 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1527 * chartab.c (map_char_id_table): Deleted.
1528 (Fmap_char_attribute): Use `map_char_table' instead of
1529 `map_char_id_table'.
1531 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1533 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
1535 (update_syntax_table): Deleted in XEmacs UTF-2000.
1537 * syntax.c (find_defun_start): Use `syntax_table' instead of
1538 `mirror_syntax_table' in XEmacs UTF-2000.
1539 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
1541 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
1543 (Fmatching_paren): Likewise.
1544 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
1546 (find_start_of_comment): Likewise.
1547 (find_end_of_comment): Likewise.
1548 (Fforward_comment): Likewise.
1549 (scan_lists): Likewise.
1550 (char_quoted): Likewise.
1551 (Fbackward_prefix_chars): Likewise.
1552 (scan_sexps_forward): Likewise.
1553 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
1554 (update_syntax_table): Likewise.
1556 * search.c (skip_chars): Use `syntax_table' instead of
1557 `mirror_syntax_table' in XEmacs UTF-2000.
1558 (wordify): Likewise.
1559 (Freplace_match): Likewise.
1561 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
1562 `mirror_syntax_table' in XEmacs UTF-2000.
1563 (WORDCHAR_P_UNSAFE): Likewise.
1564 (re_match_2_internal): Likewise.
1566 * font-lock.c (find_context): Use `buf->syntax_table' instead of
1567 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1569 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
1570 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
1572 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
1575 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
1577 (print_char_table): Print `default_value' in XEmacs UTF-2000.
1578 (char_table_description): Delete `mirror_table' in XEmacs
1580 (fill_char_table): Don't call `update_syntax_table' in XEmacs
1582 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
1583 (Fcopy_char_table): Likewise.
1584 (put_char_table): Don't call `update_syntax_table' in XEmacs
1587 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
1588 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1589 (casify_region_internal): Likewise.
1591 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
1593 * buffer.c (common_init_complex_vars_of_buffer): Don't use
1594 `mirror_syntax_table' in XEmacs UTF-2000.
1596 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
1597 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1598 (Fexpand_abbrev): Likewise.
1600 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1602 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
1604 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1606 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
1607 (map_over_uint16_byte_table): Likewise.
1608 (map_over_byte_table): Likewise.
1609 (get_char_id_table): Refer `cit->default_value'.
1610 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1611 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
1612 of character-id ranges.
1613 (mark_char_table): Mark `ct->default_value'.
1614 (char_table_description): Add `default_value'.
1615 (fill_char_table): Use `default_value'.
1616 (decode_char_table_range): Decode `nil' as
1617 `CHARTAB_RANGE_DEFAULT'.
1618 (get_char_id_table): Refer `cit->default_value'.
1619 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1620 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
1621 temporary hack; check value of char-table is bound or not.
1622 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
1624 * chartab.h (struct Lisp_Char_Table): Add new member
1625 `default_value' in XEmacs UTF-2000.
1626 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
1627 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
1630 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1632 * chartab.h (Lisp_Char_ID_Table): Deleted.
1634 * chartab.c (char_table_description): Fix typo.
1635 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
1636 `Lisp_Char_ID_Table'.
1638 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1640 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
1643 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
1646 * chartab.h (XCHAR_ID_TABLE): Deleted.
1647 (XSETCHAR_ID_TABLE): Deleted.
1648 (CHAR_ID_TABLE_P): Deleted.
1650 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
1652 (Fget_composite_char): Likewise.
1653 (put_char_table): Likewise.
1654 (add_char_attribute_alist_mapper): Fixed.
1655 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
1657 (Fget_char_attribute): Likewise.
1658 (Fget_char_attribute): Likewise.
1659 (Fmap_char_attribute): Likewise.
1661 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
1663 (encode_char_1): Likewise.
1665 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1667 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
1670 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
1671 instead of `XCHAR_ID_TABLE'.
1672 (remove_char_ccs): Likewise.
1674 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
1676 (Fget_composite_char): Likewise.
1677 (Fchar_variants): Likewise.
1678 (put_char_table): Likewise.
1679 (add_char_attribute_alist_mapper): Likewise.
1680 (Fchar_attribute_alist): Likewise.
1681 (Fget_char_attribute): Likewise.
1682 (Fput_char_attribute): Likewise.
1683 (Fmap_char_attribute): Likewise.
1684 (Fmap_char_attribute): Likewise.
1686 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
1688 (encode_char_1): Likewise.
1690 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1692 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
1693 `Lisp_Char_ID_Table'.
1694 (mark_char_id_table): Deleted.
1695 (print_char_id_table): Likewise.
1696 (char_id_table_equal): Likewise.
1697 (char_id_table_hash): Likewise.
1698 (char_id_table_description): Likewise.
1699 (char_id_table): Likewise.
1700 (make_char_id_table): Use `Fmake_char_table' and
1702 (get_char_id_table): Use `Lisp_Char_Table' instead of
1703 `Lisp_Char_ID_Table'.
1704 (put_char_id_table): Likewise.
1705 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
1707 (Fremove_char_attribute): Likewise.
1708 (syms_of_chartab): Don't define type `char-id-table'.
1710 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
1711 (char_id_table): Likewise.
1712 (GC_CHAR_ID_TABLE_P): Likewise.
1713 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
1714 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
1715 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
1716 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
1717 (get_char_id_table): Use `Lisp_Char_Table' instead of
1718 `Lisp_Char_ID_Table'.
1719 (put_char_id_table_0): Likewise.
1720 (put_char_id_table): Likewise.
1722 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1724 * chartab.h: Lisp_Byte_Table related codes are moved from
1727 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
1729 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1731 * chartab.h: Don't include "chartab.h".
1732 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
1733 (Lisp_Char_ID_Table): Likewise.
1734 (char_id_table): Likewise.
1735 (XCHAR_ID_TABLE): Likewise.
1736 (XSETCHAR_ID_TABLE): Likewise.
1737 (CHAR_ID_TABLE_P): Likewise.
1738 (GC_CHAR_ID_TABLE_P): Likewise.
1739 (get_char_id_table): Likewise.
1741 * char-ucs.h: Include "chartab.h".
1742 (struct Lisp_Char_ID_Table): Moved to chartab.h.
1743 (Lisp_Char_ID_Table): Likewise.
1744 (char_id_table): Likewise.
1745 (XCHAR_ID_TABLE): Likewise.
1746 (XSETCHAR_ID_TABLE): Likewise.
1747 (CHAR_ID_TABLE_P): Likewise.
1748 (GC_CHAR_ID_TABLE_P): Likewise.
1749 (get_char_id_table): Likewise.
1751 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1753 * chartab.c (copy_uint8_byte_table): New function.
1754 (copy_uint16_byte_table): New function.
1755 (copy_byte_table): New function.
1756 (map_over_uint8_byte_table): Modify to avoid huge numbers of
1758 (map_over_uint16_byte_table): Likewise.
1759 (map_over_byte_table): Likewise.
1760 (get_byte_table): Move prototype to chartab.h.
1761 (put_byte_table): Likewise.
1762 (put_char_id_table_0): Moved to chartab.h.
1763 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
1764 (char_table_entry_equal): Likewise.
1765 (char_table_entry_hash): Likewise.
1766 (char_table_entry_description): Likewise.
1767 (char_table_entry): Likewise.
1768 (make_char_table_entry): Likewise.
1769 (copy_char_table_entry): Likewise.
1770 (get_non_ascii_char_table_value): Likewise.
1771 (map_over_charset_ascii): Likewise.
1772 (map_over_charset_control_1): Likewise.
1773 (map_over_charset_row): Likewise.
1774 (map_over_other_charset): Likewise.
1775 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
1776 (print_char_table): Likewise.
1777 (char_table_equal): Likewise.
1778 (char_table_hash): Likewise.
1779 (char_table_description): Likewise.
1780 (fill_char_table): Likewise.
1781 (Fcopy_char_table): Likewise.
1782 (get_char_table): Likewise.
1783 (Fget_range_char_table): Likewise.
1784 (put_char_table): Likewise.
1785 (map_char_table): Likewise.
1786 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
1789 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1791 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
1792 `Vauto_fill_chars' in XEmacs UTF-2000.
1794 * chartab.h (get_byte_table): New prototype [moved from
1796 (put_byte_table): Likewise [moved from chartab.c].
1797 (put_char_id_table_0): New inline function [moved from chartab.c].
1798 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
1799 (Lisp_Char_Table_Entry): Likewise.
1800 (char_table_entry): Likewise.
1801 (XCHAR_TABLE_ENTRY): Likewise.
1802 (XSETCHAR_TABLE_ENTRY): Likewise.
1803 (CHAR_TABLE_ENTRYP): Likewise.
1804 (CHECK_CHAR_TABLE_ENTRY): Likewise.
1805 (NUM_ASCII_CHARS): Likewise.
1806 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
1807 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
1809 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1811 * chartab.c (get_char_id_table): Change interface.
1812 (put_char_id_table_0): New function.
1813 (put_char_id_table): Change interface; new implementation.
1814 (Fget_composite_char): Modify for interface change of
1815 `get_char_id_table'.
1816 (Fchar_variants): Likewise.
1817 (add_char_attribute_alist_mapper): Likewise.
1818 (Fchar_attribute_alist): Likewise.
1819 (Fget_char_attribute): Likewise.
1820 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
1821 as same as character as the first argument like `put-char-table';
1822 modify for interface change of `put_char_id_table'.
1823 (Fremove_char_attribute): Modify for interface change of
1824 `put_char_id_table'.
1826 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1828 * text-coding.c: Sync up with XEmacs 21.2.41.
1829 (COMPOSE_ADD_CHAR): Modify for interface change of
1830 `get_char_id_table'.
1832 * mule-charset.c (put_char_ccs_code_point): Modify for interface
1833 change of `put_char_id_table'.
1834 (remove_char_ccs): Likewise.
1836 * chartab.h (put_char_id_table): Change interface.
1838 * char-ucs.h (get_char_id_table): Change interface.
1839 (charset_code_point): Modify for interface change of
1840 `get_char_id_table'.
1841 (encode_char_1): Likewise.
1843 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1845 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
1847 (map_over_uint16_byte_table): Likewise.
1848 (map_over_byte_table): Likewise.
1849 (map_char_id_table): Add new argument `range' like
1851 (Fmap_char_attribute): Add new argument `range' like
1854 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1856 * chartab.c (map_over_uint8_byte_table): Change interface of
1857 mapping function to use struct chartab_range instead of Emchar.
1858 (map_over_uint16_byte_table): Likewise.
1859 (map_over_byte_table): Likewise.
1860 (map_char_id_table): Likewise.
1861 (struct slow_map_char_id_table_arg): Deleted.
1862 (slow_map_char_id_table_fun): Deleted.
1863 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1864 function `slow_map_char_table_fun' instead of struct
1865 `slow_map_char_id_table_arg' and function
1866 `slow_map_char_id_table_fun'.
1868 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1870 * mule-charset.c: Move char-it-table related codes to chartab.c.
1871 (Vutf_2000_version): Moved to chartab.c.
1872 (Fdefine_char): Likewise.
1873 (Ffind_char): Likewise.
1874 (syms_of_mule_charset): Move types `uint8-byte-table',
1875 `uint16-byte-table', `byte-table' and `char-id-table' to
1876 chartab.c; move functions `char_attribute_list,
1877 `find_char_attribute_table, `char_attribute_alist,
1878 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1879 `map_char_attribute, `define_char, `find_char, `char_variants and
1880 `get_composite_char to chartab.c; move symbols `=>ucs',
1881 `->decomposition', `compat', `isolated', `initial', `medial',
1882 `final', `vertical', `noBreak', `fraction', `super', `sub',
1883 `circle', `square', `wide', `narrow', `small' and `font' to
1885 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1886 setting codes for `Vcharacter_composition_table' and
1887 `Vcharacter_variant_table' to chartab.c.
1888 (complex_vars_of_mule_charset): Move setting code for
1889 `Vchar_attribute_hash_table' to chartab.c.
1891 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1892 (make_char_id_table): New prototype.
1893 (put_char_id_table): Likewise.
1894 (Fget_char_attribute): Likewise.
1896 * chartab.c: Move char-id-table related code from mule-charset.c.
1897 (Vutf_2000_version): Moved from mule-charset.c.
1899 * char-ucs.h (Qucs): New external variable.
1900 (put_char_ccs_code_point): New prototype.
1901 (remove_char_ccs): Likewise.
1903 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1905 * mule-charset.c (Vcharset_ucs_jis): New variable.
1906 (Qucs_jis): Likewise.
1907 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1908 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1910 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1912 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1914 * mule-charset.c (map_over_uint8_byte_table): New function.
1915 (map_over_uint16_byte_table): Likewise.
1916 (map_over_byte_table): Likewise.
1917 (map_char_id_table): Likewise.
1918 (slow_map_char_id_table_fun): Likewise.
1919 (Fmap_char_attribute): Likewise.
1920 (syms_of_mule_charset): Add new function `map-char-attribute'.
1922 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1924 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1925 (syms_of_mule_charset): Add new function `find-char'.
1927 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1929 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1931 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1932 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1934 (complex_vars_of_mule_charset): Add new coded-charset
1935 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1936 `ideograph-gt-pj-*'.
1938 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1940 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1942 * mule-charset.c (encode_builtin_char_1): Purge codes about
1943 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1944 {MIN|MAX}_CHAR_HEBREW.
1945 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1946 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1948 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1949 (MAX_CHAR_GREEK): Purged.
1950 (MIN_CHAR_CYRILLIC): Purged.
1951 (MAX_CHAR_CYRILLIC): Purged.
1952 (MIN_CHAR_HEBREW): Commented out.
1953 (MAX_CHAR_HEBREW): Likewise.
1955 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1957 * mule-charset.c (Qto_ucs): New variable.
1958 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1959 (Fdefine_char): Likewise.
1960 (syms_of_mule_charset): Add new symbol `=>ucs'.
1962 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1964 * mule-charset.c (Fdecode_char): Fixed.
1966 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1968 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1969 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1972 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1974 * mule-charset.c (Vcharset_ucs_big5): New variable.
1975 (Qucs_big5): Likewise.
1976 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1977 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1979 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1981 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1983 * mule-charset.c (decode_builtin_char): Check Big5 code range
1984 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1986 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1988 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1989 (Qchinese_gb12345): Likewise.
1990 (Fdecode_builtin_char): Fixed.
1991 (syms_of_mule_charset): Add `chinese-gb12345'.
1992 (complex_vars_of_mule_charset): Add coded-charset
1995 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1996 (LEADING_BYTE_CHINESE_GB12345): New macro.
1998 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2000 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
2001 and `latin-viscii-upper' for `latin-viscii'.
2003 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2005 * mule-charset.c (Fdecode_builtin_char): Comment out
2006 regularization code for ISO-IR GR representation.
2008 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2010 * mule-charset.c (decode_builtin_char): New function; renamed from
2011 `make_builtin_char'; return -1 instead of signal.
2012 (Fdecode_builtin_char): Use `decode_builtin_char'.
2014 * char-ucs.h (decode_builtin_char): New prototype; renamed from
2015 `make_builtin_char'.
2016 (DECODE_CHAR): Use `decode_builtin_char' instead of
2017 `make_builtin_char'; use mapping table of `chinese-big5' for
2018 `chinese-big5-{1,2}'.
2020 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2022 * text-coding.c (char_encode_big5): New function.
2023 (char_finish_big5): Likewise.
2024 (reset_encoding_stream): Use `char_encode_big5' and
2025 `char_finish_big5' for CODESYS_BIG5.
2026 (mule_encode): Don't use `encode_coding_big5'.
2027 (encode_coding_big5): Deleted.
2029 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2031 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2032 0x81- in XEmacs UTF-2000.
2033 (detect_coding_big5): Likewise.
2035 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2037 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2038 generate character-id if the CCS property does not have
2039 corresponding predefined character.
2040 (make_builtin_char): Return -1 if corresponding predefined
2041 character is not found.
2042 (Fdecode_char): Return nil if corresponding character is not
2044 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2045 don't map to builtin ucs space.
2047 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2049 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2050 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2052 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2054 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2055 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2056 (Qideograph_gt): Likewise.
2057 (Qideograph_gt_pj_{1..11}): Likewise.
2058 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2059 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2060 `ideograph-gt-pj-11'.
2061 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2062 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2063 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
2065 * char-ucs.h (LEADING_BYTE_GT): New macro.
2066 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
2067 (MIN_CHAR_GT): Likewise.
2068 (MAX_CHAR_GT): Likewise.
2070 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2072 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
2073 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
2075 * doprnt.c (unsigned_int_converters): Add `c'.
2076 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2078 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2079 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2081 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2082 (MAX_CHAR_MOJIKYO_0): New macro.
2083 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2085 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2087 * mule-charset.c (Fdefine_char): Delete cemented out code.
2088 (encode_builtin_char_1): Modify for new allocation of builtin
2091 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2093 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2095 * mule-charset.c (Vcharset_ucs_cns): New variable.
2096 (Qucs_cns): New variable.
2097 (syms_of_mule_charset): Add new symbol `ucs-cns'.
2098 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
2100 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2102 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
2104 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2106 * search.c (search_buffer): Make `charset_base_code' as
2107 character-id >> 6 to eliminate the corresponding last byte in
2108 UTF-8 representation [I'm not sure it is right thing].
2109 (boyer_moore): Likewise.
2111 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2113 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
2114 representation in MULE.
2116 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2118 * text-coding.c (Fmake_coding_system): Use
2119 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
2120 `EXTERNAL_PROPERTY_LIST_LOOP'.
2122 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2124 * text-coding.c (decode_output_utf8_partial_char): New function.
2125 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
2127 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2129 * text-coding.c (decode_coding_utf8): Output original byte
2130 sequence if it is broken; change order of conditions.
2132 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
2135 * mb-multibyte.h (BYTE_ASCII_P):
2136 Use bit ops for char-signedness safety.
2137 (BYTE_C0_P): Use bit ops for char-signedness safety.
2138 (BYTE_C1_P): Use bit ops for char-signedness safety.
2140 * character.h: (XCHAR_OR_CHAR_INT):
2141 Always use inline function.
2142 Remove redundant type checking assert() - XINT will abort quite
2145 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2147 * text-coding.c: (Fencode_shift_jis_char):
2148 (Fencode_big5_char):
2149 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2150 Replace 0 with '\0' when working with bytes.
2151 Replace initial "(" with "\(" in docstrings.
2153 (Fmake_coding_system):
2154 When type is ccl and value is vector, register it with a proper
2155 symbol. And checks whether the given ccl program is valid.
2156 (mule_decode): When calling ccl_driver, if src indicates
2157 NULL pointer, set an empty string instead.
2158 (mule_encode): Likewise.
2161 (detect_coding_sjis):
2162 (decode_coding_sjis):
2163 (detect_coding_big5):
2164 (decode_coding_big5):
2165 (detect_coding_ucs4):
2166 (decode_coding_ucs4):
2167 (detect_coding_utf8):
2168 (decode_coding_utf8):
2169 (detect_coding_iso2022):
2170 (decode_coding_iso2022):
2171 (decode_coding_no_conversion):
2173 Make all detecting and decoding functions take an Extbyte * arg.
2174 (text_encode_generic):
2175 (encode_coding_big5):
2176 (encode_coding_no_conversion):
2178 Make all encoding functions take a Bufbyte * arg.
2179 Use size_t instead of unsigned int for memory sizes.
2180 Only cast to unsigned char whenever dereferencing Extbyte *.
2182 (struct lrecord_description fcd_description_1): Use countof.
2183 (complex_vars_of_file_coding):
2184 Use countof instead of sizeof.
2185 Use CHECK_NATNUM instead of CHECK_INT.
2187 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2189 * mule-charset.c (Fget_char_attribute): Add new optional argument
2191 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
2192 (remove_char_ccs): Likewise.
2194 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2196 * text-coding.c (char_encode_shift_jis): New implementation in
2198 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
2201 * mule-charset.c (Vcharset_chinese_big5): New variable in
2203 (Qchinese_big5): New variable in UTF-2000.
2204 (BIG5_SAME_ROW): New macro in UTF-2000.
2205 (make_builtin_char): Use builtin characters of
2206 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
2207 characters of `Vcharset_chinese_big5'.
2208 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
2209 (complex_vars_of_mule_charset): Add new coded-charset
2210 `chinese-big5' in UTF-2000.
2212 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
2213 (Vcharset_chinese_big5): New external variable declaration.
2214 (Vcharset_japanese_jisx0208_1990): Likewise.
2216 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2218 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
2220 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
2222 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2224 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
2225 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
2226 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
2229 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2231 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
2233 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2235 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2238 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2240 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
2241 for `CHARSET_BY_ATTRIBUTES'.
2242 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2243 `CHARSET_BY_ATTRIBUTES'.
2245 * text-coding.c (struct decoding_stream): Rename member `CH' to
2247 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
2248 (decode_coding_sjis): Likewise.
2249 (decode_coding_big5): Likewise.
2250 (decode_coding_ucs4): Likewise.
2251 (decode_coding_utf8): Likewise.
2252 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2253 `CHARSET_BY_ATTRIBUTES'.
2254 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
2255 `str->counter'; decode 3, 4 bytes sets.
2256 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
2258 (decode_coding_no_conversion): Use `str->cpos' instead of
2261 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
2262 (Qmojikyo_2022_1): New variable.
2263 (make_charset): Don't use `CHARSET_TYPE_*'.
2264 (range_charset_code_point): Support coded-charset
2266 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
2267 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
2268 `CHARSET_BY_ATTRIBUTES'.
2269 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
2270 `CHARSET_BY_ATTRIBUTES'.
2271 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
2272 (complex_vars_of_mule_charset): Add new coded-charset
2275 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
2276 interface; changed to inline function.
2278 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
2279 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
2280 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
2281 (CHARSET_TYPE_94): Deleted.
2282 (CHARSET_TYPE_94X94): Deleted.
2283 (CHARSET_TYPE_96): Deleted.
2284 (CHARSET_TYPE_96X96): Deleted.
2285 (CHARSET_TYPE_128): Deleted.
2286 (CHARSET_TYPE_128X128): Deleted.
2287 (CHARSET_TYPE_256): Deleted.
2288 (CHARSET_TYPE_256X256): Deleted.
2289 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
2291 (DECODE_MOJIKYO_2022): New inline function.
2292 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
2293 `Vcharset_mojikyo_2022_1'.
2295 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2297 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
2299 (put_byte_table): Likewise.
2300 (char_id_table_equal): Use `get_byte_table' [new implementation].
2302 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2304 * mule-charset.c: Include <limits.h> in UTF-2000.
2305 (BT_UINT8_MIN): New macro in UTF-2000.
2306 (BT_UINT8_MAX): New macro in UTF-2000.
2307 (BT_UINT8_t): New macro in UTF-2000.
2308 (BT_UINT8_nil): New macro in UTF-2000.
2309 (BT_UINT8_unbound): New macro in UTF-2000.
2310 (INT_UINT8_P): New inline function in UTF-2000.
2311 (UINT8_VALUE_P): New inline function in UTF-2000.
2312 (UINT8_ENCODE): New inline function in UTF-2000.
2313 (UINT8_DECODE): New inline function in UTF-2000.
2314 (mark_uint8_byte_table): New function in UTF-2000.
2315 (print_uint8_byte_table): New function in UTF-2000.
2316 (uint8_byte_table_equal): New function in UTF-2000.
2317 (uint8_byte_table_hash): New function in UTF-2000.
2318 (make_uint8_byte_table): New function in UTF-2000.
2319 (uint8_byte_table_same_value_p): New function in UTF-2000.
2320 (BT_UINT16_MIN): New macro in UTF-2000.
2321 (BT_UINT16_MAX): New macro in UTF-2000.
2322 (BT_UINT16_t): New macro in UTF-2000.
2323 (BT_UINT16_nil): New macro in UTF-2000.
2324 (BT_UINT16_unbound): New macro in UTF-2000.
2325 (INT_UINT16_P): New inline function in UTF-2000.
2326 (UINT16_VALUE_P): New inline function in UTF-2000.
2327 (UINT16_ENCODE): New inline function in UTF-2000.
2328 (UINT16_DECODE): New inline function in UTF-2000.
2329 (UINT8_TO_UINT16): New inline function in UTF-2000.
2330 (mark_uint16_byte_table): New function in UTF-2000.
2331 (print_uint16_byte_table): New function in UTF-2000.
2332 (uint16_byte_table_equal): New function in UTF-2000.
2333 (uint16_byte_table_hash): New function in UTF-2000.
2334 (make_uint16_byte_table): New function in UTF-2000.
2335 (uint16_byte_table_same_value_p): New function in UTF-2000.
2336 (print_byte_table): New function in UTF-2000.
2337 (byte-table): Use `print_byte_table' as printer.
2338 (make_byte_table): Delete second argument `older'.
2339 (byte_table_same_value_p): New function in UTF-2000.
2340 (copy_byte_table): Deleted.
2341 (get_byte_table): New function in UTF-2000.
2342 (put_byte_table): New function in UTF-2000.
2343 (print_char_id_table): New function in UTF-2000.
2344 (char-id-table): Use `print_char_id_table' as printer.
2345 (make_char_id_table): Delete second argument `older'.
2346 (get_char_id_table): Use `get_byte_table [new implementation].
2347 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
2349 (Ffind_char_attribute_table): New function in UTF-2000.
2350 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2351 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
2352 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
2353 (syms_of_mule_charset): Add new function
2354 `find-char-attribute-table' in UTF-2000.
2356 * lrecord.h (enum lrecord_type): Add
2357 `lrecord_type_uint16_byte_table' and
2358 `lrecord_type_uint8_byte_table'.
2360 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
2361 (Lisp_Uint8_Byte_Table): New type.
2362 (XUINT8_BYTE_TABLE): New macro.
2363 (XSETUINT8_BYTE_TABLE): New macro.
2364 (UINT8_BYTE_TABLE_P): New macro.
2365 (GC_UINT8_BYTE_TABLE_P): New macro.
2366 (struct Lisp_Uint16_Byte_Table): New structure.
2367 (Lisp_Uint16_Byte_Table): New type.
2368 (XUINT16_BYTE_TABLE): New macro.
2369 (XSETUINT16_BYTE_TABLE): New macro.
2370 (UINT16_BYTE_TABLE_P): New macro.
2371 (GC_UINT16_BYTE_TABLE_P): New macro.
2373 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2375 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
2376 (Vcharacter_ideographic_strokes_table): Deleted.
2377 (Vcharacter_total_strokes_table): Deleted.
2378 (Vcharacter_morohashi_daikanwa_table): Deleted.
2379 (Vcharacter_decomposition_table): Deleted.
2380 (Qname): Deleted because it is duplicated.
2381 (Qideographic_radical): Deleted.
2382 (Qideographic_strokes): Deleted.
2383 (Qtotal_strokes): Deleted.
2384 (Qmorohashi_daikanwa): Deleted.
2385 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
2386 `ideographic-radical', `ideographic-strokes', `total-strokes',
2387 `morohashi-daikanwa' and `->decomposition'.
2388 (Fget_char_attribute): Likewise.
2389 (Fput_char_attribute): Likewise; use `make-vector' instead of
2390 `make_older_vector' for `->decomposition' value.
2391 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
2392 `ideograph-daikanwa'.
2393 (syms_of_mule_charset): Delete builtin symbols `name',
2394 `ideographic-radical', `ideographic-strokes', `total-strokes' and
2395 `morohashi-daikanwa'.
2396 (vars_of_mule_charset): Don't setup
2397 `Vcharacter_ideographic_radical_table',
2398 `Vcharacter_ideographic_strokes_table',
2399 `Vcharacter_total_strokes_table',
2400 `Vcharacter_morohashi_daikanwa_table' and
2401 `Vcharacter_decomposition_table'.
2403 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2405 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
2406 `make_older_vector', `make_vector_newer_1' and
2407 `make_vector_newer'.
2409 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
2410 `make_older_vector' and `make_vector_newer'.
2412 * config.h.in (HAVE_GGC): New macro.
2414 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2416 * mule-charset.c (struct char_attribute_list_closure): New
2417 structure in UTF-2000.
2418 (add_char_attribute_to_list_mapper): New function in UTF-2000.
2419 (Fchar_attribute_list): Likewise.
2420 (Fset_charset_mapping_table): Use `make_vector_newer'.
2421 (Fdecode_builtin_char): New function in UTF-2000.
2422 (syms_of_mule_charset): Add new function `char-attribute-list' and
2423 `decode-builtin-char' in UTF-2000.
2425 * lisp.h (make_vector_newer): New prototype.
2427 * alloc.c (make_vector_newer_1): New function.
2428 (make_vector_newer): New function.
2430 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2432 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
2435 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2437 * mule-charset.c (Vchar_attribute_hash_table): New variable.
2438 (Vcharacter_attribute_table): Deleted.
2439 (Vcharacter_name_table): Deleted.
2440 (put_char_attribute): Deleted.
2441 (remove_char_attribute): Deleted.
2442 (struct char_attribute_alist_closure): New structure.
2443 (add_char_attribute_alist_mapper): New function.
2444 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
2445 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
2446 (Fget_char_attribute): Likewise.
2447 (Fput_char_attribute): Likewise.
2448 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
2449 of `remove_char_attribute'.
2450 (Fdefine_char): Return character.
2451 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
2452 and `Vcharacter_name_table'.
2453 (complex_vars_of_mule_charset): Likewise
2454 `Vchar_attribute_hash_table'.
2456 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2458 * character.h (CHARC_CHARSET): New macro.
2459 (CHARC_CHARSET_ID): New macro.
2460 (CHARC_CODE_POINT): New macro.
2461 (CHARC_COLUMNS): New macro.
2462 (CHARC_TO_CHAR): New inline function.
2463 (CHARC_EQ): New inline function.
2464 (CHARC_ASCII_EQ): New inline function.
2465 (CHARC_IS_SPACE): New inline function.
2466 (ASCII_TO_CHARC): New inline function.
2468 * char-ucs.h (encode_char_2): Deleted.
2469 (ENCODE_CHAR): Use `encode_char_1' again.
2470 (breakup_char_1): Likewise.
2471 (CHAR_TO_CHARC): New inline function.
2473 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
2475 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2477 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
2478 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
2479 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
2480 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
2481 (create_string_text_block): Use `CHARC_ASCII_EQ' and
2483 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
2485 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
2487 (x_output_display_block): Use `CHARC_CHARSET' and
2490 * redisplay-tty.c (tty_output_display_block): Use
2492 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
2494 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
2496 * insdel.c (find_charsets_in_charc_string): Use
2498 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
2499 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
2500 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
2501 (convert_charc_string_into_malloced_string): Likewise.
2503 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2505 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
2506 instead of <Emchar_dynarr *> for buf; use
2507 `convert_bufbyte_string_into_charc_dynarr' instead of
2508 `convert_bufbyte_string_into_emchar_dynarr'; use
2509 `find_charsets_in_charc_string' instead of
2510 `find_charsets_in_emchar_string'.
2513 - Include "character.h".
2514 (struct rune): New member `cglyph'; delete member `chr'.
2516 * redisplay.c (redisplay_text_width_charc_string): New function;
2517 delete `redisplay_text_width_emchar_string'.
2518 (rtw_charc_dynarr): New variable; renamed from
2519 `rtw_emchar_dynarr'.
2520 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
2521 `rtw_emchar_dynarr'; use
2522 `convert_bufbyte_string_into_charc_dynarr' instead of
2523 `convert_bufbyte_string_into_emchar_dynarr'; use
2524 `redisplay_text_width_charc_string' instead of
2525 `redisplay_text_width_emchar_string'.
2526 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
2527 instead of `rtw_emchar_dynarr'; use
2528 `convert_bufbyte_string_into_charc_dynarr' instead of
2529 `convert_bufbyte_string_into_emchar_dynarr'.
2530 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
2531 `redisplay_text_width_charc_string' instead of
2532 `redisplay_text_width_emchar_string'.
2533 (create_text_block): Modify for <struct rune> change.
2534 (generate_formatted_string_db): Likewise.
2535 (create_string_text_block): Likewise.
2536 (pixel_to_glyph_translation): Likewise.
2538 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
2539 instead of <const Emchar *>.
2540 (x_text_width): Likewise.
2541 (x_output_display_block): Use <Charc_dynarr *> instead
2542 <Emchar_dynarr *>; modify for <structure rune> change.
2543 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
2546 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
2547 <const Emchar *>; use `charc_string_displayed_columns' instead of
2548 `emchar_string_displayed_columns'.
2549 (tty_output_display_block): Use <Charc_dynarr *> instead of
2550 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
2551 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
2552 (tty_output_charc_dynarr_dynarr): New variable; renamed from
2553 `tty_output_emchar_dynarr_dynarr'.
2554 (tty_output_charc_dynarr): New function; delete
2555 `tty_output_charc_dynarr'.
2557 * redisplay-output.c (compare_runes): Modify for `struct rune'.
2558 (redisplay_output_layout): Use <Charc_dynarr *> instead of
2559 <Emchar_dynarr *> for buf; use
2560 `convert_bufbyte_string_into_charc_dynarr' instead of
2561 `convert_bufbyte_string_into_emchar_dynarr'.
2563 * frame.c (title_string_charc_dynarr): New variable; renamed from
2564 `title_string_emchar_dynarr'.
2565 (generate_title_string): Use `title_string_charc_dynarr' instead
2566 of `title_string_emchar_dynarr'; use
2567 `convert_charc_string_into_malloced_string' instead of
2568 `convert_emchar_string_into_malloced_string'.
2569 (init_frame): Use `title_string_charc_dynarr' instead of
2570 `title_string_emchar_dynarr'.
2573 - Include "character.h".
2574 (struct console_methods): Use <const Charc *> instead of <const
2575 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
2576 <Emchar_dynarr *> in output_string_method.
2578 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
2581 * console-stream.c (stream_text_width): Use <const Charc *>
2582 instead of <const Emchar *>.
2584 * character.h (Charc_dynarr): New type.
2586 * char-ucs.h (structure Charc): New structure; define new type
2589 * char-lb.h (DECODE_CHAR): New inline function.
2590 (encode_char_1): New inline function.
2591 (ENCODE_CHAR): New macro.
2592 (structure Charc): New structure; define new type `Charc'.
2594 * char-1byte.h (Vcharset_control_1): New macro.
2595 (Vcharset_latin_iso8859_1): New macro.
2596 (DECODE_CHAR): New inline function.
2597 (encode_char_1): New inline function.
2598 (ENCODE_CHAR): New macro.
2599 (structure Charc): New structure; define new type `Charc'.
2601 * insdel.c (find_charsets_in_charc_string): New function; delete
2602 `find_charsets_in_emchar_string'.
2603 (charc_string_displayed_columns): New function; delete
2604 `emchar_string_displayed_columns'.
2605 (convert_bufbyte_string_into_charc_dynarr): New function; delete
2606 `convert_bufbyte_string_into_emchar_dynarr'.
2607 (convert_charc_string_into_bufbyte_dynarr): New function; delete
2608 `convert_charc_string_into_bufbyte_dynarr'.
2609 (convert_charc_string_into_malloced_string): New function; delete
2610 `convert_charc_string_into_malloced_string'.
2612 * buffer.h (find_charsets_in_charc_string): New prototype; delete
2613 `find_charsets_in_emchar_string'.
2614 (charc_string_displayed_columns): New prototype; delete
2615 `emchar_string_displayed_columns'.
2616 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
2617 `convert_charc_string_into_bufbyte_dynarr'.
2618 (convert_charc_string_into_malloced_string): New prototype; delete
2619 `convert_charc_string_into_malloced_string'.
2621 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2623 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
2625 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2627 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
2629 * char-ucs.h: Use <short> for <Charset_ID>.
2631 * mule-charset.h, char-1byte.h: Use <unsigned char> for
2634 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2636 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2639 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2641 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
2643 (Qmorohashi_daikanwa): New variable.
2644 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
2645 for `morohashi-daikanwa' attribute.
2646 (Fget_char_attribute): Likewise.
2647 (Fput_char_attribute): Likewise.
2648 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
2649 has the same value of `ideograph-daikanwa'.
2650 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
2651 (vars_of_mule_charset): Setup
2652 `Vcharacter_morohashi_daikanwa_table'.
2654 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2656 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
2658 (add_charset_to_list_mapper): Add `key' instead of
2659 `XCHARSET_NAME (value)' to return aliases.
2661 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2663 * mule-charset.c (Vcharacter_ideographic_radical_table): New
2665 (Vcharacter_ideographic_strokes_table): New variable.
2666 (Qideographic_radical): New variable.
2667 (Qideographic_strokes): New variable.
2668 (Fchar_attribute_alist): Use
2669 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
2670 attribute; use `Vcharacter_ideographic_strokes_table' for
2671 `ideographic-strokes' attribute.
2672 (Fget_char_attribute): Likewise.
2673 (Fput_char_attribute): Likewise.
2674 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
2675 `ideographic-strokes'.
2676 (vars_of_mule_charset): Setup
2677 `Vcharacter_ideographic_radical_table' and
2678 `Vcharacter_ideographic_strokes_table'.
2680 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2682 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
2683 (Qtotal_strokes): New variable.
2684 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
2685 `total-strokes' attribute.
2686 (Fget_char_attribute): Likewise.
2687 (Fput_char_attribute): Likewise.
2688 (syms_of_mule_charset): Add new symbol `total-strokes'.
2689 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
2691 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2693 * mule-charset.c (Vcharacter_decomposition_table): New variable.
2694 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
2696 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
2697 `->decomposition' attribute.
2698 (Fput_char_attribute): Likewise.
2699 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
2701 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2703 * mule-charset.c (decoding_table_check_elements): New function.
2704 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
2706 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2708 * mule-charset.c (Fset_charset_mapping_table): Use
2709 `put_char_ccs_code_point'.
2711 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2713 * mule-charset.c (decoding_table_put_char): New inline function.
2714 (put_char_ccs_code_point): Use `decoding_table_put_char'.
2716 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2718 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
2719 (XCHARSET_BYTE_SIZE): New macro.
2720 (decoding_table_remove_char): New inline function.
2721 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
2722 `decoding_table_remove_char'.
2723 (remove_char_ccs): Use `decoding_table_remove_char'.
2724 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
2726 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2728 * mule-charset.c (Vcharacter_name_table): New variable.
2729 (Qname): New variable.
2730 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
2732 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
2733 `Vcharacter_name_table' for `name' attribute.
2734 (Fremove_char_attribute): Use function `remove_char_ccs'.
2735 (put_char_ccs_code_point): New function.
2736 (remove_char_ccs): New function.
2737 (syms_of_mule_charset): Add new symbol `name'.
2738 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
2740 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2742 * mule-charset.c (make_byte_table): Add new argument `older'.
2743 (make_char_id_table): Likewise.
2744 (copy_char_id_table): Comment out because it is not used.
2745 (put_char_id_table): Modify for `make_byte_table'.
2746 (Fput_char_attribute): Make encoding_table as older object;
2747 inherit older bit of `Vcharacter_composition_table'.
2748 (mark_charset): Don't mark `cs->encoding_table'.
2749 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
2750 normal object; make `Vcharacter_composition_table' as an older
2751 object; delete staticpro for `Vcharacter_composition_table'; make
2752 `Vcharacter_variant_table' as a normal object.
2754 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
2755 (mark_object): Don't check older object in UTF-2000.
2757 * lrecord.h (struct lrecord_header): Add new member `older' in
2759 (set_lheader_implementation): Setup `SLI_header->older' in
2761 (set_lheader_older_implementation): New macro in UTF-2000.
2762 (OLDER_RECORD_P): New macro in UTF-2000.
2763 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
2764 (alloc_older_lcrecord): New prototype in UTF-2000.
2765 (alloc_older_lcrecord_type): New macro in UTF-2000.
2767 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2769 * mule-charset.c (byte_table_description): Use
2770 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
2771 (char_id_table_description): Delete bogus `, 1'.
2772 (Fget_char_attribute): Refer encoding_table of each coded-charset
2773 to get value of coded-charset attribute of a character.
2774 (Fput_char_attribute): Use `make_older_vector' instead of
2775 `make_vector'; use encoding_table of each coded-charset to store
2776 value of coded-charset attribute of a character.
2777 (Fremove_char_attribute): Use encoding_table of each coded-charset
2778 to store value of coded-charset attribute of a character.
2779 (mark_charset): Mark `cs->encoding_table'; don't mark
2780 `cs->decoding_table'.
2781 (charset_description): Add description of new member
2783 (make_charset): Initialize `encoding_table'.
2785 * char-ucs.h (struct Lisp_Charset): Add new member
2787 (CHARSET_ENCODING_TABLE): New macro.
2788 (XCHARSET_ENCODING_TABLE): New macro.
2789 (charset_code_point): New implementation.
2790 (encode_char_1): Likewise.
2792 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
2793 (disksave_object_finalization_1): Call finalizers of
2794 `all_older_lcrecords' in UTF-2000.
2795 (make_older_vector): New function in UTF-2000.
2796 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
2799 * lisp.h (make_older_vector): New prototype in UTF-2000.
2801 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2803 * lrecord.h (enum lrecord_type): Rename
2804 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
2806 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
2807 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
2808 `get_char_code_table'.
2810 * mule-charset.c (mark_char_id_table): Renamed from
2811 `mark_char_code_table'.
2812 (char_id_table_equal): Renamed from `char_code_table_equal'.
2813 (char_id_table_hash): Renamed from `char_code_table_hash'.
2814 (make_char_id_table): Renamed from `make_char_code_table'.
2815 (copy_char_id_table): Renamed from `copy_char_code_table'.
2816 (get_char_id_table): Renamed from `get_char_code_table'.
2817 (put_char_id_table): Renamed from `put_char_code_table'.
2818 (to_char_id): Renamed from `to_char_code'.
2820 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
2821 `Lisp_Char_Code_Table'.
2822 (char_id_table): Renamed from `char_code_table'.
2823 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
2824 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
2825 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
2826 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
2827 (get_char_id_table): Renamed from `get_char_code_table'.
2829 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2831 * lrecord.h (enum lrecord_type): Rename
2832 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
2834 * mule-charset.c (mark_byte_table): Renamed from
2835 `mark_char_byte_table'.
2836 (byte_table_equal): Renamed from `char_byte_table_equal'.
2837 (byte_table_hash): Renamed from `byte_table_hash'.
2838 (make_byte_table): Renamed from `make_byte_table'.
2839 (copy_byte_table): Renamed from `copy_char_byte_table'.
2841 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
2842 `Lisp_Char_Byte_Table'.
2843 (byte_table): Renamed from `char_byte_table'.
2844 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
2845 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
2846 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
2847 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
2849 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2851 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
2852 (dfc_convert_to_internal_format): Likewise.
2854 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2855 * text-coding.c (Fcoding_system_alias_p): New function.
2856 * text-coding.c (Fcoding_system_aliasee): New function.
2857 * text-coding.c (append_suffix_to_symbol): New function.
2858 * text-coding.c (dangling_coding_system_alias_p): New function.
2859 * text-coding.c (Ffind_coding_system):
2860 * text-coding.c (Fcopy_coding_system):
2861 * text-coding.c (encode_coding_no_conversion):
2862 * text-coding.c (syms_of_file_coding):
2863 * text-coding.c (vars_of_file_coding):
2864 Rewrite coding system alias code.
2865 Allow nested aliases, like symbolic links.
2866 Allow redefinition of coding system aliases.
2867 Prevent existence of dangling coding system aliases.
2868 Eliminate convert_to_external_format.
2869 Eliminate convert_to_internal_format.
2871 * text-coding.c: Change enum eol_type to eol_type_t.
2873 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2875 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2876 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2878 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2879 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2881 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2883 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2884 `ideograph-daikanwa'.
2886 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2887 (Vcharset_ucs_bmp): Likewise.
2888 (Vcharset_mojikyo): Add new extern variable definition.
2889 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2890 (Vcharset_latin_iso8859_3): Likewise.
2891 (Vcharset_latin_iso8859_4): Likewise.
2892 (Vcharset_latin_iso8859_9): Likewise.
2893 (Vcharset_latin_viscii_lower): Likewise.
2894 (Vcharset_latin_viscii_upper): Likewise.
2895 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2896 `mojikyo' code-point is used to decode.
2897 (encode_char_2): New function [to convert `mojikyo' code-point to
2898 Mojikyo font encoding].
2899 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2900 (breakup_char_1): Likewise.
2901 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2903 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2905 * text-coding.c (Fmake_coding_system): Add document about
2906 `disable-composition' property.
2908 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2910 * text-coding.c (Qdisable_composition): New variable; delete
2912 (Fmake_coding_system): Add new property `disable-composite';
2913 delete property `composite'.
2914 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2915 instead of `!CODING_SYSTEM_COMPOSITE'.
2916 (syms_of_file_coding): Add new symbol `disable-composition';
2917 delete symbol `composite'.
2919 * file-coding.h (struct Lisp_Coding_System): Add
2920 `disable_composition'; delete `enable_composition'.
2921 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2922 `CODING_SYSTEM_COMPOSITE'.
2923 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2924 `XCODING_SYSTEM_COMPOSITE'.
2926 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2928 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2931 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2933 * text-coding.c (Qcomposite): New variable.
2934 (Fmake_coding_system): Add new property `composite'.
2935 (struct decoding_stream): Add `combined_char_count',
2936 `combined_chars' and `combining_table' in UTF-2000.
2937 (COMPOSE_FLUSH_CHARS): New macro.
2938 (COMPOSE_ADD_CHAR): New macro.
2939 (reset_decoding_stream): Reset `str->combined_char_count' and
2940 `str->combining_table' in UTF-2000.
2941 (decode_coding_iso2022): Modify for character-decomposition.
2942 (syms_of_file_coding): Add new symbol `composite'.
2944 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2946 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2947 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2948 of `Vcharacter_composition_table' if `->decomposition' property
2950 (Qlatin_tcvn5712): New variable.
2951 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2952 (complex_vars_of_mule_charset): Add new coded-charset
2955 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2957 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2959 * file-coding.h (struct Lisp_Coding_System): Add
2960 `enable_composition'.
2961 (CODING_SYSTEM_COMPOSITE): New macro.
2962 (XCODING_SYSTEM_COMPOSITE): New macro.
2964 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2966 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2968 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2970 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2971 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2973 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2975 * mule-charset.c (Vcharset_mojikyo): New variable.
2976 (Fdefine_char): Don't use coded-charset which does not have
2977 non-builtin character range to allocate character-id.
2978 (Qmojikyo): New variable.
2979 (syms_of_mule_charset): Add new symbol `mojikyo'.
2980 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2982 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2983 (LEADING_BYTE_MOJIKYO): New macro.
2984 (MIN_CHAR_MOJIKYO): New macro.
2985 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2986 (MAX_CHAR_MOJIKYO): New macro.
2988 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2990 * mule-charset.c (remove_char_attribute): Fixed.
2992 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2994 * mule-charset.c (remove_char_attribute): New function.
2995 (Fremove_char_attribute): New function.
2996 (encode_builtin_char_1): Comment out builtin-support for
2997 greek-iso8859-7 and cyrillic-iso8859-5.
2998 (Fdecode_char): Check `code' is an integer.
2999 (syms_of_mule_charset): Add `remove-char-attribute'.
3000 (MIN_CHAR_GREEK): Deleted.
3001 (MAX_CHAR_GREEK): Likewise.
3002 (MIN_CHAR_CYRILLIC): Likewise.
3003 (MAX_CHAR_CYRILLIC): Likewise.
3004 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
3005 MAX_CHAR_GREEK for `greek-iso8859-7'.
3007 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
3008 (MAX_CHAR_GREEK): Likewise.
3009 (MIN_CHAR_CYRILLIC): Likewise.
3010 (MAX_CHAR_CYRILLIC): Likewise.
3012 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
3014 * mule-charset.c (Fdefine_char): Fix problem when new code-point
3015 format is used without `ucs' property.
3016 (Fdecode_char): Fix problem with GR representation.
3017 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3018 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3020 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3022 * mule-charset.c (make_builtin_char): New function.
3023 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3024 (Fset_charset_mapping_table): Modify for new representation of
3026 (Fdecode_char): New function.
3027 (syms_of_mule_charset): Add new builtin function `decode-char' in
3030 * char-ucs.h (make_builtin_char): New prototype.
3031 (DECODE_CHAR): New inline function.
3032 (MAKE_CHAR): Use `DECODE_CHAR'.
3034 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3036 * text-coding.c (parse_charset_conversion_specs): Use
3037 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3039 (iso2022_designate): Likewise.
3041 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3042 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3044 * mule-charset.c (Vcharset_ucs): New variable.
3045 (print_charset): Change design; use `CHARSET_CHARS' and
3046 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3047 (make_charset): Change signature to specify `chars' and
3048 `dimension' instead of `type'.
3049 (range_charset_code_point): Modify for 256^n-set.
3050 (encode_builtin_char_1): Encode as `ucs' in default.
3051 (Fmake_charset): Modify for `make_charset'.
3052 (Fmake_reverse_direction_charset): Likewise.
3053 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3055 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3058 * char-ucs.h (Vcharset_ucs): New variable.
3059 (LEADING_BYTE_UCS): New macro.
3060 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3061 and `chars' to `unsigned short' from `unsigned int'.
3062 (CHARSET_TYPE): Deleted.
3063 (XCHARSET_TYPE): Deleted.
3065 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
3067 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
3069 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
3070 (ENCODE_CHAR): New macro.
3072 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3074 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3075 to 0.14 (Kawachi-Katakami).
3077 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3079 * text-coding.c (char_encode_shift_jis): Modify for
3080 `charset_code_point'.
3081 (char_encode_iso2022): Likewise.
3083 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3084 (integer) instead of list of <Lisp_Object>s (integers) as the
3085 format of code-point of a coded-charset.
3086 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3087 (encode_builtin_char_1): New function; delete
3088 `split_builtin_char'.
3089 (charset_code_point): Return <int> instead of <Lisp_Object>.
3090 (Fsplit_char): Don't use `SPLIT_CHAR'.
3092 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3093 prototype for `split_builtin_char'.
3094 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3095 (charset_code_point): Likewise.
3096 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
3097 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
3099 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
3101 * mule-charset.c (complex_vars_of_mule_charset): Don't define
3102 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
3104 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3106 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
3108 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
3109 (MAX_CHAR_OBS_94x94): Deleted.
3111 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3113 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
3115 * char-ucs.h (MAX_CHAR_BMP): New macro.
3117 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3119 * text-coding.c: Sync with r21-2-24.
3121 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3123 * file-coding.c: Modify for UTF-2000.
3125 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3127 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3130 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3132 * mule-charset.c (split_builtin_char): Delete builtin support for
3133 `katakana-jisx0201'.
3134 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
3135 BMP area in builtin representation.
3137 * char-ucs.h (MAKE_CHAR): Delete builtin support for
3138 `Vcharset_katakana_jisx0201'.
3140 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3142 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
3143 (Qisolated): New variable.
3144 (Qinitial): New variable.
3145 (Qmedial): New variable.
3146 (Qfinal): New variable.
3147 (Qvertical): New variable.
3148 (Qsmall): New variable.
3149 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
3150 `Qvertical' and `Qsmall'.
3151 (Qmojikyo_pj_[1 .. 21]): New variable.
3152 (syms_of_mule_charset): Add new symbols `isolated', `initial',
3153 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
3154 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
3157 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3159 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
3160 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
3161 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
3163 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3165 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
3166 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
3168 (Qjapanese_jisx0208_1990): New variable.
3169 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
3170 (complex_vars_of_mule_charset): Add new coded-charset
3171 `japanese-jisx0208-1990'.
3173 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
3174 (MIN_CHAR_JIS_X0208_1990): New macro.
3175 (MAX_CHAR_JIS_X0208_1990): New macro.
3177 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3179 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
3180 coded-charset is not found.
3182 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3184 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
3185 (Fdefine_char): Use `Fmake_char'.
3187 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3189 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
3190 (Vcharset_hiragana_jisx0208): Deleted.
3191 (Vcharset_katakana_jisx0208): Deleted.
3192 (Qideograph_daikanwa): New variable.
3193 (Qhiragana_jisx0208): Deleted.
3194 (Qkatakana_jisx0208): Deleted.
3195 (split_builtin_char): Split `ideograph-daikanwa'.
3196 (Fsplit_char): New implementation for UTF-2000.
3197 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
3198 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
3199 (complex_vars_of_mule_charset): Add new coded-charset
3200 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
3201 `katakana-jisx0208'.
3203 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
3204 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
3205 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
3206 (MIN_CHAR_DAIKANWA): New macro.
3207 (MAX_CHAR_DAIKANWA): New macro.
3209 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3211 * data.c (Fstring_to_number): Don't recognize floating point if
3214 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3216 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
3218 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3220 * mule-charset.c (Qsquare): New variable.
3221 (to_char_code): Add `Qsquare'.
3222 (syms_of_mule_charset): Add new symbol `square'.
3224 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3226 * mule-charset.c (Qcircle): New variable.
3227 (to_char_code): Add `Qcircle'.
3228 (syms_of_mule_charset): Add new symbol `circle'.
3230 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3232 * mule-charset.c (Qfont): New variable.
3233 (to_char_code): Add `Qfont'.
3234 (syms_of_mule_charset): Add new symbol `font'.
3236 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3238 * mule-charset.c (Qsub): New variable.
3239 (to_char_code): Add `Qsub'.
3240 (syms_of_mule_charset): Add new symbol `sub'.
3242 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3244 * mule-charset.c (Fput_char_attribute): Convert each element of
3245 VALUE to GL position if ATTRIBUTE is a GR-set,
3247 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3249 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
3250 coded-charset is a GR-set.
3252 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3254 * mule-charset.c (Fput_char_attribute): Check each element of
3255 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
3257 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3259 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
3261 (Qethiopic_ucs): New variable in UTF-2000.
3262 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
3263 (complex_vars_of_mule_charset): Add new coded-charset
3264 `ethiopic-ucs' in UTF-2000.
3266 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
3267 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3269 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3271 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
3273 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3275 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
3278 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3280 * mule-charset.c (Vcharacter_variant_table): New variable.
3281 (Q_ucs): New variable.
3282 (Fchar_variants): New function.
3283 (Fput_char_attribute): Register `->ucs' value to
3284 `Vcharacter_variant_table'.
3285 (syms_of_mule_charset): Add new function `char-variants' and new
3287 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
3289 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3291 * mule-charset.c (get_char_code_table): Allow negative character
3293 (put_char_code_table): Likewise.
3294 (Vcharacter_composition_table): New variable.
3295 (Q_decomposition): New variable.
3296 (Qwide): New variable.
3297 (Qnarrow): New variable.
3298 (Qcompat): New variable.
3299 (QnoBreak): New variable.
3300 (Qsuper): New variable.
3301 (Qfraction): New variable.
3302 (to_char_code): New function.
3303 (Fget_composite_char): New function.
3304 (Fput_char_attribute): Register `->decomposition' value to
3305 `Vcharacter_composition_table'.
3306 (syms_of_mule_charset): Add new function `get-composite-char', new
3307 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
3308 `super' and `fraction'.
3309 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
3311 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3313 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
3314 character; copy the return value.
3316 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3318 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
3320 * mule-charset.c (range_charset_code_point): Must use make_int.
3321 (split_builtin_char): New function.
3323 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3325 * mule-charset.c (char_byte_table): Change name from
3326 "char-code-table" to "char-byte-table".
3327 (mark_char_code_table): New function.
3328 (char_code_table_equal): New function.
3329 (char_code_table_hash): New function.
3330 (char_code_table_description): New constant.
3331 (char_code_table): New type.
3332 (make_char_code_table): New function.
3333 (copy_char_code_table): New function.
3334 (get_char_code_table): Modify for `char_code_table' type.
3335 (put_char_code_table): Likewise.
3336 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
3339 * char-ucs.h (char_code_table): New type.
3340 (XCHAR_CODE_TABLE): New macro.
3341 (XSETCHAR_CODE_TABLE): New macro.
3342 (CHAR_CODE_TABLE_P): New macro.
3343 (GC_CHAR_CODE_TABLE_P): New macro.
3344 (struct Lisp_Char_Code_Table): New structure.
3346 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3348 * mule-charset.c (Fmake_charset): Setup byte_offset for
3351 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
3353 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
3356 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3358 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
3361 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3363 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
3364 charset, it is regarded as a charset.
3365 (put_char_attribute): New function in UTF-2000.
3366 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
3367 charset, mapping-table of the charset is modified.
3368 (Fdefine_char): New function in UTF-2000.
3369 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
3370 `Fput_char_attribute'.
3371 (syms_of_mule_charset): Add new function `define-char' and new
3372 symbol `ucs' in UTF-2000.
3373 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
3375 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3377 * mule-charset.c (Fcharset_name): Define `byte_offset' in
3378 non-UTF-2000 configuration.
3380 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3382 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
3383 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
3385 * mule-charset.c (mark_charset): `cs->encoding_table' has been
3387 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
3388 (Fset_charset_mapping_table): Likewise.
3390 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
3391 (CHARSET_ENCODING_TABLE): Delete.
3392 (XCHARSET_ENCODING_TABLE): Delete.
3393 (charset_code_point): New interface.
3395 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3397 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
3398 instead of `charset_get_byte1' and `charset_get_byte2'.
3400 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
3401 (charset_get_byte2): Deleted.
3403 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3405 * char-ucs.h (SPLIT_CHAR): New inline function.
3406 (breakup_char_1): Use `SPLIT_CHAR'.
3408 * mule-charset.c (range_charset_code_point): New function.
3409 (charset_code_point): New function.
3411 * char-ucs.h (range_charset_code_point): New interface.
3412 (breakup_char_1): Use `range_charset_code_point'.
3414 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3416 * mule-charset.c (Fmake_charset): Delete unused local variable
3419 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
3420 (breakup_char_1): Find a charset and code-point in
3421 `Vcharacter_attribute_table'.
3423 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3425 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3428 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3430 * mule-charset.c (Vcharacter_attribute_table): New variable.
3431 (Fchar_attribute_alist): New function.
3432 (Fget_char_attribute): New function.
3433 (Fput_char_attribute): New function.
3434 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
3436 (syms_of_mule_charset): Add new function `char-attribute-alist',
3437 `get-char-attribute' and `put-char-attribute'.
3438 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
3440 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
3442 * mule-charset.c (Fmake_charset): Just use
3443 `get_unallocated_leading_byte'.
3445 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
3446 sets; don't use final-byte based number for private sets.
3448 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3450 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
3453 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3455 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3458 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3460 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
3461 of `CHAR_LEADING_BYTE' in UTF-2000.
3463 * insdel.c (find_charsets_in_bufbyte_string): Use
3464 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3465 (find_charsets_in_emchar_string): Likewise.
3467 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
3468 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3470 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
3471 (CHAR_CHARSET_ID): New macro.
3473 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3475 * chartab.c (get_char_table): Don't use type `Charset_ID' for
3476 charset-id - MIN_LEADING_BYTE.
3477 (put_char_table): Likewise.
3479 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3481 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
3482 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
3483 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
3484 (CHARSET_ID_OFFSET): New macro.
3485 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
3486 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
3487 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
3488 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3490 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3492 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
3493 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
3494 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
3495 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
3496 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
3498 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3500 * mule-charset.c (next_allocated_leading_byte): New variable in
3502 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
3503 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
3504 (get_unallocated_leading_byte): Simply use
3505 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
3506 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
3509 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
3510 (MAX_LEADING_BYTE_PRIVATE): New macro.
3511 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
3512 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
3514 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3516 * mule-charset.c (Fmake_charset): Allocate final-byte based
3517 charset-id for 94-set, 96-set and 94x94-set.
3519 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3521 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
3523 (Fmake_charset): Likewise.
3524 (complex_vars_of_mule_charset): Modify the font registry of
3525 `ucs-bmp' not to match `Ethiopic-Unicode'.
3527 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3529 * mule-charset.c (complex_vars_of_mule_charset): Add font
3530 registory of `ucs-bmp'.
3532 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3534 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
3535 coded-charsets in `default-coded-charset-priority-list' when
3536 breaking up a character.
3538 * mule-charset.c (Vcharset_latin_viscii): New variable.
3539 (Qlatin_viscii): New variable.
3540 (make_charset): Don't use `decoding_table'.
3541 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
3543 (Fset_charset_mapping_table): New implementation.
3544 (syms_of_mule_charset): Add new symbol `latin-viscii'.
3545 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
3546 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
3547 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
3548 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
3549 charset `latin_viscii'.
3551 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
3552 (CHARSET_TYPE_94X94): Change to 1 from 2.
3553 (CHARSET_TYPE_96): Change to 2 from 1.
3554 (CHARSET_TYPE_128): New macro.
3555 (CHARSET_TYPE_128X128): Change to 5 from 4.
3556 (CHARSET_TYPE_256): New macro.
3557 (CHARSET_TYPE_256X256): Change to 7 from 5.
3558 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
3560 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3562 * text-coding.c (char_encode_shift_jis): Refer
3563 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
3564 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
3566 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
3567 (char_byte_table_equal): New function in UTF-2000.
3568 (char_byte_table_hash): New function in UTF-2000.
3569 (char_byte_table_description): New constant in UTF-2000.
3570 (char_byte_table): New type in UTF-2000.
3571 (make_char_byte_table): New function in UTF-2000.
3572 (copy_char_byte_table): New function in UTF-2000.
3573 (make_char_code_table): New macro in UTF-2000.
3574 (get_char_code_table): New function in UTF-2000.
3575 (put_char_code_table): New function in UTF-2000.
3576 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3577 (charset_description): Add setting in UTF-2000.
3578 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
3579 `CHARSET_TO_BYTE1_TABLE(cs)'.
3580 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
3581 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
3582 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
3583 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
3584 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
3585 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
3586 `CHARSET_TO_BYTE2_TABLE(cs)'.
3588 * char-ucs.h (char_byte_table): New type.
3589 (XCHAR_BYTE_TABLE): New macro.
3590 (XSETCHAR_BYTE_TABLE): New macro.
3591 (CHAR_BYTE_TABLE_P): New macro.
3592 (GC_CHAR_BYTE_TABLE_P): New macro.
3593 (struct Lisp_Char_Byte_Table): New structure.
3594 (get_char_code_table): New interface.
3595 (Emchar_to_byte_table): Deleted.
3596 (get_byte_from_character_table): Deleted.
3597 (struct Lisp_Charset): Add `encoding_table'; delete
3598 `to_byte1_table' and `to_byte2_table'.
3599 (CHARSET_ENCODING_TABLE): New macro.
3600 (CHARSET_TO_BYTE1_TABLE): Deleted.
3601 (CHARSET_TO_BYTE2_TABLE): Deleted.
3602 (XCHARSET_ENCODING_TABLE): New macro.
3603 (XCHARSET_TO_BYTE1_TABLE): Deleted.
3604 (XCHARSET_TO_BYTE2_TABLE): Deleted.
3606 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3608 * mule-charset.c (syms_of_mule_charset): Delete charset alias
3609 `vietnamese-viscii-*'.
3611 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3613 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
3614 (Qvietnamese_viscii_upper): New variable.
3615 (Fdefine_charset_alias): New function.
3616 (syms_of_mule_charset): Add new function `define-charset-alias'.
3617 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
3618 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
3621 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
3623 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
3624 (MAX_CHAR_OBS_94x94): New macro.
3625 (breakup_char_1): Support obsolete XEmacs-UCS private code space
3628 * mule-charset.c (put_byte_from_character_table): Change unit size
3630 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
3632 (Fmake_reverse_direction_charset): Modify dummy argument of
3633 `make_charset' for non-UTF-2000 environment.
3635 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3637 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
3639 * mule-charset.c (destroy_byte_from_character_table): New macro.
3640 (latin_jisx0201_to_ucs): Deleted.
3641 (latin_iso8859_2_to_ucs): Deleted.
3642 (latin_iso8859_3_to_ucs): Deleted.
3643 (latin_iso8859_4_to_ucs): Deleted.
3644 (latin_iso8859_9_to_ucs): Deleted.
3645 (latin_viscii_lower_to_ucs): Deleted.
3646 (latin_viscii_upper_to_ucs): Deleted.
3647 (mark_charset): Mark `cs->decoding_table'.
3648 (Fcharset_mapping_table): Fix DOC-string.
3649 (Fset_charset_mapping_table): New function.
3650 (syms_of_mule_charset): Add nwe function
3651 `set-charset-mapping-table'.
3652 (complex_vars_of_mule_charset): Don't setup and use
3655 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
3657 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
3660 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
3662 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
3663 (Vcharset_katakana_jisx0208): New variable.
3664 (Qhiragana_jisx0208): New variable.
3665 (Qkatakana_jisx0208): New variable.
3666 (make_charset): Add new argument `byte_offset'.
3667 (charset_get_byte1): Modify for new coded-charset definition; use
3668 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3669 `XCHARSET_BYTE_OFFSET'.
3670 (Fmake_charset): Modify for `make_charset'.
3671 (Fmake_reverse_direction_charset): Likewise.
3672 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
3673 `katakana-jisx0208'.
3674 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
3675 `.' in font registry of charset `katakana-jisx0201',
3676 `latin-jisx0201', `vietnamese-viscii-lower' and
3677 `vietnamese-viscii-upper'; modify DOC-string of charset
3678 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
3679 registry of charset `japanese-jisx0208' not to use font for JIS
3680 X0208:1990; add new charset `hiragana-jisx0208' and
3681 `katakana-jisx0208'.
3683 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
3684 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
3685 (struct Lisp_Charset): Add `byte_offset'.
3686 (CHARSET_BYTE_OFFSET): New macro.
3687 (XCHARSET_UCS_MIN): New macro.
3688 (XCHARSET_UCS_MAX): New macro.
3689 (XCHARSET_CODE_OFFSET): New macro.
3690 (XCHARSET_BYTE_OFFSET): New macro.
3691 (MIN_CHAR_HIRAGANA): New macro.
3692 (MAX_CHAR_HIRAGANA): New macro.
3693 (MIN_CHAR_KATAKANA): New macro.
3694 (MAX_CHAR_KATAKANA): New macro.
3695 (MAKE_CHAR): Modify for new coded-charset definition; use
3696 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3697 `XCHARSET_BYTE_OFFSET'.
3699 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3701 * mule-charset.c (CHAR96): Deleted.
3702 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
3704 (latin_iso8859_2_to_ucs): Likewise.
3705 (latin_iso8859_3_to_ucs): Likewise.
3706 (latin_iso8859_4_to_ucs): Likewise.
3707 (latin_iso8859_9_to_ucs): Likewise.
3708 (latin_viscii_lower_to_ucs): Likewise.
3709 (latin_viscii_upper_to_ucs): Likewise.
3710 (latin_tcvn5712_to_ucs): Commented out.
3711 (make_charset): Change type of argument `decoding_table' from
3712 <Emchar*> to <Lisp_Object> [vector of characters].
3713 (Fmake_charset): Modify for `make_charset'.
3714 (Fmake_reverse_direction_charset): Likewise.
3715 (Fcharset_mapping_table): New function in UTF-2000.
3716 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
3718 (complex_vars_of_mule_charset): Modify for type change of
3719 `*_to_ucs'; modify for `make_charset'.
3721 * char-ucs.h (struct Lisp_Charset): Change type of
3722 `decoding_table' from <Emchar*> to <Lisp_Object>.
3723 (MAKE_CHAR): Modify for new specification of `decoding_table'.
3725 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3727 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
3728 error with non-UTF-2000-Mule.
3730 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
3732 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
3734 (Vcharset_chinese_cns11643_4): Likewise.
3735 (Vcharset_chinese_cns11643_5): Likewise.
3736 (Vcharset_chinese_cns11643_6): Likewise.
3737 (Vcharset_chinese_cns11643_7): Likewise.
3738 (Qchinese_cns11643_3): Likewise.
3739 (Qchinese_cns11643_4): Likewise.
3740 (Qchinese_cns11643_5): Likewise.
3741 (Qchinese_cns11643_6): Likewise.
3742 (Qchinese_cns11643_7): Likewise.
3743 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
3744 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3745 and `chinese-cns11643-7' to lisp/mule/chinese.el.
3746 (complex_vars_of_mule_charset): Likewise.
3748 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3750 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
3752 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
3753 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
3755 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3757 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
3759 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
3760 (breakup_char_1): Likewise.
3762 * text-coding.c (char_encode_iso2022): Keep designated charsets if
3763 one of them includes the specified character.
3765 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3767 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
3769 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3771 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
3773 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3775 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
3776 definition for non-UTF-2000 Mule.
3777 (latin_iso8859_3_to_ucs): Likewise.
3778 (latin_iso8859_4_to_ucs): Likewise.
3779 (latin_iso8859_9_to_ucs): Likewise.
3780 (latin_jisx0201_to_ucs): Likewise.
3781 (MIN_CHAR_THAI): Likewise.
3782 (MAX_CHAR_THAI): Likewise.
3783 (MIN_CHAR_GREEK): Likewise.
3784 (MAX_CHAR_GREEK): Likewise.
3785 (MIN_CHAR_HEBREW): Likewise.
3786 (MAX_CHAR_HEBREW): Likewise.
3787 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
3788 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
3789 (MIN_CHAR_CYRILLIC): Likewise.
3790 (MAX_CHAR_CYRILLIC): Likewise.
3792 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3794 * char-ucs.h (breakup_char_1): Use
3795 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
3796 thai-tis620 and katakana-jisx0201 area.
3798 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3800 * char-ucs.h (breakup_char_1): Use
3801 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
3804 * text-coding.c (reset_encoding_stream): Fixed.
3805 (char_encode_ucs4): Delete `& 255'.
3807 * char-ucs.h (breakup_char_1): Use
3808 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
3810 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3812 * file-coding.c (Fmake_coding_system): Don't set up
3813 `codesys->fixed.size'.
3814 (encode_coding_no_conversion): Don't refer
3815 `str->codesys->fixed.size'.
3817 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3819 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
3820 (latin_a_char_to_byte1): Deleted.
3821 (latin_a_char_to_byte2): Deleted.
3823 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3825 * mule-charset.c (make_charset): Add new argument `ucs_min',
3826 `ucs_max' and `code_offset'.
3827 (charset_get_byte1): New implementation [delete specific charset
3828 depended implementations].
3829 (Fmake_charset): Modify for `make_charset'.
3830 (Fmake_reverse_direction_charset): Likewise.
3831 (complex_vars_of_mule_charset): Likewise.
3833 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
3835 (CHARSET_UCS_MIN): New macro.
3836 (CHARSET_UCS_MAX): New macro.
3837 (CHARSET_CODE_OFFSET): New macro.
3838 (MAKE_CHAR): Delete charset depended definitions [except
3841 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3843 * char-ucs.h (breakup_char_1): Use
3844 `Vdefault_coded_charset_priority_list' for C0-Controls,
3845 Basic-Latin, C1-Controls and Latin-1-Supplement area.
3847 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3849 * char-ucs.h (charset_get_byte1): New function.
3850 (XCHARSET_GET_BYTE1): Deleted.
3851 (charset_get_byte2): New function.
3852 (XCHARSET_GET_BYTE2): Deleted.
3853 (Vdefault_coded_charset_priority_list): New external variable.
3854 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3855 `Vdefault_preferred_coded_charset_list'.
3857 * mule-charset.c (charset_get_byte1): New function.
3858 (charset_get_byte2): New function.
3859 (Vdefault_coded_charset_priority_list): New variable.
3860 (vars_of_mule_charset): Add new variable
3861 `default-coded-charset-priority-list'.
3863 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3865 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3866 (XCHARSET_GET_BYTE2): New inline function.
3867 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3868 `XCHARSET_GET_BYTE2'.
3870 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3872 * mule-charset.c (make_charset): Initialize
3873 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3874 NULL if table is not defined.
3876 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3878 * text-coding.c (char_encode_shift_jis): Use
3879 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3880 `ucs_to_latin_jisx0201'.
3882 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3883 (ucs_to_latin_iso8859_2): Deleted.
3884 (ucs_to_latin_iso8859_3): Deleted.
3885 (ucs_to_latin_iso8859_4): Deleted.
3886 (ucs_to_latin_iso8859_9): Deleted.
3887 (ucs_to_latin_viscii_lower): Deleted.
3888 (ucs_to_latin_viscii_upper): Deleted.
3889 (ucs_to_latin_tcvn5712): Deleted.
3890 (make_charset): Add new argument `decoding_table'; set up
3891 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3892 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3893 `decoding_table' is defined in UTF-2000.
3894 (Fmake_charset): Modify for `make_charset'.
3895 (Fmake_reverse_direction_charset): Likewise.
3896 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3897 and `GENERATE_96_SET'.
3899 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3900 (ucs_to_latin_jisx0201): Deleted.
3901 (latin_iso8859_2_to_ucs): Deleted.
3902 (ucs_to_latin_iso8859_2): Deleted.
3903 (latin_iso8859_3_to_ucs): Deleted.
3904 (ucs_to_latin_iso8859_3): Deleted.
3905 (latin_iso8859_4_to_ucs): Deleted.
3906 (ucs_to_latin_iso8859_4): Deleted.
3907 (latin_iso8859_9_to_ucs): Deleted.
3908 (ucs_to_latin_iso8859_9): Deleted.
3909 (latin_viscii_lower_to_ucs): Deleted.
3910 (ucs_to_latin_viscii_lower): Deleted.
3911 (latin_viscii_upper_to_ucs): Deleted.
3912 (ucs_to_latin_viscii_upper): Deleted.
3913 (struct Lisp_Charset): Renamed `encoding_table' to
3914 `to_byte1_table'; add `to_byte2_table'.
3915 (CHARSET_DECODING_TABLE): New macro.
3916 (CHARSET_TO_BYTE1_TABLE): New macro.
3917 (CHARSET_TO_BYTE2_TABLE): New macro.
3918 (XCHARSET_DECODING_TABLE): New macro.
3919 (XCHARSET_TO_BYTE1_TABLE): New macro.
3920 (XCHARSET_TO_BYTE2_TABLE): New macro.
3921 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3923 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3924 don't use `ucs_to_*' tables.
3926 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3928 * text-coding.c (Fmake_coding_system): Don't set up
3929 `codesys->fixed.size'.
3930 (encode_coding_no_conversion): Use `if' instead of `switch'.
3932 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3934 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3936 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3937 (Fmake_charset): Modify for `make_charset'.
3938 (Fmake_reverse_direction_charset): Likewise.
3939 (complex_vars_of_mule_charset): Likewise.
3941 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3943 * text-coding.c (char_encode_shift_jis): Use table
3944 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3946 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3948 * text-coding.c (text_encode_generic): Use `if' instead of
3950 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3953 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3955 * text-coding.c (encode_coding_sjis): Deleted.
3956 (char_encode_shift_jis): New function.
3957 (char_finish_shift_jis): New function.
3958 (reset_encoding_stream): Set up `encode_char' and `finish' for
3959 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3960 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3961 (char_encode_utf8): Treat `eol_type'.
3963 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3965 * file-coding.c (decode_coding_iso2022): Use
3966 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3968 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3970 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3973 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3975 * char-lb.h (CHAR_COLUMNS): New macro.
3977 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3979 * text-coding.c (char_encode_ucs4): New function.
3980 (char_finish_ucs4): New function.
3981 (encode_coding_ucs4): Deleted.
3982 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3983 (text_encode_generic): Delete local variable `charset' and `half'.
3984 (ucs_to_mule_table): Deleted.
3985 (mule_to_ucs_table): Deleted.
3986 (Fset_ucs_char): Deleted.
3987 (ucs_to_char): Deleted.
3988 (Fucs_char): Deleted.
3989 (Fset_char_ucs): Deleted.
3990 (Fchar_ucs): Deleted.
3991 (decode_ucs4): Deleted.
3992 (mule_char_to_ucs4): Deleted.
3993 (encode_ucs4): Deleted.
3994 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3995 (decode_coding_utf8): Likewise.
3996 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3997 (char_encode_iso2022): Fixed.
3998 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3999 `Fset_char_ucs' and `Fchar_ucs'.
4000 (complex_vars_of_file_coding): Don't initialize
4001 `ucs_to_mule_table'.
4003 * objects-tty.c (tty_initialize_font_instance): Don't use
4006 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
4009 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
4010 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4012 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
4013 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4014 (emchar_string_displayed_columns): Likewise.
4016 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4017 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4018 (string_column_at_point): Likewise.
4019 (Fmove_to_column): Likewise.
4021 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4022 `encoding_table' and `decoding_table'.
4023 (CHARSET_REP_BYTES): Deleted.
4024 (XCHARSET_REP_BYTES): Deleted.
4025 (XCHARSET_COLUMNS): Deleted.
4026 (CHAR_COLUMNS): New macro.
4027 (lookup_composite_char): Deleted unconditionally.
4028 (composite_char_string): Likewise.
4030 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4032 * char-ucs.h (Emchar_to_byte_table): New type.
4033 (get_byte_from_character_table): New function interface.
4034 (Vcharset_latin_jisx0201): New variable.
4035 (latin_jisx0201_to_ucs): New variable.
4036 (ucs_to_latin_jisx0201): New variable.
4037 (Vcharset_latin_iso8859_2): New variable.
4038 (latin_iso8859_2_to_ucs): New variable.
4039 (ucs_to_latin_iso8859_2): New variable.
4040 (Vcharset_latin_iso8859_3): New variable.
4041 (latin_iso8859_3_to_ucs): New variable.
4042 (ucs_to_latin_iso8859_3): New variable.
4043 (Vcharset_latin_iso8859_4): New variable.
4044 (latin_iso8859_4_to_ucs): New variable.
4045 (ucs_to_latin_iso8859_4): New variable.
4046 (Vcharset_latin_iso8859_9): New variable.
4047 (latin_iso8859_9_to_ucs): New variable.
4048 (ucs_to_latin_iso8859_9): New variable.
4049 (Vcharset_latin_viscii_lower): New variable.
4050 (latin_viscii_lower_to_ucs): New variable.
4051 (ucs_to_latin_viscii_lower): New variable.
4052 (Vcharset_latin_viscii_upper): New variable.
4053 (latin_viscii_upper_to_ucs): New variable.
4054 (ucs_to_latin_viscii_upper): New variable.
4055 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4056 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4057 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4058 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4059 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4060 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4061 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4062 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4063 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
4064 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
4066 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
4067 (Vcharset_latin_viscii_upper): New variable.
4068 (make_byte_from_character_table): New function.
4069 (put_byte_from_character_table): New function.
4070 (get_byte_from_character_table): New function.
4071 (CHAR96): New macro.
4072 (ucs_to_latin_jisx0201): New variable.
4073 (latin_jisx0201_to_ucs): New variable.
4074 (ucs_to_latin_iso8859_2): New variable.
4075 (latin_iso8859_2_to_ucs): New variable.
4076 (ucs_to_latin_iso8859_3): New variable.
4077 (latin_iso8859_3_to_ucs): New variable.
4078 (ucs_to_latin_iso8859_4): New variable.
4079 (latin_iso8859_4_to_ucs): New variable.
4080 (ucs_to_latin_iso8859_9): New variable.
4081 (latin_iso8859_9_to_ucs): New variable.
4082 (ucs_to_latin_viscii_lower): New variable.
4083 (latin_viscii_lower_to_ucs): New variable.
4084 (ucs_to_latin_viscii_upper): New variable.
4085 (latin_viscii_upper_to_ucs): New variable.
4086 (ucs_to_latin_tcvn5712): New variable.
4087 (latin_tcvn5712_to_ucs): New variable.
4088 (Qlatin_viscii_lower): New variable.
4089 (Qlatin_viscii_upper): New variable.
4090 (syms_of_mule_charset): Set up new symbol
4091 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4092 (complex_vars_of_mule_charset): Set up new charset
4093 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
4094 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
4095 `ucs_to_<CHARSET>' tables.
4097 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4099 * text-coding.c: New file.
4101 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4103 * mule-charset.c (Fmake_char): Fix problem of 256-set.
4105 * char-ucs.h (Vcharset_ucs_bmp): New variable.
4106 (MAKE_CHAR): Modify for `ucs-bmp'.
4107 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
4108 non-MULE characters of BMP.
4110 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
4112 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4115 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
4118 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
4119 - Include character.h for `CHAR_ASCII_P'.
4121 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
4123 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
4124 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
4126 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
4127 (BYTE_C0_P): Likewise.
4128 (BYTE_C1_P): Likewise.
4129 (Lstream_get_emchar_1): Likewise.
4130 (Lstream_fput_emchar): Likewise.
4131 (Lstream_funget_emchar): Likewise.
4132 (copy_internal_to_external): Likewise.
4133 (copy_external_to_internal): Likewise.
4135 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
4136 (BYTE_C0_P): Likewise.
4137 (BYTE_C1_P): Likewise.
4138 (Lstream_get_emchar_1): Likewise.
4139 (Lstream_fput_emchar): Likewise.
4140 (Lstream_funget_emchar): Likewise.
4141 (copy_internal_to_external): Likewise.
4142 (copy_external_to_internal): Likewise.
4144 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
4145 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4147 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
4148 (BYTE_ASCII_P): Moved to mb-1byte.h.
4150 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
4152 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
4154 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
4155 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
4156 (VALID_CHARPTR_P): Moved to mb-*byte.h.
4157 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4158 (VALIDATE_CHARPTR_FORWARD): Likewise.
4159 (simple_charptr_emchar): Moved to mb-multibyte.h.
4160 (simple_set_charptr_emchar): Likewise.
4161 (simple_charptr_copy_char): Likewise.
4162 (non_ascii_charptr_emchar): Likewise.
4163 (non_ascii_set_charptr_emchar): Likewise.
4164 (non_ascii_charptr_copy_char): Likewise.
4165 (charptr_emchar): Moved to mb-*byte.h.
4166 (set_charptr_emchar): Likewise.
4167 (charptr_copy_char): Likewise.
4169 * mb-1byte.h, mb-multibyte.h: New files.
4171 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4173 * mb-utf-8.h (MULTIBYTE): New macro.
4174 (MAX_EMCHAR_LEN): Moved from buffer.h.
4175 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
4177 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
4179 * mb-lb.h, multibyte.h: New files.
4181 * char-1byte.h (Charset_ID): Moved from buffer.h.
4182 (MIN_LEADING_BYTE): Likewise.
4183 (LEADING_BYTE_ASCII): Likewise.
4184 (NUM_LEADING_BYTES): Likewise.
4185 (CHARSETP): Likewise.
4186 (CHARSET_BY_LEADING_BYTE): Likewise.
4187 (XCHARSET_LEADING_BYTE): Likewise.
4188 (XCHARSET_GRAPHIC): Likewise.
4189 (XCHARSET_COLUMNS): Likewise.
4190 (XCHARSET_DIMENSION): Likewise.
4191 (CHAR_CHARSET): Likewise.
4192 (CHAR_LEADING_BYTE): Likewise.
4193 (BREAKUP_CHAR): Likewise.
4194 (Vcharset_ascii): Likewise.
4196 * buffer.h: Include multibyte.h unconditionally.
4197 (VALID_CHARPTR_P): Moved to multibyte.h.
4198 (ASSERT_VALID_CHARPTR): Likewise.
4199 (REAL_INC_CHARPTR): Likewise.
4200 (REAL_INC_CHARBYTIND): Likewise.
4201 (REAL_DEC_CHARPTR): Likewise.
4202 (INC_CHARPTR): Likewise.
4203 (INC_CHARBYTIND): Likewise.
4204 (DEC_CHARPTR): Likewise.
4205 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4206 (VALIDATE_CHARPTR_FORWARD): Likewise.
4207 (charptr_n_addr): Likewise.
4208 (MAX_EMCHAR_LEN): Moved to mb-*.h.
4209 (simple_charptr_emchar): Moved to multibyte.h.
4210 (simple_set_charptr_emchar): Likewise.
4211 (simple_charptr_copy_char): Likewise.
4212 (non_ascii_charptr_emchar): Likewise.
4213 (non_ascii_set_charptr_emchar): Likewise.
4214 (non_ascii_charptr_copy_char): Likewise.
4215 (charptr_emchar): Likewise.
4216 (set_charptr_emchar): Likewise.
4217 (charptr_copy_char): Likewise.
4218 (charptr_emchar_n): Likewise.
4219 (Charset_ID): Moved to char-1byte.h.
4220 (Vcharset_ascii): Likewise.
4221 (CHAR_CHARSET): Likewise.
4222 (CHAR_LEADING_BYTE): Likewise.
4223 (LEADING_BYTE_ASCII): Likewise.
4224 (NUM_LEADING_BYTES): Likewise.
4225 (MIN_LEADING_BYTE): Likewise.
4226 (CHARSETP): Likewise.
4227 (CHARSET_BY_LEADING_BYTE): Likewise.
4228 (XCHARSET_LEADING_BYTE): Likewise.
4229 (XCHARSET_GRAPHIC): Likewise.
4230 (XCHARSET_COLUMNS): Likewise.
4231 (XCHARSET_DIMENSION): Likewise.
4232 (BREAKUP_CHAR): Likewise.
4234 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4236 * character.h: Add document about interface for characters.
4238 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
4239 (MAKE_CHAR): Delete comment about
4240 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
4241 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
4242 (BREAKUP_CHAR): Modify name of arguments.
4243 (CHAR_CHARSET): Modify name of argument.
4245 * buffer.h: Delete document about Emchar accessors.
4247 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4249 * character.h (CHAR_INTP): Moved from buffer.h
4250 (CHAR_OR_CHAR_INTP): Likewise.
4251 (XCHAR_OR_CHAR_INT): Likewise.
4252 (CHECK_CHAR_COERCE_INT): Likewise.
4254 * buffer.h (CHAR_INTP): Moved to character.h
4255 (CHAR_OR_CHAR_INTP): Likewise.
4256 (XCHAR_OR_CHAR_INT): Likewise.
4257 (CHECK_CHAR_COERCE_INT): Likewise.
4259 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4262 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
4263 - Include char-1byte.h, char-lb.h or char-ucs.h.
4265 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
4267 * buffer.h: Include character unconditionally.
4268 (valid_char_p): Moved to char-*.h.
4269 (non_ascii_valid_char_p): Moved to char-lb.h.
4271 * char-1byte.h, char-lb.h, char-ucs.h: New files.
4273 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4275 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
4276 in UTF-2000 because it is not ported yet and not to use
4277 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
4278 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
4279 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
4281 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
4282 (CHAR_ASCII_P): Moved from character.h.
4284 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
4285 (CHAR_ASCII_P): Likewise.
4286 (CHAR_FIELD1_MASK): Deleted.
4287 (CHAR_FIELD2_MASK): Deleted.
4288 (CHAR_FIELD3_MASK): Deleted.
4289 (MAX_CHAR_BASIC_LATIN): New macro.
4290 (CHAR_FIELD1): Deleted.
4291 (CHAR_FIELD2_INTERNAL): Deleted.
4292 (CHAR_FIELD3_INTERNAL): Deleted.
4293 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
4294 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
4295 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
4296 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
4297 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
4298 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
4299 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
4300 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
4301 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
4302 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
4303 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
4304 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
4305 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
4306 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
4307 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
4308 (MIN_CHAR_COMPOSITION): Deleted.
4309 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
4310 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
4312 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
4314 * buffer.h: Include mb-utf-8.h in UTF-2000.
4316 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
4318 * mb-utf-8.h: New file.
4320 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
4322 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
4325 * mule-charset.h, buffer.h (Charset_ID): New type.
4327 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4329 * mule-canna.c (c2mu): Use `MAKE_CHAR',
4330 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
4331 instead of `MULE_CHAR_PRIVATE_OFFSET',
4332 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
4333 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
4334 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
4336 * character.h (Vcharset_japanese_jisx0212): New variable
4339 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4341 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
4342 (charset_by_attributes): Delete array about direction.
4343 (latin_a_char_to_charset): New variable in UTF-2000.
4344 (latin_a_char_to_byte1): New variable in UTF-2000.
4345 (latin_a_char_to_byte2): New variable in UTF-2000.
4346 (Qucs_bmp): New variable.
4347 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
4349 (next_allocated_2_byte_leading_byte): Likewise.
4350 (non_ascii_set_charptr_emchar): Likewise.
4351 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
4352 `CHARSET_TYPE_256X256' in UTF-2000; modify for
4353 `charset_by_attributes'.
4354 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
4355 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
4356 and `CHARSET_BY_LEADING_BYTE'.
4357 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
4358 `utf-2000-version' to `vars_of_mule_charset'.
4359 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
4360 define `leading-code-private-11' in UTF-2000; move setting of
4361 `utf-2000-version' from `syms_of_mule_charset'.
4362 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
4365 * character.h (Charset_ID): New type.
4366 (LEADING_BYTE_UCS_BMP): New macro.
4367 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
4368 (CHARSET_ID_OFFSET_94): New macro.
4369 (MIN_CHARSET_ID_PRIVATE_94): New macro.
4370 (MAX_CHARSET_ID_PRIVATE_94): New macro.
4371 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
4373 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
4374 (LEADING_BYTE_LATIN_JISX0201): Likewise.
4375 (CHARSET_ID_OFFSET_96): New macro.
4376 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
4377 CHARSET_ID_OFFSET_96 and final-byte.
4378 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
4379 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
4380 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
4381 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
4382 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
4383 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
4384 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
4385 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
4386 (LEADING_BYTE_THAI_TIS620): Likewise.
4387 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
4388 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
4389 (CHARSET_ID_OFFSET_94x94): New macro.
4390 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
4391 CHARSET_ID_OFFSET_94x94 and final-byte.
4392 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
4393 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
4394 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
4395 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
4396 (LEADING_BYTE_CHINESE_GB2312): Likewise.
4397 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
4398 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
4399 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
4400 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
4401 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
4402 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
4403 (CHARSET_TYPE_128X128): New macro.
4404 (CHARSET_TYPE_256X256): New macro.
4405 (XCHARSET_PRIVATE_P): Delete unconditionally.
4406 (charset_by_attributes): Delete array about direction.
4407 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
4408 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
4409 (MIN_CHAR_94): New macro.
4410 (MAX_CHAR_94): New macro.
4411 (MIN_CHAR_96): New macro.
4412 (MAX_CHAR_96): New macro.
4413 (MIN_CHAR_94x94): New macro.
4414 (MAX_CHAR_94x94): New macro.
4415 (MIN_CHAR_96x96): New macro.
4416 (MAX_CHAR_96x96): New macro.
4417 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
4418 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4419 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
4421 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
4422 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
4423 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
4424 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
4425 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
4426 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
4427 `XCHARSET_LEADING_BYTE' to make code-point.
4428 (latin_a_char_to_charset): New variable.
4429 (latin_a_char_to_byte1): New variable.
4430 (latin_a_char_to_byte2): New variable.
4431 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
4432 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
4433 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
4435 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
4436 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
4437 (find_charsets_in_emchar_string): Likewise.
4438 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
4440 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
4442 (decode_coding_iso2022): Likewise.
4444 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
4447 * redisplay.c (redisplay_text_width_emchar_string): Use
4448 `Charset_ID' instead of `unsigned char'.
4449 (redisplay_frame_text_width_string): Likewise.
4451 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
4454 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
4455 instead of `unsigned char'.
4456 (face_cachel_charset_font_metric_info): Likewise.
4458 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
4459 (get_non_ascii_char_table_value): Likewise.
4460 (get_char_table): Likewise.
4461 (put_char_table): Likewise.
4462 (map_over_other_charset): Likewise.
4463 (map_char_table): Likewise.
4465 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
4466 instead of `unsigned char'.
4468 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
4470 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
4471 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
4473 * mule-charset.c (leading_code_private_11): Don't define in
4476 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
4477 in UTF-2000 because it is not ported yet and not to use
4478 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
4480 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
4482 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
4484 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4486 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
4489 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
4490 of unsigned char to store leading-byte.
4492 * chartab.c (get_non_ascii_char_table_value): Don't use
4493 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
4495 * file-coding.c (encode_coding_big5): Delete bogus implementation
4498 * character.h (LEADING_BYTE_*): Delete definition for
4500 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
4501 (LEADING_BYTE_PREFIX_P): Deleted.
4502 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
4503 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
4504 (BUFBYTE_LEADING_BYTE_P): Deleted.
4505 (CHARSET_PRIVATE_P): Deleted unconditionally.
4506 (rep_bytes_by_first_byte): Deleted unconditionally.
4507 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
4508 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
4509 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4510 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
4511 (CHAR_FIELD2): Deleted.
4512 (CHAR_FIELD3): Deleted.
4513 (MAKE_CHAR): Delete definition for non-UTF-2000.
4514 (BREAKUP_CHAR_1_UNSAFE): Deleted.
4515 (breakup_char_1): New implementation.
4516 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
4517 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
4519 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4521 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
4524 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4526 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
4527 (CHARSET_PRIVATE_P): Likewise.
4528 (XCHARSET_PRIVATE_P): Likewise.
4529 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
4531 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
4533 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
4535 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4537 * character.h (LEADING_BYTE_*): Changed in UTF2000.
4538 (NUM_LEADING_BYTES): Changed from 128 to 256.
4539 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4540 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
4542 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4544 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
4546 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
4547 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
4548 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
4549 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
4550 (Qchinese_cns11643_3): New variable in UTF2000.
4551 (Qchinese_cns11643_4): New variable in UTF2000.
4552 (Qchinese_cns11643_5): New variable in UTF2000.
4553 (Qchinese_cns11643_6): New variable in UTF2000.
4554 (Qchinese_cns11643_7): New variable in UTF2000.
4555 (syms_of_mule_charset): Define `chinese-cns11643-3',
4556 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4557 and `chinese-cns11643-7' in UTF2000.
4558 (vars_of_mule_charset): Initialize
4559 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
4561 (complex_vars_of_mule_charset): Setup charset
4562 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
4563 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
4565 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4567 * mule-charset.c: Move setting for `leading-code-private-11' from
4568 `syms_of_mule_charset' to `vars_of_mule_charset'.
4570 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4572 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
4573 and `NUM_LEADING_BYTES' in assert.
4575 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4577 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
4579 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
4580 `NUM_LEADING_BYTES' instead of 128.
4582 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4584 * mule-charset.h (charset_by_leading_byte): Use
4585 `NUM_LEADING_BYTES' instead of 128.
4586 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
4588 * mule-charset.c (charset_by_leading_byte): Use
4589 `NUM_LEADING_BYTES' instead of 128.
4590 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
4592 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
4595 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4597 * mule-charset.c (syms_of_mule_charset): Update to
4600 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4602 * file-coding.c (encode_coding_sjis): New implementation for
4603 UTF2000. (decode_coding_sjis): Ditto.
4605 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4607 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
4608 Don't define in UTF2000.
4610 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
4613 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4614 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
4617 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4619 * config.h.in (CHAR_IS_UCS4): New macro.
4621 * mule-charset.c (rep_bytes_by_first_byte): Modify for
4622 conventional MULE representation.
4623 (syms_of_mule_charset): Update to 0.3 (Imamiya).
4625 * mule-charset.h: Reverted to original.
4627 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4628 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
4629 "mule-charset.h" if CHAR_IS_UCS4 is defined.
4631 * character.h: New file.
4633 * file-coding.c (Fmake_coding_system): Set 1 to
4634 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
4636 (encode_coding_no_conversion): New implementation for UTF2000.
4638 * file-coding.h (struct Lisp_Coding_System): Add new member
4641 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
4643 * file-coding.c (decode_coding_iso2022): Code-point arguments of
4644 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
4645 (encode_coding_iso2022): New implementation for UTF2000.
4647 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4649 * mule-canna.c (c2mu): New implementation for UTF2000.
4652 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4654 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
4656 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4658 * file-coding.c (reset_encoding_stream): Set 0 to
4659 `str->iso2022.current_char_boundary' in UTF2000.
4660 (encode_utf8): Don't define in UTF2000.
4661 (encode_coding_utf8): New implementation for UTF-8 representation
4663 (complex_vars_of_file_coding): Define coding-system `utf-8'.
4665 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4667 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
4669 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
4671 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4673 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
4675 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
4676 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
4677 as UTF-8 in UTF2000.
4678 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
4679 (non_ascii_valid_char_p): Don't define in UTF2000.
4680 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
4681 (Lstream_get_emchar_1): Likewise.
4682 (utf-2000-version): New variable in UTF2000.
4684 * lread.c (read_escape): Add new reader `u'.
4686 * insdel.c (three_to_one_table): Don't define in UTF2000.
4687 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
4688 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4690 (bytind_to_bufpos_func): Likewise.
4691 (buffer_mule_signal_inserted_region): Likewise.
4692 (vars_of_insdel): Don't initialize `three_to_one_table'.
4693 (init_buffer_text): Use `buf->text->mule_size' instead of
4694 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4697 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
4698 UTF-8 representation in UTF2000.
4699 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
4700 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
4701 (decode_coding_iso2022): Don't define local variable `lb' in
4702 UTF2000; don't use LEADING_BYTE in UTF2000; use
4703 `DECODE_ADD_UCS_CHAR' in UTF2000.
4704 (convert_to_external_format): Decode as UTF-8 in UTF2000.
4706 * config.h.in (UTF2000): New macro.
4708 * buffer.h (struct buffer_text): Add new member `mule_size' and
4709 don't add `mule_shifter' and `mule_three_p' in UTF2000.
4710 (valid_char_p): Return always 1 in UTF2000.
4711 (MAX_EMCHAR_LEN): 6 in UTF2000.
4712 (three_to_one_table): Don't define in UTF2000.
4713 (real_bufpos_to_bytind): Modify for UTF-8 representation in
4715 (real_bytind_to_bufpos): Likewise.
4717 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
4719 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4721 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
4722 representation change.
4723 (Vutf_2000_version): New variable.
4724 (leading_code_private_11): New variable.
4725 (syms_of_mule_charset): Add new variables `utf-2000-version' and
4726 `leading-code-private-11'.
4728 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
4729 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
4730 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
4731 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
4732 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
4733 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
4734 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
4735 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
4736 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
4737 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
4738 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
4739 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
4740 (MIN_CHAR_GREEK): New macro.
4741 (MAX_CHAR_GREEK): New macro.
4742 (MIN_CHAR_CYRILLIC): New macro.
4743 (MAX_CHAR_CYRILLIC): New macro.
4744 (MIN_CHAR_HEBREW): New macro.
4745 (MAX_CHAR_HEBREW): New macro.
4746 (MIN_CHAR_THAI): New macro.
4747 (MAX_CHAR_THAI): New macro.
4748 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
4749 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
4750 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
4751 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
4752 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
4753 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
4754 (CHAR_FIELD2): New inline function.
4755 (CHAR_FIELD3): New inline function.
4756 (MULE_CHAR_PRIVATE_OFFSET): New macro.
4757 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
4758 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
4759 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
4760 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
4761 (MIN_CHAR_COMPOSITION): Likewise.
4762 (CHAR_LEADING_BYTE): Modified for character representation change.
4763 (MAKE_CHAR): Likewise.
4765 * lisp.h (Vcharset_latin_iso8859_1): New variable.
4766 (Vcharset_greek_iso8859_7): Likewise.
4767 (Vcharset_cyrillic_iso8859_5): Likewise.
4768 (Vcharset_hebrew_iso8859_8): Likewise.
4769 (Vcharset_thai_tis620): Likewise.
4770 (Vcharset_katakana_jisx0201): Likewise.
4772 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
4774 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
4776 2002-12-14 Ben Wing <ben@xemacs.org>
4778 * callint.c: Declaration error.
4780 * dumper.c (pdump_load): Warning fix.
4781 * process.c: GCPRO error.
4782 * glyphs.c (unmap_subwindow):
4783 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
4784 * event-stream.c (maybe_kbd_translate): Wrong argument to
4785 character_to_event().
4787 * alloc.c (garbage_collect_1):
4789 * emacs.c (debug_can_access_memory):
4790 * emacs.c (fatal_error_signal):
4791 * emacs.c (mswindows_handle_hardware_exceptions):
4794 * emacs.c (assert_failed):
4795 * emacs.c (syms_of_emacs):
4798 * print.c (std_handle_out_va):
4799 * print.c (write_string_to_stdio_stream):
4800 * print.c (write_fmt_string):
4801 * print.c (printing_badness):
4802 * print.c (printing_major_badness):
4803 * print.c (print_internal):
4804 * print.c (debug_print_no_newline):
4805 * print.c (debug_backtrace):
4806 Be more defensive in handling bad values when printing. Add code
4807 from trunk involving inhibit_non_essential_printing_operations.
4808 When going down or in debug_print(), don't do external conversion
4809 and such and try really, really hard when printing to avoid core
4810 dumping. Add force-debugging-signal, debug_break().
4812 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
4814 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
4815 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
4817 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
4819 * database.c: Fix open_database. Berkeley DB API has changed in
4820 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
4822 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
4824 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
4826 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
4828 * event-Xt.c (Xt_timeout):
4829 (Xt_timeout_callback):
4830 (emacs_Xt_add_timeout):
4831 (emacs_Xt_remove_timeout):
4832 (Xt_timeout_to_emacs_event):
4833 Turn completed_timeouts from a stack into a queue. Fixes
4834 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
4836 2002-11-07 Wolfram Gloger <wg@malloc.de>
4838 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
4839 * emacs.c (main): Assert that mmap'd allocation is disabled.
4841 2002-10-14 Andy Piper <andy@xemacs.org>
4843 * glyphs-widget.c (layout_query_geometry): add in fiddle
4844 factor. Include border text in width layout calculation.
4845 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
4847 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
4849 * XEmacs 21.4.10 "Military Intelligence" is released.
4851 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
4853 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
4854 using the NAS private array SoundFileInfo that no longer exists in
4855 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
4856 and earlier. This is broken for some versions between 1.5a and
4859 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
4861 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
4863 * emacs.c (shut_down_emacs): Improve crash message.
4865 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
4867 * file-coding.c (determine_real_coding_system): Check for coding
4868 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
4869 shebangs and Python PEP 263.
4871 2002-10-08 Andy Piper <andy@xemacs.org>
4873 * glyphs-widget.c (layout_query_geometry): only resize dynamically
4874 if static sizes haven't been set.
4876 2002-08-30 Mike Alexander <mta@arbortext.com>
4878 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
4881 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
4883 * callproc.c (child_setup): 21.4 doesn't have retry_close.
4885 2002-09-20 Mike Sperber <mike@xemacs.org>
4887 (This partially gets back my patch from 2002-07-20 without the
4889 * callproc.c (child_setup): Remove Ben's comment noting confusion
4890 over the file descriptors >= 3: close_process_descs() doesn't
4891 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
4892 * process-unix.c (unix_create_process): Call
4893 begin_dont_check_for_quit to inhibit unwanted interaction (and
4894 thus breaking of X event synchronicity) in the child.
4896 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
4898 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
4901 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
4903 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
4904 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
4905 the xemacs process did not exit, but looped infinitely here. This
4908 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
4910 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
4911 (find_context): Improve comments.
4913 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
4914 (re_match_2): An XCHAR_TABLE operation was missing.
4916 Many of the following changes were inspired by Andy Piper's (now
4917 obsolete) patch to make syntax-table text property lookup optional.
4921 * syntax.h (top level): Document semantics of syntax flags.
4922 * syntax.c (comstr_start, Fforward_comment): Improve comments.
4923 * syntax.c, syntax.h (top level): Document syntax cache better in
4926 [Instrument syntax caching (temporary change)]
4928 * syntax.h (enum syntax_cache_statistics_functions, struct
4929 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
4930 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
4931 * syntax.c (scan_words, Fforward_comment, scan_lists,
4932 Fbackward_prefix_characters):
4933 * font-lock.c (find_context):
4934 Use them to instrument syntax caching.
4935 * syntax.c (struct syntax_cache_statistics, scs_statistics,
4936 syntax_cache_statistics_function_names): New type and variables.
4937 * syntax.c (update_syntax_cache): Update and report statistics.
4939 [Major syntax cache optimizations]
4941 syntax.c (lookup_syntax_properties): Default off.
4943 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
4944 * syntax.c (update_syntax_cache):
4945 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
4947 [Minor syntax cache optimizations and code clarifications]
4949 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
4950 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
4951 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
4952 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
4953 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
4954 (Code clarification.)
4956 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
4957 scan_lists): Compute code from syncode, use Boolean macros instead
4958 of redundant masking operations. (Code clarification; any decent
4959 compiler can do this optimization.)
4961 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
4964 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
4965 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
4966 use F*_single_property_change instead of F*_extent_change.
4967 Currently F*_single_property_change is _much_ less efficient.
4969 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
4970 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
4971 syntax_cache.object properly, don't leave Qt or Qnil.
4972 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
4973 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
4974 tests for Qt or Qnil.
4976 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
4978 * redisplay.c (point_in_line_start_cache):
4979 * extents.c (print_extent_1):
4982 * extents.c (Fset_extent_property): Document `syntax-table' property.
4984 * extents.h (Fnext_single_property_change): EXFUN it.
4986 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
4988 * search.c (clear_unused_search_regs): New static function.
4992 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
4993 Minor clarifications in comments.
4995 * regex.c (re_match_2_internal): Ensure no stale submatches.
4997 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
4999 * event-Xt.c (enqueue_focus_event): Add missing prototype.
5001 2002-08-29 Jerry James <james@xemacs.org>
5003 * lisp.h: structrures -> structures.
5005 2002-06-03 Andy Piper <andy@xemacs.org>
5007 * frame.c (frame_conversion_internal): add conversion appropriate
5008 for setting frame dimensions in pixels.
5010 * console.h (struct console_methods): add device-specific widget
5013 * emacs.c (main_1): initialize glyph vars.
5015 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
5016 (handle_focus_event_2): new function. Allow focus to
5017 be set to a particular window and widget.
5018 (enqueue_focus_event): new function. Create a
5019 synthetic focus event.
5020 (emacs_Xt_handle_magic_event): call
5021 handle_focus_event_2.
5023 * frame.c (Fset_frame_pixel_height): new function. Allow
5024 pixel-based sizing. Does the right thing on character-oriented
5026 (Fset_frame_pixel_width): ditto.
5027 (Fset_frame_pixel_size): ditto.
5028 (syms_of_frame): declare.
5030 * general-slots.h: add :vertically-justify and
5031 :horizontally-justify.
5033 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
5034 (mswindows_widget_border_width): new function.
5035 (mswindows_combo_box_instantiate): set border widths.
5036 (console_type_create_glyphs_mswindows): declare.
5039 (check_valid_justification): allow vertical and horizontal
5041 (widget_border_width): new function. Call device methods.
5042 (widget_instance_border_width): ditto.
5043 (logical_unit_height): new function. Determine the height of a
5044 logical-unit. Logical units are intended to provide grid-like
5045 layout for subcontrols in a layout. If the layout is
5046 :vertically-justify top then subcontrols will be positioned on
5047 logical-unit boundaries, thus allowing adjacent subcontrols to
5049 (widget_logical_unit_height): ditto for widgets.
5050 (redisplay_widget): misc cleanup.
5051 (widget_spacing): new function. Call device specific
5052 methods. Intended to be the default gap between adjacent widgets.
5053 (widget_query_geometry): use new spacing functions to determine
5054 appropriate geometry.
5055 (initialize_widget_image_instance): initialize horizontal and
5056 vertical justification.
5057 (widget_instantiate): use logica-units where appropriate for
5058 sizing large widgets.
5059 (button_query_geometry): use widget_instance_border_width.
5060 (tree_view_query_geometry): ditto.
5061 (tab_control_query_geometry): ditto.
5062 (edit_field_query_geometry): new function.
5063 (layout_update): pick up :justify, :horizontally-justify and
5064 :vertically-justify none of which worked previously. :justify is
5065 used as a fallback for both horizontal and vertical justification.
5066 (layout_query_geometry): use logical units to size appropriately.
5067 (layout_layout): ditto.
5068 (Fwidget_logical_to_character_width): new function. Allow users to
5069 convert from logical units to characters so that frame sizes can
5070 be set appropriately.
5071 (Fwidget_logical_to_character_height): ditto.
5072 (syms_of_glyphs_widget): declare.
5073 (image_instantiator_edit_fields): add edit_field_query_geometry.
5074 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
5075 :horizontally-justify.
5076 (specifier_vars_of_glyphs_widget): new function. Declare
5077 Vwidget_border_width which is not yet used.
5079 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
5080 (x_widget_border_width): new function.
5081 (x_widget_instantiate): create a sensible name for widgets.
5082 (console_type_create_glyphs_x): declare x_widget_border_width.
5084 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
5085 (struct Lisp_Image_Instance): add :vertically-justify and
5086 :horizontally-justify.
5087 (LAYOUT_JUSTIFY_TOP): new.
5088 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
5089 (ROUND_UP): new macro. Round argument up to next integral
5092 * redisplay-output.c (redisplay_output_layout): misc formatting.
5094 * symsinit.h: declare specifier_vars_of_glyphs_widget.
5096 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
5098 * XEmacs 21.4.9 "Informed Management" is released.
5100 2002-08-19 Andy Piper <andy@xemacs.org>
5102 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
5105 * realpath.c (xrealpath): normalize drive spec also so that dir
5106 sep chars are not mixed on cygwin.
5108 2002-08-06 Jerry James <james@xemacs.org>
5110 * window.c (Fsplit_window): Count only half of the divider width
5111 against the left window when splitting horizontally.
5113 2002-06-24 Andy Piper <andy@xemacs.org>
5115 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
5116 toolbar was cleared.
5118 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
5119 function. Split out from mswindows_output_frame_toolbars.
5120 (mswindows_output_frame_toolbars): move clear pieces to
5121 mswindows_output_frame_toolbars.
5123 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
5124 out from gtk_output_frame_toolbars.
5125 (gtk_output_frame_toolbars): move clear pieces to
5126 gtk_clear_frame_toolbars.
5128 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
5129 the frame is cleared. How this ever worked before is a mystery.
5130 (x_output_frame_toolbars): Only output toolbars.
5131 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
5133 * gutter.c (update_gutter_geometry):
5134 Mark frame layout changed.
5135 (update_frame_gutter_geometry, update_frame_gutters):
5136 Respect frame_layout_changed.
5138 * console.h (struct console_methods): add
5139 clear_frame_toolbars_method.
5141 * redisplay.c (redisplay_frame): call
5142 update_frame_toolbars_geometry and re-order update_frame_toolbars.
5144 * toolbar.h: declare update_frame_toolbars_geometry.
5146 * toolbar.c (update_frame_toolbars_geometry): new function. Split
5147 out from update_frame_toolbars. Call clear_frame_toolbars.
5148 (update_frame_toolbars): only output, do not change geometry.
5150 * redisplay.c: add frame_layout_changed.
5152 * redisplay.h: add frame_layout_changed.
5153 (CLASS_RESET_CHANGED_FLAGS): set it.
5154 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
5155 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
5156 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
5158 * device.h (struct device): add frame_layout_changed.
5159 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
5161 * frame.h (struct frame): add frame_layout_changed.
5162 (MARK_FRAME_LAYOUT_CHANGED): new.
5164 2002-06-30 Mike Alexander <mta@arbortext.com>
5166 * event-msw.c (mswindows_need_event): Don't wait for a new message
5167 if the queue is not empty. Suggested by Paul Moore.
5169 2002-06-12 Andy Piper <andy@xemacs.org>
5171 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
5172 for printing on accurately.
5174 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
5176 * event-msw.c (mswindows_wnd_proc): Add a handler for the
5177 WM_ACTIVATE message. Make sure that the frame is visible if the
5178 window is visible. This seemss to fix the problem where XEmacs
5179 appears to freeze after switching desktops with certain virtual
5181 (debug_output_mswin_message): Added code to output message
5182 parameters for WM_WINDOWPOSCHANGED,
5183 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
5185 2002-05-25 Andy Piper <andy@xemacs.org>
5187 * select-x.c (vars_of_select_x): Fix docstring of
5188 x-selection-strict-motif-ownership
5190 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5192 * keymap.c (get_keymap):
5193 Add comment about do_autoload GCPROs own args.
5195 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5197 * bytecode.c (execute_optimized_program): check_opcode ifdef
5198 ERROR_CHECK_BYTE_CODE.
5200 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5202 Thanks to Ben Wing and Michael Sperber.
5204 * eval.c (Fcommand_execute):
5207 (Fmacroexpand_internal):
5208 (function_argcount):
5209 callint.c (Fcall_interactively):
5210 Add comment about do_autoload GCPROs own args.
5212 * (do_autoload): GCPRO both args as well as local Lisp_Object.
5214 * eval.c (Ffuncall): Extra braces to placate GCC.
5216 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
5218 * backtrace.h (grow_specpdl):
5220 * EmacsFrame.c (EmacsFrameSetValues):
5221 * eval.c (grow_specpdl):
5222 * ExternalShell.c (hack_event_masks_1):
5223 * glyphs-x.c (convert_EImage_to_XImage):
5224 (x_finalize_image_instance):
5225 * ralloc.c (page_size):
5227 * xgccache.c (gc_cache_hash):
5228 Fix unsigned comparison warnings.
5230 2002-07-29 Jerry James <james@xemacs.org>
5232 * lread.c (locate_file): Any nonnegative return value indicates
5233 success if MODE is nonnegative.
5235 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
5237 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
5240 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
5242 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
5244 * dumper.c (pdump_get_indirect_count):
5245 (pdump_scan_by_alignment):
5246 (pdump_dump_root_struct_ptrs):
5247 (pdump_dump_rtables):
5248 (pdump_dump_root_objects):
5250 * nas.c (WaveOpenDataForReading):
5251 * fns.c (print_bit_vector):
5252 * font-lock.c (SINGLE_SYNTAX_STYLE):
5253 * glyphs.c (check_for_ignored_expose):
5254 (find_matching_subwindow):
5256 * imgproc.c (get_histogram):
5257 * redisplay.c (point_in_line_start_cache):
5258 * redisplay-output.c (redisplay_unmap_subwindows):
5259 * symbols.c (defsymbol_massage_name_1):
5260 (defkeyword_massage_name):
5261 (deferror_massage_name_and_message):
5262 * redisplay-x.c (x_output_string):
5263 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
5264 * frame.h (struct frame):
5265 * filelock.c (current_lock_owner):
5266 * doprnt.c (emacs_doprnt_1):
5267 * lisp.h (struct Lisp_Bit_Vector):
5271 2002-02-13 Ben Wing <ben@xemacs.org>
5273 * event-stream.c (reset_key_echo):
5274 * event-stream.c (reset_this_command_keys):
5275 * event-stream.c (execute_command_event):
5276 If console is dead as a result of C-x 5 0, then post-command stuff
5277 needs to be careful and do only non-console-specific stuff.
5279 2002-07-01 Mike Sperber <mike@xemacs.org>
5281 * process-unix.c (unix_send_process): Mark coding_outstream as
5282 non-open upon SIGPIPE.
5284 * event-stream.c (Fnext_event): Reorder switch cases to something
5287 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
5289 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
5290 Don't bogusly reinitialize ascii_character property.
5292 2002-07-08 Mike Sperber <mike@xemacs.org>
5294 * process.c (Fstart_process_internal): Do error checking before we
5295 fork off the child, so the child can't muck with the state of the
5298 2002-07-08 Mike Sperber <mike@xemacs.org>
5300 * ralloc.c (init_ralloc): Allocate properly for pdump.
5302 2002-06-12 Andy Piper <andy@xemacs.org>
5304 * glyphs.c (query_string_geometry): check the string.
5306 * glyphs-widget.c (widget_logical_unit_height): cope with nil
5309 2002-06-17 Jerry James <james@xemacs.org>
5311 * sysdll.c: Remove RTLD_GLOBAL initialization.
5312 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
5314 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
5316 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
5318 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
5320 * sysdep.c (sys_rename): Make sys_rename work for the case where
5321 Windows rename sets errno to EACCES if target file exists.
5323 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
5325 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5326 Fix detection of metric units to work on Win95
5328 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
5330 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
5332 2002-04-25 Andy Piper <andy@xemacs.org>
5334 * redisplay.c (create_text_block): Remove extra comment trailer.
5336 2002-04-24 Andy Piper <andy@xemacs.org>
5338 * redisplay.c (create_text_block): Don't actually add propagation
5339 data if the line ends after we have added a glyph.
5341 2002-04-22 Andy Piper <andy@xemacs.org>
5343 * extents.c (extent_fragment_update): check for glyphs we have
5344 previously displayed.
5345 * extents.c (print_extent_1): warning removal.
5346 * extents.h: change prototype.
5347 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
5348 widths correctly for wide glyphs.
5349 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
5350 * redisplay.c (prop_type): add PROP_GLYPH.
5351 * redisplay.c (struct prop_block): add glyph type
5352 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
5353 to the propagation data.
5354 * redisplay.c (create_text_block): if there is a glyph in the
5355 propagation data use it to salt extent_fragment_update.
5356 * redisplay.c (create_string_text_block): ditto.
5358 2002-04-13 Nix <nix@esperi.demon.co.uk>
5360 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
5361 * redisplay-output.c (compare_runes): Compare them.
5362 * redisplay.c: Update copyright date.
5363 * redisplay.c (pos_data): Add need_baseline_computation field.
5364 * redisplay.c (add_glyph_rune): Update ascent, descent, and
5365 need_baseline_computation; zero yoffset. Set max_pixmap_height
5366 for all pixmaps, not just automatically positioned ones.
5367 * redisplay.c (calculate_yoffset): New, compute yoffset values.
5368 * redisplay.c (calculate_baseline): New, compute textual baseline.
5369 * redisplay.c (add_glyph_rune): Call them.
5370 * redisplay.c (create_text_block): Likewise.
5371 * redisplay.c (create_overlay_glyph_block): Likewise.
5372 * redisplay.c (add_margin_runes): Likewise.
5373 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
5375 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
5376 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
5377 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
5378 * redisplay-msw.c (mswindows_output_string): Likewise.
5379 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
5380 * redisplay-gtk.c (gtk_output_display_block): Likewise.
5381 * redisplay-x.c (x_output_display_block): Likewise.
5383 2002-03-28 Ben Wing <ben@xemacs.org>
5385 * redisplay.c: Fixed bug in redisplay
5386 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
5387 and down of the lines, since they're bigger than the line
5388 size. (It was seen most obviously when there's a horizontal scroll
5389 bar, e.g. do C-h a glyph or something like that.) The problem was
5390 that the glyph-contrib-p setting on glyphs was ignored even if it
5391 was set properly, which it wasn't until now.
5393 2002-04-24 Andy Piper <andy@xemacs.org>
5395 * lisp.h (Dynarr_end): Fix definition.
5397 2002-02-06 Adrian Aichner <adrian@xemacs.org>
5399 * redisplay.c (mark_redisplay): Remove call to
5400 update_frame_window_mirror.
5402 2001-11-15 Andy Piper <andy@xemacs.org>
5404 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
5407 2002-02-13 Andy Piper <andy@xemacs.org>
5409 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
5410 we did in fact enqueue the XM_MAPFRAME event.
5412 2002-01-15 Adrian Aichner <adrian@xemacs.org>
5414 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
5415 to fix problem switching between virtual desktops under virtuawin
5416 virtual window manager.
5418 2001-07-30 Adrian Aichner <adrian@xemacs.org>
5420 * event-msw.c: Typo fix.
5421 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
5422 magic XM_MAPFRAME event has been sent.
5424 2001-11-23 Andy Piper <andy@xemacs.org>
5426 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
5428 2001-11-21 Andy Piper <andy@xemacs.org>
5430 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
5431 mouse events outside the frame.
5433 2002-03-20 Andy Piper <andy@xemacs.org>
5435 * menubar-msw.c (mswindows_popup_menu): warning removal.
5436 * dialog-msw.c (dialog_popped_down): ditto.
5438 2001-12-11 Andy Piper <andy@xemacs.org>
5440 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
5441 * dialog-msw.c (mswindows_make_dialog_box_internal): set
5443 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
5444 * menubar-msw.c (mswindows_handle_wm_command): ditto.
5445 * menubar-msw.c (mswindows_popup_menu): ditto.
5447 2001-10-29 Andy Piper <andy@xemacs.org>
5449 * dialog-msw.c (handle_directory_dialog_box): quit if the user
5452 2002-01-03 Andy Piper <andy@xemacs.org>
5454 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
5458 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
5460 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
5461 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
5462 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5463 Detect and handle case where machine is set up for metric units
5465 2002-04-02 Andy Piper <andy@xemacs.org>
5467 * dired-msw.c (mswindows_get_files):
5468 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
5469 completely handled by XEmacs. Suggested by Thomas Vogler
5470 <mail@thomas-vogler.de>.
5472 2001-11-14 Andy Piper <andy@xemacs.org>
5474 * nt.c (REG_ROOT): change registry key to XEmacs.
5476 2002-04-27 Andy Piper <andy@xemacs.org>
5478 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
5480 2002-04-26 Andy Piper <andy@xemacs.org>
5482 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
5485 2002-03-14 Mike Alexander <mta@arbortext.com>
5487 * event-msw.c (mswindows_unwait_process): New, remove process from
5489 * process-nt.c (nt_finalize_process_data): Call
5490 mswindows_unwait_process
5491 * console-msw.h: Declare mswindows_unwait_process
5493 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
5495 * editfns.c (Fdecode_time):
5496 (Fformat_time_string):
5497 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
5498 (make_time): Warning elimination (change arg name).
5500 2001-11-24 Andy Piper <andy@xemacs.org>
5502 * window.c (Fsplit_window): Doc return type.
5504 2002-04-01 Andy Piper <andy@xemacs.org>
5506 * emacs.c (Fkill_emacs): Only output message box in interactive
5509 2002-04-26 Andy Piper <andy@xemacs.org>
5511 * config.h.in: pull in 21.5.x change to stop alloca warnings under
5514 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
5516 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
5519 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
5521 * XEmacs 21.4.8 "Honest Recruiter" is released.
5523 2002-05-07 Nix <nix@esperi.demon.co.uk>
5525 Supersedes 2002-04-17 patch.
5527 * process.h (PROCESS_LIVE_P): Use the process status as
5528 evidence of health, not the state of the input stream.
5529 (PROCESS_READABLE_P): Say if the process is readable
5530 from. (It may be dead nonetheless.)
5531 (CHECK_READABLE_PROCESS): Test for that condition.
5533 * process.c (create_process): Use PROCESS_READABLE_P.
5534 (read_process_output, set_process_filter): Likewise.
5536 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
5537 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
5539 This code is #if 0'd, this is not the time to add new functions:
5541 * process.c (Fprocess_readable_p): Report readability status.
5542 * process.c (Qprocess_readable_p): New, associated symbol...
5543 * process.c (syms_of_process): ... initialize it.
5545 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
5547 * XEmacs 21.4.7 "Economic Science" is released.
5549 2002-04-17 Nix <nix@esperi.demon.co.uk>
5551 * process.h (PROCESS_LIVE_P): Use the process status as
5552 evidence of health, not the state of the input stream.
5554 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
5556 * sysdep.c (sys_siglist): change "signum" to "signal"
5558 2001-04-21 Martin Buchholz <martin@xemacs.org>
5560 * s/darwin.h: New file.
5561 Thanks to Greg Parker <gparker@cs.stanford.edu>.
5563 2002-04-23 Andreas Jaeger <aj@suse.de>
5565 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
5566 which use lib64 for 64-bit libs.
5567 (START_FILES): Likewise.
5569 2002-02-11 Mike Sperber <mike@xemacs.org>
5572 (x_IO_error_handler):
5573 (x_init_device): Temporarily keep device in static variable
5574 `device_being_initialized' so we can recover gracefully from
5575 internal XOpenDevice failure. (XOpenDevice is documented to
5576 return NULL on failure, but sometimes calls the IO error handler
5579 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
5581 * dired.c (Ffile_name_all_completions): Change documentation --
5582 remove reference to completion-ignored-extensions.
5583 * dired.c (vars_of_dired): Change documentation for
5584 completion-ignored-extensions -- remove reference to
5585 file-name-all-completions.
5587 2002-03-06 Jerry James <james@xemacs.org>
5589 * emodules.c (emodules_load): Fix multiple loading of same module.
5591 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
5592 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
5593 RTLD_LAZY to avoid incorrect symbol binding when using nested
5594 shared libraries on Solaris.
5596 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
5598 * fileio.c (Ffind_file_name_handler): Improve docstring.
5600 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
5602 * fns.c (Fmapconcat): Improve docstring.
5604 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
5606 * device-gtk.c: Add prototype for
5607 emacs_gtk_selection_clear_event_handle.
5608 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
5609 selection. Setup signal handler for "selection_clear_event"
5610 (emacs_gtk_selection_clear_event_handle).
5612 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
5613 other applications owning the clipboard (based on
5614 x_handle_selection_clear).
5616 2001-12-23 William M. Perry <wmperry@gnu.org>
5618 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
5620 2002-01-04 Martin Buchholz <martin@xemacs.org>
5622 * keymap.c (define_key_alternate_name): Parenthesize EQ.
5624 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
5626 * XEmacs 21.4.6 "Common Lisp" is released.
5628 2001-12-16 Torsten Duwe <duwe@caldera.de>
5630 * search.c (Freplace_match): Add missing sub-expression functionality.
5632 * buffer.c (decode_buffer): Add a check for pointer type to
5633 decode_buffer, before gcc's CSE optimization reorders a
5634 dereference in front of the allow_string test.
5636 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
5638 * window.c (window_loop): Fix bug that sometimes prevented
5639 window_loop() from iterating across multiple devices. Also, at
5640 Ben's request, changed infloop-detecting code to abort() instead
5641 of silently terminating window_loop().
5643 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
5645 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
5646 * editfns.c (make_time): New function.
5647 (Fencode_time): Use it instead of wasteful_word_to_lisp.
5648 * lisp.h (make_time): Prototype and comment it.
5649 * dired.c (wasteful_word_to_lisp): Deprecate.
5650 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
5652 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
5654 * fileio.c (auto_save_1): Use current coding system, not
5657 2001-11-13 Ben Wing <ben@xemacs.org>
5660 * window.c (window_truncation_on):
5661 * window.c (syms_of_window):
5662 truncate-partial-width-windows should respect the buffer being
5663 displayed, like other redisplay vars.
5665 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
5667 * event-stream.c (Fread_key_sequence): save current buffer.
5669 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
5671 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
5673 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
5675 * alloc.c (lcrecord_stats): Add space for types defined in modules.
5677 2001-10-26 Mike Alexander <mta@arbortext.com>
5679 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
5681 2001-10-25 Andy Piper <andy@xemacs.org>
5684 * dialog-msw.c (handle_directory_proc): new function.
5685 (handle_directory_dialog_box): new fucntion.
5686 (handle_file_dialog_box): use new directory dialog support.
5687 (mswindows_make_dialog_box_internal): ditto.
5688 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
5690 (mswindows_find_frame): make global.
5691 * fileio.c (Fexpand_file_name): build fix.
5692 * general-slots.h: add Qdirectory.
5693 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
5695 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
5696 cygwin not leaving win32 paths unchanged.
5697 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
5698 cygwin runtime to do path conversion.
5699 (Fmswindows_shell_execute): fix cygwin handling of URLs.
5700 (syms_of_win32): add new function.
5701 * window.c (window_loop): build fix.
5703 2001-10-15 Andy Piper <andy@xemacs.org>
5705 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
5707 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
5709 * XEmacs 21.4.5 "Civil Service" is released.
5711 2001-04-08 Danny Colascione <qtmstr@optonline.net>
5713 * glyphs-x.c: Force buffer-tab highlight update when moving the
5714 buffer, avoiding an ugly black border, used for keyboard focus
5715 indication, on a widget that can never have keyboard focus, the
5718 2001-08-30 Daiki Ueno <ueno@unixuser.org>
5720 * process-unix.c (unix_open_multicast_group): Remove too much
5721 conversion between host and network byte order.
5723 2001-09-10 Nix <nix@esperi.demon.co.uk>
5725 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
5726 before replacing them.
5728 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
5731 * src/window.c (undedicate_windows): Use it.
5732 * src/window.h: Add prototype.
5734 2001-09-17 Ben Wing <ben@xemacs.org>
5736 * fileio.c (normalize_filename):
5737 * fileio.c (Fexpand_file_name):
5738 Fix various C++ compile errors in Andy's recent code.
5740 * callint.c (Fcall_interactively):
5741 * editfns.c (Ftemp_directory):
5742 * editfns.c (Fuser_full_name):
5743 * emacs.c (argmatch):
5744 * lread.c (locate_file_map_suffixes):
5745 * redisplay-x.c (x_ring_bell):
5746 Fix sign-compare warnings.
5748 2001-09-08 Andy Piper <andy@xemacs.org>
5750 * fileio.c (normalize_filename): copied from nt.c
5751 * (Ffile_name_directory): enable win32 paths under cygwin.
5752 * (Ffile_name_nondirectory): ditto.
5753 * (directory_file_name): ditto.
5754 * (Fexpand_file_name): ditto.
5755 * (Ffile_truename): ditto.
5756 * (Fsubstitute_in_file_name): ditto.
5757 * (Ffile_name_absolute_p): ditto.
5758 * (Ffile_readable_p): ditto.
5760 2001-09-08 Andy Piper <andy@xemacs.org>
5762 * device-msw.c (mswindows_finish_init_device): remove dde
5764 * device-msw.c (mswindows_init_dde): factor out from
5765 mswindows_finish_init_device()
5766 * device-msw.c (init_mswindows_very_early): new function
5767 initialize but don't enable dde.
5768 * emacs.c (main_1): call init_mswindows_very_early.
5770 * event-msw.c (mswindows_dde_callback): only execute when we are
5772 * symsinit.h: declare init_mswindows_very_early.
5774 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5776 [sjt: This has been in 21.5 for months with no complaints.]
5778 * console.h (struct console_methods): Added flags member.
5779 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
5780 (CONMETH_IMPL_FLAG):
5781 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
5782 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
5784 * device.c (window_system_pixelated_geometry): Use the above macros.
5786 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
5787 implememntation flag.
5788 * device.h (DEVICE_DISPLAY_P): Use it.
5790 * frame.c (delete_frame_internal): Use the above macro.
5792 * redisplay.c (redisplay_device): Use it.
5793 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
5794 (redisplay_frame): Ditto.
5796 * device-msw.c (mswindows_device_implementation_flags): Removed.
5797 (msprinter_device_implementation_flags): Removed.
5798 (console_type_create_device_mswindows): Removed references to
5799 implementation_flags methods, set implementation flags here.
5800 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
5802 * device-gtk.c (gtk_device_implementation_flags): Removed method.
5803 (console_type_create_device_gtk): Removed method declaration.
5804 Added commented out statement which semantically matches the
5805 commented out statement in the above removed method.
5807 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
5809 The attached patch fixes a few warnings.
5811 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
5812 * src/frame-gtk.c: guard against GNOME calls in GTK only
5813 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
5814 * src/select-gtk.c: prototype lisp_to_time
5816 2001-06-08 Ben Wing <ben@xemacs.org>
5818 ------ gc-in-window-procedure fixes ------
5821 * alloc.c (struct post_gc_action):
5822 * alloc.c (register_post_gc_action):
5823 * alloc.c (run_post_gc_actions):
5824 * alloc.c (garbage_collect_1):
5825 Create "post-gc actions", to avoid those dreaded "GC during window
5826 procedure" problems.
5829 Abort, clean and simple, when GC in window procedure. We want
5830 to flush these puppies out.
5833 * glyphs-msw.c (finalize_destroy_window):
5834 * glyphs-msw.c (mswindows_finalize_image_instance):
5835 Use a post-gc action when destroying subwindows.
5838 Declare register_post_gc_action().
5841 * scrollbar-msw.c (unshow_that_mofo):
5842 Use a post-gc action when unshowing scrollbar windows, if in gc.
5844 * redisplay.c (mark_redisplay):
5845 Add comment about the utter evilness of what's going down here.
5847 ------ cygwin setitimer fixes ------
5849 * Makefile.in.in (sheap_objs):
5850 * Makefile.in.in (profile_objs):
5851 * Makefile.in.in (objs):
5852 Compile profile.c only when HAVE_SETITIMER.
5854 * nt.c (mswindows_sigset):
5855 * nt.c (mswindows_sighold):
5856 * nt.c (mswindows_sigrelse):
5857 * nt.c (mswindows_sigpause):
5858 * nt.c (mswindows_raise):
5859 * nt.c (close_file_data):
5863 Move setitimer() emulation to win32.c, because Cygwin needs it too.
5866 * profile.c (Fstart_profiling):
5867 * profile.c (Fstop_profiling):
5868 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
5869 instead of just plain setitimer().
5872 * signal.c (set_one_shot_timer):
5874 Define qxe_setitimer() as an encapsulation around setitimer() --
5875 call setitimer() directly unless Cygwin or MS Win, in which case
5876 we use our simulated version in win32.c.
5879 * systime.h (struct itimerval):
5880 * systime.h (ITIMER_REAL):
5881 Prototype mswindows_setitimer() and qxe_setitimer(). Long
5882 comment about "qxe" and the policy regarding encapsulation.
5885 * win32.c (setitimer_helper_proc):
5886 * win32.c (setitimer_helper_period):
5887 * win32.c (setitimer_helper):
5888 * win32.c (mswindows_setitimer):
5889 Move setitimer() emulation here, so Cygwin can use it.
5890 Rename a couple of functions and variables to be longer and more
5891 descriptive. In setitimer_helper_proc(), send the signal
5892 using either mswindows_raise() or (on Cygwin) kill(). If for
5893 some reason we are still getting lockups, we'll change the kill()
5894 to directly invoke the signal handlers.
5896 ------ windows shell fixes ------
5900 Comments about how these two files must die.
5902 * callproc.c (init_callproc):
5903 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
5904 not just COMSPEC. (more correct and closer to FSF.) Don't
5905 force a value for SHELL into the environment. (Comments added
5906 to explain why not.)
5908 * nt.c (init_user_info):
5909 Don't shove a fabricated SHELL into the environment. See above.
5911 2001-06-01 Ben Wing <ben@xemacs.org>
5913 * Makefile.in.in (ldflags):
5914 eliminate that pesky "defaulting to 00401000" warning.
5918 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
5920 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
5921 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
5923 2001-04-24 Jerry James <james@xemacs.org>
5925 * faces.h: pass parameters to Fadd_spec_to_specifier in the
5928 2001-06-01 Ben Wing <ben@xemacs.org>
5930 * event-msw.c (debug_mswin_messages):
5931 conditionalize the messages that were causing compile errors.
5932 (if only macros could generate #ifdef statements ...)
5934 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
5936 * XEmacs 21.4.4 "Artificial Intelligence" is released.
5938 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
5940 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
5942 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
5944 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
5945 * process-unix.c (unix_canonicalize_host_name):
5946 sysdep.c (init_system_name):
5947 Use it to conditionally support IPv6 canonicalization.
5949 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
5952 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
5954 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
5956 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
5957 attempt is made to scroll when no scroll bar is available.
5959 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
5961 * input-method-motif.c (XIM_delete_frame): New callback.
5962 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
5963 got deleted from 21.4.3.)
5965 2001-06-01 Ben Wing <ben@xemacs.org>
5967 * nt.c (mswindows_utime):
5968 * nt.c (close_file_data):
5969 fix off-by-one-indirection error.
5971 2001-05-29 Adrian Aichner <adrian@xemacs.org>
5973 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
5974 because set_file_times() now takes Lisp_Object path, instead of
5976 * nt.c: Include buffer.h.
5977 * nt.c (convert_from_time_t): New.
5978 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
5979 not set mtime correctly.
5980 * nt.h: Declare mswindows_utime().
5981 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
5982 path, instead of char*.
5983 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
5985 2001-05-30 Ben Wing <ben@xemacs.org>
5989 (Stephen, just take all event-msw.c patches. This includes
5990 the "iconify" fix below.)
5993 * event-msw.c (mswindows_dequeue_dispatch_event):
5994 * event-msw.c (assert):
5995 * event-msw.c (emacs_mswindows_quit_p):
5996 * event-msw.c (debug_mswin_messages):
5997 * event-msw.c (debug_output_mswin_message):
5998 * event-msw.c (vars_of_event_mswindows):
5999 Fix yet more problems with C-g handling.
6000 Implement debug-mswindows-events.
6002 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6004 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
6006 2001-05-23 Ben Wing <ben@xemacs.org>
6008 * event-msw.c (winsock_writer):
6009 * event-msw.c (winsock_closer):
6010 prior kludgy code was clobbering the buffer, thinking it was
6011 "unused" space to store an unneeded return value; instead, use
6012 the variable we've already got staring us in the face.
6014 2001-05-17 Andy Piper <andy@xemacs.org>
6016 * sysfile.h: don't assume that file attributes are boolean
6018 2001-05-23 Ben Wing <ben@xemacs.org>
6020 * device-msw.c (msprinter_init_device):
6021 signal an error rather than crash with an unavailable network
6022 printer (from Mike Alexander).
6025 * event-msw.c (struct winsock_stream):
6026 * event-msw.c (winsock_writer):
6027 * event-msw.c (winsock_closer):
6028 * event-msw.c (make_winsock_stream_1):
6029 cleanup headers. fix (hopefully) an error with data corruption
6030 when sending to a network connection.
6032 * fileio.c (Fexpand_file_name): Fix evil code that attempts
6033 to handle the ~user prefix by (a) always assuming we're referencing
6034 ourselves and not even verifying the user -- hence any file with
6035 a tilde as its first char is invalid! (b) if there wasn't a slash
6036 following the filename, the pointer was set *past* the end of
6037 file and we started reading from uninitialized memory. Now we
6038 simply treat these as files, always.
6040 * buffer.c (common_init_complex_vars_of_buffer): comment change.
6042 2001-05-19 Ben Wing <ben@xemacs.org>
6044 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
6047 * process-nt.c (vars_of_process_nt):
6048 remove unused mswindows-quote-process-args. rec for 21.4.
6050 2001-05-12 Ben Wing <ben@xemacs.org>
6052 * event-msw.c (mswindows_dde_callback):
6053 * event-msw.c (mswindows_wnd_proc):
6054 eliminate cygwin warnings.
6056 2001-05-06 Ben Wing <ben@xemacs.org>
6060 * device-msw.c (print_dialog_worker):
6061 * device-msw.c (mswindows_handle_print_dialog_box):
6062 * device-msw.c (syms_of_device_mswindows):
6063 * dialog-msw.c (mswindows_make_dialog_box_internal):
6065 implement printing the selection when it's selected.
6067 2001-05-20 Drazen Kacar <dave@arsdigita.com>
6069 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
6071 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6073 * lisp.h (EMACS_INT_MAX): This should be one bit less since
6074 EMACS_INT is signed.
6076 2001-04-15 Michael Lausch <mla@1012surf.net>
6078 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
6079 gtk_widget_request_size() to give scrollbar >0 width for
6082 2001-05-30 William M. Perry <wmperry@gnu.org>
6084 * event-gtk.c: Check for buttons as modifier keys.
6086 2001-05-25 Craig Lanning <CraigL@Knology.net>
6089 Properly find MinGW's <process.h> inside Cygwin's restructured
6090 include directories. Don't try to include <cygwin/version.h>
6091 since we are dropping support for MinGW in versions of Cygwin
6094 Drop support for MinGW in versions of Cygwin before b21.
6096 Properly find MinGW's <process.h> inside Cygwin's restructured
6097 include directories.
6099 Drop support for MinGW in versions of Cygwin before b21.
6101 Even though a.out.h is no longer detected by configure, allow
6102 MinGW to use it until we figure out how to do the job with Win32.
6104 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
6106 * syntax.c (find_start_of_comment):
6107 Fix `unbalanced parentheses' bug when dealing with mixed comment
6108 styles in c++/java/etc. mode
6110 2001-05-29 Mike Alexander <mta@arbortext.com>
6112 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
6113 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
6115 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
6117 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
6119 2001-03-31 Mike Sperber <mike@xemacs.org>
6121 * search.c (Freplace_match): Support FSF-style specification of
6122 match subexpression when applied to a buffer.
6124 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6126 * event-stream.c (is_scrollbar_event): add missing semicolon
6128 2001-05-22 Isaac Hollander <ysh@mindspring.com>
6130 * Makefile.in.in: Use TAR macro instead of hardcoding
6131 tar. Allows use of GNU tar instead of system tar
6133 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6135 * event-stream.c (is_scrollbar_event): add missing semicolon
6137 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6139 * XEmacs 21.4.3 "Academic Rigor" is released.
6141 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6143 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
6145 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
6147 * buffer.c (Vcase_fold_search): Remove obsolete
6148 comment about non ASCII case-fold-search. This
6149 bug has been fixed by case-table changes.
6151 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
6153 * event-msw.c: Restore include of events-mod.h.
6155 2001-04-22 zhaoway <zw@debian.org>
6157 * event-stream.c (is_scrollbar_event): Noop returning 0 if
6160 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
6162 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
6164 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
6166 * mule-charset.c (Fmake_charset): Add missing else.
6168 2001-04-23 Ben Wing <ben@xemacs.org>
6170 * event-msw.c (FAKE_MOD_QUIT):
6171 * event-msw.c (mswindows_dequeue_dispatch_event):
6172 * event-msw.c (mswindows_wnd_proc):
6173 * event-msw.c (emacs_mswindows_quit_p):
6174 Get critical quit working.
6176 2001-05-05 Ben Wing <ben@xemacs.org>
6180 * device-msw.c (mswindows_get_default_margin):
6181 * frame-msw.c (mswindows_size_frame_internal):
6182 * frame-msw.c (msprinter_init_frame_1):
6183 * frame-msw.c (vars_of_frame_mswindows):
6184 Change top/bottom margin defaults to 0.5 inches.
6186 2001-05-01 Martin Buchholz <martin@xemacs.org>
6188 Fix link error with gcc 3.0 on Linux.
6189 * terminfo.c (UP): Remove.
6190 * terminfo.c (BC): Remove.
6191 * terminfo.c (PC): Remove.
6192 They weren't used, and in any case, these symbols should be
6193 defined in the *library*.
6195 2001-05-03 Martin Buchholz <martin@xemacs.org>
6197 * s/aix4.h: Fix crash with xlc -O3.
6198 Improve comment explaining how -O3 works.
6200 2001-04-15 Ben Wing <ben@xemacs.org>
6203 * event-stream.c (Fnext_event):
6204 * event-stream.c (is_scrollbar_event):
6205 * event-stream.c (execute_command_event):
6206 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
6207 crash' problem. His fix introduces other problems. We filter
6208 out scrollbar events specifically, making them somewhat invisible
6209 to command-building, and not appearing in `this-command-keys'.
6210 More work is still needed (see comments in event-stream.c), but
6211 this fixes all the major problems.
6213 2001-04-20 Ben Wing <ben@xemacs.org>
6215 * .cvsignore: Added stuff for Windows.
6217 2001-04-28 Ben Wing <ben@xemacs.org>
6219 * buffer.c (Ferase_buffer):
6220 * editfns.c (buffer_insert1):
6221 * editfns.c (Finsert_before_markers):
6222 * editfns.c (Finsert_string):
6223 * editfns.c (Finsert_char):
6224 * editfns.c (Fdelete_region):
6225 * editfns.c (Fwiden):
6226 * editfns.c (Fnarrow_to_region):
6227 remove bogus lines setting zmacs_region_stays to 0.
6229 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
6231 * process-unix.c (unix_open_network_stream): If connect() fails
6232 invalidate file descriptor after closing it.
6234 2001-03-08 Mike Alexander <mta@arbortext.com>
6236 * event-msw.c (mswindows_need_event_in_modal_loop):
6237 Don't dispatch a message if we didn't get one.
6238 (mswindows_need_event):
6239 Terminate the correct process when one exits instead of the first
6240 one on Vprocess_list and look for process termination when in
6241 mswindows_protect_modal_loop.
6243 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
6245 * XEmacs 21.4.1 "Copyleft" is released.
6247 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6249 * input-method-motif.c (XIM_delete_frame): New callback.
6250 (XIM_init_frame): Register it.
6252 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6254 * XEmacs 21.4.0 "Solid Vapor" is released.
6256 2001-04-15 Ben Wing <ben@xemacs.org>
6258 * cmdloop.c (call_command_loop):
6259 Fix braino in bit-rotting code.
6261 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
6263 * extents.c (Fset_extent_endpoints): Force creation of extent info
6264 in buffer_or_string.
6266 * extents.c (process_extents_for_insertion_mapper): Correctly
6267 check for open-open zero-length extents.
6269 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6271 * lisp.h: New typedefs Memory_count, Element_count.
6274 Sign-compare warning elimination: several unsigned -> signed.
6275 Based on work by Ben Wing <ben@xemacs.org>.
6277 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
6279 * XEmacs 21.2.47 "Zephir" is released.
6281 2001-04-02 Jan Vroonhof <jan@xemacs.org>
6283 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
6285 2001-04-03 Mike Sperber <mike@xemacs.org>
6287 * search.c: Revert previous patch due because of release.
6289 2001-03-30 Ben Wing <ben@xemacs.org>
6292 Add missing killpg prototype.
6295 Add a comment about fixing problems when a new entry is added
6298 * frame-msw.c (mswindows_init_frame_1):
6299 Fix compile warnings.
6301 * menubar.c (vars_of_menubar):
6302 Provide `menu-accelerator-support' to indicate that we properly
6303 support %_ in menu specifications, so that package code can
6304 conditionalize on this (and remove %_ from menu specifications
6309 * scrollbar-msw.c (can_scroll):
6311 Fix handling of mouse wheel under Windows to follow standards --
6312 now scrolls window under pointer, not selected window.
6314 2001-03-31 Mike Sperber <mike@xemacs.org>
6316 * search.c (Freplace_match): Support FSF-style specification of
6317 match subexpression when applied to a buffer.
6319 2001-03-15 Martin Buchholz <martin@xemacs.org>
6321 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
6322 function to modify KEYMAP, so map over a copy of the hash table.
6324 2001-03-21 Martin Buchholz <martin@xemacs.org>
6326 * XEmacs 21.2.46 "Urania" is released.
6328 2001-03-20 Dan Holmsand <dan@eyebee.com>
6330 * realpath.c (xrealpath): Make file-truename work with symlinks to
6331 /cygdrive paths on cygwin. Always lowercase drive-letters on
6333 (cygwin_readlink): Don't try to find canonical filename unless
6336 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
6338 * ChangeLog: Log GTK merge.
6344 Revert gratuitous whitespace changes from GTK merge.
6346 * emacs.c: Document end of complex #ifdef @ l. 1495.
6349 2001-03-12 Andy Piper <andy@xemacs.org>
6351 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
6352 have to do likewise.
6354 2001-03-12 Andy Piper <andy@xemacs.org>
6356 * sysdep.c: we only support mingw now.
6358 2001-03-09 Andy Piper <andy@xemacs.org>
6360 * unexcw.c (copy_executable_and_dump_data_section): making approx
6361 overrun a warning only.
6363 2001-03-10 William M. Perry <wmperry@aventail.com>
6365 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
6366 satisfy Stephen's identical-after-cpp plea.
6368 2001-03-02 Ben Wing <ben@xemacs.org>
6371 * cmds.c (Fforward_char):
6375 Augment documentation of the most common motion commands to make
6376 note of the shifted-motion support.
6378 2001-03-02 Ben Wing <ben@xemacs.org>
6380 * nt.c (mswindows_fstat):
6381 * nt.c (mswindows_stat):
6382 * search.c (boyer_moore):
6383 Fix compile warnings under Windows.
6385 * sysdep.c (sys_readdir):
6386 Fix buggy filename-conversion code under Mule.
6388 2001-03-09 William M. Perry <wmperry@aventail.com>
6410 * redisplay-output.c:
6416 The Great GTK Merge.
6423 * emacs-widget-accessors.c:
6437 * native-gtk-toolbar.c:
6448 The Great GTK Merge: new files.
6450 2001-02-26 Ben Wing <ben@xemacs.org>
6452 Reapplied Lstream change.
6454 2001-02-26 Ben Wing <ben@xemacs.org>
6456 Undid the last change, since it is more controversial than I
6457 thought. It should be back in at some point soon.
6459 2001-02-25 Ben Wing <ben@xemacs.org>
6462 * callproc.c (Fold_call_process_internal):
6463 * event-msw.c (ntpipe_slurp_reader):
6464 * event-msw.c (ntpipe_shove_writer):
6465 * event-msw.c (winsock_reader):
6466 * event-msw.c (winsock_writer):
6468 * file-coding.c (detect_eol_type):
6469 * file-coding.c (detect_coding_type):
6470 * file-coding.c (determine_real_coding_system):
6471 * file-coding.c (Fdetect_coding_region):
6472 * file-coding.c (decoding_reader):
6473 * file-coding.c (decoding_writer):
6474 * file-coding.c (mule_decode):
6475 * file-coding.c (Fdecode_coding_region):
6476 * file-coding.c (encoding_reader):
6477 * file-coding.c (encoding_writer):
6478 * file-coding.c (mule_encode):
6479 * file-coding.c (Fencode_coding_region):
6480 * file-coding.c (detect_coding_sjis):
6481 * file-coding.c (decode_coding_sjis):
6482 * file-coding.c (encode_coding_sjis):
6483 * file-coding.c (detect_coding_big5):
6484 * file-coding.c (decode_coding_big5):
6485 * file-coding.c (encode_coding_big5):
6486 * file-coding.c (detect_coding_ucs4):
6487 * file-coding.c (decode_coding_ucs4):
6488 * file-coding.c (encode_coding_ucs4):
6489 * file-coding.c (detect_coding_utf8):
6490 * file-coding.c (decode_coding_utf8):
6491 * file-coding.c (encode_coding_utf8):
6492 * file-coding.c (detect_coding_iso2022):
6493 * file-coding.c (decode_coding_iso2022):
6494 * file-coding.c (encode_coding_iso2022):
6495 * file-coding.c (decode_coding_no_conversion):
6496 * file-coding.c (encode_coding_no_conversion):
6497 * glyphs-x.c (write_lisp_string_to_temp_file):
6498 * gpmevent.c (tty_get_foreign_selection):
6501 * lstream.c (Lstream_flush_out):
6502 * lstream.c (Lstream_adding):
6503 * lstream.c (Lstream_write_1):
6504 * lstream.c (Lstream_write):
6505 * lstream.c (Lstream_raw_read):
6506 * lstream.c (Lstream_read_more):
6507 * lstream.c (Lstream_read):
6508 * lstream.c (Lstream_unread):
6509 * lstream.c (Lstream_fputc):
6510 * lstream.c (stdio_reader):
6511 * lstream.c (stdio_writer):
6512 * lstream.c (filedesc_reader):
6513 * lstream.c (filedesc_writer):
6514 * lstream.c (lisp_string_reader):
6515 * lstream.c (struct fixed_buffer_stream):
6516 * lstream.c (make_fixed_buffer_input_stream):
6517 * lstream.c (make_fixed_buffer_output_stream):
6518 * lstream.c (fixed_buffer_reader):
6519 * lstream.c (fixed_buffer_writer):
6520 * lstream.c (struct resizing_buffer_stream):
6521 * lstream.c (resizing_buffer_writer):
6522 * lstream.c (dynarr_writer):
6523 * lstream.c (lisp_buffer_reader):
6524 * lstream.c (lisp_buffer_writer):
6526 * lstream.h (lstream_implementation):
6527 * lstream.h (struct lstream):
6529 * process-nt.c (nt_send_process):
6530 * process-unix.c (unix_send_process):
6532 Correct Lstream lossage due to mixing of signed and unsigned
6533 quantities. All Lstream uses of size_t and ssize_t are now a
6534 single signed data type Lstream_data_count. This fixes problems
6535 under Windows with sending large quantities of data to a process,
6536 and may well fix other subtle bugs.
6538 2001-02-23 Martin Buchholz <martin@xemacs.org>
6540 * XEmacs 21.2.45 "Thelxepeia" is released.
6542 2001-02-21 Martin Buchholz <martin@xemacs.org>
6544 * lisp-union.h (XSETINT):
6547 Reverse previous change of 2001-02-06.
6549 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
6551 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
6553 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6554 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
6555 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
6556 * regex.c (POS_AS_IN_BUFFER): removed
6557 * regex.c (re_search_2):
6558 * regex.c (re_match_2):
6559 Don't use an offset of 1 when calculating buffer positions, since
6560 `BI_BUF_BEGV' does it already.
6562 2001-02-18 Wim Dumon <wim@easics.be>
6564 * insdel.c (prepare_to_modify_buffer): Also check for
6565 supersession when clash-detection is enabled.
6567 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
6569 * regex.c (re_match_2_internal):
6570 Convert temp characters from 'const unsigned char' to 're_char'.
6571 Fix crashing bug with extended characters under mule.
6572 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
6573 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
6574 font-lock, pdump, and new syntax-table code.
6575 * syntax.c (find_start_of_comment):
6576 (find_end_of_comment):
6578 Fix crashing bugs involving moving beyond end of buffer.
6579 * syntax.c (find_start_of_comment):
6580 Fixed logic to allow proper detection of cases where the same
6581 character is used to end both a two-char comment start and a
6582 two-char comment end sequence. Fixes `(forward-comment -1)'.
6583 * syntax.c (find_start_of_comment):
6584 Return position just past last comment-end character for all cases
6585 (previously was only done for two-char comment-end sequences).
6586 * syntax.c (forward-comment):
6587 Take value returned from `find_end_of_comment', rather than
6589 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6590 Properly deal with BUFFERP (syntax_cache.object)
6592 2001-02-17 Martin Buchholz <martin@xemacs.org>
6594 * alloc.c (Fgarbage_collect):
6595 * alloc.c (make_bit_vector_from_byte_vector):
6596 -Wsign-compare-correctness.
6598 2001-02-16 Martin Buchholz <martin@xemacs.org>
6600 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
6601 (XSETCHAR): Likewise.
6602 (XSETOBJ): Likewise.
6604 2001-02-15 Martin Buchholz <martin@xemacs.org>
6606 * mule-canna.c (canna-func-delete_previous):
6607 Rename to canna-func-delete-previous.
6609 2001-02-14 Martin Buchholz <martin@xemacs.org>
6611 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
6613 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
6615 * font-lock.c (find_context): Fix C++ compile errors introduced by
6618 2001-02-13 Martin Buchholz <martin@xemacs.org>
6620 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
6621 pragma, but earlier ones barf on the same pragma.
6623 2001-02-06 Mike Sperber <mike@xemacs.org>
6625 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
6626 `configure-mule-lisp-directory'.
6628 2001-02-12 Martin Buchholz <martin@xemacs.org>
6630 Make sure dump-id.c is compiled in the same way as other .c's.
6631 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
6632 * dump-id.h: Remove.
6633 * emacs.c: Move dump-id.h into dumper.h.
6634 * dumper.h: Move dump-id.h into dumper.h.
6636 Use standard .c.o rule for building dump-id.o.
6637 Remove preprocessor flags from link command.
6638 Add dump-id.o to ${otherobjs} if PDUMP.
6640 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
6642 Port FSF 20.7 syntax table improvements.
6646 Fixups for new syntax table stuff.
6647 * dired.c: Include syntax.c.
6648 (Fdirectory_files): Initialize regex_match_object and
6650 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
6651 and Fget_char_property.
6653 Use ported FSF 20.7 syntax table improvements.
6658 2001-02-09 Martin Buchholz <martin@xemacs.org>
6660 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
6661 Unixware's enum boolean from sys/types.h.
6663 2001-02-10 Martin Buchholz <martin@xemacs.org>
6665 Fix support for building with latest Purify.
6666 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
6667 (PURIFY_FLAGS): Likewise.
6669 2001-02-09 Martin Buchholz <martin@xemacs.org>
6671 * fileio.c (lisp_string_set_file_times): New.
6672 * fileio.c (Fcopy_file): Use it.
6674 (copy-file filename non-ascii-filename t t)
6675 ==> No such file or directory, non-ascii-filename
6677 2001-02-10 Martin Buchholz <martin@xemacs.org>
6679 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
6680 USHRT_MAX seems clearer than ~0 anyways.
6682 2001-02-09 Martin Buchholz <martin@xemacs.org>
6684 dumper improvements. Inspired by Olivier.
6685 * dumper.c (pdump_max_align): New.
6686 * dumper.c (pdump_add_entry): Use pdump_max_align.
6687 * dumper.c (pdump_get_entry_list): Likewise.
6688 * dumper.c (pdump_scan_by_alignment): Likewise.
6689 Don't iterate through unnecessary alignments.
6690 * dumper.c (pdump_file_get): No need to align result of malloc().
6691 * dumper.c (pdump_mallocadr): Remove.
6692 The result of malloc() is guaranteed to be maximally aligned.
6693 * dumper.c: s/elmt/elt/g;
6694 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
6695 * dumper.c (pdump_alert_undump_object): Likewise.
6696 * dumper.c (pdump_align_table):
6697 Don't support alignments > 64.
6698 Store ALIGNOF's, not shift counts, in table.
6700 2001-02-09 Martin Buchholz <martin@xemacs.org>
6702 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
6703 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
6704 * systime.h: Use HAVE_UTIME.
6705 * sysdep.c (struct utimbuf): Remove.
6706 * sysdep.c (set_file_times): Prefer utime() to utimes().
6707 * config.h.in (HAVE_UTIME): New.
6708 * config.h.in (HAVE_UTIME_H): Remove.
6709 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
6711 2001-02-09 Martin Buchholz <martin@xemacs.org>
6713 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
6715 2001-02-08 Martin Buchholz <martin@xemacs.org>
6717 * s/irix6-0.h: Use the standard system memmove, not bcopy.
6719 2001-02-08 Martin Buchholz <martin@xemacs.org>
6721 * XEmacs 21.2.44 "Thalia" is released.
6723 2001-02-06 Martin Buchholz <martin@xemacs.org>
6725 Fixes crashes in kill-emacs on some systems.
6726 * process-unix.c (unix_kill_child_process):
6727 It's OK for kill() to fail with ESRCH.
6729 2001-02-07 Martin Buchholz <martin@xemacs.org>
6731 Contortions to make .gdbinit tricks work on most systems.
6732 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
6733 * alloc.c (dbg_valmask): Make non-const.
6734 * alloc.c (dbg_typemask): Make non-const.
6735 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
6736 * alloc.c (dbg_valbits): Make non-const.
6737 * alloc.c (dbg_gctypebits): Make non-const.
6738 * .gdbinit (decode_object): Make it work with AIX cc.
6740 2001-02-06 Martin Buchholz <martin@xemacs.org>
6742 * elhash.c (make_general_lisp_hash_table):
6743 Use simpler and more efficient calloc to clear entries.
6745 2001-02-07 Martin Buchholz <martin@xemacs.org>
6747 * window.c (window_scroll): Work around an AIX C compiler bug.
6748 Fixes 'scroll-up' does nothing problem with xlC.
6750 2001-02-05 Martin Buchholz <martin@xemacs.org>
6752 * .gdbinit: Remove obsolete comment.
6754 2001-01-31 Mike Alexander <mta@arbortext.com>
6756 * select.c (Fown_selection_internal): Set owned_p for device
6759 2001-02-01 Martin Buchholz <martin@xemacs.org>
6762 "not" cannot be used as a macro name as it is an operator in C++
6763 * config.h.in: Stop #defining `not'.
6764 * chartab.c (check_category_char): not ==> not_p
6765 * chartab.h: Likewise.
6766 * regex.c (re_match_2_internal): Likewise.
6768 2001-02-02 Martin Buchholz <martin@xemacs.org>
6770 * lisp-disunion.h: Fix up comments.
6772 2001-01-31 Martin Buchholz <martin@xemacs.org>
6774 * keymap.c (define_key_check_and_coerce_keysym):
6776 Support mouse-6 and mouse-7 bindings in the obvious way.
6778 2001-02-01 Martin Buchholz <martin@xemacs.org>
6780 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
6782 2001-01-30 Martin Buchholz <martin@xemacs.org>
6784 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
6785 Previous patch missed DEFVAR_INT_MAGIC.
6786 Make sure future DEFVAR_foo use correct types.
6787 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
6788 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
6789 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
6790 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
6791 * (DEFVAR_INT): Likewise.
6792 * redisplay.c (vertical_clip): Should be of type Fixnum.
6793 * redisplay.c (horizontal_clip): Likewise.
6794 * lisp.h (dump_add_opaque_int): New.
6795 (dump_add_opaque_fixnum): New.
6797 2001-01-29 Andy Piper <andy@xemacs.org>
6799 * glyphs-widget.c (check_valid_int_or_function): allow symbols
6800 since they can be eval'ed
6802 2001-01-29 Martin Buchholz <martin@xemacs.org>
6804 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
6805 Oops, XEmacs redefines `class'. Use `typename' instead.
6807 2001-01-28 Martin Buchholz <martin@xemacs.org>
6809 * dumper.c: Fix C++ compile errors.
6811 2001-01-29 Martin Buchholz <martin@xemacs.org>
6813 * tparam.c: Use correct prototypes.
6815 2001-01-28 Martin Buchholz <martin@xemacs.org>
6817 * sysproc.h: #include util.h for NetBSD's openpty.
6819 2001-01-27 Martin Buchholz <martin@xemacs.org>
6821 More 64-bit correctness.
6822 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
6823 Use a typedef `fixnum' for the type used for DEFVAR_INT.
6825 This finally finishes the 64-bit SGI port.
6826 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
6827 * symbols.c: Fix up comments and type casts.
6828 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
6829 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
6830 * symeval.h (Fixnum): New type.
6831 * symeval.h (symbol_value_type): Fix up comment.
6847 * mule-canna.c: A million DEFVAR_INTs here...
6848 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
6861 s/int/Fixnum/g in DEFVAR_INT declarations.
6863 2001-01-26 Martin Buchholz <martin@xemacs.org>
6865 Port pdump to SGI alignment-sensitive environment.
6866 Lisp Object sizeof methods now return aligned sizes. Rely on that.
6867 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
6869 Define and use aligned reading and writing macros.
6870 Use buffered stdio instead of posix i/o for faster dumping.
6871 Eliminate kludgy 256 byte space for header.
6872 Read and write from dump file using structs for alignment safety.
6873 * dumper.c (pdump_align_stream): New.
6874 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
6875 * dumper.c (PDUMP_READ_ALIGNED): New.
6876 * dumper.c (PDUMP_WRITE_ALIGNED): New.
6877 * dumper.c (pdump_static_Lisp_Object): New struct.
6878 * dumper.c (pdump_static_pointer): New struct.
6879 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
6880 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
6881 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
6882 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
6884 * dumper.c (pdump_backtrace):
6885 * dumper.c (pdump_get_indirect_count):
6886 * dumper.c (pdump_register_object):
6887 * dumper.c (pdump_register_struct):
6888 * dumper.c (pdump_reloc_one):
6889 * dumper.c (pdump_scan_by_alignment):
6890 * dumper.c (pdump_dump_from_root_struct_ptrs):
6891 * dumper.c (pdump_dump_opaques):
6892 * dumper.c (pdump_dump_rtables):
6893 * dumper.c (pdump_dump_from_root_objects):
6895 * dumper.c (pdump_load_finish):
6896 Use aligned reading and writing.
6898 * dumper.c (pdump_free): Make static.
6899 * dumper.c (pdump_hFile): Likewise.
6900 * dumper.c (pdump_hMap): Likewise.
6902 2001-01-26 Martin Buchholz <martin@xemacs.org>
6904 * XEmacs 21.2.43 "Terspichore" is released.
6906 2001-01-25 Martin Buchholz <martin@xemacs.org>
6908 Type fiddling for window_config.saved_windows_count
6909 * window.c (struct window_config):
6910 Make saved_windows_count member unsigned.
6911 * window.c (sizeof_window_config_for_n_windows):
6912 Make parameter unsigned.
6913 * window.c (mark_window_config):
6914 * window.c (window_config_equal):
6915 * window.c (free_window_configuration):
6916 * window.c (Fset_window_configuration):
6917 * window.c (count_windows):
6918 * window.c (Fcurrent_window_configuration):
6919 * window.c (reinit_vars_of_window):
6920 Update all callers and users.
6922 2001-01-25 Martin Buchholz <martin@xemacs.org>
6924 Alignment correctness for flexible arrays.
6925 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
6926 Make alignment-correct. Add interesting comments.
6927 * alloc.c (size_vector):
6928 * alloc.c (make_vector_internal):
6929 * alloc.c (make_bit_vector_internal):
6930 * alloc.c (sweep_bit_vectors_1):
6931 * fns.c (size_bit_vector):
6932 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
6933 * window.c (sizeof_window_config_for_n_windows):
6934 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
6936 2001-01-24 Martin Buchholz <martin@xemacs.org>
6938 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
6940 2001-01-23 Andy Piper <andy@xemacs.org>
6942 * select.c (Fown_selection_internal): pass owned_p
6944 * select-msw.c (mswindows_own_selection): New Signature.
6946 * console.h (struct console_methods): add owned_p to
6949 * select-x.c (x_own_selection): pass owned_p
6950 (hack_motif_clipboard_selection): use owned_p
6951 (vars_of_select_x): new variable -
6952 x_selection_strict_motif_ownership.
6954 2001-01-23 Martin Buchholz <martin@xemacs.org>
6956 * specifier.h (specifier_data_offset): Remove pointless parens.
6957 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
6959 2001-01-24 Martin Buchholz <martin@xemacs.org>
6961 Make Lisp_Object sizeof methods be alignment-correct.
6962 pdump must restore objects to the same alignment as the C compiler
6963 assumes. It really matters on SGIs.
6964 * lstream.c (aligned_sizeof_lstream): New.
6965 (sizeof_lstream): Use aligned_sizeof_lstream.
6966 (Lstream_new): Likewise.
6967 * opaque.c (aligned_sizeof_opaque): New.
6968 (sizeof_opaque): Use aligned_sizeof_opaque.
6969 (make_opaque): Likewise.
6970 * specifier.c (aligned_sizeof_specifier): New.
6971 (sizeof_specifier): Use aligned_sizeof_specifier.
6972 (make_specifier_internal): Likewise.
6974 2001-01-23 Martin Buchholz <martin@xemacs.org>
6976 * lstream.h (struct lstream): Use max_align_t for trailing data.
6977 * specifier.h (struct Lisp_Specifier): Likewise.
6979 2001-01-22 Martin Buchholz <martin@xemacs.org>
6981 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
6982 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
6983 (CCL_SUSPEND): Likewise.
6984 (CCL_INVALID_CMD): Likewise.
6985 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
6986 (ccl_driver): Likewise.
6987 (CCL_WRITE_CHAR): Macro hygiene.
6988 (CCL_WRITE_STRING): Macro hygiene.
6990 2001-01-22 Martin Buchholz <martin@xemacs.org>
6992 Port "portable" dumper to SunOS 4 and HP-UX.
6993 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
6994 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
6995 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
6997 2001-01-22 Martin Buchholz <martin@xemacs.org>
6999 * lisp.h (ALIGNOF): A better definition for C++.
7001 2001-01-20 Martin Buchholz <martin@xemacs.org>
7004 Fix printf warnings: int format, long int arg.
7005 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
7006 (PUSH_FAILURE_POINT): Use correct printf formats.
7007 (POP_FAILURE_POINT): Use correct printf formats.
7008 Use do {...} while (0)
7010 2001-01-20 Martin Buchholz <martin@xemacs.org>
7012 * XEmacs 21.2.42 "Poseidon" is released.
7014 2001-01-20 Martin Buchholz <martin@xemacs.org>
7016 * console-x.h: typo fix du jour. Remove #if 0'ed code.
7018 2001-01-19 Martin Buchholz <martin@xemacs.org>
7020 De-kludgify FIXED_TYPE free list frobbing.
7021 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
7022 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
7023 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
7024 * alloc.c (Lisp_Free): New pseudo lisp object definition.
7025 * alloc.c (LRECORD_FREE_P): New.
7026 * alloc.c (MARK_LRECORD_AS_FREE): New.
7027 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
7028 * alloc.c (STRUCT_FREE_P): Deleted.
7029 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
7030 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
7031 * alloc.c (STRING_CHARS_FREE_P): New.
7032 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
7033 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
7034 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
7035 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
7036 * alloc.c (resize_string): Use new definitions.
7037 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
7038 * alloc.c (verify_string_chars_integrity): Use new definitions.
7039 * alloc.c (compact_string_chars): Use new definitions.
7040 * alloc.c: Update monster comments.
7041 * lrecord.h (lrecord_type): Add some new lrecord types for
7044 2001-01-18 Martin Buchholz <martin@xemacs.org>
7046 Improve alignment hackery.
7047 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
7048 (max_align_t): Moved from opaque.h - general purpose.
7049 (ALIGN_PTR): Use size_t, not long.
7050 * opaque.h (max_align_t): Move to lisp.h.
7052 2001-01-18 Norbert Koch <nk@LF.net>
7054 * gui.h: Fix and add prototypes to fix build problems.
7056 2001-01-18 Martin Buchholz <martin@xemacs.org>
7058 temacs is going away, so `dump-temacs' is now a bad name.
7059 * .dbxrc (dump-temacs): Rename to `dmp'.
7060 * .gdbinit (dump-temacs): Rename to `dmp'.
7062 2001-01-17 Andy Piper <andy@xemacs.org>
7064 * glyphs.c (print_image_instance): comment to make martin happy.
7066 * glyphs-x.c (x_redisplay_widget): update faces after a frame
7069 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
7071 (mswindows_tab_control_redisplay): warning suppression.
7073 * glyphs-widget.c (widget_update): re-write to cope with updated
7075 (widget_instantiate): use new gui_item functions.
7076 (tab_control_update): deleted.
7077 (progress_gauge_update): deleted.
7078 (image_instantiator_progress_guage): take out update reference.
7079 (image_instantiator_tree_view): ditto.
7080 (image_instantiator_tab_control): ditto.
7082 * gui.c (widget_gui_parse_item_keywords): new function. Do things
7084 (gui_item_add_keyval_pair): re-write to cope with descriptors and
7085 return whether anything was changed.
7086 (update_gui_item_keywords): as it sounds.
7088 * gui.h: declare widget_gui_parse_item_keywords.
7090 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
7091 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
7093 2001-01-17 Martin Buchholz <martin@xemacs.org>
7095 * XEmacs 21.2.41 "Polyhymnia" is released.
7097 2001-01-16 Didier Verna <didier@xemacs.org>
7099 * glyphs.c (image_instantiate): don't use fallbacks when
7100 instantiating a face's background pixmap by inheritance.
7102 2001-01-14 Mike Sperber <mike@xemacs.org>
7104 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
7105 Conditionalize accordingly.
7107 2001-01-16 Martin Buchholz <martin@xemacs.org>
7109 * dumper.c (pdump_file_get): Fix a compiler warning.
7111 2001-01-15 Martin Buchholz <martin@xemacs.org>
7113 Make Purify happy when pdumping.
7114 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
7115 iniitalizing all bits of new lisp object memory.
7116 * symbols.c (Fmake_local_variable): Likewise.
7117 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
7118 * symbols.c (Fdefvaralias): Likewise.
7119 * mule-charset.c (vars_of_mule_charset): Likewise.
7121 2001-01-15 Martin Buchholz <martin@xemacs.org>
7122 Add the `-nd' flag when running pre-dump operations under the debugger.
7123 * .dbxrc (run-temacs): Add `-nd'.
7124 * .dbxrc (update-elc): Likewise.
7125 * .dbxrc (dump-temacs): Likewise.
7126 * .gdbinit (run-temacs): Likewise.
7127 * .gdbinit (check-temacs): Likewise.
7128 * .gdbinit (update-elc): Likewise.
7129 * .gdbinit (dump-temacs): Likewise.
7131 2001-01-14 Martin Buchholz <martin@xemacs.org>
7133 Allow building 64-bit executables on AIX with GNU malloc, e.g.
7134 export OBJECT_MODE=64
7135 configure --pdump --use-union-type=no
7136 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
7137 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
7139 * miscplay.c (sndcnv8U_2mono):
7140 Avoid two uses of `++' in the same expression.
7141 Suppresses a GCC warning.
7143 2001-01-13 Martin Buchholz <martin@xemacs.org>
7145 Make sure future compilers don't miscompile alloc.c.
7147 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
7148 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
7150 2001-01-12 Martin Buchholz <martin@xemacs.org>
7152 * dumper.c: A little post-pdump-rename comment fixup.
7154 2001-01-09 Jerry James <james@eecs.ku.edu>
7156 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
7158 2001-01-13 Martin Buchholz <martin@xemacs.org>
7160 * *.[ch]: Globally rename symbols using the following `pdump-rename'
7164 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
7167 replace_symbol pdump_wire_lists pdump_weak_object_chains
7168 replace_symbol pdump_wire_list dump_add_weak_object_chain
7170 replace_symbol pdump_wires pdump_root_objects
7171 replace_symbol pdump_wire dump_add_root_object
7173 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
7174 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
7176 replace_symbol dumpstructinfos pdump_root_struct_ptrs
7177 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
7178 replace_symbol dumpstructinfo pdump_root_struct_ptr
7179 replace_symbol dumpstruct dump_add_root_struct_ptr
7181 replace_symbol dumpopaque dump_add_opaque
7182 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
7183 replace_symbol dumpopaqueinfos pdump_opaques
7184 replace_symbol dumpopaqueinfo pdump_opaque
7186 replace_symbol nb_structdump nb_root_struct_ptrs
7187 replace_symbol nb_opaquedump nb_opaques
7189 replace_symbol align_table pdump_align_table
7190 replace_symbol dump_header pdump_header
7192 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
7193 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
7196 2001-01-12 Martin Buchholz <martin@xemacs.org>
7198 * s/aix4.h: Keep the C for AIX compiler from overaggressively
7199 optimizing bytecount_to_charcount().
7201 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7204 (HAVE_DLFCN_H): Removed.
7205 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
7207 2001-01-06 Martin Buchholz <martin@xemacs.org>
7209 Portable dumper maintainability improvements.
7210 * alloc.c (staticpro):
7211 * alloc.c (staticpro_nodump):
7212 * alloc.c (garbage_collect_1):
7213 * alloc.c (reinit_alloc_once_early):
7214 * alloc.c (init_alloc_once_early):
7215 * alloc.c: Move dumper functions to alloc.c.
7216 * dumper.c (pdump_backtrace):
7217 * dumper.c (pdump_dump_structs):
7218 * dumper.c (pdump_dump_opaques):
7219 * dumper.c (pdump_dump_rtables):
7220 * dumper.c (pdump_dump_wired):
7222 * dumper.c (pdump_load_check):
7223 * dumper.c (pdump_load_finish):
7224 * dumper.c (pdump_file_unmap):
7225 * dumper.c (pdump_file_get):
7226 * dumper.c (pdump_resource_free):
7227 * dumper.c (pdump_resource_get):
7228 * dumper.c (pdump_file_free):
7229 * dumper.c (pdump_file_try):
7230 * dumper.c (pdump_load):
7231 Remove fixed size limits on staticpro(), staticpro_nodump(),
7232 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
7233 Remove custom code for dumping lrecord_implementations_table - use
7235 Remove (most of the) custom code for dumping staticpros - dump it
7236 like any other dynarr.
7238 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
7239 * dumper.c: Moved functions from alloc.c.
7240 * alloc.c (dumpstruct): Moved to dumper.c.
7241 * alloc.c (dumpopaque): Likewise.
7242 * alloc.c (pdump_wire): Likewise.
7243 * alloc.c (pdump_wire_list): Likewise.
7245 * lisp.h (Dynarr_sizeof): New.
7246 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
7247 * lisp.h (Dynarr_end): New. Very slightly C++oid.
7248 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
7250 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
7251 * lisp.h (dumpopaque): ditto.
7252 * lisp.h (pdump_wire): ditto.
7253 * lisp.h (pdump_wire_list): ditto.
7255 2001-01-09 Martin Buchholz <martin@xemacs.org>
7257 * make-src-depend (PrintPatternDeps):
7258 Use `sort' to make output independent of perl version.
7260 2001-01-08 Martin Buchholz <martin@xemacs.org>
7263 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
7264 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
7266 2001-01-03 Didier Verna <didier@xemacs.org>
7268 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
7269 that `focus_frame' is alive before thinking of calling
7270 `redisplay_redraw_cursor' on it.
7272 2001-01-08 Martin Buchholz <martin@xemacs.org>
7274 * XEmacs 21.2.40 is released.
7276 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7278 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
7280 2001-01-06 Martin Buchholz <martin@xemacs.org>
7282 * alloc.c (dbg_valmask): Make const.
7283 * alloc.c (dbg_typemask): Make const.
7284 * alloc.c (dbg_USE_UNION_TYPE): Make const.
7285 * alloc.c (dbg_valbits): Make const.
7286 * alloc.c (dbg_gctypebits): Make const.
7288 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
7290 * redisplay-x.c (x_bevel_area):
7291 redisplay.h (struct rune):
7292 Typo fixes in comments.
7294 2001-01-05 Andy Piper <andy@xemacs.org>
7296 * glyphs-x.c (x_redisplay_widget): use size changed for offset
7299 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
7301 2001-01-05 Martin Buchholz <martin@xemacs.org>
7303 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
7305 * mule-ccl.c (stack_idx_of_map_multiple):
7306 Non const global data must not be initialized!
7307 Found by MIYASHITA Hisashi.
7309 2001-01-02 Andy Piper <andy@xemacs.org>
7311 * frame.c (change_frame_size): make sure frame size is always
7314 * glyphs.c (image_instance_layout): minor code reuse.
7316 * window.c (Fcurrent_window_configuration): revert previous
7319 2001-01-02 Martin Buchholz <martin@xemacs.org>
7322 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
7324 2000-12-31 Andy Piper <andy@xemacs.org>
7326 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
7327 when widget gets unmapped.
7329 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
7330 function. Make sure widgets losing focus don't just drop it.
7331 (handle_focus_event_1): record the widget with focus.
7333 2000-12-31 Andy Piper <andy@xemacs.org>
7335 * window.c (allocate_window): use
7336 make_image_instance_cache_hash_table.
7337 (make_dummy_parent): ditto.
7338 (Fset_window_configuration): ditto.
7340 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
7342 * glyphs.c (process_image_string_instantiator): use
7344 (get_image_instantiator_governing_domain): ditto.
7345 (normalize_image_instantiator): ditto.
7346 (instantiate_image_instantiator): ditto.
7347 (make_image_instance_1): ditto.
7348 (image_instantiate): ditto. Key on glyph *and* instantiator type.
7349 (instantiator_eq_equal): new function for use with instance hash
7351 (instantiator_eq_hash): ditto.
7352 (make_image_instance_cache_hash_table): create a suitable hash
7353 table for storing image instances.
7355 * elhash.h (hash_table_weakness): new internal weakness type
7356 HASH_TABLE_KEY_CAR_VALUE_WEAK.
7357 declare new functions.
7359 * elhash.c (finish_marking_weak_hash_tables): introduce yet
7360 another weakness type for glyphs.
7361 (make_standard_lisp_hash_table): new function split out from
7362 make_general_lisp_hash_table.
7363 (make_lisp_hash_table): call make_standard_lisp_hash_table.
7364 (hash_table_instantiate): ditto.
7365 (Fmake_hash_table): ditto.
7367 2000-12-31 Martin Buchholz <martin@xemacs.org>
7369 * XEmacs 21.2.39 is released.
7371 2000-12-29 Andy Piper <andy@xemacs.org>
7373 * menubar.c (menubar_visible_p_changed): signal the frame changed.
7375 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
7376 the frame has changed so that we pick up geometry changes such as
7379 2000-12-28 Andy Piper <andy@xemacs.org>
7381 * lastfile.c (my_ebss): make a char array so we can pad the
7382 bss. Fixes cygwin unexec.
7384 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
7386 2000-12-26 Andy Piper <andy@xemacs.org>
7388 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
7389 comments and try and be more precise about a non-/SIGIO world.
7390 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
7393 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
7394 we don't normalize to zero width or height.
7396 2000-12-24 Andy Piper <andy@xemacs.org>
7398 * Makefile.in.in (ldflags): add -mwindows when appropriate.
7400 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
7402 * s/sco5.h: SCO 5 has pty support.
7404 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
7406 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
7407 input-method-xlib.c contains whole contents of input-method-xfs.c,
7408 so we can use input-method-xlib.c's code for USE_XFONTSET
7410 * input-method-xfs.c: removed.
7412 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
7414 * file-coding.h (enum coding_category_type): reorder enumerators to
7415 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
7416 (now one greater than largest real coding_category_type enumerator).
7417 * file-coding.c (coding_category_symbol, coding_category_by_priority,
7418 coding_category_system, fcd_descriptihon_1, decode_coding_category,
7419 Fcoding_category_list, Fset_coding_priority_list,
7420 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
7421 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
7423 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7425 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
7426 * redisplay-output.c (redisplay_output_window): Clear top of window
7427 when face is changed.
7428 * redisplay-x.c (x_redraw_exposed_window): Call
7429 redisplay_clear_top_of_window.
7430 * redisplay.h: Publish redisplay_clear_top_of_window.
7432 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7434 * buffer.c (Fkill_buffer): Map over all devices.
7435 * window.c (window_loop): Remove UNSHOW_BUFFER code.
7436 (list_windows): New function.
7437 (list_all_windows): Ditto.
7438 (Freplace_buffer_in_windows): Use them.
7440 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
7442 * database.c (berkdb_subtype): Recognize new subtype `queue'.
7443 (Fopen_database): Use `db_create' instead of `db_open'.
7444 (syms_of_database): Initialize Qqueue.
7446 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7448 * buffer.c (common_init_complex_vars_of_buffer): Initialize
7449 buffer_local_face_property.
7450 * buffer.h (struct buffer): New member buffer_local_face_property.
7451 * window.c (Fset_window_buffer): Mark window's face as changed
7452 when buffer has buffer local face.
7453 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
7454 * objects.c (color_after_change): Set buffer_local_face_property
7455 when locale of face specifier is buffer.
7456 * objects.c (font_after_change): Ditto.
7457 * objects.c (face_boolean_after_change): Ditto.
7458 * glyphs.c (image_after_change): Ditto.
7460 2000-12-09 Dan Holmsand <dan@eyebee.com>
7462 * nt.c (mswindows_fstat): Report file permissions, volume serial
7463 number, etc. Code adapted from FSF Emacs 20.7.
7465 2000-12-09 Dan Holmsand <dan@eyebee.com>
7467 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
7468 of stat when we don't have symbolic links, to make sure
7469 mswindows_stat is called on mswindows.
7471 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
7473 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
7475 2000-12-12 Martin Buchholz <martin@xemacs.org>
7477 * doprnt.c (emacs_doprnt_1): More printing fixes.
7478 Make printing of numbers compatible with libc and FSF Emacs.
7479 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
7480 Use the system printf to do most of the hard work of formatting,
7481 instead of doprnt_1().
7482 Calculate memory to allocate for format string.
7483 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
7484 (doprnt_1): Cleaner code and documentation.
7486 2000-12-01 Jerry James <james@eecs.ukans.edu>
7488 * Makefile.in.in: Use the loop variable to install headers.
7490 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7492 * window.c (Fsplit_window): Don't invalidate face cache.
7494 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7496 * minibuf.c (Fall_completions): Undo the previous change
7497 which removed checking elements start with space.
7499 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7501 * mule-canna.c: Didier suppression.
7503 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7505 * mule-canna.c: rename static unsigned char buf[] to key_buffer
7506 (warning suppression). Add English comment translations.
7508 2000-12-05 Martin Buchholz <martin@xemacs.org>
7510 * unexelfsgi.c (unexec): Better test for mmap failure.
7512 2000-12-05 Martin Buchholz <martin@xemacs.org>
7514 * XEmacs 21.2.38 is released.
7516 2000-12-05 Martin Buchholz <martin@xemacs.org>
7518 * redisplay.c (bar-cursor): Make a user variable.
7520 * symsinit.h: Add init_postgresql_from_environment.
7522 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7524 * regex.c: Convert to clean C.
7526 2000-12-05 Dan Holmsand <dan@eyebee.com>
7529 Don't #include sysfile.h. Revert to duplicating PATH_MAX
7531 (sys_readlink): renamed to system_readlink to avoid conflict with
7532 the other sys_readlink.
7534 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
7536 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
7538 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
7540 * postgresql.c (init_postgresql_from_environment): new function.
7541 (vars_of_postgresql): Move code initializing Lisp variables out and
7542 into init_postgresql_from_environment.
7543 emacs.c (main_1): Call init_postgresql_from_environment if and only
7544 if running a dumped XEmacs.
7546 2000-08-31 Dan Holmsand <dan@eyebee.com>
7548 * buffer.c: Make find-file-compare-truenames default to true on
7551 * realpath.c (win32_abs_start):
7553 (win32_readlink): New functions.
7554 (xrealpath): Return really real filenames on windows.
7556 * fileio.c (Ffile_truename): Make file-truename work on windows.
7558 2000-11-29 Didier Verna <didier@xemacs.org>
7560 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
7561 * faces.c (update_face_cachel_data): use it.
7562 * faces.c (add_face_cachel): use it. Complete background pixmap
7563 frobbing in face cache if `update_face_cachel_data' has not done so.
7565 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
7567 * search.c (string_match_1): Don't set last_thing_searched
7570 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
7572 * buffer.c: Include casetab.h
7573 (common_init_complex_vars_of_buffer): Use new case-table object.
7574 * buffer.h: Include casetab.h
7575 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
7576 (DOWNCASE_TABLE_OF): Ditto.
7577 * bufslots.h: Remove char-tables and add case-table.
7578 * casetab.c: Include casetab.h
7579 (CASE_TABLE_P): Removed.
7580 (mark_case_table): New function.
7581 (allocate_case_table): New function.
7582 (Fcase_table_p): Use new case-table.
7583 (case_table_char): New function.
7584 (Fget_case_table): Ditto.
7585 (Fput_case_table): Ditto.
7586 (Fput_case_table_pair): Ditto.
7587 (Fcopy_case_table): Ditto.
7588 (Fcurrent_case_table): Return case-table.
7589 (Fstandard_case_table): Return case-table.
7590 (Fset_case_table): Fix doc-string.
7591 (set_case_table): Use case-table
7592 (syms_of_casetab): DEFSUBR new functions.
7593 (complex_vars_of_casetab): Set up standard case-table.
7594 * casetab.h: New file.
7595 * editfns.c: Include casetab.h
7596 (Fcompare_buffer_substrings): Use case-table.
7597 * inline.c: Include casetab.h
7598 * lisp.h: Remove bogus extern.
7599 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
7600 * search.c: Include casetab.h
7601 (TRANSLATE_ASCII): Removed.
7602 (TRANSLATE): Unconditionally translate character.
7603 (looking_at_1): Use case-table.
7604 (string_match_1): Ditto.
7605 (fast_string_match): Ditto.
7606 (search_command): Ditto.
7607 (search_buffer): Separate boyer_moore. Check whether
7608 boyer_moore is possible.
7609 (simple_search): New function.
7610 (boyer_moore): Separated from search_buffer. Translate char.
7612 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
7614 * regex.c (RE_TR_ASCII): Removed.
7615 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
7616 (PATFETCH): Call PATFETCH_RAW.
7617 (PATFETCH_RAW): Fetch Emchar.
7618 (PATUNFETCH): Decrement charptr.
7619 (GET_BUFFER_SPACE): Rename b to buf_end.
7621 (BUF_PUSH_2): Ditto.
7622 (BUF_PUSH_3): Ditto.
7623 (EXTEND_BUFFER): Ditto.
7624 (SET_LIST_BIT): Ditto.
7625 (regex_compile): Ditto. Translate non ASCII char.
7626 (compile_range): Ditto.
7627 (re_search_2): Ditto.
7628 (re_match_2_internal): Compare Emchar.
7629 (bcmp_translate): Ditto.
7631 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
7633 * lisp.h (basic char/int typedefs): comment improvement.
7635 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
7637 * emacs.c (main_1): unconditional pdump unstomping; don't save and
7638 unstomp inhibit_site_lisp. Improve comments.
7640 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
7642 * mule-charset.c (Fcharset_property): improve type checking, comments.
7644 2000-11-28 Andy Piper <andy@xemacs.org>
7646 * redisplay-output.c (redisplay_output_subwindow): make sure we do
7647 clipped display for windows in the gutter also.
7648 (redisplay_display_boxes_in_window_p): change semantics of return
7649 codes to be more intuitive.
7651 * gutter.h: declare display_boxes_in_gutter_p.
7653 * gutter.c (display_boxes_in_gutter_p): new function for
7656 2000-11-22 Andy Piper <andy@xemacs.org>
7658 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
7661 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
7663 * callproc.c (Fold_call_process_internal):
7664 * gpm.c (Freceive_gpm_event):
7665 (tty_get_foreign_selection): Might be just warning supression.
7666 * fileio.c (Fwrite_region_internal):
7667 (Fset_visited_file_modtime):
7668 * keymap.c (event_matches_key_specifier_p):
7669 Initialize GCPROed variable.
7671 * menubar-x.c (command_builder_find_menu_accelerator):
7672 Initialize before use.
7674 2000-11-23 Andy Piper <andy@xemacs.org>
7676 * unexcw.c (unexec): make the resulting executable executable.
7678 2000-11-21 Martin Buchholz <martin@xemacs.org>
7680 * doc.c (get_doc_string):
7681 Use size_t, not int, for result of XSTRING_LENGTH.
7683 * cmds.c (Fdelete_char):
7684 * cmds.c (Fpoint_at_eol):
7685 * cmds.c (Fself_insert_command):
7686 Use EMACS_INT, not int, for result of XINT.
7687 Someday, someone will want to insert more than 2**31 identical characters.
7689 * cmds.c (Fdelete_char):
7690 * cmds.c (Fdelete_backward_char):
7691 * syntax.c (Fforward_word):
7692 * syntax.c (Fforward_comment):
7693 Make COUNT argument optional, for consistency with forward-char et al.
7695 2000-11-22 Martin Buchholz <martin@xemacs.org>
7698 * print.c (long_to_string):
7699 Return a useful value: the pointer at end of data written.
7702 Use `static const char * const' for constant strings.
7703 (union printf_arg): Delete `i', `ui' members.
7706 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
7707 Do all printf-ing via the `l' specifier.
7708 Use EMACS_INT instead of int.
7711 2000-11-20 Didier Verna <didier@xemacs.org>
7713 * faces.c (update_face_cachel_data): don't frob the background
7714 pixmap when the window is being created. The face is needed but
7717 2000-11-20 Andy Piper <andy@xemacs.org>
7719 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
7720 messing with a debug environment.
7722 2000-11-20 Martin Buchholz <martin@xemacs.org>
7724 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
7726 2000-11-20 Martin Buchholz <martin@xemacs.org>
7728 * casetab.c (Fcase_table_p): Fix compile error and crash.
7730 2000-11-18 Philip Aston <philipa@mail.com>
7732 * s/cygwin32.h: Cygwin has SVR4-like pty support.
7734 2000-11-18 Martin Buchholz <martin@xemacs.org>
7736 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
7737 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
7739 2000-11-17 Martin Buchholz <martin@xemacs.org>
7741 * config.h.in: Define HAVE_ELF_H if elf.h exists.
7742 * unexelf.c: Use HAVE_ELF_H.
7743 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
7744 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
7745 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
7746 Greg Harrington <greg_harrington@hotmail.com> provided a machine
7748 So this is an unexelfsgi.c from a different line of development.
7750 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
7752 * regex.c (RE_TR_ASCII): New function.
7753 (RE_TRANSLATE): Call it.
7755 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
7757 * buffer.h (TRT_TABLE_OF): Remove assert.
7758 (IN_TRT_TABLE_DOMAIN): Removed.
7760 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
7762 * free-hook.c (log_gcpro):
7763 (show_gcprohist): Add support for GCPRO5.
7765 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
7767 * emacs.c (main_1): Improve -sd error message when --pdump=no.
7769 2000-11-16 Olivier Galibert <galibert@xemacs.org>
7771 * symeval.h: Declare flush_all_buffer_local_cache.
7773 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
7774 (flush_buffer_local_cache): Added.
7775 (flush_all_buffer_local_cache): Added.
7777 * lrecord.h: Remove unused XD_LO_RESET_NIL.
7779 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
7780 (pdump_dump_data): Ditto.
7781 (pdump_reloc_one): Ditto.
7782 (pdump): Remove unused pdump_qnil. Flush buffer local caches
7786 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
7788 * buffer.c: Remove if 0'ed entry.
7789 * buffer.h: Rewrite TRT to use char-table.
7790 * bufslots.h: Remove mirror tables.
7791 * casetab.c: Remove mirror tables.
7792 (CASE_TABLE_P): New macro.
7793 (Fcase_table_p): Element of a case table is string or char-table.
7794 (make_mirror_trt_table): Removed.
7795 (set_case_table): Setup char-table from strings for backward
7797 * dired.c (Fdirectory_files):
7798 * dired-msw.c: (mswindows_get_files):
7799 * lisp.h: Change prototype of re_pattern_buffer.
7800 * regex.c: (RE_TRANSLATE): New macro.
7801 (TRANSLATE_P): Ditto.
7802 Change translate to type RE_TRANSLATE_TYPE.
7803 * regex.h: Define RE_TRANSLATE_TYPE
7804 * search.c (TRANSLATE): New macro.
7805 (TRANSLATE_ASCII): New macro.
7806 Translate table is changed to Lisp_Object.
7807 (signal_failure): Inhibit return.
7809 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
7816 Do UNGCPRO before return.
7818 2000-11-14 Martin Buchholz <martin@xemacs.org>
7820 * XEmacs 21.2.37 is released.
7822 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7824 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
7825 Add comments about discarded return value.
7827 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
7830 * event-stream.c: Fix comments. Remove some #if 0'ed part.
7832 2000-10-27 Andy Piper <andy@xemacs.org>
7834 * gutter.c (Fset_default_gutter_position): default left and right
7836 (calculate_gutter_size): calculate resonable heuristic for left
7837 and right gutter sizes.
7838 (specifier_vars_of_gutter): change left and right gutter sizes to
7840 (calculate_gutter_size_from_display_lines): new function.
7841 (output_gutter): check for resizing on left and right gutters.
7842 (clear_gutter): don't special case top and left gutters.
7843 (specifier_vars_of_gutter): use new signature for
7844 set_specifier_caching.
7846 * glyphs-x.c (x_redisplay_widget): spelling fix.
7847 * glyphs.c (specifier_vars_of_glyphs):
7848 * menubar.c (specifier_vars_of_menubar):
7849 * redisplay.c (specifier_vars_of_redisplay):
7850 * toolbar.c (specifier_vars_of_toolbar):
7851 * window.c (specifier_vars_of_window):
7852 * scrollbar.c (specifier_vars_of_scrollbar):
7853 (complex_vars_of_scrollbar): use new signature for
7854 set_specifier_caching.
7856 * specifier.c (set_specifier_caching): include recompute flag.
7857 (recompute_one_cached_specifier_in_window): always recompute if
7859 (recompute_one_cached_specifier_in_frame): ditto.
7861 * specifier.h (struct specifier_caching): add recompute flag.
7863 2000-10-24 Andy Piper <andy@xemacs.org>
7865 * unexcw.c (copy_executable_and_dump_data_section): add new
7866 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
7869 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7871 * console-x.h (x_device): New member modifier_release_time.
7872 * event-Xt.c (x_handle_sticky_modifiers):
7873 Bound interval modifier keys are sticky.
7874 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
7875 * events.h: extern it.
7877 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7879 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
7881 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7883 * event-stream.c (execute_command_event): Preserve current_events
7884 and the like when event is misc-user-event.
7885 Inhibit quit during the call to maybe_echo_keys.
7887 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
7889 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
7890 symlink when buffer is killed.
7891 (inhibit_clash_detection): New variable.
7893 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
7895 * console.c (Fset_input_method): Trigger redisplay on tty.
7897 2000-11-07 Martin Buchholz <martin@xemacs.org>
7899 * process.c (Fprocess_status): Revert to previous behavior:
7900 (process-status "nosuchprocess") ==> nil
7902 2000-11-06 Martin Buchholz <martin@xemacs.org>
7904 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
7905 Work around another GCC 2.95.2 optimizer bug.
7907 2000-11-02 Martin Buchholz <martin@xemacs.org>
7909 * process.c (Fget_process): Use LIST_LOOP_2.
7910 (kill_buffer_processes): Use LIST_LOOP_2.
7912 * minibuf.c (Fall_completions):
7913 Delete old non-functional code for FSF fourth argument.
7915 * frame.c (frame_matches_frame_spec):
7916 Renamed from `frame_matches_frametype'. Update all callers.
7917 (device_matches_device_spec):
7918 Renamed from 'device_matches_console_spec'. Update all callers.
7920 * doc.c (Fsubstitute_command_keys):
7921 Remove buffer overflow crash. Small code cleanups.
7923 * casetab.c (check_case_table): Simpler code.
7925 * window.c (Freplace_buffer_in_windows):
7926 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
7927 (and similar implementation) as Fdelete_windows_on.
7930 * alloc.c (Fmake_list):
7931 * alloc.c (make_vector):
7932 * alloc.c (Fmake_vector):
7933 * alloc.c (make_bit_vector):
7934 * alloc.c (Fmake_bit_vector):
7935 * alloc.c (Fbit_vector):
7936 * alloc.c (Fmake_string):
7937 * alloc.c (Fpurecopy):
7938 * alloc.c (Fmemory_limit):
7940 * buffer.c (Fget_buffer):
7941 * buffer.c (Fkill_buffer):
7942 * buffer.c (complex_vars_of_buffer):
7943 * bytecode.c (Fcompiled_function_stack_depth):
7944 * callint.c (Fprefix_numeric_value):
7946 * event-stream.c (Fread_key_sequence):
7948 * casetab.c (Fcase_table_p):
7949 * casetab.c (check_case_table):
7950 * casetab.c (Fset_case_table):
7951 * casetab.c (Fset_standard_case_table):
7953 * chartab.c (Fchar_table_type):
7954 * chartab.c (Freset_char_table):
7955 * chartab.c (Fget_char_table):
7956 * chartab.c (Fget_range_char_table):
7957 * chartab.c (Fput_char_table):
7958 * chartab.c (Fmap_char_table):
7959 * chartab.c (Fcategory_table_p):
7960 * chartab.c (Fcheck_category_at):
7961 * chartab.c (Fchar_in_category_p):
7962 * chartab.c (Fcategory_table):
7963 * chartab.c (Fcopy_category_table):
7964 * chartab.c (Fset_category_table):
7965 * chartab.c (Fcategory_designator_p):
7966 * chartab.c (Fcategory_table_value_p):
7967 * cmds.c (Fdelete_char):
7968 * cmds.c (Fdelete_backward_char):
7969 * cmds.c (Fself_insert_command):
7970 * cmds.c (Fself_insert_internal):
7971 * console.c (Fvalid_console_type_p):
7972 * console.c (Fcdfw_console):
7973 * console.c (Fconsole_type):
7974 * console.c (Fconsole_name):
7975 * console.c (Fconsole_device_list):
7976 * console.c (Fconsole_on_window_system_p):
7980 * data.c (Fsubr_interactive):
7981 * data.c (Fchar_to_int):
7982 * data.c (Fint_to_char):
7985 * data.c (Fnumber_to_string):
7986 * data.c (Fstring_to_number):
7988 * database.c (mark_database):
7989 * database.c (finalize_database):
7990 * database.c (Fdatabase_live_p):
7991 * database.c (Fdatabasep):
7992 * device-x.c (Fx_get_resource):
7993 * device.c (Fdfw_device):
7995 * dired.c (Ffile_name_completion):
7996 * dired.c (Ffile_name_all_completions):
7997 * dired.c (Fuser_name_completion):
7998 * dired.c (Fuser_name_completion_1):
7999 * dired.c (Fuser_name_all_completions):
8000 * doc.c (Fdocumentation):
8001 * doc.c (Fdocumentation_property):
8002 * doc.c (Fsubstitute_command_keys):
8004 * editfns.c (Fchar_to_string):
8005 * editfns.c (Fstring_to_char):
8006 * editfns.c (Ftemp_directory):
8007 * editfns.c (Finsert_char):
8008 * editfns.c (Fbuffer_substring_no_properties):
8009 * editfns.c (Fnarrow_to_region):
8010 * editfns.c (Fchar_equal):
8011 * editfns.c (Fchar_Equal):
8012 * editfns.c (Ftranspose_regions):
8013 * emacs.c (Fdump_emacs):
8015 * eval.c (Fcommand_execute):
8016 * eval.c (Fautoload):
8017 * eval.c (Fbacktrace):
8018 * eval.c (Fbacktrace_frame):
8020 * events.c (Fcopy_event):
8021 * events.c (Fcharacter_to_event):
8022 * events.c (Fevent_button):
8023 * events.c (Fevent_process):
8025 * extents.c (Fnext_extent_change):
8026 * extents.c (Fextent_property):
8028 * faces.c (Fmake_face):
8030 * file-coding.c (Fencode_shift_jis_char):
8031 * file-coding.c (Fencode_big5_char):
8032 * fileio.c (Ffile_name_directory):
8033 * fileio.c (Ffile_name_nondirectory):
8034 * fileio.c (Ffile_name_as_directory):
8035 * fileio.c (Fdirectory_file_name):
8036 * fileio.c (Ffile_truename):
8037 * fileio.c (Fsubstitute_in_file_name):
8038 * fileio.c (Ffile_modes):
8039 * fileio.c (Fset_file_modes):
8040 * fileio.c (Fset_default_file_modes):
8041 * fileio.c (Fverify_visited_file_modtime):
8042 * floatfns.c (Facos):
8043 * floatfns.c (Fasin):
8044 * floatfns.c (Fatan):
8045 * floatfns.c (Fcos):
8046 * floatfns.c (Fsin):
8047 * floatfns.c (Ftan):
8048 * floatfns.c (Fbessel_j0):
8049 * floatfns.c (Fbessel_j1):
8050 * floatfns.c (Fbessel_jn):
8051 * floatfns.c (Fbessel_y0):
8052 * floatfns.c (Fbessel_y1):
8053 * floatfns.c (Fbessel_yn):
8054 * floatfns.c (Ferf):
8055 * floatfns.c (Ferfc):
8056 * floatfns.c (Flog_gamma):
8057 * floatfns.c (Fexp):
8058 * floatfns.c (Fexpt):
8059 * floatfns.c (Flog):
8060 * floatfns.c (Flog10):
8061 * floatfns.c (Fsqrt):
8062 * floatfns.c (Fcube_root):
8063 * floatfns.c (Facosh):
8064 * floatfns.c (Fasinh):
8065 * floatfns.c (Fatanh):
8066 * floatfns.c (Fcosh):
8067 * floatfns.c (Fsinh):
8068 * floatfns.c (Ftanh):
8069 * floatfns.c (Fabs):
8070 * floatfns.c (Ffloat):
8071 * floatfns.c (Flogb):
8072 * floatfns.c (Fceiling):
8073 * floatfns.c (Ffloor):
8074 * floatfns.c (Fround):
8075 * floatfns.c (Ftruncate):
8076 * floatfns.c (Ffceiling):
8077 * floatfns.c (Fffloor):
8078 * floatfns.c (Ffround):
8079 * floatfns.c (Fftruncate):
8080 * fns.c (Fstring_equal):
8081 * fns.c (Fstring_lessp):
8086 * fns.c (Fsubstring):
8088 * fns.c (Fold_assoc):
8089 * fns.c (assoc_no_quit):
8091 * fns.c (Fold_assq):
8092 * fns.c (assq_no_quit):
8094 * fns.c (Fold_rassoc):
8096 * fns.c (Fold_rassq):
8097 * fns.c (rassq_no_quit):
8098 * fns.c (Fremassoc):
8099 * fns.c (remassoc_no_quit):
8101 * fns.c (remassq_no_quit):
8102 * fns.c (Fremrassoc):
8103 * fns.c (Fremrassq):
8104 * fns.c (remrassq_no_quit):
8106 * fns.c (Fplist_get):
8107 * fns.c (Fplist_put):
8108 * fns.c (Fplist_remprop):
8109 * fns.c (Fplist_member):
8110 * fns.c (Flax_plist_get):
8111 * fns.c (Flax_plist_put):
8112 * fns.c (Flax_plist_remprop):
8113 * fns.c (Flax_plist_member):
8115 * fns.c (Fold_equal):
8117 * fns.c (Fbase64_encode_region):
8118 * fns.c (Fbase64_encode_string):
8119 * fns.c (Fbase64_decode_region):
8121 * frame.c (frame_matches_frame_spec):
8122 * frame.c (device_matches_device_spec):
8123 * frame.c (next_frame):
8124 * frame.c (previous_frame):
8125 * frame.c (Fnext_frame):
8126 * frame.c (Fprevious_frame):
8127 * frame.c (Fframe_property):
8128 * frame.c (Fset_frame_height):
8129 * frame.c (Fset_frame_size):
8133 * glyphs.c (decode_error_behavior_flag):
8134 * glyphs.c (Fmake_image_instance):
8135 * indent.c (Findent_to):
8136 * intl.c (Fignore_defer_gettext):
8137 * keymap.c (Fkeymapp):
8138 * keymap.c (Flookup_key):
8140 * lread.c (Fload_internal):
8141 * lread.c (Feval_buffer):
8142 * lread.c (Feval_region):
8143 * macros.c (Fexecute_kbd_macro):
8144 * marker.c (set_marker_internal):
8145 * marker.c (Fset_marker):
8146 * marker.c (set_marker_restricted):
8147 * marker.c (Fcopy_marker):
8148 * marker.c (noseeum_copy_marker):
8150 * menubar.c (Fpopup_menu):
8152 * mule-charset.c (Fcharset_name):
8153 * mule-charset.c (Fchar_charset):
8154 * mule-charset.c (Fchar_octet):
8155 * mule-charset.c (Fsplit_char):
8156 * mule-wnnfns.c (Fwnn_open):
8157 * mule-wnnfns.c (Fwnn_dict_comment):
8158 * mule-wnnfns.c (Fwnn_quit_henkan):
8159 * mule-wnnfns.c (Fwnn_word_toroku):
8160 * mule-wnnfns.c (Fwnn_word_sakujo):
8161 * mule-wnnfns.c (Fwnn_word_use):
8162 * mule-wnnfns.c (Fwnn_hindo_set):
8164 * objects.c (Fmake_color_instance):
8165 * objects.c (Fmake_font_instance):
8166 * print.c (Fwrite_char):
8168 * process.c (mark_process):
8169 * process.c (print_process):
8170 * process.c (get_process_from_usid):
8171 * process.c (Fprocessp):
8172 * process.c (Fprocess_live_p):
8173 * process.c (Fget_process):
8174 * process.c (Fget_buffer_process):
8175 * process.c (get_process):
8176 * process.c (Fprocess_id):
8177 * process.c (Fprocess_name):
8178 * process.c (Fprocess_command):
8179 * process.c (init_process_io_handles):
8180 * process.c (start_process_unwind):
8181 * process.c (Fstart_process_internal):
8182 * process.c (Fopen_multicast_group_internal):
8183 * process.c (Fset_process_window_size):
8184 * process.c (read_process_output):
8185 * process.c (send_process):
8186 * process.c (Fprocess_tty_name):
8187 * process.c (Fset_process_buffer):
8188 * process.c (Fprocess_buffer):
8189 * process.c (Fprocess_mark):
8190 * process.c (set_process_filter):
8191 * process.c (Fset_process_filter):
8192 * process.c (Fprocess_filter):
8193 * process.c (Fprocess_send_region):
8194 * process.c (Fprocess_send_string):
8195 * process.c (exec_sentinel):
8196 * process.c (Fset_process_sentinel):
8197 * process.c (Fprocess_sentinel):
8198 * process.c (status_notify):
8199 * process.c (Fprocess_status):
8200 * process.c (Fprocess_exit_status):
8201 * process.c (process_send_signal):
8202 * process.c (Fprocess_send_eof):
8203 * process.c (deactivate_process):
8204 * process.c (remove_process):
8205 * process.c (Fdelete_process):
8206 * process.c (kill_buffer_processes):
8207 * process.c (Fprocess_kill_without_query):
8208 * process.c (Fprocess_kill_without_query_p):
8210 * rangetab.c (Fget_range_table):
8211 * rangetab.c (Fput_range_table):
8212 * rangetab.c (Fremove_range_table):
8213 * rangetab.c (Fclear_range_table):
8215 * search.c (Fskip_chars_forward):
8216 * search.c (Fskip_chars_backward):
8217 * search.c (Fskip_syntax_forward):
8218 * search.c (Fskip_syntax_backward):
8219 * search.c (search_command):
8220 * search.c (Freplace_match):
8221 * search.c (Fregexp_quote):
8222 * select.c (Fown_selection_internal):
8223 * select.c (Fselection_owner_p):
8224 * select.c (Fselection_exists_p):
8225 * select.c (Fget_selection_internal):
8228 * symbols.c (Fintern):
8229 * symbols.c (Fintern_soft):
8230 * symbols.c (Funintern):
8231 * symbols.c (Fapropos_internal):
8232 * symbols.c (Fset_default):
8234 * syntax.c (Fsyntax_table_p):
8235 * syntax.c (Fcopy_syntax_table):
8236 * syntax.c (Fset_syntax_table):
8237 * syntax.c (Fchar_syntax):
8238 * syntax.c (syntax_match):
8239 * syntax.c (Fmatching_paren):
8240 * syntax.c (Fforward_word):
8241 * syntax.c (scan_lists):
8242 * syntax.c (Fscan_lists):
8243 * syntax.c (Fscan_sexps):
8244 * syntax.c (Fparse_partial_sexp):
8245 * toolbar.c (Fcheck_toolbar_button_syntax):
8248 * window.c (Fwindowp):
8249 * window.c (Fwindow_live_p):
8250 * window.c (Fwindow_point):
8251 * window.c (Fdelete_window):
8252 * window.c (Fnext_window):
8253 * window.c (Fprevious_window):
8254 * window.c (Fother_window):
8255 * window.c (window_loop):
8256 * window.c (Fget_lru_window):
8257 * window.c (Fsplit_window):
8258 * window.c (Fenlarge_window):
8259 * window.c (Fenlarge_window_pixels):
8260 * window.c (Fshrink_window):
8261 * window.c (Fshrink_window_pixels):
8262 * window.c (change_window_height):
8263 * window.c (Fwindow_configuration_p):
8264 * window.c (Fcurrent_window_configuration):
8266 * casefiddle.c (casify_object):
8267 * casefiddle.c (Fupcase):
8268 * casefiddle.c (Fdowncase):
8269 * casefiddle.c (Fcapitalize):
8270 * casefiddle.c (Fupcase_initials):
8271 * casefiddle.c (casify_region_internal):
8272 * casefiddle.c (casify_region):
8273 * casefiddle.c (Fupcase_region):
8274 * casefiddle.c (Fdowncase_region):
8275 * casefiddle.c (Fcapitalize_region):
8276 * casefiddle.c (Fupcase_initials_region):
8277 * casefiddle.c (Fupcase_word):
8278 * casefiddle.c (Fdowncase_word):
8279 * casefiddle.c (Fcapitalize_word):
8280 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
8281 Replace 0 with '\0' when working with bytes.
8282 Replace initial "(" with "\(" in docstrings.
8284 2000-11-01 Martin Buchholz <martin@xemacs.org>
8286 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
8288 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
8290 2000-10-31 Martin Buchholz <martin@xemacs.org>
8292 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
8294 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8296 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
8299 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8301 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
8302 (inhibit_auto_save_session): New variable.
8303 (vars_of_fileio): Declare and initialize them.
8304 * fileio.c (Fdo_auto_save): Don't create session file if
8305 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
8307 2000-10-31 Martin Buchholz <martin@xemacs.org>
8309 * sgiplay.c (play_internal): C++ compilability.
8310 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
8311 * callproc.c (Fold_call_process_internal):
8312 Remove unused vars `env', `first'.
8313 * scrollbar.c (update_scrollbar_instance):
8314 #### unused var `current_window'.
8315 * redisplay-tty.c: Put currently unused vars insert_mode_on,
8316 etc. within #ifdef NOT_YET.
8317 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
8318 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
8319 * specifier.c (specifier_instance):
8320 #### unused var `tag'.
8321 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
8323 2000-10-27 Martin Buchholz <martin@xemacs.org>
8326 * fns.c (list_sort):
8327 * fns.c (Ffillarray):
8328 * fns.c (bytecode_nconc2):
8331 * fns.c (Fmapconcat):
8332 Be pedantically 64-bit correct. For the time when someone will
8333 want to have a list with length > 2**32.
8335 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
8336 Work around MIPSpro compiler bug.
8338 * process-unix.c (unix_kill_child_process): Add snarky comment.
8339 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
8341 * config.h.in: Oops, _getpt ==> _getpty
8343 2000-10-26 Martin Buchholz <martin@xemacs.org>
8347 Use void*, not char*, as return type of alloca().
8349 * alloc.c (free_marker): Side effect inside assert expression!
8351 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
8353 * mule-charset.c (Fset_charset_ccl_program): To check
8354 if the given ccl program is valid, use setup_ccl_program()
8355 instead of CHECK_VECTOR().
8356 (Fmake_charset): Likewise.
8358 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
8360 * faces.c (get_extent_fragment_face_cache_index):
8361 Fix cachel.merged_faces memory leak.
8363 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
8365 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
8366 Reset MSB of octets obtained by DECODE_SJIS
8367 because of the incompatibility with Emacs.
8368 (ccl_driver)<CCL_ENCODE_SJIS>:
8369 Set MSB of octets before passing them to
8370 ENCODE_SJIS because of the incompatibility
8373 2000-10-18 Daiki Ueno <ueno@unixuser.org>
8375 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
8376 (DECLARE_LRECORD): Undo the last change.
8377 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
8379 2000-10-17 Daiki Ueno <ueno@unixuser.org>
8381 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
8382 the implementation to lrecord_implementations_table.
8384 2000-10-14 Daiki Ueno <ueno@unixuser.org>
8386 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
8387 initial value of `lrecord_type_##c_name' and
8388 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
8389 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
8390 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
8391 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
8392 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
8394 2000-10-17 Martin Buchholz <martin@xemacs.org>
8396 * miscplay.c (sndcnv8S_2mono):
8397 (sndcnv2monounsigned):
8398 (sndcnvULaw_2linear):
8400 Remove implementation-defined behavior.
8402 2000-10-12 Martin Buchholz <martin@xemacs.org>
8404 * input-method-xlib.c: Warning suppression.
8406 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
8408 * mule-ccl.c: Sync up with Emacs 21.0.90.
8409 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
8411 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
8413 (ccl_driver[WriteMultibyteChar2]): Bug fix.
8414 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
8415 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
8416 leading char belongs to official 2-dimensional charset.
8417 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
8418 write the given character as is. Otherwise,
8419 if it is a multibyte char, convert it by
8420 non_ascii_set_charptr_emchar, then write it.
8421 (CCL_WRITE_STRING): Likewise.
8422 (ccl_get_compiled_code): New function.
8423 (setup_ccl_program): When ccl_prog is invalid,
8425 (Fregister_code_conversion_map): New function.
8426 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
8428 * mule-ccl.h: Sync up with Emacs 21.0.90.
8429 (Fregister_ccl_program): export it.
8431 * redisplay-msw.c (separate_textual_runs):
8432 If ccl program is not valid, don't do ccl conversion.
8434 * redisplay-x.c (separate_textual_runs): Ditto.
8436 * file-coding.c (Fmake_coding_system):
8437 When type is ccl and value is vector, register it
8438 with a proper symbol. And checks whether the
8439 given ccl program is valid.
8440 (mule_decode): When calling ccl_driver, if src indicates
8441 NULL pointer, set an empty string instead.
8442 (mule_encode): Likewise.
8444 2000-10-11 Martin Buchholz <martin@xemacs.org>
8446 The following large batch of changes gets us back to a state of
8447 C++ compilability. Extbyte is now a char, which means that
8448 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
8450 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
8452 * sound.c (Fplay_sound): Type correctness.
8454 * select-x.c (hack_motif_clipboard_selection): Type correctness.
8455 (x_get_window_property): Type correctness.
8456 (receive_incremental_selection): unsigned char ==> Extbyte
8457 (selection_data_to_lisp_data): unsigned char ==> Extbyte
8458 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
8459 (Fx_store_cutbuffer_internal): Type correctness.
8461 * process-unix.c (try_to_initialize_subtty): Type correctness.
8463 * objects-x.c (x_print_color_instance): Type correctness.
8464 (x_print_font_instance): Type correctness.
8465 (x_list_fonts): SExtbyte ==> Extbyte.
8466 (valid_x_font_name_p): SExtbyte ==> Extbyte.
8467 (x_find_charset_font): SExtbyte ==> Extbyte.
8468 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
8469 (truename_via_XListFonts): SExtbyte ==> Extbyte.
8470 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
8473 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
8474 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
8475 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
8476 (BYTE_C0_P): Use bit ops for char-signedness safety.
8477 (BYTE_C1_P): Use bit ops for char-signedness safety.
8478 (CHARSET_BY_LEADING_BYTE):
8479 (CHARSET_BY_ATTRIBUTES):
8480 Always use inline function.
8481 Use type_checking_assert.
8484 * mule-charset.c (non_ascii_charptr_copy_char):
8485 Modify to work with both ASCII and non-ASCII characters.
8486 Improve docs and variable names.
8487 Replace over-clever fall-through switch with a simple loop.
8488 (Lstream_get_emchar_1):
8489 Replace over-clever fall-through switch with a simple loop.
8491 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8492 Warning suppression.
8494 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
8495 the return value of Lstream_getc, which could be EOF as well.
8497 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
8499 * lisp.h: Make Extbyte a char, not unsigned char, so that external
8500 APIs can be used on Extbytes without casts. Risky!
8504 * input-method-xlib.c (XIM_init_device):
8505 Use Xlib.h instead of IntrinsicP.h.
8506 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
8507 which will break in X11R7.
8508 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
8509 to call XRegisterIMInstantiateCallback with correct types.
8511 * gui-x.c (button_item_to_widget_value): Type correctness.
8513 * glyphs.c (bitmap_to_lisp_data): Type correctness.
8515 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
8516 (xbm_instantiate_1): Type correctness.
8517 (BUILD_GLYPH_INST): Type correctness.
8519 * fileio.c (Fsubstitute_in_file_name): Type correctness.
8522 (decode_coding_sjis):
8523 (decode_coding_big5):
8524 (decode_coding_ucs4):
8525 (decode_coding_utf8):
8526 (decode_coding_iso2022):
8527 (decode_coding_no_conversion):
8528 Make all decoding functions take an Extbyte * arg.
8529 (encode_coding_sjis):
8530 (encode_coding_big5):
8531 (encode_coding_ucs4):
8532 (encode_coding_utf8):
8533 (encode_coding_iso2022):
8534 (encode_coding_no_conversion):
8535 Make all encoding functions take a Bufbyte * arg.
8536 Use size_t instead of unsigned int for memory sizes.
8537 Only cast to unsigned char whenever dereferencing Extbyte *.
8539 * doc.c (unparesseuxify_doc_string): Type correctness.
8541 * console-x.c (split_up_display_spec):
8542 Rewrite without using details of internal string representation.
8543 (x_semi_canonicalize_device_connection): Type correctness.
8546 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
8547 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
8548 (HAVE_XFREE386): Removed.
8550 * buffer.h (DEC_CHARPTR): `const' correctness.
8551 (bufbyte_strcmp): New.
8552 (bufbyte_memcmp): New.
8554 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
8556 * buffer.h (XCHAR_OR_CHAR_INT):
8557 Always use inline function.
8558 Remove redundant type checking assert() - XINT will abort quite nicely.
8560 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
8562 * search.c (Freplace_match): Set newtext to an empty string.
8564 2000-10-10 Martin Buchholz <martin@xemacs.org>
8566 * s/decosf1-3.h: Remove #include of stropts.h
8567 * s/ptx.h: Remove #include of stropts.h
8568 * s/usg5-4.h: Remove #include of stropts.h
8571 Use stropts.h, not sys/stropts.h.
8572 Use strtio.h, not sys/strtio.h.
8574 2000-10-04 Martin Buchholz <martin@xemacs.org>
8576 * XEmacs 21.2.36 is released.
8578 2000-09-21 Andy Piper <andy@xemacs.org>
8580 * glyphs-x.c (x_redisplay_widget): make sure non-structural
8581 changes still involve copying the widget tree.
8582 (update_widget_face): make sure a change is register in the widget
8583 tree. Call update_tab_widget_face appropriately.
8584 (update_tab_widget_face): ditto.
8585 (x_tab_control_redisplay): make sure non-structural changes still
8586 involve copying the widget tree.
8588 2000-08-31 Daiki Ueno <ueno@unixuser.org>
8590 * lread.c (locate_file): Check the path element is non-nil.
8592 2000-10-02 Martin Buchholz <martin@xemacs.org>
8594 * lisp.h: Warning suppression for SCO compilers.
8596 * redisplay-tty.c (reset_tty_modes): Fix crash.
8597 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
8599 2000-09-27 Martin Buchholz <martin@xemacs.org>
8601 Big signal/process handling overhaul. Bugs fixed:
8602 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
8603 M-x comint-kill-subjob should work for both values nil and t of
8604 process-connection-type. It was broken on most platforms.
8605 Testing on Irix and Cygwin still needed. Other plaforms tested.
8606 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
8607 * process-unix.c: Signal/Process handling overhaul.
8608 (pty_name): make 64 bytes, as `expect' does, for paranoia.
8609 (allocate_pty): Use all available modern methods of allocating
8610 ptys, falling back to old style BSD allocation as a last resort.
8611 Use allegedly more secure Unix98 pty allocation by default.
8612 (allocate_pty_the_old_fashioned_way): New. the last resort.
8613 (unix_create_process): Push ptem, ldterm, ttcompat where
8614 available. Autoconfiscate.
8615 (try_to_initialize_subtty): New.
8616 (unix_kill_child_process): Proper signal handling for ptys on most
8617 platforms, using special knowledge of AIX, BSD, etc...
8618 (unix_create_process): Always disconnect_controlling_terminal() for
8619 subprocesses, whether using ptys or not.
8620 * process.h: Remove old getpt-dependent PTY code.
8621 * process.c (Fprocess_send_signal): New, obvious generic function.
8622 (decode_signal): New.
8623 (Finterrupt_process):
8627 (Fcontinue_process):
8628 (Fsignal_process): Use decode_signal.
8629 (process_send_signal):
8630 Many docstring corrections.
8631 Allow any signal to be sent to a process object.
8632 * config.h.in: Add symbols for big signal/process overhaul.
8633 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
8634 * sysproc.h: Include process-related headers, where available:
8635 sys/stropts.h sys/strtio.h pty.h libutil.h
8643 Remove old S&M pty stuff.
8644 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
8645 * systty.h: Simplify cpp hackery, improve comments.
8646 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
8648 * editfns.c (Fformat_time_string):
8649 Be a little more paranoid with the return value of ctime.
8651 * fileio.c (check_executable):
8653 Use symbolic constants X_OK, W_OK.
8655 * console-x.c (split_up_display_spec): Fix a warning.
8657 2000-10-02 Martin Buchholz <martin@xemacs.org>
8659 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
8660 * ntproc.c (sys_spawnve): make_string ==> build_string
8661 Small clarity improvements.
8663 2000-09-30 Martin Buchholz <martin@xemacs.org>
8665 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
8667 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
8669 * config.h.in (HAVE_STRCASECMP): Remove.
8671 2000-09-29 Martin Buchholz <martin@xemacs.org>
8673 * redisplay-output.c (redisplay_output_pixmap):
8674 Cleaner and possibly more 64-bit correct code.
8676 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
8678 * dumper.c (pdump_load_finish): move restoration of
8679 `noninteractive1' to emacs.c (main_1).
8680 * emacs.c (main_1): protect LISP-visible command-line flags
8683 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
8685 * Makefile.in.in (versionclean): Use EXE_TARGET and
8686 DUMP_TARGET instead of literal program names.
8688 2000-09-20 Martin Buchholz <martin@xemacs.org>
8690 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
8692 2000-09-19 Martin Buchholz <martin@xemacs.org>
8694 * *: Spelling mega-patch
8696 2000-09-19 Martin Buchholz <martin@xemacs.org>
8698 * fns.c (bad_bad_turtle):
8699 Delete "Eek!" comment, since we fixed the bug to which it refers.
8701 2000-09-16 Martin Buchholz <martin@xemacs.org>
8703 * alloca.c: Replace REGISTER with register.
8705 2000-09-16 Daiki Ueno <ueno@unixuser.org>
8707 * file-coding.c (ucs_to_char): Use countof.
8709 2000-09-16 Martin Buchholz <martin@xemacs.org>
8711 * file-coding.c: (ucs_to_char):
8712 (complex_vars_of_file_coding):
8713 Use countof instead of sizeof.
8714 Use CHECK_NATNUM instead of CHECK_INT.
8716 * sysdep.c (strcasecmp): Remove.
8717 * device-x.c (ascii_strcasecmp): New.
8718 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
8719 Avoid using non-standard non-portable strcasecmp.
8721 2000-09-16 Martin Buchholz <martin@xemacs.org>
8723 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
8724 * font-lock.c: remove reference to emacsfns.h.
8725 * search.c: small doc improvement.
8726 * event-Xt.c: correct file names in comments.
8727 * console-x.h Correct file names in comments.
8728 * frame.c: Correct file names in comments.
8729 * event-stream.c: remove Energize from comments.
8731 2000-09-15 Martin Buchholz <martin@xemacs.org>
8733 * symeval.h (DEFERROR_STANDARD):
8736 (DEFSYMBOL_NO_DUMP):
8737 (DEFSYMBOL_MULTIWORD_PREDICATE):
8738 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
8740 The construct &##name is not sensible C.
8741 Fixes compilation errors with Unixware native compiler.
8743 2000-09-14 Martin Buchholz <martin@xemacs.org>
8745 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
8746 (next_frame_internal): Removed. We now just have next_frame.
8748 Write a simpler and cleaner one-pass algorithm.
8749 Remove called_from_delete_device arg and #ifdefed-out code.
8751 Renamed from prev_frame. Update callers.
8752 Cleaned up to have an analogous implementation to next_frame.
8753 (other_visible_frames_internal): Remove the
8754 called_from_delete_device bogus arg, and hence, remove this
8755 function. Just use other_visible_frames().
8757 * window.c (Fnext_window):
8759 Since next_frame() is guaranteed to return a frame, remove check
8760 for nil inserted in previous patch.
8763 Make code look more like Fnext_window.
8765 Respect the `console' arg when iterating through windows.
8766 Fixes bug: (get-buffer-window buffer t device) not respecting
8768 This function needs more work, as others have pointed out.
8770 * frame.h: Rename prev_frame to previous_frame.
8771 device_matches_console_spec no longer takes a `frame' arg.
8776 Use EMACS_BLOCK_SIGNAL instead of sigblock.
8777 From "Golubev I. N." <gin@mo.msk.ru>.
8779 * make-src-depend: Fix typo.
8781 2000-09-13 Martin Buchholz <martin@xemacs.org>
8783 * window.c (Fnext_window):
8784 next_frame() might return nil, not a frame.
8786 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
8788 * frame.c (next_frame_internal):
8789 We've passed a frame if we've passed its device.
8791 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
8792 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
8794 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
8796 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
8797 Allow option to suppress accelerators in menu/dialog items.
8798 (populate_or_checksum_helper): Pass dialog title through above.
8800 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
8802 * event-msw.c (mswindows_key_to_emacs_keysym):
8803 Add "pause" key, fix "menu" key.
8805 2000-09-09 Martin Buchholz <martin@xemacs.org>
8807 * eval.c (reinit_vars_of_eval):
8808 Increase max_lisp_eval_depth to 1000,
8809 required for thai-xtis.el to byte-compile under some circumstances.
8811 2000-09-04 Martin Buchholz <martin@xemacs.org>
8813 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
8816 2000-09-01 Martin Buchholz <martin@xemacs.org>
8818 * make-src-depend: Make the generated Makefiles smaller.
8820 * s/hpux.h (SETUP_SLAVE_PTY):
8821 Provide a %d in the format string for the errno argument.
8823 * editfns.c (Ftemp_directory):
8825 Avoid buffer overrun on very long file name.
8827 * input-method-xlib.c (XIM_init_device):
8828 6th parameter of XRegisterIMInstantiateCallback has different
8829 pointer types on different OSes, so simply cast to (void *).
8831 * unexhp9k800.c: Warning fixes. Fiddly changes.
8833 * sysdll.c (dll_open):
8834 shl_load will hang hard if passed a NULL filename.
8835 Simply return NULL for compatibility with dlopen.
8836 * sysdll.c: Conform to XEmacs coding standards.
8838 * sysdep.c (get_pty_max_bytes):
8839 Support pty input lines longer than 512 bytes on HP-UX 10.20.
8841 2000-08-31 Martin Buchholz <martin@xemacs.org>
8843 * tooltalk.c: Add #include <syssignal.h>
8845 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
8847 * s/hpux.h: Don't use undefined function sigunblock().
8849 2000-08-31 Martin Buchholz <martin@xemacs.org>
8851 * config.h.in: Add HAVE_BALLOON_HELP.
8852 * emacs.c: Use HAVE_BALLOON_HELP.
8853 * Makefile.in.in (x_objs):
8854 Make Balloon Help conditional on finding shape.h.
8856 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
8858 * syntax.c (regex_emacs_buffer_p): New variable.
8859 * syntax.h (regex_emacs_buffer_p): extern.
8860 * search.c (looking_at_1):
8862 (fast_string_match):
8863 (search_buffer): Set regex_emacs_buffer_p.
8864 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
8865 when before_dot, at_dot, after_dot.
8867 2000-08-23 Andy Piper <andy@xemacs.org>
8869 * gui-x.c (popup_selection_callback): Only set action_occurred
8870 when we really have an image instance.
8871 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
8873 2000-08-23 Andy Piper <andy@xemacs.org>
8875 * gui-msw.c (mswindows_handle_gui_wm_command): set
8877 * gui-x.c (popup_selection_callback): ditto.
8879 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
8880 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
8881 (struct Lisp_Image_Instance): add action_occurred flag.
8883 * glyphs.c (redisplay_subwindow): use action_occurred flag.
8884 (image_instance_changed): ditto.
8885 (reset_frame_subwindow_instance_cache): only unmap windows - do
8886 not remove them from the cache also.
8888 * glyphs-widget.c (tab_control_update): better debug.
8889 (progress_gauge_update): ditto.
8890 (layout_update): ditto.
8891 (layout_instantiate): ditto.
8892 (tab_control_order_only_changed): cope with null pending items.
8894 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
8895 debug. Force selection of an item when an action occurred. Cope
8896 with null pending_items.
8897 (mswindows_progress_gauge_redisplay): better debug.
8898 * glyphs-x.c (x_tab_control_redisplay): ditto.
8900 * redisplay.c (redisplay_frame): reset the frame cache if the
8903 * window.c (Fset_window_configuration): potentially re-enable
8905 (window_unmap_subwindows): need to finalize instances here since
8906 it is only used in mark_window_as_deleted.
8908 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
8910 * nas.c (SndOpenDataForReading):
8911 nas.c (WaveOpenDataForReading):
8912 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
8913 Somehow escaped from the 2000-08-14 patch.
8915 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
8917 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
8918 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
8920 2000-08-21 Andy Piper <andy@xemacs.org>
8922 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
8923 window if it is not already displayed.
8925 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
8926 it is not already displayed.
8928 * window.c (Fset_window_configuration): don't reset the frame
8931 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
8932 instances from the frame cache if we are actually finalizing them.
8933 (reset_frame_subwindow_instance_cache): reset frame cache only
8934 after unmapping everything.
8935 (map_subwindow): set displayed flag after mapping.
8937 2000-08-21 Martin Buchholz <martin@xemacs.org>
8939 * data.c (indirect_function):
8940 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
8942 * eval.c (function_argcount):
8943 Use original function when signaling errors.
8945 2000-08-18 Andy Piper <andy@xemacs.org>
8947 * frame.c (delete_frame_internal): use new
8948 free_frame_subwindow_instances name.
8950 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
8951 (add_tab_item): make return type correct.
8952 (mswindows_tab_control_instantiate): assert index of tab.
8953 (mswindows_tab_control_redisplay): Re-code to use
8954 gui_item_equal_sans_selected and gui_item_list_find_selected.
8956 * glyphs-widget.c (tab_control_update): Correct comment.
8958 * window.c (window_unmap_subwindows): use new
8959 unmap_subwindow_instance_cache_mapper.
8960 (window_unmap_subwindows_cache_mapper): deleted.
8961 (Fset_window_configuration): comparisons should now be with
8962 EQ. Preserve the subwindow instance cache across configuration
8964 (allocate_window): ditto.
8965 (make_dummy_parent): ditto.
8967 * glyphs.c (free_frame_subwindow_instances): rename from
8968 free_frame_subwindow_instance_cache. finalize all instances rather
8969 than just those in the display cache.
8970 (finalize_all_subwindow_instances): walk windows unmapping and
8971 finalizing subwindows.
8972 (unmap_subwindow_instance_cache_mapper): moved from
8973 window.c. Allow finalization as well as unmapping.
8975 * gui.c (gui_item_list_find_selected): new function.
8977 * gui.h (gui_item_list_find_selected): declare.
8979 * glyphs-x.c (x_tab_control_redisplay): pick tab
8980 explicitly. Re-code to use gui_item_equal_sans_selected and
8981 gui_item_list_find_selected.
8983 * glyphs-x.h: add lwlib-utils.h
8985 * buffer.c (Frecord_buffer): undo previous change.
8987 2000-08-09 Vin Shelton <acs@xemacs.org>
8989 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
8990 possible. Create temporary files more securely. The patch was
8991 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
8992 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
8993 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
8996 2000-08-07 Ben Wing <ben@xemacs.org>
8998 * getloadavg.c: remove duplicate (and windows-breaking)
8999 includes of fcntl.h and sys/file.h.
9001 * nt.c: remove duplicate getloadavg() definition.
9003 * sysdll.h (Qdll_filename_encoding): add missing stand-in
9006 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
9008 * eval.c (function_argcount): If function needs to be autoloaded
9009 actually use the loaded definition.
9012 2000-08-05 Ben Wing <ben@xemacs.org>
9014 * getloadavg.c: add prototype for getloadavg(). remove
9015 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
9016 of the code). remove duplicate header includes.
9018 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
9020 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
9021 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
9022 useful load average.
9024 * alloc.c (reinit_alloc_once_early): removed references to
9025 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
9026 the lisp vars are the only things referencing the malloc_sbrk_*
9027 vars, and they were already if 0'd out. these vars only exist
9028 in the older malloc.c, which is basically unused, and they're
9029 only for informational purposes.
9031 * m\*.h: removed useless VIRT_ADDR_VARIES.
9033 * m\powerpc.h: removed stray NO_ARG_ARRAY.
9035 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
9037 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
9038 color if the image is a mono pixmap.
9040 2000-07-30 Ben Wing <ben@xemacs.org>
9042 * Makefile.in.in (release):
9045 * buffer.c (directory_is_current_directory):
9046 * dired-msw.c (mswindows_get_files):
9048 * dired.c (Fdirectory_files):
9049 * dired.c (file_name_completion_stat):
9050 * dired.c (Ffile_attributes):
9051 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
9052 preprocessor tricks, to avoid problems on some machines
9055 * callproc.c (egetenv): GC docs.
9058 * console-msw.h (struct mswindows_dialog_id):
9059 * lrecord.h (lrecord_type):
9060 New object for use with MSW dialogs.
9062 * console.h (struct console_methods):
9063 New enable/disable frame methods, for proper modal dialogs.
9065 * device-msw.c (msprinter_default_printer): Fix to follow
9066 proper Mule conventions.
9069 * device-msw.c (signal_open_printer_error):
9070 * device-msw.c (msprinter_init_device):
9071 * device-msw.c (ensure_not_printing):
9072 * device-msw.c (plist_get_margin):
9073 * device-msw.c (Fmsprinter_select_settings):
9074 * device-msw.c (finalize_devmode):
9075 * device-msw.c (Fmsprinter_settings_despecialize):
9076 * device-msw.c (signal_enum_priner_error):
9077 * extents.c (decode_extent):
9078 * extents.c (decode_map_extents_flags):
9079 * extents.c (decode_extent_at_flag):
9080 * extents.c (Fextent_at):
9081 * extents.c (Fextents_at):
9082 * extents.c (symbol_to_glyph_layout):
9083 [[[[2]]]] Use structured errors.
9086 * dialog-msw.c (mswindows_is_dialog_msg):
9087 * dialog-msw.c (mark_mswindows_dialog_id):
9088 * dialog-msw.c (dialog_proc):
9089 * dialog-msw.c (handle_question_dialog_box):
9090 * dialog-msw.c (syms_of_dialog_mswindows):
9091 Define new object to clean up marking; use it as a dialog identifier.
9092 Call new delete-dialog-box-hook.
9094 * dialog-x.c (dbox_selection_callback):
9095 * dialog-x.c (dbox_descriptor_to_widget_value):
9096 * dialog-x.c (x_make_dialog_box_internal):
9097 Call new delete-dialog-box-hook.
9101 * dialog.c (syms_of_dialog):
9102 * dialog.c (vars_of_dialog):
9103 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
9106 * eval.c (signal_call_debugger):
9107 when noninteractive, output stack traces on the console instead
9108 of in a (never-seen) buffer.
9110 * eval.c (signal_type_error):
9111 * eval.c (invalid_argument_2):
9113 new funs for use w/structured errors.
9116 * event-Xt.c (x_to_emacs_keysym):
9117 * event-Xt.c (describe_event):
9118 * event-Xt.c (emacs_Xt_event_handler):
9119 * event-Xt.c (vars_of_event_Xt):
9121 * event-msw.c (mswindows_wnd_proc):
9122 * event-msw.c (vars_of_event_mswindows):
9123 rename {x,mswindows}-debug-events to debug-{}-events for
9124 consistency with other debug-foo variables.
9127 document next-event more clearly.
9129 * fileio.c (Ffile_name_directory):
9130 * fileio.c (Ffile_name_nondirectory):
9131 * fileio.c (Funhandled_file_name_directory):
9132 * fileio.c (file_name_as_directory):
9133 * fileio.c (Ffile_name_as_directory):
9134 * fileio.c (directory_file_name):
9135 * fileio.c (Fdirectory_file_name):
9136 * fileio.c (Fmake_temp_name):
9137 * fileio.c (Ffile_truename):
9138 * fileio.c (Fsubstitute_in_file_name):
9139 * fileio.c (expand_and_dir_to_file):
9140 * fileio.c (barf_or_query_if_file_exists):
9141 * fileio.c (check_executable):
9142 * fileio.c (Ffile_exists_p):
9143 * fileio.c (Ffile_writable_p):
9144 * fileio.c (Ffile_directory_p):
9145 * fileio.c (Ffile_regular_p):
9146 * fileio.c (Ffile_modes):
9147 * fileio.c (Ffile_newer_than_file_p):
9148 * fileio.c (Fverify_visited_file_modtime):
9149 * fileio.c (Fset_visited_file_modtime):
9150 * fileio.c (auto_save_1):
9155 * frame-msw.c (mswindows_init_frame_1):
9156 * frame-msw.c (mswindows_enable_frame):
9157 * frame-msw.c (error_frame_unsizable):
9158 * frame-msw.c (msprinter_init_frame_1):
9159 * frame-msw.c (msprinter_init_frame_3):
9160 * frame-msw.c (console_type_create_frame_mswindows):
9162 implement new enable/disable frame methods.
9165 * frame-x.c (x_enable_frame):
9166 * frame-x.c (console_type_create_frame_x):
9167 implement new enable/disable frame methods.
9170 * frame.c (Fdisable_frame):
9171 * frame.c (syms_of_frame):
9172 * frame.h (struct frame):
9173 implement new enable/disable frame methods/functions.
9178 * glyphs-msw.c (mswindows_widget_instantiate):
9179 comment that initial-focus should be implemented.
9182 * glyphs-widget.c (check_valid_instantiator):
9183 * glyphs-widget.c (check_valid_orientation):
9184 * glyphs-widget.c (check_valid_tab_orientation):
9185 * glyphs-widget.c (check_valid_justification):
9186 * glyphs-widget.c (check_valid_border):
9187 * glyphs-widget.c (check_valid_callback):
9188 * glyphs-widget.c (check_valid_int_or_function):
9189 * glyphs-widget.c (check_valid_string_or_vector):
9190 * glyphs-widget.c (check_valid_item_list_1):
9191 * glyphs-widget.c (widget_validate):
9192 * glyphs-widget.c (combo_box_validate):
9193 * glyphs-widget.c (widget_instantiate):
9194 * glyphs-widget.c (syms_of_glyphs_widget):
9195 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
9196 * glyphs-widget.c (image_instantiator_combo_box):
9197 * glyphs-widget.c (image_instantiator_scrollbar):
9198 * glyphs-widget.c (image_instantiator_tab_control):
9199 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
9201 support (unimplemented) keyword initial-focus.
9202 reindent long macros.
9204 * glyphs-x.c (x_redisplay_widget):
9205 * glyphs-x.c (x_button_instantiate):
9206 * glyphs-x.c (x_button_redisplay):
9207 * glyphs-x.c (x_progress_gauge_instantiate):
9208 * glyphs-x.c (x_edit_field_instantiate):
9209 * glyphs-x.c (x_combo_box_instantiate):
9210 * glyphs-x.c (x_tab_control_instantiate):
9211 * glyphs-x.c (x_label_instantiate):
9213 * gui-x.c (button_item_to_widget_value):
9214 * gui-x.c (gui_items_to_widget_values_1):
9215 * gui-x.c (gui_item_children_to_widget_values):
9216 * gui-x.c (gui_items_to_widget_values):
9218 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9219 add new flag to gui-parsing routines to indicate whether
9220 accelerator specs should be supported.
9222 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
9224 * glyphs.h (struct Lisp_Image_Instance):
9225 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
9226 add initial-focus flag.
9229 * gui.c (syms_of_gui):
9230 * gui.c (vars_of_gui):
9231 clean up menu-no-selection-hook.
9234 support delete-dialog-box-hook.
9236 * lread.c (Fload_internal):
9237 * lread.c (locate_file_in_directory_mapper):
9241 * lrecord.h (struct toolbar_button):
9242 * lrecord.h (syms_of_toolbar):
9243 document how to create a new object.
9245 * menubar-msw.c (mswindows_char_is_accelerator):
9246 may be called on frames w/o menus.
9248 * menubar.c (vars_of_menubar):
9249 clean up :filter docs.
9256 * process-nt.c (validate_signal_number):
9257 * process-nt.c (signal_cannot_launch):
9258 * process-nt.c (nt_create_process):
9259 * process-nt.c (nt_send_process):
9260 * process-nt.c (nt_kill_child_process):
9261 * process-nt.c (nt_open_network_stream):
9262 * process-nt.c (syms_of_process_nt):
9264 delete quote-handling. call new lisp code that does it better.
9266 * process-unix.c (connect_to_file_descriptor):
9267 * process-unix.c (allocate_pty):
9268 * process-unix.c (unix_send_process):
9269 * process-unix.c (unix_kill_child_process):
9270 * process-unix.c (unix_open_network_stream):
9271 * process-unix.c (unix_open_multicast_group):
9275 * process.c (Fstart_process_internal):
9276 (2). need to canonicalize process path even if absolute.
9278 * select-msw.c (symbol_to_ms_cf):
9279 * select-msw.c (ms_cf_to_symbol):
9280 * select-msw.c (cf_is_autofreed):
9281 * select-msw.c (mswindows_destroy_selection):
9283 * select.c (syms_of_select):
9285 support dibv5, fix bugs. (from Mike Alexander)
9287 * select.c (Fget_selection_internal):
9288 * select.c (select_convert_out):
9291 * sysdep.c (xemacs_stat):
9296 but keep original stat() here because we provide encapsulation
9300 * sysfile.h (fstat):
9301 remove stat garbage.
9305 don't include tchar.h. it's inappropriate because it makes
9306 compile-time distinctions when we want runtime distinctions.
9307 (we provide our own tchar replacements)
9310 use default object printer for toolbar-button.
9313 make sure we don't encapsulate.
9315 * window.c (vars_of_window):
9316 emphasize that temp-buffer-show-hook is obsolete.
9318 2000-08-05 Martin Buchholz <martin@xemacs.org>
9320 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
9321 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
9323 * events.c (Fevent_timestamp_lessp):
9324 Not 64-bit clean. Use EMACS_INT, not int.
9326 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
9328 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
9329 unsigned int and changed the last enum to
9330 lrecord_type_last_built_in_type.
9331 (lrecord_implementations_table): changed prototype to know how
9332 long the array is supposed to be.
9333 (lrecord_type_count): new unsigned int to keep track of the
9334 current number of lisp lrecord types.
9335 (DEFINE_EXTERNAL_LRECORD):
9336 (DECLARE_EXTERNAL_LRECORD): Added these two for external
9337 dynamic-modules to declare new lisp types. They are the same
9338 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
9339 int for each new type, and increment lrecord_type_count by 1.
9341 * alloc.c (lrecord_implementations_table): Changed to reference
9342 lrecord_type_last_built_in_type for the size of the array.
9343 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
9345 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9347 * glyphs.h (check_valid_item_list): Renamed from
9348 check_valid_item_list_1.
9350 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
9352 * select.c (Qselect_coerce): New.
9353 * select.c (Vselection_coercion_alist): New.
9354 * select.c (syms_of_select): Declare.
9355 * select.c (get-selection-internal): Use it.
9356 Use the new select-coerce functionality.
9358 * select.c (select_coerce): New.
9359 * select.h (select_coerce): Declare.
9360 New function to coerce one type of data into another.
9362 2000-08-03 Martin Buchholz <martin@xemacs.org>
9364 * callproc.c (Fcall_process_internal):
9365 (Fcall_process_internal):
9366 * process-unix.c (unix_create_process):
9367 Save and restore the value of errno, so that error messages are accurate.
9369 2000-08-01 Martin Buchholz <martin@xemacs.org>
9371 * elhash.c (print_hash_table):
9372 Fix printing of hash tables to also use `key-and-value' instead of `t'.
9373 Prettify docstrings and indentation.
9375 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
9377 * window.c (Fwindow_pixel_edges): Subtract frame border and
9380 2000-07-31 Andy Piper <andy@xemacs.org>
9382 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
9383 will acknowledge the change.
9385 * glyphs.h: declare tab_control_order_only_changed.
9387 * glyphs-x.c (x_tab_control_redisplay): use
9388 tab_control_order_only_changed.
9390 * glyphs-widget.c (tab_control_order_only_changed): new function.
9392 * glyphs-msw.c (mswindows_tab_control_redisplay): use
9393 tab_control_order_only_changed.
9395 * gui.c (gui_item_equal_sans_selected): new function.
9396 (gui_item_equal): use it.
9398 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
9399 :properties in favor of :items..
9401 * glyphs-widget.c (check_valid_item_list): rename from
9402 check_valid_item_list_1.
9403 (check_valid_item_list_1): renamed.
9404 (combo_box_validate): deprecate :properties in favor of :items.
9405 (widget_instantiate): ditto.
9406 (tab_control_update): ditto.
9407 (image_instantiator_combo_box): ditto.
9408 (image_instantiator_tree_view): ditto.
9409 (image_instantiator_tab_control): ditto.
9410 (layout_post_instantiate): remove dead code.
9412 * print.c (debug_print_no_newline): only write to debugger if in
9415 * elhash.c (Fmake_hash_table): update doc string.
9417 * event-msw.c (mswindows_wnd_proc): don't allow processing of
9418 messages whilst in GC. This at least stops XEmacs crashing but has
9419 the potential for wierd behaviour.
9421 2000-07-31 Martin Buchholz <martin@xemacs.org>
9424 Make existence of s&m files optional.
9426 * s/bsd386.h: Remove HAVE_GETLOADAVG.
9427 * s/freebsd.h: Remove HAVE_GETLOADAVG.
9428 * s/gnu.h: Remove HAVE_GETLOADAVG.
9429 * s/netbsd.h: Remove HAVE_GETLOADAVG.
9430 * s/sol2.h: Remove HAVE_GETLOADAVG.
9431 * lisp.h: Remove getloadavg() declaration.
9433 Include <sys/loadavg.h> if available.
9434 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
9435 * config.h.in: Group together getloadavg()-related macros.
9436 Use only configure-time tests to detect getloadavg().
9438 2000-07-30 Martin Buchholz <martin@xemacs.org>
9440 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
9442 2000-07-25 Andy Piper <andy@xemacs.org>
9444 * syswindows.h: add tchar.h for native builds.
9446 * frame.c (syms_of_frame): remove set-glyph-image.
9448 * general-slots.h: add Qset_glyph_image.
9450 * glyphs-widget.c (layout_update): add domain arg to
9452 (syms_of_glyphs_widget): remove set-glyph-image.
9454 2000-07-23 Ben Wing <ben@xemacs.org>
9456 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
9459 2000-07-22 Andy Piper <andy@xemacs.org>
9461 * symsinit.h: add syms_of_win32().
9463 * gui-msw.c (syms_of_gui_mswindows): remove
9464 Fmswindows_shell_execute.
9465 (Fmswindows_shell_execute): moved to win32.c.
9467 * emacs.c (main_1): add syms_of_win32 ().
9469 * win32.c (init_potentially_nonexistent_functions): rewrite in
9470 compiler-friendly terms.
9471 (Fmswindows_shell_execute): move here from gui-msw.c.
9472 (syms_of_win32): new.
9474 * device-msw.c (Fmswindows_printer_list): clean up args to
9476 Don't include tchar under cygwin or mingw.
9477 (msprinter_default_printer): make cygwin-friendly.
9479 2000-07-21 Andy Piper <andy@xemacs.org>
9481 * glyphs-widget.c (image_instantiator_tree_view): use tab
9482 control's update function.
9483 (layout_property): new function. Retrieve items.
9485 * glyphs-msw.c (mswindows_tree_view_redisplay): new
9486 function. Re-populate the tree view from the pending items.
9488 * glyphs.c (instantiate_image_instantiator): Make sure the domain
9489 is designated the parent if the domain is an image instance. This
9490 is needed so that dirtiness can be cascade up the hierarchy and
9491 thus for layout children to be redisplayed correctly.
9492 (allocate_image_instance): rename glyph -> parent.
9494 * redisplay.h: change redisplay_output_layout signature.
9496 * redisplay-msw.c (mswindows_output_display_block): use domain
9499 * redisplay-x.c (x_output_display_block): use domain arg.
9501 2000-07-10 Andy Piper <andy@xemacs.org>
9503 * window.c (Fset_window_configuration): add comment.
9505 * redisplay-output.c (compare_runes):
9506 (redisplay_output_subwindow): redisplay rather than update subwindow.
9507 (redisplay_output_layout): ditto.
9509 * redisplay-msw.c (mswindows_frame_output_end):
9510 (mswindows_frame_output_end): make defer window pos optional.
9512 * lisp.h: add Flast.
9514 * glyphs.h (struct image_instantiator_methods): add dest_mask top
9515 normalize method. Change update method to be for changed
9516 instantiators. Add redisplay method. Change signature of layout
9518 (struct Lisp_Image_Instance): add instantiator.
9519 (IMAGE_INSTANCE_INSTANTIATOR): new.
9520 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
9521 (XIMAGE_INSTANCE_INSTANTIATOR): new.
9522 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
9525 (find_instantiator_differences): new function.
9526 (Fset_instantiator_property): new convenience function.
9527 (check_image_instance_structure): strictly check for vector
9529 (normalize_image_instantiator): make non-static.
9530 (instantiate_image_instantiator): pass on dest_mask and use new
9531 signatures for image_instance_layout and friends.
9532 (mark_image_instance): mark the instantiator. Mark the subwindow
9533 face not the widget face.
9534 (image_instance_equal): add instantiator.
9535 (image_instance_hash): ditto.
9536 (allocate_image_instance): ditto.
9537 (Fset_image_instance_property): removed.
9538 (Fimage_instance_file_name): ditto.
9539 (Fcolorize_image_instance): ditto.
9540 (image_instance_layout): add offsets to be set.
9541 (update_image_instance): new function. update an image instance
9542 from its changed instantiator.
9543 (inherit_normalize): add dest_mask.
9544 (xbm_normalize): ditto.
9545 (xface_normalize): ditto.
9546 (xpm_normalize): ditto.
9547 (text_update): set_property -> update.
9548 (image_instantiate): use the glyph identity as a hash key, not the
9550 (glyph_width): use new image_instance_layout signature.
9551 (glyph_ascent): ditto.
9552 (glyph_descent): ditto.
9553 (glyph_height): ditto.
9554 (glyph_query_geometry): ressurrect.
9555 (glyph_layout): ditto.
9556 (redisplay_subwindow): update -> redisplay.
9557 (syms_of_glyphs): add Fset_instantiator_property.
9558 (image_instantiator_format_create): set_property -> update.
9561 (autodetect_normalize): add dest_maks to signature.
9562 (x_redisplay_subwindow): update -> redisplay.
9563 (x_redisplay_widget): ditto.
9564 (x_button_redisplay): ditto.
9565 (x_progress_gauge_redisplay): ditto.
9566 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
9568 (console_type_create_glyphs_x): update -> redisplay.
9569 (image_instantiator_format_create_glyphs_x): ditto.
9572 (check_valid_instantiator): disallow glyphs in the instantiator,
9573 they must now be vectors.
9574 (check_valid_instantiator_list): ditto.
9575 (glyph_instantiator_to_glyph): use internal symbol rather than
9577 (widget_update): renamed from widget_set_property. Call cascaded
9579 (redisplay_widget): renamed from update_widget.
9580 (widget_layout): image_instance_layout now takes position as well
9582 (widget_normalize): ditto.
9583 (widget_instantiate): ditto.
9584 (tab_control_query_geometry) ditto.:
9585 (tab_control_update): renamed from tab_control_set_property.
9586 (progress_gauge_update): set_property -> update.
9587 (layout_normalize): rewrite so that child instantiators are
9589 (layout_update): new function. Create glyphs from the normalized
9590 children and cope with any other layout keywords. We do not
9591 instantiate children here that will be take care of by
9592 redisplay_output_layout.
9593 (layout_instantiate): call layout_update and not much else.
9594 (layout_post_instantiate): not sure whether this is needed
9596 (layout_query_geometry): query glyph geometry rather than
9597 image_instance geometry.
9598 (layout_layout): set offsets from pass in parameters. Use glyph
9599 geometry and layout functions rather than image instance ones.
9600 (native_layout_layout): ditto.
9601 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
9602 (image_instantiator_widget): set_property -> update.
9603 (image_instantiator_buttons): ditto.
9604 (image_instantiator_progress_guage): ditto.
9605 (image_instantiator_tab_control): ditto.
9606 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
9607 (image_instantiator_layout): add update method.
9609 * glyphs-msw.c (bmp_normalize):
9610 (mswindows_resource_normalize): add dest_mask so that it can be
9611 proprogated by layout_normalize.
9612 (begin_defer_window_pos): make optional because it may not be the
9613 right thing to do and it introduces differences with X.
9614 (mswindows_unmap_subwindow): ditto.
9615 (mswindows_map_subwindow): ditto.
9616 (mswindows_redisplay_subwindow): renamed from
9617 mswindows_update_subwindow.
9618 (mswindows_redisplay_widget): ditto.
9619 (mswindows_button_redisplay): renamed from
9620 mswindows_button_update. Update is now what the instantiation
9621 function does for a changed instantiator.
9622 (mswindows_progress_gauge_instantiate): set the progress value
9623 here if appropriate.
9624 (mswindows_tab_control_redisplay): cope with re-ordering of the
9625 members of the tab widget by simply selecting the new top
9626 widget. This makes things appear ok if you click on a tab.
9627 (mswindows_combo_box_instantiate): image_instance_layout now takes
9628 position as well as size.
9629 (mswindows_progress_gauge_redisplay): renamed from
9630 mswindows_progress_gauge_update.
9631 (console_type_create_glyphs_mswindows): fix update -> redisplay.
9632 (image_instantiator_format_create_glyphs_mswindows): ditto.
9634 * glyphs-eimage.c (jpeg_normalize):
9637 (tiff_normalize): add dest_mask so that it can be proprogated by
9642 (hash_table_weakness_validate):
9643 (decode_hash_table_weakness):
9644 (Fhash_table_weakness):
9646 (syms_of_elhash): use Ben's naming scheme for hashtable types..
9648 * console.h (struct console_methods): move update_* to
9651 2000-07-20 Ben Wing <ben@xemacs.org>
9653 * *.[ch] (XSETOBJ): remove unused middle argument.
9654 lisp-disunion.h: correct wrap_object() to one argument.
9656 2000-07-15 Ben Wing <ben@xemacs.org>
9659 * s/cygwin32.h (CYGWIN_CONV_PATH):
9660 Add missing logb prototype for v1.1.
9661 Use post-b20 names and alias to pre-b20 names when pre-b20.
9663 * s/windowsnt.h: [5].
9665 2000-07-15 Ben Wing <ben@xemacs.org>
9667 * Makefile.in.in (x_objs):
9668 * Makefile.in.in (sheap_objs):
9669 * Makefile.in.in (objs):
9670 added win32.o, cosmetic cleanups.
9672 * alloc.c (Fmake_byte_code):
9673 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
9674 etc. macros which declare their own args now.
9676 * alloc.c (syms_of_alloc):
9677 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
9680 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
9682 * buffer.c (Fget_file_buffer):
9683 Fixed GCPRO problem.
9685 * buffer.c (get_truename_buffer):
9686 Fixed comment about GC checking.
9688 * buffer.c (syms_of_buffer):
9689 Undeclared those dedicated frame funs.
9693 Define convenience macros for internal/external conversions.
9694 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
9695 and Qenvironment_variable_encoding for cleaner code.
9698 Remove dedicated-frame; in lisp.
9700 * bytecode.c (funcall_compiled_function):
9703 * bytecode.c (syms_of_bytecode):
9707 * console-msw.c (mswindows_show_console): Rewrote.
9709 * console-msw.c (Fmswindows_debugging_output): New.
9710 Sends to OutputDebugString (special MSWin debugger interface).
9712 * console-msw.c (Fmswindows_message_box):
9713 Fixed stupid bugs so it works when called from kill-emacs.
9715 * console-msw.c (syms_of_console_mswindows):
9716 Declare Fmswindows_debugging_output.
9719 New MSWin prototypes.
9721 * console-msw.h (struct mswindows_frame):
9722 New entry last-click-mods for improved button-modifier support.
9724 * console-msw.h (FRAME_MSWINDOWS_POPUP):
9725 New struct entry `popup' with corresponding accessor.
9728 * console-x.c (split_up_display_spec):
9729 * console-x.c (get_display_arg_connection):
9730 * console-x.c (x_semi_canonicalize_console_connection):
9731 * console-x.c (x_canonicalize_device_connection):
9732 [[[6]]]: Change char to more specific type.
9733 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
9735 * console-x.c (x_semi_canonicalize_console_connection):
9736 * console-x.c (x_canonicalize_device_connection):
9737 [[[9]]]: Fix up error signalling to use new structured error system.
9740 [[[4]]]: Define codesys aliases:
9741 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
9742 Qx_color_name_encoding, Qx_display_name_encoding.
9744 * console.h (struct console_methods):
9745 New method make_dialog_box_internal supersedes older
9746 popup_dialog_box method.
9749 Define many new errors, part of new structured errors.
9751 * data.c (init_errors_once_early):
9752 * data.c (syms_of_data):
9755 * device-msw.c (mswindows_init_device):
9756 [[[5]]]: Cleanup to support NT 3.51.
9758 * device-msw.c (decode_devmode): Cleanup.
9760 * device-msw.c (mswindows_handle_print_setup_dialog_box):
9761 * device-msw.c (mswindows_handle_print_dialog_box):
9762 * device-msw.c (mswindows_handle_page_setup_dialog_box):
9763 * device-msw.c (syms_of_device_mswindows):
9764 Delete the dialog box primitives recently introduced by Kirill and
9765 instead interface to general dialog box interface.
9768 * device-x.c (compute_x_app_name):
9769 * device-x.c (x_init_device):
9770 * device-x.c (Fx_valid_keysym_name_p):
9771 * device-x.c (Fx_set_font_path):
9775 * device.h (wrap_device): New.
9776 First of its kind; meant to replace XSETDEVICE.
9778 * dialog-msw.c: Many file-dialog symbols.
9780 * dialog-msw.c (mswindows_register_popup_frame): New.
9781 * dialog-msw.c (mswindows_is_dialog_msg): New.
9782 For supporting kbd traversal in dialog boxes.
9784 * dialog-msw.c (dialog_proc):
9785 Support hitting ESC in dialogs.
9787 * dialog-msw.c (struct):
9788 Common dialog box errors.
9790 * dialog-msw.c (handle_file_dialog_box): New.
9791 Add file dialog code.
9793 * dialog-msw.c (handle_question_dialog_box):
9794 Redo existing code to support new question dialog syntax.
9796 * dialog-msw.c (console_type_create_dialog_mswindows):
9797 We support new dialog console method.
9799 * dialog-msw.c (syms_of_dialog_mswindows):
9800 * dialog-msw.c (vars_of_dialog_mswindows):
9801 New file dialog symbols, vars.
9804 * dialog-x.c (maybe_run_dbox_text_callback):
9805 * dialog-x.c (dbox_descriptor_to_widget_value):
9806 * dialog-x.c (x_make_dialog_box_internal):
9807 * dialog-x.c (console_type_create_dialog_x):
9808 Mule-ize entire file.
9809 Redo to support question dialog syntax.
9813 * dialog.c (Fmake_dialog_box_internal):
9814 * dialog.c (syms_of_dialog):
9815 Kill old popup-dialog-box, replace with new primitive.
9816 Just call device method or signal error.
9818 * eldap.c (Fldap_open):
9819 * eldap.c (Fldap_search_basic):
9820 * eldap.c (Fldap_add):
9821 * eldap.c (Fldap_modify):
9826 * emacs.c (make_arg_list_1):
9827 * emacs.c (make_arg_list):
9828 Mule-ize call to dll_init().
9832 * emacs.c (make_argc_argv):
9833 * emacs.c (free_argc_argv):
9834 * emacs.c (init_cmdargs):
9836 * emacs.c (Fkill_emacs):
9837 * emacs.c (Fdump_emacs):
9838 Update comments about what can be used in syms_* etc.
9839 Call init_win32() when necessary.
9840 Fix up MS Win dialog box in kill-buffer to actually work right.
9851 * eval.c (condition_case_3):
9853 * eval.c (function_argcount):
9854 * eval.c (funcall_lambda):
9857 * eval.c (type_error): New.
9858 * eval.c (maybe_type_error): New.
9859 * eval.c (continuable_type_error): New.
9860 * eval.c (maybe_continuable_type_error): New.
9861 * eval.c (type_error_with_frob): New.
9862 * eval.c (maybe_type_error_with_frob): New.
9863 * eval.c (continuable_type_error_with_frob): New.
9864 * eval.c (maybe_continuable_type_error_with_frob): New.
9865 New functions for use with structured errors.
9868 * event-Xt.c (x_event_to_emacs_event):
9869 Buttons are now modifiers too.
9871 * event-Xt.c (emacs_Xt_current_event_timestamp):
9872 Implement new event method.
9873 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
9876 * event-msw.c (ntpipe_shove_writer): [5].
9877 * event-msw.c (mswindows_enqueue_mouse_button_event):
9878 * event-msw.c (mswindows_drain_windows_queue):
9879 * event-msw.c (mswindows_wnd_proc): [7].
9880 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
9881 * event-msw.c (mswindows_modifier_state):
9882 Throughout: support new button modifiers.
9884 * event-msw.c (emacs_mswindows_current_event_timestamp):
9885 Implement new event method.
9886 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
9889 * event-stream.c (event_stream_current_event_timestamp): New.
9890 * event-stream.c (maybe_kbd_translate): New functionality.
9891 * event-stream.c (vars_of_event_stream):
9892 Document new kbd-translate-table functionality.
9894 * event-stream.c (Fcurrent_event_timestamp): New.
9895 New primitive for use in fabricated events.
9896 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
9898 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
9901 * events.c (Fmake_event):
9902 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
9906 * events.c (format_event_object): fix gcc warnings.
9908 * events.c (Fevent_timestamp): Document new primitives.
9910 * events.c (TIMESTAMP_HALFSPACE): New.
9912 * events.c (Fevent_timestamp_lessp): New. New primitive for
9913 comparing timestamps correctly (half-space algorithm).
9915 * events.c (Fevent_modifier_bits): Doc fix.
9917 * events.c (Fevent_modifiers): Major doc addition.
9918 * events.c (event_x_y_pixel_internal): Typo fix.
9919 * events.c (syms_of_events): Declare new primitives.
9922 Update long comment for button modifiers, timestamps.
9924 * events.h (struct event_stream):
9925 New current_event_timestamp method.
9928 * extents.c (extent_in_region_p):
9929 * extents.c (decode_extent):
9930 * extents.c (Fset_extent_parent):
9931 * extents.c (decode_map_extents_flags):
9935 * extents.c (struct extent_at_arg):
9936 * extents.c (decode_extent_at_flag):
9937 * extents.c (extent_at_mapper):
9938 * extents.c (extent_at_bytind):
9939 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
9940 * extents.c (Fextents_at): New primitive. [9].
9941 * extents.c (symbol_to_glyph_layout): [9].
9942 Support new primitive `extents-at'.
9945 * extents.c (get_text_property_bytind):
9946 extent_at_bytind has another arg.
9949 * extents.c (syms_of_extents): New primitive.
9951 * file-coding.c (Fmake_coding_system): [1].
9952 * file-coding.c (subsidiary_coding_system): fix gcc warning
9953 * file-coding.c (syms_of_file_coding): [2].
9955 * fileio.c (Fexpand_file_name):
9956 * fileio.c (Fsysnetunam):
9957 * fileio.c (Ffile_exists_p):
9958 * fileio.c (Ffile_executable_p):
9959 * fileio.c (Fverify_visited_file_modtime):
9962 * fileio.c (syms_of_fileio): [2].
9964 * filelock.c (lock_file_1):
9965 * filelock.c (current_lock_owner):
9966 * filelock.c (lock_if_free):
9967 * filelock.c (lock_file):
9968 * filelock.c (unlock_file):
9971 * fns.c (concat): Fix gcc warning.
9974 * fns.c (Fold_member):
9976 * fns.c (Fold_memq):
9977 * fns.c (memq_no_quit):
9979 * fns.c (Fold_assoc):
9981 * fns.c (Fold_assq):
9982 * fns.c (assq_no_quit):
9984 * fns.c (Fold_rassoc):
9986 * fns.c (Fold_rassq):
9987 * fns.c (rassq_no_quit):
9989 * fns.c (Fold_delete):
9991 * fns.c (Fold_delq):
9992 * fns.c (delq_no_quit):
9993 * fns.c (Fremassoc):
9995 * fns.c (remassq_no_quit):
9996 * fns.c (Fremrassoc):
9997 * fns.c (Fremrassq):
9998 * fns.c (remrassq_no_quit):
10003 * frame-msw.c (mswindows_init_frame_1):
10004 * frame-msw.c (mswindows_delete_frame):
10005 Register popups with dialog code so keyboard traversing works.
10007 * frame-tty.c (tty_raise_frame_no_select): [1].
10010 * frame-x.c (x_set_frame_text_value):
10011 * frame-x.c (x_set_frame_properties):
10012 * frame-x.c (x_create_widgets):
10016 * frame.c (Fmouse_pixel_position): Minor doc fixes.
10018 * frame.h (wrap_frame): New.
10019 Macro like wrap_device.
10022 * general.c (SYMBOL):
10023 * general.c (syms_of_general):
10024 Major reorg. This is now just a wrapper and symbols themselves
10025 are listed in general-slots.h.
10027 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
10028 * glyphs-msw.c (mswindows_resource_instantiate): [5].
10030 * glyphs-msw.c (mswindows_native_layout_instantiate):
10031 Add DS_CONTROL so keyboard traversal will work.
10034 * glyphs-widget.c (syms_of_glyphs_widget):
10035 Move some symbols to general-slots.h.
10038 * glyphs-x.c (xbm_instantiate_1):
10039 * glyphs-x.c (x_xbm_instantiate):
10040 * glyphs-x.c (x_xface_instantiate):
10041 * glyphs-x.c (autodetect_instantiate):
10042 * glyphs-x.c (cursor_font_instantiate):
10043 * glyphs-x.c (x_update_widget):
10044 * glyphs-x.c (x_widget_instantiate):
10045 * glyphs.c (bitmap_to_lisp_data):
10046 * glyphs.c (pixmap_to_lisp_data):
10049 * glyphs.c (syms_of_glyphs):
10053 * gui-x.c (print_widget_value):
10054 * gui-x.c (menu_separator_style_and_to_external):
10055 * gui-x.c (add_accel_and_to_external):
10056 * gui-x.c (button_item_to_widget_value):
10057 * gui-x.c (gui_items_to_widget_values_1):
10058 * gui-x.c (gui_items_to_widget_values):
10059 * gui-x.c (syms_of_gui_x):
10060 * gui-x.c (vars_of_gui_x):
10061 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
10065 Muleize, prototype changes matching gui-x.c.
10068 * gui.c (separator_string_p):
10069 * gui.c (gui_item_add_keyval_pair):
10070 * gui.c (make_gui_item_from_keywords_internal):
10071 * gui.c (signal_too_long_error):
10072 * gui.c (parse_gui_item_tree_item):
10073 * gui.c (syms_of_gui):
10074 * gui.c (vars_of_gui):
10076 menu-no-selection-hook moved here (used by MSWin).
10077 Move some symbols to general-slots.h.
10081 * insdel.c (get_buffer_pos_char):
10082 * insdel.c (get_buffer_range_char):
10085 * keymap.c (keymap_lookup_directly):
10086 * keymap.c (keymap_store):
10087 * keymap.c (ensure_meta_prefix_char_keymapp):
10088 * keymap.c (describe_map):
10090 Support new button modifiers.
10092 * lisp-disunion.h (wrap_object):
10093 * lisp-disunion.h (XSETOBJ):
10094 Rename make_obj to wrap_object.
10097 * lisp-union.h (make_int):
10098 * lisp-union.h (make_char):
10099 Support wrap_object.
10102 * lisp.h (LIST_LOOP):
10103 * lisp.h (EXTERNAL_LIST_LOOP):
10104 * lisp.h (LIST_LOOP_2):
10105 * lisp.h (EXTERNAL_LIST_LOOP_1):
10106 * lisp.h (EXTERNAL_LIST_LOOP_2):
10107 * lisp.h (EXTERNAL_LIST_LOOP_3):
10108 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
10109 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10110 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
10111 * lisp.h (EXTERNAL_ALIST_LOOP_5):
10112 * lisp.h (EXTERNAL_ALIST_LOOP_6):
10113 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
10114 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
10115 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
10116 * lisp.h (struct Lisp_Symbol):
10117 * lisp.h (maybe_continuable_error_with_frob):
10118 Fix up section comments.
10119 Add new types for char to indicate usage.
10120 Delete symbols auto-generated from general-slots.h.
10121 Add prototypes for structured error functions.
10122 Add long comments describing looping macros and change interface
10123 so that lvalues are automatically declared.
10124 Add NO_DECLARE macro in case callers want to declare lvalues
10127 * lread.c (read_syntax_error):
10128 * lread.c (continuable_read_syntax_error):
10129 * lread.c (read_structure):
10130 * lread.c (sequence_reader):
10131 * lread.c (read_list_conser):
10132 * lread.c (read_compiled_function):
10133 Rename syntax_error and continuable_syntax_error to avoid clash
10134 with same-named structured error functions.
10136 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10137 * menubar-msw.c (populate_menu_add_item):
10138 * menubar-msw.c (populate_or_checksum_helper):
10143 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10144 Mule-ize whole file.
10146 * menubar.c (Fnormalize_menu_item_name): Add optimization.
10148 * mule-charset.c (Fmake_charset):
10149 * mule-wnnfns.c (Fwnn_set_param):
10152 * ntproc.c (create_child):
10153 * ntproc.c (Fwin32_set_current_locale):
10154 Add comments portending doom.
10157 * objects-msw.c (old_font_enum_callback_2):
10158 * objects-msw.c (font_enum_callback_1):
10159 * objects-msw.c (mswindows_enumerate_fonts):
10163 * objects-x.c (allocate_nearest_color):
10164 * objects-x.c (x_parse_nearest_color):
10165 * objects-x.c (x_initialize_color_instance):
10166 * objects-x.c (x_print_color_instance):
10167 * objects-x.c (x_finalize_color_instance):
10168 * objects-x.c (x_valid_color_name_p):
10169 * objects-x.c (x_initialize_font_instance):
10170 * objects-x.c (x_print_font_instance):
10171 * objects-x.c (valid_x_font_name_p):
10172 * objects-x.c (truename_via_FONT_prop):
10173 * objects-x.c (truename_via_random_props):
10174 * objects-x.c (truename_via_XListFonts):
10175 * objects-x.c (x_font_truename):
10176 * objects-x.c (x_font_instance_truename):
10177 * objects-x.c (x_font_instance_properties):
10178 * objects-x.c (x_list_fonts):
10179 * objects-x.c (x_find_charset_font):
10180 Mule-ize entire file.
10187 * print.c (std_handle_out_external):
10188 * print.c (debug_print_no_newline):
10189 * print.c (syms_of_print):
10190 Output to all debugger kinds in debug-print.
10191 Fix console-output code under MSWin to actually work.
10193 * process-nt.c (send_signal):
10194 * process-nt.c (nt_create_process):
10195 Use newer Unicode macros.
10197 * process-unix.c (unix_create_process):
10198 * process-unix.c (unix_canonicalize_host_name):
10199 * process-unix.c (unix_open_network_stream):
10205 * search.c (syms_of_search):
10208 * select-msw.c (mswindows_destroy_selection):
10211 * select-x.c (symbol_to_x_atom):
10214 * select.c (syms_of_select):
10217 * sound.c (Fplay_sound_file):
10221 * specifier.c (decode_specifier_type):
10222 * specifier.c (Fvalid_specifier_locale_type_p):
10223 * specifier.c (check_valid_locale_or_locale_type):
10224 * specifier.c (decode_locale):
10225 * specifier.c (decode_locale_type):
10226 * specifier.c (decode_locale_list):
10227 * specifier.c (check_valid_domain):
10228 * specifier.c (decode_specifier_tag_set):
10229 * specifier.c (Fcanonicalize_tag_set):
10230 * specifier.c (Fdefine_specifier_tag):
10231 * specifier.c (Fspecifier_tag_predicate):
10232 * specifier.c (check_valid_inst_list):
10233 * specifier.c (check_valid_spec_list):
10234 * specifier.c (decode_how_to_add_specification):
10235 * specifier.c (check_modifiable_specifier):
10236 * specifier.c (specifier_add_spec):
10237 * specifier.c (boolean_validate):
10238 * specifier.c (display_table_validate):
10241 * specifier.c (syms_of_specifier):
10242 Move some symbols to general-slots.h.
10246 * symbols.c (Fmapatoms):
10247 * symbols.c (Fapropos_internal):
10250 * symbols.c (set_default_buffer_slot_variable):
10251 * symbols.c (set_default_console_slot_variable):
10254 * symbols.c (defsymbol_massage_name_1):
10255 * symbols.c (defkeyword_massage_name):
10256 * symbols.c (deferror_1):
10257 * symbols.c (deferror):
10258 * symbols.c (deferror_massage_name_and_message):
10260 * symeval.h (DEFSYMBOL):
10261 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
10263 * symbols.c (syms_of_symbols):
10267 * symsinit.h (init_win32): New.
10268 Also new is syms_of_dialog_mswindows.
10271 Add new Unicode macros, missing Cygwin wide-char functions,
10272 convenience conversion macros for Qmswindows_tstr, macros for
10273 encapsulating required MSWin <-> Cygwin filename conversions,
10274 prototype for dynamically-extracted (not in NT 3.51) functions.
10279 * tooltalk.c (Fadd_tooltalk_message_arg):
10280 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
10281 * tooltalk.c (Fadd_tooltalk_pattern_arg):
10284 * tooltalk.c (syms_of_tooltalk):
10288 * unexnt.c (unexec):
10289 Fix up headers, declaration of unexec() to be more standard.
10291 2000-07-20 Martin Buchholz <martin@xemacs.org>
10293 * offix.h: Revert change to guard macros - they're used in offix.c!
10295 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10297 * lisp.h: Defsubred Fdelete.
10299 * console-msw.h: (msprinter_default_printer): Added.
10301 * console-msw.c (msprinter_canonicalize_console_connection):
10302 (msprinter_canonicalize_device_connection): Added.
10304 * device-msw.c (msprinter_default_printer):
10305 (Fmswingows_get_default_printer):
10306 (signal_enum_priner_error):
10307 (Fmswingows_printer_list): Added.
10309 2000-07-19 Martin Buchholz <martin@xemacs.org>
10311 * XEmacs 21.2.35 is released.
10313 2000-07-19 Martin Buchholz <martin@xemacs.org>
10315 * select-x.c (x_handle_selection_request):
10316 Text selected in xemacs and pasted into xterm failed to appear.
10317 Spelling fixes and cosmetic changes.
10319 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10321 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
10322 XEmacs frame (fix for doubling chars in dialog boxes).
10324 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10326 * select.c (select_convert_in, select_convert_out):
10327 Don't call intern() every time.
10329 * select.c (Qselect_convert_in, Qselect_convert_out): New.
10330 * select.c (vars_of_select): Initialise them.
10332 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10334 * select.c (selection-coercible-types): New.
10336 * select.c (own-selection-internal):
10337 * select.c (get-selection-internal):
10338 MULE bug fix - these should default to COMPOUND_TEXT and not
10339 STRING for MULE. I think.
10341 * select.c (select_convert_out): Use selection-coercible-types
10342 to find types that we can attempt to perform coercions on.
10344 2000-07-18 Martin Buchholz <martin@xemacs.org>
10348 Add coding: cookie to identify encoding.
10350 * mule-canna.c (CANNA_mode_keys): make static.
10351 Use proper prototypes, even for functions of no arguments.
10352 Remove external prototype for Fding().
10354 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
10356 * select.c (syms_of_select): Add missing DEFSUBR.
10358 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10360 * select.c (get_selection_internal, own_selection_internal):
10361 Make the type default to STRING, rather than placing a nil type
10362 into Vselection_alist.
10364 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10366 * gpmevent.c (tty_selection_exists_p):
10367 * gpmevent.c (tty_own_selection):
10368 Updated parameter lists.
10370 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
10372 * select.h (selection-alist): Removed declaration.
10374 * select.h (get_local_selection):
10375 * select.c (get_local_selection):
10378 * select.h (convert_selection): Removed declaration.
10379 * select.c (convert_selection): Removed.
10380 This function belongs in Lisp.
10382 * select.h (select_convert_in): Declare.
10383 * select.h (select_convert_out): Declare.
10384 * select.c (select_convert_in): New.
10385 * select.c (select_convert_out): New.
10386 New conversion functions for other files to call.
10388 * select.h (select_notify_buffer_kill): Declare.
10389 * select.c (select_notify_buffer_kill): New.
10390 New functions that get called from kill-buffer.
10392 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
10393 X-specific lisp code.
10395 * select.h: Declare some of the lisp-visible functions for
10398 * select.c (clean_local_selection_data): Removed. This was
10399 a disgusting function, and previously should have been in
10400 select-x.c in any case. The functionality is now provided
10401 in select-convert-from-integer (select.el).
10403 * select.c (available-selection-types): Fixed stupidity where
10404 INTEGER and ATOM got added twice. Also add STRING when we see an
10407 * select.c (get-selection-internal): Removed symbol stripping. No
10408 longer causes conversion when data comes from the internal cache.
10410 * select.c (syms_of_select): Added new functions.
10412 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
10413 error checking - previously this called abort!
10415 * select-x.c (x_own_selection): Changed comment.
10417 * select-x.c (x_handle_selection_request): Use select_convert_out.
10418 Don't mess with selection-alist; it's an internal variable of select.c.
10420 * select-x.c (x_get_foreign_selection): Use select_convert_in.
10422 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
10423 rather than messing with selection-alist.
10425 * select-msw.c (mswindows_get_foreign_selection):
10426 Use TO_INTERNAL_FORMAT rather than hacking.
10428 2000-07-14 Martin Buchholz <martin@xemacs.org>
10430 * process-unix.c (unix_open_multicast_group):
10431 (unix_open_multicast_group): Remove useless casts.
10433 2000-07-13 Martin Buchholz <martin@xemacs.org>
10435 * sound.c (Fplay_sound): Fix `unused variable' warning.
10437 * emacs.c (main): Use correct type for _environ on SCO5.
10439 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
10441 * console.h (own_selection_method):
10442 * console.h (selection_exists_p_method):
10443 * console.h (available_selection_types_method): New.
10444 * console.h (register_selection_data_type_method): New.
10445 * console.h (selection_data_type_name): New.
10447 * console-msw.h (mswindows_destroy_selection): Declare it. New
10448 function & alist to track GlobalAlloc()'d handles that need
10449 releasing when the clipboard data gets replaced or emptied.
10451 * event-msw.c (mswindows_wnd_proc): Call it.
10453 * lisp.h, general.c (Qappend): New symbol representing a
10456 * select.c (own-selection-internal):
10457 * select.c (selection-exists-p):
10458 * select.c (available-selection-types): New.
10459 * select.c (register-selection-data-type): New.
10460 * select.c (selection-data-type-name): New. New functions to deal
10461 with device-specific selection data formats.
10462 * select.c (selection-converter-out-alist): Renamed.
10463 * select.c (selection-converter-in-alist): New.
10464 * select.c (selection-appender-alist): New. Added new alists.
10465 * select.c (syms_of_select, vars_of_select): Added new symbols &
10467 * select.c (get_local_selection): Split.
10468 * select.c: Removed spurious type checking - selections may now be
10469 of any type, not just strings.
10470 * select.c (own-selection-internal):
10472 * select.h, select.c (convert_selection): New. Created
10473 convert_selection() function based on get_local_selection().
10474 * select.h, select.c (QCF_*): New symbols representing mswindows
10476 * select.h, select.c (Qreplace_all, Qreplace_existing): New
10477 symbols representing `how-to-add' modes.
10479 * select-msw.c (x_sym_p): New.
10480 * select-msw.c (symbol_to_ms_cf): New.
10481 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
10482 symbols & clipboard formats. Can also handle string names.
10483 * select-msw.c (mswindows_own_selection):
10484 * select-msw.c (mswindows_selection_exists_p):
10485 Added `data-type' parameter. Use it.
10486 * select-msw.c (mswindows_available_selection_types): New.
10487 * select-msw.c (mswindows_register_selection_data_type): New.
10488 * select-msw.c (mswindows_selection_data_type_name): New.
10489 * select-msw.c (mswindows_own_selection):
10490 * select-msw.c (mswindows_get_foreign_selection):
10491 * select-msw.c (mswindows_selection_exists_p): Rewrote.
10492 * select-msw.c (console_create_select_mswindows): Added new methods.
10493 * select-msw.c (mswindows_destroy_selection): New.
10494 * select-msw.c (Vhandle_alist): New list.
10495 * select-msw.c (mswindows_own_selection):
10497 * select-x.c (x_own_selection):
10498 * select-x.c (x_selection_exists_p):
10499 * select-x.c: Added some comments about maybe using new
10501 * select-x.c (x_own_selection):
10503 * specifier.c: Remove definition of Qappend (now in general.c)
10504 * specifier.c (syms_of_specifier): Remove Qappend.
10506 2000-07-12 Martin Buchholz <martin@xemacs.org>
10508 * config.h.in: Add socklen_t.
10510 * s/decosf4-0.h: No special compiler flags needed or desired.
10511 In particular, undefine _BSD for DEC OSF 4.0.
10513 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10515 * redisplay-msw.c (msprinter_frame_output_end): Added.
10516 (console_type_create_redisplay_mswindows): Referred the above.
10518 * frame.c (setup_frame_without_minibuffer): Do not create a
10519 default minibuffer frame on a printer device.
10521 * frame-msw.c (apply_dc_geometry): Added.
10522 (msprinter_start_page):
10523 (msprinter_init_frame_3):
10524 (msprinter_eject_page): Use it.
10526 * console-msw.h (struct msprinter_frame): Added pix_left and top,
10527 and removed residual duplex and orientation properties.
10529 2000-07-11 Martin Buchholz <martin@xemacs.org>
10531 * eval.c (function_argcount): Work around a DEC CC compiler bug.
10533 * unexalpha.c: Remove system prototypes from C sources!
10535 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
10537 * eval.c: Remove references to M-x edit-options in DEFUNs for
10538 `defvar' and `defconst'.
10540 2000-07-09 Martin Buchholz <martin@xemacs.org>
10542 * config.h.in: Remove SMART_INCLUDE hackery.
10544 PostgreSQL hacking:
10545 * config.h.in: Don't use SMART_INCLUDE.
10547 * postgresql.h: Include libpq-fe.h here. Fix typo.
10548 * inline.c: Simply #include "postgresql.h"
10550 - Don't use SMART_INCLUDE
10551 - Use simply "const".
10552 - Use standard doc string conventions.
10553 - Use correct type for result of PQstatus.
10555 2000-07-09 Martin Buchholz <martin@xemacs.org>
10557 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
10559 C++ compilation changes.
10560 * config.h.in (EXTERN_C): Define.
10561 * config.h.in (not): This is also a C++ keyword.
10562 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
10563 * cm.c: Use EXTERN_C.
10564 * redisplay-tty.c: Use EXTERN_C.
10565 * sysdep.c: Use EXTERN_C. Remove Gould support.
10567 2000-07-09 Martin Buchholz <martin@xemacs.org>
10569 * general.c: Remove duplicate definition for Qfunction.
10571 2000-07-08 Ben Wing <ben@xemacs.org>
10573 * device-msw.c (msprinter_init_device):
10574 * device-msw.c (sync_printer_with_devmode):
10575 * device-msw.c (handle_devmode_changes):
10576 * device-msw.c (print_dialog_worker):
10577 * device-msw.c (Fmsprinter_apply_settings):
10578 * device-msw.c (hash_devmode):
10579 * device-msw.c (Fmsprinter_settings_despecialize):
10580 use Qmswindows_tstr, not Qctext.
10582 * vm-limit.c (check_memory_limits):
10583 avoid infinite loop printing warning messages.
10585 2000-07-05 Craig Lanning <lanning@scra.org>
10587 * Makefile.in.in: Add support for including the Windows resources
10588 when building with the cygwin and mingw targets.
10590 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
10591 not set or not correct.
10592 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
10593 (init_initial_directory): Don't try to use $PWD on the
10594 WIN32_NATIVE target.
10597 [[Add -mwindows to eliminate console window.]] not required --ben
10598 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10599 (MAIL_USE_POP): removed; now handled by configure.
10601 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
10602 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
10603 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10604 (MAIL_USE_POP): removed; now handled by configure.
10605 (ENCAPSULATE_STAT): from Dan Holmsand, added.
10606 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
10607 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
10609 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
10610 up from <winsock.h> via systime.h.
10611 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
10612 (getpagesize): from Dan Holmsand, added.
10613 Added #endif which was left dangling by Ben's mega patch; added
10614 comment to help prevent this in the future.
10616 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
10618 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10620 * console-msw.h (struct mswindows_device): Removed unnecessary
10621 cached device geometry values.
10622 Added update_tick and an accessor macro.
10623 (Lisp_Devmode): Added lrecord declaration.
10624 (struct msprinter_device): Contain devmode as a Lisp object.
10625 Added mswindows_get_selected_frame_hwnd();
10627 * console.h (struct console_methods): Indentation nitpicking.
10629 * device-msw.c (mswindows_init_device): Do not initialize geometry
10630 cache. Initialize update tick.
10631 (mswindows_device_system_metrics): Ask the device for its geometry.
10632 (global_free_2_maybe):
10633 (devmode_to_hglobal):
10634 (handle_printer_changes):
10635 (ensure_not_printing):
10636 (print_dialog_worker):
10637 (Fmsprinter_print_setup_dialog):
10638 (Fmsprinter_print_dialog):
10639 (plist_get_margin):
10640 (plist_set_margin):
10641 (Fmsprinter_page_setup_dialog): Added functions.
10642 (sync_printer_with_devmode):
10643 (handle_devmode_changes):
10644 (Fmsprinter_get_settings):
10645 (Fmsprinter_select_settings):
10646 (Fmsprinter_apply_settings):
10647 (allocate_devmode):
10648 (Fmsprinter_settings_copy):
10649 (Fmsprinter_settings_despecialize):
10651 (finalize_devmode):
10653 (hash_devmode): Added functions
10654 (syms_of_device_mswindows): Init devmode lrecord class.
10656 * device.h: Added an exfun for find-device.
10658 * event-msw.c (mswindows_wnd_proc): Do not update the cached
10659 geometry; although, recreate the device compatible DC.
10661 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
10662 (msprinter_init_frame_3):
10663 (msprinter_frame_property):
10664 (msprinter_internal_frame_property_p):
10665 (msprinter_frame_properties):
10666 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
10667 print job properties (will move to device settings).
10669 * lisp.h: Added symbols.
10671 * general.c (syms_of_general): Declared them.
10673 * hash.c (string_hash): Added.
10675 * lrecord.h (lrecord_type): Added devmode lrecord type.
10677 2000-07-02 Mike Sperber <mike@xemacs.org>
10679 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
10682 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
10684 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
10687 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
10689 * data.c (Fstring_to_number): Don't recognize floating point if
10692 2000-06-22 Martin Buchholz <martin@xemacs.org>
10694 * glyphs-widget.c (tab_control_query_geometry):
10695 (widget_query_geometry):
10696 (button_query_geometry):
10697 * glyphs.c (text_query_geometry):
10698 Enforce type correctness.
10700 2000-06-18 Martin Buchholz <martin@xemacs.org>
10702 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
10703 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
10705 2000-06-17 Martin Buchholz <martin@xemacs.org>
10707 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
10708 conflicts with gcc's fixincluded version of FOO.h.
10710 * glyphs.h (image_instance_geometry): Remove trailing `,'
10712 2000-06-08 Mike Alexander <mta@arbortext.com>
10714 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
10715 (shove_thread): Don't write the same output twice
10716 (make_ntpipe_output_stream): Increase priority of shove thread
10717 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
10719 (ntpipe_shove_closer): Don't delete the pipe until we're done with
10722 2000-06-12 Ben Wing <ben@xemacs.org>
10724 * s\mingw32.h (sigset):
10725 * s\windowsnt.h (sigset):
10726 rename msw_ to mswindows_ for consistency with general convention.
10728 2000-06-12 Ben Wing <ben@xemacs.org>
10731 * console-msw.c (mswindows_get_console_hwnd):
10732 * console-msw.c (mswindows_ensure_console_allocated):
10733 * console-msw.c (mswindows_hide_console):
10734 * console-msw.c (mswindows_show_console):
10735 * console-msw.c (mswindows_ensure_console_buffered):
10736 * console-msw.c (mswindows_output_console_string):
10737 * console-msw.c (mswindows_windows9x_p):
10739 * device-msw.c (mswindows_get_workspace_coords):
10740 * device-msw.c (mswindows_device_system_metrics):
10741 * dialog-msw.c (mswindows_popup_dialog_box):
10742 * event-msw.c (mswindows_wnd_proc):
10743 * frame-msw.c (mswindows_size_frame_internal):
10744 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10745 * menubar-msw.c (displayable_menu_item):
10746 * menubar-msw.c (mswindows_char_is_accelerator):
10748 * nt.c (mswindows_sigset):
10749 * nt.c (mswindows_sigrelse):
10750 * nt.c (mswindows_sigpause):
10751 * nt.c (mswindows_raise):
10752 * nt.c (timer_proc):
10754 * ntproc.c (find_child_console):
10755 * ntproc.c (sys_kill):
10757 * print.c (std_handle_out_external):
10758 * process-nt.c (find_child_console):
10759 * process-nt.c (send_signal_the_95_way):
10760 * process-nt.c (ensure_console_window_exists):
10761 * process-nt.c (nt_create_process):
10763 rename msw_ to mswindows_ for consistency with general convention.
10767 include nt.h, not syswindows.h.
10769 * nt.c (mswindows_fstat):
10770 * nt.c (mswindows_stat):
10771 prefix mswindows_ instead of attempting to directly override the
10772 library functions. fix declarations.
10775 include syswindows.h. move some sysdep.h stuff here.
10778 include syswindows.h, not <windows.h>.
10786 * sysdep.c (sys_fstat):
10787 * sysdep.c (sys_stat):
10788 call mswindows versions when appropriate.
10791 move mswin decls to nt.h.
10794 add long comment describing appropriate use of the various windows
10797 2000-06-11 Ben Wing <ben@xemacs.org>
10799 * device-x.c: Correct doc string for sixth arg of x-get-resource.
10801 2000-06-10 Ben Wing <ben@xemacs.org>
10803 * Makefile.in.in (release):
10804 Correction to make sure xemacs.exe always dumped when correct.
10808 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
10810 * buffer.c (set_buffer_internal):
10811 [[[[2]]]]: Remove HAVE_FEP code.
10813 * buffer.c (init_initial_directory):
10817 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
10821 * callproc.c (call_process_cleanup):
10822 * callproc.c (Fold_call_process_internal):
10823 * callproc.c (child_setup):
10824 * callproc.c (getenv_internal):
10825 * callproc.c (init_callproc):
10826 * callproc.c (vars_of_callproc):
10827 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
10828 __CYGWIN32__ -> CYGWIN.
10829 DOS_NT -> WIN32_NATIVE.
10830 Remove MSDOS support/references, converting to WIN32_NATIVE
10832 __MINGW32__ -> MINGW.
10833 Fix windows.h includes.
10834 Remove bogus HAVE_NTGUI.
10840 mswindows_message_outputted added for use in allowing startup
10841 errors on the console to be seen.
10843 * console-msw.c (msw_ensure_console_allocated):
10844 * console-msw.c (msw_output_console_string):
10845 * console-msw.c (DHEADER):
10846 * console-msw.c (DOPAQUE_DATA):
10847 * console-msw.c (DEVENT):
10848 * console-msw.c (DCONS):
10849 * console-msw.c (DCONSCDR):
10850 * console-msw.c (DSTRING):
10851 * console-msw.c (DVECTOR):
10852 * console-msw.c (DSYMBOL):
10853 * console-msw.c (DSYMNAME):
10856 * console-stream.c (stream_init_console):
10857 Fix text/binary problems.
10860 * device-msw.c (mswindows_finish_init_device):
10861 * device-msw.c (mswindows_delete_device):
10864 * device.c (handle_asynch_device_change):
10868 * dgif_lib.c (DGifOpenFileName):
10869 * dgif_lib.c (DGifOpenFileHandle):
10870 * dgif_lib.c (DGifGetLine):
10871 * dgif_lib.c (DGifGetPixel):
10872 Added config.h/lisp.h, fix up includes.
10879 * dired.c (file_name_completion):
10880 * dired.c (Ffile_attributes):
10881 * dired.c (syms_of_dired):
10885 * dumper.c (pdump_file_unmap):
10886 * dumper.c (pdump_load):
10890 * editfns.c (Ftemp_directory):
10891 * editfns.c (user_login_name):
10892 * editfns.c (Fuser_real_login_name):
10893 * editfns.c (get_home_directory):
10896 * elhash.c (finish_marking_weak_hash_tables):
10897 [[[[5]]]]: Fix GCC warnings.
10900 * emacs.c (mswindows_handle_hardware_exceptions):
10901 * emacs.c (make_arg_list_1):
10902 * emacs.c (main_1):
10903 * emacs.c (Fkill_emacs):
10904 * emacs.c (Fdump_emacs):
10906 Fix problems with nested crashes, add long comment.
10908 * event-Xt.c (init_event_Xt_late):
10912 * event-msw.c (mswindows_dde_callback):
10913 * event-msw.c (mswindows_handle_sticky_modifiers):
10914 * event-msw.c (mswindows_wnd_proc):
10918 * events.c (character_to_event):
10922 * fileio.c (Ffile_name_directory):
10923 * fileio.c (Ffile_name_nondirectory):
10924 * fileio.c (directory_file_name):
10925 * fileio.c (Fexpand_file_name):
10926 * fileio.c (Fsubstitute_in_file_name):
10927 * fileio.c (Ffile_name_absolute_p):
10928 * fileio.c (check_executable):
10929 * fileio.c (Ffile_readable_p):
10930 * fileio.c (Ffile_accessible_directory_p):
10931 * fileio.c (Ffile_modes):
10932 * fileio.c (Funix_sync):
10933 * fileio.c (vars_of_fileio):
10936 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
10938 Expand getdefdir defn.
10939 Fix bogus rename() comment.
10941 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
10942 to use standard XEmacs include files, e.g. sysfile.h, rather
10943 than system-specific includes.
10949 * frame.c (vars_of_frame):
10953 * getloadavg.c (getloadavg):
10955 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
10956 (We don't use it elsewhere in the code; just add a comment.)
10963 * glyphs-msw.c (mswindows_resource_instantiate):
10966 * glyphs-x.c (x_native_layout_instantiate):
10969 * gui-msw.c (Fmswindows_shell_execute):
10978 * lread.c (locate_file_in_directory_mapper):
10985 * mem-limits.h (get_lim_data):
10997 * nt.c (rva_to_section):
10998 * nt.c (mswindows_executable_type):
11000 Fix closedir() defn.
11003 [[[[8]]]]: *_OK defs moved to sysfile.h.
11012 * print.c (std_handle_out_external):
11016 * process-nt.c (nt_create_process):
11018 try to fix process quoting somewhat.
11020 * process-unix.c (unix_create_process):
11024 * process.c (vars_of_process):
11031 * realpath.c (xrealpath):
11034 * redisplay-tty.c (init_tty_for_redisplay):
11044 * sheap.c (more_static_core):
11045 * sheap.c (report_sheap_usage):
11049 * signal.c (alarm_signal):
11056 * strftime.c (zone_name):
11059 * symsinit.h (init_sunpro):
11063 commctrl.h not in Cygwin b20.1.
11066 * sysdep.c (endif):
11067 * sysdep.c (sys_subshell):
11068 * sysdep.c (init_baud_rate):
11069 * sysdep.c (emacs_get_tty):
11070 * sysdep.c (emacs_set_tty):
11071 * sysdep.c (tty_init_sys_modes_on_device):
11072 * sysdep.c (init_system_name):
11073 * sysdep.c (sys_open):
11074 * sysdep.c (interruptible_open):
11075 * sysdep.c (sys_fopen):
11076 * sysdep.c (sys_mkdir):
11077 * sysdep.c (sys_rename):
11078 * sysdep.c (get_process_times_1):
11085 * sysdir.h (DIRENTRY_NONEMPTY):
11088 * sysdll.c (dll_init):
11094 added text/binary defs.
11100 * sysproc.h (EDESTADDRREQ):
11101 * sysproc.h (poll_fds_for_input):
11118 Always define WIN32_LEAN_AND_MEAN.
11120 * unexcw.c (unexec):
11124 * unexec.c (copy_text_and_data):
11125 * unexec.c (adjust_lnnoptrs):
11129 * unexnt.c (_start):
11132 2000-06-07 Ben Wing <ben@xemacs.org>
11134 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
11135 was used only as a model. We've long since extracted any useful
11136 logic or code out of this. (I just did an exhaustive search.)
11138 * s\msdos.h: Removed.
11140 * s\windows95.h: Removed.
11142 2000-06-10 Ben Wing <ben@xemacs.org>
11146 Don't use extern with fun defs.
11150 Remove nt\inc include.
11151 Remove getdisk, getdefdir. (The former is unused, the latter
11152 expanded in fileio.h.)
11155 * s\windowsnt.h (WIN32_NATIVE):
11156 * s\windowsnt.h (HAVE_STRCASECMP):
11158 Add long comment about preprocessor changes.
11159 Remove getdisk, getdefdir. (The former is unused, the latter
11160 expanded in fileio.h.)
11162 2000-06-10 Ben Wing <ben@xemacs.org>
11171 Remove bogus/unused NO_SOCK_SIGIO.
11173 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
11175 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
11178 2000-06-04 Mike Sperber <mike@xemacs.org>
11180 * casetab.c (set_case_table): For `set-standard-case-table',
11181 actually deposit the new case tables where the rest of XEmacs can
11184 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
11186 * data.c (Faset): Don't cast XCHAR() to unsigned char.
11188 2000-06-05 Ben Wing <ben@xemacs.org>
11190 * callproc.c (child_setup): Don't do close_load_descs() under
11191 MS Windows. Put in a comment explaining why.
11193 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
11195 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
11196 Toolkit shell" which breaks `kill-compilation' on Windows NT
11197 native, retaining STDERR handling improvements.
11199 2000-06-01 Andreas Jaeger <aj@suse.de>
11201 * s/s390.h: Support for S390, based on a patch by Martin
11202 Schwidefsky <schwidefsky@de.ibm.com>.
11204 2000-05-30 Andy Piper <andy@xemacs.org>
11206 * window.c (allocate_window):
11207 (make_dummy_parent):
11208 (Fset_window_configuration): use new hashtable type.
11210 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
11211 (struct image_instantiator_methods):
11212 (struct Lisp_Image_Instance): make instance geometry signed.
11214 * glyphs.c (instantiate_image_instantiator):
11215 (image_instance_query_geometry):
11216 (image_instance_layout):
11217 (image_instance_layout):
11218 (query_string_geometry):
11219 (text_query_geometry):
11220 (image_instantiate):
11221 (image_instantiate):
11222 (cache_subwindow_instance_in_frame_maybe):
11223 (subwindow_query_geometry): make instance geometry signed.
11225 * glyphs-widget.c (widget_query_geometry):
11227 (button_query_geometry):
11228 (tree_view_query_geometry):
11229 (tab_control_query_geometry):
11230 (layout_query_geometry):
11232 (native_layout_layout): make instance geometry signed.
11234 2000-05-29 Olivier Galibert <galibert@pobox.com>
11236 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
11239 * general.c (syms_of_general): Add Qfull_assoc symbol.
11241 * data.c (finish_marking_weak_lists): Mark full-assoc lists
11243 (decode_weak_list_type): Decode full-assoc type.
11244 (encode_weak_list_type): Encode full-assoc type.
11245 (Fmake_weak_list): Update doc string.
11247 2000-05-30 Andy Piper <andy@xemacs.org>
11249 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
11251 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
11252 (decode_hash_table_weakness): ditto.
11253 (Fhash_table_weakness): ditto.
11254 (Fhash_table_type): ditto.
11255 (finish_marking_weak_hash_tables): ditto.
11256 (hash_table_weakness_validate): ditto.
11257 (syms_of_elhash): ditto.
11259 2000-05-28 Martin Buchholz <martin@xemacs.org>
11261 * XEmacs 21.2.34 is released.
11263 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11265 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
11267 (updating_line_start_cache): Gone.
11268 (regenerate_window): Replace resetting of VERTICAL_CLIP by
11269 generic code to force a minimum of 1 line laid out in the
11272 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11274 * glyphs.c (instantiate_image_instantiator): Check for initialized
11275 height & width no longer special cases IMAGE_NOTHING.
11276 (nothing_instantiate): Set height and width of instance.
11278 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
11280 * unexelf.c (unexec): Search for ".data" section.
11281 Initialize new_data2_offset from old_data_index.
11282 Remove redundant check for ElfW.
11284 2000-05-23 Andy Piper <andy@xemacs.org>
11286 * glyphs.c (get_image_instantiator_governing_domain): allow more
11287 specific domains as the governing domain rather than expecting an
11288 exact match. This fixes problems with layouts.
11290 2000-05-22 Andy Piper <andy@xemacs.org>
11292 * redisplay-output.c (compare_runes): check for non-images
11294 * glyphs.c (set_glyph_dirty_p): ditto.
11295 (update_glyph_cachel_data): ditto.
11297 * glyphs-widget.c (layout_post_instantiate): ditto.
11298 (layout_post_instantiate): ditto.
11300 * event-msw.c (mswindows_wnd_proc): warning removal.
11302 2000-05-12 Craig Lanning <CraigL@DyCon.com>
11304 * s\mingw32.h: Added #undef for CLASH_DETECTION.
11306 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
11308 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
11310 * nt.c (rva_to_section): mingw32 needs rva_to_section.
11311 (mswindows_executable_type): mingw32 now has enough headers for
11314 2000-05-20 Andy Piper <andy@xemacs.org>
11316 * console-msw.c (mswindows_output_last_error): ; -> ,
11318 2000-05-12 Andy Piper <andy@xemacs.org>
11320 * console-msw.c (FROB): compare ints with ints.
11322 2000-05-11 Andy Piper <andy@xemacs.org>
11324 * glyphs-x.c (x_finalize_image_instance): make minimal build
11327 2000-05-20 Ben Wing <ben@xemacs.org>
11330 * event-Xt.c (vars_of_event_Xt):
11331 move modifier-keys-are-sticky to event-stream.c.
11334 * event-msw.c (mswindows_enqueue_mouse_button_event):
11335 * event-msw.c (key_needs_default_processing_p):
11336 * event-msw.c (XEMSW_LCONTROL):
11337 * event-msw.c (mswindows_handle_sticky_modifiers):
11338 * event-msw.c (FROB):
11339 * event-msw.c (clear_sticky_modifiers):
11340 * event-msw.c (output_modifier_keyboard_state):
11341 * event-msw.c (output_alt_keyboard_state):
11342 * event-msw.c (mswindows_wnd_proc):
11343 * event-msw.c (mswindows_modifier_state):
11344 * event-msw.c (emacs_mswindows_handle_magic_event):
11345 implement sticky modifiers.
11348 * event-stream.c (vars_of_event_stream):
11349 move modifier-keys-are-sticky here.
11352 add CHECK_FUNCTION.
11355 implement map-range-table.
11358 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
11360 * redisplay-tty.c (reset_tty_modes):
11361 (tty_redisplay_shutdown): Adjust argument type to
11362 tty_frame_output_end.
11364 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11366 * eval.c (Fbacktrace): Don't output a line with only right
11369 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
11371 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
11372 (Fpq_reset_poll): Ditto.
11374 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
11376 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
11378 2000-05-16 Ben Wing <ben@xemacs.org>
11381 * buffer.c (dfc_convert_to/from_internal_format):
11382 * buffer.c (reinit_vars_of_buffer):
11383 Fix conversion functions to allow reentrancy.
11386 * console-msw.c (mswindows_output_last_error):
11387 New fun, generally useful -- output a human-readable
11388 version of GetLastError() on the console.
11391 * console-msw.h (struct mswindows_frame):
11392 Changes for DeferWindowPos. Declare mswindows_output_last_error().
11394 * console-stream.c (stream_output_begin):
11395 * console-stream.c (stream_output_end):
11396 * console-stream.c (stream_output_vertical_divider):
11397 * console-stream.c (stream_clear_region):
11398 * console-stream.c (stream_flash):
11399 * console-stream.c (console_type_create_stream):
11400 Delete blank stream methods, not needed.
11402 * console.h (struct console_methods):
11403 Split begin/end methods into window and frame.
11406 * event-msw.c (mswindows_handle_paint):
11407 * event-msw.c (output_alt_keyboard_state):
11408 * event-msw.c (mswindows_wnd_proc):
11409 * event-msw.c (vars_of_event_mswindows):
11410 Comment about problems with ignored-expose.
11411 Define mswindows-debug-events; not really implemented.
11413 * frame-msw.c (mswindows_init_frame_1):
11417 * glyphs-msw.c (begin_defer_window_pos):
11418 * glyphs-msw.c (mswindows_unmap_subwindow):
11419 * glyphs-msw.c (mswindows_map_subwindow):
11420 * glyphs-msw.c (mswindows_resize_subwindow):
11421 Use DeferWindowPos to reduce flashing when mapping/unmapping.
11423 * glyphs.c (make_image_instance_1):
11426 * gutter.c (Fredisplay_gutter_area):
11427 Use new begin/end methods.
11429 * lisp.h (Dynarr_new2):
11433 * redisplay-msw.c (mswindows_frame_output_begin):
11434 * redisplay-msw.c (mswindows_frame_output_end):
11435 * redisplay-msw.c (console_type_create_redisplay_mswindows):
11436 New begin/end methods -- handle DeferWindowPos.
11438 * redisplay-output.c (redisplay_move_cursor):
11439 * redisplay-output.c (redraw_cursor_in_window):
11440 * redisplay-output.c (redisplay_update_line):
11441 * redisplay-output.c (redisplay_output_window):
11442 New begin/end methods.
11445 * redisplay-tty.c (tty_frame_output_begin):
11446 * redisplay-tty.c (tty_frame_output_end):
11447 * redisplay-tty.c (console_type_create_redisplay_tty):
11448 New begin/end methods.
11451 * redisplay-x.c (x_window_output_begin):
11452 * redisplay-x.c (x_window_output_end):
11453 * redisplay-x.c (console_type_create_redisplay_x):
11454 New begin/end methods.
11456 * redisplay.c (redisplay_frame):
11457 * redisplay.c (Fredisplay_echo_area):
11458 New begin/end methods.
11459 use MAYBE_DEVMETH for clear_frame; it may not exist.
11461 * window.h (WINDOW_XFRAME):
11462 WINDOW_XFOO macros -- get locale and decode struct pointer.
11465 2000-05-12 Ben Wing <ben@xemacs.org>
11468 * emacs.c (ensure_no_quitting_from_now_on):
11469 * emacs.c (fatal_error_signal):
11470 * emacs.c (mswindows_handle_hardware_exceptions):
11472 * emacs.c (Fkill_emacs):
11473 * emacs.c (shut_down_emacs):
11474 * emacs.c (assert_failed):
11475 various improvements in fatal error handling.
11478 move preparing_for_armageddon to emacs.c.
11481 declare fatal_error_in_progress.
11484 * print.c (std_handle_out_external):
11485 * print.c (std_handle_out_va):
11486 * print.c (stderr_out):
11487 * print.c (stdout_out):
11488 use console under mswin when no standard output.
11489 don't do code conversion during fatal error.
11491 * scrollbar.c (Fscrollbar_page_up):
11492 * scrollbar.c (Fscrollbar_page_down):
11493 fix missing else. reindent.
11495 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
11499 * glyphs.h (GLYPH_CACHEL_DESCENT):
11500 (GLYPH_CACHEL_DESCENT):
11501 (GLYPH_CACHEL_DESCENT):
11502 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
11503 used in case these are inline functions.
11504 Use more absurd values to error check.
11506 include window.h for error check functions.
11508 2000-05-11 Ben Wing <ben@xemacs.org>
11510 * cmdloop.c (Freally_early_error_handler):
11511 Display message box under windows; otherwise, message will disappear
11512 before it can be viewed.
11515 * console-msw.c (Fmswindows_message_box):
11516 * console-msw.c (FROB):
11517 * console-msw.c (syms_of_console_mswindows):
11518 Define new fun `mswindows-message-box'.
11519 #### I will merge this into `popup-dialog-box'; just give me
11523 * general.c (syms_of_general):
11524 Some new symbols used in `mswindows-message-box'.
11527 * glyphs.c (Fset_image_instance_property):
11528 put warning in this fun.
11531 * glyphs.h (GLYPH_CACHEL_WIDTH):
11532 * glyphs.h (GLYPH_CACHEL_ASCENT):
11533 * glyphs.h (GLYPH_CACHEL):
11534 * glyphs.h (GLYPH_CACHEL_GLYPH):
11535 define error-checking versions to try to catch a bug i've seen --
11536 redisplay gets in an infinite loop because the glyph width of the
11537 continuation glyph is 65535.
11540 Extern message-box stuff.
11542 * window.c (allocate_window):
11543 * window.c (make_dummy_parent):
11544 * window.c (Fset_window_configuration):
11545 Use EQUAL not EQ for subwindow caches to make them work a bit
11546 better. (Something is still very broken.)
11549 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11551 * glyphs.c (image_instantiate): Suppress gcc warnings.
11552 (Fmake_image_instance): Fix doc string.
11553 * specifier.c (Fmake_specifier): Ditto.
11555 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
11557 * paths.h.in (PATH_LOCK): Removed.
11558 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
11559 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
11561 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
11563 * fns.c (Ffeaturep): Update e-mail address in doc-string.
11564 Document (featurep '(and xemacs 21.02)).
11566 2000-05-09 Ben Wing <ben@xemacs.org>
11568 * buffer.c (complex_vars_of_buffer):
11569 update modeline-format doc.
11572 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
11575 timeline of all released versions of Emacs, for use in creating
11576 authorship comments and in synching up.
11578 * glyphs-widget.c (image_instantiator_buttons):
11579 * glyphs-widget.c (image_instantiator_edit_fields):
11580 * glyphs-widget.c (image_instantiator_combo_box):
11581 * glyphs-widget.c (image_instantiator_scrollbar):
11582 * glyphs-widget.c (image_instantiator_progress_guage):
11583 * glyphs-widget.c (image_instantiator_tree_view):
11584 * glyphs-widget.c (image_instantiator_tab_control):
11585 * glyphs-widget.c (image_instantiator_labels):
11586 * glyphs-widget.c (image_instantiator_layout):
11587 * glyphs-widget.c (image_instantiator_native_layout):
11588 rename decode_domain method to governing_domain.
11591 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
11592 * glyphs.c (add_entry_to_device_ii_format_list):
11593 make sure we don't put an entry more than once into the list.
11594 * glyphs.c (check_instance_cache_mapper):
11595 *************************************************************
11596 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
11598 *************************************************************
11599 * glyphs.c (get_image_instantiator_governing_domain):
11600 clean up, expand on new concept of governing domain.
11601 * glyphs.c (instantiate_image_instantiator):
11602 * glyphs.c (allocate_image_instance):
11603 use governing_domain instead of cache_domain in naming.
11604 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
11605 * glyphs.c (make_image_instance_1):
11606 * glyphs.c (Fmake_image_instance):
11607 allow for any domain (not just device), and process the
11608 governing domain correctly. very big doc fix.
11609 * glyphs.c (Fimage_instance_domain):
11610 new primitive, to retrieve the governing domain of an image instance.
11611 * glyphs.c (image_instantiate):
11612 use new governing_domain stuff. this fixes a crash you could get
11613 by instantiating certain widget glyphs in frame locales. (should
11614 signal an error instead of crashing.)
11615 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
11616 * glyphs.c (Fglyphp): clean up doc.
11617 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
11618 * glyphs.c (syms_of_glyphs):
11619 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
11620 * glyphs.c (image_instantiator_format_create): add some comments about
11622 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
11623 for current-display-table. (Apparently Hrjove implemented in 1998 a
11624 design I wrote up in 1996, but didn't update the doc string.)
11626 * glyphs.h: clean up a doc string.
11627 * glyphs.h (governing_domain):
11628 * glyphs.h (struct image_instantiator_methods):
11629 changes for governing_domain stuff.
11632 * gutter.c (Fgutter_specifier_p):
11633 * gutter.c (Fgutter_size_specifier_p):
11634 * gutter.c (Fgutter_visible_specifier_p):
11636 * objects.c (Fcolor_specifier_p):
11637 * objects.c (Ffont_specifier_p):
11638 * objects.c (Fface_boolean_specifier_p):
11639 doc strings moved to make-*-specifier.
11641 * redisplay.c (add_disp_table_entry_runes_1):
11642 * redisplay.c (generate_fstring_runes):
11643 * redisplay.c (screen):
11644 add random comments and doc strings.
11647 * specifier.c (Fmake_specifier):
11648 major overhaul of this doc string.
11650 * specifier.c (Fvalid_specifier_domain_p):
11651 comment about the bogosity of image instances being domains.
11652 * specifier.c (decode_domain):
11653 now non-static, used in glyphs.c.
11654 * specifier.c (specifier_instance):
11655 comment about the bogosity of image instances being domains.
11656 * specifier.c (Fgeneric_specifier_p):
11657 move doc string to make-generic-specifier.
11658 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
11662 * specifier.h (DOMAIN_FRAME):
11663 * specifier.h (DOMAIN_LIVE_P):
11664 * specifier.h (DOMAIN_XDEVICE):
11666 add comments about problems with these macros.
11667 prototype for decode_domain.
11670 * toolbar.c (Ftoolbar_specifier_p):
11671 move doc string to `make-toolbar-specifier'.
11673 * window.c (window_unmap_subwindows_cache_mapper):
11674 *************************************************************
11675 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
11677 *************************************************************
11679 2000-05-09 Andy Piper <andy@xemacs.org>
11681 * glyphs.h: declare reset_frame_subwindow_instance_cache.
11683 * window.c (Fset_window_configuration): reset the frame subwindow
11684 cache and re-initialize the window subwindow caches.
11686 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
11688 2000-05-09 Ben Wing <ben@xemacs.org>
11690 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
11693 2000-04-26 Mike Woolley <mike@bulsara.com>
11695 * ntheap.c: Changed recreate_heap to limit the amount reserved
11696 for the heap to that which is actually available. Also now
11697 displays a message box (with some dignostics) in the event that
11698 it still can't start.
11700 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11702 * callproc.c (Fold_call_process_internal): GCPRO path
11704 2000-05-08 Jan Vroonhof <jan@xemacs.org>
11706 Patch by Bill Perry.
11708 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
11709 back data instead of #ifdef.
11710 (Fscrollbar_page_down): ditto.
11712 2000-05-07 Ben Wing <ben@xemacs.org>
11715 Kludge for defining Qmswindows_tstr.
11718 * nt.c (open_input_file):
11719 * nt.c (open_output_file):
11720 * nt.c (rva_to_section):
11721 * nt.c (mswindows_executable_type):
11722 Move all memory-mapped-file routines here (some were in unexnt.c,
11723 which is bad because they are used by process-nt.c, and unexnt
11724 won't be around when portable dumping). Synched the above routines
11728 Removed ifdef'd out bogus code.
11729 Fixed some prototypes.
11731 * nt.h (file_data):
11732 * nt.h (OFFSET_TO_RVA):
11733 * nt.h (RVA_TO_OFFSET):
11734 * nt.h (RVA_TO_PTR):
11735 Moved the memory-mapped-file structures, macros and prototypes
11736 here, to parallel nt.c. ntheap.h should really be removed
11737 entirely, and it's a non-portable-dumper specific file.
11739 * ntheap.h (round_to_next):
11740 Moved the memory-mapped-file structures, macros and prototypes
11743 * ntproc.c (compare_env):
11744 Moved rva_to_section and mswindows_executable_type to nt.c.
11745 Moved compare_env to process-nt.c.
11746 ntproc.c will die, one day.
11748 * ntproc.c (sys_spawnve):
11749 Account for win32_ -> mswindows_.
11752 * process-nt.c (struct nt_process_data):
11753 * process-nt.c (ensure_console_window_exists):
11754 * process-nt.c (compare_env):
11755 * process-nt.c (nt_create_process):
11756 * process-nt.c (nt_kill_process_by_pid):
11757 * process-nt.c (syms_of_process_nt):
11758 * process-nt.c (vars_of_process_nt):
11759 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
11760 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
11761 changes). Eliminate our old `nt-quote-process-args' mechanism.
11762 Synch up nt_create_process with FSF 20.6 sys_spawnve.
11763 Move compare_env here from ntproc.c.
11765 * process.c (Fprocess_send_region):
11766 Takes an optional fourth argument, BUFFER, which should fix some
11767 problems with call-process.
11770 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
11773 Move ICC_BAR_CLASSES to syscommctrl.h.
11774 Add preliminary macros for MSWindows/Mule. More to come.
11777 * unexnt.c (unexec):
11778 open_output_file moved to nt.c.
11781 2000-05-05 Andy Piper <andy@xemacs.org>
11783 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
11784 instance from the frame cache also since GC may catch up too late
11785 to make frame deletion sane.
11787 2000-05-04 Andy Piper <andy@xemacs.org>
11789 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
11790 (x_finalize_image_instance): ungcpro on deletion.
11792 * glyphs.c (image_instantiator_format_create): give pointers a
11793 query geometry method so that the geometry is at least set.
11795 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
11796 initialize layouts if using widgets.
11798 2000-05-03 Andy Piper <andy@xemacs.org>
11800 * nt.c: remove bogus reference to sysmmsystem.h
11802 * gui-x.c (popup_selection_callback): fix no selection abort.
11804 2000-05-02 Andy Piper <andy@xemacs.org>
11806 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
11807 (mswindows_widget_instantiate): ditto.
11809 * glyphs-widget.c (initialize_widget_image_instance): initialize
11810 children correctly.
11811 (widget_instantiate): cope with children and items in the same
11814 * glyphs.c (mark_image_instance): cope with children as a first
11816 (image_instance_equal): ditto.
11817 (image_instance_hash): ditto.
11818 (image_instance_changed): ditto.
11820 2000-04-30 Andy Piper <andy@xemacs.org>
11822 * glyphs.c (subwindow_query_geometry): new function. Return some
11824 (subwindow_instantiate): don't assign dimensions if none have been
11826 (image_instantiator_format_create): add subwindow_query_geometry.
11827 (print_image_instance): cope with layouts as widgets.
11829 2000-04-29 Andy Piper <andy@xemacs.org>
11831 * frame.c (delete_frame_internal): call
11832 free_frame_subwindow_instance_cache so that all subwindows are
11833 finalized before their parent.
11834 (mark_frame): remove subwindow_cachels.
11835 (Fmake_frame): remove subwindow_cachel manipulation.
11836 (allocate_frame_core): subwindow_instance_cache is a weak list.
11837 (delete_frame_internal): set subwindow_instance_cache to nil.
11839 * glyphs-msw.c (mswindows_finalize_image_instance): make double
11841 (mswindows_finalize_image_instance): use the device
11842 not the domain as the domain may have died already.
11844 * glyphs-x.c (x_finalize_image_instance): ditto.
11845 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
11848 * redisplay-output.c (redisplay_unmap_subwindows): update for
11849 subwindow instance cache as a weak list.
11850 (redisplay_unmap_subwindows_maybe): ditto.
11851 (redisplay_unmap_subwindows_except_us): ditto.
11853 * glyphs.c (unmap_subwindow): error checking will check the domain
11854 so don't deal with it here. Don't use cachels anymore.
11855 (map_subwindow): ditto.
11856 (update_subwindow_cachel_data): remove old accessor names.
11857 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
11858 (Fresize_subwindow): don't update cachel.
11859 (mark_subwindow_cachels):
11860 (update_subwindow_cachel_data):
11861 (add_subwindow_cachel):
11862 (get_subwindow_cachel_index):
11863 (update_subwindow_cachel):
11864 (reset_subwindow_cachels):
11865 (mark_subwindow_cachels_as_not_updated): deleted.
11866 (cache_subwindow_instance_in_frame_maybe): new function. Add a
11867 subwindow instance to the frame cache.
11868 (find_matching_subwindow): update for subwindow instance cache as
11870 (update_widget_instances): ditto.
11871 (image_instance_type_to_mask):inlined.
11872 (free_frame_subwindow_instance_cache): new function. finalize all
11873 subwindows that are instantiated.
11875 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
11876 of cachel information.
11877 (IMAGE_INSTANCE_DISPLAY_X):
11878 (IMAGE_INSTANCE_DISPLAY_Y):
11879 (IMAGE_INSTANCE_DISPLAY_WIDTH):
11880 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
11881 (XIMAGE_INSTANCE_DISPLAY_X):
11882 (XIMAGE_INSTANCE_DISPLAY_Y):
11883 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
11884 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
11885 remove subwindow_cachel structure and function references.
11886 (image_instance_type_to_mask): inline from glyphs.c
11888 * redisplay.c (redisplay_frame): remove subwindow_cachel
11891 * frame.h (struct frame): remove subwindow_cachels.
11892 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
11894 * frameslots.h: add subwindow_instance_cache.
11896 * window.c (replace_window): check subwindow cache of replacement.
11897 (window_unmap_subwindows_cache_mapper):
11898 (window_unmap_subwindows): new functions. Unmap all subwindows
11899 cached on this window.
11900 (mark_window_as_deleted): unmap all subwindows.
11902 2000-04-27 Andy Piper <andy@xemacs.org>
11904 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
11906 * glyphs-widget.c (widget_layout): return something.
11907 (layout_layout): return something. Fail if not initialized.
11908 (layout_query_geometry): ditto.
11909 (image_instantiator_native_layout): new function. Initialized the
11910 native layout type.
11911 (widget_instantiate): don't do layout stuff here.
11913 * glyphs.c (instantiate_image_instantiator): reorded calling or
11914 instantiate and post_instantiate with layout in between.
11915 (image_instance_layout): be more selective about deciding whether
11916 the layout has been done or not.
11918 * glyphs.h (struct image_instantiator_methods): return a value
11919 from layout_method.
11921 2000-04-26 Andy Piper <andy@xemacs.org>
11923 * glyphs.c (allocate_image_instance): make initial width and
11924 height unspecified. Set initialized to 0.
11926 * syscommctrl.h new file. Encapsulates commctrl.h.
11928 * syswindows.h new file. Encapsulates windows.h.
11930 * ntplay.c: use new syswindows.h and syscommctrl.h header.
11932 * console-msw.h: ditto.
11934 * redisplay-tty.c (tty_output_display_block): remove layout references.
11936 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
11937 window handle rather than just the frame.
11939 * glyphs.c (mark_image_instance): remove layout references.
11940 (print_image_instance): ditto.
11941 (image_instance_equal): ditto.
11942 (image_instance_hash): ditto.
11943 (decode_image_instance_type): ditto.
11944 (encode_image_instance_type): ditto.
11945 (image_instantiate): ditto.
11946 (allocate_glyph): ditto.
11947 (Fimage_instance_height): ditto.
11948 (Fimage_instance_width): ditto.
11949 (update_subwindow): ditto.
11951 * redisplay-x.c (x_output_display_block): recode for layouts as
11954 * redisplay-output.c (redisplay_output_layout): recode for layouts
11956 (compare_runes): remove layout references.
11958 * redisplay-msw.c (mswindows_output_display_block): recode for
11959 layouts as widgets.
11961 * glyphs-widget.c (image_instantiator_layout): remove
11962 layout_possible_dest_types.
11963 (layout_possible_dest_types): deleted.
11965 * glyphs.h (image_instance_type): remove layout references.
11966 (struct Lisp_Image_Instance): ditto. Add initialized flag.
11967 (IMAGE_INSTANCE_INITIALIZED): new accessor.
11968 (XIMAGE_INSTANCE_INITIALIZED): ditto.
11970 2000-04-25 Andy Piper <andy@xemacs.org>
11972 * glyphs-widget.c (image_instantiator_buttons):
11973 (image_instantiator_edit_fields):
11974 (image_instantiator_combo_box):
11975 (image_instantiator_scrollbar):
11976 (image_instantiator_progress_guage):
11977 (image_instantiator_tree_view):
11978 (image_instantiator_tab_control):
11979 (image_instantiator_labels):
11980 (image_instantiator_layout): call default post_instantiate method.
11981 (widget_post_instantiate): new function. Simply lays out the
11984 * glyphs.h (struct image_instantiator_methods): add
11985 post_instantiate method.
11987 * glyphs.c (instantiate_image_instantiator): add post_instantiate
11990 2000-04-23 Andy Piper <andy@xemacs.org>
11992 * glyphs.h (struct image_instantiator_methods): add
11993 decode_domain_method.
11994 (struct Lisp_Image_Instance): remove subwindow frame - it can be
11995 derived from the domain.
11996 (IMAGE_INSTANCE_FRAME): new accessor.
11997 (XIMAGE_INSTANCE_FRAME): ditto.
11999 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
12000 instead of _SUBWINDOW_FRAME.
12001 (finalize_image_instance): ditto.
12002 (Fimage_instance_foreground): ditto.
12003 (Fimage_instance_background): ditto.
12004 (image_instantiate): ditto.
12005 (update_subwindow_cachel): ditto.
12006 (update_subwindow): ditto.
12007 (unmap_subwindow): ditto.
12008 (map_subwindow): ditto
12009 (subwindow_instantiate): ditto.
12010 * glyphs-msw.c (mswindows_update_widget): ditto.
12011 (mswindows_progress_gauge_instantiate): ditto.
12012 (mswindows_tab_control_update): ditto.
12013 * glyphs-x.c (x_update_widget): ditto.
12014 (x_widget_instantiate): ditto.
12015 (x_tab_control_instantiate): ditto.
12016 (x_tab_control_update): ditto.
12017 * event-msw.c (mswindows_wnd_proc): ditto
12019 * glyphs-widget.c (image_instantiator_layout): use
12020 subwindow_decode_domain.
12021 (image_instantiator_buttons): ditto.
12022 (image_instantiator_edit_fields): ditto.
12023 (image_instantiator_combo_box): ditto.
12024 (image_instantiator_scrollbar): ditto.
12025 (image_instantiator_progress_guage): ditto.
12026 (image_instantiator_tree_view): ditto.
12027 (image_instantiator_tab_control): ditto.
12028 (image_instantiator_labels): ditto.
12029 (image_instantiator_layout): ditto.
12031 * glyphs.c: add instance error checking to many functions.
12032 (instantiate_image_instantiator): decode device from cache_domain.
12033 (image_instantiate): partially rewrite by using
12034 decode_image_instantiator_domain to determine what domain the
12035 instance needs to be cached in.
12036 (decode_image_instantiator_domain): new function. Determine what
12037 domain the image needs to be cached in.
12038 (check_window_subwindow_cache): new error checking function.
12039 (check_instance_cache_mapper): ditto.
12040 (check_image_instance_structure): ditto.
12041 (subwindow_decode_domain): new function. Encodes a window as a
12042 subwindow's cache domain.
12043 (image_instantiator_format_create): use it for text and
12046 2000-04-21 Andy Piper <andy@xemacs.org>
12048 * glyphs.c (image_instance_device): new function.
12049 (image_instance_frame): new function.
12050 (image_instance_window): new function.
12051 (image_instance_live_p): new function.
12053 * window.c (mark_window_as_deleted): reset the subwindow_instance_
12056 * glyphs.h (struct Lisp_Image_Instance): device->domain.
12057 (IMAGE_INSTANCE_DOMAIN): new accessor.
12058 (XIMAGE_INSTANCE_DOMAIN): ditto.
12060 * glyphs-x.c (x_finalize_image_instance): device->domain.
12062 * glyphs-msw.c (init_image_instance_geometry): device->domain.
12063 (mswindows_finalize_image_instance): ditto.
12065 * glyphs-eimage.c (jpeg_instantiate): device->domain.
12066 (gif_instantiate): ditto.
12067 (png_instantiate): ditto.
12068 (tiff_instantiate): ditto.
12070 * glyphs.c (instantiate_image_instantiator): use domain rather
12072 (mark_image_instance): device -> domain.
12073 (print_image_instance): ditto.
12074 (finalize_image_instance): ditto.
12075 (image_instance_equal): ditto.
12076 (allocate_image_instance): ditto.
12077 (Fcolorize_image_instance): ditto.
12078 (query_string_geometry): ditto.
12079 (image_instantiate): ditto
12080 (query_string_font): ditto.
12081 (image_instantiate): ditto.
12082 (update_subwindow): ditto.
12083 (unmap_subwindow): ditto.
12084 (map_subwindow): ditto.
12085 (subwindow_instantiate): ditto.
12087 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
12088 (DOMAIN_FRAME): ditto.
12089 (DOMAIN_WINDOW): ditto.
12090 (DOMAIN_LIVE_P): ditto.
12091 (XDOMAIN_DEVICE): ditto.
12092 (XDOMAIN_FRAME): ditto.
12093 (XDOMAIN_WINDOW): ditto.
12095 * specifier.c (Fvalid_specifier_domain_p): add image instances as
12096 a valid specifier domain.
12098 2000-04-19 Andy Piper <andy@xemacs.org>
12100 * glyphs-widget.c (syms_of_glyphs_widget): remove
12101 widget-callback-current-channel.
12102 (vars_of_glyphs_widget): ditto.
12105 * gui.c (get_gui_callback): revert to previous behaviour.
12107 2000-04-18 Andy Piper <andy@xemacs.org>
12109 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
12110 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
12111 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
12113 * glyphs.c (image_instance_equal): add margin_width.
12114 (image_instance_hash): ditto.
12116 * glyphs-widget.c (widget_instantiate): deal with margin-width.
12117 (layout_query_geometry): ditto.
12118 (layout_layout): ditto.
12119 (syms_of_glyphs_widget): add margin-width.
12120 (image_instantiator_layout): allow margin-width.
12122 * glyphs.c (update_widget_instances): make a normal function.
12123 (syms_of_glyphs): remove Qupdate_widget_instances.
12126 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
12127 so that we don't corrupt ideas about the last event or
12128 command. Remove widget-callback-current-channel fiddling.
12129 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
12131 2000-05-01 Martin Buchholz <martin@xemacs.org>
12133 * XEmacs 21.2.33 is released.
12135 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
12137 * make-src-depend: Allow dots in header file name.
12139 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
12141 * mule-charset.h (struct charset_lookup): Add
12142 next_allocated_1_byte_leading_byte and
12143 next_allocated_2_byte_leading_byte.
12144 * mule-charset.c: Move above two variables so that those values
12147 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
12149 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
12150 when string length is zero.
12151 (find_charsets_in_emchar_string): Ditto.
12153 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
12155 * lisp.h: extern Qdialog and Qmenubar.
12157 * gui-x.c: added events.h.
12158 also fixed typo which made the file uncompilable.
12160 * general.c: Added Qmenubar and Qdialog
12162 2000-04-28 Ben Wing <ben@xemacs.org>
12164 * frame-msw.c (mswindows_init_frame_1):
12165 * frame-msw.c (mswindows_mark_frame):
12166 * event-msw.c (mswindows_enqueue_dispatch_event):
12168 * console-msw.h (struct mswindows_frame):
12169 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
12170 there are now three hash tables for callbacks.
12171 mswindows_enqueue_dispatch_event is no longer static.
12173 * dialog-x.c (maybe_run_dbox_text_callback):
12174 * dialog-x.c (dbox_descriptor_to_widget_value):
12175 switch to new cons3 form for callbacks.
12177 * glyphs-msw.c (mswindows_register_gui_item):
12178 * glyphs-msw.c (mswindows_widget_instantiate):
12179 * glyphs-msw.c (add_tree_item):
12180 * glyphs-msw.c (add_tab_item):
12181 new image instance parameter, so it can be passed to callback-ex.
12182 respect :callback-ex as well as :callback.
12184 * glyphs-widget.c (VALID_GUI_KEYWORDS):
12187 * glyphs.c (print_image_instance):
12188 prettify, e.g. now prints widget type.
12191 certain funs have new image instance parameter.
12194 * gui.c (get_gui_callback):
12195 * gui.c (gui_item_add_keyval_pair):
12196 * gui.c (gui_item_init):
12197 * gui.c (gui_add_item_keywords_to_plist):
12198 * gui.c (mark_gui_item):
12199 * gui.c (gui_item_hash):
12200 * gui.c (gui_item_equal):
12201 * gui.c (copy_gui_item):
12202 * gui.c (syms_of_gui):
12203 recognize callback-ex in a number of places.
12204 also, fix the annoying "can't get out of yes-no dialog" bug.
12207 * gui.h (struct Lisp_Gui_Item):
12208 recognize callback-ex in a number of places.
12210 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12211 new parameter in button_item_to_widget_value.
12213 * glyphs-x.c (x_update_widget):
12214 * glyphs-x.c (x_button_instantiate):
12215 * glyphs-x.c (x_button_update):
12216 * glyphs-x.c (x_progress_gauge_instantiate):
12217 * glyphs-x.c (x_edit_field_instantiate):
12218 * glyphs-x.c (x_combo_box_instantiate):
12219 * glyphs-x.c (x_tab_control_instantiate):
12220 * glyphs-x.c (x_label_instantiate):
12221 new image instance parameter in various places.
12224 * event-Xt.c (enqueue_Xt_dispatch_event):
12225 this fun gets exported.
12228 * gui-msw.c (mswindows_handle_gui_wm_command):
12229 handle both :callback and :callback-ex, and generate our own
12230 event because it's one of the callback-ex arguments.
12233 * gui-x.c (popup_selection_callback):
12234 handle both :callback and :callback-ex, and generate our own
12235 event because it's one of the callback-ex arguments.
12236 * gui-x.c (button_item_to_widget_value):
12237 * gui-x.c (gui_items_to_widget_values_1):
12238 * gui-x.c (gui_item_children_to_widget_values):
12239 * gui-x.c (gui_items_to_widget_values):
12240 new image instance parameter in various places.
12242 * fns.c (Freplace_list):
12243 fix small typo in doc string.
12246 declare enqueue_Xt_dispatch_event.
12248 2000-04-28 Ben Wing <ben@xemacs.org>
12251 * buffer.c (Frecord_buffer):
12252 * buffer.c (syms_of_buffer):
12253 delete record-buffer-hook.
12256 * fns.c (Freplace_list):
12257 * fns.c (syms_of_fns):
12258 new primitive replace-list.
12261 slot for old buffer-alist.
12264 exfun replace-list.
12267 * redisplay.c (redisplay_frame):
12268 * redisplay.c (syms_of_redisplay):
12269 * redisplay.c (vars_of_redisplay):
12270 new hook buffer-list-changed-hook.
12273 2000-04-27 Ben Wing <ben@xemacs.org>
12275 * extents.h: extern in_modeline_generation.
12277 * redisplay.c (generate_formatted_string_db): set
12278 in_modeline_generation.
12280 * extents.c (extent_changed_for_redisplay): don't mark redisplay
12281 flags if in modeline generation. otherwise frame-modified-tick
12282 is ticked far too often.
12283 Declare in_modeline_generation.
12285 2000-04-26 Ben Wing <ben@xemacs.org>
12287 * emacs.c (vars_of_emacs): document quick-build "error-checking"
12289 (vars_of_emacs): add quick-build as an error-checking option.
12290 A bit kludgy, but there doesn't seem much point in creating
12291 a real var for this.
12293 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
12295 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
12297 * redisplay.h (struct display_line): Add a new variable,
12300 * redisplay.c (create_text_block): Set dl->line_continuation if
12301 the line continues.
12302 (create_string_text_block): Ditto.
12303 (regenerate_window_incrementally): Use line_continuation instead
12304 of searching continuation glyph.
12305 (add_margin_runes): Call add_glyph_rune.
12306 (add_glyph_rune): Handle margin glyph.
12308 2000-04-20 Martin Buchholz <martin@xemacs.org>
12310 * filelock.c (fill_in_lock_file_name):
12312 Check for IS_ANY_SEP instead of '/'.
12314 Avoid generating gratuitous garbage. Call user_login_name() directly.
12315 Never check errno without first seeing that system call failed.
12316 (unlock_file): Add GCPRO.
12317 (Flock_buffer): Fix docstring.
12318 (Ffile_locked_p): Fix docstring. Add GCPRO.
12320 2000-04-19 Martin Buchholz <martin@xemacs.org>
12322 * sysdep.c (get_pty_max_bytes):
12323 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
12324 strings longer than 252 bytes.
12326 * md5.c: Unconditionally include ANSI header <limits.h>
12328 * glyphs-x.c (convert_EImage_to_XImage):
12329 * lisp-union.h (union Lisp_Object):
12330 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
12332 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
12334 * filelock.c (current_lock_owner): Remove unused variable o, p.
12336 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
12338 * callint.c: Remove multiply defined symbol Qlet
12339 (syms_of_callint): ditto.
12341 2000-04-14 Andy Piper <andy@xemacs.org>
12343 * general.c (syms_of_general): add last-command, this-command, let
12346 * lisp.h: declare various symbols.
12348 * glyphs.h: declare Qwidget_callback_current_channel;
12350 * glyphs-widget.c (syms_of_glyphs_widget): add
12351 Qgui_callback_current_channel.
12352 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
12354 * gui-msw.c (mswindows_handle_gui_wm_command): bind
12355 widget-callback-current-channel when invoking the interactive
12356 arg. Also bind last-command and next-command when invoking the
12358 * gui-x.c (popup_selection_callback): ditto.
12360 * gui.c (get_gui_callback): massage args so that we are always
12361 calling eval. This allows us to add our own variable bindings
12364 * glyphs-x.c (x_button_instantiate): use
12365 gui_items_to_widget_values since this is GC safe.
12366 (x_progress_gauge_instantiate): ditto.
12367 (x_edit_field_instantiate): ditto.
12368 (x_label_instantiate): ditto.
12370 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
12371 (emacs_Xt_event_widget_focus_out): new function
12372 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
12374 (emacs_Xt_event_add_widget_actions): new function. add focus
12375 functions as actions.
12376 (init_event_Xt_late): use it.
12378 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
12380 * event-stream.c (Fdispatch_event): Doc fix.
12382 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
12384 * postgresql.c: Remove all references to PQsetenv*.
12386 * postgresql.h: Remove references to PGsetenvHandler object.
12387 * lrecord.h (lrecord_type): Ditto.
12389 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12391 * glyphs-msw.h (struct mswindows_image_instance_data): Added
12392 real_heigh and real_width members, and accessor macros for these.
12394 * glyphs-msw.c (init_image_instance_geometry): New function.
12395 (init_image_instance_from_dibitmap): Use it.
12396 (mswindows_resource_instantiate): Use it.
12397 (init_image_instance_from_xbm_inline): Use it.
12398 (mswindows_initialize_image_instance_mask): Use real bitmap
12400 (mswindows_create_resized_bitmap): Ditto.
12401 (mswindows_create_resized_mask): Ditto.
12403 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
12404 and bitmap to their surface size.
12406 2000-04-11 Jan Vroonhof <jan@xemacs.org>
12408 * process-unix.c (unix_send_process): Guard against process MIA
12409 after Faccept_process_output.
12411 2000-04-11 Ben Wing <ben@xemacs.org>
12413 * eval.c (unbind_to_hairy): fix brokenness introduced by
12414 nanosecond speed improvements.
12416 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
12418 * sunplay.c (init_device): To play sounds correctly, the device
12419 apparently needs to be initialized at least once by XEmacs. Make
12422 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
12424 * redisplay.c (add_margin_runes): Add text image glyph
12427 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
12429 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
12430 gcc is newer than 2.5.
12432 2000-04-06 Colin Rafferty <colin@xemacs.org>
12434 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
12436 * fns.c (size_bit_vector):
12437 * alloc.c (size_vector):
12438 (make_vector_internal):
12439 (make_bit_vector_internal):
12440 (sweep_bit_vectors_1):
12441 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
12443 2000-04-06 Andy Piper <andy@xemacs.org>
12445 * gmalloc.c (malloc): undo previous change.
12450 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
12452 * line-number.c (buffer_line_number): Revert to former version.
12454 2000-04-06 Andy Piper <andy@xemacs.org>
12456 * gmalloc.c (malloc): add error checking.
12461 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
12462 button_item_to_widget_value arg.
12464 * glyphs-x.c (x_button_instantiate): add extra
12465 button_item_to_widget_value arg.
12466 (x_progress_gauge_instantiate): ditto.
12467 (x_edit_field_instantiate): ditto.
12468 (x_label_instantiate): ditto.
12470 * gui-x.c (gui_items_to_widget_values_1): add extra
12471 button_item_to_widget_value arg.
12472 (button_item_to_widget_value): add extra menu_item_p arg.
12474 * gui-x.h: change signature of button_item_to_widget_value.
12476 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
12477 button_item_to_widget_value arg.
12479 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
12481 * buffer.h (struct buffer): auto_save_modified should be long.
12483 2000-04-05 Andy Piper <andy@xemacs.org>
12485 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
12487 (button_query_geometry): give a little more room so that athena
12490 2000-04-05 Andy Piper <andy@xemacs.org>
12492 * faces.c (complex_vars_of_faces): The widget face should inherit
12493 the font of the gui-element face.
12495 2000-04-04 Andy Piper <andy@xemacs.org>
12497 * glyphs-x.c (x_button_update): new function. unconditionally
12498 update a button's state when the instance is dirty.
12499 (image_instantiator_format_create_glyphs_x): add x_button_update.
12500 (x_widget_instantiate): remove old resize cruft.
12502 2000-04-02 Andy Piper <andy@xemacs.org>
12504 * frame.c (change_frame_size_1): The introduction of gutters means
12505 that we need to allow 0 as a potential frame dimension.
12507 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
12509 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
12510 image glyph if allow_cursor.
12511 (add_hscroll_rune): Don't allow cursor to border glyph.
12512 (create_text_block): Ditto.
12514 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
12515 text not in buffer.
12516 (redisplay_output_layout): Call ensure_face_cachel_complete for
12520 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
12522 * redisplay.c (add_glyph_rune): Adding text image as text runes.
12524 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
12527 * redisplay-tty.c (tty_output_display_block): Delete the routine
12528 for text image glyph
12529 * redisplay-x.c (x_output_display_block): ditto
12530 * redisplay-msw.c (mswindows_output_display_block): ditto
12532 2000-02-02 Mike Alexander <mta@arbortext.com>
12534 Note: Some of these were committed by accident as part of other
12537 * regex.c (regex_compile): Avoid compiler warnings.
12539 * ntproc.c (sys_spawnve): Avoid compiler warnings.
12541 * nt.h: Declare term_ntproc correctly.
12543 * nt.c: Remove incorrect declaration of get_home_directory which
12544 is declared correctly in lisp.h.
12546 * keymap.c (get_keyelt): Avoid compiler warnings.
12547 (raw_lookup_key_mapper): Avoid compiler warnings.
12549 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
12551 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
12553 * filemode.c (mode_string): Avoid compiler warnings.
12555 * file-coding.c (Fcoding_system_aliasee): Add return statement to
12558 * events-mod.h: Undef some things that winuser.h defines differently.
12560 * data.c (Faset): Avoid compiler warnings.
12562 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
12564 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12566 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
12567 Fall through to simple beep on error.
12568 Replace "extern" by real header file.
12570 * linuxplay.c: Use nativesound.h
12571 (play_sound_data): Return error code. Be less verbose on error.
12573 * sunplay.c: Use nativesound.h
12574 (play_sound_data): Return error code. Be less verbose on error.
12576 * ntplay.c: Use nativesound.h
12577 (play_sound_data): Return fake error code
12579 * sgiplay.c: Use nativesound.h
12580 (play_sound_data): Return error code
12582 * hpplay.c: Use nativesound.h, partially implement
12583 new error code. Break compilation until finished.
12584 (play_sound_data): error code.
12586 * nativesound.h (play_sound_file):
12587 (play_sound_data): Prototype in new header.
12589 2000-03-31 Andy Piper <andy@xemacs.org>
12591 * glyphs-widget.c: (button_query_geometry): new function. Adjust
12592 for toggle and radio buttons.
12593 (image_instantiator_buttons): use it.
12595 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12597 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
12598 (x_update_horizontal_scrollbar_callback): Return if no mirror was
12599 found. Scrollbar event probably belonged to some old config.
12601 2000-03-31 Andy Piper <andy@xemacs.org>
12603 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
12605 (initialize_widget_image_instance): default layout to
12606 LAYOUT_HORIZONTAL rather than 0.
12607 (widget_instantiate): reverse the item list at the end rather than
12609 (layout_layout): re-code for the border text at the front of the
12610 item list rather than at the end.
12611 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
12612 provided by the user.
12613 (widget_query_geometry): comment.
12615 2000-03-30 Andy Piper <andy@xemacs.org>
12617 * glyphs-widget.c (image_instantiator_layout): allow standard
12618 widget keywords in layouts.
12620 * gutter.c (output_gutter): cope with nil gutter contents.
12622 * frame.c (Fset_frame_properties): add gutter docs.
12624 2000-03-29 Andy Piper <andy@xemacs.org>
12626 * toolbar-msw.c (TBSTYLE_FLAT): add.
12627 (mswindows_output_toolbar): minor fiddling.
12629 2000-03-29 Andy Piper <andy@xemacs.org>
12631 * gutter.c (output_gutter): force gutter size recalculation if
12632 what we are trying to display won't fit.
12633 (update_gutter_geometry): new function. A per-gutter version of
12634 update_frame_gutter_geometry.
12635 (update_frame_gutter_geometry): use it.
12636 (redraw_exposed_gutter): add extra debugging output.
12638 2000-03-28 Mike Alexander <mta@arbortext.com>
12640 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
12641 (pdump_file_unmap): Implement it on Windows
12642 (pdump_file_get): Save alocated handles for pdump_file_unmap
12644 2000-03-28 Andy Piper <andy@xemacs.org>
12646 * gui.c (get_gui_callback): treat Quit specially.
12648 2000-03-27 Andy Piper <andy@xemacs.org>
12650 * glyphs.c (image_instantiate): be careful to check in the same
12653 2000-03-27 Didier Verna <didier@xemacs.org>
12655 * config.h.in: define the proper SMART_INCLUDE macro.
12656 handle renaming of `foo_h_path' to `foo_h_file'.
12658 * database.c: ditto.
12662 * linuxplay.c: ditto.
12664 * terminfo.c: ditto.
12666 * tooltalk.h: ditto.
12668 2000-03-27 Andy Piper <andy@xemacs.org>
12670 * glyphs-msw.c (mswindows_update_widget): make sure the widget
12671 gets updated whenever the face might have changed.
12673 2000-03-26 Mike Alexander <mta@arbortext.com>
12675 * dumper.c (pdump_resource_free): Fix the comment.
12677 2000-03-21 Olivier Galibert <galibert@pobox.com>
12679 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
12681 2000-03-22 Mike Alexander <mta@arbortext.com>
12683 * dumper.c: Include Windows headers on Windows
12684 (pdump_resource_free): Add a body to the function
12685 (pdump_load): exe_name -> exe_path and add some comments.
12687 2000-03-25 Mike Alexander <mta@arbortext.com>
12689 * gui.c (copy_gui_item_tree): Return a value in all cases
12691 2000-03-21 Didier Verna <didier@xemacs.org>
12693 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
12695 (SMART_INCLUDE): new macro.
12696 (POSTGRES_INCLUDE): new macro to include postgresql headers from
12697 the proper location.
12699 * postgresql.c: use it.
12703 2000-03-24 Andy Piper <andy@xemacs.org>
12705 * gutter.c (redraw_exposed_gutters): must be "in display" when we
12708 2000-03-24 Andy Piper <andy@xemacs.org>
12710 * redisplay-output.c (compare_runes): use image_instance_changed
12711 to detect changes. Do not depend on glyphs_changed, only depend on
12713 (redisplay_output_layout): add debug messages.
12714 (compare_runes): ditto.
12716 * glyphs.h: declare new functions.
12717 (struct Lisp_Image_Instance): remove percent and associated
12720 * gui.h: declare new copying functions.
12722 * gui.c (copy_gui_item_tree): new function.
12723 (copy_gui_item): new function.
12724 (gui_item_id_hash): revert to standard hash.
12725 (gui_item_hash): ditto.
12726 (gui_item_hash_internal): deleted.
12727 (mark_gui_item): mark value.
12728 (gui_item_add_keyval_pair): add value.
12729 (gui_item_init): ditto.
12730 (gui_add_item_keywords_to_plist): ditto.
12731 (gui_item_equal): ditto.
12732 (syms_of_gui): add Q_value.
12734 * glyphs-x.c (x_progress_gauge_update): use pending items and
12735 value for setting the state.
12736 (x_update_widget): don't set items from pending here.
12738 * glyphs-widget.c (update_widget): update items here.
12739 (progress_gauge_set_property): use items for storing value. Put
12740 new value in pending items.
12742 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
12743 items for new value. Convert percent -> value.
12744 (mswindows_tab_control_update): don't update items here.
12746 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
12747 (update_subwindow): ditto.
12748 (image_instance_changed): new function. Compare hash values and
12749 past and present widget items.
12750 (image_instantiate): We more careful about where we instantiate
12752 (image_instantiate): add error checking.
12754 * gutter.c (syms_of_gutter): use -hook.
12756 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
12758 * console-tty.c (Fset_console_tty_input_coding_system): Use
12760 (Fset_console_tty_output_coding_system): Use Qterminal.
12761 (tty_init_console): Use Qkeyboard and Qterminal.
12763 2000-03-21 Ben Wing <ben@xemacs.org>
12765 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
12766 From Mike Alexander <mta@arbortext.com>.
12768 2000-03-21 Ben Wing <ben@xemacs.org>
12770 * event-msw.c (mswindows_need_event): Horrible kludge to fix
12771 process brokenness. Proper implementation to come.
12773 Rename call-process-internal to old-call-process-internal.
12774 New impl. in process.el.
12776 2000-03-21 Martin Buchholz <martin@xemacs.org>
12778 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
12780 2000-03-20 Andy Piper <andy@xemacs.org>
12782 * glyphs.c (full_list_hash): make hashes of the same elements in
12783 different orders return different values.
12785 2000-03-20 Martin Buchholz <martin@xemacs.org>
12787 * XEmacs 21.2.32 is released.
12789 2000-03-20 Martin Buchholz <martin@xemacs.org>
12791 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
12792 (DFC_MALLOC_USE_CONVERTED_DATA):
12793 Add aliasing-safe casts to allow use with char* or unsigned char*
12796 * eldap.c (Fldap_open):
12797 (Fldap_search_basic):
12800 Make C++-compilable.
12801 Make sure GCPRO'ed variables are initialized.
12802 Use temp variables to avoid repeated calls to Flength.
12804 2000-03-16 Martin Buchholz <martin@xemacs.org>
12807 Make sure PATH_MAX is always defined.
12808 Include limits.h for PATH_MAX.
12809 Deprecate use of MAXPATHLEN.
12811 2000-03-10 Martin Buchholz <martin@xemacs.org>
12813 * emacs.c: Add reinit_vars_of_fileio.
12814 * symsinit.h: Add reinit_vars_of_fileio.
12815 * fileio.c (reinit_vars_of_fileio): New.
12816 * fileio.c (Fmake_temp_name):
12817 Initialize temp_name random number from microseconds to make
12818 collisions even less likely. Initialize always at process startup
12819 time. (make-temp-name) used to return the same file name twice in
12821 Random stylistic fiddling.
12824 2000-03-20 Andy Piper <andy@xemacs.org>
12826 * glyphs.c (image_instantiate): allow text glyphs to be
12827 instantiated in the minibuffer window.
12829 2000-03-19 Andy Piper <andy@xemacs.org>
12831 * glyphs.c (image_instance_hash): be careful about which items we
12834 * glyphs-widget.c (tab_control_set_property): record into pending
12835 items rather than the actual items.
12837 * glyphs-x.c (x_update_widget): use pending items to update with.
12839 * glyphs-msw.c (mswindows_tab_control_update): use pending items
12842 * glyphs.c (mark_image_instance): mark pending items.
12844 * window.c (Fset_window_configuration): record the buffer.
12845 (Fselect_window): totally revert previous change which breaks many
12848 2000-03-18 Andy Piper <andy@xemacs.org>
12850 * glyphs-msw.c (mswindows_tab_control_update): force selected
12853 * glyphs.c (image_instantiate): don't allow the minibuffer as a
12854 window domain cache, otherwise we get inconsistencies at
12855 startup. There is something fishy at startup which can lead to the
12856 minibuffer being the selected window when the gutter content is
12859 * gui.c (parse_gui_item_tree_list): add probably unnecessary
12861 (parse_gui_item_tree_children): ditto.
12862 (parse_gui_item_tree_item): ditto.
12864 * glyphs.c (Fupdate_widget_instances): return something.
12866 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
12868 * window.c (Fselect_window): Undo 2000-03-17 change.
12870 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
12872 * postgresql.c (Fpq_setenv): Remove this turkey when linking
12873 against v7.0 libraries. Insta-coredump city until the postgres
12876 2000-03-17 Andy Piper <andy@xemacs.org>
12878 * faces.c (complex_vars_of_faces): don't give the widget face an
12879 inherited background pixmap.
12881 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
12884 * event-stream.c (Fdispatch_non_command_events): return something.
12886 * gutter.c (output_gutter): use widget face.
12887 (clear_gutter): ditto.
12889 * NEWS: adjust again.
12891 * window.c (Fselect_window): make sure this runs to completion to
12892 avoid oddities with Fset_window_configuration.
12893 (Fcurrent_window_configuration): in general do not save the
12894 minibuffer as the selected window.
12896 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
12898 2000-03-16 Olivier Galibert <galibert@pobox.com>
12900 * emacs.c (Frunning_temacs_p): Revert previous patch.
12901 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
12903 2000-03-16 Andy Piper <andy@xemacs.org>
12905 * glyphs-x.c (x_tab_control_update): if no widget values then
12908 * NEWS: update for new features.
12910 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
12911 synthetic event to the native system.
12912 (reinit_vars_of_event_Xt): set force_event_pending to
12913 emacs_Xt_force_event_pending.
12915 * events.h (struct event_stream): add force_event_pending.
12917 * specifier.c (recompute_one_cached_specifier_in_window): add
12920 * redisplay.c (redisplay_frame): don't call
12921 update_frame_subwindows. Reset subwindow cachels when
12922 subwindows_changed, removing this was an optimization too far.
12924 * redisplay-output.c (compare_runes): reorganize so that we catch
12925 glyph changes when we want them. Set optimize_output when this
12926 would help layouts.
12927 (redisplay_output_layout): remove frame_really_changed, use
12928 optimize_output instead.
12930 * redisplay-msw.c (mswindows_output_display_block): reset
12931 optimize_output after outputting a glyph.
12932 * redisplay-x.c (x_output_display_block): ditto.
12933 * redisplay-tty.c (tty_output_display_block): ditto.
12935 * gutter.c: (specifier_vars_of_gutter): use new spec changed
12937 (gutter_specs_changed): do specific gutter positions.
12938 (top_gutter_specs_changed): new function. Only update the
12939 specified gutter specs.
12940 (bottom_gutter_specs_changed): ditto.
12941 (left_gutter_specs_changed): ditto.
12942 (right_gutter_specs_changed): ditto.
12944 * gui.c (gui_item_hash_internal): new function, does a real hash.
12945 (gui_item_id_hash): use it.
12946 (gui_item_hash): hash the eval'ed gui_item.
12948 * gui-x.c (popup_selection_callback): send an eval event to call
12949 Fupdate_widget_instances.
12951 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
12952 to call Fupdate_widget_instances.
12954 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
12955 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
12957 * glyphs.c: (update_frame_subwindows): deleted.
12958 (Fupdate_widget_instances): new function for updating the dirty
12959 state of widgets that might have changed.
12960 (syms_of_glyphs): add Qupdate_widget_instances.
12961 (full_list_hash): hash a list completely.
12962 (image_instance_hash): use it for items and properties.
12964 * frame-msw.c (mswindows_size_frame_internal): remove unused
12967 * faces.h (struct face_cachel): fix comment.
12969 * event-stream.c (Fdispatch_non_command_events): new
12970 function. Process non-command events, forcing an event cycle
12972 (syms_of_event_stream): declare.
12973 (event_stream_force_event_pending): new function. Force an event
12974 on the native event queue so that an event cycle will occur next
12978 (struct ntpipe_shove_stream):
12979 (mswindows_enqueue_dispatch_event):
12980 (mswindows_dequeue_dispatch_event):
12981 (mswindows_cancel_dispatch_event):
12982 (mswindows_pump_outstanding_events):
12983 (mswindows_drain_windows_queue):
12984 (mswindows_handle_paint):
12985 (mswindows_wnd_proc):
12986 (mswindows_key_to_emacs_keysym):
12987 (get_process_input_waitable):
12988 (emacs_mswindows_delete_stream_pair): re-indent file.
12989 (mswindows_need_event): do not process further fds if the windows
12990 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
12991 fixes the 100% cpu problem.
12992 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
12994 2000-03-15 Olivier Galibert <galibert@pobox.com>
13000 * emacs.c: Moved dump file searching to dumper.c.
13001 (Frunning_temacs_p): Fixed.
13003 * alloc.c: Moved everything pdump-related to dumper.c. Removed
13004 last_lrecord_type_index_assigned.
13006 2000-02-20 Olivier Galibert <galibert@pobox.com>
13008 * symsinit.h: Added reinit parameter to init_console_stream
13011 * lisp.h: Added file parameter to pdump_load declaration.
13013 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
13014 support. Added dump file searching.
13016 * config.h.in: Added EMACS_PROGNAME.
13018 * console-stream.c (init_console_stream): Fix reinitialisation
13019 when running from temacs.
13021 * alloc.c (pdump): Add id support.
13022 (pdump_load): Add file parameter and signature/id support.
13024 * Makefile.in.in: Add full pdump support.
13026 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
13028 * postgresql.c: Update documentation to reflect latest code
13030 (print_result): Show tuple counts in printed representation when
13032 (Fpq_put_nbytes): MULE-ize.
13033 (Fpq_get_line_async): Ditto.
13035 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13037 * postgresql.c (Fpq_lo_import): Fix return value.
13038 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
13040 2000-03-13 Ben Wing <ben@xemacs.org>
13042 * alloc.c (pdump_load):
13043 Fix compile warning under mswin.
13045 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13047 * postgresql.c: Mule-ization, bug fixes.
13048 Use PG_CODING to encapsulate coding system name changes.
13049 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
13050 (pg-coding-system): Create.
13052 (Fpq_conn_defaults): Mule-ize.
13053 (Fpq_connectdb): Mule-ize & bug fix.
13054 (Fpq_connect_start): Mule-ize.
13055 (Fpq_set_client_encoding): Mule-ize.
13056 (Fpq_finish): Document `DEAD' connection status.
13057 (Fpq_clear): Ditto.
13058 (Fpq_pgconn): Mule-ize.
13059 (Fpq_exec): Mule-ize & bug fix.
13060 (Fpq_send_query): Ditto.
13061 (Fpq_get_result): Ditto.
13062 (Fpq_res_status): Mule-ize.
13063 (Fpq_result_error_message): Mule-ize.
13064 (Fpq_ntuples): fix comments.
13065 (Fpq_fname): Mule-ize.
13066 (Fpq_fnumber): Mule-ize.
13067 (Fpq_ftype): fix comments.
13068 (Fpq_get_value): Mule-ize.
13069 (Fpq_cmd_status): Ditto.
13070 (Fpq_cmd_tuples): Ditto.
13071 (Fpq_oid_value): Ditto.
13072 (Fpq_notifies): Ditto.
13073 (Fpq_lo_import): Ditto.
13074 (Fpq_lo_export): Ditto.
13075 (Fpq_get_line): Ditto.
13076 (Fpq_put_line): Mule-ize and bug fix.
13077 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
13079 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13081 * postgresql.c (vars_of_postgresql): Mule-ize.
13082 (Fpq_conn_defaults): Ditto.
13084 2000-03-12 Ben Wing <ben@xemacs.org>
13086 * alloc.c (Fmake_byte_code):
13087 * alloc.c (debug_string_purity_print):
13088 * alloc.c (pdump_backtrace):
13089 * alloc.c (pdump_get_indirect_count):
13090 * alloc.c (pdump_register_sub):
13091 * alloc.c (pdump_register_object):
13092 * alloc.c (pdump_register_struct):
13093 * alloc.c (pdump_dump_data):
13094 * alloc.c (pdump_reloc_one):
13098 * console-msw.c (GetConsoleHwnd):
13099 * console-msw.c (msw_hide_console):
13100 * console-msw.c (msw_show_console):
13101 * console-msw.c (msw_ensure_console_buffered):
13102 * console-msw.c (msw_output_console_string):
13103 * console-msw.c (console_type_create_mswindows):
13105 a) Added functions to manipulate the console window for use with
13108 b) Added support for writing text to the console, which is now
13109 used under Windows when xemacs is not being run non-interactively,
13110 to write text that would otherwise be destined for stdout because
13111 under these circumstances, text written to stdout tends to
13112 disappear and not be seen.
13116 * event-Xt.c (x_event_to_emacs_event):
13117 * event-Xt.c (describe_event_window):
13118 * events-mod.h (XEMACS_MOD_CONTROL):
13120 * events.c (Fmake_event):
13121 * events.c (character_to_event):
13122 * events.c (event_to_character):
13123 * events.c (format_event_object):
13124 * events.c (Fevent_modifiers):
13126 * events.h (struct key_data):
13127 * events.h (struct button_data):
13128 * events.h (struct misc_user_data):
13129 * frame-x.c (Fcde_start_drag_internal):
13130 * frame-x.c (Foffix_start_drag_internal):
13131 * gpmevent.c (Freceive_gpm_event):
13133 * keymap.c (bucky_sym_to_bucky_bit):
13134 * keymap.c (control_meta_superify):
13135 * keymap.c (make_key_description):
13136 * keymap.c (keymap_lookup_directly):
13137 * keymap.c (create_bucky_submap):
13138 * keymap.c (keymap_store):
13139 * keymap.c (define_key_check_and_coerce_keysym):
13140 * keymap.c (define_key_parser):
13141 * keymap.c (define_key_alternate_name):
13142 * keymap.c (Fdefine_key):
13143 * keymap.c (raw_lookup_key_mapper):
13144 * keymap.c (struct map_keymap_unsorted_closure):
13145 * keymap.c (map_keymap_unsorted_mapper):
13146 * keymap.c (map_keymap_sort_predicate):
13147 * keymap.c (map_keymap_sorted):
13148 * keymap.c (accessible_keymaps_mapper_1):
13149 * keymap.c (where_is_recursive_mapper):
13150 * keymap.c (describe_map_mapper):
13151 * keymap.c (describe_map_sort_predicate):
13152 * keymap.c (describe_map):
13153 * keymap.c (complex_vars_of_keymap):
13154 And a number of other files, the key modifier preprocessor
13155 constants that xemacs uses have names that conflict with constants
13156 defined under MS Windows for other purposes, so they were renamed
13157 to begin with the prefix XEMACS_. The variables that hold such
13158 modifiers were changed to consistently be of type int to fix
13159 various compile warnings.
13161 * console.c (complex_vars_of_console):
13164 * device-msw.c (mswindows_finish_init_device):
13165 * device-msw.c (msw_get_workspace_coords):
13166 * device-msw.c (mswindows_device_system_metrics):
13167 and various other files, added support for a new
13168 device property called offset-workspace which returns the position
13169 of the upper left corner of the workspace area and goes along with
13170 the existing size-workspace property.
13173 * dialog-msw.c (push_bufbyte_string_as_unicode):
13174 * dialog-msw.c (mswindows_popup_dialog_box):
13175 Added support for XEmacs-style accelerator specifications in
13176 button text. Note: I didn't add support for this under X Windows,
13177 and somebody needs to do this.
13180 * dialog.c (Fpopup_dialog_box):
13181 Documented the support for accelerators that was just mentioned.
13183 editfns.c (get_home_directory): Changed behavior under Windows
13184 when HOME not defined; former behavior was irretrievably broken.
13187 * emacs.c (main_1):
13189 * minibuf.c (clear_echo_area_internal):
13190 * minibuf.c (echo_area_append):
13192 * print.c (std_handle_out_external):
13193 * print.c (std_handle_out_va):
13195 * print.c (write_string_to_stdio_stream):
13196 * print.c (output_string):
13197 * print.c (debug_print):
13198 * print.c (debug_backtrace):
13199 * print.c (debug_short_backtrace):
13200 Cleaned up the code that prints text to stdout so that this can be
13201 changed to output into a console window instead under MS Windows,
13202 as described above.
13205 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
13206 * eval.c (internal_catch):
13207 * eval.c (unwind_to_catch):
13208 * eval.c (throw_or_bomb_out):
13209 * eval.c (condition_case_1):
13210 * eval.c (signal_1):
13211 * eval.c (check_error_state_sanity):
13212 * eval.c (call_with_suspended_errors_1):
13213 * eval.c (call_with_suspended_errors):
13214 * eval.c (reinit_vars_of_eval):
13215 Added code to catch throw loops and check for a pesky bug that may
13219 * event-msw.c (key_needs_default_processing_p):
13220 * event-msw.c (mswindows_wnd_proc):
13221 * event-msw.c (mswindows_modifier_state):
13222 * event-msw.c (emacs_mswindows_quit_p):
13223 * event-msw.c (vars_of_event_mswindows):
13224 a) Added support for using the alt key to select menu items as is
13225 standard under MS Windows. This is controlled using the variable
13226 menu-accelerator-enabled, just like under X Windows. There is an
13227 option on the options menu to turn this support on. I really
13228 think that it should be on by default under Windows, but I'm not
13229 going to make this change yet.
13231 b) Added support for dynamic display size changes under Windows.
13234 * event-stream.c (maybe_echo_keys):
13235 * event-stream.c (Fnext_event):
13236 * event-stream.c (command_builder_find_leaf):
13237 * event-stream.c (lookup_command_event):
13238 * event-stream.c (execute_command_event):
13239 * event-stream.c (pre_command_hook):
13240 * event-stream.c (post_command_hook):
13241 * event-stream.c (syms_of_event_stream):
13242 * event-stream.c (vars_of_event_stream):
13243 * event-stream.c (complex_vars_of_event_stream):
13244 * events.h (struct command_builder):
13246 a) Tried to clean up a little bit the horribly written x-specific
13247 accelerator code that crept into this file. I moved this code
13248 into menubar-x.c where it belongs. I also needed to move the
13249 command builder structure into the file events.h because it is
13250 accessed directly by this accelerator code. What I didn't do, but
13251 which should be done at some point, is to properly abstract this
13252 code using device methods instead of the kludgy way that it
13253 currently hooks into the event code.
13255 b) Added the lisp variables this-command-properties and
13256 last-command- properties, which should be used to synchronize two
13257 adjacent commands in preference to playing games with the variable
13258 this-command, which is typically what happens.
13260 c) Added some slightly nasty code to hook into the lisp support
13261 for shifted- motion-key selection. This is actually necessary for
13262 somewhat complicated reasons, which are described in
13263 simple.el. (NB: I think the proper thing would be to have the code
13264 that calls the pre and post command hooks also call out to generic
13265 lisp functions in simple.el, where all built-in stuff could be
13266 added. I will think about this more.)
13268 * event-unixoid.c (poll_fds_for_input):
13269 * lread.c (readchar):
13270 * redisplay-tty.c (tty_clear_frame):
13271 * redisplay-x.c (x_get_gc):
13272 * signal.c (interrupt_signal):
13273 And a whole bunch of other files: fixed up places that printed
13274 directly to stderr to instead call the function stderr_out so that
13275 the changes I made under Windows work correctly.
13277 * filemode.c (mode_string):
13281 * frame-msw.c (mswindows_size_frame_internal):
13282 Fixed the computation of frame size and position to keep the frame
13283 within the workspace area, rather than within the physical
13284 dimensions of the screen, so that the frame doesn't overlap window
13285 manager decorations, such as the start menu and toolbar, typically
13286 at the bottom of the screen.
13288 * frame.c (vars_of_frame):
13289 Changed the default frame title format under MS Windows to consist
13290 of buffername-XEmacs, which is standard under MS Windows. I think
13291 it might be a good idea to change this everywhere because I think
13292 it is superior to the current frame title format, but this is the
13293 kind of change that is likely to cause some people to get annoyed,
13294 so I'm not making it.
13296 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
13298 * gui-msw.c (mswindows_handle_gui_wm_command):
13299 Fixed compile warnings.
13302 * gui-x.c (strdup_and_add_accel):
13303 * gui-x.c (button_item_to_widget_value):
13305 Added code to automatically put an accelerator onto the beginning
13306 of menu items that don't have one as is now the standard, and is
13307 described more later. Also fixed things so that the menu item
13308 name can be an evaluated expression, again a new standard.
13311 * gui.c (gui_item_add_keyval_pair):
13312 * gui.c (make_gui_item_from_keywords_internal):
13313 * gui.c (gui_add_item_keywords_to_plist):
13314 * gui.c (gui_item_accelerator):
13315 * gui.c (gui_name_accelerator):
13316 * gui.c (gui_item_included_p):
13317 * gui.c (gui_item_display_flush_left):
13318 * gui.c (gui_item_display_flush_right):
13319 * gui.c (parse_gui_item_tree_item):
13320 * gui.c (parse_gui_item_tree_children):
13321 * gui.c (parse_gui_item_tree_list):
13322 Mule-ized. Cleanup. GCPRO addition.
13324 * line-number.c (buffer_line_number):
13326 * lisp.h (EMACS_INT_MAX):
13327 Added the manifest constant EMACS_INT_MIN corresponding to the
13328 existing constant EMACS_INT_MAX. This is partially to fix compile
13329 warnings under Windows, and partly for cleanliness.
13332 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
13333 * menubar-msw.c (msw_translate_menu_or_dialog_item):
13334 * menubar-msw.c (displayable_menu_item):
13335 * menubar-msw.c (populate_menu_add_item):
13336 * menubar-msw.c (populate_or_checksum_helper):
13337 * menubar-msw.c (populate_menu):
13338 * menubar-msw.c (update_frame_menubar_maybe):
13339 * menubar-msw.c (prune_menubar):
13340 * menubar-msw.c (msw_char_is_accelerator):
13341 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
13342 * menubar-msw.c (mswindows_handle_wm_command):
13343 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
13344 * menubar-msw.c (mswindows_handle_wm_initmenu):
13345 * menubar-msw.c (mswindows_update_frame_menubars):
13346 * menubar-msw.c (mswindows_free_frame_menubars):
13347 * menubar-msw.c (mswindows_popup_menu):
13348 Fixed a bug in handling accelerators where an extra character
13349 would be displayed in the menu item. Also generalized the
13350 function displayable_menu_item because it is now used by the
13351 dialog box code as well. And finally, added code in the functions
13352 that create the menubar to extract a list of accelerators for the
13353 top level menubar, which is used in the event code to determine
13354 whether a particular alt-key combination should be used to invoke
13355 a menu item, or should be passed through to access the standard
13356 XEmacs keymap binding for this key combination.
13358 Much needed GCPROing.
13361 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13362 * menubar-x.c (menu_item_descriptor_to_widget_value):
13363 * menubar-x.c (restore_in_menu_callback):
13364 * menubar-x.c (x_popup_menu):
13365 * menubar-x.c (menu_move_up):
13366 * menubar-x.c (menu_move_down):
13367 * menubar-x.c (menu_move_left):
13368 * menubar-x.c (menu_move_right):
13369 * menubar-x.c (menu_select_item):
13370 * menubar-x.c (command_builder_operate_menu_accelerator):
13371 * menubar-x.c (menu_accelerator_junk_on_error):
13372 * menubar-x.c (command_builder_find_menu_accelerator):
13373 * menubar-x.c (Faccelerate_menu):
13375 Moved a whole bunch of code here that was previously in
13376 event-stream.c as described above. There is also code connected
13377 to the new standard of adding an accelerator to the beginning of
13378 menu items that don't have one as described above and below.
13381 * menubar.c (menu_parse_submenu_keywords):
13382 * menubar.c (Fmenu_find_real_submenu):
13383 * menubar.c (Fnormalize_menu_item_name):
13384 * menubar.c (syms_of_menubar):
13385 * menubar.c (vars_of_menubar):
13386 * menubar.c (complex_vars_of_menubar):
13388 a) Cleaned up a bunch of documentation and improved it.
13390 b) XEmacs now automatically adds an accelerator onto the beginning
13391 of any menu items that don't have one. I did this because there
13392 will inevitably be some menu items on the main menubar that don't
13393 have accelerators on them because the package that adds that
13394 particular menu item hasn't yet been fixed up to have accelerators
13395 in them and it looked rather strange to have some items with and
13396 some items without accelerators, especially since even in items
13397 without accelerators, you can, at least under windows, still
13398 access the item through an accelerator corresponding to the first
13399 character in the item's name. If people don't like this behavior,
13400 I can add a variable to turn it off optionally, but I'm not sure
13401 this is a good idea because we really do need to have accelerators
13402 on all of the menu items, and if a package doesn't like the
13403 accelerators being put on the first character, then it should put
13404 the accelerators where they belong.
13406 c) I made a behavior change, which is that the descriptor that
13407 specifies the text of the menu item, which formerly was just a
13408 string, can now also be an evaluated expression. This makes this
13409 descriptor parallel with all of the others, which could also be
13410 evaluated expressions. This also obviates the need for the
13411 keyword :label, which was previously listed in the documentation
13412 as unimplemented, and which was for the same purpose.
13417 * ntproc.c (new_child):
13418 * ntproc.c (sys_spawnve):
13419 * ntproc.c (find_child_console):
13420 * ntproc.c (sys_kill):
13421 Fixed compile warnings. By the way, this file should really go
13422 away entirely, and this will happen as soon as Kirill makes his
13423 final round of process cleanups, which affect the function
13427 * process-nt.c (struct nt_process_data):
13428 * process-nt.c (find_process_from_pid):
13429 * process-nt.c (send_signal_the_nt_way):
13430 * process-nt.c (enable_child_signals):
13431 * process-nt.c (find_child_console):
13432 * process-nt.c (send_signal_the_95_way):
13433 * process-nt.c (nt_finalize_process_data):
13434 * process-nt.c (ensure_console_window_exists):
13435 * process-nt.c (nt_create_process):
13436 * process-nt.c (nt_kill_child_process):
13437 * process-nt.c (nt_kill_process_by_pid):
13438 * process-nt.c (nt_open_network_stream):
13439 * process-nt.c (vars_of_process_nt):
13440 Copied over code from Emacs 20.5 to correctly send signals to sub-
13441 processes under Windows 95. Also added code to automatically
13442 create and hide console window when a sub-process is created under
13443 Windows 95, which obviates the need for the separate runemacs.exe
13444 executable, and finally implemented some variables that were
13445 implemented in Emacs 20.5, but previously not in XEmacs. These
13446 include mswindows- start-process-share-console and
13447 mswindows-start-process-inherit-error-mode. (Both of these only
13448 apply to Windows 95.)
13450 * regex.c (regex_compile): Fixed a compile warning.
13453 * select-msw.c (mswindows_own_selection):
13454 * select-msw.c (mswindows_get_foreign_selection):
13455 * select-msw.c (mswindows_disown_selection):
13456 * select-msw.c (console_type_create_select_mswindows):
13457 * select-msw.c (syms_of_select_mswindows):
13458 Cleaned up the file and implemented the device method
13459 selection_exists_p, which had accidentally been left out. Also
13460 removed four lisp functions that were remnants from before the
13461 time when the selection code was properly device abstracted.
13462 These functions are no longer needed because there are generic
13463 equivalents, and because they were added recently and don't exist
13464 in FSF Emacs, I don't think there's any problem with just deleting
13468 * sysdep.c (sys_subshell):
13469 Fixed a compile warning, although in this case there's probably
13470 something wrong with this code, and it ought to be looked into
13471 more thoroughly by somebody who understands it.
13474 * window.c (Fwindow_text_area_height):
13475 * window.c (Fwindow_width):
13476 * window.c (Fwindow_full_width):
13477 * window.c (Fwindow_pixel_width):
13478 * window.c (debug_print_window):
13479 * window.c (syms_of_window):
13480 Added functions window-text-area-height and window-full-width,
13481 which are functions for returning various width and height
13482 characteristics of a window. (One of these functions is necessary
13483 for making the file dialog box work correctly, and the other one
13484 was added for completeness.) Also added a table to the
13485 documentation for window-height which describes the entire scheme
13486 for accessing width and height characteristics of a window.
13488 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13490 * nt.c (fstat): Added a comment for another problem with
13491 non-encapsulated [f]stat(), reported by Adrian Aichner
13492 <aichner@ecf.teradyne.com>.
13494 2000-03-11 Andy Piper <andy@xemacs.org>
13496 * window.c (make_dummy_parent): initialize subwindow instance
13498 (Fset_window_configuration): zero extent_modiff.
13500 2000-03-10 Andy Piper <andy@xemacs.org>
13502 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
13503 more changes can be triggered.
13504 (Fredisplay_frame): ditto.
13505 (Fredraw_device): ditto.
13506 (Fredisplay_device): ditto.
13507 (redisplay_frame): make non-static.
13508 (redisplay_frame): call update_frame_gutter_geometry outside of
13511 * gutter.h: declare update_frame_gutter_geometry.
13513 * redisplay.h: declare redisplay_frame.
13515 * gutter.c (update_frame_gutter_geometry): move geometry changes
13516 in update_frame_gutters here. Geometry changes can only occur
13517 outside of redisplay.
13518 (update_frame_gutters): remove geometry change code.
13519 (Fredisplay_gutter_area): make sure that we are in display when we
13520 update and that we have flushed any size changes.
13522 2000-03-11 Andy Piper <andy@xemacs.org>
13524 * alloc.c (pdump_dump_data): remove i & count shadows.
13526 2000-02-27 Mike Alexander <mta@arbortext.com>
13528 * sysdep.h: Declare pdump_read_file
13530 * sysdep.c (pdump_read_file): New function
13532 * alloc.c (pdump_load): Call pdump_read_file to get the portable
13535 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13537 * lrecord.h: add `lrecord_type_pgsetenv'.
13539 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
13541 * symsinit.h: declare (vars|syms)_of* functions.
13542 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
13544 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
13546 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
13548 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
13551 * emacs.c (main_1): Call postgres initialization code.
13553 * postgresql.h: New file. PostgreSQL RDBMS support.
13554 * postgresql.c: New file.
13556 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13558 * redisplay-output.c (redisplay_output_display_block): Disable
13561 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13563 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
13564 (Fcanna_henkan_next): Ditto.
13565 (Fcanna_bunsetu_henkou): Ditto.
13566 (Fcanna_henkan_kakutei): Ditto.
13567 (Fcanna_henkan_end): Ditto.
13568 (Fcanna_henkan_quit): Ditto.
13569 (Fcanna_henkan_next): Set retun value correctly.
13570 (c2mu): Use unsigned char instead of signed char.
13572 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13574 * emacs.c (main_1): Always call syms_of_gui.
13575 * inline.c: include gui.h
13577 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13579 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
13580 converted to Lisp_Object.
13581 (Qtop_bottom): New variable.
13582 (syms_of_redisplay): Initialize it.
13583 * redisplay.h (Vvisible_bell): Ditto.
13584 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
13585 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
13586 only flash top and bottom.
13588 2000-03-08 Andy Piper <andy@xemacs.org>
13590 * buffer.c (Frename_buffer): record new buffer name the right way.
13592 2000-03-08 Andy Piper <andy@xemacs.org>
13594 * glyphs.c (update_subwindow): increase hash depth so that widget
13595 items get picked up properly.
13597 * redisplay-output.c (compare_runes): increase hash depth so that
13598 widget items get picked up properly.
13600 2000-03-08 Andy Piper <andy@xemacs.org>
13602 * gutter.c (output_gutter): add some debug.
13604 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
13605 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
13606 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
13608 * redisplay-output.c (compare_runes): use display_hash to
13609 determine if glyphs really are not the same.
13611 * glyphs.c (update_subwindow): check display_hash to see if
13612 anything really needs to be updated. If not then do
13613 nothing. Record the display_hash after updating.
13614 (image_instance_equal): compare the image_instance face also.
13616 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
13618 * redisplay.h: Fix comment style.
13620 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
13622 * consle-msw.h (struct mswindows_frame):
13623 Added new member paint_pending to indicate whether a WM_PAINT
13624 magic event has been queued for this frame.
13626 * event-msw.c (mswindows_drain_windows_queue):
13627 Don't queue a WM_PAINT magic event if one is already queued.
13628 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
13630 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
13632 2000-03-07 Didier Verna <didier@xemacs.org>
13634 * dired.c: #include `regex.h' after `sysfile.h'.
13636 2000-03-06 Martin Buchholz <martin@xemacs.org>
13638 * sound.c (init_nas_sound): Fix compiler warning.
13640 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
13642 (MARK_STRUCT_AS_FREE):
13643 (MARK_STRUCT_AS_NOT_FREE):
13644 Make `gcc -fstrict-aliasing' work properly.
13646 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
13648 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
13649 (mswindows_delete_device): Call CoUnnitialize().
13651 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
13653 2000-02-25 <CraigL@DyCon.com>
13655 * process-nt.c: MinGW now has <shellapi.h>, but still needs
13658 * sysdep.c: This extern declaration for environ prevents MinGW
13659 from finding the variable in CRTDLL.DLL.
13661 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
13663 (SHGFI_EXETYPE): ..
13664 (WM_MOUSEWHEEL): ..
13665 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
13667 (MMRESULT): Removed, now defined in cygwin's windows headers.
13669 (uid_t,gid_t,pid_t,ssize_t): ..
13670 (_timeb): Removed, MinGW defines both _timeb and timeb.
13671 (HAVE_H_ERRNO): Added.
13672 (HAVE_TZNAME): Added, configure is not detecting this.
13674 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
13676 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
13677 * syntax.c (syntax_match): Use it.
13679 * cmds.c: Import auto-fill-chars from FSF Emacs.
13680 (Vauto_fill_chars): New variables.
13681 (internal_self_insert): Check Vauto_fill_chars.
13683 Declare auto-fill-chars as a Lisp variable and initialize it.
13685 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
13687 * fileio.c (Fmake_symbolic_link):
13689 Run handlers even if local machine doesn't have symlinks.
13691 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
13693 * event-msw.c (mswindows_drain_windows_queue):
13694 Don't generate paint magic events for non-XEmacs frames.
13696 2000-03-05 Andy Piper <andy@xemacs.org>
13698 * redisplay.c (redisplay_frame): generate_displayable_area and
13699 friends assumes that we are not in GC, we therefore have to make
13700 sure that this doesn't happen.
13702 * gutter.c (calculate_gutter_size): generate_displayable_area
13703 assumes that we are not in GC, we therefore have to make sure that
13704 this doesn't happen.
13706 2000-03-05 Martin Buchholz <martin@xemacs.org>
13708 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
13710 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13712 * redisplay.c (regenerate_window): Make sure we set a sane value
13713 for end_pos even if we jump out of the loop.
13714 (regenerate_window): Answer Ben's question :-).
13715 (start_end_of_last_line): Add may_error argument.
13716 (start_of_last_line):
13717 (end_of_last_line): Pass may_error = 0.
13718 (end_of_last_line_may_error): New function.
13719 (pixel_to_glyph_translation): Use it, so we don't crash in
13722 2000-03-04 Andy Piper <andy@xemacs.org>
13724 * window.h (struct window): add gutter_extent_modiff.
13726 * window.c (allocate_window): zero out gutter_extent_modiff.
13728 * redisplay.h: declare sync_display_line_structs.
13730 * redisplay.c (add_glyph_rune): add a better comment.
13732 * redisplay-output.c (sync_display_line_structs): made non-static.
13733 (compare_runes): remove unneccesary glyph cachel access.
13735 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
13737 * gutter.c (output_gutter): don't output the gutter if extent
13738 changes only involve extents in buffers. use 4 sets of display
13740 (gutter_extent_signal_changed_region_maybe): new function. Mark
13741 extents in gutters as changed.
13742 (update_frame_gutters): use 4 sets of display lines.
13743 (reset_gutter_display_lines): ditto.
13744 (free_frame_gutters): ditto.
13745 (redraw_exposed_gutter): force output of gutters.
13747 * frame.h (struct frame): add 4 sets of gutter display lines.
13749 * extents.c: (extent_changed_for_redisplay): signal changes to
13750 extents in strings in the gutter as well as extents in buffers.
13752 2000-03-02 Andy Piper <andy@xemacs.org>
13754 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
13756 * frame.c (Fmake_frame): make sure the gutters get initialized
13757 after the frame is visible.
13758 (set_frame_selected_window): re-arrange compilation macros a
13760 (change_frame_size_1): mark gutters changed.
13762 * device.c (Fset_device_class): mark gutters changed.
13764 2000-03-01 Andy Piper <andy@xemacs.org>
13766 * window.c (window_top_frame_gutter_height): deleted.
13767 (window_bottom_frame_gutter_height): ditto.
13768 (window_left_frame_gutter_height): ditto.
13769 (window_right_frame_gutter_height): ditto.
13770 (window_top_gutter_height): don't use them.
13771 (window_bottom_gutter_height): ditto.
13772 (window_left_gutter_width): ditto.
13773 (window_right_gutter_width): ditto.
13774 (Fsplit_window): ditto.
13775 (Fwindow_pixel_edges): don't use border dimensions here.
13777 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
13778 (update_scrollbar_instance): ditto.
13780 * redisplay.c (generate_modeline): don't take gutters into account.
13781 (generate_modeline): ditto.
13782 (redisplay_frame): small gutter display optimization.
13784 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
13786 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
13787 gutters into account.
13789 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
13790 for window position and type.
13792 * gutter.c (get_gutter_coords): fix for frame gutters.
13793 (update_frame_gutters): update frame geometry if the gutters have
13795 (init_frame_gutters): record current gutter geometries.
13797 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
13799 (mswindows_widget_instantiate): ditto.
13801 * frame.h (struct frame): add current_gutter_bounds.
13803 * frame.c (change_frame_size_1): position window and minibuffer
13804 appropriately taking into account the frame gutters.
13806 * frame-x.c: (x_initialize_frame_size): take into account the
13809 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
13811 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
13813 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
13815 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
13817 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13819 * file-coding.c (reset_decoding_stream): Clear previous
13820 detection state when autodetect.
13822 2000-02-29 Didier Verna <didier@xemacs.org>
13824 * extents.c (set_extent_glyph_1): don't require extents to be
13827 2000-02-27 Andy Piper <andy@xemacs.org>
13829 * gutter.c (Fset_default_gutter_position): don't default left and
13830 right gutter visibility to t.
13831 (Fset_default_gutter_position): run
13832 default-gutter-position-changed-hook.
13833 (syms_of_gutter): add default-gutter-position-changed-hook.
13835 2000-02-26 Andy Piper <andy@xemacs.org>
13837 * specifier.c (Fmake_specifier): add gutter references.
13839 * gutter.h (RAW_WINDOW_GUTTER): new macro.
13841 * lisp.h: declare Fvalid_plist_p.
13843 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
13845 (default_gutter_visible_p_changed_in_window): invalidate gutter as
13846 well as its visibility so that it gets reconstructed.
13847 (construct_window_gutter_spec): new function. Construct a string
13848 to be displayed in the gutter from a plist of strings. Take care
13849 to only use elements that are declared as visible.
13850 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
13852 (gutter_validate): allow plists of strings in the specifier.
13853 (gutter_specs_changed): construct the real_gutter from the gutter
13854 specs using construct_window_gutter_spec.
13855 (gutter_visible_validate): gutter-visible is a new specifier type.
13856 (Fgutter_visible_specifier_p): new function for the new specifier.
13857 (syms_of_gutter): declare gutter-visible and
13858 Fgutter_visible_specifier_p.
13859 (specifier_type_create_gutter): intitalize new gutter-visible
13861 (reinit_specifier_type_create_gutter): ditto.
13862 (specifier_vars_of_gutter): use new specifier type for gutter
13864 (init_frame_gutters): construct real_gutter correctly.
13865 (Fgutter_specifier_p): beef up documentation.
13866 (Fgutter_size_specifier_p): ditto.
13868 * winslots.h: add real_gutter slots.
13870 2000-02-25 Andy Piper <andy@xemacs.org>
13872 * device-msw.c: Be kind to older cygwin versions. From Raymond
13873 Toy <toy@rtp.ericsson.se>.
13875 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
13876 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
13878 2000-02-25 Martin Buchholz <martin@xemacs.org>
13880 * elhash.c (MARK_OBJ): Practice macro hygiene.
13882 2000-02-24 Martin Buchholz <martin@xemacs.org>
13884 * miscplay.c: s/__inline__/inline/g;
13885 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
13886 (get_device_compdc): INLINE ==> static inline
13887 * *.[ch]: Change INLINE to INLINE_HEADER globally.
13888 find -name '*.h' | \
13889 xargs global-replace \
13890 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
13892 2000-02-25 Andy Piper <andy@xemacs.org>
13894 * window.c (window_top_frame_gutter_height): new function.
13895 (window_top_window_gutter_height): ditto.
13896 (window_top_gutter_height): use them.
13897 (window_bottom_frame_gutter_height): new function.
13898 (window_bottom_window_gutter_height): ditto.
13899 (window_bottom_gutter_height): use them.
13900 (window_left_window_gutter_width): new function.
13901 (window_left_frame_gutter_width): ditto.
13902 (window_left_gutter_width): use them.
13903 (window_right_window_gutter_width): new function.
13904 (window_right_frame_gutter_width): ditto.
13905 (window_right_gutter_width): use them.
13906 (window_pixel_height): new function. calulate window pixel height
13907 with frame gutter involvement.
13908 (Fsplit_window): calculate new sizes taking frame gutters into
13910 (window_char_height_to_pixel_height): don't include frame gutters.
13911 (window_char_height): use window_pixel_height.
13912 (window_pixheight): rename from window_pixel_height.
13913 (change_window_height): use it.
13914 (window_pixel_height_to_char_height): don't include frame gutters.
13915 (window_char_width_to_pixel_width): ditto.
13917 2000-02-25 Andy Piper <andy@xemacs.org>
13919 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
13922 2000-02-24 Martin Buchholz <martin@xemacs.org>
13924 * alloc.c (staticpro):
13925 (staticpro_nodump):
13930 (compact_string_chars):
13931 (pdump_dump_wired):
13932 Convert: if (foo) abort(); ==> assert (! foo);
13934 * eldap.c (Fldap_search_basic):
13938 Fix compiler warnings, and possible crashes if (random) return
13939 value were to be used.
13941 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13943 * device-msw.c: Workaround ResetDC failure.
13945 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
13946 applying a devmode.
13948 * redisplay-msw.c (get_frame_dc): Added start_page_p.
13949 (mswindows_text_width): Do not start printer page.
13951 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
13953 * glyphs-msw.c: Added image methods to msprinter console and
13954 msprinter-specific image instantiation.
13956 2000-02-20 Mike Alexander <mta@arbortext.com>
13958 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
13959 to avoid crashes when selection-sets-clipboard is on
13960 (mswindows_own_selection): ditto
13962 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13965 * redisplay-msw.c (get_frame_dc):
13966 (get_frame_compdc):
13968 * device-msw.c (mswindows_init_device):
13969 (mswindows_delete_device):
13970 (msprinter_init_device):
13971 (msprinter_delete_device):
13972 * frame-msw.c (mswindows_init_frame_1):
13973 (mswindows_delete_frame):
13974 (msprinter_init_frame_3):
13975 (msprinter_delete_frame): Move compatible DC to device object from
13976 frame object, for both mswindows and msprinter. Only one at a time
13977 is needed, it is a real waste to have one per frame!
13979 2000-02-23 Andy Piper <andy@xemacs.org>
13981 * glyphs.c: add dynamic width and height elements.
13982 (image_instance_equal): ditto.
13984 * glyphs-widget.c (widget_query_geometry): calculate width and
13985 height dynamically if required.
13986 (initialize_widget_image_instance): initialize dynamic dimensions.
13987 (widget_instantiate): pick-up dynamic dimensions.
13989 * glyphs.h (struct Lisp_Image_Instance): add width and height for
13990 dynamic determination. Add appropriate macros.
13992 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
13994 (WINDOW_GUTTER_SIZE): ditto.
13995 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
13997 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
13999 (get_frame_dc): ditto.
14001 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
14004 2000-02-23 Martin Buchholz <martin@xemacs.org>
14006 * XEmacs 21.2.31 is released.
14008 2000-02-22 Ben Wing <ben@xemacs.org>
14010 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
14012 2000-02-22 Andy Piper <andy@xemacs.org>
14014 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
14016 2000-02-21 Mike Sperber <mike@xemacs.org>
14020 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
14023 2000-02-21 Mike Sperber <mike@xemacs.org>
14025 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
14027 2000-02-21 Martin Buchholz <martin@xemacs.org>
14029 * XEmacs 21.2.30 is released.
14031 2000-02-20 Martin Buchholz <martin@xemacs.org>
14033 Performance hacking.
14035 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
14036 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
14037 * emacs.c (main_1):
14039 * console.c (DEFVAR_CONSOLE_LOCAL_1):
14040 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
14041 * symeval.h (DEFVAR_SYMVAL_FWD):
14042 * symbols.c (guts_of_unbound_marker):
14043 Make all c_readonly objects also lisp_readonly and marked for life.
14044 * lrecord.h (struct lrecord_implementation):
14045 Document flags better.
14046 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
14047 * lrecord.h (DECLARE_LRECORD):
14048 * lrecord.h (XSETRECORD):
14049 * lrecord.h (RECORDP):
14050 * lrecord.h (RECORD_TYPEP):
14051 * lrecord.h (RECORD_MARKER): New.
14052 * lrecord.h (error_check_*):
14053 * lrecord.h (CONCHECK_NONRECORD):
14054 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
14055 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
14056 * lrecord.h (set_lheader_implementation):
14057 * lrecord.h (enum lrecord_type): New.
14058 * symeval.h (SYMBOL_VALUE_MAGIC_P):
14059 * alloc.c (disksave_object_finalization_1):
14060 * alloc.c (mark_object):
14061 * alloc.c (lrecord_type_index):
14062 * alloc.c (tick_lcrecord_stats):
14063 * alloc.c (Fgarbage_collect):
14064 * alloc.c (init_alloc_once_early):
14065 * alloc.c (pdump_load):
14066 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
14067 * alloc.c (lrecord_type_index): Delete.
14068 Make lisp object type indexes be constant.
14069 Makes (byte-compile) 5% faster.
14070 Put all marker functions into their own array.
14071 Makes (garbage-collect) 5% faster.
14072 Optimize SYMBOL_VALUE_MAGIC_P.
14073 Makes (byte-compile) 2-3% faster.
14074 * config.h.in (gc_checking_assert): New.
14075 * alloc.c: Use gc_checking_assert().
14076 * .dbxrc: Make compatible with new object type implementation.
14077 * .gdbinit: Make compatible with new object type implementation.
14078 * alloc.c: Delete all symbols defined only for debugging, such as
14079 Lisp_Type_Vector and lrecord_charset.
14081 2000-02-21 Andy Piper <andy@xemacs.org>
14083 * gui-msw.c (Fmswindows_shell_execute): fix file location
14086 * buffer.c (Fkill_buffer): remove buffer from alist buffer
14087 unshowing so that set_window_buffer doesn't undo
14088 kill_buffer_hook's hard work.
14090 * glyphs-widget.c (tab_control_query_geometry): don't count the
14091 first item when calculating geometry.
14093 * glyphs.c (map_subwindow): remove redundant code.
14094 (update_frame_subwindows): be more circumspect about when to
14097 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
14098 when items haven't changed. Update faces if faces have changed as
14099 well as just the widget face.
14100 (x_tab_control_update): Update faces if faces have changed as well
14101 as just the widget face.
14103 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14105 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
14107 (build_syscolor_string): Use mswindows_color_to_string to try to
14109 (mswindows_device_system_metrics): Reverse the foreground and
14110 background colors so that they match the documentation.
14112 * objects-msw.c: (mswindows_X_color_map): tweak some values so
14113 they match the default Windows palette.
14114 (mswindows_color_to_string): New function.
14116 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14118 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
14120 2000-02-18 Olivier Galibert <galibert@pobox.com>
14122 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
14123 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
14125 * symbols.c (init_symbols_once_early): Removed obsolete
14126 DATA_SEG_BITS related kludge.
14127 (defvar_magic): Ditto.
14129 * malloc.c: Removed obsolete DATA_SEG_BITS
14131 * mem-limits.h: Ditto.
14133 * Makefile.in.in: Removed obsolete HAVE_SHM
14136 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14138 * device-msw.c (mswindows_delete_device): Free DDE string
14141 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14143 * keymap.c (get_keyelt):
14144 * unexnt.c (unexec):
14145 * vm-limit.c (memory_warnings):
14146 * ntheap.c (recreate_heap):
14147 * ntheap.h (UNINIT_PTR):
14148 * select-msw.c (Fmswindows_get_clipboard):
14149 (Fmswindows_set_clipboard):
14150 * objects-msw.h (MSWINDOWS_BAD_HFONT):
14152 * menubar-msw.c (displayable_menu_item):
14154 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
14155 * sysdep.c (sys_subshell):
14156 * process-nt.c (nt_create_process):
14157 * nt.c (normalize_filename):
14158 (dostounix_filename):
14159 (unixtodos_filename):
14160 * ntproc.c (win32_executable_type):
14161 * ntplay.c (play_sound_data_1):
14163 * editfns.c (get_home_directory):
14164 * event-msw.c (struct winsock_stream):
14165 (mswindows_dde_callback):
14166 * device-msw.c (msprinter_init_device):
14167 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
14169 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
14170 mswindows_clear_toolbar were swapped!
14172 * objects-msw.c:(colormap_t):
14174 * emacs.c (struct standard_args): Fixed const jumble.
14176 * glyphs-widget.c (update_widget): Fixed comparison notation.
14178 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
14180 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
14181 __declspec(noreturn) syntax.
14183 2000-02-19 Martin Buchholz <martin@xemacs.org>
14185 * eldap.c (Fldap_open):
14186 (Fldap_search_basic):
14189 Use new coding system conversion macros.
14191 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14193 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
14195 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
14197 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
14198 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14200 * eldap.c (Qadd, Qreplace): New constant symbols
14201 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
14202 interruptions by XEmacs signals
14203 Remove unnecessary calls to slow_down_interrupts and
14204 speed_up_interrupts
14205 (Fldap_search_basic): Renamed from Fldap_search_internal
14206 Added new optional parameter VERBOSE that triggers the
14207 display of progress messages
14208 Remove unnecessary calls to slow_down_interrupts and
14209 speed_up_interrupts
14210 LDAP result code analysis rewritten
14211 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14212 (syms_of_eldap): Define the new symbols and functions
14215 2000-02-17 Martin Buchholz <martin@xemacs.org>
14217 * realpath.c: Determine PATH_MAX maximally portably.
14219 * insdel.c (bytecount_to_charcount): Optimize.
14220 The function used to be optimized for entirely ASCII sequences.
14221 Now it is optimized for successive characters from the same
14222 charset. This also wins big for _mostly_ ASCII sequences.
14224 * fileio.c (Ffile_truename): convert return from realpath() using
14225 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
14226 - Rewrite GCPROing slightly.
14228 * sysdep.c (sys_open): Do filename conversion, like all other
14229 sys_* functions. Fixes bug:
14230 (let ((file-name-coding-system 'iso-8859-2))
14231 (write-region x y latin2-name))
14232 ==> writes filename using internal encoding.
14234 2000-02-18 Martin Buchholz <martin@xemacs.org>
14236 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
14237 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
14238 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
14239 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
14240 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
14241 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
14242 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
14243 (CONST_IF_NOT_DEBUG): Delete.
14244 * alloc.c (this_one_is_unmarkable): Delete.
14245 (mark_object): Don't check for this_one_is_unmarkable. Use the
14246 c_readonly flag instead.
14247 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
14249 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
14251 * event-msw.c (mswindows_drain_windows_queue):
14252 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
14253 away redundant repaint events.
14255 2000-02-17 Andy Piper <andy@xemacs.org>
14257 * redisplay.h: declare mark_redisplay_structs.
14259 * redisplay.c (redisplay_window):
14260 (redisplay_frame): don't check subwindows_state_changed.
14261 (mark_redisplay): mark gutters here.
14263 * glyphs.c: (instantiate_image_instantiator): always layout if we
14264 haven't done so already.
14265 (allocate_image_instance): don't mark as dirty.
14266 (update_subwindow): bind inhibit_quit.
14268 * gutter.c (mark_gutters): new function.
14270 * glyphs-x.c (x_update_widget): Always resize to get round a
14273 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
14274 breaking absolutely everything.
14276 * gutter.h: declare mark_gutters.
14278 2000-02-16 Martin Buchholz <martin@xemacs.org>
14280 * XEmacs 21.2.29 is released.
14282 2000-02-15 Olivier Galibert <galibert@pobox.com>
14284 * fns.c (size_bit_vector): Fix computation of the size.
14286 2000-02-15 Martin Buchholz <martin@xemacs.org>
14288 * *.[ch]: Change CONST to const globally.
14289 find -name '*.[ch]' | \
14290 xargs global-replace \
14291 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
14292 - Remove vestigial references to CONST_IS_LOSING
14294 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14296 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
14297 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
14298 events instead of dispatching them directly.
14299 (mswindows_handle_paint): New function to do repainting.
14300 (mswindows_wnd_proc):
14301 (emacs_mswindows_handle_magic_event): Call above function.
14303 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14305 * objects-msw.c (mswindows_create_font_variant): Return the new
14307 (initialize_font_instance): Get font metrics from the underlined
14308 variant of the font to cope with the case where the underlined
14309 font has a bigger descent.
14311 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14313 * gui.c (gui_item_accelerator): Return the first underlined
14314 character in item name.
14316 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14318 * lisp.h: Added Qprinter.
14320 * general.c (syms_of_general): Initialized it.
14322 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
14324 (get_frame_compdc): Made inline.
14326 * console.h (struct console_methods): Added eject_page method.
14328 * frame.h: Added FRAME_DISPLAY_P and friends.
14329 Aligned backslahes in many macros in more readable fashion.
14330 Added page_number to struct frame, and an accessor macro
14333 * defice.h: Added DEVICE_DISPLAY_P and friends.
14335 * device.c (Fdevice_printer_p): Used these.
14337 * frame.c (allocate_frame_core): Initialize page number.
14338 (Fprint_job_page_number):
14339 (Fprint_job_eject_page): Implemented.
14341 * frame-msw.c (msprinter_eject_page): Added method.
14342 (msprinter_start_page): Added.
14344 * window.c (Fwindow_truncated_p): Fixed docstring.
14345 (Fwindow_last_line_visible_height): Implemented.
14347 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14349 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
14351 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14353 * syntax.c (scan_words): Always advance at least one character.
14355 2000-02-13 Andy Piper <andy@xemacs.org>
14357 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
14358 to make sure the glyph is in the cachels.
14360 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
14361 global image instance flag.
14362 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
14363 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
14365 * glyphs.c (allocate_image_instance): set dirty bits correctly.
14366 (Fset_image_instance_property): mark layout as changed.
14367 (invalidate_glyph_geometry_maybe): mark layout as changed.
14368 (glyph_width): use new NEEDS_LAYOUT macro.
14369 (glyph_ascent): ditto.
14370 (glyph_descent): ditto.
14371 (glyph_height): ditto.
14372 (image_instance_layout): mark layout as clean after laying out.
14373 (update_subwindow): don't mark layout as clean here.
14375 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
14376 should no longer be needed.
14378 * glyphs-x.c (x_update_widget): sanitize asserts.
14379 (x_finalize_image_instance): sanitize assignment to widgets.
14381 * glyphs-widget.c (widget_instantiate): don't need to clear the
14384 2000-02-13 Martin Buchholz <martin@xemacs.org>
14386 * sysdep.c (getcwd): Use standard prototype.
14387 * sysdep.h (getcwd): Use standard prototype.
14389 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
14390 (sequence, start, end).
14391 Remove redundant type checking.
14392 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
14393 view of `caller-protects') to avoid a crash where the real fix was
14396 2000-02-12 Martin Buchholz <martin@xemacs.org>
14398 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
14400 * s/sol2.h: Remove feature macro initialization.
14402 * alloc.c (alloc_lcrecord): Add more type checking assertions.
14403 (vector_hash): New. Code from internal_hash.
14405 Fix up allocation subsystem comments.
14407 * config.h.in: Add __EXTENSIONS__ for Solaris.
14409 * systime.h (EMACS_GETTIMEOFDAY): New.
14410 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
14411 Remove Solaris-specific code.
14412 Use void* for the (ignored) second arg for gettimeofday().
14414 * elhash.c (hash_table_hash): Implement it, finally.
14415 * elhash.c: Use hashcode_t.
14417 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
14418 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
14420 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
14421 * fns.c (size_bit_vector):
14422 * alloc.c (size_vector):
14423 (make_vector_internal):
14424 (make_bit_vector_internal):
14425 (sweep_bit_vectors_1):
14426 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
14428 2000-02-10 Martin Buchholz <martin@xemacs.org>
14430 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
14431 Include strings.h to avoid warnings for bzero and strcasecmp.
14433 2000-02-10 Olivier Galibert <galibert@pobox.com>
14435 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
14436 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
14438 * fns.c (size_bit_vector): New. Declare bit vectors as a
14441 2000-02-10 Olivier Galibert <galibert@pobox.com>
14443 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
14444 use a value field instead.
14445 (symbol_value_forward_forward): Use value field.
14446 (DEFVAR_SYMVAL_FWD): Use value field.
14447 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
14448 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
14449 (DEFVAR_CONST_INT): Ditto.
14450 (DEFVAR_BOOL): Ditto.
14451 (DEFVAR_CONST_BOOL): Ditto.
14452 (DEFVAR_INT_MAGIC): Ditto.
14453 (DEFVAR_BOOL_MAGIC): Ditto.
14455 * symbols.c (guts_of_unbound_marker): Use value field.
14456 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
14457 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
14459 * lisp.h: Declare dumpopaque and noninteractive1.
14461 * alloc.c (dumpopaque): Added.
14462 (pdump_dump_opaquevec): Added.
14463 (pdump): Call pdump_dump_opaquevec to dump opaque data.
14464 (pdump_load): Reload opaque data. Sync noninteractive1 with
14467 2000-02-10 Andy Piper <andy@xemacs.org>
14469 * glyphs.c (image_instance_layout): if the size changes, mark it
14472 * redisplay-output.c (redisplay_output_layout): Update the
14474 (redisplay_output_subwindow): ditto.
14476 * glyphs.c (update_subwindow): make sure we reset flags for
14477 layouts as well as everything else.
14479 * glyphs-widget.c (layout_layout): don't need to set the instances
14482 2000-02-09 Martin Buchholz <martin@xemacs.org>
14484 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
14485 not HAVE_DLOPEN, which is a lower-level thing.
14487 * .cvsignore: Ignore gmon.out
14489 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
14491 * .cvsignore: Ignore portable dumper xemacs.dmp file
14493 2000-02-09 Andy Piper <andy@xemacs.org>
14495 * redisplay-output.c (redisplay_output_layout): be more clever
14496 about when we output based on the changed flags.
14498 * glyphs.h (struct image_instantiator_methods): add update_method.
14499 (struct Lisp_Image_Instance): add changed flags. Declare new
14500 macros for manipulating them.
14502 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
14503 (image_instance_parent_glyph): find an image_instance's parent
14504 glyph or image_instance.
14505 (image_instance_layout): mark the size as changed.
14506 (set_image_instance_dirty_p): new function. mark an image
14507 instance, plus all of its parents, as dirty.
14508 (Fset_image_instance_property): use it.
14509 (Fglyph_animated_timeout_handler): use it.
14510 (update_subwindow): call update_widget and device methods for
14511 update_subwindow. Mark all changed flags as clean.
14512 (Fresize_subwindow): mark size as changed.
14514 * glyphs-x.c (x_finalize_image_instance): try and detect gc
14516 (x_update_subwindow): only resize subwindows here.
14517 (x_update_widget): new function. Update all changed properties of
14519 (x_resize_subwindow): deleted.
14520 (x_widget_set_property): deleted.
14521 (x_progress_gauge_set_property): deleted.
14522 (x_progress_gauge_update): new function. Implement recorded
14524 (x_tab_control_update): ditto.
14525 (x_tab_control_set_property): deleted.
14526 (console_type_create_glyphs_x): declare new functions.
14527 (image_instantiator_format_create_glyphs_x): ditto.
14529 * glyphs-widget.c (widget_set_property): mark text changed.
14530 (update_widget): new function. Update properties of a widget.
14531 (widget_instantiate): for layouts make sure we set their
14532 children's parent correctly.
14533 (tab_control_set_property): new function. Record changes that will
14534 take place under redisplay's control.
14535 (progress_gauge_set_property): ditto.
14536 (image_instantiator_progress_guage): declare new functions.
14537 (image_instantiator_tab_control): ditto.
14539 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
14541 (mswindows_update_widget): new function. Update all properties on
14542 a widget that have changed.
14543 (mswindows_button_update): new function. Update a button's set
14545 (mswindows_tab_control_update): new function. Update the items in
14547 (mswindows_tab_control_set_property): deleted.
14548 (mswindows_progress_gauge_update): new function. Update the
14549 progress gauge's progress.
14550 (mswindows_widget_set_property): deleted. This is all done
14551 asynchronously now.
14552 (mswindows_progress_gauge_set_property): ditto.
14553 (console_type_create_glyphs_mswindows): declare new methods.
14554 (image_instantiator_format_create_glyphs_mswindows): ditto.
14556 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
14557 (msprinter_set_frame_properties): ditto.
14559 * console.h (struct console_methods): Add update_widget_method.
14561 2000-02-09 Andy Piper <andy@xemacs.org>
14563 * gui-msw.c (Fmswindows_shell_execute): Make
14564 mswindows-shell-execute industrial strength.
14566 2000-02-08 Martin Buchholz <martin@xemacs.org>
14568 * lrecord.h: Make macro argument `props' match member function `plist'.
14571 * fns.c (Fremprop):
14572 * fns.c (Fobject_plist):
14575 Object property list frobbing cleanup.
14576 - Allow any lisp object (compared with `eq'), not just symbols, as
14577 keys in object plists.
14578 - Move symbol plist frobbing into symbols.c, where it belongs.
14579 - Move string plist frobbing into alloc.c, where it belongs.
14580 - Everything's an lrecord now, so no need to test for symbolp, etc.
14581 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
14583 * extents.c: Reorder code to remove declarations.
14585 * frame.h (store_in_alist): Remove useless declaration.
14587 2000-02-07 Martin Buchholz <martin@xemacs.org>
14589 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
14590 * config.h.in: Add HAVE_XCONVERTCASE.
14592 2000-02-07 Andy Piper <andy@xemacs.org>
14594 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
14595 it breaks many things.
14597 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14599 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
14600 actually can start a common comment type.
14601 * src/syntax.h (SYNTAX_END_P): ditto for end.
14603 2000-02-07 Martin Buchholz <martin@xemacs.org>
14605 * XEmacs 21.2.28 is released.
14607 2000-02-06 Martin Buchholz <martin@xemacs.org>
14609 * event-Xt.c (x_keysym_to_character): New.
14610 (maybe_define_x_key_as_self_inserting_character): New.
14611 (x_has_keysym): New.
14612 Auto-define all keys on the keyboard as self-insert-key.
14614 2000-02-02 Martin Buchholz <martin@xemacs.org>
14616 * menubar.c (vars_of_menubar): A small code simplification.
14618 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
14621 * ExternalClient.c:
14622 * EmacsShell-sub.c:
14625 Use consistent style for specifying X resources.
14627 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
14628 This makes (dontusethis-set-symbol-value-handler) actually usable.
14630 * lrecord.h (lrecord_decription_type):
14631 * alloc.c (pdump_register_sub):
14634 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
14635 Comply with XEmacs coding style.
14636 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
14637 args, and XD_LISP_OBJECT_ARRAY with 3 args.
14639 * keymap.c (Faccessible_keymaps):
14640 Make (accessible-keymaps map "\C-h") do the Right Thing.
14641 Make (accessible-keymaps map []) do the Right Thing.
14642 Make (accessible-keymaps map "") do the Right Thing.
14643 (check_keymap_definition_loop): New function.
14644 (keymap_store_internal): Keep luser from shooting self in foot,
14645 via (define-key ctl-x-4-map "p" global-map).
14646 Remove fullness slot from struct Lisp_Keymap, since hash tables
14648 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
14650 2000-01-30 Martin Buchholz <martin@xemacs.org>
14652 * redisplay.c (init_redisplay): Fix small memory leak.
14654 * elhash.c (pdump_reorganize_hash_table):
14655 Rename from reorganize_hash_table. Change prototype.
14656 Reuse the original memory for hentries. Save 100k.
14657 * alloc.c (PDUMP_READ): new macro.
14658 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
14659 * alloc.c: No need to #ifndef before #undef.
14661 * print.c: Allow debug_print() to print readably by modifying
14662 debug_print_readably. Use consistent variable names.
14664 * .dbxrc: Try to get things to work even if stopped in a function
14665 without source available by explicitly specifying source files.
14666 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14668 * unexnt.c (_start): Removed bogus code which caused loading heap
14669 from differrent executable file.
14670 Removed bogus assignment to _fmode, which caused inconsistencies.
14672 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14674 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
14675 Have spawnve encapsulation regard DONT_ENCAPSULATE.
14676 Do not preliminary `#define signal sigset'.
14678 * systime.h: Do not prototype environ on windows nt and cygwin,
14679 this conflicts with system header.
14681 * syssignal.h: Use correct define for WINDOWSNT
14683 * sysdep.h: Do not prototype environ on windows nt, this conflicts
14684 with system header.
14686 * sysdep.c (near start of file): Fixed commentary and rearranged
14687 ifdefs in readable order.
14688 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
14691 (end_of_data): Do not compile in if using PDUMP.
14693 * symsinit.h: Prototyped vars_of_nt().
14695 * ntproc.c (windows9x_p): Added, instead of os_subtype.
14696 (find_child_console): Use it.
14697 (sys_kill): Use it.
14699 * ntheap.h: Do not extern os_subtype.
14701 * ntheap.c (cache_system_info): Do not cache unneeded:
14702 nt_major_version, nt_minor_version and os_subtype.
14703 (recreate_heap): Do not compile in when PDUMPing.
14705 * nt.c (geteuid and friends): Use the new varibale
14706 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
14707 (init_user_info): Removed the above mentioned hackery.
14708 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
14709 stat has been fixed in the C runtime.
14710 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
14712 * file-coding.c (struct file_coding_dump): Do not define
14713 ucs_to_mule_table in the struct if not MULE.
14714 (struct struct lrecord_description fcd_description_1): Do not dump
14717 * emacs.c (main_1): Call vars_of_nt().
14718 (right before Fdump_emacs_data): Don't need lastfile if using both
14719 portabe dumper and system malloc.
14721 * alloc.c (Fmemory_limit): Conditionalized out.
14722 (pdump): Use OPEN_BINARY for the portable dump file.
14723 (pdump_load): Ditto.
14725 2000-02-02 Mike Alexander <mta@arbortext.com>
14727 * nt.c (convert_time): Set tm_isdst before calling mktime and
14728 avoid calling it at all if the compiler supports 64 bit integers.
14729 Also initialize utc_base_ft before using it.
14731 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14733 * frame.c (change_frame_size_1): Take f->internal_border_width
14734 into consideration when calculating the width of the frame.
14736 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14738 * window.c (frame_min_height):
14739 (frame_size_valid_p):
14740 (frame_pixsize_valid_p): Added.
14741 (check_frame_size): Generalized.
14743 * window.h: Prototyped the above.
14746 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
14747 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
14748 Deleted Vwin32_* and Vbinary_process_* unused variables.
14750 * device-msw.c (msprinter_init_device): Do not get printer font
14751 list; Added DEVMODE functions.
14753 * frame-msw.c: Added lots of printer code.
14755 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
14758 * console-msw.h: Added more msprinter device private slots.
14760 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14762 * event-msw.c (key_needs_default_processing_p): Added.
14763 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
14765 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14767 * glyphs.c (image_instance_layout): Mark image instance as clean
14769 (glyph_dirty_p): Removed redundant function.
14770 (invalidate_glyph_geometry_maybe): Added.
14771 (update_glyph_cachel_data): Call it.
14773 * glyphs.h: Prototyped it.
14775 * redisplay.c (add_glyph_rune): Call it.
14776 (redisplay_window): Reset glyphs cachels when frame faces have
14777 changed, thus forcing recomputation of built-in border glyphs.
14779 2000-01-30 Martin Buchholz <martin@xemacs.org>
14781 * Makefile.in.in: Make portable dumper and purify play well together.
14782 Add imperfect, but better than nothing, support for pdump.
14783 Remove xemacs.dmp when temacs is re-generated.
14784 Don't ignore errors when dumping xemacs.
14786 * symbols.c (maybe_call_magic_handler): Remove one magic number.
14788 2000-01-28 Andy Piper <andy@xemacs.org>
14790 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
14791 (setup_normal_frame): ditto.
14792 (setup_frame_without_minibuffer): ditto.
14793 (setup_minibuffer_frame): ditto.
14794 (delete_frame_internal): ditto.
14795 (Fmake_frame_invisible): ditto.
14796 (Ficonify_frame): ditto.
14798 * window.h: change Fset_window_buffer signature.
14800 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
14801 (Fset_window_buffer): allow recording of buffer if the window is
14802 the selected window.
14803 (window_loop): Use new Fset_window signature.
14805 2000-01-23 Daniel Pittman <daniel@danann.net>
14807 * config.h.in: Added template for `HAVE_ATHENA_3D'
14809 2000-01-29 Andy Piper <andy@xemacs.org>
14811 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
14813 * gutter.c (output_gutter): Don't output if the window isn't live.
14815 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14817 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
14818 of 01/12/00: Moved SetFocus back here where it belongs.
14820 2000-01-23 Andy Piper <andy@xemacs.org>
14822 * s/cygwin32.h: declare printer things.
14824 2000-01-26 Andy Piper <andy@xemacs.org>
14826 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
14829 2000-01-24 Andy Piper <andy@xemacs.org>
14831 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
14832 (mswindows_button_instantiate): Make sure glyph is a pixmap.
14834 * glyphs-widget.c (widget_instantiate): Avoid shadows.
14836 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
14838 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
14840 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
14841 (mswindows_output_display_block): Avoid local shadows.
14843 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
14844 (mswindows_enqueue_mouse_button_event): ditto.
14845 (mswindows_handle_gui_wm_command): remove declaration.
14847 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
14850 * console-msw.h: Avoid shadows.
14851 (mswindows_get_toolbar_button_text):
14852 (emacs_mswindows_create_stream_pair):
14853 (emacs_mswindows_delete_stream_pair):
14854 (mswindows_handle_toolbar_wm_command): declare.
14856 * device-msw.c (build_syscolor_string): Avoid shadows.
14858 2000-01-23 Andy Piper <andy@xemacs.org>
14860 * glyphs-widget.c (widget_instantiate): reverse the items for
14861 layouts so that children are in the expected order.
14863 2000-01-28 Martin Buchholz <martin@xemacs.org>
14865 * ralloc.c: safe_bcopy ==> memmove
14866 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
14867 * s/msdos.h: Remove BCOPY macros.
14868 * insdel.c (gap_right): Remove BCOPY conditional code.
14869 * insdel.c (gap_left): Remove BCOPY conditional code.
14870 XEmacs demands a working ANSI C compiler - hence memmove.
14872 * regex.c (regex_compile): Remove accidental use of trigraphs.
14874 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14876 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
14879 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14881 * event-msw.c (mswindows_drain_windows_queue): Added the
14883 (mswindows_need_event): Commented the call to
14884 mswindows_drain_windows_queue().
14885 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
14888 * console-msw.h: Moved a few function prototypes here from
14891 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
14892 parameter from unsigned short to unsigned long.
14893 (Fmswindows_shell_execute): Added return value.
14895 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
14897 * sysdep.c (init_system_name):
14898 process-unix.c (unix_canonicalized_host_name):
14899 Don't call freeaddrinfo() if getaddrinfo() fails.
14901 * process-unix.c (unix_open_unix_network_stream):
14902 Moved the code to get a port # into address loop.
14904 2000-01-27 Martin Buchholz <martin@xemacs.org>
14906 * buffer.c (reinit_vars_of_buffer):
14907 The right place to initialize conversion_in_dynarr and
14908 conversion_out_dynarr.
14910 * alloc.c (pdump): Use the real open() till sys_open() is functional.
14912 * process-unix.c (unix_canonicalize_host_name): Muleize.
14913 (unix_open_network_stream): Muleize.
14915 * buffer.h: Fix up prototypes for ralloc.c functions.
14917 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
14918 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
14919 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
14920 instead of gethostbyname()
14921 * process-unix.c: In unix_canonicalize_host_name() and
14922 unix_open_network_stream(), add code to use getaddrinfo()
14923 instead of gethostbyname().
14925 2000-01-27 Daniel Pittman <daniel@danann.net>
14927 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
14928 libs when built with flat Athena.
14930 2000-01-27 Martin Buchholz <martin@xemacs.org>
14932 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
14933 Use coding standards for function prototypes.
14935 2000-01-25 Martin Buchholz <martin@xemacs.org>
14937 * dialog-msw.c (push_lisp_string_as_unicode):
14938 * doc.c (unparesseuxify_doc_string):
14939 * dired.c (Fuser_name_completion_1):
14940 * dired.c (Fuser_name_all_completions):
14941 * dired.c (free_user_cache):
14942 * dired.c (user_name_completion):
14943 * console-x.c (get_display_arg_connection):
14944 * minibuf.c (clear_echo_area_internal):
14945 * minibuf.c (echo_area_append):
14946 * eldap.c (Fldap_open):
14947 * eldap.c (Fldap_search_internal):
14948 * frame-x.c (x_set_frame_text_value):
14949 * frame-x.c (x_set_frame_properties):
14950 * frame-x.c (x_create_widgets):
14951 * redisplay-tty.c (term_get_fkeys_1):
14952 * objects-x.c (x_parse_nearest_color):
14953 * objects-x.c (x_valid_color_name_p):
14954 * objects-x.c (x_initialize_font_instance):
14955 * objects-x.c (x_list_fonts):
14956 * objects-x.c (x_find_charset_font):
14957 * tooltalk.c (Fadd_tooltalk_message_arg):
14958 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
14959 * tooltalk.c (Fadd_tooltalk_pattern_arg):
14960 * process-unix.c (unix_create_process):
14961 * ntproc.c (sys_spawnve):
14962 * sound.c (Fplay_sound_file):
14963 * sound.c (Fplay_sound):
14964 * buffer.c (init_initial_directory):
14965 * buffer.c (init_buffer):
14966 * editfns.c (init_editfns):
14967 * editfns.c (Ftemp_directory):
14968 * editfns.c (Fuser_full_name):
14969 * editfns.c (uncache_home_directory):
14970 * editfns.c (get_home_directory):
14971 * editfns.c (Fuser_home_directory):
14972 * editfns.c (Fformat_time_string):
14973 * editfns.c (Fcurrent_time_string):
14974 * gui-x.c (button_item_to_widget_value):
14975 * database.c (Fopen_database):
14976 * event-Xt.c (x_to_emacs_keysym):
14977 * event-Xt.c (x_event_to_emacs_event):
14978 * event-Xt.c (describe_event_window):
14979 * event-msw.c (mswindows_wnd_proc):
14980 * glyphs-eimage.c (jpeg_instantiate):
14981 * glyphs-eimage.c (gif_instantiate):
14982 * glyphs-eimage.c (png_instantiate):
14983 * glyphs-eimage.c (tiff_instantiate):
14984 * glyphs-x.c (xbm_instantiate_1):
14985 * glyphs-x.c (x_xbm_instantiate):
14986 * glyphs-x.c (x_xface_instantiate):
14987 * glyphs-x.c (autodetect_instantiate):
14988 * glyphs-x.c (cursor_font_instantiate):
14989 * glyphs-x.c (x_widget_instantiate):
14990 * glyphs-x.c (x_widget_set_property):
14991 * glyphs-x.c (x_widget_property):
14992 * glyphs-x.c (BUILD_GLYPH_INST):
14993 * print.c (write_string_to_stdio_stream):
14994 * print.c (output_string):
14995 * print.c (Falternate_debugging_output):
14996 * print.c (Fexternal_debugging_output):
14997 * glyphs-msw.c (extract_xpm_color_names):
14998 * glyphs-msw.c (mswindows_xpm_instantiate):
14999 * glyphs-msw.c (bmp_instantiate):
15000 * glyphs-msw.c (resource_name_to_resource):
15001 * glyphs-msw.c (mswindows_resource_instantiate):
15002 * glyphs-msw.c (xbm_instantiate_1):
15003 * glyphs-msw.c (mswindows_xbm_instantiate):
15004 * glyphs-msw.c (mswindows_xface_instantiate):
15005 * glyphs-msw.c (mswindows_widget_instantiate):
15006 * glyphs-msw.c (add_tree_item):
15007 * glyphs-msw.c (add_tab_item):
15008 * glyphs-msw.c (mswindows_combo_box_instantiate):
15009 * glyphs-msw.c (mswindows_widget_property):
15010 * glyphs-msw.c (mswindows_combo_box_property):
15011 * glyphs-msw.c (mswindows_widget_set_property):
15012 * console.c (stuff_buffered_input):
15013 * objects-msw.c (mswindows_initialize_color_instance):
15014 * objects-msw.c (mswindows_valid_color_name_p):
15015 * objects-msw.c (mswindows_list_fonts):
15016 * objects-msw.c (mswindows_font_instance_truename):
15017 * bytecode.c (optimize_compiled_function):
15018 * select-x.c (symbol_to_x_atom):
15019 * select-x.c (x_atom_to_symbol):
15020 * select-x.c (hack_motif_clipboard_selection):
15021 * select-x.c (selection_data_to_lisp_data):
15022 * select-x.c (lisp_data_to_selection_data):
15023 * select-x.c (Fx_get_cutbuffer_internal):
15024 * select-x.c (Fx_store_cutbuffer_internal):
15025 * buffer.h (TO_EXTERNAL_FORMAT): New function.
15026 * buffer.h (TO_INTERNAL_FORMAT): New function.
15027 * emacs.c (make_arg_list_1):
15028 * emacs.c (make_argc_argv):
15029 * emacs.c (main_1):
15030 * emacs.c (Fdump_emacs):
15031 * emacs.c (split_string_by_emchar_1):
15036 * device-x.c (x_init_device):
15037 * device-x.c (Fx_valid_keysym_name_p):
15038 * device-x.c (Fx_get_font_path):
15039 * device-x.c (Fx_set_font_path):
15040 * glyphs.c (bitmap_to_lisp_data):
15041 * glyphs.c (pixmap_to_lisp_data):
15042 * alloc.c (make_ext_string): Use coding system arguments. Update
15044 * alloc.c (build_string):
15045 * callproc.c (child_setup):
15046 * callproc.c (init_callproc):
15047 * fileio.c (lisp_strerror):
15048 * fileio.c (directory_file_name):
15049 * fileio.c (Fexpand_file_name):
15050 * fileio.c (Ffile_truename):
15051 * fileio.c (Fsysnetunam):
15052 * fileio.c (Fdo_auto_save):
15053 * sysdep.c (sys_readdir):
15054 * tests.c: New file. Allow adding C tests.
15055 Replace GET_* macros with a more comprehensible and flexible
15056 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
15058 Any coding system can be used to do format conversion.
15059 Eliminate enum external_data_format.
15060 Eliminate convert_to_external_format.
15061 Eliminate convert_to_internal_format.
15062 Make sure file-name, keyboard, terminal, and ctext are always
15063 defined as coding systems or aliases. Make
15064 file-name-coding-system, terminal-coding-system, and
15065 keyboard-coding-system magical variables that are equivalent to
15066 defining the corresponding coding system aliases.
15068 * file-coding.c (Fcoding_system_canonical_name_p): New function.
15069 * file-coding.c (Fcoding_system_alias_p): New function.
15070 * file-coding.c (Fcoding_system_aliasee): New function.
15071 * file-coding.c (append_suffix_to_symbol): New function.
15072 * file-coding.c (dangling_coding_system_alias_p): New function.
15073 * file-coding.c (Ffind_coding_system):
15074 * file-coding.c (Fcopy_coding_system):
15075 * file-coding.c (encode_coding_no_conversion):
15076 * file-coding.c (syms_of_file_coding):
15077 * file-coding.c (vars_of_file_coding):
15078 Rewrite coding system alias code.
15079 Allow nested aliases, like symbolic links.
15080 Allow redefinition of coding system aliases.
15081 Prevent existence of dangling coding system aliases.
15083 * dired.c (Fuser_name_completion_1):
15084 * dired.c (Fuser_name_all_completions):
15085 A crash would happen if user did QUIT in the middle of building
15086 user_name_cache. Remove redundant code in mainline and unwind_protect.
15089 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
15091 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
15092 an unsigned char *. Update all callers.
15094 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15096 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
15098 2000-01-25 Martin Buchholz <martin@xemacs.org>
15100 * elhash.c (hentry_description): Use more portable definition.
15101 (resize_hash_table): Initialize new hentries using
15102 xnew_array_and_zero, thereby simplifying the code.
15104 * mule-charset.c (make_charset): Make sure entire object is
15105 initialized, to avoid Purify warnings.
15107 * alloc.c (resize_string): Fix unlikely crash with big strings.
15109 2000-01-24 Martin Buchholz <martin@xemacs.org>
15111 * realpath.c (xrealpath):
15112 Don't call getwd().
15114 2000-01-25 Martin Buchholz <martin@xemacs.org>
15116 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
15118 1999-12-28 Max Matveev <max@melbourne.sgi.com>
15120 * unexelfsgi.c (unexec): Change the way we decide which segment
15121 should be extended.
15123 Assumption that .bss section should be outside the PT_LOADable
15124 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
15125 it's present) is inside the 'data' segment. This would fail the
15126 test which was used to find a segment to grow and cover new
15127 heap. Instead of this assumption, I created another one - on IRIX
15128 the segment to grow should start below .bss and it's address
15129 should extent above the end of .bss. Once this segment is
15130 identified, it's grown to accommodate the new heap and new
15131 zero-length .bss section is added at the end of .data2.
15133 2000-01-25 Martin Buchholz <martin@xemacs.org>
15135 * eval.c (Feval): Wrong number of arguments should use original
15136 function, not the indirect_function version of it.
15138 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
15140 * glyphs-x.c (x_button_instantiate): Don't add image if
15141 it is not a pixmap.
15142 (x_locate_pixmap_file): Call Fexpand_file_name when file name
15145 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
15147 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
15149 (DEFVAR_INT_MAGIC): Ditto.
15150 (DEFVAR_BOOL_MAGIC): Ditto.
15151 * glyphs.h: Reindent backslash.
15153 2000-01-24 Martin Buchholz <martin@xemacs.org>
15155 * glyphs-widget.c (layout_query_geometry):
15156 (layout_layout): Use correct types for gheight, gwidth.
15158 2000-01-24 Martin Buchholz <martin@xemacs.org>
15160 * EmacsManager.c (QueryGeometry): Purified.
15162 2000-01-23 Martin Buchholz <martin@xemacs.org>
15164 * alloc.c (make_float): Make sure entire object is initialized, to
15165 avoid Purify warnings.
15166 (pdump_register_sub): Remove useless assignment.
15167 (pdump): Use xmalloc, not malloc.
15168 (pdump_load): Use xmalloc, not malloc.
15170 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15177 * sysdep.c: Removed redundant #include <windows.h>
15179 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15181 * frame.c (delete_frame_internal): Do not delete device when its
15182 implementation so declares.
15183 (delete_frame_internal): Set device selected frame to nil when
15184 last frame goes away.
15186 * device-msw.c (msprinter_device_system_metrics): Implemented.
15187 (mswindows_device_system_metrics): Added 'device-dpi property.
15189 * device.c: (Fdevice_printer_p): Added.
15190 Added 'offset-workspace device metric.
15192 * console.h (device_metrics): Declared DM_offset_workspace.
15194 2000-01-23 Martin Buchholz <martin@xemacs.org>
15196 * fileio.c (Ffile_truename): Remove pointless and confusing
15197 initialization of elen.
15199 * glyphs-widget.c: Compiler warning fixes.
15201 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
15203 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
15204 instead of a Lisp_Object as argument to make it consistent with
15205 the other LIVE_P macros.
15206 (CHECK_LIVE_PROCESS): New macro.
15208 * process.c: Declare Qprocess_live_p.
15209 (Fprocess_live_p): New function.
15210 (create_process): Use PROCESS_LIVE_P.
15211 (read_process_output): Ditto.
15212 (set_process_filter): Ditto.
15213 (Fdelete_process): Ditto.
15214 (kill_buffer_processes): Ditto
15215 (process_send_signal): Use CHECK_LIVE_PROCESS.
15216 (Fprocess_input_coding_system): Check whether process is still
15217 alive (fix PR#1061).
15218 (Fprocess_output_coding_system): Ditto.
15219 (Fprocess_coding_system): Ditto.
15220 (Fset_process_input_coding_system): Ditto.
15221 (Fset_process_output_coding_system): Ditto.
15223 2000-01-23 Andy Piper <andy@xemacs.org>
15225 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
15228 * glyphs.c (mark_image_instance): take into account changed
15229 image_instance format.
15230 (image_instance_equal): ditto.
15231 (image_instance_hash): ditto.
15233 * glyphs-widget.c (widget_instantiate): Incorporate layout
15234 instantiation here. Delay layout of the layout until later.
15235 (layout_instantiate): deleted.
15236 (layout_query_geometry): new function. get the geometry of a
15238 (layout_layout): layout a layout dynamically.
15239 (image_instantiator_widget): New function - splitting up
15240 image_instantiator_format_create_glyphs_widget for netwinder
15242 (image_instantiator_buttons):
15243 (image_instantiator_edit_fields):
15244 (image_instantiator_combo_box):
15245 (image_instantiator_scrollbar):
15246 (image_instantiator_progress_guage):
15247 (image_instantiator_tree_view):
15248 (image_instantiator_tab_control):
15249 (image_instantiator_labels):
15250 (image_instantiator_layout): ditto.
15251 (image_instantiator_format_create_glyphs_widget): Call preceding
15254 2000-01-22 Martin Buchholz <martin@xemacs.org>
15256 * process.c (Fset_process_coding_system):
15257 * device-x.c (Fx_keysym_hash_table):
15260 * lstream.c (Lstream_write): Return documented value, not 0.
15262 * fileio.c (directory_file_name):
15263 (Fsubstitute_in_file_name):
15264 (Fsubstitute_insert_file_contents_internal):
15265 (Fwrite_region_internal):
15270 Remove vestigial APOLLO-conditional code.
15272 2000-01-21 Martin Buchholz <martin@xemacs.org>
15274 * getpagesize.h: Add guard macros.
15275 * libsst.h: Add guard macros.
15276 * libst.h: Add guard macros.
15277 * line-number.h: Add guard macros.
15278 * ndir.h: Add guard macros.
15279 * sysfloat.h: Add guard macros.
15280 * sysfile.h: Add guard macros.
15281 * sysproc.h: Add guard macros.
15282 * syswait.h: Add guard macros.
15283 * xintrinsic.h: Add guard macros.
15284 * xintrinsicp.h: Add guard macros.
15285 * xmmanager.h: Add guard macros.
15286 * xmmanagerp.h: Add guard macros.
15287 * xmprimitive.h: Add guard macros.
15288 * xmu.h: Add guard macros.
15289 * gpmevent.h: Add copyright statement. Add guard macros.
15290 * miscplay.h: Add guard macros.
15291 * *.h: Use consistent C-standards-approved guard macro names.
15293 * opaque.c (make_opaque): Switch parameter order.
15294 * opaque.h (make_opaque): Switch parameter order.
15295 Update all callers.
15296 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
15298 * config.h.in (type_checking_assert): Added.
15299 (bufpos_checking_assert): Added.
15301 2000-01-21 Martin Buchholz <martin@xemacs.org>
15303 * alloc.c: Harmless pdump changes.
15305 - spell alignment correctly.
15306 * sysdep.c: Use countof()
15308 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15310 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
15311 initially_selected_for_input() console method, default to 0.
15312 (semi_canonicalize_console_connection): Try to delegate to
15313 canonicalize_console_connection if no such console method.
15314 (canonicalize_console_connection): Vice versa.
15315 (print_console): Do not print nil connection.
15317 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
15318 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
15319 (XDEVIMPF_FRAMELESS_OK): Added.
15320 (CONSOLE_INHERITS_METHOD): Added.
15322 * console-msw.c (mswindows_canonicalize_console_connection):
15324 (mswindows_canonicalize_device_connection): Added.
15326 * console-msw.h (struct msprinter_device): Added this struct and
15328 (mswindows_device): Made fontlist a lisp object.
15330 * device.c (semi_canonicalize_device_connection): Try to delegate
15331 to canonicalize_device_connection if no such console method.
15332 (canonicalize_device_connection): Vice versa.
15333 (print_device): Do not print nil connection.
15335 * device-msw.c (mswindows_init_device): Call InitCommonControls
15337 (mswindows_delete_device): Removed fontlist deallocation.
15338 (mswindows_mark_device): Added.
15340 * events.c (event_equal): Added abort() at unreached code.
15341 (event_hash): Ditto.
15343 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
15344 fallback tags of Windows devices.
15346 * general.c (syms_of_general): Initialized Qmsprinter.
15348 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
15349 of fallback tags of Windows devices.
15351 * lisp.h: Declared Qmsprinter.
15353 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
15355 (mswindows_list_fonts): Ditto.
15356 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
15357 that it can be used by both mswindows and msprinter devices.
15358 (initialize_font_instance): Added.
15359 (mswindows_initialize_font_instance): Use it.
15360 (msprinter_initialize_font_instance): Added.
15362 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
15363 and implementation flags check.
15364 (redisplay_without_hooks): Changed the call to the above.
15365 (Fredraw_device): Ditto.
15366 (Fredisplay_device): Ditto.
15368 * redisplay-msw.c (get_frame_dc): Implemented.
15369 (get_frame_compdc): Implemented.
15370 (many functions): Use the two functions above to get device
15371 contexts, ether for a window or a printer.
15373 2000-01-21 Olivier Galibert <galibert@pobox.com>
15375 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
15376 initialization here.
15377 (init_symbols_once_early): Call it.
15378 * emacs.c (main_1): Call it.
15379 * symsinit.h: Declare it.
15381 2000-01-19 Olivier Galibert <galibert@pobox.com>
15383 * alloc.c: Use a lrecord_header * in the backtrace instead of a
15385 (pdump_backtrace): Ditto.
15386 (pdump_register_object): Ditto. Cleanup use of the pointers.
15387 (pdump_get_entry): Abort if trying to register a null pointer.
15388 (pdump_dump_data): Cleanup types when relocating.
15389 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
15390 (pdump_dump_rtables): Remove bad casts.
15391 (pdump_load): Cleanup relocation w.r.t union type. Use a
15392 Lisp_Object instead of a EMACS_INT for the hashtable
15395 2000-01-20 Martin Buchholz <martin@xemacs.org>
15397 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
15399 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
15401 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
15403 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
15405 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15407 * faces.h (FACE_STRIKETHRU_P): Added.
15409 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
15412 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
15413 (mswindows_set_dc_font): New function, aware of font variants,
15414 separated from mswindows_update_dc.
15416 * objects-msw.h (struct mswindows_font_instance_data): Added
15419 * objects-msw.c (mswindows_finalize_font_instance): Delete all
15420 cached fonts and the data structure.
15421 (mswindows_initialize_font_instance): Added creation of font data
15423 (mswindows_print_font_instance): Print at least something.
15424 (mswindows_create_font_variant): Implemented.
15425 (mswindows_get_hfont): Implemented.
15427 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
15429 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
15430 prototyping problem with msvc.
15432 * emacs.c (main_1): added syms_of_gui_mswindows() call
15434 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
15435 syms_of_gui_mswindows() function
15437 * symsinit.h: added the prototype for syms_of_gui_mswindows()
15439 2000-01-18 Martin Buchholz <martin@xemacs.org>
15441 * XEmacs 21.2.27 is released.
15443 2000-01-18 Martin Buchholz <martin@xemacs.org>
15445 * glyphs-eimage.c (struct tiff_error_struct):
15447 (tiff_warning_func):
15448 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
15453 * unexec.c: Remove vestigial Lucid C code.
15457 * libsst.c: Ansify.
15458 Remove declarations of errno and strerror().
15460 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
15462 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
15464 2000-01-16 Martin Buchholz <martin@xemacs.org>
15466 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
15469 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15474 Change enum eol_type to eol_type_t.
15476 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15478 * gui.c (get_gui_callback): Check cons before accessing car.
15480 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15482 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
15483 (XSETSPECIFIER_TYPE): Ditto.
15485 2000-01-17 Didier Verna <didier@xemacs.org>
15487 * redisplay.c (generate_fstring_runes): compute string size in
15488 characters, not bytes.
15490 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15492 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
15494 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
15496 * print.c (print_error_message): Call print_prepare().
15498 2000-01-14 Martin Buchholz <martin@xemacs.org>
15500 * .dbxrc: Renamed from dbxrc.
15502 * events.c (event_to_character):
15503 Use `assert (foo)' instead of `if (!foo) abort()'
15505 * .gdbinit (xtype): Add documentation.
15506 * .gdbinit (check-temacs): New function.
15507 * .gdbinit (check-xemacs): New function.
15508 * dbxrc (check-xemacs): New function.
15509 * dbxrc (check-xemacs): New function.
15511 2000-01-14 Andy Piper <andy@xemacs.org>
15513 * glyphs-widget.c (widget_query_geometry): Make sure that we
15514 calculate default dimensions correctly.
15516 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15518 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
15520 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
15521 pdump_wire'd variable.
15523 * emacs.c: (main_1): Conditionalized calls to
15524 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
15526 2000-01-13 Martin Buchholz <martin@xemacs.org>
15528 * window.c (Fset_window_configuration):
15529 * sysdep.c (_start):
15530 * input-method-motif.c (res):
15531 * event-Xt.c (Xt_process_to_emacs_event):
15532 Simple compiler warning fixes.
15534 * bytecode.c (funcall_compiled_function): Use the original
15535 function symbol on the backtrace list in preference to the
15536 compiled_function object in error messages.
15538 2000-01-13 Andy Piper <andy@xemacs.org>
15540 * glyphs-x.c (update_widget_face): Make sure we update the widget
15541 background as well as foreground.
15543 2000-01-13 Andy Piper <andy@xemacs.org>
15545 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
15546 fields to subwindow.
15547 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
15548 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
15549 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15550 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15552 * glyphs-widget.c (check_valid_tab_orientation): new function.
15553 (initialize_widget_image_instance): zero orientation and
15555 (widget_instantiate): pick up orientation.
15556 (tab_control_query_geometry): return appropriate values for
15559 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
15560 appropriate creation flags for left, right and bottom tabs.
15562 * s/cygwin32.h: add tab definitions.
15564 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15566 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
15567 frame upon hiding a subwindow.
15568 (mswindows_button_instantiate): Changed the push button style to
15570 (mswindows_button_instantiate): Removed button BS_NOTIFY
15572 (mswindows_button_instantiate): Removed redundant check for
15573 a disabled gui item.
15574 (mswindows_button_instantiate): Made use of WS_TABSTOP
15575 consistent: "operable" controls (edit, button, tree, scroll) have
15576 this style, "display-only" ones (static, progress gauge) do
15577 not. This style is currently ignored by XEmacs though. Also,
15578 removed the WS_EX_CONTROLPARENT style - it is not for children,
15579 it is for their parents!
15580 (mswindows_edit_field_instantiate): Ditto.
15581 (mswindows_progress_gauge_instantiate): Ditto.
15582 (mswindows_tree_view_instantiate): Ditto.
15583 (mswindows_tab_control_instantiate): Ditto.
15584 (mswindows_scrollbar_instantiate): Ditto.
15585 (mswindows_combo_box_instantiate): Ditto.
15586 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
15587 style to the "clip" window.
15588 (mswindows_button_instantiate): Removed compilation warning by
15589 equally typing terms of the ?: operator.
15591 2000-01-12 Didier Verna <didier@xemacs.org>
15593 * redisplay.c (generate_fstring_runes): new parameter holding the
15594 last modeline-format extent.
15595 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
15596 extent, fill the glyph block with it.
15597 (generate_fstring_runes): handle these parameters.
15598 (generate_formatted_string_db): ditto.
15600 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
15601 glyphs'extents in the modeline.
15603 1999-01-11 Mike Woolley <mike@bulsara.com>
15605 * ntheap.c: Reduced the reserved heap space from 1Gb down to
15606 256Mb, as a workaround for the non-starting problem many people
15609 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15611 * console-tty.c (Fset_console_tty_output_coding_system):
15612 Force redrawing tty frame.
15614 2000-01-10 Didier Verna <didier@xemacs.org>
15616 * redisplay.c (generate_fstring_runes): fix size computation bug.
15618 2000-01-09 William M. Perry <wmperry@aventail.com>
15620 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
15622 2000-01-09 Andy Piper <andy@xemacs.org>
15624 * glyphs-msw.c: index -> i to avoid shadows.
15625 (xbm_create_bitmap_from_data): make static.
15626 (check_valid_string_or_int): deleted.
15627 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
15629 * glyphs-x.c (x_update_subwindow): remove unused args.
15631 * glyphs.c (glyph_image_instance): return the thing. Don't set the
15632 back pointer - this is done in allocate_image_instance.
15633 (query_string_font): return Qnil to make the compiler happy.
15634 (unmap_subwindow): set to ~0 to make the compiler happy.
15635 (glyph_query_geometry): comment out until used.
15636 (glyph_layout): ditto.
15638 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15640 * insdel.c (signal_after_change): Remove extraneous unbind_to().