1 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
3 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
4 (syms_of_mule_charset): Add new symbol `=big5' instead of
6 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
8 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
10 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
11 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
13 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
16 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
18 * mule-charset.c (Qmap_jis_x0212): Renamed from
20 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
22 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
25 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
27 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
29 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
30 of `japanese-jisx0208'.
31 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
34 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
36 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
37 `Qjapanese_jisx0208_1978'.
38 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
39 of `japanese-jisx0208-1978'.
40 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
43 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
45 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
46 only for XEmacs CHISE.
48 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
50 * char-ucs.h: Compact non-ISO-IR charset-ids.
51 (LEADING_BYTE_UCS): Changed to -177.
52 (LEADING_BYTE_CONTROL_1): Changed to -77.
53 (LEADING_BYTE_UCS_BMP): Changed to -176.
54 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
56 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
58 * mule-charset.c (Qiso_ir): New variable.
59 (Fmake_charset): Recognise new property `iso-ir'.
60 (syms_of_mule_charset): Add new symbol `iso-ir'.
62 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
64 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
65 n to -n; charset-id of non ISO-IR sets are changed to positive
68 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
70 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
71 for &MCS-XXXXXXXX; values.
73 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
75 * mule.c (Vxemacs_chise_version): Renamed from
77 (vars_of_mule): Add new variable `xemacs-chise-version'; define
78 `utf-2000-version' as an alias for `xemacs-chise-version'.
80 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
82 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
83 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
86 * config.h.in (CHISE): New macro.
88 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
90 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
92 (Qmap_ucs): New variable.
93 (syms_of_mule_charset): Add new symbol `=ucs'.
94 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
96 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
97 (simplify_char_spec): Likewise.
99 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
101 * char-ucs.h (Qmap_ucs): New extern variable.
103 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
105 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
106 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
107 don't define it when UTF2000 is not defined.
108 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
109 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
110 when UTF2000 is not defined.
111 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
112 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
114 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
116 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
118 * mule-charset.c (Vcharset_ucs_gb): Deleted.
120 (syms_of_mule_charset): Delete `ucs-gb'.
121 (complex_vars_of_mule_charset): Likewise.
123 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
125 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
127 * mule-charset.c (Vcharset_ucs_cns): Deleted.
129 (syms_of_mule_charset): Delete `ucs-cns'.
130 (complex_vars_of_mule_charset): Likewise.
132 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
134 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
136 * mule-charset.c (Vcharset_ucs_jis): Deleted.
138 (syms_of_mule_charset): Delete `ucs-jis'.
139 (complex_vars_of_mule_charset): Likewise.
141 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
143 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
145 * mule-charset.c (Vcharset_ucs_ks): Deleted.
147 (syms_of_mule_charset): Delete `ucs-ks'.
148 (complex_vars_of_mule_charset): Likewise.
150 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
152 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
153 (Qideograph_daikanwa_2): Deleted.
154 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
155 (complex_vars_of_mule_charset): Likewise.
157 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
158 (LEADING_BYTE_DAIKANWA_1): Deleted.
159 (LEADING_BYTE_DAIKANWA_2): Deleted.
160 (MIN_CHAR_DAIKANWA): Deleted.
161 (MAX_CHAR_DAIKANWA): Deleted.
163 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
165 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
166 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
167 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
169 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
170 (Vcharset_ideograph_daikanwa): Deleted.
171 (Qideograph_hanziku_{1..12}): Deleted.
172 (Qideograph_daikanwa): Deleted.
173 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
174 Vcharset_ideograph_daikanwa.
175 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
176 `ideograph-hanziku-{1..12}'.
177 (complex_vars_of_mule_charset): Likewise.
179 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
181 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
183 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
184 (Qideograph_gt_pj_{1..11}): Deleted.
185 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
186 (complex_vars_of_mule_charset): Likewise.
188 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
190 * mule-charset.c (Vcharset_ucs_big5): Deleted.
191 (Vcharset_ideograph_gt): Deleted.
192 (Qucs_big5): Deleted.
193 (Qideograph_gt): Deleted.
194 (syms_of_mule_charset): Delete symbol `ucs-big5' and
196 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
199 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
200 (LEADING_BYTE_GT): Deleted.
201 (MIN_CHAR_GT): Deleted.
202 (MAX_CHAR_GT): Deleted.
204 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
206 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
208 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
210 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
211 (save_uint16_byte_table): Likewise.
212 (save_byte_table): Likewise; convert values by it.
213 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
214 for `ideographic-structure'.
215 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
216 as the filter for `ideographic-structure'.
218 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
220 * chartab.c (put_char_composition): New function.
221 (Fput_char_attribute): Use `put_char_composition'; use
222 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
224 * fns.c (simplify_char_spec): New function.
225 (char_ref_simplify_spec): New function.
226 (Fchar_refs_simplify_char_specs): New function.
227 (syms_of_fns): Add new builtin function
228 `char-refs-simplify-char-specs'.
230 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
232 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
233 (Qideograph_cbeta): Deleted.
234 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
235 (complex_vars_of_mule_charset): Likewise.
237 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
238 (MIN_CHAR_CBETA): Comment out.
239 (MAX_CHAR_CBETA): Likewise.
241 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
243 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
244 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
245 CHISE client feature.
247 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
249 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
251 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
253 * mule-charset.c (charset_lookup_description_1): Use
254 `NUM_LEADING_BYTES' in UTF-2000.
256 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
258 * char-ucs.h (GC_CHARSETP): Deleted.
260 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
262 * char-ucs.h (MAX_CHAR_GT): Updated.
264 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
266 * text-coding.c: Sync with XEmacs 21.4.10.
268 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
270 * mule-charset.c (Vcharset_china3_jef): Deleted.
271 (Qchina3_jef): Deleted.
272 (syms_of_mule_charset): Don't define `china3-jef'.
273 (complex_vars_of_mule_charset): Likewise.
275 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
276 (MIN_CHAR_CHINA3_JEF): Comment out.
277 (MAX_CHAR_CHINA3_JEF): Comment out.
279 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
281 * mule-charset.c (Vcharset_ucs_gb): New variable.
282 (Qucs_gb): New variable.
283 (syms_of_mule_charset): Add new symbol `ucs-gb'.
284 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
286 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
288 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
290 * mule-charset.c (charset_code_point): if a coded-charset has a
291 final-byte, don't inherit the builtin range of the mother CCS.
293 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
295 * mule-charset.c (charset_code_point): Fix problem about
298 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
300 * mule-charset.c (decode_builtin_char): Reorganized.
302 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
304 * text-coding.c (char_encode_as_entity_reference): Modify for
305 `charset_code_point'.
306 (char_encode_shift_jis): Likewise.
307 (char_encode_big5): Likewise.
308 (char_encode_utf8): Likewise.
309 (char_encode_iso2022): Likewise.
311 * mule-charset.c (charset_code_point): Add new argument
313 (Fencode_char): Add new optional argument `defined_only'.
315 * chartab.c (put_char_table): Modify for `charset_code_point'.
317 * char-ucs.h (charset_code_point): Add new argument
319 (encode_char_1): Modify for `charset_code_point'.
321 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
323 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
324 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
326 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
328 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
329 (Qjis_x0208): Likewise.
330 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
331 XCHARSET_FINAL(charset).
332 (charset_code_point): Modify condition for final-byte based
334 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
335 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
336 in UTF-2000; specify `=jis-x0208' as the mother of
337 `japanese-jisx0208-1978', `japanese-jisx0208' and
338 `japanese-jisx0208-1990' in UTF-2000.
340 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
342 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
344 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
346 * text-coding.c (decode_coding_utf16): Support UTF-16.
347 (char_encode_utf16): Fixed.
349 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
351 * text-coding.c (Qutf16): New variable in MULE.
352 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
353 (Fcoding_system_type): Add `utf-16' in MULE.
354 (struct detection_state): Add a structure for utf16 in MULE.
355 (detect_coding_type): Setup st->utf16.mask in MULE.
356 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
358 (reset_encoding_stream): Use `char_encode_utf16' and
359 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
360 (detect_coding_utf16): New function [incomplete].
361 (decode_coding_utf16): New function [support only UCS-2].
362 (char_encode_utf16): New function.
363 (char_finish_utf16): New function.
364 (syms_of_file_coding): Add new symbol `utf-16'; setup
365 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
367 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
369 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
370 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
372 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
374 * chartab.c (put_char_table): When a charset is specified as a
375 range in UTF-2000, don't support builtin characters.
377 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
379 * mule-charset.c (decode_defined_char): Don't refer external
380 database if Qunbound or Qnil are found.
381 (Fsave_charset_mapping_table): Don't define it if
382 HAVE_CHISE_CLIENT is not defined.
383 (Freset_charset_mapping_table): New function.
384 (load_char_decoding_entry_maybe): Store Qnil if a character is not
385 found in external database.
386 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
387 if HAVE_CHISE_CLIENT is not defined; add new builtin function
388 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
390 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
392 * text-coding.c (decode_coding_utf8): Check CCS is specified or
395 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
397 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
398 Q_lowercase, Q_uppercase in UTF-2000.
400 * chartab.c (get_char_table): Add special code for the standard
401 case table to use character attribute `->downcase' and
402 `->uppercase' for case operations in UTF-2000.
404 * casetab.c (Qflippedcase): New variable in UTF-2000.
405 (Q_lowercase): Likewise.
406 (Q_uppercase): Likewise.
407 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
408 and `->uppercase' in UTF-2000.
409 (complex_vars_of_casetab): Assign attribute name `downcase' to
410 downcase and CANON table of Vstandard_case_table in UTF-2000;
411 assign attribute name `flippedcase' to upcase and EQV table of
412 Vstandard_case_table in UTF-2000.
414 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
416 * text-coding.c (decode_add_er_char): Support isolated-chars.
417 (char_encode_as_entity_reference): Likewise.
419 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
421 * emacs.c (Vutf_2000_lisp_directory): New variable.
422 (Vconfigure_utf_2000_lisp_directory): Likewise.
423 (complex_vars_of_emacs): Add new variable
424 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
426 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
428 * char-ucs.h (DECODE_CHAR): Delete special code for
429 `chinese-big5-1' and `chinese-big5-2'.
431 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
433 (decode_defined_char): Support CONVERSION_BIG5_1 and
435 (decode_builtin_char): Likewise.
436 (charset_code_point): Likewise.
437 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
438 'conversion in UTF-2000.
439 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
440 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
441 `chinese-big5-2' as children of `chinese-big5'.
443 * char-ucs.h (CONVERSION_BIG5_1): New macro.
444 (CONVERSION_BIG5_2): New macro.
446 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
448 * text-coding.c (char_encode_big5): Support entity-reference.
450 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
452 * text-coding.c (char_encode_as_entity_reference): New function.
453 (char_encode_utf8): Use `char_encode_as_entity_reference'.
455 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
457 * text-coding.c (decode_coding_big5): Support entity-reference
460 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
462 * text-coding.c (allocate_coding_system): Initialize initial
463 charsets for CODESYS_UTF8.
464 (Fmake_coding_system): Accept charset-g0, charset-g1 and
465 charset-g2 for CODESYS_UTF8.
466 (decode_coding_utf8): Use charset-g0.
467 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
468 to force variants to map to UCS.
470 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
472 * text-coding.c (Qutf_8_mcs): New variable.
473 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
474 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
475 instead of `utf-8' in UTF-2000.
477 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
479 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
480 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
481 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
482 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
483 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
484 CONVERSION_96x96x96x96 are introduced.
485 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
486 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
487 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
489 * char-ucs.h (CONVERSION_94): New macro.
490 (CONVERSION_96): New macro.
491 (CONVERSION_94x94): New macro.
492 (CONVERSION_96x96): New macro.
493 (CONVERSION_94x94x94): New macro.
494 (CONVERSION_96x96x96): New macro.
495 (CONVERSION_94x94x94x60): New macro.
496 (CONVERSION_94x94x94x94): New macro.
497 (CONVERSION_96x96x96x96): New macro.
499 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
501 * chartab.c (Vcharacter_variant_table): Deleted.
502 (Fchar_variants): Use character-attribute `->ucs-variants' instead
503 of `Vcharacter_variant_table'.
504 (Fput_char_attribute): Likewise.
505 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
506 (complex_vars_of_chartab): Likewise.
508 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
510 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
512 * fns.c (Qideographic_structure): New variable.
513 (Qkeyword_char): New variable.
514 (ids_format_unit): New function.
515 (Fideographic_structure_to_ids): New function.
516 (syms_of_fns): Add new symbols `ideographic-structure' and
517 `:char'; add new builtin function `ideographic-structure-to-ids'.
519 * data.c (Fchar_ref_p): New function.
520 (syms_of_data): Add new builtin function `char-ref-p'.
522 * chartab.h: Add an EXFUN for `Ffind_char'.
524 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
526 * text-coding.c (Vcharacter_composition_table): Deleted.
527 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
530 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
532 (Vcharacter_composition_table): Deleted.
533 (Fget_composite_char): Use the implementation for external-DB
534 support in every UTF-2000.
535 (Fput_char_attribute): Likewise.
536 (char_attribute_system_db_file): Don't define if external-DB
537 feature is not available.
538 (Fsave_char_attribute_table): Likewise.
539 (Fmount_char_attribute_table): Likewise.
540 (Fclose_char_attribute_table): Likewise.
541 (Freset_char_attribute_table): Likewise.
542 (Fload_char_attribute_table): Likewise.
543 (syms_of_chartab): Don't define `save-char-attribute-table',
544 `mount-char-attribute-table', `reset-char-attribute-table',
545 `close-char-attribute-table' and `load-char-attribute-table' if
546 external-DB feature is not available.
547 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
549 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
551 * text-coding.c (Qcomposition): Add extern if external-DB feature
553 (Vcharacter_composition_table): Don't add extern if external-DB
554 feature is supported.
555 (COMPOSE_ADD_CHAR): Modify for new data-representation of
556 character composition rule if external-DB feature is supported.
558 * chartab.c (Vcharacter_composition_table): Don't define if
559 external-DB feature is supported.
560 (Qcomposition): New variable.
561 (Fget_composite_char): New implementation for external-DB support.
562 (Fput_char_attribute): Use `composition' property of each
563 character instead of `Vcharacter_composition_table' to store
564 character-composition rules if external-DB feature is supported.
565 (syms_of_chartab): Add new symbol `composition'.
566 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
567 external-DB feature is supported.
569 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
571 * chartab.c (Vchar_db_stingy_mode): New variable.
572 (load_char_attribute_maybe): Close database if
573 Vchar_db_stingy_mode is not NIL.
574 (Fload_char_attribute_table_map_function): Use
575 `get_char_id_table_0' instead of `get_char_id_table'.
576 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
578 * chartab.h (get_char_id_table_0): New inline function.
579 (get_char_id_table): Use `get_char_id_table_0'.
581 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
583 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
584 and `COMPOSE_ADD_CHAR'.
585 (decode_coding_iso2022): Use `decode_flush_er_chars'.
587 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
589 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
590 instead of `DECODE_ADD_UCS_CHAR'.
591 (COMPOSE_ADD_CHAR): Likewise.
593 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
595 * text-coding.c (decode_flush_er_chars): New inline function.
596 (decode_add_er_char): New function.
597 (decode_coding_utf8): Use `decode_flush_er_chars' and
598 `decode_add_er_char'.
600 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
602 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
603 done before `decode_output_utf8_partial_char'.
605 * mule-charset.c (complex_vars_of_mule_charset): Specify
606 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
607 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
609 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
611 * mule-charset.c (decode_defined_char): New function; search
613 (decode_builtin_char): Don't search mother if
614 XCHARSET_MAX_CODE(charset) == 0.
615 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
616 == 0 even if code >= XCHARSET_MAX_CODE(charset).
617 (Fdecode_char): Use `decode_defined_char' instead of
618 `DECODE_DEFINED_CHAR'.
619 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
620 mother of `Vcharset_ucs_jis'.
622 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
623 instead of `DECODE_DEFINED_CHAR'.
625 * char-ucs.h (decode_defined_char): Renamed from
626 `DECODE_DEFINED_CHAR'; changed to normal function.
627 (DECODE_CHAR): Use `decode_defined_char' instead of
628 `DECODE_DEFINED_CHAR'.
630 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
632 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
634 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
636 * text-coding.c (Vcoded_charset_entity_reference_alist): New
638 (Quse_entity_reference): New variable.
642 (coding_system_description): Add description for
644 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
645 (allocate_coding_system): Initialize `ccs_priority_list' in
647 (Fmake_coding_system): Add description about
648 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
650 (Fcoding_system_property): Accept `disable-composition' and
651 `use-entity-reference' in UTF-2000.
652 (struct decoding_stream): Add new member `er_counter' and `er_buf'
654 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
655 (decode_coding_utf8): Decode entity-reference if
656 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
657 (char_encode_utf8): Encode non-Unicode characters as
658 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
660 (syms_of_file_coding): Add new symbols `use-entity-reference',
662 (vars_of_file_coding): Add new variable
663 `coded-charset-entity-reference-alist'.
664 (complex_vars_of_file_coding): Declare `disable-composition' and
665 `use-entity-reference' to be coding-system-properties in UTF-2000.
667 * file-coding.h (struct Lisp_Coding_System): Add new member
668 `use_entity_reference' and `ccs_priority_list'.
669 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
670 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
671 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
673 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
675 * chartab.c (save_uint8_byte_table): Don't clear the table.
676 (save_uint16_byte_table): Likewise.
677 (save_byte_table): Likewise.
678 (Fmount_char_attribute_table): New function.
679 (syms_of_chartab): Add new builtin function
680 `mount-char-attribute-table'.
682 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
684 * mule-charset.c (Fsave_charset_mapping_table): Open database as
686 (load_char_decoding_entry_maybe): Open database as read-only mode.
688 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
689 open database as "w+" mode.
690 (load_char_attribute_maybe): Open database as read-only mode.
691 (Fload_char_attribute_table): Likewise.
693 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
695 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
696 (char_table_description): Delete member `db_file'.
697 (Fmake_char_table): Don't refer `ct->db_file'.
698 (Fcopy_char_table): Likewise.
699 (Fsave_char_attribute_table): Likewise.
700 (Fclose_char_attribute_table): Likewise.
701 (Freset_char_attribute_table): Likewise.
702 (load_char_attribute_maybe): Likewise.
703 (Fload_char_attribute_table): Likewise.
705 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
707 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
709 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
710 (Fsave_char_attribute_table): Don't check `ct->db_file' if
712 (load_char_attribute_maybe): Likewise.
713 (Fload_char_attribute_table): Likewise.
715 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
717 * chartab.c (Fclose_char_attribute_table): Set Qnil on
718 `ct->db_file' unconditionally.
720 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
722 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
724 (char_table_description): Add description for `db_file' and `db'
726 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
728 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
729 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
730 (Fclose_char_attribute_table): New function.
731 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
732 (load_char_attribute_maybe): Change interface; use `cit->db_file'
734 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
735 (syms_of_chartab): Add new builtin function
736 `Fclose_char_attribute_table'.
738 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
740 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
742 (load_char_attribute_maybe): Change interface.
743 (get_char_id_table): Modify for `load_char_attribute_maybe'.
745 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
747 * database.h: Add an EXFUN for `Fdatabase_live_p'.
749 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
751 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
752 instead of `DECODE_CHAR' for mother; don't use special code for
753 chinese-big5 to use code space of chinese-big5-1 and
755 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
756 `MAX_CHAR_BIG5_CDP' for chinese-big5.
758 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
759 (MAX_CHAR_BIG5_CDP): Revival.
761 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
763 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
764 the XLFD registry-encoding name of `chinese-big5'.
766 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
768 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
769 (Qchinese_big5_cdp): Deleted.
770 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
771 (complex_vars_of_mule_charset): Delete coded-charset
774 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
775 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
776 `CHARSET_ID_OFFSET - n' for private CCS.
777 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
778 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
779 of `MIN_LEADING_BYTE'.
780 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
781 `(CHARSET_ID_OFFSET - 97)'.
782 (MIN_CHAR_BIG5_CDP): Deleted.
783 (MAX_CHAR_BIG5_CDP): Deleted.
785 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
787 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
789 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
791 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
792 (vars_of_mule): Add new variable `utf-2000-version' [moved from
795 * chartab.c (Vutf_2000_version): Moved to mule.c.
796 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
798 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
800 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
801 when HAVE_CHISE_CLIENT is not defined.
803 * mule.c (vars_of_mule): Provide feature `chise' when
804 HAVE_CHISE_CLIENT is defined.
806 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
808 * config.h.in (UTF2000): Add comment.
809 (HAVE_CHISE_CLIENT): New macro.
811 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
813 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
815 (Fput_char_attribute): Likewise.
816 (char_attribute_system_db_file): Encode file-name of attribute.
817 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
820 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
822 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
823 (Fsave_charset_mapping_table): Use
824 `char_attribute_system_db_file'.
825 (load_char_decoding_entry_maybe): Likewise.
827 * chartab.h (Qsystem_char_id): New external variable.
828 (char_attribute_system_db_file): New prototype.
830 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
831 (char_attribute_system_db_file): New function.
832 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
833 (Freset_char_attribute_table): Likewise.
834 (load_char_attribute_maybe): Likewise.
835 (Fload_char_attribute_table): Likewise.
836 (syms_of_chartab): Add new symbol `system-char-id'.
838 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
840 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
841 `XCHARSET_GRAPHIC(ccs)'.
843 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
845 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
847 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
849 * chartab.c (Q_ucs_variants): New variable.
850 (syms_of_chartab): Add new symbol `->ucs-variants'.
851 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
852 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
853 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
855 * mule-charset.c (load_char_decoding_entry_maybe): New function.
857 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
858 `HAVE_DATABASE' is defined.
859 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
860 `HAVE_DATABASE' is defined.
862 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
864 * chartab.c (Fsave_char_attribute_table): Don't clear internal
866 (Freset_char_attribute_table): New function.
867 (syms_of_chartab): Add new builtin function
868 `reset-char-attribute-table'.
870 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
872 * chartab.c (load_char_attribute_maybe): Don't make directories.
874 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
876 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
878 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
881 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
883 * mule-charset.c (Fsave_charset_mapping_table): Use
884 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
886 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
887 instead of `XCHARSET_CHARS'.
889 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
891 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
892 (XCHARSET_BYTE_SIZE): Likewise.
894 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
896 (XCHARSET_BYTE_SIZE): Likewise.
898 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
900 * chartab.c (Fput_char_attribute): Use exec-directory instead of
901 data-directory to store database.
902 (Fsave_char_attribute_table): Likewise.
903 (load_char_attribute_maybe): Likewise.
904 (Fload_char_attribute_table): Likewise.
906 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
908 * mule-charset.c (Fsave_charset_mapping_table): New function.
909 (syms_of_mule_charset): Add new builtin function
910 `save-charset-mapping-table'.
912 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
914 * char-ucs.h (decoding_table_check_elements): Delete prototype.
915 (get_ccs_octet_table): New inline function.
916 (put_ccs_octet_table): Likewise.
917 (decoding_table_put_char): Use `get_ccs_octet_table' and
918 `put_ccs_octet_table'.
919 (decoding_table_remove_char): Use `decoding_table_put_char'.
920 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
922 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
924 (make_charset): Use Qunbound instead Qnil as initial value of
927 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
929 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
930 element is Qunloaded.
931 (map_over_uint16_byte_table): Likewise.
932 (map_over_byte_table): Likewise.
933 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
934 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
935 database support, load encoding-table of the specified
936 coded-charset if it is not loaded yet.
937 (save_uint8_byte_table): New function of UTF-2000 with external
939 (save_uint16_byte_table): Likewise.
940 (save_byte_table): Likewise.
941 (Fput_char_attribute): Don't store value into external database
942 even if the external database feature is supported in UTF-2000;
943 set `attribute' as name of char-table if the external database
944 feature is supported.
945 (Fsave_char_attribute_table): New function in UTF-2000.
946 (syms_of_chartab): Add new builtin function
947 `save-char-attribute-table' in UTF-2000.
949 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
951 * chartab.c (char_attribute_table_to_put): New variable in
953 (Qput_char_table_map_function): Likewise.
954 (value_to_put): Likewise.
955 (Fput_char_table_map_function): New function in UTF-2000.
956 (put_char_table): Use `Fmap_char_attribute' for
957 CHARTAB_RANGE_CHARSET in UTF-2000.
958 (Fput_char_attribute): Store symbol instead of string in
959 `XCHAR_TABLE_NAME (table)'.
960 (load_char_attribute_maybe): Likewise.
961 (syms_of_chartab): Add new symbol/function
962 `put-char-table-map-function'.
964 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
966 * database.h: Add new EXFUN for `Fmap_database'.
968 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
969 (syms_of_database): Likewise.
971 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
973 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
974 (XCHAR_TABLE_UNLOADED): Likewise.
976 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
977 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
978 HAVE_DATABASE is defined.
979 (char_attribute_table_to_load): New variable of UTF-2000 with
980 external database support.
981 (Qload_char_attribute_table_map_function): Likewise.
982 (Fload_char_attribute_table_map_function): New function of
983 UTF-2000 with external database support.
984 (Fload_char_attribute_table): New function of UTF-2000.
985 (Fmap_char_attribute): Call Fload_char_attribute_table if
986 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
987 (syms_of_chartab): Add new symbol and function
988 `load-char-attribute-table-map-function' in UTF-2000 with external
989 database support; add new function `load-char-attribute-table' in
992 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
994 * chartab.h (load_char_attribute_maybe): New prototype for
995 UTF-2000 with DATABASE support.
996 (get_char_id_table): Use `load_char_attribute_maybe' if
997 HAVE_DATABASE is defined.
999 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1000 with DATABASE support.
1002 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1004 * chartab.c (Fput_char_attribute): Use S-expression as key of
1007 * chartab.h (get_char_id_table): Use S-expression as key of
1010 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1012 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1013 if an element is not loaded, load the corresponding attributes
1014 from an external database.
1015 (map_over_uint16_byte_table): Likewise.
1016 (map_over_byte_table): Likewise.
1017 (map_char_table): Modify for `map_over_uint8_byte_table',
1018 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1019 element is not loaded, load the corresponding attributes from an
1021 (Fput_char_attribute): Change initial values to Qunloaded.
1023 * chartab.h (get_char_id_table): If a character attribute is not
1024 loaded and the attribute value is not found in an external
1025 database, store Qunbound as the attribute value.
1027 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1029 * chartab.c (BT_UINT8_unloaded): New macro.
1030 (UINT8_VALUE_P): Accept Qunloaded.
1031 (UINT8_ENCODE): Likewise.
1032 (UINT8_DECODE): Likewise.
1033 (BT_UINT16_unloaded): New macro.
1034 (UINT16_VALUE_P): Accept Qunloaded.
1035 (UINT16_ENCODE): Likewise.
1036 (UINT16_DECODE): Likewise.
1037 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1039 (mark_char_table): Mark `ct->name' in UTF-2000.
1040 (char_table_description): Add `name' in UTF-2000.
1041 (Fmake_char_table): Initialize `ct->name'.
1042 (Fcopy_char_table): Copy `ct->name'.
1043 (Fput_char_attribute): Store value into an external database if
1044 HAVE_DATABASE is defined.
1046 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
1048 (CHAR_TABLE_NAME): New macro in UTF-2000.
1049 (XCHAR_TABLE_NAME): New macro in UTF-2000.
1050 (get_char_id_table): Try to read an external database if Qunloaded
1051 is stored in a table.
1053 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
1056 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1058 * database.h: Add EXFUN definitions for Fopen_database,
1059 Fput_database, Fget_database and Fclose_database.
1061 * data.c (Qunloaded): New variable in UTF-2000.
1063 * lisp.h (Qunloaded): New variable in UTF-2000.
1065 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1067 * mule-charset.c (put_char_ccs_code_point): Modify for
1068 `decoding_table_remove_char' and `decoding_table_put_char'.
1069 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1071 * char-ucs.h (decoding_table_remove_char): Change arguments to
1072 hide decoding_table vector.
1073 (decoding_table_put_char): Likewise.
1075 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1077 * mule-charset.c (decoding_table_remove_char): Moved to
1079 (decoding_table_put_char): Likewise.
1081 * char-ucs.h (decoding_table_check_elements): New prototype [moved
1082 from mule-charset.c].
1083 (decoding_table_remove_char): New inline function [moved from
1085 (decoding_table_put_char): Likewise.
1087 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1089 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
1092 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1094 * mule-charset.c (decode_builtin_char): Support mother charsets.
1096 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1098 * mule-charset.c (Q94x94x60): New variable.
1099 (charset_code_point): Support conversion `94x94x60'.
1100 (Fmake_charset): Likewise.
1101 (syms_of_mule_charset): Add new symbol `94x94x60'.
1103 * char-ucs.h (CONVERSION_94x94x60): New macro.
1105 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1107 * mule-charset.c (charset_code_point): Unify code about
1110 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1112 * mule-charset.c (charset_code_point): Merge code about builtin
1113 characters into code about mother charsets; don't use
1114 `range_charset_code_point'.
1115 (range_charset_code_point): Deleted.
1117 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1119 * mule-charset.c (Qcode_offset): New variable.
1120 (Fmake_charset): Use `XUINT' to get value of `min-code' and
1121 `max-code'; accept new property `code-offset'.
1122 (syms_of_mule_charset): Add new symbol `code-offset'.
1124 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1126 * mule-charset.c (range_charset_code_point): Fixed.
1128 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1130 * mule-charset.c (decode_builtin_char): Change semantics of
1131 code-offset of coded-charset.
1132 (charset_code_point): Likewise.
1133 (range_charset_code_point): Likewise.
1134 (complex_vars_of_mule_charset): Modify for the change.
1136 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1138 * mule-charset.c (Fencode_char): Reverse arguments.
1140 * mule-charset.c (charset_code_point): Fixed.
1142 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1144 * mule-charset.c (Vcharset_mojikyo): Deleted.
1145 (Vcharset_mojikyo_2022_1): Deleted.
1146 (Vcharset_mojikyo_pj_{1..21}): Deleted.
1147 (Qmin_code): New variable in UTF-2000.
1148 (Qmax_code): Likewise.
1149 (Qmother): Likewise.
1150 (Qconversion): Likewise.
1152 (Qmojikyo): Deleted.
1153 (Qmojikyo_2022_1): Deleted.
1154 (Qmojikyo_pj_{1..22}): Deleted.
1155 (mark_charset): Mark `cs->mother'.
1156 (charset_description): Add description for `mother'.
1157 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
1158 new arguments `mother' and `conversion'; use
1159 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
1160 (charset_code_point): Moved from char-ucs.h; support `mother'
1162 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
1163 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
1164 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
1165 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
1166 allow 2 as the value of `graphic' in UTF-2000; add new properties
1167 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
1168 require `final' in UTF-2000; modify for `make_charset'.
1169 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
1170 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
1171 (Fcharset_property): Support `mother', `min-code' and `max-code'.
1172 (Fencode_char): New function.
1173 (syms_of_mule_charset): Add new builtin function `encode-char' in
1174 UTF-2000; add new symbols `min-code', `max-code', `mother',
1175 `conversion' and `94x60'; delete symbols `mojikyo',
1176 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
1177 (complex_vars_of_mule_charset): Modify for `make_charset' change;
1178 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
1179 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
1181 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
1182 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
1184 * char-ucs.h (Vcharset_mojikyo): Deleted.
1185 (Vcharset_mojikyo_2022_1): Deleted.
1186 (LEADING_BYTE_MOJIKYO): Deleted.
1187 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
1188 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
1189 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
1190 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
1191 add new member `mother'; add new member `conversion'.
1192 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
1193 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
1194 (CHARSET_MOTHER): New macro.
1195 (CHARSET_CONVERSION): New macro.
1196 (CONVERSION_IDENTICAL): New macro.
1197 (CONVERSION_94x60): New macro.
1198 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
1199 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
1200 (XCHARSET_MOTHER): New macro.
1201 (XCHARSET_CONVERSION): New macro.
1202 (MIN_CHAR_MOJIKYO): Deleted.
1203 (MAX_CHAR_MOJIKYO): Deleted.
1204 (DECODE_MOJIKYO_2022): Deleted.
1205 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
1206 (charset_code_point): Changed to non-inline function.
1207 (encode_char_1): Use `charset_code_point'.
1208 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
1210 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1212 * lread.c (read_compiled_function): Fix prototype.
1213 (read_vector): Likewise.
1215 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1217 * lrecord.h (struct lrecord_header): Delete `older'.
1218 (set_lheader_implementation): Delete code for `older'.
1219 (set_lheader_older_implementation): Deleted.
1220 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
1221 (OLDER_RECORD_P): Deleted.
1222 (OLDER_RECORD_HEADER_P): Deleted.
1223 (alloc_older_lcrecord): Deleted.
1224 (alloc_older_lcrecord_type): Deleted.
1226 * alloc.c (all_older_lcrecords): Deleted.
1227 (alloc_older_lcrecord): Deleted.
1228 (disksave_object_finalization_1): Delete code for older objects.
1229 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
1230 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
1232 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1234 * mule-charset.c (decoding_table_put_char): Use `make_vector'
1235 instead of `make_older_vector'.
1236 (put_char_ccs_code_point): Likewise.
1237 (mark_charset): Mark `cs->decoding_table'.
1238 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
1240 * lisp.h (make_older_vector): Deleted.
1241 (make_vector_newer): Deleted.
1243 * config.h.in (HAVE_GGC): Deleted.
1245 * alloc.c (make_older_vector): Deleted.
1246 (make_vector_newer_1): Deleted.
1247 (make_vector_newer): Deleted.
1249 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1251 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
1252 (Qideograph_daikanwa_2): New variable.
1253 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
1254 (complex_vars_of_mule_charset): Add new coded-charset
1255 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
1256 `LEADING_BYTE_DAIKANWA'.
1258 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
1259 (LEADING_BYTE_DAIKANWA_1): New macro.
1260 (LEADING_BYTE_DAIKANWA_2): New macro.
1261 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
1263 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1265 * mule-charset.c (complex_vars_of_mule_charset): Change
1266 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
1267 the second revised version.
1269 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1271 * mule-charset.c (Vcharset_ucs_smp): New variable.
1272 (Vcharset_ucs_sip): New variable.
1273 (Qucs_smp): New variable.
1274 (Qucs_sip): New variable.
1275 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
1276 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
1277 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
1278 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
1279 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
1280 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
1282 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
1283 (LEADING_BYTE_UCS_SIP): New macro.
1284 (MIN_CHAR_SMP): New macro.
1285 (MAX_CHAR_SMP): New macro.
1286 (MIN_CHAR_SIP): New macro.
1287 (MAX_CHAR_SIP): New macro.
1289 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
1291 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
1294 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1296 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
1297 value; don't store value into `encoding_table' of `Lisp_Charset'.
1298 (mark_charset): `encoding_table' was deleted.
1299 (charset_description): Likewise.
1300 (make_charset): Likewise.
1301 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
1302 `put_char_ccs_code_point'.
1304 * chartab.h (Fput_char_attribute): New EXFUN.
1306 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
1307 is unified with normal symbol space.
1308 (Fget_char_attribute): Likewise.
1309 (Fput_char_attribute): Likewise; behavior of
1310 `put_char_ccs_code_point' is changed.
1312 * char-ucs.h: Include "elhash.h".
1313 (Vchar_attribute_hash_table): New external variable.
1314 (struct Lisp_Charset): Delete `encoding_table'.
1315 (CHARSET_ENCODING_TABLE): New implementation; refer
1316 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
1319 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1321 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
1324 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1326 * text-coding.c (char_encode_big5): Prefer charset-g1 than
1329 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1331 * chartab.c (uint8_byte_table_description): New constant.
1332 (uint8-byte-table): Use `uint8_byte_table_description'.
1333 (uint16_byte_table_description): New constant.
1334 (uint16-byte-table): Use `uint16_byte_table_description'.
1336 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1338 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
1339 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
1341 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1343 * mule-charset.c (Vcharset_ucs_ks): New variable.
1344 (Qucs_ks): New variable.
1345 (syms_of_mule_charset): Add new symbol `ucs-ks'.
1346 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
1348 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
1350 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1352 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
1353 (Fdecode_char): Likewise.
1355 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
1357 (Fdefine_char): Modify for Fdecode_char.
1358 (Ffind_char): Likewise.
1360 * mule-charset.c (Fdecode_char): Add new optional argument
1362 (Fdecode_builtin_char): Modify for `Fdecode_char'.
1364 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1366 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
1367 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
1368 (allocate_coding_system): Initialize initial-charsets of
1369 CODESYS_BIG5 in XEmacs UTF-2000.
1370 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
1371 CODESYS_BIG5 in XEmacs UTF-2000.
1372 (decode_coding_big5): Use initial-charset-g0 and -g1 of
1373 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
1375 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
1377 (Qideograph_hanziku_{1 .. 12}): Likewise.
1378 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
1380 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
1381 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
1382 `ideograph-hanziku-{1 .. 12}'.
1384 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
1385 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
1386 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
1387 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
1388 (DECODE_DEFINED_CHAR): New inline function.
1389 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
1391 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1393 * mule-charset.c (Vcharset_china3_jef): Renamed from
1394 `Vcharset_japanese_jef_china3'.
1395 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
1396 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
1397 `{MIN|MAX}_CHAR_JEF_CHINA3'..
1398 (syms_of_mule_charset): Rename `china3-jef' from
1399 `japanese-jef-china3'.
1400 (complex_vars_of_mule_charset): Likewise; rename
1401 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
1403 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
1404 `LEADING_BYTE_JEF_CHINA3'.
1405 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
1406 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
1408 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1410 * mule-charset.c (encode_builtin_char_1): Comment out special code
1411 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
1413 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
1414 (MAX_CHAR_MOJIKYO_0): Comment out.
1415 (MIN_CHAR_CBETA): Changed to 0x00E20000.
1416 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
1417 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
1418 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
1420 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1422 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
1423 (Qideograph_cbeta): New variable.
1424 (encode_builtin_char_1): Comment out special code for
1425 coded-charset `mojikyo' and `japanese-jef-china3'.
1426 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
1427 (complex_vars_of_mule_charset): Add new coded-charset
1430 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
1431 (MIN_CHAR_CBETA): New macro.
1432 (MAX_CHAR_CBETA): New macro.
1434 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1436 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
1437 (LEADING_BYTE_JEF_CHINA3): New macro.
1438 (MIN_CHAR_JEF_CHINA3): New macro.
1439 (MAX_CHAR_JEF_CHINA3): Likewise.
1440 (DECODE_CHAR): Fixed.
1442 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1444 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
1445 (Qjapanese_jef_china3): New variable.
1446 (encode_builtin_char_1): Support `japanese-jef-china3'.
1447 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
1448 (complex_vars_of_mule_charset): Add new coded-charset
1449 `japanese-jef-china3'.
1451 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1453 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
1454 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
1455 94^4, 96^3, 96^4, 128^n and 256^n set.
1456 (put_char_table): Use `XCHARSET_CELL_RANGE'.
1457 (map_char_table): Likewise.
1459 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1461 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
1464 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1466 * chartab.h (get_char_id_table): New inline function.
1468 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
1471 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1473 * chartab.h (decode_char_table_range): New prototype in XEmacs
1475 (put_char_id_table): New inline function in XEmacs UTF-2000.
1477 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
1479 (decode_char_table_range): Delete static declaration in XEmacs
1482 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1484 * chartab.c (put_char_id_table): Use `put_char_table'.
1486 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1488 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
1489 (map_over_uint16_byte_table): Likewise.
1490 (map_over_byte_table): Likewise.
1491 (map_char_table): Modify for `map_over_uint8_byte_table',
1492 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
1495 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1497 * chartab.c (struct map_char_table_for_charset_arg): New
1499 (map_char_table_for_charset_fun): New function.
1500 (map_char_table): Use `map_char_table' for encoding_table of
1503 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1505 * chartab.c (map_char_table): Check a character is found in
1506 range->charset instead of non default value is defined in
1507 char-table when range is CHARTAB_RANGE_ROW.
1509 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1511 * chartab.c (map_char_id_table): Deleted.
1512 (Fmap_char_attribute): Use `map_char_table' instead of
1513 `map_char_id_table'.
1515 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1517 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
1519 (update_syntax_table): Deleted in XEmacs UTF-2000.
1521 * syntax.c (find_defun_start): Use `syntax_table' instead of
1522 `mirror_syntax_table' in XEmacs UTF-2000.
1523 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
1525 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
1527 (Fmatching_paren): Likewise.
1528 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
1530 (find_start_of_comment): Likewise.
1531 (find_end_of_comment): Likewise.
1532 (Fforward_comment): Likewise.
1533 (scan_lists): Likewise.
1534 (char_quoted): Likewise.
1535 (Fbackward_prefix_chars): Likewise.
1536 (scan_sexps_forward): Likewise.
1537 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
1538 (update_syntax_table): Likewise.
1540 * search.c (skip_chars): Use `syntax_table' instead of
1541 `mirror_syntax_table' in XEmacs UTF-2000.
1542 (wordify): Likewise.
1543 (Freplace_match): Likewise.
1545 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
1546 `mirror_syntax_table' in XEmacs UTF-2000.
1547 (WORDCHAR_P_UNSAFE): Likewise.
1548 (re_match_2_internal): Likewise.
1550 * font-lock.c (find_context): Use `buf->syntax_table' instead of
1551 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1553 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
1554 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
1556 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
1559 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
1561 (print_char_table): Print `default_value' in XEmacs UTF-2000.
1562 (char_table_description): Delete `mirror_table' in XEmacs
1564 (fill_char_table): Don't call `update_syntax_table' in XEmacs
1566 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
1567 (Fcopy_char_table): Likewise.
1568 (put_char_table): Don't call `update_syntax_table' in XEmacs
1571 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
1572 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1573 (casify_region_internal): Likewise.
1575 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
1577 * buffer.c (common_init_complex_vars_of_buffer): Don't use
1578 `mirror_syntax_table' in XEmacs UTF-2000.
1580 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
1581 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1582 (Fexpand_abbrev): Likewise.
1584 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1586 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
1588 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1590 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
1591 (map_over_uint16_byte_table): Likewise.
1592 (map_over_byte_table): Likewise.
1593 (get_char_id_table): Refer `cit->default_value'.
1594 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1595 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
1596 of character-id ranges.
1597 (mark_char_table): Mark `ct->default_value'.
1598 (char_table_description): Add `default_value'.
1599 (fill_char_table): Use `default_value'.
1600 (decode_char_table_range): Decode `nil' as
1601 `CHARTAB_RANGE_DEFAULT'.
1602 (get_char_id_table): Refer `cit->default_value'.
1603 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1604 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
1605 temporary hack; check value of char-table is bound or not.
1606 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
1608 * chartab.h (struct Lisp_Char_Table): Add new member
1609 `default_value' in XEmacs UTF-2000.
1610 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
1611 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
1614 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1616 * chartab.h (Lisp_Char_ID_Table): Deleted.
1618 * chartab.c (char_table_description): Fix typo.
1619 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
1620 `Lisp_Char_ID_Table'.
1622 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1624 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
1627 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
1630 * chartab.h (XCHAR_ID_TABLE): Deleted.
1631 (XSETCHAR_ID_TABLE): Deleted.
1632 (CHAR_ID_TABLE_P): Deleted.
1634 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
1636 (Fget_composite_char): Likewise.
1637 (put_char_table): Likewise.
1638 (add_char_attribute_alist_mapper): Fixed.
1639 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
1641 (Fget_char_attribute): Likewise.
1642 (Fget_char_attribute): Likewise.
1643 (Fmap_char_attribute): Likewise.
1645 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
1647 (encode_char_1): Likewise.
1649 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1651 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
1654 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
1655 instead of `XCHAR_ID_TABLE'.
1656 (remove_char_ccs): Likewise.
1658 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
1660 (Fget_composite_char): Likewise.
1661 (Fchar_variants): Likewise.
1662 (put_char_table): Likewise.
1663 (add_char_attribute_alist_mapper): Likewise.
1664 (Fchar_attribute_alist): Likewise.
1665 (Fget_char_attribute): Likewise.
1666 (Fput_char_attribute): Likewise.
1667 (Fmap_char_attribute): Likewise.
1668 (Fmap_char_attribute): Likewise.
1670 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
1672 (encode_char_1): Likewise.
1674 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1676 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
1677 `Lisp_Char_ID_Table'.
1678 (mark_char_id_table): Deleted.
1679 (print_char_id_table): Likewise.
1680 (char_id_table_equal): Likewise.
1681 (char_id_table_hash): Likewise.
1682 (char_id_table_description): Likewise.
1683 (char_id_table): Likewise.
1684 (make_char_id_table): Use `Fmake_char_table' and
1686 (get_char_id_table): Use `Lisp_Char_Table' instead of
1687 `Lisp_Char_ID_Table'.
1688 (put_char_id_table): Likewise.
1689 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
1691 (Fremove_char_attribute): Likewise.
1692 (syms_of_chartab): Don't define type `char-id-table'.
1694 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
1695 (char_id_table): Likewise.
1696 (GC_CHAR_ID_TABLE_P): Likewise.
1697 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
1698 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
1699 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
1700 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
1701 (get_char_id_table): Use `Lisp_Char_Table' instead of
1702 `Lisp_Char_ID_Table'.
1703 (put_char_id_table_0): Likewise.
1704 (put_char_id_table): Likewise.
1706 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1708 * chartab.h: Lisp_Byte_Table related codes are moved from
1711 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
1713 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1715 * chartab.h: Don't include "chartab.h".
1716 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
1717 (Lisp_Char_ID_Table): Likewise.
1718 (char_id_table): Likewise.
1719 (XCHAR_ID_TABLE): Likewise.
1720 (XSETCHAR_ID_TABLE): Likewise.
1721 (CHAR_ID_TABLE_P): Likewise.
1722 (GC_CHAR_ID_TABLE_P): Likewise.
1723 (get_char_id_table): Likewise.
1725 * char-ucs.h: Include "chartab.h".
1726 (struct Lisp_Char_ID_Table): Moved to chartab.h.
1727 (Lisp_Char_ID_Table): Likewise.
1728 (char_id_table): Likewise.
1729 (XCHAR_ID_TABLE): Likewise.
1730 (XSETCHAR_ID_TABLE): Likewise.
1731 (CHAR_ID_TABLE_P): Likewise.
1732 (GC_CHAR_ID_TABLE_P): Likewise.
1733 (get_char_id_table): Likewise.
1735 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1737 * chartab.c (copy_uint8_byte_table): New function.
1738 (copy_uint16_byte_table): New function.
1739 (copy_byte_table): New function.
1740 (map_over_uint8_byte_table): Modify to avoid huge numbers of
1742 (map_over_uint16_byte_table): Likewise.
1743 (map_over_byte_table): Likewise.
1744 (get_byte_table): Move prototype to chartab.h.
1745 (put_byte_table): Likewise.
1746 (put_char_id_table_0): Moved to chartab.h.
1747 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
1748 (char_table_entry_equal): Likewise.
1749 (char_table_entry_hash): Likewise.
1750 (char_table_entry_description): Likewise.
1751 (char_table_entry): Likewise.
1752 (make_char_table_entry): Likewise.
1753 (copy_char_table_entry): Likewise.
1754 (get_non_ascii_char_table_value): Likewise.
1755 (map_over_charset_ascii): Likewise.
1756 (map_over_charset_control_1): Likewise.
1757 (map_over_charset_row): Likewise.
1758 (map_over_other_charset): Likewise.
1759 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
1760 (print_char_table): Likewise.
1761 (char_table_equal): Likewise.
1762 (char_table_hash): Likewise.
1763 (char_table_description): Likewise.
1764 (fill_char_table): Likewise.
1765 (Fcopy_char_table): Likewise.
1766 (get_char_table): Likewise.
1767 (Fget_range_char_table): Likewise.
1768 (put_char_table): Likewise.
1769 (map_char_table): Likewise.
1770 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
1773 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1775 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
1776 `Vauto_fill_chars' in XEmacs UTF-2000.
1778 * chartab.h (get_byte_table): New prototype [moved from
1780 (put_byte_table): Likewise [moved from chartab.c].
1781 (put_char_id_table_0): New inline function [moved from chartab.c].
1782 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
1783 (Lisp_Char_Table_Entry): Likewise.
1784 (char_table_entry): Likewise.
1785 (XCHAR_TABLE_ENTRY): Likewise.
1786 (XSETCHAR_TABLE_ENTRY): Likewise.
1787 (CHAR_TABLE_ENTRYP): Likewise.
1788 (CHECK_CHAR_TABLE_ENTRY): Likewise.
1789 (NUM_ASCII_CHARS): Likewise.
1790 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
1791 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
1793 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1795 * chartab.c (get_char_id_table): Change interface.
1796 (put_char_id_table_0): New function.
1797 (put_char_id_table): Change interface; new implementation.
1798 (Fget_composite_char): Modify for interface change of
1799 `get_char_id_table'.
1800 (Fchar_variants): Likewise.
1801 (add_char_attribute_alist_mapper): Likewise.
1802 (Fchar_attribute_alist): Likewise.
1803 (Fget_char_attribute): Likewise.
1804 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
1805 as same as character as the first argument like `put-char-table';
1806 modify for interface change of `put_char_id_table'.
1807 (Fremove_char_attribute): Modify for interface change of
1808 `put_char_id_table'.
1810 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1812 * text-coding.c: Sync up with XEmacs 21.2.41.
1813 (COMPOSE_ADD_CHAR): Modify for interface change of
1814 `get_char_id_table'.
1816 * mule-charset.c (put_char_ccs_code_point): Modify for interface
1817 change of `put_char_id_table'.
1818 (remove_char_ccs): Likewise.
1820 * chartab.h (put_char_id_table): Change interface.
1822 * char-ucs.h (get_char_id_table): Change interface.
1823 (charset_code_point): Modify for interface change of
1824 `get_char_id_table'.
1825 (encode_char_1): Likewise.
1827 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1829 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
1831 (map_over_uint16_byte_table): Likewise.
1832 (map_over_byte_table): Likewise.
1833 (map_char_id_table): Add new argument `range' like
1835 (Fmap_char_attribute): Add new argument `range' like
1838 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1840 * chartab.c (map_over_uint8_byte_table): Change interface of
1841 mapping function to use struct chartab_range instead of Emchar.
1842 (map_over_uint16_byte_table): Likewise.
1843 (map_over_byte_table): Likewise.
1844 (map_char_id_table): Likewise.
1845 (struct slow_map_char_id_table_arg): Deleted.
1846 (slow_map_char_id_table_fun): Deleted.
1847 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1848 function `slow_map_char_table_fun' instead of struct
1849 `slow_map_char_id_table_arg' and function
1850 `slow_map_char_id_table_fun'.
1852 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1854 * mule-charset.c: Move char-it-table related codes to chartab.c.
1855 (Vutf_2000_version): Moved to chartab.c.
1856 (Fdefine_char): Likewise.
1857 (Ffind_char): Likewise.
1858 (syms_of_mule_charset): Move types `uint8-byte-table',
1859 `uint16-byte-table', `byte-table' and `char-id-table' to
1860 chartab.c; move functions `char_attribute_list,
1861 `find_char_attribute_table, `char_attribute_alist,
1862 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1863 `map_char_attribute, `define_char, `find_char, `char_variants and
1864 `get_composite_char to chartab.c; move symbols `=>ucs',
1865 `->decomposition', `compat', `isolated', `initial', `medial',
1866 `final', `vertical', `noBreak', `fraction', `super', `sub',
1867 `circle', `square', `wide', `narrow', `small' and `font' to
1869 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1870 setting codes for `Vcharacter_composition_table' and
1871 `Vcharacter_variant_table' to chartab.c.
1872 (complex_vars_of_mule_charset): Move setting code for
1873 `Vchar_attribute_hash_table' to chartab.c.
1875 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1876 (make_char_id_table): New prototype.
1877 (put_char_id_table): Likewise.
1878 (Fget_char_attribute): Likewise.
1880 * chartab.c: Move char-id-table related code from mule-charset.c.
1881 (Vutf_2000_version): Moved from mule-charset.c.
1883 * char-ucs.h (Qucs): New external variable.
1884 (put_char_ccs_code_point): New prototype.
1885 (remove_char_ccs): Likewise.
1887 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1889 * mule-charset.c (Vcharset_ucs_jis): New variable.
1890 (Qucs_jis): Likewise.
1891 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1892 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1894 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1896 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1898 * mule-charset.c (map_over_uint8_byte_table): New function.
1899 (map_over_uint16_byte_table): Likewise.
1900 (map_over_byte_table): Likewise.
1901 (map_char_id_table): Likewise.
1902 (slow_map_char_id_table_fun): Likewise.
1903 (Fmap_char_attribute): Likewise.
1904 (syms_of_mule_charset): Add new function `map-char-attribute'.
1906 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1908 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1909 (syms_of_mule_charset): Add new function `find-char'.
1911 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1913 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1915 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1916 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1918 (complex_vars_of_mule_charset): Add new coded-charset
1919 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1920 `ideograph-gt-pj-*'.
1922 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1924 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1926 * mule-charset.c (encode_builtin_char_1): Purge codes about
1927 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1928 {MIN|MAX}_CHAR_HEBREW.
1929 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1930 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1932 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1933 (MAX_CHAR_GREEK): Purged.
1934 (MIN_CHAR_CYRILLIC): Purged.
1935 (MAX_CHAR_CYRILLIC): Purged.
1936 (MIN_CHAR_HEBREW): Commented out.
1937 (MAX_CHAR_HEBREW): Likewise.
1939 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1941 * mule-charset.c (Qto_ucs): New variable.
1942 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1943 (Fdefine_char): Likewise.
1944 (syms_of_mule_charset): Add new symbol `=>ucs'.
1946 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1948 * mule-charset.c (Fdecode_char): Fixed.
1950 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1952 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1953 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1956 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1958 * mule-charset.c (Vcharset_ucs_big5): New variable.
1959 (Qucs_big5): Likewise.
1960 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1961 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1963 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1965 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1967 * mule-charset.c (decode_builtin_char): Check Big5 code range
1968 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1970 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1972 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1973 (Qchinese_gb12345): Likewise.
1974 (Fdecode_builtin_char): Fixed.
1975 (syms_of_mule_charset): Add `chinese-gb12345'.
1976 (complex_vars_of_mule_charset): Add coded-charset
1979 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1980 (LEADING_BYTE_CHINESE_GB12345): New macro.
1982 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1984 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
1985 and `latin-viscii-upper' for `latin-viscii'.
1987 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1989 * mule-charset.c (Fdecode_builtin_char): Comment out
1990 regularization code for ISO-IR GR representation.
1992 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1994 * mule-charset.c (decode_builtin_char): New function; renamed from
1995 `make_builtin_char'; return -1 instead of signal.
1996 (Fdecode_builtin_char): Use `decode_builtin_char'.
1998 * char-ucs.h (decode_builtin_char): New prototype; renamed from
1999 `make_builtin_char'.
2000 (DECODE_CHAR): Use `decode_builtin_char' instead of
2001 `make_builtin_char'; use mapping table of `chinese-big5' for
2002 `chinese-big5-{1,2}'.
2004 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2006 * text-coding.c (char_encode_big5): New function.
2007 (char_finish_big5): Likewise.
2008 (reset_encoding_stream): Use `char_encode_big5' and
2009 `char_finish_big5' for CODESYS_BIG5.
2010 (mule_encode): Don't use `encode_coding_big5'.
2011 (encode_coding_big5): Deleted.
2013 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2015 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2016 0x81- in XEmacs UTF-2000.
2017 (detect_coding_big5): Likewise.
2019 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2021 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2022 generate character-id if the CCS property does not have
2023 corresponding predefined character.
2024 (make_builtin_char): Return -1 if corresponding predefined
2025 character is not found.
2026 (Fdecode_char): Return nil if corresponding character is not
2028 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2029 don't map to builtin ucs space.
2031 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2033 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2034 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2036 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2038 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2039 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2040 (Qideograph_gt): Likewise.
2041 (Qideograph_gt_pj_{1..11}): Likewise.
2042 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2043 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2044 `ideograph-gt-pj-11'.
2045 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2046 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2047 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
2049 * char-ucs.h (LEADING_BYTE_GT): New macro.
2050 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
2051 (MIN_CHAR_GT): Likewise.
2052 (MAX_CHAR_GT): Likewise.
2054 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2056 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
2057 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
2059 * doprnt.c (unsigned_int_converters): Add `c'.
2060 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2062 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2063 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2065 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2066 (MAX_CHAR_MOJIKYO_0): New macro.
2067 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2069 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2071 * mule-charset.c (Fdefine_char): Delete cemented out code.
2072 (encode_builtin_char_1): Modify for new allocation of builtin
2075 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2077 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2079 * mule-charset.c (Vcharset_ucs_cns): New variable.
2080 (Qucs_cns): New variable.
2081 (syms_of_mule_charset): Add new symbol `ucs-cns'.
2082 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
2084 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2086 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
2088 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2090 * search.c (search_buffer): Make `charset_base_code' as
2091 character-id >> 6 to eliminate the corresponding last byte in
2092 UTF-8 representation [I'm not sure it is right thing].
2093 (boyer_moore): Likewise.
2095 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2097 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
2098 representation in MULE.
2100 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2102 * text-coding.c (Fmake_coding_system): Use
2103 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
2104 `EXTERNAL_PROPERTY_LIST_LOOP'.
2106 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2108 * text-coding.c (decode_output_utf8_partial_char): New function.
2109 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
2111 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2113 * text-coding.c (decode_coding_utf8): Output original byte
2114 sequence if it is broken; change order of conditions.
2116 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
2119 * mb-multibyte.h (BYTE_ASCII_P):
2120 Use bit ops for char-signedness safety.
2121 (BYTE_C0_P): Use bit ops for char-signedness safety.
2122 (BYTE_C1_P): Use bit ops for char-signedness safety.
2124 * character.h: (XCHAR_OR_CHAR_INT):
2125 Always use inline function.
2126 Remove redundant type checking assert() - XINT will abort quite
2129 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2131 * text-coding.c: (Fencode_shift_jis_char):
2132 (Fencode_big5_char):
2133 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2134 Replace 0 with '\0' when working with bytes.
2135 Replace initial "(" with "\(" in docstrings.
2137 (Fmake_coding_system):
2138 When type is ccl and value is vector, register it with a proper
2139 symbol. And checks whether the given ccl program is valid.
2140 (mule_decode): When calling ccl_driver, if src indicates
2141 NULL pointer, set an empty string instead.
2142 (mule_encode): Likewise.
2145 (detect_coding_sjis):
2146 (decode_coding_sjis):
2147 (detect_coding_big5):
2148 (decode_coding_big5):
2149 (detect_coding_ucs4):
2150 (decode_coding_ucs4):
2151 (detect_coding_utf8):
2152 (decode_coding_utf8):
2153 (detect_coding_iso2022):
2154 (decode_coding_iso2022):
2155 (decode_coding_no_conversion):
2157 Make all detecting and decoding functions take an Extbyte * arg.
2158 (text_encode_generic):
2159 (encode_coding_big5):
2160 (encode_coding_no_conversion):
2162 Make all encoding functions take a Bufbyte * arg.
2163 Use size_t instead of unsigned int for memory sizes.
2164 Only cast to unsigned char whenever dereferencing Extbyte *.
2166 (struct lrecord_description fcd_description_1): Use countof.
2167 (complex_vars_of_file_coding):
2168 Use countof instead of sizeof.
2169 Use CHECK_NATNUM instead of CHECK_INT.
2171 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2173 * mule-charset.c (Fget_char_attribute): Add new optional argument
2175 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
2176 (remove_char_ccs): Likewise.
2178 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2180 * text-coding.c (char_encode_shift_jis): New implementation in
2182 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
2185 * mule-charset.c (Vcharset_chinese_big5): New variable in
2187 (Qchinese_big5): New variable in UTF-2000.
2188 (BIG5_SAME_ROW): New macro in UTF-2000.
2189 (make_builtin_char): Use builtin characters of
2190 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
2191 characters of `Vcharset_chinese_big5'.
2192 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
2193 (complex_vars_of_mule_charset): Add new coded-charset
2194 `chinese-big5' in UTF-2000.
2196 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
2197 (Vcharset_chinese_big5): New external variable declaration.
2198 (Vcharset_japanese_jisx0208_1990): Likewise.
2200 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2202 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
2204 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
2206 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2208 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
2209 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
2210 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
2213 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2215 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
2217 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2219 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2222 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2224 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
2225 for `CHARSET_BY_ATTRIBUTES'.
2226 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2227 `CHARSET_BY_ATTRIBUTES'.
2229 * text-coding.c (struct decoding_stream): Rename member `CH' to
2231 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
2232 (decode_coding_sjis): Likewise.
2233 (decode_coding_big5): Likewise.
2234 (decode_coding_ucs4): Likewise.
2235 (decode_coding_utf8): Likewise.
2236 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2237 `CHARSET_BY_ATTRIBUTES'.
2238 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
2239 `str->counter'; decode 3, 4 bytes sets.
2240 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
2242 (decode_coding_no_conversion): Use `str->cpos' instead of
2245 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
2246 (Qmojikyo_2022_1): New variable.
2247 (make_charset): Don't use `CHARSET_TYPE_*'.
2248 (range_charset_code_point): Support coded-charset
2250 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
2251 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
2252 `CHARSET_BY_ATTRIBUTES'.
2253 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
2254 `CHARSET_BY_ATTRIBUTES'.
2255 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
2256 (complex_vars_of_mule_charset): Add new coded-charset
2259 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
2260 interface; changed to inline function.
2262 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
2263 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
2264 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
2265 (CHARSET_TYPE_94): Deleted.
2266 (CHARSET_TYPE_94X94): Deleted.
2267 (CHARSET_TYPE_96): Deleted.
2268 (CHARSET_TYPE_96X96): Deleted.
2269 (CHARSET_TYPE_128): Deleted.
2270 (CHARSET_TYPE_128X128): Deleted.
2271 (CHARSET_TYPE_256): Deleted.
2272 (CHARSET_TYPE_256X256): Deleted.
2273 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
2275 (DECODE_MOJIKYO_2022): New inline function.
2276 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
2277 `Vcharset_mojikyo_2022_1'.
2279 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2281 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
2283 (put_byte_table): Likewise.
2284 (char_id_table_equal): Use `get_byte_table' [new implementation].
2286 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2288 * mule-charset.c: Include <limits.h> in UTF-2000.
2289 (BT_UINT8_MIN): New macro in UTF-2000.
2290 (BT_UINT8_MAX): New macro in UTF-2000.
2291 (BT_UINT8_t): New macro in UTF-2000.
2292 (BT_UINT8_nil): New macro in UTF-2000.
2293 (BT_UINT8_unbound): New macro in UTF-2000.
2294 (INT_UINT8_P): New inline function in UTF-2000.
2295 (UINT8_VALUE_P): New inline function in UTF-2000.
2296 (UINT8_ENCODE): New inline function in UTF-2000.
2297 (UINT8_DECODE): New inline function in UTF-2000.
2298 (mark_uint8_byte_table): New function in UTF-2000.
2299 (print_uint8_byte_table): New function in UTF-2000.
2300 (uint8_byte_table_equal): New function in UTF-2000.
2301 (uint8_byte_table_hash): New function in UTF-2000.
2302 (make_uint8_byte_table): New function in UTF-2000.
2303 (uint8_byte_table_same_value_p): New function in UTF-2000.
2304 (BT_UINT16_MIN): New macro in UTF-2000.
2305 (BT_UINT16_MAX): New macro in UTF-2000.
2306 (BT_UINT16_t): New macro in UTF-2000.
2307 (BT_UINT16_nil): New macro in UTF-2000.
2308 (BT_UINT16_unbound): New macro in UTF-2000.
2309 (INT_UINT16_P): New inline function in UTF-2000.
2310 (UINT16_VALUE_P): New inline function in UTF-2000.
2311 (UINT16_ENCODE): New inline function in UTF-2000.
2312 (UINT16_DECODE): New inline function in UTF-2000.
2313 (UINT8_TO_UINT16): New inline function in UTF-2000.
2314 (mark_uint16_byte_table): New function in UTF-2000.
2315 (print_uint16_byte_table): New function in UTF-2000.
2316 (uint16_byte_table_equal): New function in UTF-2000.
2317 (uint16_byte_table_hash): New function in UTF-2000.
2318 (make_uint16_byte_table): New function in UTF-2000.
2319 (uint16_byte_table_same_value_p): New function in UTF-2000.
2320 (print_byte_table): New function in UTF-2000.
2321 (byte-table): Use `print_byte_table' as printer.
2322 (make_byte_table): Delete second argument `older'.
2323 (byte_table_same_value_p): New function in UTF-2000.
2324 (copy_byte_table): Deleted.
2325 (get_byte_table): New function in UTF-2000.
2326 (put_byte_table): New function in UTF-2000.
2327 (print_char_id_table): New function in UTF-2000.
2328 (char-id-table): Use `print_char_id_table' as printer.
2329 (make_char_id_table): Delete second argument `older'.
2330 (get_char_id_table): Use `get_byte_table [new implementation].
2331 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
2333 (Ffind_char_attribute_table): New function in UTF-2000.
2334 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2335 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
2336 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
2337 (syms_of_mule_charset): Add new function
2338 `find-char-attribute-table' in UTF-2000.
2340 * lrecord.h (enum lrecord_type): Add
2341 `lrecord_type_uint16_byte_table' and
2342 `lrecord_type_uint8_byte_table'.
2344 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
2345 (Lisp_Uint8_Byte_Table): New type.
2346 (XUINT8_BYTE_TABLE): New macro.
2347 (XSETUINT8_BYTE_TABLE): New macro.
2348 (UINT8_BYTE_TABLE_P): New macro.
2349 (GC_UINT8_BYTE_TABLE_P): New macro.
2350 (struct Lisp_Uint16_Byte_Table): New structure.
2351 (Lisp_Uint16_Byte_Table): New type.
2352 (XUINT16_BYTE_TABLE): New macro.
2353 (XSETUINT16_BYTE_TABLE): New macro.
2354 (UINT16_BYTE_TABLE_P): New macro.
2355 (GC_UINT16_BYTE_TABLE_P): New macro.
2357 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2359 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
2360 (Vcharacter_ideographic_strokes_table): Deleted.
2361 (Vcharacter_total_strokes_table): Deleted.
2362 (Vcharacter_morohashi_daikanwa_table): Deleted.
2363 (Vcharacter_decomposition_table): Deleted.
2364 (Qname): Deleted because it is duplicated.
2365 (Qideographic_radical): Deleted.
2366 (Qideographic_strokes): Deleted.
2367 (Qtotal_strokes): Deleted.
2368 (Qmorohashi_daikanwa): Deleted.
2369 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
2370 `ideographic-radical', `ideographic-strokes', `total-strokes',
2371 `morohashi-daikanwa' and `->decomposition'.
2372 (Fget_char_attribute): Likewise.
2373 (Fput_char_attribute): Likewise; use `make-vector' instead of
2374 `make_older_vector' for `->decomposition' value.
2375 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
2376 `ideograph-daikanwa'.
2377 (syms_of_mule_charset): Delete builtin symbols `name',
2378 `ideographic-radical', `ideographic-strokes', `total-strokes' and
2379 `morohashi-daikanwa'.
2380 (vars_of_mule_charset): Don't setup
2381 `Vcharacter_ideographic_radical_table',
2382 `Vcharacter_ideographic_strokes_table',
2383 `Vcharacter_total_strokes_table',
2384 `Vcharacter_morohashi_daikanwa_table' and
2385 `Vcharacter_decomposition_table'.
2387 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2389 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
2390 `make_older_vector', `make_vector_newer_1' and
2391 `make_vector_newer'.
2393 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
2394 `make_older_vector' and `make_vector_newer'.
2396 * config.h.in (HAVE_GGC): New macro.
2398 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2400 * mule-charset.c (struct char_attribute_list_closure): New
2401 structure in UTF-2000.
2402 (add_char_attribute_to_list_mapper): New function in UTF-2000.
2403 (Fchar_attribute_list): Likewise.
2404 (Fset_charset_mapping_table): Use `make_vector_newer'.
2405 (Fdecode_builtin_char): New function in UTF-2000.
2406 (syms_of_mule_charset): Add new function `char-attribute-list' and
2407 `decode-builtin-char' in UTF-2000.
2409 * lisp.h (make_vector_newer): New prototype.
2411 * alloc.c (make_vector_newer_1): New function.
2412 (make_vector_newer): New function.
2414 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2416 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
2419 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2421 * mule-charset.c (Vchar_attribute_hash_table): New variable.
2422 (Vcharacter_attribute_table): Deleted.
2423 (Vcharacter_name_table): Deleted.
2424 (put_char_attribute): Deleted.
2425 (remove_char_attribute): Deleted.
2426 (struct char_attribute_alist_closure): New structure.
2427 (add_char_attribute_alist_mapper): New function.
2428 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
2429 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
2430 (Fget_char_attribute): Likewise.
2431 (Fput_char_attribute): Likewise.
2432 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
2433 of `remove_char_attribute'.
2434 (Fdefine_char): Return character.
2435 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
2436 and `Vcharacter_name_table'.
2437 (complex_vars_of_mule_charset): Likewise
2438 `Vchar_attribute_hash_table'.
2440 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2442 * character.h (CHARC_CHARSET): New macro.
2443 (CHARC_CHARSET_ID): New macro.
2444 (CHARC_CODE_POINT): New macro.
2445 (CHARC_COLUMNS): New macro.
2446 (CHARC_TO_CHAR): New inline function.
2447 (CHARC_EQ): New inline function.
2448 (CHARC_ASCII_EQ): New inline function.
2449 (CHARC_IS_SPACE): New inline function.
2450 (ASCII_TO_CHARC): New inline function.
2452 * char-ucs.h (encode_char_2): Deleted.
2453 (ENCODE_CHAR): Use `encode_char_1' again.
2454 (breakup_char_1): Likewise.
2455 (CHAR_TO_CHARC): New inline function.
2457 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
2459 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2461 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
2462 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
2463 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
2464 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
2465 (create_string_text_block): Use `CHARC_ASCII_EQ' and
2467 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
2469 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
2471 (x_output_display_block): Use `CHARC_CHARSET' and
2474 * redisplay-tty.c (tty_output_display_block): Use
2476 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
2478 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
2480 * insdel.c (find_charsets_in_charc_string): Use
2482 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
2483 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
2484 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
2485 (convert_charc_string_into_malloced_string): Likewise.
2487 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2489 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
2490 instead of <Emchar_dynarr *> for buf; use
2491 `convert_bufbyte_string_into_charc_dynarr' instead of
2492 `convert_bufbyte_string_into_emchar_dynarr'; use
2493 `find_charsets_in_charc_string' instead of
2494 `find_charsets_in_emchar_string'.
2497 - Include "character.h".
2498 (struct rune): New member `cglyph'; delete member `chr'.
2500 * redisplay.c (redisplay_text_width_charc_string): New function;
2501 delete `redisplay_text_width_emchar_string'.
2502 (rtw_charc_dynarr): New variable; renamed from
2503 `rtw_emchar_dynarr'.
2504 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
2505 `rtw_emchar_dynarr'; use
2506 `convert_bufbyte_string_into_charc_dynarr' instead of
2507 `convert_bufbyte_string_into_emchar_dynarr'; use
2508 `redisplay_text_width_charc_string' instead of
2509 `redisplay_text_width_emchar_string'.
2510 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
2511 instead of `rtw_emchar_dynarr'; use
2512 `convert_bufbyte_string_into_charc_dynarr' instead of
2513 `convert_bufbyte_string_into_emchar_dynarr'.
2514 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
2515 `redisplay_text_width_charc_string' instead of
2516 `redisplay_text_width_emchar_string'.
2517 (create_text_block): Modify for <struct rune> change.
2518 (generate_formatted_string_db): Likewise.
2519 (create_string_text_block): Likewise.
2520 (pixel_to_glyph_translation): Likewise.
2522 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
2523 instead of <const Emchar *>.
2524 (x_text_width): Likewise.
2525 (x_output_display_block): Use <Charc_dynarr *> instead
2526 <Emchar_dynarr *>; modify for <structure rune> change.
2527 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
2530 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
2531 <const Emchar *>; use `charc_string_displayed_columns' instead of
2532 `emchar_string_displayed_columns'.
2533 (tty_output_display_block): Use <Charc_dynarr *> instead of
2534 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
2535 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
2536 (tty_output_charc_dynarr_dynarr): New variable; renamed from
2537 `tty_output_emchar_dynarr_dynarr'.
2538 (tty_output_charc_dynarr): New function; delete
2539 `tty_output_charc_dynarr'.
2541 * redisplay-output.c (compare_runes): Modify for `struct rune'.
2542 (redisplay_output_layout): Use <Charc_dynarr *> instead of
2543 <Emchar_dynarr *> for buf; use
2544 `convert_bufbyte_string_into_charc_dynarr' instead of
2545 `convert_bufbyte_string_into_emchar_dynarr'.
2547 * frame.c (title_string_charc_dynarr): New variable; renamed from
2548 `title_string_emchar_dynarr'.
2549 (generate_title_string): Use `title_string_charc_dynarr' instead
2550 of `title_string_emchar_dynarr'; use
2551 `convert_charc_string_into_malloced_string' instead of
2552 `convert_emchar_string_into_malloced_string'.
2553 (init_frame): Use `title_string_charc_dynarr' instead of
2554 `title_string_emchar_dynarr'.
2557 - Include "character.h".
2558 (struct console_methods): Use <const Charc *> instead of <const
2559 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
2560 <Emchar_dynarr *> in output_string_method.
2562 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
2565 * console-stream.c (stream_text_width): Use <const Charc *>
2566 instead of <const Emchar *>.
2568 * character.h (Charc_dynarr): New type.
2570 * char-ucs.h (structure Charc): New structure; define new type
2573 * char-lb.h (DECODE_CHAR): New inline function.
2574 (encode_char_1): New inline function.
2575 (ENCODE_CHAR): New macro.
2576 (structure Charc): New structure; define new type `Charc'.
2578 * char-1byte.h (Vcharset_control_1): New macro.
2579 (Vcharset_latin_iso8859_1): New macro.
2580 (DECODE_CHAR): New inline function.
2581 (encode_char_1): New inline function.
2582 (ENCODE_CHAR): New macro.
2583 (structure Charc): New structure; define new type `Charc'.
2585 * insdel.c (find_charsets_in_charc_string): New function; delete
2586 `find_charsets_in_emchar_string'.
2587 (charc_string_displayed_columns): New function; delete
2588 `emchar_string_displayed_columns'.
2589 (convert_bufbyte_string_into_charc_dynarr): New function; delete
2590 `convert_bufbyte_string_into_emchar_dynarr'.
2591 (convert_charc_string_into_bufbyte_dynarr): New function; delete
2592 `convert_charc_string_into_bufbyte_dynarr'.
2593 (convert_charc_string_into_malloced_string): New function; delete
2594 `convert_charc_string_into_malloced_string'.
2596 * buffer.h (find_charsets_in_charc_string): New prototype; delete
2597 `find_charsets_in_emchar_string'.
2598 (charc_string_displayed_columns): New prototype; delete
2599 `emchar_string_displayed_columns'.
2600 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
2601 `convert_charc_string_into_bufbyte_dynarr'.
2602 (convert_charc_string_into_malloced_string): New prototype; delete
2603 `convert_charc_string_into_malloced_string'.
2605 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2607 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
2609 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2611 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
2613 * char-ucs.h: Use <short> for <Charset_ID>.
2615 * mule-charset.h, char-1byte.h: Use <unsigned char> for
2618 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2620 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2623 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2625 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
2627 (Qmorohashi_daikanwa): New variable.
2628 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
2629 for `morohashi-daikanwa' attribute.
2630 (Fget_char_attribute): Likewise.
2631 (Fput_char_attribute): Likewise.
2632 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
2633 has the same value of `ideograph-daikanwa'.
2634 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
2635 (vars_of_mule_charset): Setup
2636 `Vcharacter_morohashi_daikanwa_table'.
2638 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2640 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
2642 (add_charset_to_list_mapper): Add `key' instead of
2643 `XCHARSET_NAME (value)' to return aliases.
2645 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2647 * mule-charset.c (Vcharacter_ideographic_radical_table): New
2649 (Vcharacter_ideographic_strokes_table): New variable.
2650 (Qideographic_radical): New variable.
2651 (Qideographic_strokes): New variable.
2652 (Fchar_attribute_alist): Use
2653 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
2654 attribute; use `Vcharacter_ideographic_strokes_table' for
2655 `ideographic-strokes' attribute.
2656 (Fget_char_attribute): Likewise.
2657 (Fput_char_attribute): Likewise.
2658 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
2659 `ideographic-strokes'.
2660 (vars_of_mule_charset): Setup
2661 `Vcharacter_ideographic_radical_table' and
2662 `Vcharacter_ideographic_strokes_table'.
2664 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2666 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
2667 (Qtotal_strokes): New variable.
2668 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
2669 `total-strokes' attribute.
2670 (Fget_char_attribute): Likewise.
2671 (Fput_char_attribute): Likewise.
2672 (syms_of_mule_charset): Add new symbol `total-strokes'.
2673 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
2675 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2677 * mule-charset.c (Vcharacter_decomposition_table): New variable.
2678 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
2680 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
2681 `->decomposition' attribute.
2682 (Fput_char_attribute): Likewise.
2683 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
2685 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2687 * mule-charset.c (decoding_table_check_elements): New function.
2688 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
2690 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2692 * mule-charset.c (Fset_charset_mapping_table): Use
2693 `put_char_ccs_code_point'.
2695 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2697 * mule-charset.c (decoding_table_put_char): New inline function.
2698 (put_char_ccs_code_point): Use `decoding_table_put_char'.
2700 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2702 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
2703 (XCHARSET_BYTE_SIZE): New macro.
2704 (decoding_table_remove_char): New inline function.
2705 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
2706 `decoding_table_remove_char'.
2707 (remove_char_ccs): Use `decoding_table_remove_char'.
2708 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
2710 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2712 * mule-charset.c (Vcharacter_name_table): New variable.
2713 (Qname): New variable.
2714 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
2716 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
2717 `Vcharacter_name_table' for `name' attribute.
2718 (Fremove_char_attribute): Use function `remove_char_ccs'.
2719 (put_char_ccs_code_point): New function.
2720 (remove_char_ccs): New function.
2721 (syms_of_mule_charset): Add new symbol `name'.
2722 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
2724 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2726 * mule-charset.c (make_byte_table): Add new argument `older'.
2727 (make_char_id_table): Likewise.
2728 (copy_char_id_table): Comment out because it is not used.
2729 (put_char_id_table): Modify for `make_byte_table'.
2730 (Fput_char_attribute): Make encoding_table as older object;
2731 inherit older bit of `Vcharacter_composition_table'.
2732 (mark_charset): Don't mark `cs->encoding_table'.
2733 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
2734 normal object; make `Vcharacter_composition_table' as an older
2735 object; delete staticpro for `Vcharacter_composition_table'; make
2736 `Vcharacter_variant_table' as a normal object.
2738 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
2739 (mark_object): Don't check older object in UTF-2000.
2741 * lrecord.h (struct lrecord_header): Add new member `older' in
2743 (set_lheader_implementation): Setup `SLI_header->older' in
2745 (set_lheader_older_implementation): New macro in UTF-2000.
2746 (OLDER_RECORD_P): New macro in UTF-2000.
2747 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
2748 (alloc_older_lcrecord): New prototype in UTF-2000.
2749 (alloc_older_lcrecord_type): New macro in UTF-2000.
2751 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2753 * mule-charset.c (byte_table_description): Use
2754 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
2755 (char_id_table_description): Delete bogus `, 1'.
2756 (Fget_char_attribute): Refer encoding_table of each coded-charset
2757 to get value of coded-charset attribute of a character.
2758 (Fput_char_attribute): Use `make_older_vector' instead of
2759 `make_vector'; use encoding_table of each coded-charset to store
2760 value of coded-charset attribute of a character.
2761 (Fremove_char_attribute): Use encoding_table of each coded-charset
2762 to store value of coded-charset attribute of a character.
2763 (mark_charset): Mark `cs->encoding_table'; don't mark
2764 `cs->decoding_table'.
2765 (charset_description): Add description of new member
2767 (make_charset): Initialize `encoding_table'.
2769 * char-ucs.h (struct Lisp_Charset): Add new member
2771 (CHARSET_ENCODING_TABLE): New macro.
2772 (XCHARSET_ENCODING_TABLE): New macro.
2773 (charset_code_point): New implementation.
2774 (encode_char_1): Likewise.
2776 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
2777 (disksave_object_finalization_1): Call finalizers of
2778 `all_older_lcrecords' in UTF-2000.
2779 (make_older_vector): New function in UTF-2000.
2780 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
2783 * lisp.h (make_older_vector): New prototype in UTF-2000.
2785 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2787 * lrecord.h (enum lrecord_type): Rename
2788 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
2790 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
2791 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
2792 `get_char_code_table'.
2794 * mule-charset.c (mark_char_id_table): Renamed from
2795 `mark_char_code_table'.
2796 (char_id_table_equal): Renamed from `char_code_table_equal'.
2797 (char_id_table_hash): Renamed from `char_code_table_hash'.
2798 (make_char_id_table): Renamed from `make_char_code_table'.
2799 (copy_char_id_table): Renamed from `copy_char_code_table'.
2800 (get_char_id_table): Renamed from `get_char_code_table'.
2801 (put_char_id_table): Renamed from `put_char_code_table'.
2802 (to_char_id): Renamed from `to_char_code'.
2804 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
2805 `Lisp_Char_Code_Table'.
2806 (char_id_table): Renamed from `char_code_table'.
2807 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
2808 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
2809 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
2810 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
2811 (get_char_id_table): Renamed from `get_char_code_table'.
2813 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2815 * lrecord.h (enum lrecord_type): Rename
2816 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
2818 * mule-charset.c (mark_byte_table): Renamed from
2819 `mark_char_byte_table'.
2820 (byte_table_equal): Renamed from `char_byte_table_equal'.
2821 (byte_table_hash): Renamed from `byte_table_hash'.
2822 (make_byte_table): Renamed from `make_byte_table'.
2823 (copy_byte_table): Renamed from `copy_char_byte_table'.
2825 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
2826 `Lisp_Char_Byte_Table'.
2827 (byte_table): Renamed from `char_byte_table'.
2828 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
2829 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
2830 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
2831 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
2833 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2835 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
2836 (dfc_convert_to_internal_format): Likewise.
2838 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2839 * text-coding.c (Fcoding_system_alias_p): New function.
2840 * text-coding.c (Fcoding_system_aliasee): New function.
2841 * text-coding.c (append_suffix_to_symbol): New function.
2842 * text-coding.c (dangling_coding_system_alias_p): New function.
2843 * text-coding.c (Ffind_coding_system):
2844 * text-coding.c (Fcopy_coding_system):
2845 * text-coding.c (encode_coding_no_conversion):
2846 * text-coding.c (syms_of_file_coding):
2847 * text-coding.c (vars_of_file_coding):
2848 Rewrite coding system alias code.
2849 Allow nested aliases, like symbolic links.
2850 Allow redefinition of coding system aliases.
2851 Prevent existence of dangling coding system aliases.
2852 Eliminate convert_to_external_format.
2853 Eliminate convert_to_internal_format.
2855 * text-coding.c: Change enum eol_type to eol_type_t.
2857 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2859 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2860 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2862 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2863 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2865 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2867 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2868 `ideograph-daikanwa'.
2870 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2871 (Vcharset_ucs_bmp): Likewise.
2872 (Vcharset_mojikyo): Add new extern variable definition.
2873 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2874 (Vcharset_latin_iso8859_3): Likewise.
2875 (Vcharset_latin_iso8859_4): Likewise.
2876 (Vcharset_latin_iso8859_9): Likewise.
2877 (Vcharset_latin_viscii_lower): Likewise.
2878 (Vcharset_latin_viscii_upper): Likewise.
2879 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2880 `mojikyo' code-point is used to decode.
2881 (encode_char_2): New function [to convert `mojikyo' code-point to
2882 Mojikyo font encoding].
2883 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2884 (breakup_char_1): Likewise.
2885 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2887 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2889 * text-coding.c (Fmake_coding_system): Add document about
2890 `disable-composition' property.
2892 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2894 * text-coding.c (Qdisable_composition): New variable; delete
2896 (Fmake_coding_system): Add new property `disable-composite';
2897 delete property `composite'.
2898 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2899 instead of `!CODING_SYSTEM_COMPOSITE'.
2900 (syms_of_file_coding): Add new symbol `disable-composition';
2901 delete symbol `composite'.
2903 * file-coding.h (struct Lisp_Coding_System): Add
2904 `disable_composition'; delete `enable_composition'.
2905 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2906 `CODING_SYSTEM_COMPOSITE'.
2907 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2908 `XCODING_SYSTEM_COMPOSITE'.
2910 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2912 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2915 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2917 * text-coding.c (Qcomposite): New variable.
2918 (Fmake_coding_system): Add new property `composite'.
2919 (struct decoding_stream): Add `combined_char_count',
2920 `combined_chars' and `combining_table' in UTF-2000.
2921 (COMPOSE_FLUSH_CHARS): New macro.
2922 (COMPOSE_ADD_CHAR): New macro.
2923 (reset_decoding_stream): Reset `str->combined_char_count' and
2924 `str->combining_table' in UTF-2000.
2925 (decode_coding_iso2022): Modify for character-decomposition.
2926 (syms_of_file_coding): Add new symbol `composite'.
2928 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2930 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2931 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2932 of `Vcharacter_composition_table' if `->decomposition' property
2934 (Qlatin_tcvn5712): New variable.
2935 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2936 (complex_vars_of_mule_charset): Add new coded-charset
2939 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2941 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2943 * file-coding.h (struct Lisp_Coding_System): Add
2944 `enable_composition'.
2945 (CODING_SYSTEM_COMPOSITE): New macro.
2946 (XCODING_SYSTEM_COMPOSITE): New macro.
2948 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2950 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2952 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2954 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2955 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2957 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2959 * mule-charset.c (Vcharset_mojikyo): New variable.
2960 (Fdefine_char): Don't use coded-charset which does not have
2961 non-builtin character range to allocate character-id.
2962 (Qmojikyo): New variable.
2963 (syms_of_mule_charset): Add new symbol `mojikyo'.
2964 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2966 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2967 (LEADING_BYTE_MOJIKYO): New macro.
2968 (MIN_CHAR_MOJIKYO): New macro.
2969 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2970 (MAX_CHAR_MOJIKYO): New macro.
2972 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2974 * mule-charset.c (remove_char_attribute): Fixed.
2976 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2978 * mule-charset.c (remove_char_attribute): New function.
2979 (Fremove_char_attribute): New function.
2980 (encode_builtin_char_1): Comment out builtin-support for
2981 greek-iso8859-7 and cyrillic-iso8859-5.
2982 (Fdecode_char): Check `code' is an integer.
2983 (syms_of_mule_charset): Add `remove-char-attribute'.
2984 (MIN_CHAR_GREEK): Deleted.
2985 (MAX_CHAR_GREEK): Likewise.
2986 (MIN_CHAR_CYRILLIC): Likewise.
2987 (MAX_CHAR_CYRILLIC): Likewise.
2988 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
2989 MAX_CHAR_GREEK for `greek-iso8859-7'.
2991 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
2992 (MAX_CHAR_GREEK): Likewise.
2993 (MIN_CHAR_CYRILLIC): Likewise.
2994 (MAX_CHAR_CYRILLIC): Likewise.
2996 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
2998 * mule-charset.c (Fdefine_char): Fix problem when new code-point
2999 format is used without `ucs' property.
3000 (Fdecode_char): Fix problem with GR representation.
3001 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3002 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3004 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3006 * mule-charset.c (make_builtin_char): New function.
3007 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3008 (Fset_charset_mapping_table): Modify for new representation of
3010 (Fdecode_char): New function.
3011 (syms_of_mule_charset): Add new builtin function `decode-char' in
3014 * char-ucs.h (make_builtin_char): New prototype.
3015 (DECODE_CHAR): New inline function.
3016 (MAKE_CHAR): Use `DECODE_CHAR'.
3018 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3020 * text-coding.c (parse_charset_conversion_specs): Use
3021 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3023 (iso2022_designate): Likewise.
3025 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3026 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3028 * mule-charset.c (Vcharset_ucs): New variable.
3029 (print_charset): Change design; use `CHARSET_CHARS' and
3030 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3031 (make_charset): Change signature to specify `chars' and
3032 `dimension' instead of `type'.
3033 (range_charset_code_point): Modify for 256^n-set.
3034 (encode_builtin_char_1): Encode as `ucs' in default.
3035 (Fmake_charset): Modify for `make_charset'.
3036 (Fmake_reverse_direction_charset): Likewise.
3037 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3039 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3042 * char-ucs.h (Vcharset_ucs): New variable.
3043 (LEADING_BYTE_UCS): New macro.
3044 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3045 and `chars' to `unsigned short' from `unsigned int'.
3046 (CHARSET_TYPE): Deleted.
3047 (XCHARSET_TYPE): Deleted.
3049 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
3051 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
3053 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
3054 (ENCODE_CHAR): New macro.
3056 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3058 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3059 to 0.14 (Kawachi-Katakami).
3061 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3063 * text-coding.c (char_encode_shift_jis): Modify for
3064 `charset_code_point'.
3065 (char_encode_iso2022): Likewise.
3067 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3068 (integer) instead of list of <Lisp_Object>s (integers) as the
3069 format of code-point of a coded-charset.
3070 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3071 (encode_builtin_char_1): New function; delete
3072 `split_builtin_char'.
3073 (charset_code_point): Return <int> instead of <Lisp_Object>.
3074 (Fsplit_char): Don't use `SPLIT_CHAR'.
3076 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3077 prototype for `split_builtin_char'.
3078 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3079 (charset_code_point): Likewise.
3080 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
3081 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
3083 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
3085 * mule-charset.c (complex_vars_of_mule_charset): Don't define
3086 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
3088 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3090 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
3092 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
3093 (MAX_CHAR_OBS_94x94): Deleted.
3095 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3097 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
3099 * char-ucs.h (MAX_CHAR_BMP): New macro.
3101 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3103 * text-coding.c: Sync with r21-2-24.
3105 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3107 * file-coding.c: Modify for UTF-2000.
3109 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3111 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3114 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3116 * mule-charset.c (split_builtin_char): Delete builtin support for
3117 `katakana-jisx0201'.
3118 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
3119 BMP area in builtin representation.
3121 * char-ucs.h (MAKE_CHAR): Delete builtin support for
3122 `Vcharset_katakana_jisx0201'.
3124 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3126 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
3127 (Qisolated): New variable.
3128 (Qinitial): New variable.
3129 (Qmedial): New variable.
3130 (Qfinal): New variable.
3131 (Qvertical): New variable.
3132 (Qsmall): New variable.
3133 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
3134 `Qvertical' and `Qsmall'.
3135 (Qmojikyo_pj_[1 .. 21]): New variable.
3136 (syms_of_mule_charset): Add new symbols `isolated', `initial',
3137 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
3138 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
3141 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3143 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
3144 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
3145 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
3147 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3149 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
3150 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
3152 (Qjapanese_jisx0208_1990): New variable.
3153 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
3154 (complex_vars_of_mule_charset): Add new coded-charset
3155 `japanese-jisx0208-1990'.
3157 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
3158 (MIN_CHAR_JIS_X0208_1990): New macro.
3159 (MAX_CHAR_JIS_X0208_1990): New macro.
3161 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3163 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
3164 coded-charset is not found.
3166 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3168 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
3169 (Fdefine_char): Use `Fmake_char'.
3171 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3173 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
3174 (Vcharset_hiragana_jisx0208): Deleted.
3175 (Vcharset_katakana_jisx0208): Deleted.
3176 (Qideograph_daikanwa): New variable.
3177 (Qhiragana_jisx0208): Deleted.
3178 (Qkatakana_jisx0208): Deleted.
3179 (split_builtin_char): Split `ideograph-daikanwa'.
3180 (Fsplit_char): New implementation for UTF-2000.
3181 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
3182 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
3183 (complex_vars_of_mule_charset): Add new coded-charset
3184 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
3185 `katakana-jisx0208'.
3187 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
3188 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
3189 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
3190 (MIN_CHAR_DAIKANWA): New macro.
3191 (MAX_CHAR_DAIKANWA): New macro.
3193 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3195 * data.c (Fstring_to_number): Don't recognize floating point if
3198 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3200 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
3202 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3204 * mule-charset.c (Qsquare): New variable.
3205 (to_char_code): Add `Qsquare'.
3206 (syms_of_mule_charset): Add new symbol `square'.
3208 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3210 * mule-charset.c (Qcircle): New variable.
3211 (to_char_code): Add `Qcircle'.
3212 (syms_of_mule_charset): Add new symbol `circle'.
3214 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3216 * mule-charset.c (Qfont): New variable.
3217 (to_char_code): Add `Qfont'.
3218 (syms_of_mule_charset): Add new symbol `font'.
3220 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3222 * mule-charset.c (Qsub): New variable.
3223 (to_char_code): Add `Qsub'.
3224 (syms_of_mule_charset): Add new symbol `sub'.
3226 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3228 * mule-charset.c (Fput_char_attribute): Convert each element of
3229 VALUE to GL position if ATTRIBUTE is a GR-set,
3231 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3233 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
3234 coded-charset is a GR-set.
3236 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3238 * mule-charset.c (Fput_char_attribute): Check each element of
3239 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
3241 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3243 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
3245 (Qethiopic_ucs): New variable in UTF-2000.
3246 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
3247 (complex_vars_of_mule_charset): Add new coded-charset
3248 `ethiopic-ucs' in UTF-2000.
3250 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
3251 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3253 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3255 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
3257 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3259 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
3262 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3264 * mule-charset.c (Vcharacter_variant_table): New variable.
3265 (Q_ucs): New variable.
3266 (Fchar_variants): New function.
3267 (Fput_char_attribute): Register `->ucs' value to
3268 `Vcharacter_variant_table'.
3269 (syms_of_mule_charset): Add new function `char-variants' and new
3271 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
3273 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3275 * mule-charset.c (get_char_code_table): Allow negative character
3277 (put_char_code_table): Likewise.
3278 (Vcharacter_composition_table): New variable.
3279 (Q_decomposition): New variable.
3280 (Qwide): New variable.
3281 (Qnarrow): New variable.
3282 (Qcompat): New variable.
3283 (QnoBreak): New variable.
3284 (Qsuper): New variable.
3285 (Qfraction): New variable.
3286 (to_char_code): New function.
3287 (Fget_composite_char): New function.
3288 (Fput_char_attribute): Register `->decomposition' value to
3289 `Vcharacter_composition_table'.
3290 (syms_of_mule_charset): Add new function `get-composite-char', new
3291 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
3292 `super' and `fraction'.
3293 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
3295 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3297 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
3298 character; copy the return value.
3300 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3302 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
3304 * mule-charset.c (range_charset_code_point): Must use make_int.
3305 (split_builtin_char): New function.
3307 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3309 * mule-charset.c (char_byte_table): Change name from
3310 "char-code-table" to "char-byte-table".
3311 (mark_char_code_table): New function.
3312 (char_code_table_equal): New function.
3313 (char_code_table_hash): New function.
3314 (char_code_table_description): New constant.
3315 (char_code_table): New type.
3316 (make_char_code_table): New function.
3317 (copy_char_code_table): New function.
3318 (get_char_code_table): Modify for `char_code_table' type.
3319 (put_char_code_table): Likewise.
3320 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
3323 * char-ucs.h (char_code_table): New type.
3324 (XCHAR_CODE_TABLE): New macro.
3325 (XSETCHAR_CODE_TABLE): New macro.
3326 (CHAR_CODE_TABLE_P): New macro.
3327 (GC_CHAR_CODE_TABLE_P): New macro.
3328 (struct Lisp_Char_Code_Table): New structure.
3330 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3332 * mule-charset.c (Fmake_charset): Setup byte_offset for
3335 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
3337 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
3340 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3342 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
3345 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3347 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
3348 charset, it is regarded as a charset.
3349 (put_char_attribute): New function in UTF-2000.
3350 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
3351 charset, mapping-table of the charset is modified.
3352 (Fdefine_char): New function in UTF-2000.
3353 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
3354 `Fput_char_attribute'.
3355 (syms_of_mule_charset): Add new function `define-char' and new
3356 symbol `ucs' in UTF-2000.
3357 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
3359 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3361 * mule-charset.c (Fcharset_name): Define `byte_offset' in
3362 non-UTF-2000 configuration.
3364 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3366 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
3367 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
3369 * mule-charset.c (mark_charset): `cs->encoding_table' has been
3371 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
3372 (Fset_charset_mapping_table): Likewise.
3374 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
3375 (CHARSET_ENCODING_TABLE): Delete.
3376 (XCHARSET_ENCODING_TABLE): Delete.
3377 (charset_code_point): New interface.
3379 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3381 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
3382 instead of `charset_get_byte1' and `charset_get_byte2'.
3384 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
3385 (charset_get_byte2): Deleted.
3387 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3389 * char-ucs.h (SPLIT_CHAR): New inline function.
3390 (breakup_char_1): Use `SPLIT_CHAR'.
3392 * mule-charset.c (range_charset_code_point): New function.
3393 (charset_code_point): New function.
3395 * char-ucs.h (range_charset_code_point): New interface.
3396 (breakup_char_1): Use `range_charset_code_point'.
3398 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3400 * mule-charset.c (Fmake_charset): Delete unused local variable
3403 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
3404 (breakup_char_1): Find a charset and code-point in
3405 `Vcharacter_attribute_table'.
3407 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3409 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3412 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3414 * mule-charset.c (Vcharacter_attribute_table): New variable.
3415 (Fchar_attribute_alist): New function.
3416 (Fget_char_attribute): New function.
3417 (Fput_char_attribute): New function.
3418 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
3420 (syms_of_mule_charset): Add new function `char-attribute-alist',
3421 `get-char-attribute' and `put-char-attribute'.
3422 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
3424 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
3426 * mule-charset.c (Fmake_charset): Just use
3427 `get_unallocated_leading_byte'.
3429 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
3430 sets; don't use final-byte based number for private sets.
3432 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3434 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
3437 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3439 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3442 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3444 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
3445 of `CHAR_LEADING_BYTE' in UTF-2000.
3447 * insdel.c (find_charsets_in_bufbyte_string): Use
3448 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3449 (find_charsets_in_emchar_string): Likewise.
3451 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
3452 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3454 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
3455 (CHAR_CHARSET_ID): New macro.
3457 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3459 * chartab.c (get_char_table): Don't use type `Charset_ID' for
3460 charset-id - MIN_LEADING_BYTE.
3461 (put_char_table): Likewise.
3463 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3465 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
3466 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
3467 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
3468 (CHARSET_ID_OFFSET): New macro.
3469 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
3470 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
3471 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
3472 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3474 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3476 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
3477 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
3478 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
3479 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
3480 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
3482 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3484 * mule-charset.c (next_allocated_leading_byte): New variable in
3486 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
3487 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
3488 (get_unallocated_leading_byte): Simply use
3489 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
3490 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
3493 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
3494 (MAX_LEADING_BYTE_PRIVATE): New macro.
3495 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
3496 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
3498 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3500 * mule-charset.c (Fmake_charset): Allocate final-byte based
3501 charset-id for 94-set, 96-set and 94x94-set.
3503 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3505 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
3507 (Fmake_charset): Likewise.
3508 (complex_vars_of_mule_charset): Modify the font registry of
3509 `ucs-bmp' not to match `Ethiopic-Unicode'.
3511 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3513 * mule-charset.c (complex_vars_of_mule_charset): Add font
3514 registory of `ucs-bmp'.
3516 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3518 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
3519 coded-charsets in `default-coded-charset-priority-list' when
3520 breaking up a character.
3522 * mule-charset.c (Vcharset_latin_viscii): New variable.
3523 (Qlatin_viscii): New variable.
3524 (make_charset): Don't use `decoding_table'.
3525 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
3527 (Fset_charset_mapping_table): New implementation.
3528 (syms_of_mule_charset): Add new symbol `latin-viscii'.
3529 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
3530 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
3531 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
3532 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
3533 charset `latin_viscii'.
3535 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
3536 (CHARSET_TYPE_94X94): Change to 1 from 2.
3537 (CHARSET_TYPE_96): Change to 2 from 1.
3538 (CHARSET_TYPE_128): New macro.
3539 (CHARSET_TYPE_128X128): Change to 5 from 4.
3540 (CHARSET_TYPE_256): New macro.
3541 (CHARSET_TYPE_256X256): Change to 7 from 5.
3542 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
3544 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3546 * text-coding.c (char_encode_shift_jis): Refer
3547 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
3548 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
3550 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
3551 (char_byte_table_equal): New function in UTF-2000.
3552 (char_byte_table_hash): New function in UTF-2000.
3553 (char_byte_table_description): New constant in UTF-2000.
3554 (char_byte_table): New type in UTF-2000.
3555 (make_char_byte_table): New function in UTF-2000.
3556 (copy_char_byte_table): New function in UTF-2000.
3557 (make_char_code_table): New macro in UTF-2000.
3558 (get_char_code_table): New function in UTF-2000.
3559 (put_char_code_table): New function in UTF-2000.
3560 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3561 (charset_description): Add setting in UTF-2000.
3562 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
3563 `CHARSET_TO_BYTE1_TABLE(cs)'.
3564 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
3565 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
3566 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
3567 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
3568 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
3569 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
3570 `CHARSET_TO_BYTE2_TABLE(cs)'.
3572 * char-ucs.h (char_byte_table): New type.
3573 (XCHAR_BYTE_TABLE): New macro.
3574 (XSETCHAR_BYTE_TABLE): New macro.
3575 (CHAR_BYTE_TABLE_P): New macro.
3576 (GC_CHAR_BYTE_TABLE_P): New macro.
3577 (struct Lisp_Char_Byte_Table): New structure.
3578 (get_char_code_table): New interface.
3579 (Emchar_to_byte_table): Deleted.
3580 (get_byte_from_character_table): Deleted.
3581 (struct Lisp_Charset): Add `encoding_table'; delete
3582 `to_byte1_table' and `to_byte2_table'.
3583 (CHARSET_ENCODING_TABLE): New macro.
3584 (CHARSET_TO_BYTE1_TABLE): Deleted.
3585 (CHARSET_TO_BYTE2_TABLE): Deleted.
3586 (XCHARSET_ENCODING_TABLE): New macro.
3587 (XCHARSET_TO_BYTE1_TABLE): Deleted.
3588 (XCHARSET_TO_BYTE2_TABLE): Deleted.
3590 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3592 * mule-charset.c (syms_of_mule_charset): Delete charset alias
3593 `vietnamese-viscii-*'.
3595 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3597 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
3598 (Qvietnamese_viscii_upper): New variable.
3599 (Fdefine_charset_alias): New function.
3600 (syms_of_mule_charset): Add new function `define-charset-alias'.
3601 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
3602 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
3605 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
3607 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
3608 (MAX_CHAR_OBS_94x94): New macro.
3609 (breakup_char_1): Support obsolete XEmacs-UCS private code space
3612 * mule-charset.c (put_byte_from_character_table): Change unit size
3614 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
3616 (Fmake_reverse_direction_charset): Modify dummy argument of
3617 `make_charset' for non-UTF-2000 environment.
3619 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3621 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
3623 * mule-charset.c (destroy_byte_from_character_table): New macro.
3624 (latin_jisx0201_to_ucs): Deleted.
3625 (latin_iso8859_2_to_ucs): Deleted.
3626 (latin_iso8859_3_to_ucs): Deleted.
3627 (latin_iso8859_4_to_ucs): Deleted.
3628 (latin_iso8859_9_to_ucs): Deleted.
3629 (latin_viscii_lower_to_ucs): Deleted.
3630 (latin_viscii_upper_to_ucs): Deleted.
3631 (mark_charset): Mark `cs->decoding_table'.
3632 (Fcharset_mapping_table): Fix DOC-string.
3633 (Fset_charset_mapping_table): New function.
3634 (syms_of_mule_charset): Add nwe function
3635 `set-charset-mapping-table'.
3636 (complex_vars_of_mule_charset): Don't setup and use
3639 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
3641 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
3644 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
3646 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
3647 (Vcharset_katakana_jisx0208): New variable.
3648 (Qhiragana_jisx0208): New variable.
3649 (Qkatakana_jisx0208): New variable.
3650 (make_charset): Add new argument `byte_offset'.
3651 (charset_get_byte1): Modify for new coded-charset definition; use
3652 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3653 `XCHARSET_BYTE_OFFSET'.
3654 (Fmake_charset): Modify for `make_charset'.
3655 (Fmake_reverse_direction_charset): Likewise.
3656 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
3657 `katakana-jisx0208'.
3658 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
3659 `.' in font registry of charset `katakana-jisx0201',
3660 `latin-jisx0201', `vietnamese-viscii-lower' and
3661 `vietnamese-viscii-upper'; modify DOC-string of charset
3662 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
3663 registry of charset `japanese-jisx0208' not to use font for JIS
3664 X0208:1990; add new charset `hiragana-jisx0208' and
3665 `katakana-jisx0208'.
3667 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
3668 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
3669 (struct Lisp_Charset): Add `byte_offset'.
3670 (CHARSET_BYTE_OFFSET): New macro.
3671 (XCHARSET_UCS_MIN): New macro.
3672 (XCHARSET_UCS_MAX): New macro.
3673 (XCHARSET_CODE_OFFSET): New macro.
3674 (XCHARSET_BYTE_OFFSET): New macro.
3675 (MIN_CHAR_HIRAGANA): New macro.
3676 (MAX_CHAR_HIRAGANA): New macro.
3677 (MIN_CHAR_KATAKANA): New macro.
3678 (MAX_CHAR_KATAKANA): New macro.
3679 (MAKE_CHAR): Modify for new coded-charset definition; use
3680 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3681 `XCHARSET_BYTE_OFFSET'.
3683 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3685 * mule-charset.c (CHAR96): Deleted.
3686 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
3688 (latin_iso8859_2_to_ucs): Likewise.
3689 (latin_iso8859_3_to_ucs): Likewise.
3690 (latin_iso8859_4_to_ucs): Likewise.
3691 (latin_iso8859_9_to_ucs): Likewise.
3692 (latin_viscii_lower_to_ucs): Likewise.
3693 (latin_viscii_upper_to_ucs): Likewise.
3694 (latin_tcvn5712_to_ucs): Commented out.
3695 (make_charset): Change type of argument `decoding_table' from
3696 <Emchar*> to <Lisp_Object> [vector of characters].
3697 (Fmake_charset): Modify for `make_charset'.
3698 (Fmake_reverse_direction_charset): Likewise.
3699 (Fcharset_mapping_table): New function in UTF-2000.
3700 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
3702 (complex_vars_of_mule_charset): Modify for type change of
3703 `*_to_ucs'; modify for `make_charset'.
3705 * char-ucs.h (struct Lisp_Charset): Change type of
3706 `decoding_table' from <Emchar*> to <Lisp_Object>.
3707 (MAKE_CHAR): Modify for new specification of `decoding_table'.
3709 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3711 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
3712 error with non-UTF-2000-Mule.
3714 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
3716 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
3718 (Vcharset_chinese_cns11643_4): Likewise.
3719 (Vcharset_chinese_cns11643_5): Likewise.
3720 (Vcharset_chinese_cns11643_6): Likewise.
3721 (Vcharset_chinese_cns11643_7): Likewise.
3722 (Qchinese_cns11643_3): Likewise.
3723 (Qchinese_cns11643_4): Likewise.
3724 (Qchinese_cns11643_5): Likewise.
3725 (Qchinese_cns11643_6): Likewise.
3726 (Qchinese_cns11643_7): Likewise.
3727 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
3728 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3729 and `chinese-cns11643-7' to lisp/mule/chinese.el.
3730 (complex_vars_of_mule_charset): Likewise.
3732 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3734 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
3736 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
3737 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
3739 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3741 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
3743 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
3744 (breakup_char_1): Likewise.
3746 * text-coding.c (char_encode_iso2022): Keep designated charsets if
3747 one of them includes the specified character.
3749 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3751 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
3753 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3755 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
3757 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3759 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
3760 definition for non-UTF-2000 Mule.
3761 (latin_iso8859_3_to_ucs): Likewise.
3762 (latin_iso8859_4_to_ucs): Likewise.
3763 (latin_iso8859_9_to_ucs): Likewise.
3764 (latin_jisx0201_to_ucs): Likewise.
3765 (MIN_CHAR_THAI): Likewise.
3766 (MAX_CHAR_THAI): Likewise.
3767 (MIN_CHAR_GREEK): Likewise.
3768 (MAX_CHAR_GREEK): Likewise.
3769 (MIN_CHAR_HEBREW): Likewise.
3770 (MAX_CHAR_HEBREW): Likewise.
3771 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
3772 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
3773 (MIN_CHAR_CYRILLIC): Likewise.
3774 (MAX_CHAR_CYRILLIC): Likewise.
3776 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3778 * char-ucs.h (breakup_char_1): Use
3779 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
3780 thai-tis620 and katakana-jisx0201 area.
3782 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3784 * char-ucs.h (breakup_char_1): Use
3785 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
3788 * text-coding.c (reset_encoding_stream): Fixed.
3789 (char_encode_ucs4): Delete `& 255'.
3791 * char-ucs.h (breakup_char_1): Use
3792 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
3794 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3796 * file-coding.c (Fmake_coding_system): Don't set up
3797 `codesys->fixed.size'.
3798 (encode_coding_no_conversion): Don't refer
3799 `str->codesys->fixed.size'.
3801 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3803 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
3804 (latin_a_char_to_byte1): Deleted.
3805 (latin_a_char_to_byte2): Deleted.
3807 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3809 * mule-charset.c (make_charset): Add new argument `ucs_min',
3810 `ucs_max' and `code_offset'.
3811 (charset_get_byte1): New implementation [delete specific charset
3812 depended implementations].
3813 (Fmake_charset): Modify for `make_charset'.
3814 (Fmake_reverse_direction_charset): Likewise.
3815 (complex_vars_of_mule_charset): Likewise.
3817 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
3819 (CHARSET_UCS_MIN): New macro.
3820 (CHARSET_UCS_MAX): New macro.
3821 (CHARSET_CODE_OFFSET): New macro.
3822 (MAKE_CHAR): Delete charset depended definitions [except
3825 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3827 * char-ucs.h (breakup_char_1): Use
3828 `Vdefault_coded_charset_priority_list' for C0-Controls,
3829 Basic-Latin, C1-Controls and Latin-1-Supplement area.
3831 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3833 * char-ucs.h (charset_get_byte1): New function.
3834 (XCHARSET_GET_BYTE1): Deleted.
3835 (charset_get_byte2): New function.
3836 (XCHARSET_GET_BYTE2): Deleted.
3837 (Vdefault_coded_charset_priority_list): New external variable.
3838 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3839 `Vdefault_preferred_coded_charset_list'.
3841 * mule-charset.c (charset_get_byte1): New function.
3842 (charset_get_byte2): New function.
3843 (Vdefault_coded_charset_priority_list): New variable.
3844 (vars_of_mule_charset): Add new variable
3845 `default-coded-charset-priority-list'.
3847 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3849 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3850 (XCHARSET_GET_BYTE2): New inline function.
3851 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3852 `XCHARSET_GET_BYTE2'.
3854 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3856 * mule-charset.c (make_charset): Initialize
3857 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3858 NULL if table is not defined.
3860 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3862 * text-coding.c (char_encode_shift_jis): Use
3863 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3864 `ucs_to_latin_jisx0201'.
3866 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3867 (ucs_to_latin_iso8859_2): Deleted.
3868 (ucs_to_latin_iso8859_3): Deleted.
3869 (ucs_to_latin_iso8859_4): Deleted.
3870 (ucs_to_latin_iso8859_9): Deleted.
3871 (ucs_to_latin_viscii_lower): Deleted.
3872 (ucs_to_latin_viscii_upper): Deleted.
3873 (ucs_to_latin_tcvn5712): Deleted.
3874 (make_charset): Add new argument `decoding_table'; set up
3875 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3876 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3877 `decoding_table' is defined in UTF-2000.
3878 (Fmake_charset): Modify for `make_charset'.
3879 (Fmake_reverse_direction_charset): Likewise.
3880 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3881 and `GENERATE_96_SET'.
3883 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3884 (ucs_to_latin_jisx0201): Deleted.
3885 (latin_iso8859_2_to_ucs): Deleted.
3886 (ucs_to_latin_iso8859_2): Deleted.
3887 (latin_iso8859_3_to_ucs): Deleted.
3888 (ucs_to_latin_iso8859_3): Deleted.
3889 (latin_iso8859_4_to_ucs): Deleted.
3890 (ucs_to_latin_iso8859_4): Deleted.
3891 (latin_iso8859_9_to_ucs): Deleted.
3892 (ucs_to_latin_iso8859_9): Deleted.
3893 (latin_viscii_lower_to_ucs): Deleted.
3894 (ucs_to_latin_viscii_lower): Deleted.
3895 (latin_viscii_upper_to_ucs): Deleted.
3896 (ucs_to_latin_viscii_upper): Deleted.
3897 (struct Lisp_Charset): Renamed `encoding_table' to
3898 `to_byte1_table'; add `to_byte2_table'.
3899 (CHARSET_DECODING_TABLE): New macro.
3900 (CHARSET_TO_BYTE1_TABLE): New macro.
3901 (CHARSET_TO_BYTE2_TABLE): New macro.
3902 (XCHARSET_DECODING_TABLE): New macro.
3903 (XCHARSET_TO_BYTE1_TABLE): New macro.
3904 (XCHARSET_TO_BYTE2_TABLE): New macro.
3905 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3907 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3908 don't use `ucs_to_*' tables.
3910 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3912 * text-coding.c (Fmake_coding_system): Don't set up
3913 `codesys->fixed.size'.
3914 (encode_coding_no_conversion): Use `if' instead of `switch'.
3916 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3918 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3920 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3921 (Fmake_charset): Modify for `make_charset'.
3922 (Fmake_reverse_direction_charset): Likewise.
3923 (complex_vars_of_mule_charset): Likewise.
3925 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3927 * text-coding.c (char_encode_shift_jis): Use table
3928 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3930 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3932 * text-coding.c (text_encode_generic): Use `if' instead of
3934 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3937 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3939 * text-coding.c (encode_coding_sjis): Deleted.
3940 (char_encode_shift_jis): New function.
3941 (char_finish_shift_jis): New function.
3942 (reset_encoding_stream): Set up `encode_char' and `finish' for
3943 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3944 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3945 (char_encode_utf8): Treat `eol_type'.
3947 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3949 * file-coding.c (decode_coding_iso2022): Use
3950 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3952 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3954 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3957 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3959 * char-lb.h (CHAR_COLUMNS): New macro.
3961 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3963 * text-coding.c (char_encode_ucs4): New function.
3964 (char_finish_ucs4): New function.
3965 (encode_coding_ucs4): Deleted.
3966 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3967 (text_encode_generic): Delete local variable `charset' and `half'.
3968 (ucs_to_mule_table): Deleted.
3969 (mule_to_ucs_table): Deleted.
3970 (Fset_ucs_char): Deleted.
3971 (ucs_to_char): Deleted.
3972 (Fucs_char): Deleted.
3973 (Fset_char_ucs): Deleted.
3974 (Fchar_ucs): Deleted.
3975 (decode_ucs4): Deleted.
3976 (mule_char_to_ucs4): Deleted.
3977 (encode_ucs4): Deleted.
3978 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3979 (decode_coding_utf8): Likewise.
3980 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3981 (char_encode_iso2022): Fixed.
3982 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3983 `Fset_char_ucs' and `Fchar_ucs'.
3984 (complex_vars_of_file_coding): Don't initialize
3985 `ucs_to_mule_table'.
3987 * objects-tty.c (tty_initialize_font_instance): Don't use
3990 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
3993 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
3994 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3996 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
3997 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3998 (emchar_string_displayed_columns): Likewise.
4000 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4001 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4002 (string_column_at_point): Likewise.
4003 (Fmove_to_column): Likewise.
4005 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4006 `encoding_table' and `decoding_table'.
4007 (CHARSET_REP_BYTES): Deleted.
4008 (XCHARSET_REP_BYTES): Deleted.
4009 (XCHARSET_COLUMNS): Deleted.
4010 (CHAR_COLUMNS): New macro.
4011 (lookup_composite_char): Deleted unconditionally.
4012 (composite_char_string): Likewise.
4014 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4016 * char-ucs.h (Emchar_to_byte_table): New type.
4017 (get_byte_from_character_table): New function interface.
4018 (Vcharset_latin_jisx0201): New variable.
4019 (latin_jisx0201_to_ucs): New variable.
4020 (ucs_to_latin_jisx0201): New variable.
4021 (Vcharset_latin_iso8859_2): New variable.
4022 (latin_iso8859_2_to_ucs): New variable.
4023 (ucs_to_latin_iso8859_2): New variable.
4024 (Vcharset_latin_iso8859_3): New variable.
4025 (latin_iso8859_3_to_ucs): New variable.
4026 (ucs_to_latin_iso8859_3): New variable.
4027 (Vcharset_latin_iso8859_4): New variable.
4028 (latin_iso8859_4_to_ucs): New variable.
4029 (ucs_to_latin_iso8859_4): New variable.
4030 (Vcharset_latin_iso8859_9): New variable.
4031 (latin_iso8859_9_to_ucs): New variable.
4032 (ucs_to_latin_iso8859_9): New variable.
4033 (Vcharset_latin_viscii_lower): New variable.
4034 (latin_viscii_lower_to_ucs): New variable.
4035 (ucs_to_latin_viscii_lower): New variable.
4036 (Vcharset_latin_viscii_upper): New variable.
4037 (latin_viscii_upper_to_ucs): New variable.
4038 (ucs_to_latin_viscii_upper): New variable.
4039 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4040 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4041 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4042 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4043 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4044 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4045 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4046 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4047 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
4048 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
4050 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
4051 (Vcharset_latin_viscii_upper): New variable.
4052 (make_byte_from_character_table): New function.
4053 (put_byte_from_character_table): New function.
4054 (get_byte_from_character_table): New function.
4055 (CHAR96): New macro.
4056 (ucs_to_latin_jisx0201): New variable.
4057 (latin_jisx0201_to_ucs): New variable.
4058 (ucs_to_latin_iso8859_2): New variable.
4059 (latin_iso8859_2_to_ucs): New variable.
4060 (ucs_to_latin_iso8859_3): New variable.
4061 (latin_iso8859_3_to_ucs): New variable.
4062 (ucs_to_latin_iso8859_4): New variable.
4063 (latin_iso8859_4_to_ucs): New variable.
4064 (ucs_to_latin_iso8859_9): New variable.
4065 (latin_iso8859_9_to_ucs): New variable.
4066 (ucs_to_latin_viscii_lower): New variable.
4067 (latin_viscii_lower_to_ucs): New variable.
4068 (ucs_to_latin_viscii_upper): New variable.
4069 (latin_viscii_upper_to_ucs): New variable.
4070 (ucs_to_latin_tcvn5712): New variable.
4071 (latin_tcvn5712_to_ucs): New variable.
4072 (Qlatin_viscii_lower): New variable.
4073 (Qlatin_viscii_upper): New variable.
4074 (syms_of_mule_charset): Set up new symbol
4075 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4076 (complex_vars_of_mule_charset): Set up new charset
4077 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
4078 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
4079 `ucs_to_<CHARSET>' tables.
4081 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4083 * text-coding.c: New file.
4085 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4087 * mule-charset.c (Fmake_char): Fix problem of 256-set.
4089 * char-ucs.h (Vcharset_ucs_bmp): New variable.
4090 (MAKE_CHAR): Modify for `ucs-bmp'.
4091 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
4092 non-MULE characters of BMP.
4094 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
4096 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4099 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
4102 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
4103 - Include character.h for `CHAR_ASCII_P'.
4105 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
4107 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
4108 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
4110 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
4111 (BYTE_C0_P): Likewise.
4112 (BYTE_C1_P): Likewise.
4113 (Lstream_get_emchar_1): Likewise.
4114 (Lstream_fput_emchar): Likewise.
4115 (Lstream_funget_emchar): Likewise.
4116 (copy_internal_to_external): Likewise.
4117 (copy_external_to_internal): Likewise.
4119 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
4120 (BYTE_C0_P): Likewise.
4121 (BYTE_C1_P): Likewise.
4122 (Lstream_get_emchar_1): Likewise.
4123 (Lstream_fput_emchar): Likewise.
4124 (Lstream_funget_emchar): Likewise.
4125 (copy_internal_to_external): Likewise.
4126 (copy_external_to_internal): Likewise.
4128 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
4129 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4131 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
4132 (BYTE_ASCII_P): Moved to mb-1byte.h.
4134 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
4136 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
4138 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
4139 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
4140 (VALID_CHARPTR_P): Moved to mb-*byte.h.
4141 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4142 (VALIDATE_CHARPTR_FORWARD): Likewise.
4143 (simple_charptr_emchar): Moved to mb-multibyte.h.
4144 (simple_set_charptr_emchar): Likewise.
4145 (simple_charptr_copy_char): Likewise.
4146 (non_ascii_charptr_emchar): Likewise.
4147 (non_ascii_set_charptr_emchar): Likewise.
4148 (non_ascii_charptr_copy_char): Likewise.
4149 (charptr_emchar): Moved to mb-*byte.h.
4150 (set_charptr_emchar): Likewise.
4151 (charptr_copy_char): Likewise.
4153 * mb-1byte.h, mb-multibyte.h: New files.
4155 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4157 * mb-utf-8.h (MULTIBYTE): New macro.
4158 (MAX_EMCHAR_LEN): Moved from buffer.h.
4159 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
4161 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
4163 * mb-lb.h, multibyte.h: New files.
4165 * char-1byte.h (Charset_ID): Moved from buffer.h.
4166 (MIN_LEADING_BYTE): Likewise.
4167 (LEADING_BYTE_ASCII): Likewise.
4168 (NUM_LEADING_BYTES): Likewise.
4169 (CHARSETP): Likewise.
4170 (CHARSET_BY_LEADING_BYTE): Likewise.
4171 (XCHARSET_LEADING_BYTE): Likewise.
4172 (XCHARSET_GRAPHIC): Likewise.
4173 (XCHARSET_COLUMNS): Likewise.
4174 (XCHARSET_DIMENSION): Likewise.
4175 (CHAR_CHARSET): Likewise.
4176 (CHAR_LEADING_BYTE): Likewise.
4177 (BREAKUP_CHAR): Likewise.
4178 (Vcharset_ascii): Likewise.
4180 * buffer.h: Include multibyte.h unconditionally.
4181 (VALID_CHARPTR_P): Moved to multibyte.h.
4182 (ASSERT_VALID_CHARPTR): Likewise.
4183 (REAL_INC_CHARPTR): Likewise.
4184 (REAL_INC_CHARBYTIND): Likewise.
4185 (REAL_DEC_CHARPTR): Likewise.
4186 (INC_CHARPTR): Likewise.
4187 (INC_CHARBYTIND): Likewise.
4188 (DEC_CHARPTR): Likewise.
4189 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4190 (VALIDATE_CHARPTR_FORWARD): Likewise.
4191 (charptr_n_addr): Likewise.
4192 (MAX_EMCHAR_LEN): Moved to mb-*.h.
4193 (simple_charptr_emchar): Moved to multibyte.h.
4194 (simple_set_charptr_emchar): Likewise.
4195 (simple_charptr_copy_char): Likewise.
4196 (non_ascii_charptr_emchar): Likewise.
4197 (non_ascii_set_charptr_emchar): Likewise.
4198 (non_ascii_charptr_copy_char): Likewise.
4199 (charptr_emchar): Likewise.
4200 (set_charptr_emchar): Likewise.
4201 (charptr_copy_char): Likewise.
4202 (charptr_emchar_n): Likewise.
4203 (Charset_ID): Moved to char-1byte.h.
4204 (Vcharset_ascii): Likewise.
4205 (CHAR_CHARSET): Likewise.
4206 (CHAR_LEADING_BYTE): Likewise.
4207 (LEADING_BYTE_ASCII): Likewise.
4208 (NUM_LEADING_BYTES): Likewise.
4209 (MIN_LEADING_BYTE): Likewise.
4210 (CHARSETP): Likewise.
4211 (CHARSET_BY_LEADING_BYTE): Likewise.
4212 (XCHARSET_LEADING_BYTE): Likewise.
4213 (XCHARSET_GRAPHIC): Likewise.
4214 (XCHARSET_COLUMNS): Likewise.
4215 (XCHARSET_DIMENSION): Likewise.
4216 (BREAKUP_CHAR): Likewise.
4218 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4220 * character.h: Add document about interface for characters.
4222 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
4223 (MAKE_CHAR): Delete comment about
4224 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
4225 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
4226 (BREAKUP_CHAR): Modify name of arguments.
4227 (CHAR_CHARSET): Modify name of argument.
4229 * buffer.h: Delete document about Emchar accessors.
4231 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4233 * character.h (CHAR_INTP): Moved from buffer.h
4234 (CHAR_OR_CHAR_INTP): Likewise.
4235 (XCHAR_OR_CHAR_INT): Likewise.
4236 (CHECK_CHAR_COERCE_INT): Likewise.
4238 * buffer.h (CHAR_INTP): Moved to character.h
4239 (CHAR_OR_CHAR_INTP): Likewise.
4240 (XCHAR_OR_CHAR_INT): Likewise.
4241 (CHECK_CHAR_COERCE_INT): Likewise.
4243 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4246 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
4247 - Include char-1byte.h, char-lb.h or char-ucs.h.
4249 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
4251 * buffer.h: Include character unconditionally.
4252 (valid_char_p): Moved to char-*.h.
4253 (non_ascii_valid_char_p): Moved to char-lb.h.
4255 * char-1byte.h, char-lb.h, char-ucs.h: New files.
4257 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4259 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
4260 in UTF-2000 because it is not ported yet and not to use
4261 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
4262 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
4263 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
4265 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
4266 (CHAR_ASCII_P): Moved from character.h.
4268 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
4269 (CHAR_ASCII_P): Likewise.
4270 (CHAR_FIELD1_MASK): Deleted.
4271 (CHAR_FIELD2_MASK): Deleted.
4272 (CHAR_FIELD3_MASK): Deleted.
4273 (MAX_CHAR_BASIC_LATIN): New macro.
4274 (CHAR_FIELD1): Deleted.
4275 (CHAR_FIELD2_INTERNAL): Deleted.
4276 (CHAR_FIELD3_INTERNAL): Deleted.
4277 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
4278 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
4279 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
4280 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
4281 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
4282 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
4283 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
4284 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
4285 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
4286 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
4287 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
4288 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
4289 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
4290 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
4291 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
4292 (MIN_CHAR_COMPOSITION): Deleted.
4293 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
4294 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
4296 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
4298 * buffer.h: Include mb-utf-8.h in UTF-2000.
4300 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
4302 * mb-utf-8.h: New file.
4304 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
4306 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
4309 * mule-charset.h, buffer.h (Charset_ID): New type.
4311 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4313 * mule-canna.c (c2mu): Use `MAKE_CHAR',
4314 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
4315 instead of `MULE_CHAR_PRIVATE_OFFSET',
4316 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
4317 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
4318 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
4320 * character.h (Vcharset_japanese_jisx0212): New variable
4323 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4325 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
4326 (charset_by_attributes): Delete array about direction.
4327 (latin_a_char_to_charset): New variable in UTF-2000.
4328 (latin_a_char_to_byte1): New variable in UTF-2000.
4329 (latin_a_char_to_byte2): New variable in UTF-2000.
4330 (Qucs_bmp): New variable.
4331 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
4333 (next_allocated_2_byte_leading_byte): Likewise.
4334 (non_ascii_set_charptr_emchar): Likewise.
4335 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
4336 `CHARSET_TYPE_256X256' in UTF-2000; modify for
4337 `charset_by_attributes'.
4338 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
4339 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
4340 and `CHARSET_BY_LEADING_BYTE'.
4341 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
4342 `utf-2000-version' to `vars_of_mule_charset'.
4343 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
4344 define `leading-code-private-11' in UTF-2000; move setting of
4345 `utf-2000-version' from `syms_of_mule_charset'.
4346 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
4349 * character.h (Charset_ID): New type.
4350 (LEADING_BYTE_UCS_BMP): New macro.
4351 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
4352 (CHARSET_ID_OFFSET_94): New macro.
4353 (MIN_CHARSET_ID_PRIVATE_94): New macro.
4354 (MAX_CHARSET_ID_PRIVATE_94): New macro.
4355 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
4357 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
4358 (LEADING_BYTE_LATIN_JISX0201): Likewise.
4359 (CHARSET_ID_OFFSET_96): New macro.
4360 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
4361 CHARSET_ID_OFFSET_96 and final-byte.
4362 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
4363 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
4364 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
4365 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
4366 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
4367 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
4368 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
4369 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
4370 (LEADING_BYTE_THAI_TIS620): Likewise.
4371 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
4372 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
4373 (CHARSET_ID_OFFSET_94x94): New macro.
4374 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
4375 CHARSET_ID_OFFSET_94x94 and final-byte.
4376 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
4377 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
4378 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
4379 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
4380 (LEADING_BYTE_CHINESE_GB2312): Likewise.
4381 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
4382 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
4383 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
4384 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
4385 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
4386 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
4387 (CHARSET_TYPE_128X128): New macro.
4388 (CHARSET_TYPE_256X256): New macro.
4389 (XCHARSET_PRIVATE_P): Delete unconditionally.
4390 (charset_by_attributes): Delete array about direction.
4391 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
4392 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
4393 (MIN_CHAR_94): New macro.
4394 (MAX_CHAR_94): New macro.
4395 (MIN_CHAR_96): New macro.
4396 (MAX_CHAR_96): New macro.
4397 (MIN_CHAR_94x94): New macro.
4398 (MAX_CHAR_94x94): New macro.
4399 (MIN_CHAR_96x96): New macro.
4400 (MAX_CHAR_96x96): New macro.
4401 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
4402 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4403 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
4405 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
4406 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
4407 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
4408 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
4409 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
4410 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
4411 `XCHARSET_LEADING_BYTE' to make code-point.
4412 (latin_a_char_to_charset): New variable.
4413 (latin_a_char_to_byte1): New variable.
4414 (latin_a_char_to_byte2): New variable.
4415 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
4416 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
4417 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
4419 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
4420 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
4421 (find_charsets_in_emchar_string): Likewise.
4422 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
4424 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
4426 (decode_coding_iso2022): Likewise.
4428 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
4431 * redisplay.c (redisplay_text_width_emchar_string): Use
4432 `Charset_ID' instead of `unsigned char'.
4433 (redisplay_frame_text_width_string): Likewise.
4435 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
4438 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
4439 instead of `unsigned char'.
4440 (face_cachel_charset_font_metric_info): Likewise.
4442 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
4443 (get_non_ascii_char_table_value): Likewise.
4444 (get_char_table): Likewise.
4445 (put_char_table): Likewise.
4446 (map_over_other_charset): Likewise.
4447 (map_char_table): Likewise.
4449 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
4450 instead of `unsigned char'.
4452 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
4454 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
4455 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
4457 * mule-charset.c (leading_code_private_11): Don't define in
4460 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
4461 in UTF-2000 because it is not ported yet and not to use
4462 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
4464 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
4466 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
4468 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4470 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
4473 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
4474 of unsigned char to store leading-byte.
4476 * chartab.c (get_non_ascii_char_table_value): Don't use
4477 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
4479 * file-coding.c (encode_coding_big5): Delete bogus implementation
4482 * character.h (LEADING_BYTE_*): Delete definition for
4484 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
4485 (LEADING_BYTE_PREFIX_P): Deleted.
4486 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
4487 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
4488 (BUFBYTE_LEADING_BYTE_P): Deleted.
4489 (CHARSET_PRIVATE_P): Deleted unconditionally.
4490 (rep_bytes_by_first_byte): Deleted unconditionally.
4491 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
4492 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
4493 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4494 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
4495 (CHAR_FIELD2): Deleted.
4496 (CHAR_FIELD3): Deleted.
4497 (MAKE_CHAR): Delete definition for non-UTF-2000.
4498 (BREAKUP_CHAR_1_UNSAFE): Deleted.
4499 (breakup_char_1): New implementation.
4500 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
4501 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
4503 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4505 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
4508 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4510 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
4511 (CHARSET_PRIVATE_P): Likewise.
4512 (XCHARSET_PRIVATE_P): Likewise.
4513 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
4515 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
4517 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
4519 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4521 * character.h (LEADING_BYTE_*): Changed in UTF2000.
4522 (NUM_LEADING_BYTES): Changed from 128 to 256.
4523 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4524 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
4526 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4528 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
4530 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
4531 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
4532 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
4533 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
4534 (Qchinese_cns11643_3): New variable in UTF2000.
4535 (Qchinese_cns11643_4): New variable in UTF2000.
4536 (Qchinese_cns11643_5): New variable in UTF2000.
4537 (Qchinese_cns11643_6): New variable in UTF2000.
4538 (Qchinese_cns11643_7): New variable in UTF2000.
4539 (syms_of_mule_charset): Define `chinese-cns11643-3',
4540 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4541 and `chinese-cns11643-7' in UTF2000.
4542 (vars_of_mule_charset): Initialize
4543 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
4545 (complex_vars_of_mule_charset): Setup charset
4546 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
4547 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
4549 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4551 * mule-charset.c: Move setting for `leading-code-private-11' from
4552 `syms_of_mule_charset' to `vars_of_mule_charset'.
4554 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4556 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
4557 and `NUM_LEADING_BYTES' in assert.
4559 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4561 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
4563 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
4564 `NUM_LEADING_BYTES' instead of 128.
4566 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4568 * mule-charset.h (charset_by_leading_byte): Use
4569 `NUM_LEADING_BYTES' instead of 128.
4570 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
4572 * mule-charset.c (charset_by_leading_byte): Use
4573 `NUM_LEADING_BYTES' instead of 128.
4574 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
4576 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
4579 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4581 * mule-charset.c (syms_of_mule_charset): Update to
4584 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4586 * file-coding.c (encode_coding_sjis): New implementation for
4587 UTF2000. (decode_coding_sjis): Ditto.
4589 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4591 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
4592 Don't define in UTF2000.
4594 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
4597 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4598 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
4601 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4603 * config.h.in (CHAR_IS_UCS4): New macro.
4605 * mule-charset.c (rep_bytes_by_first_byte): Modify for
4606 conventional MULE representation.
4607 (syms_of_mule_charset): Update to 0.3 (Imamiya).
4609 * mule-charset.h: Reverted to original.
4611 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4612 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
4613 "mule-charset.h" if CHAR_IS_UCS4 is defined.
4615 * character.h: New file.
4617 * file-coding.c (Fmake_coding_system): Set 1 to
4618 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
4620 (encode_coding_no_conversion): New implementation for UTF2000.
4622 * file-coding.h (struct Lisp_Coding_System): Add new member
4625 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
4627 * file-coding.c (decode_coding_iso2022): Code-point arguments of
4628 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
4629 (encode_coding_iso2022): New implementation for UTF2000.
4631 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4633 * mule-canna.c (c2mu): New implementation for UTF2000.
4636 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4638 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
4640 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4642 * file-coding.c (reset_encoding_stream): Set 0 to
4643 `str->iso2022.current_char_boundary' in UTF2000.
4644 (encode_utf8): Don't define in UTF2000.
4645 (encode_coding_utf8): New implementation for UTF-8 representation
4647 (complex_vars_of_file_coding): Define coding-system `utf-8'.
4649 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4651 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
4653 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
4655 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4657 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
4659 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
4660 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
4661 as UTF-8 in UTF2000.
4662 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
4663 (non_ascii_valid_char_p): Don't define in UTF2000.
4664 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
4665 (Lstream_get_emchar_1): Likewise.
4666 (utf-2000-version): New variable in UTF2000.
4668 * lread.c (read_escape): Add new reader `u'.
4670 * insdel.c (three_to_one_table): Don't define in UTF2000.
4671 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
4672 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4674 (bytind_to_bufpos_func): Likewise.
4675 (buffer_mule_signal_inserted_region): Likewise.
4676 (vars_of_insdel): Don't initialize `three_to_one_table'.
4677 (init_buffer_text): Use `buf->text->mule_size' instead of
4678 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4681 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
4682 UTF-8 representation in UTF2000.
4683 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
4684 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
4685 (decode_coding_iso2022): Don't define local variable `lb' in
4686 UTF2000; don't use LEADING_BYTE in UTF2000; use
4687 `DECODE_ADD_UCS_CHAR' in UTF2000.
4688 (convert_to_external_format): Decode as UTF-8 in UTF2000.
4690 * config.h.in (UTF2000): New macro.
4692 * buffer.h (struct buffer_text): Add new member `mule_size' and
4693 don't add `mule_shifter' and `mule_three_p' in UTF2000.
4694 (valid_char_p): Return always 1 in UTF2000.
4695 (MAX_EMCHAR_LEN): 6 in UTF2000.
4696 (three_to_one_table): Don't define in UTF2000.
4697 (real_bufpos_to_bytind): Modify for UTF-8 representation in
4699 (real_bytind_to_bufpos): Likewise.
4701 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
4703 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4705 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
4706 representation change.
4707 (Vutf_2000_version): New variable.
4708 (leading_code_private_11): New variable.
4709 (syms_of_mule_charset): Add new variables `utf-2000-version' and
4710 `leading-code-private-11'.
4712 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
4713 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
4714 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
4715 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
4716 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
4717 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
4718 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
4719 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
4720 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
4721 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
4722 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
4723 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
4724 (MIN_CHAR_GREEK): New macro.
4725 (MAX_CHAR_GREEK): New macro.
4726 (MIN_CHAR_CYRILLIC): New macro.
4727 (MAX_CHAR_CYRILLIC): New macro.
4728 (MIN_CHAR_HEBREW): New macro.
4729 (MAX_CHAR_HEBREW): New macro.
4730 (MIN_CHAR_THAI): New macro.
4731 (MAX_CHAR_THAI): New macro.
4732 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
4733 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
4734 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
4735 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
4736 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
4737 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
4738 (CHAR_FIELD2): New inline function.
4739 (CHAR_FIELD3): New inline function.
4740 (MULE_CHAR_PRIVATE_OFFSET): New macro.
4741 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
4742 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
4743 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
4744 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
4745 (MIN_CHAR_COMPOSITION): Likewise.
4746 (CHAR_LEADING_BYTE): Modified for character representation change.
4747 (MAKE_CHAR): Likewise.
4749 * lisp.h (Vcharset_latin_iso8859_1): New variable.
4750 (Vcharset_greek_iso8859_7): Likewise.
4751 (Vcharset_cyrillic_iso8859_5): Likewise.
4752 (Vcharset_hebrew_iso8859_8): Likewise.
4753 (Vcharset_thai_tis620): Likewise.
4754 (Vcharset_katakana_jisx0201): Likewise.
4756 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
4758 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
4760 2002-12-14 Ben Wing <ben@xemacs.org>
4762 * callint.c: Declaration error.
4764 * dumper.c (pdump_load): Warning fix.
4765 * process.c: GCPRO error.
4766 * glyphs.c (unmap_subwindow):
4767 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
4768 * event-stream.c (maybe_kbd_translate): Wrong argument to
4769 character_to_event().
4771 * alloc.c (garbage_collect_1):
4773 * emacs.c (debug_can_access_memory):
4774 * emacs.c (fatal_error_signal):
4775 * emacs.c (mswindows_handle_hardware_exceptions):
4778 * emacs.c (assert_failed):
4779 * emacs.c (syms_of_emacs):
4782 * print.c (std_handle_out_va):
4783 * print.c (write_string_to_stdio_stream):
4784 * print.c (write_fmt_string):
4785 * print.c (printing_badness):
4786 * print.c (printing_major_badness):
4787 * print.c (print_internal):
4788 * print.c (debug_print_no_newline):
4789 * print.c (debug_backtrace):
4790 Be more defensive in handling bad values when printing. Add code
4791 from trunk involving inhibit_non_essential_printing_operations.
4792 When going down or in debug_print(), don't do external conversion
4793 and such and try really, really hard when printing to avoid core
4794 dumping. Add force-debugging-signal, debug_break().
4796 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
4798 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
4799 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
4801 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
4803 * database.c: Fix open_database. Berkeley DB API has changed in
4804 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
4806 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
4808 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
4810 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
4812 * event-Xt.c (Xt_timeout):
4813 (Xt_timeout_callback):
4814 (emacs_Xt_add_timeout):
4815 (emacs_Xt_remove_timeout):
4816 (Xt_timeout_to_emacs_event):
4817 Turn completed_timeouts from a stack into a queue. Fixes
4818 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
4820 2002-11-07 Wolfram Gloger <wg@malloc.de>
4822 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
4823 * emacs.c (main): Assert that mmap'd allocation is disabled.
4825 2002-10-14 Andy Piper <andy@xemacs.org>
4827 * glyphs-widget.c (layout_query_geometry): add in fiddle
4828 factor. Include border text in width layout calculation.
4829 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
4831 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
4833 * XEmacs 21.4.10 "Military Intelligence" is released.
4835 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
4837 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
4838 using the NAS private array SoundFileInfo that no longer exists in
4839 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
4840 and earlier. This is broken for some versions between 1.5a and
4843 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
4845 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
4847 * emacs.c (shut_down_emacs): Improve crash message.
4849 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
4851 * file-coding.c (determine_real_coding_system): Check for coding
4852 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
4853 shebangs and Python PEP 263.
4855 2002-10-08 Andy Piper <andy@xemacs.org>
4857 * glyphs-widget.c (layout_query_geometry): only resize dynamically
4858 if static sizes haven't been set.
4860 2002-08-30 Mike Alexander <mta@arbortext.com>
4862 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
4865 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
4867 * callproc.c (child_setup): 21.4 doesn't have retry_close.
4869 2002-09-20 Mike Sperber <mike@xemacs.org>
4871 (This partially gets back my patch from 2002-07-20 without the
4873 * callproc.c (child_setup): Remove Ben's comment noting confusion
4874 over the file descriptors >= 3: close_process_descs() doesn't
4875 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
4876 * process-unix.c (unix_create_process): Call
4877 begin_dont_check_for_quit to inhibit unwanted interaction (and
4878 thus breaking of X event synchronicity) in the child.
4880 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
4882 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
4885 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
4887 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
4888 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
4889 the xemacs process did not exit, but looped infinitely here. This
4892 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
4894 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
4895 (find_context): Improve comments.
4897 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
4898 (re_match_2): An XCHAR_TABLE operation was missing.
4900 Many of the following changes were inspired by Andy Piper's (now
4901 obsolete) patch to make syntax-table text property lookup optional.
4905 * syntax.h (top level): Document semantics of syntax flags.
4906 * syntax.c (comstr_start, Fforward_comment): Improve comments.
4907 * syntax.c, syntax.h (top level): Document syntax cache better in
4910 [Instrument syntax caching (temporary change)]
4912 * syntax.h (enum syntax_cache_statistics_functions, struct
4913 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
4914 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
4915 * syntax.c (scan_words, Fforward_comment, scan_lists,
4916 Fbackward_prefix_characters):
4917 * font-lock.c (find_context):
4918 Use them to instrument syntax caching.
4919 * syntax.c (struct syntax_cache_statistics, scs_statistics,
4920 syntax_cache_statistics_function_names): New type and variables.
4921 * syntax.c (update_syntax_cache): Update and report statistics.
4923 [Major syntax cache optimizations]
4925 syntax.c (lookup_syntax_properties): Default off.
4927 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
4928 * syntax.c (update_syntax_cache):
4929 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
4931 [Minor syntax cache optimizations and code clarifications]
4933 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
4934 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
4935 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
4936 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
4937 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
4938 (Code clarification.)
4940 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
4941 scan_lists): Compute code from syncode, use Boolean macros instead
4942 of redundant masking operations. (Code clarification; any decent
4943 compiler can do this optimization.)
4945 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
4948 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
4949 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
4950 use F*_single_property_change instead of F*_extent_change.
4951 Currently F*_single_property_change is _much_ less efficient.
4953 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
4954 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
4955 syntax_cache.object properly, don't leave Qt or Qnil.
4956 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
4957 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
4958 tests for Qt or Qnil.
4960 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
4962 * redisplay.c (point_in_line_start_cache):
4963 * extents.c (print_extent_1):
4966 * extents.c (Fset_extent_property): Document `syntax-table' property.
4968 * extents.h (Fnext_single_property_change): EXFUN it.
4970 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
4972 * search.c (clear_unused_search_regs): New static function.
4976 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
4977 Minor clarifications in comments.
4979 * regex.c (re_match_2_internal): Ensure no stale submatches.
4981 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
4983 * event-Xt.c (enqueue_focus_event): Add missing prototype.
4985 2002-08-29 Jerry James <james@xemacs.org>
4987 * lisp.h: structrures -> structures.
4989 2002-06-03 Andy Piper <andy@xemacs.org>
4991 * frame.c (frame_conversion_internal): add conversion appropriate
4992 for setting frame dimensions in pixels.
4994 * console.h (struct console_methods): add device-specific widget
4997 * emacs.c (main_1): initialize glyph vars.
4999 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
5000 (handle_focus_event_2): new function. Allow focus to
5001 be set to a particular window and widget.
5002 (enqueue_focus_event): new function. Create a
5003 synthetic focus event.
5004 (emacs_Xt_handle_magic_event): call
5005 handle_focus_event_2.
5007 * frame.c (Fset_frame_pixel_height): new function. Allow
5008 pixel-based sizing. Does the right thing on character-oriented
5010 (Fset_frame_pixel_width): ditto.
5011 (Fset_frame_pixel_size): ditto.
5012 (syms_of_frame): declare.
5014 * general-slots.h: add :vertically-justify and
5015 :horizontally-justify.
5017 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
5018 (mswindows_widget_border_width): new function.
5019 (mswindows_combo_box_instantiate): set border widths.
5020 (console_type_create_glyphs_mswindows): declare.
5023 (check_valid_justification): allow vertical and horizontal
5025 (widget_border_width): new function. Call device methods.
5026 (widget_instance_border_width): ditto.
5027 (logical_unit_height): new function. Determine the height of a
5028 logical-unit. Logical units are intended to provide grid-like
5029 layout for subcontrols in a layout. If the layout is
5030 :vertically-justify top then subcontrols will be positioned on
5031 logical-unit boundaries, thus allowing adjacent subcontrols to
5033 (widget_logical_unit_height): ditto for widgets.
5034 (redisplay_widget): misc cleanup.
5035 (widget_spacing): new function. Call device specific
5036 methods. Intended to be the default gap between adjacent widgets.
5037 (widget_query_geometry): use new spacing functions to determine
5038 appropriate geometry.
5039 (initialize_widget_image_instance): initialize horizontal and
5040 vertical justification.
5041 (widget_instantiate): use logica-units where appropriate for
5042 sizing large widgets.
5043 (button_query_geometry): use widget_instance_border_width.
5044 (tree_view_query_geometry): ditto.
5045 (tab_control_query_geometry): ditto.
5046 (edit_field_query_geometry): new function.
5047 (layout_update): pick up :justify, :horizontally-justify and
5048 :vertically-justify none of which worked previously. :justify is
5049 used as a fallback for both horizontal and vertical justification.
5050 (layout_query_geometry): use logical units to size appropriately.
5051 (layout_layout): ditto.
5052 (Fwidget_logical_to_character_width): new function. Allow users to
5053 convert from logical units to characters so that frame sizes can
5054 be set appropriately.
5055 (Fwidget_logical_to_character_height): ditto.
5056 (syms_of_glyphs_widget): declare.
5057 (image_instantiator_edit_fields): add edit_field_query_geometry.
5058 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
5059 :horizontally-justify.
5060 (specifier_vars_of_glyphs_widget): new function. Declare
5061 Vwidget_border_width which is not yet used.
5063 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
5064 (x_widget_border_width): new function.
5065 (x_widget_instantiate): create a sensible name for widgets.
5066 (console_type_create_glyphs_x): declare x_widget_border_width.
5068 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
5069 (struct Lisp_Image_Instance): add :vertically-justify and
5070 :horizontally-justify.
5071 (LAYOUT_JUSTIFY_TOP): new.
5072 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
5073 (ROUND_UP): new macro. Round argument up to next integral
5076 * redisplay-output.c (redisplay_output_layout): misc formatting.
5078 * symsinit.h: declare specifier_vars_of_glyphs_widget.
5080 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
5082 * XEmacs 21.4.9 "Informed Management" is released.
5084 2002-08-19 Andy Piper <andy@xemacs.org>
5086 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
5089 * realpath.c (xrealpath): normalize drive spec also so that dir
5090 sep chars are not mixed on cygwin.
5092 2002-08-06 Jerry James <james@xemacs.org>
5094 * window.c (Fsplit_window): Count only half of the divider width
5095 against the left window when splitting horizontally.
5097 2002-06-24 Andy Piper <andy@xemacs.org>
5099 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
5100 toolbar was cleared.
5102 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
5103 function. Split out from mswindows_output_frame_toolbars.
5104 (mswindows_output_frame_toolbars): move clear pieces to
5105 mswindows_output_frame_toolbars.
5107 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
5108 out from gtk_output_frame_toolbars.
5109 (gtk_output_frame_toolbars): move clear pieces to
5110 gtk_clear_frame_toolbars.
5112 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
5113 the frame is cleared. How this ever worked before is a mystery.
5114 (x_output_frame_toolbars): Only output toolbars.
5115 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
5117 * gutter.c (update_gutter_geometry):
5118 Mark frame layout changed.
5119 (update_frame_gutter_geometry, update_frame_gutters):
5120 Respect frame_layout_changed.
5122 * console.h (struct console_methods): add
5123 clear_frame_toolbars_method.
5125 * redisplay.c (redisplay_frame): call
5126 update_frame_toolbars_geometry and re-order update_frame_toolbars.
5128 * toolbar.h: declare update_frame_toolbars_geometry.
5130 * toolbar.c (update_frame_toolbars_geometry): new function. Split
5131 out from update_frame_toolbars. Call clear_frame_toolbars.
5132 (update_frame_toolbars): only output, do not change geometry.
5134 * redisplay.c: add frame_layout_changed.
5136 * redisplay.h: add frame_layout_changed.
5137 (CLASS_RESET_CHANGED_FLAGS): set it.
5138 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
5139 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
5140 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
5142 * device.h (struct device): add frame_layout_changed.
5143 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
5145 * frame.h (struct frame): add frame_layout_changed.
5146 (MARK_FRAME_LAYOUT_CHANGED): new.
5148 2002-06-30 Mike Alexander <mta@arbortext.com>
5150 * event-msw.c (mswindows_need_event): Don't wait for a new message
5151 if the queue is not empty. Suggested by Paul Moore.
5153 2002-06-12 Andy Piper <andy@xemacs.org>
5155 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
5156 for printing on accurately.
5158 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
5160 * event-msw.c (mswindows_wnd_proc): Add a handler for the
5161 WM_ACTIVATE message. Make sure that the frame is visible if the
5162 window is visible. This seemss to fix the problem where XEmacs
5163 appears to freeze after switching desktops with certain virtual
5165 (debug_output_mswin_message): Added code to output message
5166 parameters for WM_WINDOWPOSCHANGED,
5167 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
5169 2002-05-25 Andy Piper <andy@xemacs.org>
5171 * select-x.c (vars_of_select_x): Fix docstring of
5172 x-selection-strict-motif-ownership
5174 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5176 * keymap.c (get_keymap):
5177 Add comment about do_autoload GCPROs own args.
5179 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5181 * bytecode.c (execute_optimized_program): check_opcode ifdef
5182 ERROR_CHECK_BYTE_CODE.
5184 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5186 Thanks to Ben Wing and Michael Sperber.
5188 * eval.c (Fcommand_execute):
5191 (Fmacroexpand_internal):
5192 (function_argcount):
5193 callint.c (Fcall_interactively):
5194 Add comment about do_autoload GCPROs own args.
5196 * (do_autoload): GCPRO both args as well as local Lisp_Object.
5198 * eval.c (Ffuncall): Extra braces to placate GCC.
5200 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
5202 * backtrace.h (grow_specpdl):
5204 * EmacsFrame.c (EmacsFrameSetValues):
5205 * eval.c (grow_specpdl):
5206 * ExternalShell.c (hack_event_masks_1):
5207 * glyphs-x.c (convert_EImage_to_XImage):
5208 (x_finalize_image_instance):
5209 * ralloc.c (page_size):
5211 * xgccache.c (gc_cache_hash):
5212 Fix unsigned comparison warnings.
5214 2002-07-29 Jerry James <james@xemacs.org>
5216 * lread.c (locate_file): Any nonnegative return value indicates
5217 success if MODE is nonnegative.
5219 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
5221 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
5224 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
5226 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
5228 * dumper.c (pdump_get_indirect_count):
5229 (pdump_scan_by_alignment):
5230 (pdump_dump_root_struct_ptrs):
5231 (pdump_dump_rtables):
5232 (pdump_dump_root_objects):
5234 * nas.c (WaveOpenDataForReading):
5235 * fns.c (print_bit_vector):
5236 * font-lock.c (SINGLE_SYNTAX_STYLE):
5237 * glyphs.c (check_for_ignored_expose):
5238 (find_matching_subwindow):
5240 * imgproc.c (get_histogram):
5241 * redisplay.c (point_in_line_start_cache):
5242 * redisplay-output.c (redisplay_unmap_subwindows):
5243 * symbols.c (defsymbol_massage_name_1):
5244 (defkeyword_massage_name):
5245 (deferror_massage_name_and_message):
5246 * redisplay-x.c (x_output_string):
5247 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
5248 * frame.h (struct frame):
5249 * filelock.c (current_lock_owner):
5250 * doprnt.c (emacs_doprnt_1):
5251 * lisp.h (struct Lisp_Bit_Vector):
5255 2002-02-13 Ben Wing <ben@xemacs.org>
5257 * event-stream.c (reset_key_echo):
5258 * event-stream.c (reset_this_command_keys):
5259 * event-stream.c (execute_command_event):
5260 If console is dead as a result of C-x 5 0, then post-command stuff
5261 needs to be careful and do only non-console-specific stuff.
5263 2002-07-01 Mike Sperber <mike@xemacs.org>
5265 * process-unix.c (unix_send_process): Mark coding_outstream as
5266 non-open upon SIGPIPE.
5268 * event-stream.c (Fnext_event): Reorder switch cases to something
5271 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
5273 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
5274 Don't bogusly reinitialize ascii_character property.
5276 2002-07-08 Mike Sperber <mike@xemacs.org>
5278 * process.c (Fstart_process_internal): Do error checking before we
5279 fork off the child, so the child can't muck with the state of the
5282 2002-07-08 Mike Sperber <mike@xemacs.org>
5284 * ralloc.c (init_ralloc): Allocate properly for pdump.
5286 2002-06-12 Andy Piper <andy@xemacs.org>
5288 * glyphs.c (query_string_geometry): check the string.
5290 * glyphs-widget.c (widget_logical_unit_height): cope with nil
5293 2002-06-17 Jerry James <james@xemacs.org>
5295 * sysdll.c: Remove RTLD_GLOBAL initialization.
5296 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
5298 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
5300 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
5302 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
5304 * sysdep.c (sys_rename): Make sys_rename work for the case where
5305 Windows rename sets errno to EACCES if target file exists.
5307 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
5309 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5310 Fix detection of metric units to work on Win95
5312 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
5314 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
5316 2002-04-25 Andy Piper <andy@xemacs.org>
5318 * redisplay.c (create_text_block): Remove extra comment trailer.
5320 2002-04-24 Andy Piper <andy@xemacs.org>
5322 * redisplay.c (create_text_block): Don't actually add propagation
5323 data if the line ends after we have added a glyph.
5325 2002-04-22 Andy Piper <andy@xemacs.org>
5327 * extents.c (extent_fragment_update): check for glyphs we have
5328 previously displayed.
5329 * extents.c (print_extent_1): warning removal.
5330 * extents.h: change prototype.
5331 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
5332 widths correctly for wide glyphs.
5333 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
5334 * redisplay.c (prop_type): add PROP_GLYPH.
5335 * redisplay.c (struct prop_block): add glyph type
5336 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
5337 to the propagation data.
5338 * redisplay.c (create_text_block): if there is a glyph in the
5339 propagation data use it to salt extent_fragment_update.
5340 * redisplay.c (create_string_text_block): ditto.
5342 2002-04-13 Nix <nix@esperi.demon.co.uk>
5344 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
5345 * redisplay-output.c (compare_runes): Compare them.
5346 * redisplay.c: Update copyright date.
5347 * redisplay.c (pos_data): Add need_baseline_computation field.
5348 * redisplay.c (add_glyph_rune): Update ascent, descent, and
5349 need_baseline_computation; zero yoffset. Set max_pixmap_height
5350 for all pixmaps, not just automatically positioned ones.
5351 * redisplay.c (calculate_yoffset): New, compute yoffset values.
5352 * redisplay.c (calculate_baseline): New, compute textual baseline.
5353 * redisplay.c (add_glyph_rune): Call them.
5354 * redisplay.c (create_text_block): Likewise.
5355 * redisplay.c (create_overlay_glyph_block): Likewise.
5356 * redisplay.c (add_margin_runes): Likewise.
5357 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
5359 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
5360 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
5361 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
5362 * redisplay-msw.c (mswindows_output_string): Likewise.
5363 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
5364 * redisplay-gtk.c (gtk_output_display_block): Likewise.
5365 * redisplay-x.c (x_output_display_block): Likewise.
5367 2002-03-28 Ben Wing <ben@xemacs.org>
5369 * redisplay.c: Fixed bug in redisplay
5370 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
5371 and down of the lines, since they're bigger than the line
5372 size. (It was seen most obviously when there's a horizontal scroll
5373 bar, e.g. do C-h a glyph or something like that.) The problem was
5374 that the glyph-contrib-p setting on glyphs was ignored even if it
5375 was set properly, which it wasn't until now.
5377 2002-04-24 Andy Piper <andy@xemacs.org>
5379 * lisp.h (Dynarr_end): Fix definition.
5381 2002-02-06 Adrian Aichner <adrian@xemacs.org>
5383 * redisplay.c (mark_redisplay): Remove call to
5384 update_frame_window_mirror.
5386 2001-11-15 Andy Piper <andy@xemacs.org>
5388 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
5391 2002-02-13 Andy Piper <andy@xemacs.org>
5393 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
5394 we did in fact enqueue the XM_MAPFRAME event.
5396 2002-01-15 Adrian Aichner <adrian@xemacs.org>
5398 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
5399 to fix problem switching between virtual desktops under virtuawin
5400 virtual window manager.
5402 2001-07-30 Adrian Aichner <adrian@xemacs.org>
5404 * event-msw.c: Typo fix.
5405 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
5406 magic XM_MAPFRAME event has been sent.
5408 2001-11-23 Andy Piper <andy@xemacs.org>
5410 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
5412 2001-11-21 Andy Piper <andy@xemacs.org>
5414 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
5415 mouse events outside the frame.
5417 2002-03-20 Andy Piper <andy@xemacs.org>
5419 * menubar-msw.c (mswindows_popup_menu): warning removal.
5420 * dialog-msw.c (dialog_popped_down): ditto.
5422 2001-12-11 Andy Piper <andy@xemacs.org>
5424 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
5425 * dialog-msw.c (mswindows_make_dialog_box_internal): set
5427 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
5428 * menubar-msw.c (mswindows_handle_wm_command): ditto.
5429 * menubar-msw.c (mswindows_popup_menu): ditto.
5431 2001-10-29 Andy Piper <andy@xemacs.org>
5433 * dialog-msw.c (handle_directory_dialog_box): quit if the user
5436 2002-01-03 Andy Piper <andy@xemacs.org>
5438 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
5442 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
5444 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
5445 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
5446 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5447 Detect and handle case where machine is set up for metric units
5449 2002-04-02 Andy Piper <andy@xemacs.org>
5451 * dired-msw.c (mswindows_get_files):
5452 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
5453 completely handled by XEmacs. Suggested by Thomas Vogler
5454 <mail@thomas-vogler.de>.
5456 2001-11-14 Andy Piper <andy@xemacs.org>
5458 * nt.c (REG_ROOT): change registry key to XEmacs.
5460 2002-04-27 Andy Piper <andy@xemacs.org>
5462 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
5464 2002-04-26 Andy Piper <andy@xemacs.org>
5466 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
5469 2002-03-14 Mike Alexander <mta@arbortext.com>
5471 * event-msw.c (mswindows_unwait_process): New, remove process from
5473 * process-nt.c (nt_finalize_process_data): Call
5474 mswindows_unwait_process
5475 * console-msw.h: Declare mswindows_unwait_process
5477 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
5479 * editfns.c (Fdecode_time):
5480 (Fformat_time_string):
5481 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
5482 (make_time): Warning elimination (change arg name).
5484 2001-11-24 Andy Piper <andy@xemacs.org>
5486 * window.c (Fsplit_window): Doc return type.
5488 2002-04-01 Andy Piper <andy@xemacs.org>
5490 * emacs.c (Fkill_emacs): Only output message box in interactive
5493 2002-04-26 Andy Piper <andy@xemacs.org>
5495 * config.h.in: pull in 21.5.x change to stop alloca warnings under
5498 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
5500 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
5503 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
5505 * XEmacs 21.4.8 "Honest Recruiter" is released.
5507 2002-05-07 Nix <nix@esperi.demon.co.uk>
5509 Supersedes 2002-04-17 patch.
5511 * process.h (PROCESS_LIVE_P): Use the process status as
5512 evidence of health, not the state of the input stream.
5513 (PROCESS_READABLE_P): Say if the process is readable
5514 from. (It may be dead nonetheless.)
5515 (CHECK_READABLE_PROCESS): Test for that condition.
5517 * process.c (create_process): Use PROCESS_READABLE_P.
5518 (read_process_output, set_process_filter): Likewise.
5520 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
5521 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
5523 This code is #if 0'd, this is not the time to add new functions:
5525 * process.c (Fprocess_readable_p): Report readability status.
5526 * process.c (Qprocess_readable_p): New, associated symbol...
5527 * process.c (syms_of_process): ... initialize it.
5529 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
5531 * XEmacs 21.4.7 "Economic Science" is released.
5533 2002-04-17 Nix <nix@esperi.demon.co.uk>
5535 * process.h (PROCESS_LIVE_P): Use the process status as
5536 evidence of health, not the state of the input stream.
5538 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
5540 * sysdep.c (sys_siglist): change "signum" to "signal"
5542 2001-04-21 Martin Buchholz <martin@xemacs.org>
5544 * s/darwin.h: New file.
5545 Thanks to Greg Parker <gparker@cs.stanford.edu>.
5547 2002-04-23 Andreas Jaeger <aj@suse.de>
5549 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
5550 which use lib64 for 64-bit libs.
5551 (START_FILES): Likewise.
5553 2002-02-11 Mike Sperber <mike@xemacs.org>
5556 (x_IO_error_handler):
5557 (x_init_device): Temporarily keep device in static variable
5558 `device_being_initialized' so we can recover gracefully from
5559 internal XOpenDevice failure. (XOpenDevice is documented to
5560 return NULL on failure, but sometimes calls the IO error handler
5563 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
5565 * dired.c (Ffile_name_all_completions): Change documentation --
5566 remove reference to completion-ignored-extensions.
5567 * dired.c (vars_of_dired): Change documentation for
5568 completion-ignored-extensions -- remove reference to
5569 file-name-all-completions.
5571 2002-03-06 Jerry James <james@xemacs.org>
5573 * emodules.c (emodules_load): Fix multiple loading of same module.
5575 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
5576 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
5577 RTLD_LAZY to avoid incorrect symbol binding when using nested
5578 shared libraries on Solaris.
5580 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
5582 * fileio.c (Ffind_file_name_handler): Improve docstring.
5584 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
5586 * fns.c (Fmapconcat): Improve docstring.
5588 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
5590 * device-gtk.c: Add prototype for
5591 emacs_gtk_selection_clear_event_handle.
5592 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
5593 selection. Setup signal handler for "selection_clear_event"
5594 (emacs_gtk_selection_clear_event_handle).
5596 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
5597 other applications owning the clipboard (based on
5598 x_handle_selection_clear).
5600 2001-12-23 William M. Perry <wmperry@gnu.org>
5602 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
5604 2002-01-04 Martin Buchholz <martin@xemacs.org>
5606 * keymap.c (define_key_alternate_name): Parenthesize EQ.
5608 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
5610 * XEmacs 21.4.6 "Common Lisp" is released.
5612 2001-12-16 Torsten Duwe <duwe@caldera.de>
5614 * search.c (Freplace_match): Add missing sub-expression functionality.
5616 * buffer.c (decode_buffer): Add a check for pointer type to
5617 decode_buffer, before gcc's CSE optimization reorders a
5618 dereference in front of the allow_string test.
5620 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
5622 * window.c (window_loop): Fix bug that sometimes prevented
5623 window_loop() from iterating across multiple devices. Also, at
5624 Ben's request, changed infloop-detecting code to abort() instead
5625 of silently terminating window_loop().
5627 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
5629 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
5630 * editfns.c (make_time): New function.
5631 (Fencode_time): Use it instead of wasteful_word_to_lisp.
5632 * lisp.h (make_time): Prototype and comment it.
5633 * dired.c (wasteful_word_to_lisp): Deprecate.
5634 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
5636 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
5638 * fileio.c (auto_save_1): Use current coding system, not
5641 2001-11-13 Ben Wing <ben@xemacs.org>
5644 * window.c (window_truncation_on):
5645 * window.c (syms_of_window):
5646 truncate-partial-width-windows should respect the buffer being
5647 displayed, like other redisplay vars.
5649 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
5651 * event-stream.c (Fread_key_sequence): save current buffer.
5653 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
5655 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
5657 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
5659 * alloc.c (lcrecord_stats): Add space for types defined in modules.
5661 2001-10-26 Mike Alexander <mta@arbortext.com>
5663 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
5665 2001-10-25 Andy Piper <andy@xemacs.org>
5668 * dialog-msw.c (handle_directory_proc): new function.
5669 (handle_directory_dialog_box): new fucntion.
5670 (handle_file_dialog_box): use new directory dialog support.
5671 (mswindows_make_dialog_box_internal): ditto.
5672 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
5674 (mswindows_find_frame): make global.
5675 * fileio.c (Fexpand_file_name): build fix.
5676 * general-slots.h: add Qdirectory.
5677 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
5679 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
5680 cygwin not leaving win32 paths unchanged.
5681 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
5682 cygwin runtime to do path conversion.
5683 (Fmswindows_shell_execute): fix cygwin handling of URLs.
5684 (syms_of_win32): add new function.
5685 * window.c (window_loop): build fix.
5687 2001-10-15 Andy Piper <andy@xemacs.org>
5689 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
5691 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
5693 * XEmacs 21.4.5 "Civil Service" is released.
5695 2001-04-08 Danny Colascione <qtmstr@optonline.net>
5697 * glyphs-x.c: Force buffer-tab highlight update when moving the
5698 buffer, avoiding an ugly black border, used for keyboard focus
5699 indication, on a widget that can never have keyboard focus, the
5702 2001-08-30 Daiki Ueno <ueno@unixuser.org>
5704 * process-unix.c (unix_open_multicast_group): Remove too much
5705 conversion between host and network byte order.
5707 2001-09-10 Nix <nix@esperi.demon.co.uk>
5709 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
5710 before replacing them.
5712 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
5715 * src/window.c (undedicate_windows): Use it.
5716 * src/window.h: Add prototype.
5718 2001-09-17 Ben Wing <ben@xemacs.org>
5720 * fileio.c (normalize_filename):
5721 * fileio.c (Fexpand_file_name):
5722 Fix various C++ compile errors in Andy's recent code.
5724 * callint.c (Fcall_interactively):
5725 * editfns.c (Ftemp_directory):
5726 * editfns.c (Fuser_full_name):
5727 * emacs.c (argmatch):
5728 * lread.c (locate_file_map_suffixes):
5729 * redisplay-x.c (x_ring_bell):
5730 Fix sign-compare warnings.
5732 2001-09-08 Andy Piper <andy@xemacs.org>
5734 * fileio.c (normalize_filename): copied from nt.c
5735 * (Ffile_name_directory): enable win32 paths under cygwin.
5736 * (Ffile_name_nondirectory): ditto.
5737 * (directory_file_name): ditto.
5738 * (Fexpand_file_name): ditto.
5739 * (Ffile_truename): ditto.
5740 * (Fsubstitute_in_file_name): ditto.
5741 * (Ffile_name_absolute_p): ditto.
5742 * (Ffile_readable_p): ditto.
5744 2001-09-08 Andy Piper <andy@xemacs.org>
5746 * device-msw.c (mswindows_finish_init_device): remove dde
5748 * device-msw.c (mswindows_init_dde): factor out from
5749 mswindows_finish_init_device()
5750 * device-msw.c (init_mswindows_very_early): new function
5751 initialize but don't enable dde.
5752 * emacs.c (main_1): call init_mswindows_very_early.
5754 * event-msw.c (mswindows_dde_callback): only execute when we are
5756 * symsinit.h: declare init_mswindows_very_early.
5758 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5760 [sjt: This has been in 21.5 for months with no complaints.]
5762 * console.h (struct console_methods): Added flags member.
5763 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
5764 (CONMETH_IMPL_FLAG):
5765 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
5766 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
5768 * device.c (window_system_pixelated_geometry): Use the above macros.
5770 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
5771 implememntation flag.
5772 * device.h (DEVICE_DISPLAY_P): Use it.
5774 * frame.c (delete_frame_internal): Use the above macro.
5776 * redisplay.c (redisplay_device): Use it.
5777 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
5778 (redisplay_frame): Ditto.
5780 * device-msw.c (mswindows_device_implementation_flags): Removed.
5781 (msprinter_device_implementation_flags): Removed.
5782 (console_type_create_device_mswindows): Removed references to
5783 implementation_flags methods, set implementation flags here.
5784 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
5786 * device-gtk.c (gtk_device_implementation_flags): Removed method.
5787 (console_type_create_device_gtk): Removed method declaration.
5788 Added commented out statement which semantically matches the
5789 commented out statement in the above removed method.
5791 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
5793 The attached patch fixes a few warnings.
5795 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
5796 * src/frame-gtk.c: guard against GNOME calls in GTK only
5797 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
5798 * src/select-gtk.c: prototype lisp_to_time
5800 2001-06-08 Ben Wing <ben@xemacs.org>
5802 ------ gc-in-window-procedure fixes ------
5805 * alloc.c (struct post_gc_action):
5806 * alloc.c (register_post_gc_action):
5807 * alloc.c (run_post_gc_actions):
5808 * alloc.c (garbage_collect_1):
5809 Create "post-gc actions", to avoid those dreaded "GC during window
5810 procedure" problems.
5813 Abort, clean and simple, when GC in window procedure. We want
5814 to flush these puppies out.
5817 * glyphs-msw.c (finalize_destroy_window):
5818 * glyphs-msw.c (mswindows_finalize_image_instance):
5819 Use a post-gc action when destroying subwindows.
5822 Declare register_post_gc_action().
5825 * scrollbar-msw.c (unshow_that_mofo):
5826 Use a post-gc action when unshowing scrollbar windows, if in gc.
5828 * redisplay.c (mark_redisplay):
5829 Add comment about the utter evilness of what's going down here.
5831 ------ cygwin setitimer fixes ------
5833 * Makefile.in.in (sheap_objs):
5834 * Makefile.in.in (profile_objs):
5835 * Makefile.in.in (objs):
5836 Compile profile.c only when HAVE_SETITIMER.
5838 * nt.c (mswindows_sigset):
5839 * nt.c (mswindows_sighold):
5840 * nt.c (mswindows_sigrelse):
5841 * nt.c (mswindows_sigpause):
5842 * nt.c (mswindows_raise):
5843 * nt.c (close_file_data):
5847 Move setitimer() emulation to win32.c, because Cygwin needs it too.
5850 * profile.c (Fstart_profiling):
5851 * profile.c (Fstop_profiling):
5852 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
5853 instead of just plain setitimer().
5856 * signal.c (set_one_shot_timer):
5858 Define qxe_setitimer() as an encapsulation around setitimer() --
5859 call setitimer() directly unless Cygwin or MS Win, in which case
5860 we use our simulated version in win32.c.
5863 * systime.h (struct itimerval):
5864 * systime.h (ITIMER_REAL):
5865 Prototype mswindows_setitimer() and qxe_setitimer(). Long
5866 comment about "qxe" and the policy regarding encapsulation.
5869 * win32.c (setitimer_helper_proc):
5870 * win32.c (setitimer_helper_period):
5871 * win32.c (setitimer_helper):
5872 * win32.c (mswindows_setitimer):
5873 Move setitimer() emulation here, so Cygwin can use it.
5874 Rename a couple of functions and variables to be longer and more
5875 descriptive. In setitimer_helper_proc(), send the signal
5876 using either mswindows_raise() or (on Cygwin) kill(). If for
5877 some reason we are still getting lockups, we'll change the kill()
5878 to directly invoke the signal handlers.
5880 ------ windows shell fixes ------
5884 Comments about how these two files must die.
5886 * callproc.c (init_callproc):
5887 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
5888 not just COMSPEC. (more correct and closer to FSF.) Don't
5889 force a value for SHELL into the environment. (Comments added
5890 to explain why not.)
5892 * nt.c (init_user_info):
5893 Don't shove a fabricated SHELL into the environment. See above.
5895 2001-06-01 Ben Wing <ben@xemacs.org>
5897 * Makefile.in.in (ldflags):
5898 eliminate that pesky "defaulting to 00401000" warning.
5902 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
5904 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
5905 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
5907 2001-04-24 Jerry James <james@xemacs.org>
5909 * faces.h: pass parameters to Fadd_spec_to_specifier in the
5912 2001-06-01 Ben Wing <ben@xemacs.org>
5914 * event-msw.c (debug_mswin_messages):
5915 conditionalize the messages that were causing compile errors.
5916 (if only macros could generate #ifdef statements ...)
5918 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
5920 * XEmacs 21.4.4 "Artificial Intelligence" is released.
5922 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
5924 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
5926 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
5928 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
5929 * process-unix.c (unix_canonicalize_host_name):
5930 sysdep.c (init_system_name):
5931 Use it to conditionally support IPv6 canonicalization.
5933 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
5936 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
5938 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
5940 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
5941 attempt is made to scroll when no scroll bar is available.
5943 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
5945 * input-method-motif.c (XIM_delete_frame): New callback.
5946 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
5947 got deleted from 21.4.3.)
5949 2001-06-01 Ben Wing <ben@xemacs.org>
5951 * nt.c (mswindows_utime):
5952 * nt.c (close_file_data):
5953 fix off-by-one-indirection error.
5955 2001-05-29 Adrian Aichner <adrian@xemacs.org>
5957 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
5958 because set_file_times() now takes Lisp_Object path, instead of
5960 * nt.c: Include buffer.h.
5961 * nt.c (convert_from_time_t): New.
5962 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
5963 not set mtime correctly.
5964 * nt.h: Declare mswindows_utime().
5965 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
5966 path, instead of char*.
5967 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
5969 2001-05-30 Ben Wing <ben@xemacs.org>
5973 (Stephen, just take all event-msw.c patches. This includes
5974 the "iconify" fix below.)
5977 * event-msw.c (mswindows_dequeue_dispatch_event):
5978 * event-msw.c (assert):
5979 * event-msw.c (emacs_mswindows_quit_p):
5980 * event-msw.c (debug_mswin_messages):
5981 * event-msw.c (debug_output_mswin_message):
5982 * event-msw.c (vars_of_event_mswindows):
5983 Fix yet more problems with C-g handling.
5984 Implement debug-mswindows-events.
5986 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5988 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
5990 2001-05-23 Ben Wing <ben@xemacs.org>
5992 * event-msw.c (winsock_writer):
5993 * event-msw.c (winsock_closer):
5994 prior kludgy code was clobbering the buffer, thinking it was
5995 "unused" space to store an unneeded return value; instead, use
5996 the variable we've already got staring us in the face.
5998 2001-05-17 Andy Piper <andy@xemacs.org>
6000 * sysfile.h: don't assume that file attributes are boolean
6002 2001-05-23 Ben Wing <ben@xemacs.org>
6004 * device-msw.c (msprinter_init_device):
6005 signal an error rather than crash with an unavailable network
6006 printer (from Mike Alexander).
6009 * event-msw.c (struct winsock_stream):
6010 * event-msw.c (winsock_writer):
6011 * event-msw.c (winsock_closer):
6012 * event-msw.c (make_winsock_stream_1):
6013 cleanup headers. fix (hopefully) an error with data corruption
6014 when sending to a network connection.
6016 * fileio.c (Fexpand_file_name): Fix evil code that attempts
6017 to handle the ~user prefix by (a) always assuming we're referencing
6018 ourselves and not even verifying the user -- hence any file with
6019 a tilde as its first char is invalid! (b) if there wasn't a slash
6020 following the filename, the pointer was set *past* the end of
6021 file and we started reading from uninitialized memory. Now we
6022 simply treat these as files, always.
6024 * buffer.c (common_init_complex_vars_of_buffer): comment change.
6026 2001-05-19 Ben Wing <ben@xemacs.org>
6028 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
6031 * process-nt.c (vars_of_process_nt):
6032 remove unused mswindows-quote-process-args. rec for 21.4.
6034 2001-05-12 Ben Wing <ben@xemacs.org>
6036 * event-msw.c (mswindows_dde_callback):
6037 * event-msw.c (mswindows_wnd_proc):
6038 eliminate cygwin warnings.
6040 2001-05-06 Ben Wing <ben@xemacs.org>
6044 * device-msw.c (print_dialog_worker):
6045 * device-msw.c (mswindows_handle_print_dialog_box):
6046 * device-msw.c (syms_of_device_mswindows):
6047 * dialog-msw.c (mswindows_make_dialog_box_internal):
6049 implement printing the selection when it's selected.
6051 2001-05-20 Drazen Kacar <dave@arsdigita.com>
6053 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
6055 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6057 * lisp.h (EMACS_INT_MAX): This should be one bit less since
6058 EMACS_INT is signed.
6060 2001-04-15 Michael Lausch <mla@1012surf.net>
6062 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
6063 gtk_widget_request_size() to give scrollbar >0 width for
6066 2001-05-30 William M. Perry <wmperry@gnu.org>
6068 * event-gtk.c: Check for buttons as modifier keys.
6070 2001-05-25 Craig Lanning <CraigL@Knology.net>
6073 Properly find MinGW's <process.h> inside Cygwin's restructured
6074 include directories. Don't try to include <cygwin/version.h>
6075 since we are dropping support for MinGW in versions of Cygwin
6078 Drop support for MinGW in versions of Cygwin before b21.
6080 Properly find MinGW's <process.h> inside Cygwin's restructured
6081 include directories.
6083 Drop support for MinGW in versions of Cygwin before b21.
6085 Even though a.out.h is no longer detected by configure, allow
6086 MinGW to use it until we figure out how to do the job with Win32.
6088 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
6090 * syntax.c (find_start_of_comment):
6091 Fix `unbalanced parentheses' bug when dealing with mixed comment
6092 styles in c++/java/etc. mode
6094 2001-05-29 Mike Alexander <mta@arbortext.com>
6096 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
6097 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
6099 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
6101 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
6103 2001-03-31 Mike Sperber <mike@xemacs.org>
6105 * search.c (Freplace_match): Support FSF-style specification of
6106 match subexpression when applied to a buffer.
6108 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6110 * event-stream.c (is_scrollbar_event): add missing semicolon
6112 2001-05-22 Isaac Hollander <ysh@mindspring.com>
6114 * Makefile.in.in: Use TAR macro instead of hardcoding
6115 tar. Allows use of GNU tar instead of system tar
6117 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6119 * event-stream.c (is_scrollbar_event): add missing semicolon
6121 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6123 * XEmacs 21.4.3 "Academic Rigor" is released.
6125 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6127 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
6129 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
6131 * buffer.c (Vcase_fold_search): Remove obsolete
6132 comment about non ASCII case-fold-search. This
6133 bug has been fixed by case-table changes.
6135 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
6137 * event-msw.c: Restore include of events-mod.h.
6139 2001-04-22 zhaoway <zw@debian.org>
6141 * event-stream.c (is_scrollbar_event): Noop returning 0 if
6144 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
6146 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
6148 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
6150 * mule-charset.c (Fmake_charset): Add missing else.
6152 2001-04-23 Ben Wing <ben@xemacs.org>
6154 * event-msw.c (FAKE_MOD_QUIT):
6155 * event-msw.c (mswindows_dequeue_dispatch_event):
6156 * event-msw.c (mswindows_wnd_proc):
6157 * event-msw.c (emacs_mswindows_quit_p):
6158 Get critical quit working.
6160 2001-05-05 Ben Wing <ben@xemacs.org>
6164 * device-msw.c (mswindows_get_default_margin):
6165 * frame-msw.c (mswindows_size_frame_internal):
6166 * frame-msw.c (msprinter_init_frame_1):
6167 * frame-msw.c (vars_of_frame_mswindows):
6168 Change top/bottom margin defaults to 0.5 inches.
6170 2001-05-01 Martin Buchholz <martin@xemacs.org>
6172 Fix link error with gcc 3.0 on Linux.
6173 * terminfo.c (UP): Remove.
6174 * terminfo.c (BC): Remove.
6175 * terminfo.c (PC): Remove.
6176 They weren't used, and in any case, these symbols should be
6177 defined in the *library*.
6179 2001-05-03 Martin Buchholz <martin@xemacs.org>
6181 * s/aix4.h: Fix crash with xlc -O3.
6182 Improve comment explaining how -O3 works.
6184 2001-04-15 Ben Wing <ben@xemacs.org>
6187 * event-stream.c (Fnext_event):
6188 * event-stream.c (is_scrollbar_event):
6189 * event-stream.c (execute_command_event):
6190 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
6191 crash' problem. His fix introduces other problems. We filter
6192 out scrollbar events specifically, making them somewhat invisible
6193 to command-building, and not appearing in `this-command-keys'.
6194 More work is still needed (see comments in event-stream.c), but
6195 this fixes all the major problems.
6197 2001-04-20 Ben Wing <ben@xemacs.org>
6199 * .cvsignore: Added stuff for Windows.
6201 2001-04-28 Ben Wing <ben@xemacs.org>
6203 * buffer.c (Ferase_buffer):
6204 * editfns.c (buffer_insert1):
6205 * editfns.c (Finsert_before_markers):
6206 * editfns.c (Finsert_string):
6207 * editfns.c (Finsert_char):
6208 * editfns.c (Fdelete_region):
6209 * editfns.c (Fwiden):
6210 * editfns.c (Fnarrow_to_region):
6211 remove bogus lines setting zmacs_region_stays to 0.
6213 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
6215 * process-unix.c (unix_open_network_stream): If connect() fails
6216 invalidate file descriptor after closing it.
6218 2001-03-08 Mike Alexander <mta@arbortext.com>
6220 * event-msw.c (mswindows_need_event_in_modal_loop):
6221 Don't dispatch a message if we didn't get one.
6222 (mswindows_need_event):
6223 Terminate the correct process when one exits instead of the first
6224 one on Vprocess_list and look for process termination when in
6225 mswindows_protect_modal_loop.
6227 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
6229 * XEmacs 21.4.1 "Copyleft" is released.
6231 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6233 * input-method-motif.c (XIM_delete_frame): New callback.
6234 (XIM_init_frame): Register it.
6236 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6238 * XEmacs 21.4.0 "Solid Vapor" is released.
6240 2001-04-15 Ben Wing <ben@xemacs.org>
6242 * cmdloop.c (call_command_loop):
6243 Fix braino in bit-rotting code.
6245 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
6247 * extents.c (Fset_extent_endpoints): Force creation of extent info
6248 in buffer_or_string.
6250 * extents.c (process_extents_for_insertion_mapper): Correctly
6251 check for open-open zero-length extents.
6253 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6255 * lisp.h: New typedefs Memory_count, Element_count.
6258 Sign-compare warning elimination: several unsigned -> signed.
6259 Based on work by Ben Wing <ben@xemacs.org>.
6261 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
6263 * XEmacs 21.2.47 "Zephir" is released.
6265 2001-04-02 Jan Vroonhof <jan@xemacs.org>
6267 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
6269 2001-04-03 Mike Sperber <mike@xemacs.org>
6271 * search.c: Revert previous patch due because of release.
6273 2001-03-30 Ben Wing <ben@xemacs.org>
6276 Add missing killpg prototype.
6279 Add a comment about fixing problems when a new entry is added
6282 * frame-msw.c (mswindows_init_frame_1):
6283 Fix compile warnings.
6285 * menubar.c (vars_of_menubar):
6286 Provide `menu-accelerator-support' to indicate that we properly
6287 support %_ in menu specifications, so that package code can
6288 conditionalize on this (and remove %_ from menu specifications
6293 * scrollbar-msw.c (can_scroll):
6295 Fix handling of mouse wheel under Windows to follow standards --
6296 now scrolls window under pointer, not selected window.
6298 2001-03-31 Mike Sperber <mike@xemacs.org>
6300 * search.c (Freplace_match): Support FSF-style specification of
6301 match subexpression when applied to a buffer.
6303 2001-03-15 Martin Buchholz <martin@xemacs.org>
6305 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
6306 function to modify KEYMAP, so map over a copy of the hash table.
6308 2001-03-21 Martin Buchholz <martin@xemacs.org>
6310 * XEmacs 21.2.46 "Urania" is released.
6312 2001-03-20 Dan Holmsand <dan@eyebee.com>
6314 * realpath.c (xrealpath): Make file-truename work with symlinks to
6315 /cygdrive paths on cygwin. Always lowercase drive-letters on
6317 (cygwin_readlink): Don't try to find canonical filename unless
6320 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
6322 * ChangeLog: Log GTK merge.
6328 Revert gratuitous whitespace changes from GTK merge.
6330 * emacs.c: Document end of complex #ifdef @ l. 1495.
6333 2001-03-12 Andy Piper <andy@xemacs.org>
6335 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
6336 have to do likewise.
6338 2001-03-12 Andy Piper <andy@xemacs.org>
6340 * sysdep.c: we only support mingw now.
6342 2001-03-09 Andy Piper <andy@xemacs.org>
6344 * unexcw.c (copy_executable_and_dump_data_section): making approx
6345 overrun a warning only.
6347 2001-03-10 William M. Perry <wmperry@aventail.com>
6349 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
6350 satisfy Stephen's identical-after-cpp plea.
6352 2001-03-02 Ben Wing <ben@xemacs.org>
6355 * cmds.c (Fforward_char):
6359 Augment documentation of the most common motion commands to make
6360 note of the shifted-motion support.
6362 2001-03-02 Ben Wing <ben@xemacs.org>
6364 * nt.c (mswindows_fstat):
6365 * nt.c (mswindows_stat):
6366 * search.c (boyer_moore):
6367 Fix compile warnings under Windows.
6369 * sysdep.c (sys_readdir):
6370 Fix buggy filename-conversion code under Mule.
6372 2001-03-09 William M. Perry <wmperry@aventail.com>
6394 * redisplay-output.c:
6400 The Great GTK Merge.
6407 * emacs-widget-accessors.c:
6421 * native-gtk-toolbar.c:
6432 The Great GTK Merge: new files.
6434 2001-02-26 Ben Wing <ben@xemacs.org>
6436 Reapplied Lstream change.
6438 2001-02-26 Ben Wing <ben@xemacs.org>
6440 Undid the last change, since it is more controversial than I
6441 thought. It should be back in at some point soon.
6443 2001-02-25 Ben Wing <ben@xemacs.org>
6446 * callproc.c (Fold_call_process_internal):
6447 * event-msw.c (ntpipe_slurp_reader):
6448 * event-msw.c (ntpipe_shove_writer):
6449 * event-msw.c (winsock_reader):
6450 * event-msw.c (winsock_writer):
6452 * file-coding.c (detect_eol_type):
6453 * file-coding.c (detect_coding_type):
6454 * file-coding.c (determine_real_coding_system):
6455 * file-coding.c (Fdetect_coding_region):
6456 * file-coding.c (decoding_reader):
6457 * file-coding.c (decoding_writer):
6458 * file-coding.c (mule_decode):
6459 * file-coding.c (Fdecode_coding_region):
6460 * file-coding.c (encoding_reader):
6461 * file-coding.c (encoding_writer):
6462 * file-coding.c (mule_encode):
6463 * file-coding.c (Fencode_coding_region):
6464 * file-coding.c (detect_coding_sjis):
6465 * file-coding.c (decode_coding_sjis):
6466 * file-coding.c (encode_coding_sjis):
6467 * file-coding.c (detect_coding_big5):
6468 * file-coding.c (decode_coding_big5):
6469 * file-coding.c (encode_coding_big5):
6470 * file-coding.c (detect_coding_ucs4):
6471 * file-coding.c (decode_coding_ucs4):
6472 * file-coding.c (encode_coding_ucs4):
6473 * file-coding.c (detect_coding_utf8):
6474 * file-coding.c (decode_coding_utf8):
6475 * file-coding.c (encode_coding_utf8):
6476 * file-coding.c (detect_coding_iso2022):
6477 * file-coding.c (decode_coding_iso2022):
6478 * file-coding.c (encode_coding_iso2022):
6479 * file-coding.c (decode_coding_no_conversion):
6480 * file-coding.c (encode_coding_no_conversion):
6481 * glyphs-x.c (write_lisp_string_to_temp_file):
6482 * gpmevent.c (tty_get_foreign_selection):
6485 * lstream.c (Lstream_flush_out):
6486 * lstream.c (Lstream_adding):
6487 * lstream.c (Lstream_write_1):
6488 * lstream.c (Lstream_write):
6489 * lstream.c (Lstream_raw_read):
6490 * lstream.c (Lstream_read_more):
6491 * lstream.c (Lstream_read):
6492 * lstream.c (Lstream_unread):
6493 * lstream.c (Lstream_fputc):
6494 * lstream.c (stdio_reader):
6495 * lstream.c (stdio_writer):
6496 * lstream.c (filedesc_reader):
6497 * lstream.c (filedesc_writer):
6498 * lstream.c (lisp_string_reader):
6499 * lstream.c (struct fixed_buffer_stream):
6500 * lstream.c (make_fixed_buffer_input_stream):
6501 * lstream.c (make_fixed_buffer_output_stream):
6502 * lstream.c (fixed_buffer_reader):
6503 * lstream.c (fixed_buffer_writer):
6504 * lstream.c (struct resizing_buffer_stream):
6505 * lstream.c (resizing_buffer_writer):
6506 * lstream.c (dynarr_writer):
6507 * lstream.c (lisp_buffer_reader):
6508 * lstream.c (lisp_buffer_writer):
6510 * lstream.h (lstream_implementation):
6511 * lstream.h (struct lstream):
6513 * process-nt.c (nt_send_process):
6514 * process-unix.c (unix_send_process):
6516 Correct Lstream lossage due to mixing of signed and unsigned
6517 quantities. All Lstream uses of size_t and ssize_t are now a
6518 single signed data type Lstream_data_count. This fixes problems
6519 under Windows with sending large quantities of data to a process,
6520 and may well fix other subtle bugs.
6522 2001-02-23 Martin Buchholz <martin@xemacs.org>
6524 * XEmacs 21.2.45 "Thelxepeia" is released.
6526 2001-02-21 Martin Buchholz <martin@xemacs.org>
6528 * lisp-union.h (XSETINT):
6531 Reverse previous change of 2001-02-06.
6533 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
6535 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
6537 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6538 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
6539 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
6540 * regex.c (POS_AS_IN_BUFFER): removed
6541 * regex.c (re_search_2):
6542 * regex.c (re_match_2):
6543 Don't use an offset of 1 when calculating buffer positions, since
6544 `BI_BUF_BEGV' does it already.
6546 2001-02-18 Wim Dumon <wim@easics.be>
6548 * insdel.c (prepare_to_modify_buffer): Also check for
6549 supersession when clash-detection is enabled.
6551 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
6553 * regex.c (re_match_2_internal):
6554 Convert temp characters from 'const unsigned char' to 're_char'.
6555 Fix crashing bug with extended characters under mule.
6556 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
6557 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
6558 font-lock, pdump, and new syntax-table code.
6559 * syntax.c (find_start_of_comment):
6560 (find_end_of_comment):
6562 Fix crashing bugs involving moving beyond end of buffer.
6563 * syntax.c (find_start_of_comment):
6564 Fixed logic to allow proper detection of cases where the same
6565 character is used to end both a two-char comment start and a
6566 two-char comment end sequence. Fixes `(forward-comment -1)'.
6567 * syntax.c (find_start_of_comment):
6568 Return position just past last comment-end character for all cases
6569 (previously was only done for two-char comment-end sequences).
6570 * syntax.c (forward-comment):
6571 Take value returned from `find_end_of_comment', rather than
6573 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6574 Properly deal with BUFFERP (syntax_cache.object)
6576 2001-02-17 Martin Buchholz <martin@xemacs.org>
6578 * alloc.c (Fgarbage_collect):
6579 * alloc.c (make_bit_vector_from_byte_vector):
6580 -Wsign-compare-correctness.
6582 2001-02-16 Martin Buchholz <martin@xemacs.org>
6584 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
6585 (XSETCHAR): Likewise.
6586 (XSETOBJ): Likewise.
6588 2001-02-15 Martin Buchholz <martin@xemacs.org>
6590 * mule-canna.c (canna-func-delete_previous):
6591 Rename to canna-func-delete-previous.
6593 2001-02-14 Martin Buchholz <martin@xemacs.org>
6595 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
6597 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
6599 * font-lock.c (find_context): Fix C++ compile errors introduced by
6602 2001-02-13 Martin Buchholz <martin@xemacs.org>
6604 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
6605 pragma, but earlier ones barf on the same pragma.
6607 2001-02-06 Mike Sperber <mike@xemacs.org>
6609 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
6610 `configure-mule-lisp-directory'.
6612 2001-02-12 Martin Buchholz <martin@xemacs.org>
6614 Make sure dump-id.c is compiled in the same way as other .c's.
6615 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
6616 * dump-id.h: Remove.
6617 * emacs.c: Move dump-id.h into dumper.h.
6618 * dumper.h: Move dump-id.h into dumper.h.
6620 Use standard .c.o rule for building dump-id.o.
6621 Remove preprocessor flags from link command.
6622 Add dump-id.o to ${otherobjs} if PDUMP.
6624 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
6626 Port FSF 20.7 syntax table improvements.
6630 Fixups for new syntax table stuff.
6631 * dired.c: Include syntax.c.
6632 (Fdirectory_files): Initialize regex_match_object and
6634 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
6635 and Fget_char_property.
6637 Use ported FSF 20.7 syntax table improvements.
6642 2001-02-09 Martin Buchholz <martin@xemacs.org>
6644 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
6645 Unixware's enum boolean from sys/types.h.
6647 2001-02-10 Martin Buchholz <martin@xemacs.org>
6649 Fix support for building with latest Purify.
6650 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
6651 (PURIFY_FLAGS): Likewise.
6653 2001-02-09 Martin Buchholz <martin@xemacs.org>
6655 * fileio.c (lisp_string_set_file_times): New.
6656 * fileio.c (Fcopy_file): Use it.
6658 (copy-file filename non-ascii-filename t t)
6659 ==> No such file or directory, non-ascii-filename
6661 2001-02-10 Martin Buchholz <martin@xemacs.org>
6663 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
6664 USHRT_MAX seems clearer than ~0 anyways.
6666 2001-02-09 Martin Buchholz <martin@xemacs.org>
6668 dumper improvements. Inspired by Olivier.
6669 * dumper.c (pdump_max_align): New.
6670 * dumper.c (pdump_add_entry): Use pdump_max_align.
6671 * dumper.c (pdump_get_entry_list): Likewise.
6672 * dumper.c (pdump_scan_by_alignment): Likewise.
6673 Don't iterate through unnecessary alignments.
6674 * dumper.c (pdump_file_get): No need to align result of malloc().
6675 * dumper.c (pdump_mallocadr): Remove.
6676 The result of malloc() is guaranteed to be maximally aligned.
6677 * dumper.c: s/elmt/elt/g;
6678 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
6679 * dumper.c (pdump_alert_undump_object): Likewise.
6680 * dumper.c (pdump_align_table):
6681 Don't support alignments > 64.
6682 Store ALIGNOF's, not shift counts, in table.
6684 2001-02-09 Martin Buchholz <martin@xemacs.org>
6686 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
6687 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
6688 * systime.h: Use HAVE_UTIME.
6689 * sysdep.c (struct utimbuf): Remove.
6690 * sysdep.c (set_file_times): Prefer utime() to utimes().
6691 * config.h.in (HAVE_UTIME): New.
6692 * config.h.in (HAVE_UTIME_H): Remove.
6693 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
6695 2001-02-09 Martin Buchholz <martin@xemacs.org>
6697 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
6699 2001-02-08 Martin Buchholz <martin@xemacs.org>
6701 * s/irix6-0.h: Use the standard system memmove, not bcopy.
6703 2001-02-08 Martin Buchholz <martin@xemacs.org>
6705 * XEmacs 21.2.44 "Thalia" is released.
6707 2001-02-06 Martin Buchholz <martin@xemacs.org>
6709 Fixes crashes in kill-emacs on some systems.
6710 * process-unix.c (unix_kill_child_process):
6711 It's OK for kill() to fail with ESRCH.
6713 2001-02-07 Martin Buchholz <martin@xemacs.org>
6715 Contortions to make .gdbinit tricks work on most systems.
6716 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
6717 * alloc.c (dbg_valmask): Make non-const.
6718 * alloc.c (dbg_typemask): Make non-const.
6719 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
6720 * alloc.c (dbg_valbits): Make non-const.
6721 * alloc.c (dbg_gctypebits): Make non-const.
6722 * .gdbinit (decode_object): Make it work with AIX cc.
6724 2001-02-06 Martin Buchholz <martin@xemacs.org>
6726 * elhash.c (make_general_lisp_hash_table):
6727 Use simpler and more efficient calloc to clear entries.
6729 2001-02-07 Martin Buchholz <martin@xemacs.org>
6731 * window.c (window_scroll): Work around an AIX C compiler bug.
6732 Fixes 'scroll-up' does nothing problem with xlC.
6734 2001-02-05 Martin Buchholz <martin@xemacs.org>
6736 * .gdbinit: Remove obsolete comment.
6738 2001-01-31 Mike Alexander <mta@arbortext.com>
6740 * select.c (Fown_selection_internal): Set owned_p for device
6743 2001-02-01 Martin Buchholz <martin@xemacs.org>
6746 "not" cannot be used as a macro name as it is an operator in C++
6747 * config.h.in: Stop #defining `not'.
6748 * chartab.c (check_category_char): not ==> not_p
6749 * chartab.h: Likewise.
6750 * regex.c (re_match_2_internal): Likewise.
6752 2001-02-02 Martin Buchholz <martin@xemacs.org>
6754 * lisp-disunion.h: Fix up comments.
6756 2001-01-31 Martin Buchholz <martin@xemacs.org>
6758 * keymap.c (define_key_check_and_coerce_keysym):
6760 Support mouse-6 and mouse-7 bindings in the obvious way.
6762 2001-02-01 Martin Buchholz <martin@xemacs.org>
6764 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
6766 2001-01-30 Martin Buchholz <martin@xemacs.org>
6768 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
6769 Previous patch missed DEFVAR_INT_MAGIC.
6770 Make sure future DEFVAR_foo use correct types.
6771 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
6772 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
6773 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
6774 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
6775 * (DEFVAR_INT): Likewise.
6776 * redisplay.c (vertical_clip): Should be of type Fixnum.
6777 * redisplay.c (horizontal_clip): Likewise.
6778 * lisp.h (dump_add_opaque_int): New.
6779 (dump_add_opaque_fixnum): New.
6781 2001-01-29 Andy Piper <andy@xemacs.org>
6783 * glyphs-widget.c (check_valid_int_or_function): allow symbols
6784 since they can be eval'ed
6786 2001-01-29 Martin Buchholz <martin@xemacs.org>
6788 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
6789 Oops, XEmacs redefines `class'. Use `typename' instead.
6791 2001-01-28 Martin Buchholz <martin@xemacs.org>
6793 * dumper.c: Fix C++ compile errors.
6795 2001-01-29 Martin Buchholz <martin@xemacs.org>
6797 * tparam.c: Use correct prototypes.
6799 2001-01-28 Martin Buchholz <martin@xemacs.org>
6801 * sysproc.h: #include util.h for NetBSD's openpty.
6803 2001-01-27 Martin Buchholz <martin@xemacs.org>
6805 More 64-bit correctness.
6806 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
6807 Use a typedef `fixnum' for the type used for DEFVAR_INT.
6809 This finally finishes the 64-bit SGI port.
6810 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
6811 * symbols.c: Fix up comments and type casts.
6812 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
6813 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
6814 * symeval.h (Fixnum): New type.
6815 * symeval.h (symbol_value_type): Fix up comment.
6831 * mule-canna.c: A million DEFVAR_INTs here...
6832 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
6845 s/int/Fixnum/g in DEFVAR_INT declarations.
6847 2001-01-26 Martin Buchholz <martin@xemacs.org>
6849 Port pdump to SGI alignment-sensitive environment.
6850 Lisp Object sizeof methods now return aligned sizes. Rely on that.
6851 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
6853 Define and use aligned reading and writing macros.
6854 Use buffered stdio instead of posix i/o for faster dumping.
6855 Eliminate kludgy 256 byte space for header.
6856 Read and write from dump file using structs for alignment safety.
6857 * dumper.c (pdump_align_stream): New.
6858 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
6859 * dumper.c (PDUMP_READ_ALIGNED): New.
6860 * dumper.c (PDUMP_WRITE_ALIGNED): New.
6861 * dumper.c (pdump_static_Lisp_Object): New struct.
6862 * dumper.c (pdump_static_pointer): New struct.
6863 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
6864 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
6865 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
6866 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
6868 * dumper.c (pdump_backtrace):
6869 * dumper.c (pdump_get_indirect_count):
6870 * dumper.c (pdump_register_object):
6871 * dumper.c (pdump_register_struct):
6872 * dumper.c (pdump_reloc_one):
6873 * dumper.c (pdump_scan_by_alignment):
6874 * dumper.c (pdump_dump_from_root_struct_ptrs):
6875 * dumper.c (pdump_dump_opaques):
6876 * dumper.c (pdump_dump_rtables):
6877 * dumper.c (pdump_dump_from_root_objects):
6879 * dumper.c (pdump_load_finish):
6880 Use aligned reading and writing.
6882 * dumper.c (pdump_free): Make static.
6883 * dumper.c (pdump_hFile): Likewise.
6884 * dumper.c (pdump_hMap): Likewise.
6886 2001-01-26 Martin Buchholz <martin@xemacs.org>
6888 * XEmacs 21.2.43 "Terspichore" is released.
6890 2001-01-25 Martin Buchholz <martin@xemacs.org>
6892 Type fiddling for window_config.saved_windows_count
6893 * window.c (struct window_config):
6894 Make saved_windows_count member unsigned.
6895 * window.c (sizeof_window_config_for_n_windows):
6896 Make parameter unsigned.
6897 * window.c (mark_window_config):
6898 * window.c (window_config_equal):
6899 * window.c (free_window_configuration):
6900 * window.c (Fset_window_configuration):
6901 * window.c (count_windows):
6902 * window.c (Fcurrent_window_configuration):
6903 * window.c (reinit_vars_of_window):
6904 Update all callers and users.
6906 2001-01-25 Martin Buchholz <martin@xemacs.org>
6908 Alignment correctness for flexible arrays.
6909 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
6910 Make alignment-correct. Add interesting comments.
6911 * alloc.c (size_vector):
6912 * alloc.c (make_vector_internal):
6913 * alloc.c (make_bit_vector_internal):
6914 * alloc.c (sweep_bit_vectors_1):
6915 * fns.c (size_bit_vector):
6916 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
6917 * window.c (sizeof_window_config_for_n_windows):
6918 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
6920 2001-01-24 Martin Buchholz <martin@xemacs.org>
6922 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
6924 2001-01-23 Andy Piper <andy@xemacs.org>
6926 * select.c (Fown_selection_internal): pass owned_p
6928 * select-msw.c (mswindows_own_selection): New Signature.
6930 * console.h (struct console_methods): add owned_p to
6933 * select-x.c (x_own_selection): pass owned_p
6934 (hack_motif_clipboard_selection): use owned_p
6935 (vars_of_select_x): new variable -
6936 x_selection_strict_motif_ownership.
6938 2001-01-23 Martin Buchholz <martin@xemacs.org>
6940 * specifier.h (specifier_data_offset): Remove pointless parens.
6941 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
6943 2001-01-24 Martin Buchholz <martin@xemacs.org>
6945 Make Lisp_Object sizeof methods be alignment-correct.
6946 pdump must restore objects to the same alignment as the C compiler
6947 assumes. It really matters on SGIs.
6948 * lstream.c (aligned_sizeof_lstream): New.
6949 (sizeof_lstream): Use aligned_sizeof_lstream.
6950 (Lstream_new): Likewise.
6951 * opaque.c (aligned_sizeof_opaque): New.
6952 (sizeof_opaque): Use aligned_sizeof_opaque.
6953 (make_opaque): Likewise.
6954 * specifier.c (aligned_sizeof_specifier): New.
6955 (sizeof_specifier): Use aligned_sizeof_specifier.
6956 (make_specifier_internal): Likewise.
6958 2001-01-23 Martin Buchholz <martin@xemacs.org>
6960 * lstream.h (struct lstream): Use max_align_t for trailing data.
6961 * specifier.h (struct Lisp_Specifier): Likewise.
6963 2001-01-22 Martin Buchholz <martin@xemacs.org>
6965 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
6966 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
6967 (CCL_SUSPEND): Likewise.
6968 (CCL_INVALID_CMD): Likewise.
6969 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
6970 (ccl_driver): Likewise.
6971 (CCL_WRITE_CHAR): Macro hygiene.
6972 (CCL_WRITE_STRING): Macro hygiene.
6974 2001-01-22 Martin Buchholz <martin@xemacs.org>
6976 Port "portable" dumper to SunOS 4 and HP-UX.
6977 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
6978 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
6979 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
6981 2001-01-22 Martin Buchholz <martin@xemacs.org>
6983 * lisp.h (ALIGNOF): A better definition for C++.
6985 2001-01-20 Martin Buchholz <martin@xemacs.org>
6988 Fix printf warnings: int format, long int arg.
6989 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
6990 (PUSH_FAILURE_POINT): Use correct printf formats.
6991 (POP_FAILURE_POINT): Use correct printf formats.
6992 Use do {...} while (0)
6994 2001-01-20 Martin Buchholz <martin@xemacs.org>
6996 * XEmacs 21.2.42 "Poseidon" is released.
6998 2001-01-20 Martin Buchholz <martin@xemacs.org>
7000 * console-x.h: typo fix du jour. Remove #if 0'ed code.
7002 2001-01-19 Martin Buchholz <martin@xemacs.org>
7004 De-kludgify FIXED_TYPE free list frobbing.
7005 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
7006 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
7007 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
7008 * alloc.c (Lisp_Free): New pseudo lisp object definition.
7009 * alloc.c (LRECORD_FREE_P): New.
7010 * alloc.c (MARK_LRECORD_AS_FREE): New.
7011 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
7012 * alloc.c (STRUCT_FREE_P): Deleted.
7013 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
7014 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
7015 * alloc.c (STRING_CHARS_FREE_P): New.
7016 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
7017 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
7018 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
7019 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
7020 * alloc.c (resize_string): Use new definitions.
7021 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
7022 * alloc.c (verify_string_chars_integrity): Use new definitions.
7023 * alloc.c (compact_string_chars): Use new definitions.
7024 * alloc.c: Update monster comments.
7025 * lrecord.h (lrecord_type): Add some new lrecord types for
7028 2001-01-18 Martin Buchholz <martin@xemacs.org>
7030 Improve alignment hackery.
7031 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
7032 (max_align_t): Moved from opaque.h - general purpose.
7033 (ALIGN_PTR): Use size_t, not long.
7034 * opaque.h (max_align_t): Move to lisp.h.
7036 2001-01-18 Norbert Koch <nk@LF.net>
7038 * gui.h: Fix and add prototypes to fix build problems.
7040 2001-01-18 Martin Buchholz <martin@xemacs.org>
7042 temacs is going away, so `dump-temacs' is now a bad name.
7043 * .dbxrc (dump-temacs): Rename to `dmp'.
7044 * .gdbinit (dump-temacs): Rename to `dmp'.
7046 2001-01-17 Andy Piper <andy@xemacs.org>
7048 * glyphs.c (print_image_instance): comment to make martin happy.
7050 * glyphs-x.c (x_redisplay_widget): update faces after a frame
7053 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
7055 (mswindows_tab_control_redisplay): warning suppression.
7057 * glyphs-widget.c (widget_update): re-write to cope with updated
7059 (widget_instantiate): use new gui_item functions.
7060 (tab_control_update): deleted.
7061 (progress_gauge_update): deleted.
7062 (image_instantiator_progress_guage): take out update reference.
7063 (image_instantiator_tree_view): ditto.
7064 (image_instantiator_tab_control): ditto.
7066 * gui.c (widget_gui_parse_item_keywords): new function. Do things
7068 (gui_item_add_keyval_pair): re-write to cope with descriptors and
7069 return whether anything was changed.
7070 (update_gui_item_keywords): as it sounds.
7072 * gui.h: declare widget_gui_parse_item_keywords.
7074 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
7075 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
7077 2001-01-17 Martin Buchholz <martin@xemacs.org>
7079 * XEmacs 21.2.41 "Polyhymnia" is released.
7081 2001-01-16 Didier Verna <didier@xemacs.org>
7083 * glyphs.c (image_instantiate): don't use fallbacks when
7084 instantiating a face's background pixmap by inheritance.
7086 2001-01-14 Mike Sperber <mike@xemacs.org>
7088 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
7089 Conditionalize accordingly.
7091 2001-01-16 Martin Buchholz <martin@xemacs.org>
7093 * dumper.c (pdump_file_get): Fix a compiler warning.
7095 2001-01-15 Martin Buchholz <martin@xemacs.org>
7097 Make Purify happy when pdumping.
7098 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
7099 iniitalizing all bits of new lisp object memory.
7100 * symbols.c (Fmake_local_variable): Likewise.
7101 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
7102 * symbols.c (Fdefvaralias): Likewise.
7103 * mule-charset.c (vars_of_mule_charset): Likewise.
7105 2001-01-15 Martin Buchholz <martin@xemacs.org>
7106 Add the `-nd' flag when running pre-dump operations under the debugger.
7107 * .dbxrc (run-temacs): Add `-nd'.
7108 * .dbxrc (update-elc): Likewise.
7109 * .dbxrc (dump-temacs): Likewise.
7110 * .gdbinit (run-temacs): Likewise.
7111 * .gdbinit (check-temacs): Likewise.
7112 * .gdbinit (update-elc): Likewise.
7113 * .gdbinit (dump-temacs): Likewise.
7115 2001-01-14 Martin Buchholz <martin@xemacs.org>
7117 Allow building 64-bit executables on AIX with GNU malloc, e.g.
7118 export OBJECT_MODE=64
7119 configure --pdump --use-union-type=no
7120 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
7121 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
7123 * miscplay.c (sndcnv8U_2mono):
7124 Avoid two uses of `++' in the same expression.
7125 Suppresses a GCC warning.
7127 2001-01-13 Martin Buchholz <martin@xemacs.org>
7129 Make sure future compilers don't miscompile alloc.c.
7131 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
7132 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
7134 2001-01-12 Martin Buchholz <martin@xemacs.org>
7136 * dumper.c: A little post-pdump-rename comment fixup.
7138 2001-01-09 Jerry James <james@eecs.ku.edu>
7140 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
7142 2001-01-13 Martin Buchholz <martin@xemacs.org>
7144 * *.[ch]: Globally rename symbols using the following `pdump-rename'
7148 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
7151 replace_symbol pdump_wire_lists pdump_weak_object_chains
7152 replace_symbol pdump_wire_list dump_add_weak_object_chain
7154 replace_symbol pdump_wires pdump_root_objects
7155 replace_symbol pdump_wire dump_add_root_object
7157 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
7158 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
7160 replace_symbol dumpstructinfos pdump_root_struct_ptrs
7161 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
7162 replace_symbol dumpstructinfo pdump_root_struct_ptr
7163 replace_symbol dumpstruct dump_add_root_struct_ptr
7165 replace_symbol dumpopaque dump_add_opaque
7166 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
7167 replace_symbol dumpopaqueinfos pdump_opaques
7168 replace_symbol dumpopaqueinfo pdump_opaque
7170 replace_symbol nb_structdump nb_root_struct_ptrs
7171 replace_symbol nb_opaquedump nb_opaques
7173 replace_symbol align_table pdump_align_table
7174 replace_symbol dump_header pdump_header
7176 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
7177 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
7180 2001-01-12 Martin Buchholz <martin@xemacs.org>
7182 * s/aix4.h: Keep the C for AIX compiler from overaggressively
7183 optimizing bytecount_to_charcount().
7185 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7188 (HAVE_DLFCN_H): Removed.
7189 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
7191 2001-01-06 Martin Buchholz <martin@xemacs.org>
7193 Portable dumper maintainability improvements.
7194 * alloc.c (staticpro):
7195 * alloc.c (staticpro_nodump):
7196 * alloc.c (garbage_collect_1):
7197 * alloc.c (reinit_alloc_once_early):
7198 * alloc.c (init_alloc_once_early):
7199 * alloc.c: Move dumper functions to alloc.c.
7200 * dumper.c (pdump_backtrace):
7201 * dumper.c (pdump_dump_structs):
7202 * dumper.c (pdump_dump_opaques):
7203 * dumper.c (pdump_dump_rtables):
7204 * dumper.c (pdump_dump_wired):
7206 * dumper.c (pdump_load_check):
7207 * dumper.c (pdump_load_finish):
7208 * dumper.c (pdump_file_unmap):
7209 * dumper.c (pdump_file_get):
7210 * dumper.c (pdump_resource_free):
7211 * dumper.c (pdump_resource_get):
7212 * dumper.c (pdump_file_free):
7213 * dumper.c (pdump_file_try):
7214 * dumper.c (pdump_load):
7215 Remove fixed size limits on staticpro(), staticpro_nodump(),
7216 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
7217 Remove custom code for dumping lrecord_implementations_table - use
7219 Remove (most of the) custom code for dumping staticpros - dump it
7220 like any other dynarr.
7222 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
7223 * dumper.c: Moved functions from alloc.c.
7224 * alloc.c (dumpstruct): Moved to dumper.c.
7225 * alloc.c (dumpopaque): Likewise.
7226 * alloc.c (pdump_wire): Likewise.
7227 * alloc.c (pdump_wire_list): Likewise.
7229 * lisp.h (Dynarr_sizeof): New.
7230 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
7231 * lisp.h (Dynarr_end): New. Very slightly C++oid.
7232 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
7234 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
7235 * lisp.h (dumpopaque): ditto.
7236 * lisp.h (pdump_wire): ditto.
7237 * lisp.h (pdump_wire_list): ditto.
7239 2001-01-09 Martin Buchholz <martin@xemacs.org>
7241 * make-src-depend (PrintPatternDeps):
7242 Use `sort' to make output independent of perl version.
7244 2001-01-08 Martin Buchholz <martin@xemacs.org>
7247 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
7248 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
7250 2001-01-03 Didier Verna <didier@xemacs.org>
7252 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
7253 that `focus_frame' is alive before thinking of calling
7254 `redisplay_redraw_cursor' on it.
7256 2001-01-08 Martin Buchholz <martin@xemacs.org>
7258 * XEmacs 21.2.40 is released.
7260 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7262 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
7264 2001-01-06 Martin Buchholz <martin@xemacs.org>
7266 * alloc.c (dbg_valmask): Make const.
7267 * alloc.c (dbg_typemask): Make const.
7268 * alloc.c (dbg_USE_UNION_TYPE): Make const.
7269 * alloc.c (dbg_valbits): Make const.
7270 * alloc.c (dbg_gctypebits): Make const.
7272 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
7274 * redisplay-x.c (x_bevel_area):
7275 redisplay.h (struct rune):
7276 Typo fixes in comments.
7278 2001-01-05 Andy Piper <andy@xemacs.org>
7280 * glyphs-x.c (x_redisplay_widget): use size changed for offset
7283 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
7285 2001-01-05 Martin Buchholz <martin@xemacs.org>
7287 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
7289 * mule-ccl.c (stack_idx_of_map_multiple):
7290 Non const global data must not be initialized!
7291 Found by MIYASHITA Hisashi.
7293 2001-01-02 Andy Piper <andy@xemacs.org>
7295 * frame.c (change_frame_size): make sure frame size is always
7298 * glyphs.c (image_instance_layout): minor code reuse.
7300 * window.c (Fcurrent_window_configuration): revert previous
7303 2001-01-02 Martin Buchholz <martin@xemacs.org>
7306 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
7308 2000-12-31 Andy Piper <andy@xemacs.org>
7310 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
7311 when widget gets unmapped.
7313 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
7314 function. Make sure widgets losing focus don't just drop it.
7315 (handle_focus_event_1): record the widget with focus.
7317 2000-12-31 Andy Piper <andy@xemacs.org>
7319 * window.c (allocate_window): use
7320 make_image_instance_cache_hash_table.
7321 (make_dummy_parent): ditto.
7322 (Fset_window_configuration): ditto.
7324 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
7326 * glyphs.c (process_image_string_instantiator): use
7328 (get_image_instantiator_governing_domain): ditto.
7329 (normalize_image_instantiator): ditto.
7330 (instantiate_image_instantiator): ditto.
7331 (make_image_instance_1): ditto.
7332 (image_instantiate): ditto. Key on glyph *and* instantiator type.
7333 (instantiator_eq_equal): new function for use with instance hash
7335 (instantiator_eq_hash): ditto.
7336 (make_image_instance_cache_hash_table): create a suitable hash
7337 table for storing image instances.
7339 * elhash.h (hash_table_weakness): new internal weakness type
7340 HASH_TABLE_KEY_CAR_VALUE_WEAK.
7341 declare new functions.
7343 * elhash.c (finish_marking_weak_hash_tables): introduce yet
7344 another weakness type for glyphs.
7345 (make_standard_lisp_hash_table): new function split out from
7346 make_general_lisp_hash_table.
7347 (make_lisp_hash_table): call make_standard_lisp_hash_table.
7348 (hash_table_instantiate): ditto.
7349 (Fmake_hash_table): ditto.
7351 2000-12-31 Martin Buchholz <martin@xemacs.org>
7353 * XEmacs 21.2.39 is released.
7355 2000-12-29 Andy Piper <andy@xemacs.org>
7357 * menubar.c (menubar_visible_p_changed): signal the frame changed.
7359 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
7360 the frame has changed so that we pick up geometry changes such as
7363 2000-12-28 Andy Piper <andy@xemacs.org>
7365 * lastfile.c (my_ebss): make a char array so we can pad the
7366 bss. Fixes cygwin unexec.
7368 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
7370 2000-12-26 Andy Piper <andy@xemacs.org>
7372 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
7373 comments and try and be more precise about a non-/SIGIO world.
7374 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
7377 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
7378 we don't normalize to zero width or height.
7380 2000-12-24 Andy Piper <andy@xemacs.org>
7382 * Makefile.in.in (ldflags): add -mwindows when appropriate.
7384 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
7386 * s/sco5.h: SCO 5 has pty support.
7388 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
7390 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
7391 input-method-xlib.c contains whole contents of input-method-xfs.c,
7392 so we can use input-method-xlib.c's code for USE_XFONTSET
7394 * input-method-xfs.c: removed.
7396 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
7398 * file-coding.h (enum coding_category_type): reorder enumerators to
7399 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
7400 (now one greater than largest real coding_category_type enumerator).
7401 * file-coding.c (coding_category_symbol, coding_category_by_priority,
7402 coding_category_system, fcd_descriptihon_1, decode_coding_category,
7403 Fcoding_category_list, Fset_coding_priority_list,
7404 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
7405 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
7407 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7409 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
7410 * redisplay-output.c (redisplay_output_window): Clear top of window
7411 when face is changed.
7412 * redisplay-x.c (x_redraw_exposed_window): Call
7413 redisplay_clear_top_of_window.
7414 * redisplay.h: Publish redisplay_clear_top_of_window.
7416 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7418 * buffer.c (Fkill_buffer): Map over all devices.
7419 * window.c (window_loop): Remove UNSHOW_BUFFER code.
7420 (list_windows): New function.
7421 (list_all_windows): Ditto.
7422 (Freplace_buffer_in_windows): Use them.
7424 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
7426 * database.c (berkdb_subtype): Recognize new subtype `queue'.
7427 (Fopen_database): Use `db_create' instead of `db_open'.
7428 (syms_of_database): Initialize Qqueue.
7430 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7432 * buffer.c (common_init_complex_vars_of_buffer): Initialize
7433 buffer_local_face_property.
7434 * buffer.h (struct buffer): New member buffer_local_face_property.
7435 * window.c (Fset_window_buffer): Mark window's face as changed
7436 when buffer has buffer local face.
7437 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
7438 * objects.c (color_after_change): Set buffer_local_face_property
7439 when locale of face specifier is buffer.
7440 * objects.c (font_after_change): Ditto.
7441 * objects.c (face_boolean_after_change): Ditto.
7442 * glyphs.c (image_after_change): Ditto.
7444 2000-12-09 Dan Holmsand <dan@eyebee.com>
7446 * nt.c (mswindows_fstat): Report file permissions, volume serial
7447 number, etc. Code adapted from FSF Emacs 20.7.
7449 2000-12-09 Dan Holmsand <dan@eyebee.com>
7451 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
7452 of stat when we don't have symbolic links, to make sure
7453 mswindows_stat is called on mswindows.
7455 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
7457 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
7459 2000-12-12 Martin Buchholz <martin@xemacs.org>
7461 * doprnt.c (emacs_doprnt_1): More printing fixes.
7462 Make printing of numbers compatible with libc and FSF Emacs.
7463 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
7464 Use the system printf to do most of the hard work of formatting,
7465 instead of doprnt_1().
7466 Calculate memory to allocate for format string.
7467 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
7468 (doprnt_1): Cleaner code and documentation.
7470 2000-12-01 Jerry James <james@eecs.ukans.edu>
7472 * Makefile.in.in: Use the loop variable to install headers.
7474 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7476 * window.c (Fsplit_window): Don't invalidate face cache.
7478 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7480 * minibuf.c (Fall_completions): Undo the previous change
7481 which removed checking elements start with space.
7483 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7485 * mule-canna.c: Didier suppression.
7487 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7489 * mule-canna.c: rename static unsigned char buf[] to key_buffer
7490 (warning suppression). Add English comment translations.
7492 2000-12-05 Martin Buchholz <martin@xemacs.org>
7494 * unexelfsgi.c (unexec): Better test for mmap failure.
7496 2000-12-05 Martin Buchholz <martin@xemacs.org>
7498 * XEmacs 21.2.38 is released.
7500 2000-12-05 Martin Buchholz <martin@xemacs.org>
7502 * redisplay.c (bar-cursor): Make a user variable.
7504 * symsinit.h: Add init_postgresql_from_environment.
7506 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7508 * regex.c: Convert to clean C.
7510 2000-12-05 Dan Holmsand <dan@eyebee.com>
7513 Don't #include sysfile.h. Revert to duplicating PATH_MAX
7515 (sys_readlink): renamed to system_readlink to avoid conflict with
7516 the other sys_readlink.
7518 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
7520 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
7522 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
7524 * postgresql.c (init_postgresql_from_environment): new function.
7525 (vars_of_postgresql): Move code initializing Lisp variables out and
7526 into init_postgresql_from_environment.
7527 emacs.c (main_1): Call init_postgresql_from_environment if and only
7528 if running a dumped XEmacs.
7530 2000-08-31 Dan Holmsand <dan@eyebee.com>
7532 * buffer.c: Make find-file-compare-truenames default to true on
7535 * realpath.c (win32_abs_start):
7537 (win32_readlink): New functions.
7538 (xrealpath): Return really real filenames on windows.
7540 * fileio.c (Ffile_truename): Make file-truename work on windows.
7542 2000-11-29 Didier Verna <didier@xemacs.org>
7544 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
7545 * faces.c (update_face_cachel_data): use it.
7546 * faces.c (add_face_cachel): use it. Complete background pixmap
7547 frobbing in face cache if `update_face_cachel_data' has not done so.
7549 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
7551 * search.c (string_match_1): Don't set last_thing_searched
7554 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
7556 * buffer.c: Include casetab.h
7557 (common_init_complex_vars_of_buffer): Use new case-table object.
7558 * buffer.h: Include casetab.h
7559 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
7560 (DOWNCASE_TABLE_OF): Ditto.
7561 * bufslots.h: Remove char-tables and add case-table.
7562 * casetab.c: Include casetab.h
7563 (CASE_TABLE_P): Removed.
7564 (mark_case_table): New function.
7565 (allocate_case_table): New function.
7566 (Fcase_table_p): Use new case-table.
7567 (case_table_char): New function.
7568 (Fget_case_table): Ditto.
7569 (Fput_case_table): Ditto.
7570 (Fput_case_table_pair): Ditto.
7571 (Fcopy_case_table): Ditto.
7572 (Fcurrent_case_table): Return case-table.
7573 (Fstandard_case_table): Return case-table.
7574 (Fset_case_table): Fix doc-string.
7575 (set_case_table): Use case-table
7576 (syms_of_casetab): DEFSUBR new functions.
7577 (complex_vars_of_casetab): Set up standard case-table.
7578 * casetab.h: New file.
7579 * editfns.c: Include casetab.h
7580 (Fcompare_buffer_substrings): Use case-table.
7581 * inline.c: Include casetab.h
7582 * lisp.h: Remove bogus extern.
7583 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
7584 * search.c: Include casetab.h
7585 (TRANSLATE_ASCII): Removed.
7586 (TRANSLATE): Unconditionally translate character.
7587 (looking_at_1): Use case-table.
7588 (string_match_1): Ditto.
7589 (fast_string_match): Ditto.
7590 (search_command): Ditto.
7591 (search_buffer): Separate boyer_moore. Check whether
7592 boyer_moore is possible.
7593 (simple_search): New function.
7594 (boyer_moore): Separated from search_buffer. Translate char.
7596 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
7598 * regex.c (RE_TR_ASCII): Removed.
7599 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
7600 (PATFETCH): Call PATFETCH_RAW.
7601 (PATFETCH_RAW): Fetch Emchar.
7602 (PATUNFETCH): Decrement charptr.
7603 (GET_BUFFER_SPACE): Rename b to buf_end.
7605 (BUF_PUSH_2): Ditto.
7606 (BUF_PUSH_3): Ditto.
7607 (EXTEND_BUFFER): Ditto.
7608 (SET_LIST_BIT): Ditto.
7609 (regex_compile): Ditto. Translate non ASCII char.
7610 (compile_range): Ditto.
7611 (re_search_2): Ditto.
7612 (re_match_2_internal): Compare Emchar.
7613 (bcmp_translate): Ditto.
7615 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
7617 * lisp.h (basic char/int typedefs): comment improvement.
7619 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
7621 * emacs.c (main_1): unconditional pdump unstomping; don't save and
7622 unstomp inhibit_site_lisp. Improve comments.
7624 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
7626 * mule-charset.c (Fcharset_property): improve type checking, comments.
7628 2000-11-28 Andy Piper <andy@xemacs.org>
7630 * redisplay-output.c (redisplay_output_subwindow): make sure we do
7631 clipped display for windows in the gutter also.
7632 (redisplay_display_boxes_in_window_p): change semantics of return
7633 codes to be more intuitive.
7635 * gutter.h: declare display_boxes_in_gutter_p.
7637 * gutter.c (display_boxes_in_gutter_p): new function for
7640 2000-11-22 Andy Piper <andy@xemacs.org>
7642 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
7645 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
7647 * callproc.c (Fold_call_process_internal):
7648 * gpm.c (Freceive_gpm_event):
7649 (tty_get_foreign_selection): Might be just warning supression.
7650 * fileio.c (Fwrite_region_internal):
7651 (Fset_visited_file_modtime):
7652 * keymap.c (event_matches_key_specifier_p):
7653 Initialize GCPROed variable.
7655 * menubar-x.c (command_builder_find_menu_accelerator):
7656 Initialize before use.
7658 2000-11-23 Andy Piper <andy@xemacs.org>
7660 * unexcw.c (unexec): make the resulting executable executable.
7662 2000-11-21 Martin Buchholz <martin@xemacs.org>
7664 * doc.c (get_doc_string):
7665 Use size_t, not int, for result of XSTRING_LENGTH.
7667 * cmds.c (Fdelete_char):
7668 * cmds.c (Fpoint_at_eol):
7669 * cmds.c (Fself_insert_command):
7670 Use EMACS_INT, not int, for result of XINT.
7671 Someday, someone will want to insert more than 2**31 identical characters.
7673 * cmds.c (Fdelete_char):
7674 * cmds.c (Fdelete_backward_char):
7675 * syntax.c (Fforward_word):
7676 * syntax.c (Fforward_comment):
7677 Make COUNT argument optional, for consistency with forward-char et al.
7679 2000-11-22 Martin Buchholz <martin@xemacs.org>
7682 * print.c (long_to_string):
7683 Return a useful value: the pointer at end of data written.
7686 Use `static const char * const' for constant strings.
7687 (union printf_arg): Delete `i', `ui' members.
7690 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
7691 Do all printf-ing via the `l' specifier.
7692 Use EMACS_INT instead of int.
7695 2000-11-20 Didier Verna <didier@xemacs.org>
7697 * faces.c (update_face_cachel_data): don't frob the background
7698 pixmap when the window is being created. The face is needed but
7701 2000-11-20 Andy Piper <andy@xemacs.org>
7703 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
7704 messing with a debug environment.
7706 2000-11-20 Martin Buchholz <martin@xemacs.org>
7708 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
7710 2000-11-20 Martin Buchholz <martin@xemacs.org>
7712 * casetab.c (Fcase_table_p): Fix compile error and crash.
7714 2000-11-18 Philip Aston <philipa@mail.com>
7716 * s/cygwin32.h: Cygwin has SVR4-like pty support.
7718 2000-11-18 Martin Buchholz <martin@xemacs.org>
7720 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
7721 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
7723 2000-11-17 Martin Buchholz <martin@xemacs.org>
7725 * config.h.in: Define HAVE_ELF_H if elf.h exists.
7726 * unexelf.c: Use HAVE_ELF_H.
7727 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
7728 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
7729 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
7730 Greg Harrington <greg_harrington@hotmail.com> provided a machine
7732 So this is an unexelfsgi.c from a different line of development.
7734 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
7736 * regex.c (RE_TR_ASCII): New function.
7737 (RE_TRANSLATE): Call it.
7739 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
7741 * buffer.h (TRT_TABLE_OF): Remove assert.
7742 (IN_TRT_TABLE_DOMAIN): Removed.
7744 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
7746 * free-hook.c (log_gcpro):
7747 (show_gcprohist): Add support for GCPRO5.
7749 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
7751 * emacs.c (main_1): Improve -sd error message when --pdump=no.
7753 2000-11-16 Olivier Galibert <galibert@xemacs.org>
7755 * symeval.h: Declare flush_all_buffer_local_cache.
7757 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
7758 (flush_buffer_local_cache): Added.
7759 (flush_all_buffer_local_cache): Added.
7761 * lrecord.h: Remove unused XD_LO_RESET_NIL.
7763 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
7764 (pdump_dump_data): Ditto.
7765 (pdump_reloc_one): Ditto.
7766 (pdump): Remove unused pdump_qnil. Flush buffer local caches
7770 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
7772 * buffer.c: Remove if 0'ed entry.
7773 * buffer.h: Rewrite TRT to use char-table.
7774 * bufslots.h: Remove mirror tables.
7775 * casetab.c: Remove mirror tables.
7776 (CASE_TABLE_P): New macro.
7777 (Fcase_table_p): Element of a case table is string or char-table.
7778 (make_mirror_trt_table): Removed.
7779 (set_case_table): Setup char-table from strings for backward
7781 * dired.c (Fdirectory_files):
7782 * dired-msw.c: (mswindows_get_files):
7783 * lisp.h: Change prototype of re_pattern_buffer.
7784 * regex.c: (RE_TRANSLATE): New macro.
7785 (TRANSLATE_P): Ditto.
7786 Change translate to type RE_TRANSLATE_TYPE.
7787 * regex.h: Define RE_TRANSLATE_TYPE
7788 * search.c (TRANSLATE): New macro.
7789 (TRANSLATE_ASCII): New macro.
7790 Translate table is changed to Lisp_Object.
7791 (signal_failure): Inhibit return.
7793 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
7800 Do UNGCPRO before return.
7802 2000-11-14 Martin Buchholz <martin@xemacs.org>
7804 * XEmacs 21.2.37 is released.
7806 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7808 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
7809 Add comments about discarded return value.
7811 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
7814 * event-stream.c: Fix comments. Remove some #if 0'ed part.
7816 2000-10-27 Andy Piper <andy@xemacs.org>
7818 * gutter.c (Fset_default_gutter_position): default left and right
7820 (calculate_gutter_size): calculate resonable heuristic for left
7821 and right gutter sizes.
7822 (specifier_vars_of_gutter): change left and right gutter sizes to
7824 (calculate_gutter_size_from_display_lines): new function.
7825 (output_gutter): check for resizing on left and right gutters.
7826 (clear_gutter): don't special case top and left gutters.
7827 (specifier_vars_of_gutter): use new signature for
7828 set_specifier_caching.
7830 * glyphs-x.c (x_redisplay_widget): spelling fix.
7831 * glyphs.c (specifier_vars_of_glyphs):
7832 * menubar.c (specifier_vars_of_menubar):
7833 * redisplay.c (specifier_vars_of_redisplay):
7834 * toolbar.c (specifier_vars_of_toolbar):
7835 * window.c (specifier_vars_of_window):
7836 * scrollbar.c (specifier_vars_of_scrollbar):
7837 (complex_vars_of_scrollbar): use new signature for
7838 set_specifier_caching.
7840 * specifier.c (set_specifier_caching): include recompute flag.
7841 (recompute_one_cached_specifier_in_window): always recompute if
7843 (recompute_one_cached_specifier_in_frame): ditto.
7845 * specifier.h (struct specifier_caching): add recompute flag.
7847 2000-10-24 Andy Piper <andy@xemacs.org>
7849 * unexcw.c (copy_executable_and_dump_data_section): add new
7850 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
7853 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7855 * console-x.h (x_device): New member modifier_release_time.
7856 * event-Xt.c (x_handle_sticky_modifiers):
7857 Bound interval modifier keys are sticky.
7858 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
7859 * events.h: extern it.
7861 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7863 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
7865 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7867 * event-stream.c (execute_command_event): Preserve current_events
7868 and the like when event is misc-user-event.
7869 Inhibit quit during the call to maybe_echo_keys.
7871 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
7873 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
7874 symlink when buffer is killed.
7875 (inhibit_clash_detection): New variable.
7877 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
7879 * console.c (Fset_input_method): Trigger redisplay on tty.
7881 2000-11-07 Martin Buchholz <martin@xemacs.org>
7883 * process.c (Fprocess_status): Revert to previous behavior:
7884 (process-status "nosuchprocess") ==> nil
7886 2000-11-06 Martin Buchholz <martin@xemacs.org>
7888 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
7889 Work around another GCC 2.95.2 optimizer bug.
7891 2000-11-02 Martin Buchholz <martin@xemacs.org>
7893 * process.c (Fget_process): Use LIST_LOOP_2.
7894 (kill_buffer_processes): Use LIST_LOOP_2.
7896 * minibuf.c (Fall_completions):
7897 Delete old non-functional code for FSF fourth argument.
7899 * frame.c (frame_matches_frame_spec):
7900 Renamed from `frame_matches_frametype'. Update all callers.
7901 (device_matches_device_spec):
7902 Renamed from 'device_matches_console_spec'. Update all callers.
7904 * doc.c (Fsubstitute_command_keys):
7905 Remove buffer overflow crash. Small code cleanups.
7907 * casetab.c (check_case_table): Simpler code.
7909 * window.c (Freplace_buffer_in_windows):
7910 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
7911 (and similar implementation) as Fdelete_windows_on.
7914 * alloc.c (Fmake_list):
7915 * alloc.c (make_vector):
7916 * alloc.c (Fmake_vector):
7917 * alloc.c (make_bit_vector):
7918 * alloc.c (Fmake_bit_vector):
7919 * alloc.c (Fbit_vector):
7920 * alloc.c (Fmake_string):
7921 * alloc.c (Fpurecopy):
7922 * alloc.c (Fmemory_limit):
7924 * buffer.c (Fget_buffer):
7925 * buffer.c (Fkill_buffer):
7926 * buffer.c (complex_vars_of_buffer):
7927 * bytecode.c (Fcompiled_function_stack_depth):
7928 * callint.c (Fprefix_numeric_value):
7930 * event-stream.c (Fread_key_sequence):
7932 * casetab.c (Fcase_table_p):
7933 * casetab.c (check_case_table):
7934 * casetab.c (Fset_case_table):
7935 * casetab.c (Fset_standard_case_table):
7937 * chartab.c (Fchar_table_type):
7938 * chartab.c (Freset_char_table):
7939 * chartab.c (Fget_char_table):
7940 * chartab.c (Fget_range_char_table):
7941 * chartab.c (Fput_char_table):
7942 * chartab.c (Fmap_char_table):
7943 * chartab.c (Fcategory_table_p):
7944 * chartab.c (Fcheck_category_at):
7945 * chartab.c (Fchar_in_category_p):
7946 * chartab.c (Fcategory_table):
7947 * chartab.c (Fcopy_category_table):
7948 * chartab.c (Fset_category_table):
7949 * chartab.c (Fcategory_designator_p):
7950 * chartab.c (Fcategory_table_value_p):
7951 * cmds.c (Fdelete_char):
7952 * cmds.c (Fdelete_backward_char):
7953 * cmds.c (Fself_insert_command):
7954 * cmds.c (Fself_insert_internal):
7955 * console.c (Fvalid_console_type_p):
7956 * console.c (Fcdfw_console):
7957 * console.c (Fconsole_type):
7958 * console.c (Fconsole_name):
7959 * console.c (Fconsole_device_list):
7960 * console.c (Fconsole_on_window_system_p):
7964 * data.c (Fsubr_interactive):
7965 * data.c (Fchar_to_int):
7966 * data.c (Fint_to_char):
7969 * data.c (Fnumber_to_string):
7970 * data.c (Fstring_to_number):
7972 * database.c (mark_database):
7973 * database.c (finalize_database):
7974 * database.c (Fdatabase_live_p):
7975 * database.c (Fdatabasep):
7976 * device-x.c (Fx_get_resource):
7977 * device.c (Fdfw_device):
7979 * dired.c (Ffile_name_completion):
7980 * dired.c (Ffile_name_all_completions):
7981 * dired.c (Fuser_name_completion):
7982 * dired.c (Fuser_name_completion_1):
7983 * dired.c (Fuser_name_all_completions):
7984 * doc.c (Fdocumentation):
7985 * doc.c (Fdocumentation_property):
7986 * doc.c (Fsubstitute_command_keys):
7988 * editfns.c (Fchar_to_string):
7989 * editfns.c (Fstring_to_char):
7990 * editfns.c (Ftemp_directory):
7991 * editfns.c (Finsert_char):
7992 * editfns.c (Fbuffer_substring_no_properties):
7993 * editfns.c (Fnarrow_to_region):
7994 * editfns.c (Fchar_equal):
7995 * editfns.c (Fchar_Equal):
7996 * editfns.c (Ftranspose_regions):
7997 * emacs.c (Fdump_emacs):
7999 * eval.c (Fcommand_execute):
8000 * eval.c (Fautoload):
8001 * eval.c (Fbacktrace):
8002 * eval.c (Fbacktrace_frame):
8004 * events.c (Fcopy_event):
8005 * events.c (Fcharacter_to_event):
8006 * events.c (Fevent_button):
8007 * events.c (Fevent_process):
8009 * extents.c (Fnext_extent_change):
8010 * extents.c (Fextent_property):
8012 * faces.c (Fmake_face):
8014 * file-coding.c (Fencode_shift_jis_char):
8015 * file-coding.c (Fencode_big5_char):
8016 * fileio.c (Ffile_name_directory):
8017 * fileio.c (Ffile_name_nondirectory):
8018 * fileio.c (Ffile_name_as_directory):
8019 * fileio.c (Fdirectory_file_name):
8020 * fileio.c (Ffile_truename):
8021 * fileio.c (Fsubstitute_in_file_name):
8022 * fileio.c (Ffile_modes):
8023 * fileio.c (Fset_file_modes):
8024 * fileio.c (Fset_default_file_modes):
8025 * fileio.c (Fverify_visited_file_modtime):
8026 * floatfns.c (Facos):
8027 * floatfns.c (Fasin):
8028 * floatfns.c (Fatan):
8029 * floatfns.c (Fcos):
8030 * floatfns.c (Fsin):
8031 * floatfns.c (Ftan):
8032 * floatfns.c (Fbessel_j0):
8033 * floatfns.c (Fbessel_j1):
8034 * floatfns.c (Fbessel_jn):
8035 * floatfns.c (Fbessel_y0):
8036 * floatfns.c (Fbessel_y1):
8037 * floatfns.c (Fbessel_yn):
8038 * floatfns.c (Ferf):
8039 * floatfns.c (Ferfc):
8040 * floatfns.c (Flog_gamma):
8041 * floatfns.c (Fexp):
8042 * floatfns.c (Fexpt):
8043 * floatfns.c (Flog):
8044 * floatfns.c (Flog10):
8045 * floatfns.c (Fsqrt):
8046 * floatfns.c (Fcube_root):
8047 * floatfns.c (Facosh):
8048 * floatfns.c (Fasinh):
8049 * floatfns.c (Fatanh):
8050 * floatfns.c (Fcosh):
8051 * floatfns.c (Fsinh):
8052 * floatfns.c (Ftanh):
8053 * floatfns.c (Fabs):
8054 * floatfns.c (Ffloat):
8055 * floatfns.c (Flogb):
8056 * floatfns.c (Fceiling):
8057 * floatfns.c (Ffloor):
8058 * floatfns.c (Fround):
8059 * floatfns.c (Ftruncate):
8060 * floatfns.c (Ffceiling):
8061 * floatfns.c (Fffloor):
8062 * floatfns.c (Ffround):
8063 * floatfns.c (Fftruncate):
8064 * fns.c (Fstring_equal):
8065 * fns.c (Fstring_lessp):
8070 * fns.c (Fsubstring):
8072 * fns.c (Fold_assoc):
8073 * fns.c (assoc_no_quit):
8075 * fns.c (Fold_assq):
8076 * fns.c (assq_no_quit):
8078 * fns.c (Fold_rassoc):
8080 * fns.c (Fold_rassq):
8081 * fns.c (rassq_no_quit):
8082 * fns.c (Fremassoc):
8083 * fns.c (remassoc_no_quit):
8085 * fns.c (remassq_no_quit):
8086 * fns.c (Fremrassoc):
8087 * fns.c (Fremrassq):
8088 * fns.c (remrassq_no_quit):
8090 * fns.c (Fplist_get):
8091 * fns.c (Fplist_put):
8092 * fns.c (Fplist_remprop):
8093 * fns.c (Fplist_member):
8094 * fns.c (Flax_plist_get):
8095 * fns.c (Flax_plist_put):
8096 * fns.c (Flax_plist_remprop):
8097 * fns.c (Flax_plist_member):
8099 * fns.c (Fold_equal):
8101 * fns.c (Fbase64_encode_region):
8102 * fns.c (Fbase64_encode_string):
8103 * fns.c (Fbase64_decode_region):
8105 * frame.c (frame_matches_frame_spec):
8106 * frame.c (device_matches_device_spec):
8107 * frame.c (next_frame):
8108 * frame.c (previous_frame):
8109 * frame.c (Fnext_frame):
8110 * frame.c (Fprevious_frame):
8111 * frame.c (Fframe_property):
8112 * frame.c (Fset_frame_height):
8113 * frame.c (Fset_frame_size):
8117 * glyphs.c (decode_error_behavior_flag):
8118 * glyphs.c (Fmake_image_instance):
8119 * indent.c (Findent_to):
8120 * intl.c (Fignore_defer_gettext):
8121 * keymap.c (Fkeymapp):
8122 * keymap.c (Flookup_key):
8124 * lread.c (Fload_internal):
8125 * lread.c (Feval_buffer):
8126 * lread.c (Feval_region):
8127 * macros.c (Fexecute_kbd_macro):
8128 * marker.c (set_marker_internal):
8129 * marker.c (Fset_marker):
8130 * marker.c (set_marker_restricted):
8131 * marker.c (Fcopy_marker):
8132 * marker.c (noseeum_copy_marker):
8134 * menubar.c (Fpopup_menu):
8136 * mule-charset.c (Fcharset_name):
8137 * mule-charset.c (Fchar_charset):
8138 * mule-charset.c (Fchar_octet):
8139 * mule-charset.c (Fsplit_char):
8140 * mule-wnnfns.c (Fwnn_open):
8141 * mule-wnnfns.c (Fwnn_dict_comment):
8142 * mule-wnnfns.c (Fwnn_quit_henkan):
8143 * mule-wnnfns.c (Fwnn_word_toroku):
8144 * mule-wnnfns.c (Fwnn_word_sakujo):
8145 * mule-wnnfns.c (Fwnn_word_use):
8146 * mule-wnnfns.c (Fwnn_hindo_set):
8148 * objects.c (Fmake_color_instance):
8149 * objects.c (Fmake_font_instance):
8150 * print.c (Fwrite_char):
8152 * process.c (mark_process):
8153 * process.c (print_process):
8154 * process.c (get_process_from_usid):
8155 * process.c (Fprocessp):
8156 * process.c (Fprocess_live_p):
8157 * process.c (Fget_process):
8158 * process.c (Fget_buffer_process):
8159 * process.c (get_process):
8160 * process.c (Fprocess_id):
8161 * process.c (Fprocess_name):
8162 * process.c (Fprocess_command):
8163 * process.c (init_process_io_handles):
8164 * process.c (start_process_unwind):
8165 * process.c (Fstart_process_internal):
8166 * process.c (Fopen_multicast_group_internal):
8167 * process.c (Fset_process_window_size):
8168 * process.c (read_process_output):
8169 * process.c (send_process):
8170 * process.c (Fprocess_tty_name):
8171 * process.c (Fset_process_buffer):
8172 * process.c (Fprocess_buffer):
8173 * process.c (Fprocess_mark):
8174 * process.c (set_process_filter):
8175 * process.c (Fset_process_filter):
8176 * process.c (Fprocess_filter):
8177 * process.c (Fprocess_send_region):
8178 * process.c (Fprocess_send_string):
8179 * process.c (exec_sentinel):
8180 * process.c (Fset_process_sentinel):
8181 * process.c (Fprocess_sentinel):
8182 * process.c (status_notify):
8183 * process.c (Fprocess_status):
8184 * process.c (Fprocess_exit_status):
8185 * process.c (process_send_signal):
8186 * process.c (Fprocess_send_eof):
8187 * process.c (deactivate_process):
8188 * process.c (remove_process):
8189 * process.c (Fdelete_process):
8190 * process.c (kill_buffer_processes):
8191 * process.c (Fprocess_kill_without_query):
8192 * process.c (Fprocess_kill_without_query_p):
8194 * rangetab.c (Fget_range_table):
8195 * rangetab.c (Fput_range_table):
8196 * rangetab.c (Fremove_range_table):
8197 * rangetab.c (Fclear_range_table):
8199 * search.c (Fskip_chars_forward):
8200 * search.c (Fskip_chars_backward):
8201 * search.c (Fskip_syntax_forward):
8202 * search.c (Fskip_syntax_backward):
8203 * search.c (search_command):
8204 * search.c (Freplace_match):
8205 * search.c (Fregexp_quote):
8206 * select.c (Fown_selection_internal):
8207 * select.c (Fselection_owner_p):
8208 * select.c (Fselection_exists_p):
8209 * select.c (Fget_selection_internal):
8212 * symbols.c (Fintern):
8213 * symbols.c (Fintern_soft):
8214 * symbols.c (Funintern):
8215 * symbols.c (Fapropos_internal):
8216 * symbols.c (Fset_default):
8218 * syntax.c (Fsyntax_table_p):
8219 * syntax.c (Fcopy_syntax_table):
8220 * syntax.c (Fset_syntax_table):
8221 * syntax.c (Fchar_syntax):
8222 * syntax.c (syntax_match):
8223 * syntax.c (Fmatching_paren):
8224 * syntax.c (Fforward_word):
8225 * syntax.c (scan_lists):
8226 * syntax.c (Fscan_lists):
8227 * syntax.c (Fscan_sexps):
8228 * syntax.c (Fparse_partial_sexp):
8229 * toolbar.c (Fcheck_toolbar_button_syntax):
8232 * window.c (Fwindowp):
8233 * window.c (Fwindow_live_p):
8234 * window.c (Fwindow_point):
8235 * window.c (Fdelete_window):
8236 * window.c (Fnext_window):
8237 * window.c (Fprevious_window):
8238 * window.c (Fother_window):
8239 * window.c (window_loop):
8240 * window.c (Fget_lru_window):
8241 * window.c (Fsplit_window):
8242 * window.c (Fenlarge_window):
8243 * window.c (Fenlarge_window_pixels):
8244 * window.c (Fshrink_window):
8245 * window.c (Fshrink_window_pixels):
8246 * window.c (change_window_height):
8247 * window.c (Fwindow_configuration_p):
8248 * window.c (Fcurrent_window_configuration):
8250 * casefiddle.c (casify_object):
8251 * casefiddle.c (Fupcase):
8252 * casefiddle.c (Fdowncase):
8253 * casefiddle.c (Fcapitalize):
8254 * casefiddle.c (Fupcase_initials):
8255 * casefiddle.c (casify_region_internal):
8256 * casefiddle.c (casify_region):
8257 * casefiddle.c (Fupcase_region):
8258 * casefiddle.c (Fdowncase_region):
8259 * casefiddle.c (Fcapitalize_region):
8260 * casefiddle.c (Fupcase_initials_region):
8261 * casefiddle.c (Fupcase_word):
8262 * casefiddle.c (Fdowncase_word):
8263 * casefiddle.c (Fcapitalize_word):
8264 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
8265 Replace 0 with '\0' when working with bytes.
8266 Replace initial "(" with "\(" in docstrings.
8268 2000-11-01 Martin Buchholz <martin@xemacs.org>
8270 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
8272 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
8274 2000-10-31 Martin Buchholz <martin@xemacs.org>
8276 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
8278 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8280 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
8283 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8285 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
8286 (inhibit_auto_save_session): New variable.
8287 (vars_of_fileio): Declare and initialize them.
8288 * fileio.c (Fdo_auto_save): Don't create session file if
8289 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
8291 2000-10-31 Martin Buchholz <martin@xemacs.org>
8293 * sgiplay.c (play_internal): C++ compilability.
8294 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
8295 * callproc.c (Fold_call_process_internal):
8296 Remove unused vars `env', `first'.
8297 * scrollbar.c (update_scrollbar_instance):
8298 #### unused var `current_window'.
8299 * redisplay-tty.c: Put currently unused vars insert_mode_on,
8300 etc. within #ifdef NOT_YET.
8301 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
8302 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
8303 * specifier.c (specifier_instance):
8304 #### unused var `tag'.
8305 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
8307 2000-10-27 Martin Buchholz <martin@xemacs.org>
8310 * fns.c (list_sort):
8311 * fns.c (Ffillarray):
8312 * fns.c (bytecode_nconc2):
8315 * fns.c (Fmapconcat):
8316 Be pedantically 64-bit correct. For the time when someone will
8317 want to have a list with length > 2**32.
8319 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
8320 Work around MIPSpro compiler bug.
8322 * process-unix.c (unix_kill_child_process): Add snarky comment.
8323 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
8325 * config.h.in: Oops, _getpt ==> _getpty
8327 2000-10-26 Martin Buchholz <martin@xemacs.org>
8331 Use void*, not char*, as return type of alloca().
8333 * alloc.c (free_marker): Side effect inside assert expression!
8335 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
8337 * mule-charset.c (Fset_charset_ccl_program): To check
8338 if the given ccl program is valid, use setup_ccl_program()
8339 instead of CHECK_VECTOR().
8340 (Fmake_charset): Likewise.
8342 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
8344 * faces.c (get_extent_fragment_face_cache_index):
8345 Fix cachel.merged_faces memory leak.
8347 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
8349 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
8350 Reset MSB of octets obtained by DECODE_SJIS
8351 because of the incompatibility with Emacs.
8352 (ccl_driver)<CCL_ENCODE_SJIS>:
8353 Set MSB of octets before passing them to
8354 ENCODE_SJIS because of the incompatibility
8357 2000-10-18 Daiki Ueno <ueno@unixuser.org>
8359 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
8360 (DECLARE_LRECORD): Undo the last change.
8361 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
8363 2000-10-17 Daiki Ueno <ueno@unixuser.org>
8365 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
8366 the implementation to lrecord_implementations_table.
8368 2000-10-14 Daiki Ueno <ueno@unixuser.org>
8370 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
8371 initial value of `lrecord_type_##c_name' and
8372 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
8373 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
8374 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
8375 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
8376 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
8378 2000-10-17 Martin Buchholz <martin@xemacs.org>
8380 * miscplay.c (sndcnv8S_2mono):
8381 (sndcnv2monounsigned):
8382 (sndcnvULaw_2linear):
8384 Remove implementation-defined behavior.
8386 2000-10-12 Martin Buchholz <martin@xemacs.org>
8388 * input-method-xlib.c: Warning suppression.
8390 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
8392 * mule-ccl.c: Sync up with Emacs 21.0.90.
8393 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
8395 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
8397 (ccl_driver[WriteMultibyteChar2]): Bug fix.
8398 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
8399 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
8400 leading char belongs to official 2-dimensional charset.
8401 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
8402 write the given character as is. Otherwise,
8403 if it is a multibyte char, convert it by
8404 non_ascii_set_charptr_emchar, then write it.
8405 (CCL_WRITE_STRING): Likewise.
8406 (ccl_get_compiled_code): New function.
8407 (setup_ccl_program): When ccl_prog is invalid,
8409 (Fregister_code_conversion_map): New function.
8410 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
8412 * mule-ccl.h: Sync up with Emacs 21.0.90.
8413 (Fregister_ccl_program): export it.
8415 * redisplay-msw.c (separate_textual_runs):
8416 If ccl program is not valid, don't do ccl conversion.
8418 * redisplay-x.c (separate_textual_runs): Ditto.
8420 * file-coding.c (Fmake_coding_system):
8421 When type is ccl and value is vector, register it
8422 with a proper symbol. And checks whether the
8423 given ccl program is valid.
8424 (mule_decode): When calling ccl_driver, if src indicates
8425 NULL pointer, set an empty string instead.
8426 (mule_encode): Likewise.
8428 2000-10-11 Martin Buchholz <martin@xemacs.org>
8430 The following large batch of changes gets us back to a state of
8431 C++ compilability. Extbyte is now a char, which means that
8432 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
8434 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
8436 * sound.c (Fplay_sound): Type correctness.
8438 * select-x.c (hack_motif_clipboard_selection): Type correctness.
8439 (x_get_window_property): Type correctness.
8440 (receive_incremental_selection): unsigned char ==> Extbyte
8441 (selection_data_to_lisp_data): unsigned char ==> Extbyte
8442 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
8443 (Fx_store_cutbuffer_internal): Type correctness.
8445 * process-unix.c (try_to_initialize_subtty): Type correctness.
8447 * objects-x.c (x_print_color_instance): Type correctness.
8448 (x_print_font_instance): Type correctness.
8449 (x_list_fonts): SExtbyte ==> Extbyte.
8450 (valid_x_font_name_p): SExtbyte ==> Extbyte.
8451 (x_find_charset_font): SExtbyte ==> Extbyte.
8452 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
8453 (truename_via_XListFonts): SExtbyte ==> Extbyte.
8454 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
8457 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
8458 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
8459 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
8460 (BYTE_C0_P): Use bit ops for char-signedness safety.
8461 (BYTE_C1_P): Use bit ops for char-signedness safety.
8462 (CHARSET_BY_LEADING_BYTE):
8463 (CHARSET_BY_ATTRIBUTES):
8464 Always use inline function.
8465 Use type_checking_assert.
8468 * mule-charset.c (non_ascii_charptr_copy_char):
8469 Modify to work with both ASCII and non-ASCII characters.
8470 Improve docs and variable names.
8471 Replace over-clever fall-through switch with a simple loop.
8472 (Lstream_get_emchar_1):
8473 Replace over-clever fall-through switch with a simple loop.
8475 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8476 Warning suppression.
8478 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
8479 the return value of Lstream_getc, which could be EOF as well.
8481 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
8483 * lisp.h: Make Extbyte a char, not unsigned char, so that external
8484 APIs can be used on Extbytes without casts. Risky!
8488 * input-method-xlib.c (XIM_init_device):
8489 Use Xlib.h instead of IntrinsicP.h.
8490 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
8491 which will break in X11R7.
8492 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
8493 to call XRegisterIMInstantiateCallback with correct types.
8495 * gui-x.c (button_item_to_widget_value): Type correctness.
8497 * glyphs.c (bitmap_to_lisp_data): Type correctness.
8499 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
8500 (xbm_instantiate_1): Type correctness.
8501 (BUILD_GLYPH_INST): Type correctness.
8503 * fileio.c (Fsubstitute_in_file_name): Type correctness.
8506 (decode_coding_sjis):
8507 (decode_coding_big5):
8508 (decode_coding_ucs4):
8509 (decode_coding_utf8):
8510 (decode_coding_iso2022):
8511 (decode_coding_no_conversion):
8512 Make all decoding functions take an Extbyte * arg.
8513 (encode_coding_sjis):
8514 (encode_coding_big5):
8515 (encode_coding_ucs4):
8516 (encode_coding_utf8):
8517 (encode_coding_iso2022):
8518 (encode_coding_no_conversion):
8519 Make all encoding functions take a Bufbyte * arg.
8520 Use size_t instead of unsigned int for memory sizes.
8521 Only cast to unsigned char whenever dereferencing Extbyte *.
8523 * doc.c (unparesseuxify_doc_string): Type correctness.
8525 * console-x.c (split_up_display_spec):
8526 Rewrite without using details of internal string representation.
8527 (x_semi_canonicalize_device_connection): Type correctness.
8530 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
8531 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
8532 (HAVE_XFREE386): Removed.
8534 * buffer.h (DEC_CHARPTR): `const' correctness.
8535 (bufbyte_strcmp): New.
8536 (bufbyte_memcmp): New.
8538 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
8540 * buffer.h (XCHAR_OR_CHAR_INT):
8541 Always use inline function.
8542 Remove redundant type checking assert() - XINT will abort quite nicely.
8544 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
8546 * search.c (Freplace_match): Set newtext to an empty string.
8548 2000-10-10 Martin Buchholz <martin@xemacs.org>
8550 * s/decosf1-3.h: Remove #include of stropts.h
8551 * s/ptx.h: Remove #include of stropts.h
8552 * s/usg5-4.h: Remove #include of stropts.h
8555 Use stropts.h, not sys/stropts.h.
8556 Use strtio.h, not sys/strtio.h.
8558 2000-10-04 Martin Buchholz <martin@xemacs.org>
8560 * XEmacs 21.2.36 is released.
8562 2000-09-21 Andy Piper <andy@xemacs.org>
8564 * glyphs-x.c (x_redisplay_widget): make sure non-structural
8565 changes still involve copying the widget tree.
8566 (update_widget_face): make sure a change is register in the widget
8567 tree. Call update_tab_widget_face appropriately.
8568 (update_tab_widget_face): ditto.
8569 (x_tab_control_redisplay): make sure non-structural changes still
8570 involve copying the widget tree.
8572 2000-08-31 Daiki Ueno <ueno@unixuser.org>
8574 * lread.c (locate_file): Check the path element is non-nil.
8576 2000-10-02 Martin Buchholz <martin@xemacs.org>
8578 * lisp.h: Warning suppression for SCO compilers.
8580 * redisplay-tty.c (reset_tty_modes): Fix crash.
8581 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
8583 2000-09-27 Martin Buchholz <martin@xemacs.org>
8585 Big signal/process handling overhaul. Bugs fixed:
8586 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
8587 M-x comint-kill-subjob should work for both values nil and t of
8588 process-connection-type. It was broken on most platforms.
8589 Testing on Irix and Cygwin still needed. Other plaforms tested.
8590 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
8591 * process-unix.c: Signal/Process handling overhaul.
8592 (pty_name): make 64 bytes, as `expect' does, for paranoia.
8593 (allocate_pty): Use all available modern methods of allocating
8594 ptys, falling back to old style BSD allocation as a last resort.
8595 Use allegedly more secure Unix98 pty allocation by default.
8596 (allocate_pty_the_old_fashioned_way): New. the last resort.
8597 (unix_create_process): Push ptem, ldterm, ttcompat where
8598 available. Autoconfiscate.
8599 (try_to_initialize_subtty): New.
8600 (unix_kill_child_process): Proper signal handling for ptys on most
8601 platforms, using special knowledge of AIX, BSD, etc...
8602 (unix_create_process): Always disconnect_controlling_terminal() for
8603 subprocesses, whether using ptys or not.
8604 * process.h: Remove old getpt-dependent PTY code.
8605 * process.c (Fprocess_send_signal): New, obvious generic function.
8606 (decode_signal): New.
8607 (Finterrupt_process):
8611 (Fcontinue_process):
8612 (Fsignal_process): Use decode_signal.
8613 (process_send_signal):
8614 Many docstring corrections.
8615 Allow any signal to be sent to a process object.
8616 * config.h.in: Add symbols for big signal/process overhaul.
8617 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
8618 * sysproc.h: Include process-related headers, where available:
8619 sys/stropts.h sys/strtio.h pty.h libutil.h
8627 Remove old S&M pty stuff.
8628 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
8629 * systty.h: Simplify cpp hackery, improve comments.
8630 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
8632 * editfns.c (Fformat_time_string):
8633 Be a little more paranoid with the return value of ctime.
8635 * fileio.c (check_executable):
8637 Use symbolic constants X_OK, W_OK.
8639 * console-x.c (split_up_display_spec): Fix a warning.
8641 2000-10-02 Martin Buchholz <martin@xemacs.org>
8643 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
8644 * ntproc.c (sys_spawnve): make_string ==> build_string
8645 Small clarity improvements.
8647 2000-09-30 Martin Buchholz <martin@xemacs.org>
8649 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
8651 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
8653 * config.h.in (HAVE_STRCASECMP): Remove.
8655 2000-09-29 Martin Buchholz <martin@xemacs.org>
8657 * redisplay-output.c (redisplay_output_pixmap):
8658 Cleaner and possibly more 64-bit correct code.
8660 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
8662 * dumper.c (pdump_load_finish): move restoration of
8663 `noninteractive1' to emacs.c (main_1).
8664 * emacs.c (main_1): protect LISP-visible command-line flags
8667 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
8669 * Makefile.in.in (versionclean): Use EXE_TARGET and
8670 DUMP_TARGET instead of literal program names.
8672 2000-09-20 Martin Buchholz <martin@xemacs.org>
8674 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
8676 2000-09-19 Martin Buchholz <martin@xemacs.org>
8678 * *: Spelling mega-patch
8680 2000-09-19 Martin Buchholz <martin@xemacs.org>
8682 * fns.c (bad_bad_turtle):
8683 Delete "Eek!" comment, since we fixed the bug to which it refers.
8685 2000-09-16 Martin Buchholz <martin@xemacs.org>
8687 * alloca.c: Replace REGISTER with register.
8689 2000-09-16 Daiki Ueno <ueno@unixuser.org>
8691 * file-coding.c (ucs_to_char): Use countof.
8693 2000-09-16 Martin Buchholz <martin@xemacs.org>
8695 * file-coding.c: (ucs_to_char):
8696 (complex_vars_of_file_coding):
8697 Use countof instead of sizeof.
8698 Use CHECK_NATNUM instead of CHECK_INT.
8700 * sysdep.c (strcasecmp): Remove.
8701 * device-x.c (ascii_strcasecmp): New.
8702 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
8703 Avoid using non-standard non-portable strcasecmp.
8705 2000-09-16 Martin Buchholz <martin@xemacs.org>
8707 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
8708 * font-lock.c: remove reference to emacsfns.h.
8709 * search.c: small doc improvement.
8710 * event-Xt.c: correct file names in comments.
8711 * console-x.h Correct file names in comments.
8712 * frame.c: Correct file names in comments.
8713 * event-stream.c: remove Energize from comments.
8715 2000-09-15 Martin Buchholz <martin@xemacs.org>
8717 * symeval.h (DEFERROR_STANDARD):
8720 (DEFSYMBOL_NO_DUMP):
8721 (DEFSYMBOL_MULTIWORD_PREDICATE):
8722 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
8724 The construct &##name is not sensible C.
8725 Fixes compilation errors with Unixware native compiler.
8727 2000-09-14 Martin Buchholz <martin@xemacs.org>
8729 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
8730 (next_frame_internal): Removed. We now just have next_frame.
8732 Write a simpler and cleaner one-pass algorithm.
8733 Remove called_from_delete_device arg and #ifdefed-out code.
8735 Renamed from prev_frame. Update callers.
8736 Cleaned up to have an analogous implementation to next_frame.
8737 (other_visible_frames_internal): Remove the
8738 called_from_delete_device bogus arg, and hence, remove this
8739 function. Just use other_visible_frames().
8741 * window.c (Fnext_window):
8743 Since next_frame() is guaranteed to return a frame, remove check
8744 for nil inserted in previous patch.
8747 Make code look more like Fnext_window.
8749 Respect the `console' arg when iterating through windows.
8750 Fixes bug: (get-buffer-window buffer t device) not respecting
8752 This function needs more work, as others have pointed out.
8754 * frame.h: Rename prev_frame to previous_frame.
8755 device_matches_console_spec no longer takes a `frame' arg.
8760 Use EMACS_BLOCK_SIGNAL instead of sigblock.
8761 From "Golubev I. N." <gin@mo.msk.ru>.
8763 * make-src-depend: Fix typo.
8765 2000-09-13 Martin Buchholz <martin@xemacs.org>
8767 * window.c (Fnext_window):
8768 next_frame() might return nil, not a frame.
8770 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
8772 * frame.c (next_frame_internal):
8773 We've passed a frame if we've passed its device.
8775 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
8776 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
8778 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
8780 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
8781 Allow option to suppress accelerators in menu/dialog items.
8782 (populate_or_checksum_helper): Pass dialog title through above.
8784 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
8786 * event-msw.c (mswindows_key_to_emacs_keysym):
8787 Add "pause" key, fix "menu" key.
8789 2000-09-09 Martin Buchholz <martin@xemacs.org>
8791 * eval.c (reinit_vars_of_eval):
8792 Increase max_lisp_eval_depth to 1000,
8793 required for thai-xtis.el to byte-compile under some circumstances.
8795 2000-09-04 Martin Buchholz <martin@xemacs.org>
8797 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
8800 2000-09-01 Martin Buchholz <martin@xemacs.org>
8802 * make-src-depend: Make the generated Makefiles smaller.
8804 * s/hpux.h (SETUP_SLAVE_PTY):
8805 Provide a %d in the format string for the errno argument.
8807 * editfns.c (Ftemp_directory):
8809 Avoid buffer overrun on very long file name.
8811 * input-method-xlib.c (XIM_init_device):
8812 6th parameter of XRegisterIMInstantiateCallback has different
8813 pointer types on different OSes, so simply cast to (void *).
8815 * unexhp9k800.c: Warning fixes. Fiddly changes.
8817 * sysdll.c (dll_open):
8818 shl_load will hang hard if passed a NULL filename.
8819 Simply return NULL for compatibility with dlopen.
8820 * sysdll.c: Conform to XEmacs coding standards.
8822 * sysdep.c (get_pty_max_bytes):
8823 Support pty input lines longer than 512 bytes on HP-UX 10.20.
8825 2000-08-31 Martin Buchholz <martin@xemacs.org>
8827 * tooltalk.c: Add #include <syssignal.h>
8829 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
8831 * s/hpux.h: Don't use undefined function sigunblock().
8833 2000-08-31 Martin Buchholz <martin@xemacs.org>
8835 * config.h.in: Add HAVE_BALLOON_HELP.
8836 * emacs.c: Use HAVE_BALLOON_HELP.
8837 * Makefile.in.in (x_objs):
8838 Make Balloon Help conditional on finding shape.h.
8840 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
8842 * syntax.c (regex_emacs_buffer_p): New variable.
8843 * syntax.h (regex_emacs_buffer_p): extern.
8844 * search.c (looking_at_1):
8846 (fast_string_match):
8847 (search_buffer): Set regex_emacs_buffer_p.
8848 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
8849 when before_dot, at_dot, after_dot.
8851 2000-08-23 Andy Piper <andy@xemacs.org>
8853 * gui-x.c (popup_selection_callback): Only set action_occurred
8854 when we really have an image instance.
8855 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
8857 2000-08-23 Andy Piper <andy@xemacs.org>
8859 * gui-msw.c (mswindows_handle_gui_wm_command): set
8861 * gui-x.c (popup_selection_callback): ditto.
8863 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
8864 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
8865 (struct Lisp_Image_Instance): add action_occurred flag.
8867 * glyphs.c (redisplay_subwindow): use action_occurred flag.
8868 (image_instance_changed): ditto.
8869 (reset_frame_subwindow_instance_cache): only unmap windows - do
8870 not remove them from the cache also.
8872 * glyphs-widget.c (tab_control_update): better debug.
8873 (progress_gauge_update): ditto.
8874 (layout_update): ditto.
8875 (layout_instantiate): ditto.
8876 (tab_control_order_only_changed): cope with null pending items.
8878 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
8879 debug. Force selection of an item when an action occurred. Cope
8880 with null pending_items.
8881 (mswindows_progress_gauge_redisplay): better debug.
8882 * glyphs-x.c (x_tab_control_redisplay): ditto.
8884 * redisplay.c (redisplay_frame): reset the frame cache if the
8887 * window.c (Fset_window_configuration): potentially re-enable
8889 (window_unmap_subwindows): need to finalize instances here since
8890 it is only used in mark_window_as_deleted.
8892 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
8894 * nas.c (SndOpenDataForReading):
8895 nas.c (WaveOpenDataForReading):
8896 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
8897 Somehow escaped from the 2000-08-14 patch.
8899 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
8901 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
8902 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
8904 2000-08-21 Andy Piper <andy@xemacs.org>
8906 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
8907 window if it is not already displayed.
8909 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
8910 it is not already displayed.
8912 * window.c (Fset_window_configuration): don't reset the frame
8915 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
8916 instances from the frame cache if we are actually finalizing them.
8917 (reset_frame_subwindow_instance_cache): reset frame cache only
8918 after unmapping everything.
8919 (map_subwindow): set displayed flag after mapping.
8921 2000-08-21 Martin Buchholz <martin@xemacs.org>
8923 * data.c (indirect_function):
8924 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
8926 * eval.c (function_argcount):
8927 Use original function when signaling errors.
8929 2000-08-18 Andy Piper <andy@xemacs.org>
8931 * frame.c (delete_frame_internal): use new
8932 free_frame_subwindow_instances name.
8934 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
8935 (add_tab_item): make return type correct.
8936 (mswindows_tab_control_instantiate): assert index of tab.
8937 (mswindows_tab_control_redisplay): Re-code to use
8938 gui_item_equal_sans_selected and gui_item_list_find_selected.
8940 * glyphs-widget.c (tab_control_update): Correct comment.
8942 * window.c (window_unmap_subwindows): use new
8943 unmap_subwindow_instance_cache_mapper.
8944 (window_unmap_subwindows_cache_mapper): deleted.
8945 (Fset_window_configuration): comparisons should now be with
8946 EQ. Preserve the subwindow instance cache across configuration
8948 (allocate_window): ditto.
8949 (make_dummy_parent): ditto.
8951 * glyphs.c (free_frame_subwindow_instances): rename from
8952 free_frame_subwindow_instance_cache. finalize all instances rather
8953 than just those in the display cache.
8954 (finalize_all_subwindow_instances): walk windows unmapping and
8955 finalizing subwindows.
8956 (unmap_subwindow_instance_cache_mapper): moved from
8957 window.c. Allow finalization as well as unmapping.
8959 * gui.c (gui_item_list_find_selected): new function.
8961 * gui.h (gui_item_list_find_selected): declare.
8963 * glyphs-x.c (x_tab_control_redisplay): pick tab
8964 explicitly. Re-code to use gui_item_equal_sans_selected and
8965 gui_item_list_find_selected.
8967 * glyphs-x.h: add lwlib-utils.h
8969 * buffer.c (Frecord_buffer): undo previous change.
8971 2000-08-09 Vin Shelton <acs@xemacs.org>
8973 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
8974 possible. Create temporary files more securely. The patch was
8975 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
8976 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
8977 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
8980 2000-08-07 Ben Wing <ben@xemacs.org>
8982 * getloadavg.c: remove duplicate (and windows-breaking)
8983 includes of fcntl.h and sys/file.h.
8985 * nt.c: remove duplicate getloadavg() definition.
8987 * sysdll.h (Qdll_filename_encoding): add missing stand-in
8990 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
8992 * eval.c (function_argcount): If function needs to be autoloaded
8993 actually use the loaded definition.
8996 2000-08-05 Ben Wing <ben@xemacs.org>
8998 * getloadavg.c: add prototype for getloadavg(). remove
8999 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
9000 of the code). remove duplicate header includes.
9002 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
9004 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
9005 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
9006 useful load average.
9008 * alloc.c (reinit_alloc_once_early): removed references to
9009 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
9010 the lisp vars are the only things referencing the malloc_sbrk_*
9011 vars, and they were already if 0'd out. these vars only exist
9012 in the older malloc.c, which is basically unused, and they're
9013 only for informational purposes.
9015 * m\*.h: removed useless VIRT_ADDR_VARIES.
9017 * m\powerpc.h: removed stray NO_ARG_ARRAY.
9019 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
9021 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
9022 color if the image is a mono pixmap.
9024 2000-07-30 Ben Wing <ben@xemacs.org>
9026 * Makefile.in.in (release):
9029 * buffer.c (directory_is_current_directory):
9030 * dired-msw.c (mswindows_get_files):
9032 * dired.c (Fdirectory_files):
9033 * dired.c (file_name_completion_stat):
9034 * dired.c (Ffile_attributes):
9035 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
9036 preprocessor tricks, to avoid problems on some machines
9039 * callproc.c (egetenv): GC docs.
9042 * console-msw.h (struct mswindows_dialog_id):
9043 * lrecord.h (lrecord_type):
9044 New object for use with MSW dialogs.
9046 * console.h (struct console_methods):
9047 New enable/disable frame methods, for proper modal dialogs.
9049 * device-msw.c (msprinter_default_printer): Fix to follow
9050 proper Mule conventions.
9053 * device-msw.c (signal_open_printer_error):
9054 * device-msw.c (msprinter_init_device):
9055 * device-msw.c (ensure_not_printing):
9056 * device-msw.c (plist_get_margin):
9057 * device-msw.c (Fmsprinter_select_settings):
9058 * device-msw.c (finalize_devmode):
9059 * device-msw.c (Fmsprinter_settings_despecialize):
9060 * device-msw.c (signal_enum_priner_error):
9061 * extents.c (decode_extent):
9062 * extents.c (decode_map_extents_flags):
9063 * extents.c (decode_extent_at_flag):
9064 * extents.c (Fextent_at):
9065 * extents.c (Fextents_at):
9066 * extents.c (symbol_to_glyph_layout):
9067 [[[[2]]]] Use structured errors.
9070 * dialog-msw.c (mswindows_is_dialog_msg):
9071 * dialog-msw.c (mark_mswindows_dialog_id):
9072 * dialog-msw.c (dialog_proc):
9073 * dialog-msw.c (handle_question_dialog_box):
9074 * dialog-msw.c (syms_of_dialog_mswindows):
9075 Define new object to clean up marking; use it as a dialog identifier.
9076 Call new delete-dialog-box-hook.
9078 * dialog-x.c (dbox_selection_callback):
9079 * dialog-x.c (dbox_descriptor_to_widget_value):
9080 * dialog-x.c (x_make_dialog_box_internal):
9081 Call new delete-dialog-box-hook.
9085 * dialog.c (syms_of_dialog):
9086 * dialog.c (vars_of_dialog):
9087 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
9090 * eval.c (signal_call_debugger):
9091 when noninteractive, output stack traces on the console instead
9092 of in a (never-seen) buffer.
9094 * eval.c (signal_type_error):
9095 * eval.c (invalid_argument_2):
9097 new funs for use w/structured errors.
9100 * event-Xt.c (x_to_emacs_keysym):
9101 * event-Xt.c (describe_event):
9102 * event-Xt.c (emacs_Xt_event_handler):
9103 * event-Xt.c (vars_of_event_Xt):
9105 * event-msw.c (mswindows_wnd_proc):
9106 * event-msw.c (vars_of_event_mswindows):
9107 rename {x,mswindows}-debug-events to debug-{}-events for
9108 consistency with other debug-foo variables.
9111 document next-event more clearly.
9113 * fileio.c (Ffile_name_directory):
9114 * fileio.c (Ffile_name_nondirectory):
9115 * fileio.c (Funhandled_file_name_directory):
9116 * fileio.c (file_name_as_directory):
9117 * fileio.c (Ffile_name_as_directory):
9118 * fileio.c (directory_file_name):
9119 * fileio.c (Fdirectory_file_name):
9120 * fileio.c (Fmake_temp_name):
9121 * fileio.c (Ffile_truename):
9122 * fileio.c (Fsubstitute_in_file_name):
9123 * fileio.c (expand_and_dir_to_file):
9124 * fileio.c (barf_or_query_if_file_exists):
9125 * fileio.c (check_executable):
9126 * fileio.c (Ffile_exists_p):
9127 * fileio.c (Ffile_writable_p):
9128 * fileio.c (Ffile_directory_p):
9129 * fileio.c (Ffile_regular_p):
9130 * fileio.c (Ffile_modes):
9131 * fileio.c (Ffile_newer_than_file_p):
9132 * fileio.c (Fverify_visited_file_modtime):
9133 * fileio.c (Fset_visited_file_modtime):
9134 * fileio.c (auto_save_1):
9139 * frame-msw.c (mswindows_init_frame_1):
9140 * frame-msw.c (mswindows_enable_frame):
9141 * frame-msw.c (error_frame_unsizable):
9142 * frame-msw.c (msprinter_init_frame_1):
9143 * frame-msw.c (msprinter_init_frame_3):
9144 * frame-msw.c (console_type_create_frame_mswindows):
9146 implement new enable/disable frame methods.
9149 * frame-x.c (x_enable_frame):
9150 * frame-x.c (console_type_create_frame_x):
9151 implement new enable/disable frame methods.
9154 * frame.c (Fdisable_frame):
9155 * frame.c (syms_of_frame):
9156 * frame.h (struct frame):
9157 implement new enable/disable frame methods/functions.
9162 * glyphs-msw.c (mswindows_widget_instantiate):
9163 comment that initial-focus should be implemented.
9166 * glyphs-widget.c (check_valid_instantiator):
9167 * glyphs-widget.c (check_valid_orientation):
9168 * glyphs-widget.c (check_valid_tab_orientation):
9169 * glyphs-widget.c (check_valid_justification):
9170 * glyphs-widget.c (check_valid_border):
9171 * glyphs-widget.c (check_valid_callback):
9172 * glyphs-widget.c (check_valid_int_or_function):
9173 * glyphs-widget.c (check_valid_string_or_vector):
9174 * glyphs-widget.c (check_valid_item_list_1):
9175 * glyphs-widget.c (widget_validate):
9176 * glyphs-widget.c (combo_box_validate):
9177 * glyphs-widget.c (widget_instantiate):
9178 * glyphs-widget.c (syms_of_glyphs_widget):
9179 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
9180 * glyphs-widget.c (image_instantiator_combo_box):
9181 * glyphs-widget.c (image_instantiator_scrollbar):
9182 * glyphs-widget.c (image_instantiator_tab_control):
9183 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
9185 support (unimplemented) keyword initial-focus.
9186 reindent long macros.
9188 * glyphs-x.c (x_redisplay_widget):
9189 * glyphs-x.c (x_button_instantiate):
9190 * glyphs-x.c (x_button_redisplay):
9191 * glyphs-x.c (x_progress_gauge_instantiate):
9192 * glyphs-x.c (x_edit_field_instantiate):
9193 * glyphs-x.c (x_combo_box_instantiate):
9194 * glyphs-x.c (x_tab_control_instantiate):
9195 * glyphs-x.c (x_label_instantiate):
9197 * gui-x.c (button_item_to_widget_value):
9198 * gui-x.c (gui_items_to_widget_values_1):
9199 * gui-x.c (gui_item_children_to_widget_values):
9200 * gui-x.c (gui_items_to_widget_values):
9202 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9203 add new flag to gui-parsing routines to indicate whether
9204 accelerator specs should be supported.
9206 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
9208 * glyphs.h (struct Lisp_Image_Instance):
9209 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
9210 add initial-focus flag.
9213 * gui.c (syms_of_gui):
9214 * gui.c (vars_of_gui):
9215 clean up menu-no-selection-hook.
9218 support delete-dialog-box-hook.
9220 * lread.c (Fload_internal):
9221 * lread.c (locate_file_in_directory_mapper):
9225 * lrecord.h (struct toolbar_button):
9226 * lrecord.h (syms_of_toolbar):
9227 document how to create a new object.
9229 * menubar-msw.c (mswindows_char_is_accelerator):
9230 may be called on frames w/o menus.
9232 * menubar.c (vars_of_menubar):
9233 clean up :filter docs.
9240 * process-nt.c (validate_signal_number):
9241 * process-nt.c (signal_cannot_launch):
9242 * process-nt.c (nt_create_process):
9243 * process-nt.c (nt_send_process):
9244 * process-nt.c (nt_kill_child_process):
9245 * process-nt.c (nt_open_network_stream):
9246 * process-nt.c (syms_of_process_nt):
9248 delete quote-handling. call new lisp code that does it better.
9250 * process-unix.c (connect_to_file_descriptor):
9251 * process-unix.c (allocate_pty):
9252 * process-unix.c (unix_send_process):
9253 * process-unix.c (unix_kill_child_process):
9254 * process-unix.c (unix_open_network_stream):
9255 * process-unix.c (unix_open_multicast_group):
9259 * process.c (Fstart_process_internal):
9260 (2). need to canonicalize process path even if absolute.
9262 * select-msw.c (symbol_to_ms_cf):
9263 * select-msw.c (ms_cf_to_symbol):
9264 * select-msw.c (cf_is_autofreed):
9265 * select-msw.c (mswindows_destroy_selection):
9267 * select.c (syms_of_select):
9269 support dibv5, fix bugs. (from Mike Alexander)
9271 * select.c (Fget_selection_internal):
9272 * select.c (select_convert_out):
9275 * sysdep.c (xemacs_stat):
9280 but keep original stat() here because we provide encapsulation
9284 * sysfile.h (fstat):
9285 remove stat garbage.
9289 don't include tchar.h. it's inappropriate because it makes
9290 compile-time distinctions when we want runtime distinctions.
9291 (we provide our own tchar replacements)
9294 use default object printer for toolbar-button.
9297 make sure we don't encapsulate.
9299 * window.c (vars_of_window):
9300 emphasize that temp-buffer-show-hook is obsolete.
9302 2000-08-05 Martin Buchholz <martin@xemacs.org>
9304 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
9305 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
9307 * events.c (Fevent_timestamp_lessp):
9308 Not 64-bit clean. Use EMACS_INT, not int.
9310 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
9312 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
9313 unsigned int and changed the last enum to
9314 lrecord_type_last_built_in_type.
9315 (lrecord_implementations_table): changed prototype to know how
9316 long the array is supposed to be.
9317 (lrecord_type_count): new unsigned int to keep track of the
9318 current number of lisp lrecord types.
9319 (DEFINE_EXTERNAL_LRECORD):
9320 (DECLARE_EXTERNAL_LRECORD): Added these two for external
9321 dynamic-modules to declare new lisp types. They are the same
9322 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
9323 int for each new type, and increment lrecord_type_count by 1.
9325 * alloc.c (lrecord_implementations_table): Changed to reference
9326 lrecord_type_last_built_in_type for the size of the array.
9327 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
9329 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9331 * glyphs.h (check_valid_item_list): Renamed from
9332 check_valid_item_list_1.
9334 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
9336 * select.c (Qselect_coerce): New.
9337 * select.c (Vselection_coercion_alist): New.
9338 * select.c (syms_of_select): Declare.
9339 * select.c (get-selection-internal): Use it.
9340 Use the new select-coerce functionality.
9342 * select.c (select_coerce): New.
9343 * select.h (select_coerce): Declare.
9344 New function to coerce one type of data into another.
9346 2000-08-03 Martin Buchholz <martin@xemacs.org>
9348 * callproc.c (Fcall_process_internal):
9349 (Fcall_process_internal):
9350 * process-unix.c (unix_create_process):
9351 Save and restore the value of errno, so that error messages are accurate.
9353 2000-08-01 Martin Buchholz <martin@xemacs.org>
9355 * elhash.c (print_hash_table):
9356 Fix printing of hash tables to also use `key-and-value' instead of `t'.
9357 Prettify docstrings and indentation.
9359 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
9361 * window.c (Fwindow_pixel_edges): Subtract frame border and
9364 2000-07-31 Andy Piper <andy@xemacs.org>
9366 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
9367 will acknowledge the change.
9369 * glyphs.h: declare tab_control_order_only_changed.
9371 * glyphs-x.c (x_tab_control_redisplay): use
9372 tab_control_order_only_changed.
9374 * glyphs-widget.c (tab_control_order_only_changed): new function.
9376 * glyphs-msw.c (mswindows_tab_control_redisplay): use
9377 tab_control_order_only_changed.
9379 * gui.c (gui_item_equal_sans_selected): new function.
9380 (gui_item_equal): use it.
9382 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
9383 :properties in favor of :items..
9385 * glyphs-widget.c (check_valid_item_list): rename from
9386 check_valid_item_list_1.
9387 (check_valid_item_list_1): renamed.
9388 (combo_box_validate): deprecate :properties in favor of :items.
9389 (widget_instantiate): ditto.
9390 (tab_control_update): ditto.
9391 (image_instantiator_combo_box): ditto.
9392 (image_instantiator_tree_view): ditto.
9393 (image_instantiator_tab_control): ditto.
9394 (layout_post_instantiate): remove dead code.
9396 * print.c (debug_print_no_newline): only write to debugger if in
9399 * elhash.c (Fmake_hash_table): update doc string.
9401 * event-msw.c (mswindows_wnd_proc): don't allow processing of
9402 messages whilst in GC. This at least stops XEmacs crashing but has
9403 the potential for wierd behaviour.
9405 2000-07-31 Martin Buchholz <martin@xemacs.org>
9408 Make existence of s&m files optional.
9410 * s/bsd386.h: Remove HAVE_GETLOADAVG.
9411 * s/freebsd.h: Remove HAVE_GETLOADAVG.
9412 * s/gnu.h: Remove HAVE_GETLOADAVG.
9413 * s/netbsd.h: Remove HAVE_GETLOADAVG.
9414 * s/sol2.h: Remove HAVE_GETLOADAVG.
9415 * lisp.h: Remove getloadavg() declaration.
9417 Include <sys/loadavg.h> if available.
9418 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
9419 * config.h.in: Group together getloadavg()-related macros.
9420 Use only configure-time tests to detect getloadavg().
9422 2000-07-30 Martin Buchholz <martin@xemacs.org>
9424 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
9426 2000-07-25 Andy Piper <andy@xemacs.org>
9428 * syswindows.h: add tchar.h for native builds.
9430 * frame.c (syms_of_frame): remove set-glyph-image.
9432 * general-slots.h: add Qset_glyph_image.
9434 * glyphs-widget.c (layout_update): add domain arg to
9436 (syms_of_glyphs_widget): remove set-glyph-image.
9438 2000-07-23 Ben Wing <ben@xemacs.org>
9440 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
9443 2000-07-22 Andy Piper <andy@xemacs.org>
9445 * symsinit.h: add syms_of_win32().
9447 * gui-msw.c (syms_of_gui_mswindows): remove
9448 Fmswindows_shell_execute.
9449 (Fmswindows_shell_execute): moved to win32.c.
9451 * emacs.c (main_1): add syms_of_win32 ().
9453 * win32.c (init_potentially_nonexistent_functions): rewrite in
9454 compiler-friendly terms.
9455 (Fmswindows_shell_execute): move here from gui-msw.c.
9456 (syms_of_win32): new.
9458 * device-msw.c (Fmswindows_printer_list): clean up args to
9460 Don't include tchar under cygwin or mingw.
9461 (msprinter_default_printer): make cygwin-friendly.
9463 2000-07-21 Andy Piper <andy@xemacs.org>
9465 * glyphs-widget.c (image_instantiator_tree_view): use tab
9466 control's update function.
9467 (layout_property): new function. Retrieve items.
9469 * glyphs-msw.c (mswindows_tree_view_redisplay): new
9470 function. Re-populate the tree view from the pending items.
9472 * glyphs.c (instantiate_image_instantiator): Make sure the domain
9473 is designated the parent if the domain is an image instance. This
9474 is needed so that dirtiness can be cascade up the hierarchy and
9475 thus for layout children to be redisplayed correctly.
9476 (allocate_image_instance): rename glyph -> parent.
9478 * redisplay.h: change redisplay_output_layout signature.
9480 * redisplay-msw.c (mswindows_output_display_block): use domain
9483 * redisplay-x.c (x_output_display_block): use domain arg.
9485 2000-07-10 Andy Piper <andy@xemacs.org>
9487 * window.c (Fset_window_configuration): add comment.
9489 * redisplay-output.c (compare_runes):
9490 (redisplay_output_subwindow): redisplay rather than update subwindow.
9491 (redisplay_output_layout): ditto.
9493 * redisplay-msw.c (mswindows_frame_output_end):
9494 (mswindows_frame_output_end): make defer window pos optional.
9496 * lisp.h: add Flast.
9498 * glyphs.h (struct image_instantiator_methods): add dest_mask top
9499 normalize method. Change update method to be for changed
9500 instantiators. Add redisplay method. Change signature of layout
9502 (struct Lisp_Image_Instance): add instantiator.
9503 (IMAGE_INSTANCE_INSTANTIATOR): new.
9504 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
9505 (XIMAGE_INSTANCE_INSTANTIATOR): new.
9506 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
9509 (find_instantiator_differences): new function.
9510 (Fset_instantiator_property): new convenience function.
9511 (check_image_instance_structure): strictly check for vector
9513 (normalize_image_instantiator): make non-static.
9514 (instantiate_image_instantiator): pass on dest_mask and use new
9515 signatures for image_instance_layout and friends.
9516 (mark_image_instance): mark the instantiator. Mark the subwindow
9517 face not the widget face.
9518 (image_instance_equal): add instantiator.
9519 (image_instance_hash): ditto.
9520 (allocate_image_instance): ditto.
9521 (Fset_image_instance_property): removed.
9522 (Fimage_instance_file_name): ditto.
9523 (Fcolorize_image_instance): ditto.
9524 (image_instance_layout): add offsets to be set.
9525 (update_image_instance): new function. update an image instance
9526 from its changed instantiator.
9527 (inherit_normalize): add dest_mask.
9528 (xbm_normalize): ditto.
9529 (xface_normalize): ditto.
9530 (xpm_normalize): ditto.
9531 (text_update): set_property -> update.
9532 (image_instantiate): use the glyph identity as a hash key, not the
9534 (glyph_width): use new image_instance_layout signature.
9535 (glyph_ascent): ditto.
9536 (glyph_descent): ditto.
9537 (glyph_height): ditto.
9538 (glyph_query_geometry): ressurrect.
9539 (glyph_layout): ditto.
9540 (redisplay_subwindow): update -> redisplay.
9541 (syms_of_glyphs): add Fset_instantiator_property.
9542 (image_instantiator_format_create): set_property -> update.
9545 (autodetect_normalize): add dest_maks to signature.
9546 (x_redisplay_subwindow): update -> redisplay.
9547 (x_redisplay_widget): ditto.
9548 (x_button_redisplay): ditto.
9549 (x_progress_gauge_redisplay): ditto.
9550 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
9552 (console_type_create_glyphs_x): update -> redisplay.
9553 (image_instantiator_format_create_glyphs_x): ditto.
9556 (check_valid_instantiator): disallow glyphs in the instantiator,
9557 they must now be vectors.
9558 (check_valid_instantiator_list): ditto.
9559 (glyph_instantiator_to_glyph): use internal symbol rather than
9561 (widget_update): renamed from widget_set_property. Call cascaded
9563 (redisplay_widget): renamed from update_widget.
9564 (widget_layout): image_instance_layout now takes position as well
9566 (widget_normalize): ditto.
9567 (widget_instantiate): ditto.
9568 (tab_control_query_geometry) ditto.:
9569 (tab_control_update): renamed from tab_control_set_property.
9570 (progress_gauge_update): set_property -> update.
9571 (layout_normalize): rewrite so that child instantiators are
9573 (layout_update): new function. Create glyphs from the normalized
9574 children and cope with any other layout keywords. We do not
9575 instantiate children here that will be take care of by
9576 redisplay_output_layout.
9577 (layout_instantiate): call layout_update and not much else.
9578 (layout_post_instantiate): not sure whether this is needed
9580 (layout_query_geometry): query glyph geometry rather than
9581 image_instance geometry.
9582 (layout_layout): set offsets from pass in parameters. Use glyph
9583 geometry and layout functions rather than image instance ones.
9584 (native_layout_layout): ditto.
9585 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
9586 (image_instantiator_widget): set_property -> update.
9587 (image_instantiator_buttons): ditto.
9588 (image_instantiator_progress_guage): ditto.
9589 (image_instantiator_tab_control): ditto.
9590 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
9591 (image_instantiator_layout): add update method.
9593 * glyphs-msw.c (bmp_normalize):
9594 (mswindows_resource_normalize): add dest_mask so that it can be
9595 proprogated by layout_normalize.
9596 (begin_defer_window_pos): make optional because it may not be the
9597 right thing to do and it introduces differences with X.
9598 (mswindows_unmap_subwindow): ditto.
9599 (mswindows_map_subwindow): ditto.
9600 (mswindows_redisplay_subwindow): renamed from
9601 mswindows_update_subwindow.
9602 (mswindows_redisplay_widget): ditto.
9603 (mswindows_button_redisplay): renamed from
9604 mswindows_button_update. Update is now what the instantiation
9605 function does for a changed instantiator.
9606 (mswindows_progress_gauge_instantiate): set the progress value
9607 here if appropriate.
9608 (mswindows_tab_control_redisplay): cope with re-ordering of the
9609 members of the tab widget by simply selecting the new top
9610 widget. This makes things appear ok if you click on a tab.
9611 (mswindows_combo_box_instantiate): image_instance_layout now takes
9612 position as well as size.
9613 (mswindows_progress_gauge_redisplay): renamed from
9614 mswindows_progress_gauge_update.
9615 (console_type_create_glyphs_mswindows): fix update -> redisplay.
9616 (image_instantiator_format_create_glyphs_mswindows): ditto.
9618 * glyphs-eimage.c (jpeg_normalize):
9621 (tiff_normalize): add dest_mask so that it can be proprogated by
9626 (hash_table_weakness_validate):
9627 (decode_hash_table_weakness):
9628 (Fhash_table_weakness):
9630 (syms_of_elhash): use Ben's naming scheme for hashtable types..
9632 * console.h (struct console_methods): move update_* to
9635 2000-07-20 Ben Wing <ben@xemacs.org>
9637 * *.[ch] (XSETOBJ): remove unused middle argument.
9638 lisp-disunion.h: correct wrap_object() to one argument.
9640 2000-07-15 Ben Wing <ben@xemacs.org>
9643 * s/cygwin32.h (CYGWIN_CONV_PATH):
9644 Add missing logb prototype for v1.1.
9645 Use post-b20 names and alias to pre-b20 names when pre-b20.
9647 * s/windowsnt.h: [5].
9649 2000-07-15 Ben Wing <ben@xemacs.org>
9651 * Makefile.in.in (x_objs):
9652 * Makefile.in.in (sheap_objs):
9653 * Makefile.in.in (objs):
9654 added win32.o, cosmetic cleanups.
9656 * alloc.c (Fmake_byte_code):
9657 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
9658 etc. macros which declare their own args now.
9660 * alloc.c (syms_of_alloc):
9661 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
9664 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
9666 * buffer.c (Fget_file_buffer):
9667 Fixed GCPRO problem.
9669 * buffer.c (get_truename_buffer):
9670 Fixed comment about GC checking.
9672 * buffer.c (syms_of_buffer):
9673 Undeclared those dedicated frame funs.
9677 Define convenience macros for internal/external conversions.
9678 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
9679 and Qenvironment_variable_encoding for cleaner code.
9682 Remove dedicated-frame; in lisp.
9684 * bytecode.c (funcall_compiled_function):
9687 * bytecode.c (syms_of_bytecode):
9691 * console-msw.c (mswindows_show_console): Rewrote.
9693 * console-msw.c (Fmswindows_debugging_output): New.
9694 Sends to OutputDebugString (special MSWin debugger interface).
9696 * console-msw.c (Fmswindows_message_box):
9697 Fixed stupid bugs so it works when called from kill-emacs.
9699 * console-msw.c (syms_of_console_mswindows):
9700 Declare Fmswindows_debugging_output.
9703 New MSWin prototypes.
9705 * console-msw.h (struct mswindows_frame):
9706 New entry last-click-mods for improved button-modifier support.
9708 * console-msw.h (FRAME_MSWINDOWS_POPUP):
9709 New struct entry `popup' with corresponding accessor.
9712 * console-x.c (split_up_display_spec):
9713 * console-x.c (get_display_arg_connection):
9714 * console-x.c (x_semi_canonicalize_console_connection):
9715 * console-x.c (x_canonicalize_device_connection):
9716 [[[6]]]: Change char to more specific type.
9717 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
9719 * console-x.c (x_semi_canonicalize_console_connection):
9720 * console-x.c (x_canonicalize_device_connection):
9721 [[[9]]]: Fix up error signalling to use new structured error system.
9724 [[[4]]]: Define codesys aliases:
9725 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
9726 Qx_color_name_encoding, Qx_display_name_encoding.
9728 * console.h (struct console_methods):
9729 New method make_dialog_box_internal supersedes older
9730 popup_dialog_box method.
9733 Define many new errors, part of new structured errors.
9735 * data.c (init_errors_once_early):
9736 * data.c (syms_of_data):
9739 * device-msw.c (mswindows_init_device):
9740 [[[5]]]: Cleanup to support NT 3.51.
9742 * device-msw.c (decode_devmode): Cleanup.
9744 * device-msw.c (mswindows_handle_print_setup_dialog_box):
9745 * device-msw.c (mswindows_handle_print_dialog_box):
9746 * device-msw.c (mswindows_handle_page_setup_dialog_box):
9747 * device-msw.c (syms_of_device_mswindows):
9748 Delete the dialog box primitives recently introduced by Kirill and
9749 instead interface to general dialog box interface.
9752 * device-x.c (compute_x_app_name):
9753 * device-x.c (x_init_device):
9754 * device-x.c (Fx_valid_keysym_name_p):
9755 * device-x.c (Fx_set_font_path):
9759 * device.h (wrap_device): New.
9760 First of its kind; meant to replace XSETDEVICE.
9762 * dialog-msw.c: Many file-dialog symbols.
9764 * dialog-msw.c (mswindows_register_popup_frame): New.
9765 * dialog-msw.c (mswindows_is_dialog_msg): New.
9766 For supporting kbd traversal in dialog boxes.
9768 * dialog-msw.c (dialog_proc):
9769 Support hitting ESC in dialogs.
9771 * dialog-msw.c (struct):
9772 Common dialog box errors.
9774 * dialog-msw.c (handle_file_dialog_box): New.
9775 Add file dialog code.
9777 * dialog-msw.c (handle_question_dialog_box):
9778 Redo existing code to support new question dialog syntax.
9780 * dialog-msw.c (console_type_create_dialog_mswindows):
9781 We support new dialog console method.
9783 * dialog-msw.c (syms_of_dialog_mswindows):
9784 * dialog-msw.c (vars_of_dialog_mswindows):
9785 New file dialog symbols, vars.
9788 * dialog-x.c (maybe_run_dbox_text_callback):
9789 * dialog-x.c (dbox_descriptor_to_widget_value):
9790 * dialog-x.c (x_make_dialog_box_internal):
9791 * dialog-x.c (console_type_create_dialog_x):
9792 Mule-ize entire file.
9793 Redo to support question dialog syntax.
9797 * dialog.c (Fmake_dialog_box_internal):
9798 * dialog.c (syms_of_dialog):
9799 Kill old popup-dialog-box, replace with new primitive.
9800 Just call device method or signal error.
9802 * eldap.c (Fldap_open):
9803 * eldap.c (Fldap_search_basic):
9804 * eldap.c (Fldap_add):
9805 * eldap.c (Fldap_modify):
9810 * emacs.c (make_arg_list_1):
9811 * emacs.c (make_arg_list):
9812 Mule-ize call to dll_init().
9816 * emacs.c (make_argc_argv):
9817 * emacs.c (free_argc_argv):
9818 * emacs.c (init_cmdargs):
9820 * emacs.c (Fkill_emacs):
9821 * emacs.c (Fdump_emacs):
9822 Update comments about what can be used in syms_* etc.
9823 Call init_win32() when necessary.
9824 Fix up MS Win dialog box in kill-buffer to actually work right.
9835 * eval.c (condition_case_3):
9837 * eval.c (function_argcount):
9838 * eval.c (funcall_lambda):
9841 * eval.c (type_error): New.
9842 * eval.c (maybe_type_error): New.
9843 * eval.c (continuable_type_error): New.
9844 * eval.c (maybe_continuable_type_error): New.
9845 * eval.c (type_error_with_frob): New.
9846 * eval.c (maybe_type_error_with_frob): New.
9847 * eval.c (continuable_type_error_with_frob): New.
9848 * eval.c (maybe_continuable_type_error_with_frob): New.
9849 New functions for use with structured errors.
9852 * event-Xt.c (x_event_to_emacs_event):
9853 Buttons are now modifiers too.
9855 * event-Xt.c (emacs_Xt_current_event_timestamp):
9856 Implement new event method.
9857 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
9860 * event-msw.c (ntpipe_shove_writer): [5].
9861 * event-msw.c (mswindows_enqueue_mouse_button_event):
9862 * event-msw.c (mswindows_drain_windows_queue):
9863 * event-msw.c (mswindows_wnd_proc): [7].
9864 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
9865 * event-msw.c (mswindows_modifier_state):
9866 Throughout: support new button modifiers.
9868 * event-msw.c (emacs_mswindows_current_event_timestamp):
9869 Implement new event method.
9870 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
9873 * event-stream.c (event_stream_current_event_timestamp): New.
9874 * event-stream.c (maybe_kbd_translate): New functionality.
9875 * event-stream.c (vars_of_event_stream):
9876 Document new kbd-translate-table functionality.
9878 * event-stream.c (Fcurrent_event_timestamp): New.
9879 New primitive for use in fabricated events.
9880 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
9882 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
9885 * events.c (Fmake_event):
9886 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
9890 * events.c (format_event_object): fix gcc warnings.
9892 * events.c (Fevent_timestamp): Document new primitives.
9894 * events.c (TIMESTAMP_HALFSPACE): New.
9896 * events.c (Fevent_timestamp_lessp): New. New primitive for
9897 comparing timestamps correctly (half-space algorithm).
9899 * events.c (Fevent_modifier_bits): Doc fix.
9901 * events.c (Fevent_modifiers): Major doc addition.
9902 * events.c (event_x_y_pixel_internal): Typo fix.
9903 * events.c (syms_of_events): Declare new primitives.
9906 Update long comment for button modifiers, timestamps.
9908 * events.h (struct event_stream):
9909 New current_event_timestamp method.
9912 * extents.c (extent_in_region_p):
9913 * extents.c (decode_extent):
9914 * extents.c (Fset_extent_parent):
9915 * extents.c (decode_map_extents_flags):
9919 * extents.c (struct extent_at_arg):
9920 * extents.c (decode_extent_at_flag):
9921 * extents.c (extent_at_mapper):
9922 * extents.c (extent_at_bytind):
9923 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
9924 * extents.c (Fextents_at): New primitive. [9].
9925 * extents.c (symbol_to_glyph_layout): [9].
9926 Support new primitive `extents-at'.
9929 * extents.c (get_text_property_bytind):
9930 extent_at_bytind has another arg.
9933 * extents.c (syms_of_extents): New primitive.
9935 * file-coding.c (Fmake_coding_system): [1].
9936 * file-coding.c (subsidiary_coding_system): fix gcc warning
9937 * file-coding.c (syms_of_file_coding): [2].
9939 * fileio.c (Fexpand_file_name):
9940 * fileio.c (Fsysnetunam):
9941 * fileio.c (Ffile_exists_p):
9942 * fileio.c (Ffile_executable_p):
9943 * fileio.c (Fverify_visited_file_modtime):
9946 * fileio.c (syms_of_fileio): [2].
9948 * filelock.c (lock_file_1):
9949 * filelock.c (current_lock_owner):
9950 * filelock.c (lock_if_free):
9951 * filelock.c (lock_file):
9952 * filelock.c (unlock_file):
9955 * fns.c (concat): Fix gcc warning.
9958 * fns.c (Fold_member):
9960 * fns.c (Fold_memq):
9961 * fns.c (memq_no_quit):
9963 * fns.c (Fold_assoc):
9965 * fns.c (Fold_assq):
9966 * fns.c (assq_no_quit):
9968 * fns.c (Fold_rassoc):
9970 * fns.c (Fold_rassq):
9971 * fns.c (rassq_no_quit):
9973 * fns.c (Fold_delete):
9975 * fns.c (Fold_delq):
9976 * fns.c (delq_no_quit):
9977 * fns.c (Fremassoc):
9979 * fns.c (remassq_no_quit):
9980 * fns.c (Fremrassoc):
9981 * fns.c (Fremrassq):
9982 * fns.c (remrassq_no_quit):
9987 * frame-msw.c (mswindows_init_frame_1):
9988 * frame-msw.c (mswindows_delete_frame):
9989 Register popups with dialog code so keyboard traversing works.
9991 * frame-tty.c (tty_raise_frame_no_select): [1].
9994 * frame-x.c (x_set_frame_text_value):
9995 * frame-x.c (x_set_frame_properties):
9996 * frame-x.c (x_create_widgets):
10000 * frame.c (Fmouse_pixel_position): Minor doc fixes.
10002 * frame.h (wrap_frame): New.
10003 Macro like wrap_device.
10006 * general.c (SYMBOL):
10007 * general.c (syms_of_general):
10008 Major reorg. This is now just a wrapper and symbols themselves
10009 are listed in general-slots.h.
10011 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
10012 * glyphs-msw.c (mswindows_resource_instantiate): [5].
10014 * glyphs-msw.c (mswindows_native_layout_instantiate):
10015 Add DS_CONTROL so keyboard traversal will work.
10018 * glyphs-widget.c (syms_of_glyphs_widget):
10019 Move some symbols to general-slots.h.
10022 * glyphs-x.c (xbm_instantiate_1):
10023 * glyphs-x.c (x_xbm_instantiate):
10024 * glyphs-x.c (x_xface_instantiate):
10025 * glyphs-x.c (autodetect_instantiate):
10026 * glyphs-x.c (cursor_font_instantiate):
10027 * glyphs-x.c (x_update_widget):
10028 * glyphs-x.c (x_widget_instantiate):
10029 * glyphs.c (bitmap_to_lisp_data):
10030 * glyphs.c (pixmap_to_lisp_data):
10033 * glyphs.c (syms_of_glyphs):
10037 * gui-x.c (print_widget_value):
10038 * gui-x.c (menu_separator_style_and_to_external):
10039 * gui-x.c (add_accel_and_to_external):
10040 * gui-x.c (button_item_to_widget_value):
10041 * gui-x.c (gui_items_to_widget_values_1):
10042 * gui-x.c (gui_items_to_widget_values):
10043 * gui-x.c (syms_of_gui_x):
10044 * gui-x.c (vars_of_gui_x):
10045 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
10049 Muleize, prototype changes matching gui-x.c.
10052 * gui.c (separator_string_p):
10053 * gui.c (gui_item_add_keyval_pair):
10054 * gui.c (make_gui_item_from_keywords_internal):
10055 * gui.c (signal_too_long_error):
10056 * gui.c (parse_gui_item_tree_item):
10057 * gui.c (syms_of_gui):
10058 * gui.c (vars_of_gui):
10060 menu-no-selection-hook moved here (used by MSWin).
10061 Move some symbols to general-slots.h.
10065 * insdel.c (get_buffer_pos_char):
10066 * insdel.c (get_buffer_range_char):
10069 * keymap.c (keymap_lookup_directly):
10070 * keymap.c (keymap_store):
10071 * keymap.c (ensure_meta_prefix_char_keymapp):
10072 * keymap.c (describe_map):
10074 Support new button modifiers.
10076 * lisp-disunion.h (wrap_object):
10077 * lisp-disunion.h (XSETOBJ):
10078 Rename make_obj to wrap_object.
10081 * lisp-union.h (make_int):
10082 * lisp-union.h (make_char):
10083 Support wrap_object.
10086 * lisp.h (LIST_LOOP):
10087 * lisp.h (EXTERNAL_LIST_LOOP):
10088 * lisp.h (LIST_LOOP_2):
10089 * lisp.h (EXTERNAL_LIST_LOOP_1):
10090 * lisp.h (EXTERNAL_LIST_LOOP_2):
10091 * lisp.h (EXTERNAL_LIST_LOOP_3):
10092 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
10093 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10094 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
10095 * lisp.h (EXTERNAL_ALIST_LOOP_5):
10096 * lisp.h (EXTERNAL_ALIST_LOOP_6):
10097 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
10098 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
10099 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
10100 * lisp.h (struct Lisp_Symbol):
10101 * lisp.h (maybe_continuable_error_with_frob):
10102 Fix up section comments.
10103 Add new types for char to indicate usage.
10104 Delete symbols auto-generated from general-slots.h.
10105 Add prototypes for structured error functions.
10106 Add long comments describing looping macros and change interface
10107 so that lvalues are automatically declared.
10108 Add NO_DECLARE macro in case callers want to declare lvalues
10111 * lread.c (read_syntax_error):
10112 * lread.c (continuable_read_syntax_error):
10113 * lread.c (read_structure):
10114 * lread.c (sequence_reader):
10115 * lread.c (read_list_conser):
10116 * lread.c (read_compiled_function):
10117 Rename syntax_error and continuable_syntax_error to avoid clash
10118 with same-named structured error functions.
10120 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10121 * menubar-msw.c (populate_menu_add_item):
10122 * menubar-msw.c (populate_or_checksum_helper):
10127 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10128 Mule-ize whole file.
10130 * menubar.c (Fnormalize_menu_item_name): Add optimization.
10132 * mule-charset.c (Fmake_charset):
10133 * mule-wnnfns.c (Fwnn_set_param):
10136 * ntproc.c (create_child):
10137 * ntproc.c (Fwin32_set_current_locale):
10138 Add comments portending doom.
10141 * objects-msw.c (old_font_enum_callback_2):
10142 * objects-msw.c (font_enum_callback_1):
10143 * objects-msw.c (mswindows_enumerate_fonts):
10147 * objects-x.c (allocate_nearest_color):
10148 * objects-x.c (x_parse_nearest_color):
10149 * objects-x.c (x_initialize_color_instance):
10150 * objects-x.c (x_print_color_instance):
10151 * objects-x.c (x_finalize_color_instance):
10152 * objects-x.c (x_valid_color_name_p):
10153 * objects-x.c (x_initialize_font_instance):
10154 * objects-x.c (x_print_font_instance):
10155 * objects-x.c (valid_x_font_name_p):
10156 * objects-x.c (truename_via_FONT_prop):
10157 * objects-x.c (truename_via_random_props):
10158 * objects-x.c (truename_via_XListFonts):
10159 * objects-x.c (x_font_truename):
10160 * objects-x.c (x_font_instance_truename):
10161 * objects-x.c (x_font_instance_properties):
10162 * objects-x.c (x_list_fonts):
10163 * objects-x.c (x_find_charset_font):
10164 Mule-ize entire file.
10171 * print.c (std_handle_out_external):
10172 * print.c (debug_print_no_newline):
10173 * print.c (syms_of_print):
10174 Output to all debugger kinds in debug-print.
10175 Fix console-output code under MSWin to actually work.
10177 * process-nt.c (send_signal):
10178 * process-nt.c (nt_create_process):
10179 Use newer Unicode macros.
10181 * process-unix.c (unix_create_process):
10182 * process-unix.c (unix_canonicalize_host_name):
10183 * process-unix.c (unix_open_network_stream):
10189 * search.c (syms_of_search):
10192 * select-msw.c (mswindows_destroy_selection):
10195 * select-x.c (symbol_to_x_atom):
10198 * select.c (syms_of_select):
10201 * sound.c (Fplay_sound_file):
10205 * specifier.c (decode_specifier_type):
10206 * specifier.c (Fvalid_specifier_locale_type_p):
10207 * specifier.c (check_valid_locale_or_locale_type):
10208 * specifier.c (decode_locale):
10209 * specifier.c (decode_locale_type):
10210 * specifier.c (decode_locale_list):
10211 * specifier.c (check_valid_domain):
10212 * specifier.c (decode_specifier_tag_set):
10213 * specifier.c (Fcanonicalize_tag_set):
10214 * specifier.c (Fdefine_specifier_tag):
10215 * specifier.c (Fspecifier_tag_predicate):
10216 * specifier.c (check_valid_inst_list):
10217 * specifier.c (check_valid_spec_list):
10218 * specifier.c (decode_how_to_add_specification):
10219 * specifier.c (check_modifiable_specifier):
10220 * specifier.c (specifier_add_spec):
10221 * specifier.c (boolean_validate):
10222 * specifier.c (display_table_validate):
10225 * specifier.c (syms_of_specifier):
10226 Move some symbols to general-slots.h.
10230 * symbols.c (Fmapatoms):
10231 * symbols.c (Fapropos_internal):
10234 * symbols.c (set_default_buffer_slot_variable):
10235 * symbols.c (set_default_console_slot_variable):
10238 * symbols.c (defsymbol_massage_name_1):
10239 * symbols.c (defkeyword_massage_name):
10240 * symbols.c (deferror_1):
10241 * symbols.c (deferror):
10242 * symbols.c (deferror_massage_name_and_message):
10244 * symeval.h (DEFSYMBOL):
10245 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
10247 * symbols.c (syms_of_symbols):
10251 * symsinit.h (init_win32): New.
10252 Also new is syms_of_dialog_mswindows.
10255 Add new Unicode macros, missing Cygwin wide-char functions,
10256 convenience conversion macros for Qmswindows_tstr, macros for
10257 encapsulating required MSWin <-> Cygwin filename conversions,
10258 prototype for dynamically-extracted (not in NT 3.51) functions.
10263 * tooltalk.c (Fadd_tooltalk_message_arg):
10264 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
10265 * tooltalk.c (Fadd_tooltalk_pattern_arg):
10268 * tooltalk.c (syms_of_tooltalk):
10272 * unexnt.c (unexec):
10273 Fix up headers, declaration of unexec() to be more standard.
10275 2000-07-20 Martin Buchholz <martin@xemacs.org>
10277 * offix.h: Revert change to guard macros - they're used in offix.c!
10279 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10281 * lisp.h: Defsubred Fdelete.
10283 * console-msw.h: (msprinter_default_printer): Added.
10285 * console-msw.c (msprinter_canonicalize_console_connection):
10286 (msprinter_canonicalize_device_connection): Added.
10288 * device-msw.c (msprinter_default_printer):
10289 (Fmswingows_get_default_printer):
10290 (signal_enum_priner_error):
10291 (Fmswingows_printer_list): Added.
10293 2000-07-19 Martin Buchholz <martin@xemacs.org>
10295 * XEmacs 21.2.35 is released.
10297 2000-07-19 Martin Buchholz <martin@xemacs.org>
10299 * select-x.c (x_handle_selection_request):
10300 Text selected in xemacs and pasted into xterm failed to appear.
10301 Spelling fixes and cosmetic changes.
10303 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10305 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
10306 XEmacs frame (fix for doubling chars in dialog boxes).
10308 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10310 * select.c (select_convert_in, select_convert_out):
10311 Don't call intern() every time.
10313 * select.c (Qselect_convert_in, Qselect_convert_out): New.
10314 * select.c (vars_of_select): Initialise them.
10316 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10318 * select.c (selection-coercible-types): New.
10320 * select.c (own-selection-internal):
10321 * select.c (get-selection-internal):
10322 MULE bug fix - these should default to COMPOUND_TEXT and not
10323 STRING for MULE. I think.
10325 * select.c (select_convert_out): Use selection-coercible-types
10326 to find types that we can attempt to perform coercions on.
10328 2000-07-18 Martin Buchholz <martin@xemacs.org>
10332 Add coding: cookie to identify encoding.
10334 * mule-canna.c (CANNA_mode_keys): make static.
10335 Use proper prototypes, even for functions of no arguments.
10336 Remove external prototype for Fding().
10338 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
10340 * select.c (syms_of_select): Add missing DEFSUBR.
10342 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10344 * select.c (get_selection_internal, own_selection_internal):
10345 Make the type default to STRING, rather than placing a nil type
10346 into Vselection_alist.
10348 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10350 * gpmevent.c (tty_selection_exists_p):
10351 * gpmevent.c (tty_own_selection):
10352 Updated parameter lists.
10354 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
10356 * select.h (selection-alist): Removed declaration.
10358 * select.h (get_local_selection):
10359 * select.c (get_local_selection):
10362 * select.h (convert_selection): Removed declaration.
10363 * select.c (convert_selection): Removed.
10364 This function belongs in Lisp.
10366 * select.h (select_convert_in): Declare.
10367 * select.h (select_convert_out): Declare.
10368 * select.c (select_convert_in): New.
10369 * select.c (select_convert_out): New.
10370 New conversion functions for other files to call.
10372 * select.h (select_notify_buffer_kill): Declare.
10373 * select.c (select_notify_buffer_kill): New.
10374 New functions that get called from kill-buffer.
10376 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
10377 X-specific lisp code.
10379 * select.h: Declare some of the lisp-visible functions for
10382 * select.c (clean_local_selection_data): Removed. This was
10383 a disgusting function, and previously should have been in
10384 select-x.c in any case. The functionality is now provided
10385 in select-convert-from-integer (select.el).
10387 * select.c (available-selection-types): Fixed stupidity where
10388 INTEGER and ATOM got added twice. Also add STRING when we see an
10391 * select.c (get-selection-internal): Removed symbol stripping. No
10392 longer causes conversion when data comes from the internal cache.
10394 * select.c (syms_of_select): Added new functions.
10396 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
10397 error checking - previously this called abort!
10399 * select-x.c (x_own_selection): Changed comment.
10401 * select-x.c (x_handle_selection_request): Use select_convert_out.
10402 Don't mess with selection-alist; it's an internal variable of select.c.
10404 * select-x.c (x_get_foreign_selection): Use select_convert_in.
10406 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
10407 rather than messing with selection-alist.
10409 * select-msw.c (mswindows_get_foreign_selection):
10410 Use TO_INTERNAL_FORMAT rather than hacking.
10412 2000-07-14 Martin Buchholz <martin@xemacs.org>
10414 * process-unix.c (unix_open_multicast_group):
10415 (unix_open_multicast_group): Remove useless casts.
10417 2000-07-13 Martin Buchholz <martin@xemacs.org>
10419 * sound.c (Fplay_sound): Fix `unused variable' warning.
10421 * emacs.c (main): Use correct type for _environ on SCO5.
10423 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
10425 * console.h (own_selection_method):
10426 * console.h (selection_exists_p_method):
10427 * console.h (available_selection_types_method): New.
10428 * console.h (register_selection_data_type_method): New.
10429 * console.h (selection_data_type_name): New.
10431 * console-msw.h (mswindows_destroy_selection): Declare it. New
10432 function & alist to track GlobalAlloc()'d handles that need
10433 releasing when the clipboard data gets replaced or emptied.
10435 * event-msw.c (mswindows_wnd_proc): Call it.
10437 * lisp.h, general.c (Qappend): New symbol representing a
10440 * select.c (own-selection-internal):
10441 * select.c (selection-exists-p):
10442 * select.c (available-selection-types): New.
10443 * select.c (register-selection-data-type): New.
10444 * select.c (selection-data-type-name): New. New functions to deal
10445 with device-specific selection data formats.
10446 * select.c (selection-converter-out-alist): Renamed.
10447 * select.c (selection-converter-in-alist): New.
10448 * select.c (selection-appender-alist): New. Added new alists.
10449 * select.c (syms_of_select, vars_of_select): Added new symbols &
10451 * select.c (get_local_selection): Split.
10452 * select.c: Removed spurious type checking - selections may now be
10453 of any type, not just strings.
10454 * select.c (own-selection-internal):
10456 * select.h, select.c (convert_selection): New. Created
10457 convert_selection() function based on get_local_selection().
10458 * select.h, select.c (QCF_*): New symbols representing mswindows
10460 * select.h, select.c (Qreplace_all, Qreplace_existing): New
10461 symbols representing `how-to-add' modes.
10463 * select-msw.c (x_sym_p): New.
10464 * select-msw.c (symbol_to_ms_cf): New.
10465 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
10466 symbols & clipboard formats. Can also handle string names.
10467 * select-msw.c (mswindows_own_selection):
10468 * select-msw.c (mswindows_selection_exists_p):
10469 Added `data-type' parameter. Use it.
10470 * select-msw.c (mswindows_available_selection_types): New.
10471 * select-msw.c (mswindows_register_selection_data_type): New.
10472 * select-msw.c (mswindows_selection_data_type_name): New.
10473 * select-msw.c (mswindows_own_selection):
10474 * select-msw.c (mswindows_get_foreign_selection):
10475 * select-msw.c (mswindows_selection_exists_p): Rewrote.
10476 * select-msw.c (console_create_select_mswindows): Added new methods.
10477 * select-msw.c (mswindows_destroy_selection): New.
10478 * select-msw.c (Vhandle_alist): New list.
10479 * select-msw.c (mswindows_own_selection):
10481 * select-x.c (x_own_selection):
10482 * select-x.c (x_selection_exists_p):
10483 * select-x.c: Added some comments about maybe using new
10485 * select-x.c (x_own_selection):
10487 * specifier.c: Remove definition of Qappend (now in general.c)
10488 * specifier.c (syms_of_specifier): Remove Qappend.
10490 2000-07-12 Martin Buchholz <martin@xemacs.org>
10492 * config.h.in: Add socklen_t.
10494 * s/decosf4-0.h: No special compiler flags needed or desired.
10495 In particular, undefine _BSD for DEC OSF 4.0.
10497 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10499 * redisplay-msw.c (msprinter_frame_output_end): Added.
10500 (console_type_create_redisplay_mswindows): Referred the above.
10502 * frame.c (setup_frame_without_minibuffer): Do not create a
10503 default minibuffer frame on a printer device.
10505 * frame-msw.c (apply_dc_geometry): Added.
10506 (msprinter_start_page):
10507 (msprinter_init_frame_3):
10508 (msprinter_eject_page): Use it.
10510 * console-msw.h (struct msprinter_frame): Added pix_left and top,
10511 and removed residual duplex and orientation properties.
10513 2000-07-11 Martin Buchholz <martin@xemacs.org>
10515 * eval.c (function_argcount): Work around a DEC CC compiler bug.
10517 * unexalpha.c: Remove system prototypes from C sources!
10519 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
10521 * eval.c: Remove references to M-x edit-options in DEFUNs for
10522 `defvar' and `defconst'.
10524 2000-07-09 Martin Buchholz <martin@xemacs.org>
10526 * config.h.in: Remove SMART_INCLUDE hackery.
10528 PostgreSQL hacking:
10529 * config.h.in: Don't use SMART_INCLUDE.
10531 * postgresql.h: Include libpq-fe.h here. Fix typo.
10532 * inline.c: Simply #include "postgresql.h"
10534 - Don't use SMART_INCLUDE
10535 - Use simply "const".
10536 - Use standard doc string conventions.
10537 - Use correct type for result of PQstatus.
10539 2000-07-09 Martin Buchholz <martin@xemacs.org>
10541 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
10543 C++ compilation changes.
10544 * config.h.in (EXTERN_C): Define.
10545 * config.h.in (not): This is also a C++ keyword.
10546 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
10547 * cm.c: Use EXTERN_C.
10548 * redisplay-tty.c: Use EXTERN_C.
10549 * sysdep.c: Use EXTERN_C. Remove Gould support.
10551 2000-07-09 Martin Buchholz <martin@xemacs.org>
10553 * general.c: Remove duplicate definition for Qfunction.
10555 2000-07-08 Ben Wing <ben@xemacs.org>
10557 * device-msw.c (msprinter_init_device):
10558 * device-msw.c (sync_printer_with_devmode):
10559 * device-msw.c (handle_devmode_changes):
10560 * device-msw.c (print_dialog_worker):
10561 * device-msw.c (Fmsprinter_apply_settings):
10562 * device-msw.c (hash_devmode):
10563 * device-msw.c (Fmsprinter_settings_despecialize):
10564 use Qmswindows_tstr, not Qctext.
10566 * vm-limit.c (check_memory_limits):
10567 avoid infinite loop printing warning messages.
10569 2000-07-05 Craig Lanning <lanning@scra.org>
10571 * Makefile.in.in: Add support for including the Windows resources
10572 when building with the cygwin and mingw targets.
10574 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
10575 not set or not correct.
10576 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
10577 (init_initial_directory): Don't try to use $PWD on the
10578 WIN32_NATIVE target.
10581 [[Add -mwindows to eliminate console window.]] not required --ben
10582 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10583 (MAIL_USE_POP): removed; now handled by configure.
10585 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
10586 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
10587 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10588 (MAIL_USE_POP): removed; now handled by configure.
10589 (ENCAPSULATE_STAT): from Dan Holmsand, added.
10590 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
10591 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
10593 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
10594 up from <winsock.h> via systime.h.
10595 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
10596 (getpagesize): from Dan Holmsand, added.
10597 Added #endif which was left dangling by Ben's mega patch; added
10598 comment to help prevent this in the future.
10600 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
10602 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10604 * console-msw.h (struct mswindows_device): Removed unnecessary
10605 cached device geometry values.
10606 Added update_tick and an accessor macro.
10607 (Lisp_Devmode): Added lrecord declaration.
10608 (struct msprinter_device): Contain devmode as a Lisp object.
10609 Added mswindows_get_selected_frame_hwnd();
10611 * console.h (struct console_methods): Indentation nitpicking.
10613 * device-msw.c (mswindows_init_device): Do not initialize geometry
10614 cache. Initialize update tick.
10615 (mswindows_device_system_metrics): Ask the device for its geometry.
10616 (global_free_2_maybe):
10617 (devmode_to_hglobal):
10618 (handle_printer_changes):
10619 (ensure_not_printing):
10620 (print_dialog_worker):
10621 (Fmsprinter_print_setup_dialog):
10622 (Fmsprinter_print_dialog):
10623 (plist_get_margin):
10624 (plist_set_margin):
10625 (Fmsprinter_page_setup_dialog): Added functions.
10626 (sync_printer_with_devmode):
10627 (handle_devmode_changes):
10628 (Fmsprinter_get_settings):
10629 (Fmsprinter_select_settings):
10630 (Fmsprinter_apply_settings):
10631 (allocate_devmode):
10632 (Fmsprinter_settings_copy):
10633 (Fmsprinter_settings_despecialize):
10635 (finalize_devmode):
10637 (hash_devmode): Added functions
10638 (syms_of_device_mswindows): Init devmode lrecord class.
10640 * device.h: Added an exfun for find-device.
10642 * event-msw.c (mswindows_wnd_proc): Do not update the cached
10643 geometry; although, recreate the device compatible DC.
10645 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
10646 (msprinter_init_frame_3):
10647 (msprinter_frame_property):
10648 (msprinter_internal_frame_property_p):
10649 (msprinter_frame_properties):
10650 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
10651 print job properties (will move to device settings).
10653 * lisp.h: Added symbols.
10655 * general.c (syms_of_general): Declared them.
10657 * hash.c (string_hash): Added.
10659 * lrecord.h (lrecord_type): Added devmode lrecord type.
10661 2000-07-02 Mike Sperber <mike@xemacs.org>
10663 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
10666 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
10668 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
10671 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
10673 * data.c (Fstring_to_number): Don't recognize floating point if
10676 2000-06-22 Martin Buchholz <martin@xemacs.org>
10678 * glyphs-widget.c (tab_control_query_geometry):
10679 (widget_query_geometry):
10680 (button_query_geometry):
10681 * glyphs.c (text_query_geometry):
10682 Enforce type correctness.
10684 2000-06-18 Martin Buchholz <martin@xemacs.org>
10686 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
10687 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
10689 2000-06-17 Martin Buchholz <martin@xemacs.org>
10691 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
10692 conflicts with gcc's fixincluded version of FOO.h.
10694 * glyphs.h (image_instance_geometry): Remove trailing `,'
10696 2000-06-08 Mike Alexander <mta@arbortext.com>
10698 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
10699 (shove_thread): Don't write the same output twice
10700 (make_ntpipe_output_stream): Increase priority of shove thread
10701 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
10703 (ntpipe_shove_closer): Don't delete the pipe until we're done with
10706 2000-06-12 Ben Wing <ben@xemacs.org>
10708 * s\mingw32.h (sigset):
10709 * s\windowsnt.h (sigset):
10710 rename msw_ to mswindows_ for consistency with general convention.
10712 2000-06-12 Ben Wing <ben@xemacs.org>
10715 * console-msw.c (mswindows_get_console_hwnd):
10716 * console-msw.c (mswindows_ensure_console_allocated):
10717 * console-msw.c (mswindows_hide_console):
10718 * console-msw.c (mswindows_show_console):
10719 * console-msw.c (mswindows_ensure_console_buffered):
10720 * console-msw.c (mswindows_output_console_string):
10721 * console-msw.c (mswindows_windows9x_p):
10723 * device-msw.c (mswindows_get_workspace_coords):
10724 * device-msw.c (mswindows_device_system_metrics):
10725 * dialog-msw.c (mswindows_popup_dialog_box):
10726 * event-msw.c (mswindows_wnd_proc):
10727 * frame-msw.c (mswindows_size_frame_internal):
10728 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10729 * menubar-msw.c (displayable_menu_item):
10730 * menubar-msw.c (mswindows_char_is_accelerator):
10732 * nt.c (mswindows_sigset):
10733 * nt.c (mswindows_sigrelse):
10734 * nt.c (mswindows_sigpause):
10735 * nt.c (mswindows_raise):
10736 * nt.c (timer_proc):
10738 * ntproc.c (find_child_console):
10739 * ntproc.c (sys_kill):
10741 * print.c (std_handle_out_external):
10742 * process-nt.c (find_child_console):
10743 * process-nt.c (send_signal_the_95_way):
10744 * process-nt.c (ensure_console_window_exists):
10745 * process-nt.c (nt_create_process):
10747 rename msw_ to mswindows_ for consistency with general convention.
10751 include nt.h, not syswindows.h.
10753 * nt.c (mswindows_fstat):
10754 * nt.c (mswindows_stat):
10755 prefix mswindows_ instead of attempting to directly override the
10756 library functions. fix declarations.
10759 include syswindows.h. move some sysdep.h stuff here.
10762 include syswindows.h, not <windows.h>.
10770 * sysdep.c (sys_fstat):
10771 * sysdep.c (sys_stat):
10772 call mswindows versions when appropriate.
10775 move mswin decls to nt.h.
10778 add long comment describing appropriate use of the various windows
10781 2000-06-11 Ben Wing <ben@xemacs.org>
10783 * device-x.c: Correct doc string for sixth arg of x-get-resource.
10785 2000-06-10 Ben Wing <ben@xemacs.org>
10787 * Makefile.in.in (release):
10788 Correction to make sure xemacs.exe always dumped when correct.
10792 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
10794 * buffer.c (set_buffer_internal):
10795 [[[[2]]]]: Remove HAVE_FEP code.
10797 * buffer.c (init_initial_directory):
10801 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
10805 * callproc.c (call_process_cleanup):
10806 * callproc.c (Fold_call_process_internal):
10807 * callproc.c (child_setup):
10808 * callproc.c (getenv_internal):
10809 * callproc.c (init_callproc):
10810 * callproc.c (vars_of_callproc):
10811 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
10812 __CYGWIN32__ -> CYGWIN.
10813 DOS_NT -> WIN32_NATIVE.
10814 Remove MSDOS support/references, converting to WIN32_NATIVE
10816 __MINGW32__ -> MINGW.
10817 Fix windows.h includes.
10818 Remove bogus HAVE_NTGUI.
10824 mswindows_message_outputted added for use in allowing startup
10825 errors on the console to be seen.
10827 * console-msw.c (msw_ensure_console_allocated):
10828 * console-msw.c (msw_output_console_string):
10829 * console-msw.c (DHEADER):
10830 * console-msw.c (DOPAQUE_DATA):
10831 * console-msw.c (DEVENT):
10832 * console-msw.c (DCONS):
10833 * console-msw.c (DCONSCDR):
10834 * console-msw.c (DSTRING):
10835 * console-msw.c (DVECTOR):
10836 * console-msw.c (DSYMBOL):
10837 * console-msw.c (DSYMNAME):
10840 * console-stream.c (stream_init_console):
10841 Fix text/binary problems.
10844 * device-msw.c (mswindows_finish_init_device):
10845 * device-msw.c (mswindows_delete_device):
10848 * device.c (handle_asynch_device_change):
10852 * dgif_lib.c (DGifOpenFileName):
10853 * dgif_lib.c (DGifOpenFileHandle):
10854 * dgif_lib.c (DGifGetLine):
10855 * dgif_lib.c (DGifGetPixel):
10856 Added config.h/lisp.h, fix up includes.
10863 * dired.c (file_name_completion):
10864 * dired.c (Ffile_attributes):
10865 * dired.c (syms_of_dired):
10869 * dumper.c (pdump_file_unmap):
10870 * dumper.c (pdump_load):
10874 * editfns.c (Ftemp_directory):
10875 * editfns.c (user_login_name):
10876 * editfns.c (Fuser_real_login_name):
10877 * editfns.c (get_home_directory):
10880 * elhash.c (finish_marking_weak_hash_tables):
10881 [[[[5]]]]: Fix GCC warnings.
10884 * emacs.c (mswindows_handle_hardware_exceptions):
10885 * emacs.c (make_arg_list_1):
10886 * emacs.c (main_1):
10887 * emacs.c (Fkill_emacs):
10888 * emacs.c (Fdump_emacs):
10890 Fix problems with nested crashes, add long comment.
10892 * event-Xt.c (init_event_Xt_late):
10896 * event-msw.c (mswindows_dde_callback):
10897 * event-msw.c (mswindows_handle_sticky_modifiers):
10898 * event-msw.c (mswindows_wnd_proc):
10902 * events.c (character_to_event):
10906 * fileio.c (Ffile_name_directory):
10907 * fileio.c (Ffile_name_nondirectory):
10908 * fileio.c (directory_file_name):
10909 * fileio.c (Fexpand_file_name):
10910 * fileio.c (Fsubstitute_in_file_name):
10911 * fileio.c (Ffile_name_absolute_p):
10912 * fileio.c (check_executable):
10913 * fileio.c (Ffile_readable_p):
10914 * fileio.c (Ffile_accessible_directory_p):
10915 * fileio.c (Ffile_modes):
10916 * fileio.c (Funix_sync):
10917 * fileio.c (vars_of_fileio):
10920 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
10922 Expand getdefdir defn.
10923 Fix bogus rename() comment.
10925 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
10926 to use standard XEmacs include files, e.g. sysfile.h, rather
10927 than system-specific includes.
10933 * frame.c (vars_of_frame):
10937 * getloadavg.c (getloadavg):
10939 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
10940 (We don't use it elsewhere in the code; just add a comment.)
10947 * glyphs-msw.c (mswindows_resource_instantiate):
10950 * glyphs-x.c (x_native_layout_instantiate):
10953 * gui-msw.c (Fmswindows_shell_execute):
10962 * lread.c (locate_file_in_directory_mapper):
10969 * mem-limits.h (get_lim_data):
10981 * nt.c (rva_to_section):
10982 * nt.c (mswindows_executable_type):
10984 Fix closedir() defn.
10987 [[[[8]]]]: *_OK defs moved to sysfile.h.
10996 * print.c (std_handle_out_external):
11000 * process-nt.c (nt_create_process):
11002 try to fix process quoting somewhat.
11004 * process-unix.c (unix_create_process):
11008 * process.c (vars_of_process):
11015 * realpath.c (xrealpath):
11018 * redisplay-tty.c (init_tty_for_redisplay):
11028 * sheap.c (more_static_core):
11029 * sheap.c (report_sheap_usage):
11033 * signal.c (alarm_signal):
11040 * strftime.c (zone_name):
11043 * symsinit.h (init_sunpro):
11047 commctrl.h not in Cygwin b20.1.
11050 * sysdep.c (endif):
11051 * sysdep.c (sys_subshell):
11052 * sysdep.c (init_baud_rate):
11053 * sysdep.c (emacs_get_tty):
11054 * sysdep.c (emacs_set_tty):
11055 * sysdep.c (tty_init_sys_modes_on_device):
11056 * sysdep.c (init_system_name):
11057 * sysdep.c (sys_open):
11058 * sysdep.c (interruptible_open):
11059 * sysdep.c (sys_fopen):
11060 * sysdep.c (sys_mkdir):
11061 * sysdep.c (sys_rename):
11062 * sysdep.c (get_process_times_1):
11069 * sysdir.h (DIRENTRY_NONEMPTY):
11072 * sysdll.c (dll_init):
11078 added text/binary defs.
11084 * sysproc.h (EDESTADDRREQ):
11085 * sysproc.h (poll_fds_for_input):
11102 Always define WIN32_LEAN_AND_MEAN.
11104 * unexcw.c (unexec):
11108 * unexec.c (copy_text_and_data):
11109 * unexec.c (adjust_lnnoptrs):
11113 * unexnt.c (_start):
11116 2000-06-07 Ben Wing <ben@xemacs.org>
11118 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
11119 was used only as a model. We've long since extracted any useful
11120 logic or code out of this. (I just did an exhaustive search.)
11122 * s\msdos.h: Removed.
11124 * s\windows95.h: Removed.
11126 2000-06-10 Ben Wing <ben@xemacs.org>
11130 Don't use extern with fun defs.
11134 Remove nt\inc include.
11135 Remove getdisk, getdefdir. (The former is unused, the latter
11136 expanded in fileio.h.)
11139 * s\windowsnt.h (WIN32_NATIVE):
11140 * s\windowsnt.h (HAVE_STRCASECMP):
11142 Add long comment about preprocessor changes.
11143 Remove getdisk, getdefdir. (The former is unused, the latter
11144 expanded in fileio.h.)
11146 2000-06-10 Ben Wing <ben@xemacs.org>
11155 Remove bogus/unused NO_SOCK_SIGIO.
11157 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
11159 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
11162 2000-06-04 Mike Sperber <mike@xemacs.org>
11164 * casetab.c (set_case_table): For `set-standard-case-table',
11165 actually deposit the new case tables where the rest of XEmacs can
11168 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
11170 * data.c (Faset): Don't cast XCHAR() to unsigned char.
11172 2000-06-05 Ben Wing <ben@xemacs.org>
11174 * callproc.c (child_setup): Don't do close_load_descs() under
11175 MS Windows. Put in a comment explaining why.
11177 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
11179 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
11180 Toolkit shell" which breaks `kill-compilation' on Windows NT
11181 native, retaining STDERR handling improvements.
11183 2000-06-01 Andreas Jaeger <aj@suse.de>
11185 * s/s390.h: Support for S390, based on a patch by Martin
11186 Schwidefsky <schwidefsky@de.ibm.com>.
11188 2000-05-30 Andy Piper <andy@xemacs.org>
11190 * window.c (allocate_window):
11191 (make_dummy_parent):
11192 (Fset_window_configuration): use new hashtable type.
11194 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
11195 (struct image_instantiator_methods):
11196 (struct Lisp_Image_Instance): make instance geometry signed.
11198 * glyphs.c (instantiate_image_instantiator):
11199 (image_instance_query_geometry):
11200 (image_instance_layout):
11201 (image_instance_layout):
11202 (query_string_geometry):
11203 (text_query_geometry):
11204 (image_instantiate):
11205 (image_instantiate):
11206 (cache_subwindow_instance_in_frame_maybe):
11207 (subwindow_query_geometry): make instance geometry signed.
11209 * glyphs-widget.c (widget_query_geometry):
11211 (button_query_geometry):
11212 (tree_view_query_geometry):
11213 (tab_control_query_geometry):
11214 (layout_query_geometry):
11216 (native_layout_layout): make instance geometry signed.
11218 2000-05-29 Olivier Galibert <galibert@pobox.com>
11220 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
11223 * general.c (syms_of_general): Add Qfull_assoc symbol.
11225 * data.c (finish_marking_weak_lists): Mark full-assoc lists
11227 (decode_weak_list_type): Decode full-assoc type.
11228 (encode_weak_list_type): Encode full-assoc type.
11229 (Fmake_weak_list): Update doc string.
11231 2000-05-30 Andy Piper <andy@xemacs.org>
11233 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
11235 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
11236 (decode_hash_table_weakness): ditto.
11237 (Fhash_table_weakness): ditto.
11238 (Fhash_table_type): ditto.
11239 (finish_marking_weak_hash_tables): ditto.
11240 (hash_table_weakness_validate): ditto.
11241 (syms_of_elhash): ditto.
11243 2000-05-28 Martin Buchholz <martin@xemacs.org>
11245 * XEmacs 21.2.34 is released.
11247 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11249 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
11251 (updating_line_start_cache): Gone.
11252 (regenerate_window): Replace resetting of VERTICAL_CLIP by
11253 generic code to force a minimum of 1 line laid out in the
11256 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11258 * glyphs.c (instantiate_image_instantiator): Check for initialized
11259 height & width no longer special cases IMAGE_NOTHING.
11260 (nothing_instantiate): Set height and width of instance.
11262 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
11264 * unexelf.c (unexec): Search for ".data" section.
11265 Initialize new_data2_offset from old_data_index.
11266 Remove redundant check for ElfW.
11268 2000-05-23 Andy Piper <andy@xemacs.org>
11270 * glyphs.c (get_image_instantiator_governing_domain): allow more
11271 specific domains as the governing domain rather than expecting an
11272 exact match. This fixes problems with layouts.
11274 2000-05-22 Andy Piper <andy@xemacs.org>
11276 * redisplay-output.c (compare_runes): check for non-images
11278 * glyphs.c (set_glyph_dirty_p): ditto.
11279 (update_glyph_cachel_data): ditto.
11281 * glyphs-widget.c (layout_post_instantiate): ditto.
11282 (layout_post_instantiate): ditto.
11284 * event-msw.c (mswindows_wnd_proc): warning removal.
11286 2000-05-12 Craig Lanning <CraigL@DyCon.com>
11288 * s\mingw32.h: Added #undef for CLASH_DETECTION.
11290 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
11292 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
11294 * nt.c (rva_to_section): mingw32 needs rva_to_section.
11295 (mswindows_executable_type): mingw32 now has enough headers for
11298 2000-05-20 Andy Piper <andy@xemacs.org>
11300 * console-msw.c (mswindows_output_last_error): ; -> ,
11302 2000-05-12 Andy Piper <andy@xemacs.org>
11304 * console-msw.c (FROB): compare ints with ints.
11306 2000-05-11 Andy Piper <andy@xemacs.org>
11308 * glyphs-x.c (x_finalize_image_instance): make minimal build
11311 2000-05-20 Ben Wing <ben@xemacs.org>
11314 * event-Xt.c (vars_of_event_Xt):
11315 move modifier-keys-are-sticky to event-stream.c.
11318 * event-msw.c (mswindows_enqueue_mouse_button_event):
11319 * event-msw.c (key_needs_default_processing_p):
11320 * event-msw.c (XEMSW_LCONTROL):
11321 * event-msw.c (mswindows_handle_sticky_modifiers):
11322 * event-msw.c (FROB):
11323 * event-msw.c (clear_sticky_modifiers):
11324 * event-msw.c (output_modifier_keyboard_state):
11325 * event-msw.c (output_alt_keyboard_state):
11326 * event-msw.c (mswindows_wnd_proc):
11327 * event-msw.c (mswindows_modifier_state):
11328 * event-msw.c (emacs_mswindows_handle_magic_event):
11329 implement sticky modifiers.
11332 * event-stream.c (vars_of_event_stream):
11333 move modifier-keys-are-sticky here.
11336 add CHECK_FUNCTION.
11339 implement map-range-table.
11342 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
11344 * redisplay-tty.c (reset_tty_modes):
11345 (tty_redisplay_shutdown): Adjust argument type to
11346 tty_frame_output_end.
11348 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11350 * eval.c (Fbacktrace): Don't output a line with only right
11353 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
11355 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
11356 (Fpq_reset_poll): Ditto.
11358 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
11360 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
11362 2000-05-16 Ben Wing <ben@xemacs.org>
11365 * buffer.c (dfc_convert_to/from_internal_format):
11366 * buffer.c (reinit_vars_of_buffer):
11367 Fix conversion functions to allow reentrancy.
11370 * console-msw.c (mswindows_output_last_error):
11371 New fun, generally useful -- output a human-readable
11372 version of GetLastError() on the console.
11375 * console-msw.h (struct mswindows_frame):
11376 Changes for DeferWindowPos. Declare mswindows_output_last_error().
11378 * console-stream.c (stream_output_begin):
11379 * console-stream.c (stream_output_end):
11380 * console-stream.c (stream_output_vertical_divider):
11381 * console-stream.c (stream_clear_region):
11382 * console-stream.c (stream_flash):
11383 * console-stream.c (console_type_create_stream):
11384 Delete blank stream methods, not needed.
11386 * console.h (struct console_methods):
11387 Split begin/end methods into window and frame.
11390 * event-msw.c (mswindows_handle_paint):
11391 * event-msw.c (output_alt_keyboard_state):
11392 * event-msw.c (mswindows_wnd_proc):
11393 * event-msw.c (vars_of_event_mswindows):
11394 Comment about problems with ignored-expose.
11395 Define mswindows-debug-events; not really implemented.
11397 * frame-msw.c (mswindows_init_frame_1):
11401 * glyphs-msw.c (begin_defer_window_pos):
11402 * glyphs-msw.c (mswindows_unmap_subwindow):
11403 * glyphs-msw.c (mswindows_map_subwindow):
11404 * glyphs-msw.c (mswindows_resize_subwindow):
11405 Use DeferWindowPos to reduce flashing when mapping/unmapping.
11407 * glyphs.c (make_image_instance_1):
11410 * gutter.c (Fredisplay_gutter_area):
11411 Use new begin/end methods.
11413 * lisp.h (Dynarr_new2):
11417 * redisplay-msw.c (mswindows_frame_output_begin):
11418 * redisplay-msw.c (mswindows_frame_output_end):
11419 * redisplay-msw.c (console_type_create_redisplay_mswindows):
11420 New begin/end methods -- handle DeferWindowPos.
11422 * redisplay-output.c (redisplay_move_cursor):
11423 * redisplay-output.c (redraw_cursor_in_window):
11424 * redisplay-output.c (redisplay_update_line):
11425 * redisplay-output.c (redisplay_output_window):
11426 New begin/end methods.
11429 * redisplay-tty.c (tty_frame_output_begin):
11430 * redisplay-tty.c (tty_frame_output_end):
11431 * redisplay-tty.c (console_type_create_redisplay_tty):
11432 New begin/end methods.
11435 * redisplay-x.c (x_window_output_begin):
11436 * redisplay-x.c (x_window_output_end):
11437 * redisplay-x.c (console_type_create_redisplay_x):
11438 New begin/end methods.
11440 * redisplay.c (redisplay_frame):
11441 * redisplay.c (Fredisplay_echo_area):
11442 New begin/end methods.
11443 use MAYBE_DEVMETH for clear_frame; it may not exist.
11445 * window.h (WINDOW_XFRAME):
11446 WINDOW_XFOO macros -- get locale and decode struct pointer.
11449 2000-05-12 Ben Wing <ben@xemacs.org>
11452 * emacs.c (ensure_no_quitting_from_now_on):
11453 * emacs.c (fatal_error_signal):
11454 * emacs.c (mswindows_handle_hardware_exceptions):
11456 * emacs.c (Fkill_emacs):
11457 * emacs.c (shut_down_emacs):
11458 * emacs.c (assert_failed):
11459 various improvements in fatal error handling.
11462 move preparing_for_armageddon to emacs.c.
11465 declare fatal_error_in_progress.
11468 * print.c (std_handle_out_external):
11469 * print.c (std_handle_out_va):
11470 * print.c (stderr_out):
11471 * print.c (stdout_out):
11472 use console under mswin when no standard output.
11473 don't do code conversion during fatal error.
11475 * scrollbar.c (Fscrollbar_page_up):
11476 * scrollbar.c (Fscrollbar_page_down):
11477 fix missing else. reindent.
11479 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
11483 * glyphs.h (GLYPH_CACHEL_DESCENT):
11484 (GLYPH_CACHEL_DESCENT):
11485 (GLYPH_CACHEL_DESCENT):
11486 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
11487 used in case these are inline functions.
11488 Use more absurd values to error check.
11490 include window.h for error check functions.
11492 2000-05-11 Ben Wing <ben@xemacs.org>
11494 * cmdloop.c (Freally_early_error_handler):
11495 Display message box under windows; otherwise, message will disappear
11496 before it can be viewed.
11499 * console-msw.c (Fmswindows_message_box):
11500 * console-msw.c (FROB):
11501 * console-msw.c (syms_of_console_mswindows):
11502 Define new fun `mswindows-message-box'.
11503 #### I will merge this into `popup-dialog-box'; just give me
11507 * general.c (syms_of_general):
11508 Some new symbols used in `mswindows-message-box'.
11511 * glyphs.c (Fset_image_instance_property):
11512 put warning in this fun.
11515 * glyphs.h (GLYPH_CACHEL_WIDTH):
11516 * glyphs.h (GLYPH_CACHEL_ASCENT):
11517 * glyphs.h (GLYPH_CACHEL):
11518 * glyphs.h (GLYPH_CACHEL_GLYPH):
11519 define error-checking versions to try to catch a bug i've seen --
11520 redisplay gets in an infinite loop because the glyph width of the
11521 continuation glyph is 65535.
11524 Extern message-box stuff.
11526 * window.c (allocate_window):
11527 * window.c (make_dummy_parent):
11528 * window.c (Fset_window_configuration):
11529 Use EQUAL not EQ for subwindow caches to make them work a bit
11530 better. (Something is still very broken.)
11533 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11535 * glyphs.c (image_instantiate): Suppress gcc warnings.
11536 (Fmake_image_instance): Fix doc string.
11537 * specifier.c (Fmake_specifier): Ditto.
11539 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
11541 * paths.h.in (PATH_LOCK): Removed.
11542 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
11543 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
11545 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
11547 * fns.c (Ffeaturep): Update e-mail address in doc-string.
11548 Document (featurep '(and xemacs 21.02)).
11550 2000-05-09 Ben Wing <ben@xemacs.org>
11552 * buffer.c (complex_vars_of_buffer):
11553 update modeline-format doc.
11556 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
11559 timeline of all released versions of Emacs, for use in creating
11560 authorship comments and in synching up.
11562 * glyphs-widget.c (image_instantiator_buttons):
11563 * glyphs-widget.c (image_instantiator_edit_fields):
11564 * glyphs-widget.c (image_instantiator_combo_box):
11565 * glyphs-widget.c (image_instantiator_scrollbar):
11566 * glyphs-widget.c (image_instantiator_progress_guage):
11567 * glyphs-widget.c (image_instantiator_tree_view):
11568 * glyphs-widget.c (image_instantiator_tab_control):
11569 * glyphs-widget.c (image_instantiator_labels):
11570 * glyphs-widget.c (image_instantiator_layout):
11571 * glyphs-widget.c (image_instantiator_native_layout):
11572 rename decode_domain method to governing_domain.
11575 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
11576 * glyphs.c (add_entry_to_device_ii_format_list):
11577 make sure we don't put an entry more than once into the list.
11578 * glyphs.c (check_instance_cache_mapper):
11579 *************************************************************
11580 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
11582 *************************************************************
11583 * glyphs.c (get_image_instantiator_governing_domain):
11584 clean up, expand on new concept of governing domain.
11585 * glyphs.c (instantiate_image_instantiator):
11586 * glyphs.c (allocate_image_instance):
11587 use governing_domain instead of cache_domain in naming.
11588 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
11589 * glyphs.c (make_image_instance_1):
11590 * glyphs.c (Fmake_image_instance):
11591 allow for any domain (not just device), and process the
11592 governing domain correctly. very big doc fix.
11593 * glyphs.c (Fimage_instance_domain):
11594 new primitive, to retrieve the governing domain of an image instance.
11595 * glyphs.c (image_instantiate):
11596 use new governing_domain stuff. this fixes a crash you could get
11597 by instantiating certain widget glyphs in frame locales. (should
11598 signal an error instead of crashing.)
11599 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
11600 * glyphs.c (Fglyphp): clean up doc.
11601 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
11602 * glyphs.c (syms_of_glyphs):
11603 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
11604 * glyphs.c (image_instantiator_format_create): add some comments about
11606 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
11607 for current-display-table. (Apparently Hrjove implemented in 1998 a
11608 design I wrote up in 1996, but didn't update the doc string.)
11610 * glyphs.h: clean up a doc string.
11611 * glyphs.h (governing_domain):
11612 * glyphs.h (struct image_instantiator_methods):
11613 changes for governing_domain stuff.
11616 * gutter.c (Fgutter_specifier_p):
11617 * gutter.c (Fgutter_size_specifier_p):
11618 * gutter.c (Fgutter_visible_specifier_p):
11620 * objects.c (Fcolor_specifier_p):
11621 * objects.c (Ffont_specifier_p):
11622 * objects.c (Fface_boolean_specifier_p):
11623 doc strings moved to make-*-specifier.
11625 * redisplay.c (add_disp_table_entry_runes_1):
11626 * redisplay.c (generate_fstring_runes):
11627 * redisplay.c (screen):
11628 add random comments and doc strings.
11631 * specifier.c (Fmake_specifier):
11632 major overhaul of this doc string.
11634 * specifier.c (Fvalid_specifier_domain_p):
11635 comment about the bogosity of image instances being domains.
11636 * specifier.c (decode_domain):
11637 now non-static, used in glyphs.c.
11638 * specifier.c (specifier_instance):
11639 comment about the bogosity of image instances being domains.
11640 * specifier.c (Fgeneric_specifier_p):
11641 move doc string to make-generic-specifier.
11642 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
11646 * specifier.h (DOMAIN_FRAME):
11647 * specifier.h (DOMAIN_LIVE_P):
11648 * specifier.h (DOMAIN_XDEVICE):
11650 add comments about problems with these macros.
11651 prototype for decode_domain.
11654 * toolbar.c (Ftoolbar_specifier_p):
11655 move doc string to `make-toolbar-specifier'.
11657 * window.c (window_unmap_subwindows_cache_mapper):
11658 *************************************************************
11659 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
11661 *************************************************************
11663 2000-05-09 Andy Piper <andy@xemacs.org>
11665 * glyphs.h: declare reset_frame_subwindow_instance_cache.
11667 * window.c (Fset_window_configuration): reset the frame subwindow
11668 cache and re-initialize the window subwindow caches.
11670 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
11672 2000-05-09 Ben Wing <ben@xemacs.org>
11674 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
11677 2000-04-26 Mike Woolley <mike@bulsara.com>
11679 * ntheap.c: Changed recreate_heap to limit the amount reserved
11680 for the heap to that which is actually available. Also now
11681 displays a message box (with some dignostics) in the event that
11682 it still can't start.
11684 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11686 * callproc.c (Fold_call_process_internal): GCPRO path
11688 2000-05-08 Jan Vroonhof <jan@xemacs.org>
11690 Patch by Bill Perry.
11692 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
11693 back data instead of #ifdef.
11694 (Fscrollbar_page_down): ditto.
11696 2000-05-07 Ben Wing <ben@xemacs.org>
11699 Kludge for defining Qmswindows_tstr.
11702 * nt.c (open_input_file):
11703 * nt.c (open_output_file):
11704 * nt.c (rva_to_section):
11705 * nt.c (mswindows_executable_type):
11706 Move all memory-mapped-file routines here (some were in unexnt.c,
11707 which is bad because they are used by process-nt.c, and unexnt
11708 won't be around when portable dumping). Synched the above routines
11712 Removed ifdef'd out bogus code.
11713 Fixed some prototypes.
11715 * nt.h (file_data):
11716 * nt.h (OFFSET_TO_RVA):
11717 * nt.h (RVA_TO_OFFSET):
11718 * nt.h (RVA_TO_PTR):
11719 Moved the memory-mapped-file structures, macros and prototypes
11720 here, to parallel nt.c. ntheap.h should really be removed
11721 entirely, and it's a non-portable-dumper specific file.
11723 * ntheap.h (round_to_next):
11724 Moved the memory-mapped-file structures, macros and prototypes
11727 * ntproc.c (compare_env):
11728 Moved rva_to_section and mswindows_executable_type to nt.c.
11729 Moved compare_env to process-nt.c.
11730 ntproc.c will die, one day.
11732 * ntproc.c (sys_spawnve):
11733 Account for win32_ -> mswindows_.
11736 * process-nt.c (struct nt_process_data):
11737 * process-nt.c (ensure_console_window_exists):
11738 * process-nt.c (compare_env):
11739 * process-nt.c (nt_create_process):
11740 * process-nt.c (nt_kill_process_by_pid):
11741 * process-nt.c (syms_of_process_nt):
11742 * process-nt.c (vars_of_process_nt):
11743 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
11744 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
11745 changes). Eliminate our old `nt-quote-process-args' mechanism.
11746 Synch up nt_create_process with FSF 20.6 sys_spawnve.
11747 Move compare_env here from ntproc.c.
11749 * process.c (Fprocess_send_region):
11750 Takes an optional fourth argument, BUFFER, which should fix some
11751 problems with call-process.
11754 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
11757 Move ICC_BAR_CLASSES to syscommctrl.h.
11758 Add preliminary macros for MSWindows/Mule. More to come.
11761 * unexnt.c (unexec):
11762 open_output_file moved to nt.c.
11765 2000-05-05 Andy Piper <andy@xemacs.org>
11767 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
11768 instance from the frame cache also since GC may catch up too late
11769 to make frame deletion sane.
11771 2000-05-04 Andy Piper <andy@xemacs.org>
11773 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
11774 (x_finalize_image_instance): ungcpro on deletion.
11776 * glyphs.c (image_instantiator_format_create): give pointers a
11777 query geometry method so that the geometry is at least set.
11779 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
11780 initialize layouts if using widgets.
11782 2000-05-03 Andy Piper <andy@xemacs.org>
11784 * nt.c: remove bogus reference to sysmmsystem.h
11786 * gui-x.c (popup_selection_callback): fix no selection abort.
11788 2000-05-02 Andy Piper <andy@xemacs.org>
11790 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
11791 (mswindows_widget_instantiate): ditto.
11793 * glyphs-widget.c (initialize_widget_image_instance): initialize
11794 children correctly.
11795 (widget_instantiate): cope with children and items in the same
11798 * glyphs.c (mark_image_instance): cope with children as a first
11800 (image_instance_equal): ditto.
11801 (image_instance_hash): ditto.
11802 (image_instance_changed): ditto.
11804 2000-04-30 Andy Piper <andy@xemacs.org>
11806 * glyphs.c (subwindow_query_geometry): new function. Return some
11808 (subwindow_instantiate): don't assign dimensions if none have been
11810 (image_instantiator_format_create): add subwindow_query_geometry.
11811 (print_image_instance): cope with layouts as widgets.
11813 2000-04-29 Andy Piper <andy@xemacs.org>
11815 * frame.c (delete_frame_internal): call
11816 free_frame_subwindow_instance_cache so that all subwindows are
11817 finalized before their parent.
11818 (mark_frame): remove subwindow_cachels.
11819 (Fmake_frame): remove subwindow_cachel manipulation.
11820 (allocate_frame_core): subwindow_instance_cache is a weak list.
11821 (delete_frame_internal): set subwindow_instance_cache to nil.
11823 * glyphs-msw.c (mswindows_finalize_image_instance): make double
11825 (mswindows_finalize_image_instance): use the device
11826 not the domain as the domain may have died already.
11828 * glyphs-x.c (x_finalize_image_instance): ditto.
11829 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
11832 * redisplay-output.c (redisplay_unmap_subwindows): update for
11833 subwindow instance cache as a weak list.
11834 (redisplay_unmap_subwindows_maybe): ditto.
11835 (redisplay_unmap_subwindows_except_us): ditto.
11837 * glyphs.c (unmap_subwindow): error checking will check the domain
11838 so don't deal with it here. Don't use cachels anymore.
11839 (map_subwindow): ditto.
11840 (update_subwindow_cachel_data): remove old accessor names.
11841 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
11842 (Fresize_subwindow): don't update cachel.
11843 (mark_subwindow_cachels):
11844 (update_subwindow_cachel_data):
11845 (add_subwindow_cachel):
11846 (get_subwindow_cachel_index):
11847 (update_subwindow_cachel):
11848 (reset_subwindow_cachels):
11849 (mark_subwindow_cachels_as_not_updated): deleted.
11850 (cache_subwindow_instance_in_frame_maybe): new function. Add a
11851 subwindow instance to the frame cache.
11852 (find_matching_subwindow): update for subwindow instance cache as
11854 (update_widget_instances): ditto.
11855 (image_instance_type_to_mask):inlined.
11856 (free_frame_subwindow_instance_cache): new function. finalize all
11857 subwindows that are instantiated.
11859 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
11860 of cachel information.
11861 (IMAGE_INSTANCE_DISPLAY_X):
11862 (IMAGE_INSTANCE_DISPLAY_Y):
11863 (IMAGE_INSTANCE_DISPLAY_WIDTH):
11864 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
11865 (XIMAGE_INSTANCE_DISPLAY_X):
11866 (XIMAGE_INSTANCE_DISPLAY_Y):
11867 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
11868 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
11869 remove subwindow_cachel structure and function references.
11870 (image_instance_type_to_mask): inline from glyphs.c
11872 * redisplay.c (redisplay_frame): remove subwindow_cachel
11875 * frame.h (struct frame): remove subwindow_cachels.
11876 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
11878 * frameslots.h: add subwindow_instance_cache.
11880 * window.c (replace_window): check subwindow cache of replacement.
11881 (window_unmap_subwindows_cache_mapper):
11882 (window_unmap_subwindows): new functions. Unmap all subwindows
11883 cached on this window.
11884 (mark_window_as_deleted): unmap all subwindows.
11886 2000-04-27 Andy Piper <andy@xemacs.org>
11888 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
11890 * glyphs-widget.c (widget_layout): return something.
11891 (layout_layout): return something. Fail if not initialized.
11892 (layout_query_geometry): ditto.
11893 (image_instantiator_native_layout): new function. Initialized the
11894 native layout type.
11895 (widget_instantiate): don't do layout stuff here.
11897 * glyphs.c (instantiate_image_instantiator): reorded calling or
11898 instantiate and post_instantiate with layout in between.
11899 (image_instance_layout): be more selective about deciding whether
11900 the layout has been done or not.
11902 * glyphs.h (struct image_instantiator_methods): return a value
11903 from layout_method.
11905 2000-04-26 Andy Piper <andy@xemacs.org>
11907 * glyphs.c (allocate_image_instance): make initial width and
11908 height unspecified. Set initialized to 0.
11910 * syscommctrl.h new file. Encapsulates commctrl.h.
11912 * syswindows.h new file. Encapsulates windows.h.
11914 * ntplay.c: use new syswindows.h and syscommctrl.h header.
11916 * console-msw.h: ditto.
11918 * redisplay-tty.c (tty_output_display_block): remove layout references.
11920 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
11921 window handle rather than just the frame.
11923 * glyphs.c (mark_image_instance): remove layout references.
11924 (print_image_instance): ditto.
11925 (image_instance_equal): ditto.
11926 (image_instance_hash): ditto.
11927 (decode_image_instance_type): ditto.
11928 (encode_image_instance_type): ditto.
11929 (image_instantiate): ditto.
11930 (allocate_glyph): ditto.
11931 (Fimage_instance_height): ditto.
11932 (Fimage_instance_width): ditto.
11933 (update_subwindow): ditto.
11935 * redisplay-x.c (x_output_display_block): recode for layouts as
11938 * redisplay-output.c (redisplay_output_layout): recode for layouts
11940 (compare_runes): remove layout references.
11942 * redisplay-msw.c (mswindows_output_display_block): recode for
11943 layouts as widgets.
11945 * glyphs-widget.c (image_instantiator_layout): remove
11946 layout_possible_dest_types.
11947 (layout_possible_dest_types): deleted.
11949 * glyphs.h (image_instance_type): remove layout references.
11950 (struct Lisp_Image_Instance): ditto. Add initialized flag.
11951 (IMAGE_INSTANCE_INITIALIZED): new accessor.
11952 (XIMAGE_INSTANCE_INITIALIZED): ditto.
11954 2000-04-25 Andy Piper <andy@xemacs.org>
11956 * glyphs-widget.c (image_instantiator_buttons):
11957 (image_instantiator_edit_fields):
11958 (image_instantiator_combo_box):
11959 (image_instantiator_scrollbar):
11960 (image_instantiator_progress_guage):
11961 (image_instantiator_tree_view):
11962 (image_instantiator_tab_control):
11963 (image_instantiator_labels):
11964 (image_instantiator_layout): call default post_instantiate method.
11965 (widget_post_instantiate): new function. Simply lays out the
11968 * glyphs.h (struct image_instantiator_methods): add
11969 post_instantiate method.
11971 * glyphs.c (instantiate_image_instantiator): add post_instantiate
11974 2000-04-23 Andy Piper <andy@xemacs.org>
11976 * glyphs.h (struct image_instantiator_methods): add
11977 decode_domain_method.
11978 (struct Lisp_Image_Instance): remove subwindow frame - it can be
11979 derived from the domain.
11980 (IMAGE_INSTANCE_FRAME): new accessor.
11981 (XIMAGE_INSTANCE_FRAME): ditto.
11983 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
11984 instead of _SUBWINDOW_FRAME.
11985 (finalize_image_instance): ditto.
11986 (Fimage_instance_foreground): ditto.
11987 (Fimage_instance_background): ditto.
11988 (image_instantiate): ditto.
11989 (update_subwindow_cachel): ditto.
11990 (update_subwindow): ditto.
11991 (unmap_subwindow): ditto.
11992 (map_subwindow): ditto
11993 (subwindow_instantiate): ditto.
11994 * glyphs-msw.c (mswindows_update_widget): ditto.
11995 (mswindows_progress_gauge_instantiate): ditto.
11996 (mswindows_tab_control_update): ditto.
11997 * glyphs-x.c (x_update_widget): ditto.
11998 (x_widget_instantiate): ditto.
11999 (x_tab_control_instantiate): ditto.
12000 (x_tab_control_update): ditto.
12001 * event-msw.c (mswindows_wnd_proc): ditto
12003 * glyphs-widget.c (image_instantiator_layout): use
12004 subwindow_decode_domain.
12005 (image_instantiator_buttons): ditto.
12006 (image_instantiator_edit_fields): ditto.
12007 (image_instantiator_combo_box): ditto.
12008 (image_instantiator_scrollbar): ditto.
12009 (image_instantiator_progress_guage): ditto.
12010 (image_instantiator_tree_view): ditto.
12011 (image_instantiator_tab_control): ditto.
12012 (image_instantiator_labels): ditto.
12013 (image_instantiator_layout): ditto.
12015 * glyphs.c: add instance error checking to many functions.
12016 (instantiate_image_instantiator): decode device from cache_domain.
12017 (image_instantiate): partially rewrite by using
12018 decode_image_instantiator_domain to determine what domain the
12019 instance needs to be cached in.
12020 (decode_image_instantiator_domain): new function. Determine what
12021 domain the image needs to be cached in.
12022 (check_window_subwindow_cache): new error checking function.
12023 (check_instance_cache_mapper): ditto.
12024 (check_image_instance_structure): ditto.
12025 (subwindow_decode_domain): new function. Encodes a window as a
12026 subwindow's cache domain.
12027 (image_instantiator_format_create): use it for text and
12030 2000-04-21 Andy Piper <andy@xemacs.org>
12032 * glyphs.c (image_instance_device): new function.
12033 (image_instance_frame): new function.
12034 (image_instance_window): new function.
12035 (image_instance_live_p): new function.
12037 * window.c (mark_window_as_deleted): reset the subwindow_instance_
12040 * glyphs.h (struct Lisp_Image_Instance): device->domain.
12041 (IMAGE_INSTANCE_DOMAIN): new accessor.
12042 (XIMAGE_INSTANCE_DOMAIN): ditto.
12044 * glyphs-x.c (x_finalize_image_instance): device->domain.
12046 * glyphs-msw.c (init_image_instance_geometry): device->domain.
12047 (mswindows_finalize_image_instance): ditto.
12049 * glyphs-eimage.c (jpeg_instantiate): device->domain.
12050 (gif_instantiate): ditto.
12051 (png_instantiate): ditto.
12052 (tiff_instantiate): ditto.
12054 * glyphs.c (instantiate_image_instantiator): use domain rather
12056 (mark_image_instance): device -> domain.
12057 (print_image_instance): ditto.
12058 (finalize_image_instance): ditto.
12059 (image_instance_equal): ditto.
12060 (allocate_image_instance): ditto.
12061 (Fcolorize_image_instance): ditto.
12062 (query_string_geometry): ditto.
12063 (image_instantiate): ditto
12064 (query_string_font): ditto.
12065 (image_instantiate): ditto.
12066 (update_subwindow): ditto.
12067 (unmap_subwindow): ditto.
12068 (map_subwindow): ditto.
12069 (subwindow_instantiate): ditto.
12071 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
12072 (DOMAIN_FRAME): ditto.
12073 (DOMAIN_WINDOW): ditto.
12074 (DOMAIN_LIVE_P): ditto.
12075 (XDOMAIN_DEVICE): ditto.
12076 (XDOMAIN_FRAME): ditto.
12077 (XDOMAIN_WINDOW): ditto.
12079 * specifier.c (Fvalid_specifier_domain_p): add image instances as
12080 a valid specifier domain.
12082 2000-04-19 Andy Piper <andy@xemacs.org>
12084 * glyphs-widget.c (syms_of_glyphs_widget): remove
12085 widget-callback-current-channel.
12086 (vars_of_glyphs_widget): ditto.
12089 * gui.c (get_gui_callback): revert to previous behaviour.
12091 2000-04-18 Andy Piper <andy@xemacs.org>
12093 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
12094 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
12095 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
12097 * glyphs.c (image_instance_equal): add margin_width.
12098 (image_instance_hash): ditto.
12100 * glyphs-widget.c (widget_instantiate): deal with margin-width.
12101 (layout_query_geometry): ditto.
12102 (layout_layout): ditto.
12103 (syms_of_glyphs_widget): add margin-width.
12104 (image_instantiator_layout): allow margin-width.
12106 * glyphs.c (update_widget_instances): make a normal function.
12107 (syms_of_glyphs): remove Qupdate_widget_instances.
12110 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
12111 so that we don't corrupt ideas about the last event or
12112 command. Remove widget-callback-current-channel fiddling.
12113 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
12115 2000-05-01 Martin Buchholz <martin@xemacs.org>
12117 * XEmacs 21.2.33 is released.
12119 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
12121 * make-src-depend: Allow dots in header file name.
12123 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
12125 * mule-charset.h (struct charset_lookup): Add
12126 next_allocated_1_byte_leading_byte and
12127 next_allocated_2_byte_leading_byte.
12128 * mule-charset.c: Move above two variables so that those values
12131 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
12133 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
12134 when string length is zero.
12135 (find_charsets_in_emchar_string): Ditto.
12137 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
12139 * lisp.h: extern Qdialog and Qmenubar.
12141 * gui-x.c: added events.h.
12142 also fixed typo which made the file uncompilable.
12144 * general.c: Added Qmenubar and Qdialog
12146 2000-04-28 Ben Wing <ben@xemacs.org>
12148 * frame-msw.c (mswindows_init_frame_1):
12149 * frame-msw.c (mswindows_mark_frame):
12150 * event-msw.c (mswindows_enqueue_dispatch_event):
12152 * console-msw.h (struct mswindows_frame):
12153 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
12154 there are now three hash tables for callbacks.
12155 mswindows_enqueue_dispatch_event is no longer static.
12157 * dialog-x.c (maybe_run_dbox_text_callback):
12158 * dialog-x.c (dbox_descriptor_to_widget_value):
12159 switch to new cons3 form for callbacks.
12161 * glyphs-msw.c (mswindows_register_gui_item):
12162 * glyphs-msw.c (mswindows_widget_instantiate):
12163 * glyphs-msw.c (add_tree_item):
12164 * glyphs-msw.c (add_tab_item):
12165 new image instance parameter, so it can be passed to callback-ex.
12166 respect :callback-ex as well as :callback.
12168 * glyphs-widget.c (VALID_GUI_KEYWORDS):
12171 * glyphs.c (print_image_instance):
12172 prettify, e.g. now prints widget type.
12175 certain funs have new image instance parameter.
12178 * gui.c (get_gui_callback):
12179 * gui.c (gui_item_add_keyval_pair):
12180 * gui.c (gui_item_init):
12181 * gui.c (gui_add_item_keywords_to_plist):
12182 * gui.c (mark_gui_item):
12183 * gui.c (gui_item_hash):
12184 * gui.c (gui_item_equal):
12185 * gui.c (copy_gui_item):
12186 * gui.c (syms_of_gui):
12187 recognize callback-ex in a number of places.
12188 also, fix the annoying "can't get out of yes-no dialog" bug.
12191 * gui.h (struct Lisp_Gui_Item):
12192 recognize callback-ex in a number of places.
12194 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12195 new parameter in button_item_to_widget_value.
12197 * glyphs-x.c (x_update_widget):
12198 * glyphs-x.c (x_button_instantiate):
12199 * glyphs-x.c (x_button_update):
12200 * glyphs-x.c (x_progress_gauge_instantiate):
12201 * glyphs-x.c (x_edit_field_instantiate):
12202 * glyphs-x.c (x_combo_box_instantiate):
12203 * glyphs-x.c (x_tab_control_instantiate):
12204 * glyphs-x.c (x_label_instantiate):
12205 new image instance parameter in various places.
12208 * event-Xt.c (enqueue_Xt_dispatch_event):
12209 this fun gets exported.
12212 * gui-msw.c (mswindows_handle_gui_wm_command):
12213 handle both :callback and :callback-ex, and generate our own
12214 event because it's one of the callback-ex arguments.
12217 * gui-x.c (popup_selection_callback):
12218 handle both :callback and :callback-ex, and generate our own
12219 event because it's one of the callback-ex arguments.
12220 * gui-x.c (button_item_to_widget_value):
12221 * gui-x.c (gui_items_to_widget_values_1):
12222 * gui-x.c (gui_item_children_to_widget_values):
12223 * gui-x.c (gui_items_to_widget_values):
12224 new image instance parameter in various places.
12226 * fns.c (Freplace_list):
12227 fix small typo in doc string.
12230 declare enqueue_Xt_dispatch_event.
12232 2000-04-28 Ben Wing <ben@xemacs.org>
12235 * buffer.c (Frecord_buffer):
12236 * buffer.c (syms_of_buffer):
12237 delete record-buffer-hook.
12240 * fns.c (Freplace_list):
12241 * fns.c (syms_of_fns):
12242 new primitive replace-list.
12245 slot for old buffer-alist.
12248 exfun replace-list.
12251 * redisplay.c (redisplay_frame):
12252 * redisplay.c (syms_of_redisplay):
12253 * redisplay.c (vars_of_redisplay):
12254 new hook buffer-list-changed-hook.
12257 2000-04-27 Ben Wing <ben@xemacs.org>
12259 * extents.h: extern in_modeline_generation.
12261 * redisplay.c (generate_formatted_string_db): set
12262 in_modeline_generation.
12264 * extents.c (extent_changed_for_redisplay): don't mark redisplay
12265 flags if in modeline generation. otherwise frame-modified-tick
12266 is ticked far too often.
12267 Declare in_modeline_generation.
12269 2000-04-26 Ben Wing <ben@xemacs.org>
12271 * emacs.c (vars_of_emacs): document quick-build "error-checking"
12273 (vars_of_emacs): add quick-build as an error-checking option.
12274 A bit kludgy, but there doesn't seem much point in creating
12275 a real var for this.
12277 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
12279 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
12281 * redisplay.h (struct display_line): Add a new variable,
12284 * redisplay.c (create_text_block): Set dl->line_continuation if
12285 the line continues.
12286 (create_string_text_block): Ditto.
12287 (regenerate_window_incrementally): Use line_continuation instead
12288 of searching continuation glyph.
12289 (add_margin_runes): Call add_glyph_rune.
12290 (add_glyph_rune): Handle margin glyph.
12292 2000-04-20 Martin Buchholz <martin@xemacs.org>
12294 * filelock.c (fill_in_lock_file_name):
12296 Check for IS_ANY_SEP instead of '/'.
12298 Avoid generating gratuitous garbage. Call user_login_name() directly.
12299 Never check errno without first seeing that system call failed.
12300 (unlock_file): Add GCPRO.
12301 (Flock_buffer): Fix docstring.
12302 (Ffile_locked_p): Fix docstring. Add GCPRO.
12304 2000-04-19 Martin Buchholz <martin@xemacs.org>
12306 * sysdep.c (get_pty_max_bytes):
12307 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
12308 strings longer than 252 bytes.
12310 * md5.c: Unconditionally include ANSI header <limits.h>
12312 * glyphs-x.c (convert_EImage_to_XImage):
12313 * lisp-union.h (union Lisp_Object):
12314 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
12316 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
12318 * filelock.c (current_lock_owner): Remove unused variable o, p.
12320 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
12322 * callint.c: Remove multiply defined symbol Qlet
12323 (syms_of_callint): ditto.
12325 2000-04-14 Andy Piper <andy@xemacs.org>
12327 * general.c (syms_of_general): add last-command, this-command, let
12330 * lisp.h: declare various symbols.
12332 * glyphs.h: declare Qwidget_callback_current_channel;
12334 * glyphs-widget.c (syms_of_glyphs_widget): add
12335 Qgui_callback_current_channel.
12336 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
12338 * gui-msw.c (mswindows_handle_gui_wm_command): bind
12339 widget-callback-current-channel when invoking the interactive
12340 arg. Also bind last-command and next-command when invoking the
12342 * gui-x.c (popup_selection_callback): ditto.
12344 * gui.c (get_gui_callback): massage args so that we are always
12345 calling eval. This allows us to add our own variable bindings
12348 * glyphs-x.c (x_button_instantiate): use
12349 gui_items_to_widget_values since this is GC safe.
12350 (x_progress_gauge_instantiate): ditto.
12351 (x_edit_field_instantiate): ditto.
12352 (x_label_instantiate): ditto.
12354 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
12355 (emacs_Xt_event_widget_focus_out): new function
12356 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
12358 (emacs_Xt_event_add_widget_actions): new function. add focus
12359 functions as actions.
12360 (init_event_Xt_late): use it.
12362 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
12364 * event-stream.c (Fdispatch_event): Doc fix.
12366 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
12368 * postgresql.c: Remove all references to PQsetenv*.
12370 * postgresql.h: Remove references to PGsetenvHandler object.
12371 * lrecord.h (lrecord_type): Ditto.
12373 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12375 * glyphs-msw.h (struct mswindows_image_instance_data): Added
12376 real_heigh and real_width members, and accessor macros for these.
12378 * glyphs-msw.c (init_image_instance_geometry): New function.
12379 (init_image_instance_from_dibitmap): Use it.
12380 (mswindows_resource_instantiate): Use it.
12381 (init_image_instance_from_xbm_inline): Use it.
12382 (mswindows_initialize_image_instance_mask): Use real bitmap
12384 (mswindows_create_resized_bitmap): Ditto.
12385 (mswindows_create_resized_mask): Ditto.
12387 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
12388 and bitmap to their surface size.
12390 2000-04-11 Jan Vroonhof <jan@xemacs.org>
12392 * process-unix.c (unix_send_process): Guard against process MIA
12393 after Faccept_process_output.
12395 2000-04-11 Ben Wing <ben@xemacs.org>
12397 * eval.c (unbind_to_hairy): fix brokenness introduced by
12398 nanosecond speed improvements.
12400 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
12402 * sunplay.c (init_device): To play sounds correctly, the device
12403 apparently needs to be initialized at least once by XEmacs. Make
12406 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
12408 * redisplay.c (add_margin_runes): Add text image glyph
12411 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
12413 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
12414 gcc is newer than 2.5.
12416 2000-04-06 Colin Rafferty <colin@xemacs.org>
12418 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
12420 * fns.c (size_bit_vector):
12421 * alloc.c (size_vector):
12422 (make_vector_internal):
12423 (make_bit_vector_internal):
12424 (sweep_bit_vectors_1):
12425 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
12427 2000-04-06 Andy Piper <andy@xemacs.org>
12429 * gmalloc.c (malloc): undo previous change.
12434 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
12436 * line-number.c (buffer_line_number): Revert to former version.
12438 2000-04-06 Andy Piper <andy@xemacs.org>
12440 * gmalloc.c (malloc): add error checking.
12445 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
12446 button_item_to_widget_value arg.
12448 * glyphs-x.c (x_button_instantiate): add extra
12449 button_item_to_widget_value arg.
12450 (x_progress_gauge_instantiate): ditto.
12451 (x_edit_field_instantiate): ditto.
12452 (x_label_instantiate): ditto.
12454 * gui-x.c (gui_items_to_widget_values_1): add extra
12455 button_item_to_widget_value arg.
12456 (button_item_to_widget_value): add extra menu_item_p arg.
12458 * gui-x.h: change signature of button_item_to_widget_value.
12460 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
12461 button_item_to_widget_value arg.
12463 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
12465 * buffer.h (struct buffer): auto_save_modified should be long.
12467 2000-04-05 Andy Piper <andy@xemacs.org>
12469 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
12471 (button_query_geometry): give a little more room so that athena
12474 2000-04-05 Andy Piper <andy@xemacs.org>
12476 * faces.c (complex_vars_of_faces): The widget face should inherit
12477 the font of the gui-element face.
12479 2000-04-04 Andy Piper <andy@xemacs.org>
12481 * glyphs-x.c (x_button_update): new function. unconditionally
12482 update a button's state when the instance is dirty.
12483 (image_instantiator_format_create_glyphs_x): add x_button_update.
12484 (x_widget_instantiate): remove old resize cruft.
12486 2000-04-02 Andy Piper <andy@xemacs.org>
12488 * frame.c (change_frame_size_1): The introduction of gutters means
12489 that we need to allow 0 as a potential frame dimension.
12491 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
12493 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
12494 image glyph if allow_cursor.
12495 (add_hscroll_rune): Don't allow cursor to border glyph.
12496 (create_text_block): Ditto.
12498 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
12499 text not in buffer.
12500 (redisplay_output_layout): Call ensure_face_cachel_complete for
12504 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
12506 * redisplay.c (add_glyph_rune): Adding text image as text runes.
12508 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
12511 * redisplay-tty.c (tty_output_display_block): Delete the routine
12512 for text image glyph
12513 * redisplay-x.c (x_output_display_block): ditto
12514 * redisplay-msw.c (mswindows_output_display_block): ditto
12516 2000-02-02 Mike Alexander <mta@arbortext.com>
12518 Note: Some of these were committed by accident as part of other
12521 * regex.c (regex_compile): Avoid compiler warnings.
12523 * ntproc.c (sys_spawnve): Avoid compiler warnings.
12525 * nt.h: Declare term_ntproc correctly.
12527 * nt.c: Remove incorrect declaration of get_home_directory which
12528 is declared correctly in lisp.h.
12530 * keymap.c (get_keyelt): Avoid compiler warnings.
12531 (raw_lookup_key_mapper): Avoid compiler warnings.
12533 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
12535 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
12537 * filemode.c (mode_string): Avoid compiler warnings.
12539 * file-coding.c (Fcoding_system_aliasee): Add return statement to
12542 * events-mod.h: Undef some things that winuser.h defines differently.
12544 * data.c (Faset): Avoid compiler warnings.
12546 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
12548 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12550 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
12551 Fall through to simple beep on error.
12552 Replace "extern" by real header file.
12554 * linuxplay.c: Use nativesound.h
12555 (play_sound_data): Return error code. Be less verbose on error.
12557 * sunplay.c: Use nativesound.h
12558 (play_sound_data): Return error code. Be less verbose on error.
12560 * ntplay.c: Use nativesound.h
12561 (play_sound_data): Return fake error code
12563 * sgiplay.c: Use nativesound.h
12564 (play_sound_data): Return error code
12566 * hpplay.c: Use nativesound.h, partially implement
12567 new error code. Break compilation until finished.
12568 (play_sound_data): error code.
12570 * nativesound.h (play_sound_file):
12571 (play_sound_data): Prototype in new header.
12573 2000-03-31 Andy Piper <andy@xemacs.org>
12575 * glyphs-widget.c: (button_query_geometry): new function. Adjust
12576 for toggle and radio buttons.
12577 (image_instantiator_buttons): use it.
12579 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12581 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
12582 (x_update_horizontal_scrollbar_callback): Return if no mirror was
12583 found. Scrollbar event probably belonged to some old config.
12585 2000-03-31 Andy Piper <andy@xemacs.org>
12587 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
12589 (initialize_widget_image_instance): default layout to
12590 LAYOUT_HORIZONTAL rather than 0.
12591 (widget_instantiate): reverse the item list at the end rather than
12593 (layout_layout): re-code for the border text at the front of the
12594 item list rather than at the end.
12595 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
12596 provided by the user.
12597 (widget_query_geometry): comment.
12599 2000-03-30 Andy Piper <andy@xemacs.org>
12601 * glyphs-widget.c (image_instantiator_layout): allow standard
12602 widget keywords in layouts.
12604 * gutter.c (output_gutter): cope with nil gutter contents.
12606 * frame.c (Fset_frame_properties): add gutter docs.
12608 2000-03-29 Andy Piper <andy@xemacs.org>
12610 * toolbar-msw.c (TBSTYLE_FLAT): add.
12611 (mswindows_output_toolbar): minor fiddling.
12613 2000-03-29 Andy Piper <andy@xemacs.org>
12615 * gutter.c (output_gutter): force gutter size recalculation if
12616 what we are trying to display won't fit.
12617 (update_gutter_geometry): new function. A per-gutter version of
12618 update_frame_gutter_geometry.
12619 (update_frame_gutter_geometry): use it.
12620 (redraw_exposed_gutter): add extra debugging output.
12622 2000-03-28 Mike Alexander <mta@arbortext.com>
12624 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
12625 (pdump_file_unmap): Implement it on Windows
12626 (pdump_file_get): Save alocated handles for pdump_file_unmap
12628 2000-03-28 Andy Piper <andy@xemacs.org>
12630 * gui.c (get_gui_callback): treat Quit specially.
12632 2000-03-27 Andy Piper <andy@xemacs.org>
12634 * glyphs.c (image_instantiate): be careful to check in the same
12637 2000-03-27 Didier Verna <didier@xemacs.org>
12639 * config.h.in: define the proper SMART_INCLUDE macro.
12640 handle renaming of `foo_h_path' to `foo_h_file'.
12642 * database.c: ditto.
12646 * linuxplay.c: ditto.
12648 * terminfo.c: ditto.
12650 * tooltalk.h: ditto.
12652 2000-03-27 Andy Piper <andy@xemacs.org>
12654 * glyphs-msw.c (mswindows_update_widget): make sure the widget
12655 gets updated whenever the face might have changed.
12657 2000-03-26 Mike Alexander <mta@arbortext.com>
12659 * dumper.c (pdump_resource_free): Fix the comment.
12661 2000-03-21 Olivier Galibert <galibert@pobox.com>
12663 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
12665 2000-03-22 Mike Alexander <mta@arbortext.com>
12667 * dumper.c: Include Windows headers on Windows
12668 (pdump_resource_free): Add a body to the function
12669 (pdump_load): exe_name -> exe_path and add some comments.
12671 2000-03-25 Mike Alexander <mta@arbortext.com>
12673 * gui.c (copy_gui_item_tree): Return a value in all cases
12675 2000-03-21 Didier Verna <didier@xemacs.org>
12677 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
12679 (SMART_INCLUDE): new macro.
12680 (POSTGRES_INCLUDE): new macro to include postgresql headers from
12681 the proper location.
12683 * postgresql.c: use it.
12687 2000-03-24 Andy Piper <andy@xemacs.org>
12689 * gutter.c (redraw_exposed_gutters): must be "in display" when we
12692 2000-03-24 Andy Piper <andy@xemacs.org>
12694 * redisplay-output.c (compare_runes): use image_instance_changed
12695 to detect changes. Do not depend on glyphs_changed, only depend on
12697 (redisplay_output_layout): add debug messages.
12698 (compare_runes): ditto.
12700 * glyphs.h: declare new functions.
12701 (struct Lisp_Image_Instance): remove percent and associated
12704 * gui.h: declare new copying functions.
12706 * gui.c (copy_gui_item_tree): new function.
12707 (copy_gui_item): new function.
12708 (gui_item_id_hash): revert to standard hash.
12709 (gui_item_hash): ditto.
12710 (gui_item_hash_internal): deleted.
12711 (mark_gui_item): mark value.
12712 (gui_item_add_keyval_pair): add value.
12713 (gui_item_init): ditto.
12714 (gui_add_item_keywords_to_plist): ditto.
12715 (gui_item_equal): ditto.
12716 (syms_of_gui): add Q_value.
12718 * glyphs-x.c (x_progress_gauge_update): use pending items and
12719 value for setting the state.
12720 (x_update_widget): don't set items from pending here.
12722 * glyphs-widget.c (update_widget): update items here.
12723 (progress_gauge_set_property): use items for storing value. Put
12724 new value in pending items.
12726 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
12727 items for new value. Convert percent -> value.
12728 (mswindows_tab_control_update): don't update items here.
12730 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
12731 (update_subwindow): ditto.
12732 (image_instance_changed): new function. Compare hash values and
12733 past and present widget items.
12734 (image_instantiate): We more careful about where we instantiate
12736 (image_instantiate): add error checking.
12738 * gutter.c (syms_of_gutter): use -hook.
12740 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
12742 * console-tty.c (Fset_console_tty_input_coding_system): Use
12744 (Fset_console_tty_output_coding_system): Use Qterminal.
12745 (tty_init_console): Use Qkeyboard and Qterminal.
12747 2000-03-21 Ben Wing <ben@xemacs.org>
12749 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
12750 From Mike Alexander <mta@arbortext.com>.
12752 2000-03-21 Ben Wing <ben@xemacs.org>
12754 * event-msw.c (mswindows_need_event): Horrible kludge to fix
12755 process brokenness. Proper implementation to come.
12757 Rename call-process-internal to old-call-process-internal.
12758 New impl. in process.el.
12760 2000-03-21 Martin Buchholz <martin@xemacs.org>
12762 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
12764 2000-03-20 Andy Piper <andy@xemacs.org>
12766 * glyphs.c (full_list_hash): make hashes of the same elements in
12767 different orders return different values.
12769 2000-03-20 Martin Buchholz <martin@xemacs.org>
12771 * XEmacs 21.2.32 is released.
12773 2000-03-20 Martin Buchholz <martin@xemacs.org>
12775 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
12776 (DFC_MALLOC_USE_CONVERTED_DATA):
12777 Add aliasing-safe casts to allow use with char* or unsigned char*
12780 * eldap.c (Fldap_open):
12781 (Fldap_search_basic):
12784 Make C++-compilable.
12785 Make sure GCPRO'ed variables are initialized.
12786 Use temp variables to avoid repeated calls to Flength.
12788 2000-03-16 Martin Buchholz <martin@xemacs.org>
12791 Make sure PATH_MAX is always defined.
12792 Include limits.h for PATH_MAX.
12793 Deprecate use of MAXPATHLEN.
12795 2000-03-10 Martin Buchholz <martin@xemacs.org>
12797 * emacs.c: Add reinit_vars_of_fileio.
12798 * symsinit.h: Add reinit_vars_of_fileio.
12799 * fileio.c (reinit_vars_of_fileio): New.
12800 * fileio.c (Fmake_temp_name):
12801 Initialize temp_name random number from microseconds to make
12802 collisions even less likely. Initialize always at process startup
12803 time. (make-temp-name) used to return the same file name twice in
12805 Random stylistic fiddling.
12808 2000-03-20 Andy Piper <andy@xemacs.org>
12810 * glyphs.c (image_instantiate): allow text glyphs to be
12811 instantiated in the minibuffer window.
12813 2000-03-19 Andy Piper <andy@xemacs.org>
12815 * glyphs.c (image_instance_hash): be careful about which items we
12818 * glyphs-widget.c (tab_control_set_property): record into pending
12819 items rather than the actual items.
12821 * glyphs-x.c (x_update_widget): use pending items to update with.
12823 * glyphs-msw.c (mswindows_tab_control_update): use pending items
12826 * glyphs.c (mark_image_instance): mark pending items.
12828 * window.c (Fset_window_configuration): record the buffer.
12829 (Fselect_window): totally revert previous change which breaks many
12832 2000-03-18 Andy Piper <andy@xemacs.org>
12834 * glyphs-msw.c (mswindows_tab_control_update): force selected
12837 * glyphs.c (image_instantiate): don't allow the minibuffer as a
12838 window domain cache, otherwise we get inconsistencies at
12839 startup. There is something fishy at startup which can lead to the
12840 minibuffer being the selected window when the gutter content is
12843 * gui.c (parse_gui_item_tree_list): add probably unnecessary
12845 (parse_gui_item_tree_children): ditto.
12846 (parse_gui_item_tree_item): ditto.
12848 * glyphs.c (Fupdate_widget_instances): return something.
12850 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
12852 * window.c (Fselect_window): Undo 2000-03-17 change.
12854 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
12856 * postgresql.c (Fpq_setenv): Remove this turkey when linking
12857 against v7.0 libraries. Insta-coredump city until the postgres
12860 2000-03-17 Andy Piper <andy@xemacs.org>
12862 * faces.c (complex_vars_of_faces): don't give the widget face an
12863 inherited background pixmap.
12865 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
12868 * event-stream.c (Fdispatch_non_command_events): return something.
12870 * gutter.c (output_gutter): use widget face.
12871 (clear_gutter): ditto.
12873 * NEWS: adjust again.
12875 * window.c (Fselect_window): make sure this runs to completion to
12876 avoid oddities with Fset_window_configuration.
12877 (Fcurrent_window_configuration): in general do not save the
12878 minibuffer as the selected window.
12880 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
12882 2000-03-16 Olivier Galibert <galibert@pobox.com>
12884 * emacs.c (Frunning_temacs_p): Revert previous patch.
12885 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
12887 2000-03-16 Andy Piper <andy@xemacs.org>
12889 * glyphs-x.c (x_tab_control_update): if no widget values then
12892 * NEWS: update for new features.
12894 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
12895 synthetic event to the native system.
12896 (reinit_vars_of_event_Xt): set force_event_pending to
12897 emacs_Xt_force_event_pending.
12899 * events.h (struct event_stream): add force_event_pending.
12901 * specifier.c (recompute_one_cached_specifier_in_window): add
12904 * redisplay.c (redisplay_frame): don't call
12905 update_frame_subwindows. Reset subwindow cachels when
12906 subwindows_changed, removing this was an optimization too far.
12908 * redisplay-output.c (compare_runes): reorganize so that we catch
12909 glyph changes when we want them. Set optimize_output when this
12910 would help layouts.
12911 (redisplay_output_layout): remove frame_really_changed, use
12912 optimize_output instead.
12914 * redisplay-msw.c (mswindows_output_display_block): reset
12915 optimize_output after outputting a glyph.
12916 * redisplay-x.c (x_output_display_block): ditto.
12917 * redisplay-tty.c (tty_output_display_block): ditto.
12919 * gutter.c: (specifier_vars_of_gutter): use new spec changed
12921 (gutter_specs_changed): do specific gutter positions.
12922 (top_gutter_specs_changed): new function. Only update the
12923 specified gutter specs.
12924 (bottom_gutter_specs_changed): ditto.
12925 (left_gutter_specs_changed): ditto.
12926 (right_gutter_specs_changed): ditto.
12928 * gui.c (gui_item_hash_internal): new function, does a real hash.
12929 (gui_item_id_hash): use it.
12930 (gui_item_hash): hash the eval'ed gui_item.
12932 * gui-x.c (popup_selection_callback): send an eval event to call
12933 Fupdate_widget_instances.
12935 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
12936 to call Fupdate_widget_instances.
12938 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
12939 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
12941 * glyphs.c: (update_frame_subwindows): deleted.
12942 (Fupdate_widget_instances): new function for updating the dirty
12943 state of widgets that might have changed.
12944 (syms_of_glyphs): add Qupdate_widget_instances.
12945 (full_list_hash): hash a list completely.
12946 (image_instance_hash): use it for items and properties.
12948 * frame-msw.c (mswindows_size_frame_internal): remove unused
12951 * faces.h (struct face_cachel): fix comment.
12953 * event-stream.c (Fdispatch_non_command_events): new
12954 function. Process non-command events, forcing an event cycle
12956 (syms_of_event_stream): declare.
12957 (event_stream_force_event_pending): new function. Force an event
12958 on the native event queue so that an event cycle will occur next
12962 (struct ntpipe_shove_stream):
12963 (mswindows_enqueue_dispatch_event):
12964 (mswindows_dequeue_dispatch_event):
12965 (mswindows_cancel_dispatch_event):
12966 (mswindows_pump_outstanding_events):
12967 (mswindows_drain_windows_queue):
12968 (mswindows_handle_paint):
12969 (mswindows_wnd_proc):
12970 (mswindows_key_to_emacs_keysym):
12971 (get_process_input_waitable):
12972 (emacs_mswindows_delete_stream_pair): re-indent file.
12973 (mswindows_need_event): do not process further fds if the windows
12974 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
12975 fixes the 100% cpu problem.
12976 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
12978 2000-03-15 Olivier Galibert <galibert@pobox.com>
12984 * emacs.c: Moved dump file searching to dumper.c.
12985 (Frunning_temacs_p): Fixed.
12987 * alloc.c: Moved everything pdump-related to dumper.c. Removed
12988 last_lrecord_type_index_assigned.
12990 2000-02-20 Olivier Galibert <galibert@pobox.com>
12992 * symsinit.h: Added reinit parameter to init_console_stream
12995 * lisp.h: Added file parameter to pdump_load declaration.
12997 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
12998 support. Added dump file searching.
13000 * config.h.in: Added EMACS_PROGNAME.
13002 * console-stream.c (init_console_stream): Fix reinitialisation
13003 when running from temacs.
13005 * alloc.c (pdump): Add id support.
13006 (pdump_load): Add file parameter and signature/id support.
13008 * Makefile.in.in: Add full pdump support.
13010 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
13012 * postgresql.c: Update documentation to reflect latest code
13014 (print_result): Show tuple counts in printed representation when
13016 (Fpq_put_nbytes): MULE-ize.
13017 (Fpq_get_line_async): Ditto.
13019 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13021 * postgresql.c (Fpq_lo_import): Fix return value.
13022 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
13024 2000-03-13 Ben Wing <ben@xemacs.org>
13026 * alloc.c (pdump_load):
13027 Fix compile warning under mswin.
13029 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13031 * postgresql.c: Mule-ization, bug fixes.
13032 Use PG_CODING to encapsulate coding system name changes.
13033 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
13034 (pg-coding-system): Create.
13036 (Fpq_conn_defaults): Mule-ize.
13037 (Fpq_connectdb): Mule-ize & bug fix.
13038 (Fpq_connect_start): Mule-ize.
13039 (Fpq_set_client_encoding): Mule-ize.
13040 (Fpq_finish): Document `DEAD' connection status.
13041 (Fpq_clear): Ditto.
13042 (Fpq_pgconn): Mule-ize.
13043 (Fpq_exec): Mule-ize & bug fix.
13044 (Fpq_send_query): Ditto.
13045 (Fpq_get_result): Ditto.
13046 (Fpq_res_status): Mule-ize.
13047 (Fpq_result_error_message): Mule-ize.
13048 (Fpq_ntuples): fix comments.
13049 (Fpq_fname): Mule-ize.
13050 (Fpq_fnumber): Mule-ize.
13051 (Fpq_ftype): fix comments.
13052 (Fpq_get_value): Mule-ize.
13053 (Fpq_cmd_status): Ditto.
13054 (Fpq_cmd_tuples): Ditto.
13055 (Fpq_oid_value): Ditto.
13056 (Fpq_notifies): Ditto.
13057 (Fpq_lo_import): Ditto.
13058 (Fpq_lo_export): Ditto.
13059 (Fpq_get_line): Ditto.
13060 (Fpq_put_line): Mule-ize and bug fix.
13061 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
13063 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13065 * postgresql.c (vars_of_postgresql): Mule-ize.
13066 (Fpq_conn_defaults): Ditto.
13068 2000-03-12 Ben Wing <ben@xemacs.org>
13070 * alloc.c (Fmake_byte_code):
13071 * alloc.c (debug_string_purity_print):
13072 * alloc.c (pdump_backtrace):
13073 * alloc.c (pdump_get_indirect_count):
13074 * alloc.c (pdump_register_sub):
13075 * alloc.c (pdump_register_object):
13076 * alloc.c (pdump_register_struct):
13077 * alloc.c (pdump_dump_data):
13078 * alloc.c (pdump_reloc_one):
13082 * console-msw.c (GetConsoleHwnd):
13083 * console-msw.c (msw_hide_console):
13084 * console-msw.c (msw_show_console):
13085 * console-msw.c (msw_ensure_console_buffered):
13086 * console-msw.c (msw_output_console_string):
13087 * console-msw.c (console_type_create_mswindows):
13089 a) Added functions to manipulate the console window for use with
13092 b) Added support for writing text to the console, which is now
13093 used under Windows when xemacs is not being run non-interactively,
13094 to write text that would otherwise be destined for stdout because
13095 under these circumstances, text written to stdout tends to
13096 disappear and not be seen.
13100 * event-Xt.c (x_event_to_emacs_event):
13101 * event-Xt.c (describe_event_window):
13102 * events-mod.h (XEMACS_MOD_CONTROL):
13104 * events.c (Fmake_event):
13105 * events.c (character_to_event):
13106 * events.c (event_to_character):
13107 * events.c (format_event_object):
13108 * events.c (Fevent_modifiers):
13110 * events.h (struct key_data):
13111 * events.h (struct button_data):
13112 * events.h (struct misc_user_data):
13113 * frame-x.c (Fcde_start_drag_internal):
13114 * frame-x.c (Foffix_start_drag_internal):
13115 * gpmevent.c (Freceive_gpm_event):
13117 * keymap.c (bucky_sym_to_bucky_bit):
13118 * keymap.c (control_meta_superify):
13119 * keymap.c (make_key_description):
13120 * keymap.c (keymap_lookup_directly):
13121 * keymap.c (create_bucky_submap):
13122 * keymap.c (keymap_store):
13123 * keymap.c (define_key_check_and_coerce_keysym):
13124 * keymap.c (define_key_parser):
13125 * keymap.c (define_key_alternate_name):
13126 * keymap.c (Fdefine_key):
13127 * keymap.c (raw_lookup_key_mapper):
13128 * keymap.c (struct map_keymap_unsorted_closure):
13129 * keymap.c (map_keymap_unsorted_mapper):
13130 * keymap.c (map_keymap_sort_predicate):
13131 * keymap.c (map_keymap_sorted):
13132 * keymap.c (accessible_keymaps_mapper_1):
13133 * keymap.c (where_is_recursive_mapper):
13134 * keymap.c (describe_map_mapper):
13135 * keymap.c (describe_map_sort_predicate):
13136 * keymap.c (describe_map):
13137 * keymap.c (complex_vars_of_keymap):
13138 And a number of other files, the key modifier preprocessor
13139 constants that xemacs uses have names that conflict with constants
13140 defined under MS Windows for other purposes, so they were renamed
13141 to begin with the prefix XEMACS_. The variables that hold such
13142 modifiers were changed to consistently be of type int to fix
13143 various compile warnings.
13145 * console.c (complex_vars_of_console):
13148 * device-msw.c (mswindows_finish_init_device):
13149 * device-msw.c (msw_get_workspace_coords):
13150 * device-msw.c (mswindows_device_system_metrics):
13151 and various other files, added support for a new
13152 device property called offset-workspace which returns the position
13153 of the upper left corner of the workspace area and goes along with
13154 the existing size-workspace property.
13157 * dialog-msw.c (push_bufbyte_string_as_unicode):
13158 * dialog-msw.c (mswindows_popup_dialog_box):
13159 Added support for XEmacs-style accelerator specifications in
13160 button text. Note: I didn't add support for this under X Windows,
13161 and somebody needs to do this.
13164 * dialog.c (Fpopup_dialog_box):
13165 Documented the support for accelerators that was just mentioned.
13167 editfns.c (get_home_directory): Changed behavior under Windows
13168 when HOME not defined; former behavior was irretrievably broken.
13171 * emacs.c (main_1):
13173 * minibuf.c (clear_echo_area_internal):
13174 * minibuf.c (echo_area_append):
13176 * print.c (std_handle_out_external):
13177 * print.c (std_handle_out_va):
13179 * print.c (write_string_to_stdio_stream):
13180 * print.c (output_string):
13181 * print.c (debug_print):
13182 * print.c (debug_backtrace):
13183 * print.c (debug_short_backtrace):
13184 Cleaned up the code that prints text to stdout so that this can be
13185 changed to output into a console window instead under MS Windows,
13186 as described above.
13189 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
13190 * eval.c (internal_catch):
13191 * eval.c (unwind_to_catch):
13192 * eval.c (throw_or_bomb_out):
13193 * eval.c (condition_case_1):
13194 * eval.c (signal_1):
13195 * eval.c (check_error_state_sanity):
13196 * eval.c (call_with_suspended_errors_1):
13197 * eval.c (call_with_suspended_errors):
13198 * eval.c (reinit_vars_of_eval):
13199 Added code to catch throw loops and check for a pesky bug that may
13203 * event-msw.c (key_needs_default_processing_p):
13204 * event-msw.c (mswindows_wnd_proc):
13205 * event-msw.c (mswindows_modifier_state):
13206 * event-msw.c (emacs_mswindows_quit_p):
13207 * event-msw.c (vars_of_event_mswindows):
13208 a) Added support for using the alt key to select menu items as is
13209 standard under MS Windows. This is controlled using the variable
13210 menu-accelerator-enabled, just like under X Windows. There is an
13211 option on the options menu to turn this support on. I really
13212 think that it should be on by default under Windows, but I'm not
13213 going to make this change yet.
13215 b) Added support for dynamic display size changes under Windows.
13218 * event-stream.c (maybe_echo_keys):
13219 * event-stream.c (Fnext_event):
13220 * event-stream.c (command_builder_find_leaf):
13221 * event-stream.c (lookup_command_event):
13222 * event-stream.c (execute_command_event):
13223 * event-stream.c (pre_command_hook):
13224 * event-stream.c (post_command_hook):
13225 * event-stream.c (syms_of_event_stream):
13226 * event-stream.c (vars_of_event_stream):
13227 * event-stream.c (complex_vars_of_event_stream):
13228 * events.h (struct command_builder):
13230 a) Tried to clean up a little bit the horribly written x-specific
13231 accelerator code that crept into this file. I moved this code
13232 into menubar-x.c where it belongs. I also needed to move the
13233 command builder structure into the file events.h because it is
13234 accessed directly by this accelerator code. What I didn't do, but
13235 which should be done at some point, is to properly abstract this
13236 code using device methods instead of the kludgy way that it
13237 currently hooks into the event code.
13239 b) Added the lisp variables this-command-properties and
13240 last-command- properties, which should be used to synchronize two
13241 adjacent commands in preference to playing games with the variable
13242 this-command, which is typically what happens.
13244 c) Added some slightly nasty code to hook into the lisp support
13245 for shifted- motion-key selection. This is actually necessary for
13246 somewhat complicated reasons, which are described in
13247 simple.el. (NB: I think the proper thing would be to have the code
13248 that calls the pre and post command hooks also call out to generic
13249 lisp functions in simple.el, where all built-in stuff could be
13250 added. I will think about this more.)
13252 * event-unixoid.c (poll_fds_for_input):
13253 * lread.c (readchar):
13254 * redisplay-tty.c (tty_clear_frame):
13255 * redisplay-x.c (x_get_gc):
13256 * signal.c (interrupt_signal):
13257 And a whole bunch of other files: fixed up places that printed
13258 directly to stderr to instead call the function stderr_out so that
13259 the changes I made under Windows work correctly.
13261 * filemode.c (mode_string):
13265 * frame-msw.c (mswindows_size_frame_internal):
13266 Fixed the computation of frame size and position to keep the frame
13267 within the workspace area, rather than within the physical
13268 dimensions of the screen, so that the frame doesn't overlap window
13269 manager decorations, such as the start menu and toolbar, typically
13270 at the bottom of the screen.
13272 * frame.c (vars_of_frame):
13273 Changed the default frame title format under MS Windows to consist
13274 of buffername-XEmacs, which is standard under MS Windows. I think
13275 it might be a good idea to change this everywhere because I think
13276 it is superior to the current frame title format, but this is the
13277 kind of change that is likely to cause some people to get annoyed,
13278 so I'm not making it.
13280 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
13282 * gui-msw.c (mswindows_handle_gui_wm_command):
13283 Fixed compile warnings.
13286 * gui-x.c (strdup_and_add_accel):
13287 * gui-x.c (button_item_to_widget_value):
13289 Added code to automatically put an accelerator onto the beginning
13290 of menu items that don't have one as is now the standard, and is
13291 described more later. Also fixed things so that the menu item
13292 name can be an evaluated expression, again a new standard.
13295 * gui.c (gui_item_add_keyval_pair):
13296 * gui.c (make_gui_item_from_keywords_internal):
13297 * gui.c (gui_add_item_keywords_to_plist):
13298 * gui.c (gui_item_accelerator):
13299 * gui.c (gui_name_accelerator):
13300 * gui.c (gui_item_included_p):
13301 * gui.c (gui_item_display_flush_left):
13302 * gui.c (gui_item_display_flush_right):
13303 * gui.c (parse_gui_item_tree_item):
13304 * gui.c (parse_gui_item_tree_children):
13305 * gui.c (parse_gui_item_tree_list):
13306 Mule-ized. Cleanup. GCPRO addition.
13308 * line-number.c (buffer_line_number):
13310 * lisp.h (EMACS_INT_MAX):
13311 Added the manifest constant EMACS_INT_MIN corresponding to the
13312 existing constant EMACS_INT_MAX. This is partially to fix compile
13313 warnings under Windows, and partly for cleanliness.
13316 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
13317 * menubar-msw.c (msw_translate_menu_or_dialog_item):
13318 * menubar-msw.c (displayable_menu_item):
13319 * menubar-msw.c (populate_menu_add_item):
13320 * menubar-msw.c (populate_or_checksum_helper):
13321 * menubar-msw.c (populate_menu):
13322 * menubar-msw.c (update_frame_menubar_maybe):
13323 * menubar-msw.c (prune_menubar):
13324 * menubar-msw.c (msw_char_is_accelerator):
13325 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
13326 * menubar-msw.c (mswindows_handle_wm_command):
13327 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
13328 * menubar-msw.c (mswindows_handle_wm_initmenu):
13329 * menubar-msw.c (mswindows_update_frame_menubars):
13330 * menubar-msw.c (mswindows_free_frame_menubars):
13331 * menubar-msw.c (mswindows_popup_menu):
13332 Fixed a bug in handling accelerators where an extra character
13333 would be displayed in the menu item. Also generalized the
13334 function displayable_menu_item because it is now used by the
13335 dialog box code as well. And finally, added code in the functions
13336 that create the menubar to extract a list of accelerators for the
13337 top level menubar, which is used in the event code to determine
13338 whether a particular alt-key combination should be used to invoke
13339 a menu item, or should be passed through to access the standard
13340 XEmacs keymap binding for this key combination.
13342 Much needed GCPROing.
13345 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13346 * menubar-x.c (menu_item_descriptor_to_widget_value):
13347 * menubar-x.c (restore_in_menu_callback):
13348 * menubar-x.c (x_popup_menu):
13349 * menubar-x.c (menu_move_up):
13350 * menubar-x.c (menu_move_down):
13351 * menubar-x.c (menu_move_left):
13352 * menubar-x.c (menu_move_right):
13353 * menubar-x.c (menu_select_item):
13354 * menubar-x.c (command_builder_operate_menu_accelerator):
13355 * menubar-x.c (menu_accelerator_junk_on_error):
13356 * menubar-x.c (command_builder_find_menu_accelerator):
13357 * menubar-x.c (Faccelerate_menu):
13359 Moved a whole bunch of code here that was previously in
13360 event-stream.c as described above. There is also code connected
13361 to the new standard of adding an accelerator to the beginning of
13362 menu items that don't have one as described above and below.
13365 * menubar.c (menu_parse_submenu_keywords):
13366 * menubar.c (Fmenu_find_real_submenu):
13367 * menubar.c (Fnormalize_menu_item_name):
13368 * menubar.c (syms_of_menubar):
13369 * menubar.c (vars_of_menubar):
13370 * menubar.c (complex_vars_of_menubar):
13372 a) Cleaned up a bunch of documentation and improved it.
13374 b) XEmacs now automatically adds an accelerator onto the beginning
13375 of any menu items that don't have one. I did this because there
13376 will inevitably be some menu items on the main menubar that don't
13377 have accelerators on them because the package that adds that
13378 particular menu item hasn't yet been fixed up to have accelerators
13379 in them and it looked rather strange to have some items with and
13380 some items without accelerators, especially since even in items
13381 without accelerators, you can, at least under windows, still
13382 access the item through an accelerator corresponding to the first
13383 character in the item's name. If people don't like this behavior,
13384 I can add a variable to turn it off optionally, but I'm not sure
13385 this is a good idea because we really do need to have accelerators
13386 on all of the menu items, and if a package doesn't like the
13387 accelerators being put on the first character, then it should put
13388 the accelerators where they belong.
13390 c) I made a behavior change, which is that the descriptor that
13391 specifies the text of the menu item, which formerly was just a
13392 string, can now also be an evaluated expression. This makes this
13393 descriptor parallel with all of the others, which could also be
13394 evaluated expressions. This also obviates the need for the
13395 keyword :label, which was previously listed in the documentation
13396 as unimplemented, and which was for the same purpose.
13401 * ntproc.c (new_child):
13402 * ntproc.c (sys_spawnve):
13403 * ntproc.c (find_child_console):
13404 * ntproc.c (sys_kill):
13405 Fixed compile warnings. By the way, this file should really go
13406 away entirely, and this will happen as soon as Kirill makes his
13407 final round of process cleanups, which affect the function
13411 * process-nt.c (struct nt_process_data):
13412 * process-nt.c (find_process_from_pid):
13413 * process-nt.c (send_signal_the_nt_way):
13414 * process-nt.c (enable_child_signals):
13415 * process-nt.c (find_child_console):
13416 * process-nt.c (send_signal_the_95_way):
13417 * process-nt.c (nt_finalize_process_data):
13418 * process-nt.c (ensure_console_window_exists):
13419 * process-nt.c (nt_create_process):
13420 * process-nt.c (nt_kill_child_process):
13421 * process-nt.c (nt_kill_process_by_pid):
13422 * process-nt.c (nt_open_network_stream):
13423 * process-nt.c (vars_of_process_nt):
13424 Copied over code from Emacs 20.5 to correctly send signals to sub-
13425 processes under Windows 95. Also added code to automatically
13426 create and hide console window when a sub-process is created under
13427 Windows 95, which obviates the need for the separate runemacs.exe
13428 executable, and finally implemented some variables that were
13429 implemented in Emacs 20.5, but previously not in XEmacs. These
13430 include mswindows- start-process-share-console and
13431 mswindows-start-process-inherit-error-mode. (Both of these only
13432 apply to Windows 95.)
13434 * regex.c (regex_compile): Fixed a compile warning.
13437 * select-msw.c (mswindows_own_selection):
13438 * select-msw.c (mswindows_get_foreign_selection):
13439 * select-msw.c (mswindows_disown_selection):
13440 * select-msw.c (console_type_create_select_mswindows):
13441 * select-msw.c (syms_of_select_mswindows):
13442 Cleaned up the file and implemented the device method
13443 selection_exists_p, which had accidentally been left out. Also
13444 removed four lisp functions that were remnants from before the
13445 time when the selection code was properly device abstracted.
13446 These functions are no longer needed because there are generic
13447 equivalents, and because they were added recently and don't exist
13448 in FSF Emacs, I don't think there's any problem with just deleting
13452 * sysdep.c (sys_subshell):
13453 Fixed a compile warning, although in this case there's probably
13454 something wrong with this code, and it ought to be looked into
13455 more thoroughly by somebody who understands it.
13458 * window.c (Fwindow_text_area_height):
13459 * window.c (Fwindow_width):
13460 * window.c (Fwindow_full_width):
13461 * window.c (Fwindow_pixel_width):
13462 * window.c (debug_print_window):
13463 * window.c (syms_of_window):
13464 Added functions window-text-area-height and window-full-width,
13465 which are functions for returning various width and height
13466 characteristics of a window. (One of these functions is necessary
13467 for making the file dialog box work correctly, and the other one
13468 was added for completeness.) Also added a table to the
13469 documentation for window-height which describes the entire scheme
13470 for accessing width and height characteristics of a window.
13472 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13474 * nt.c (fstat): Added a comment for another problem with
13475 non-encapsulated [f]stat(), reported by Adrian Aichner
13476 <aichner@ecf.teradyne.com>.
13478 2000-03-11 Andy Piper <andy@xemacs.org>
13480 * window.c (make_dummy_parent): initialize subwindow instance
13482 (Fset_window_configuration): zero extent_modiff.
13484 2000-03-10 Andy Piper <andy@xemacs.org>
13486 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
13487 more changes can be triggered.
13488 (Fredisplay_frame): ditto.
13489 (Fredraw_device): ditto.
13490 (Fredisplay_device): ditto.
13491 (redisplay_frame): make non-static.
13492 (redisplay_frame): call update_frame_gutter_geometry outside of
13495 * gutter.h: declare update_frame_gutter_geometry.
13497 * redisplay.h: declare redisplay_frame.
13499 * gutter.c (update_frame_gutter_geometry): move geometry changes
13500 in update_frame_gutters here. Geometry changes can only occur
13501 outside of redisplay.
13502 (update_frame_gutters): remove geometry change code.
13503 (Fredisplay_gutter_area): make sure that we are in display when we
13504 update and that we have flushed any size changes.
13506 2000-03-11 Andy Piper <andy@xemacs.org>
13508 * alloc.c (pdump_dump_data): remove i & count shadows.
13510 2000-02-27 Mike Alexander <mta@arbortext.com>
13512 * sysdep.h: Declare pdump_read_file
13514 * sysdep.c (pdump_read_file): New function
13516 * alloc.c (pdump_load): Call pdump_read_file to get the portable
13519 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13521 * lrecord.h: add `lrecord_type_pgsetenv'.
13523 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
13525 * symsinit.h: declare (vars|syms)_of* functions.
13526 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
13528 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
13530 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
13532 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
13535 * emacs.c (main_1): Call postgres initialization code.
13537 * postgresql.h: New file. PostgreSQL RDBMS support.
13538 * postgresql.c: New file.
13540 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13542 * redisplay-output.c (redisplay_output_display_block): Disable
13545 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13547 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
13548 (Fcanna_henkan_next): Ditto.
13549 (Fcanna_bunsetu_henkou): Ditto.
13550 (Fcanna_henkan_kakutei): Ditto.
13551 (Fcanna_henkan_end): Ditto.
13552 (Fcanna_henkan_quit): Ditto.
13553 (Fcanna_henkan_next): Set retun value correctly.
13554 (c2mu): Use unsigned char instead of signed char.
13556 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13558 * emacs.c (main_1): Always call syms_of_gui.
13559 * inline.c: include gui.h
13561 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13563 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
13564 converted to Lisp_Object.
13565 (Qtop_bottom): New variable.
13566 (syms_of_redisplay): Initialize it.
13567 * redisplay.h (Vvisible_bell): Ditto.
13568 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
13569 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
13570 only flash top and bottom.
13572 2000-03-08 Andy Piper <andy@xemacs.org>
13574 * buffer.c (Frename_buffer): record new buffer name the right way.
13576 2000-03-08 Andy Piper <andy@xemacs.org>
13578 * glyphs.c (update_subwindow): increase hash depth so that widget
13579 items get picked up properly.
13581 * redisplay-output.c (compare_runes): increase hash depth so that
13582 widget items get picked up properly.
13584 2000-03-08 Andy Piper <andy@xemacs.org>
13586 * gutter.c (output_gutter): add some debug.
13588 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
13589 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
13590 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
13592 * redisplay-output.c (compare_runes): use display_hash to
13593 determine if glyphs really are not the same.
13595 * glyphs.c (update_subwindow): check display_hash to see if
13596 anything really needs to be updated. If not then do
13597 nothing. Record the display_hash after updating.
13598 (image_instance_equal): compare the image_instance face also.
13600 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
13602 * redisplay.h: Fix comment style.
13604 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
13606 * consle-msw.h (struct mswindows_frame):
13607 Added new member paint_pending to indicate whether a WM_PAINT
13608 magic event has been queued for this frame.
13610 * event-msw.c (mswindows_drain_windows_queue):
13611 Don't queue a WM_PAINT magic event if one is already queued.
13612 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
13614 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
13616 2000-03-07 Didier Verna <didier@xemacs.org>
13618 * dired.c: #include `regex.h' after `sysfile.h'.
13620 2000-03-06 Martin Buchholz <martin@xemacs.org>
13622 * sound.c (init_nas_sound): Fix compiler warning.
13624 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
13626 (MARK_STRUCT_AS_FREE):
13627 (MARK_STRUCT_AS_NOT_FREE):
13628 Make `gcc -fstrict-aliasing' work properly.
13630 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
13632 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
13633 (mswindows_delete_device): Call CoUnnitialize().
13635 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
13637 2000-02-25 <CraigL@DyCon.com>
13639 * process-nt.c: MinGW now has <shellapi.h>, but still needs
13642 * sysdep.c: This extern declaration for environ prevents MinGW
13643 from finding the variable in CRTDLL.DLL.
13645 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
13647 (SHGFI_EXETYPE): ..
13648 (WM_MOUSEWHEEL): ..
13649 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
13651 (MMRESULT): Removed, now defined in cygwin's windows headers.
13653 (uid_t,gid_t,pid_t,ssize_t): ..
13654 (_timeb): Removed, MinGW defines both _timeb and timeb.
13655 (HAVE_H_ERRNO): Added.
13656 (HAVE_TZNAME): Added, configure is not detecting this.
13658 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
13660 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
13661 * syntax.c (syntax_match): Use it.
13663 * cmds.c: Import auto-fill-chars from FSF Emacs.
13664 (Vauto_fill_chars): New variables.
13665 (internal_self_insert): Check Vauto_fill_chars.
13667 Declare auto-fill-chars as a Lisp variable and initialize it.
13669 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
13671 * fileio.c (Fmake_symbolic_link):
13673 Run handlers even if local machine doesn't have symlinks.
13675 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
13677 * event-msw.c (mswindows_drain_windows_queue):
13678 Don't generate paint magic events for non-XEmacs frames.
13680 2000-03-05 Andy Piper <andy@xemacs.org>
13682 * redisplay.c (redisplay_frame): generate_displayable_area and
13683 friends assumes that we are not in GC, we therefore have to make
13684 sure that this doesn't happen.
13686 * gutter.c (calculate_gutter_size): generate_displayable_area
13687 assumes that we are not in GC, we therefore have to make sure that
13688 this doesn't happen.
13690 2000-03-05 Martin Buchholz <martin@xemacs.org>
13692 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
13694 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13696 * redisplay.c (regenerate_window): Make sure we set a sane value
13697 for end_pos even if we jump out of the loop.
13698 (regenerate_window): Answer Ben's question :-).
13699 (start_end_of_last_line): Add may_error argument.
13700 (start_of_last_line):
13701 (end_of_last_line): Pass may_error = 0.
13702 (end_of_last_line_may_error): New function.
13703 (pixel_to_glyph_translation): Use it, so we don't crash in
13706 2000-03-04 Andy Piper <andy@xemacs.org>
13708 * window.h (struct window): add gutter_extent_modiff.
13710 * window.c (allocate_window): zero out gutter_extent_modiff.
13712 * redisplay.h: declare sync_display_line_structs.
13714 * redisplay.c (add_glyph_rune): add a better comment.
13716 * redisplay-output.c (sync_display_line_structs): made non-static.
13717 (compare_runes): remove unneccesary glyph cachel access.
13719 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
13721 * gutter.c (output_gutter): don't output the gutter if extent
13722 changes only involve extents in buffers. use 4 sets of display
13724 (gutter_extent_signal_changed_region_maybe): new function. Mark
13725 extents in gutters as changed.
13726 (update_frame_gutters): use 4 sets of display lines.
13727 (reset_gutter_display_lines): ditto.
13728 (free_frame_gutters): ditto.
13729 (redraw_exposed_gutter): force output of gutters.
13731 * frame.h (struct frame): add 4 sets of gutter display lines.
13733 * extents.c: (extent_changed_for_redisplay): signal changes to
13734 extents in strings in the gutter as well as extents in buffers.
13736 2000-03-02 Andy Piper <andy@xemacs.org>
13738 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
13740 * frame.c (Fmake_frame): make sure the gutters get initialized
13741 after the frame is visible.
13742 (set_frame_selected_window): re-arrange compilation macros a
13744 (change_frame_size_1): mark gutters changed.
13746 * device.c (Fset_device_class): mark gutters changed.
13748 2000-03-01 Andy Piper <andy@xemacs.org>
13750 * window.c (window_top_frame_gutter_height): deleted.
13751 (window_bottom_frame_gutter_height): ditto.
13752 (window_left_frame_gutter_height): ditto.
13753 (window_right_frame_gutter_height): ditto.
13754 (window_top_gutter_height): don't use them.
13755 (window_bottom_gutter_height): ditto.
13756 (window_left_gutter_width): ditto.
13757 (window_right_gutter_width): ditto.
13758 (Fsplit_window): ditto.
13759 (Fwindow_pixel_edges): don't use border dimensions here.
13761 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
13762 (update_scrollbar_instance): ditto.
13764 * redisplay.c (generate_modeline): don't take gutters into account.
13765 (generate_modeline): ditto.
13766 (redisplay_frame): small gutter display optimization.
13768 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
13770 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
13771 gutters into account.
13773 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
13774 for window position and type.
13776 * gutter.c (get_gutter_coords): fix for frame gutters.
13777 (update_frame_gutters): update frame geometry if the gutters have
13779 (init_frame_gutters): record current gutter geometries.
13781 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
13783 (mswindows_widget_instantiate): ditto.
13785 * frame.h (struct frame): add current_gutter_bounds.
13787 * frame.c (change_frame_size_1): position window and minibuffer
13788 appropriately taking into account the frame gutters.
13790 * frame-x.c: (x_initialize_frame_size): take into account the
13793 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
13795 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
13797 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
13799 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
13801 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13803 * file-coding.c (reset_decoding_stream): Clear previous
13804 detection state when autodetect.
13806 2000-02-29 Didier Verna <didier@xemacs.org>
13808 * extents.c (set_extent_glyph_1): don't require extents to be
13811 2000-02-27 Andy Piper <andy@xemacs.org>
13813 * gutter.c (Fset_default_gutter_position): don't default left and
13814 right gutter visibility to t.
13815 (Fset_default_gutter_position): run
13816 default-gutter-position-changed-hook.
13817 (syms_of_gutter): add default-gutter-position-changed-hook.
13819 2000-02-26 Andy Piper <andy@xemacs.org>
13821 * specifier.c (Fmake_specifier): add gutter references.
13823 * gutter.h (RAW_WINDOW_GUTTER): new macro.
13825 * lisp.h: declare Fvalid_plist_p.
13827 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
13829 (default_gutter_visible_p_changed_in_window): invalidate gutter as
13830 well as its visibility so that it gets reconstructed.
13831 (construct_window_gutter_spec): new function. Construct a string
13832 to be displayed in the gutter from a plist of strings. Take care
13833 to only use elements that are declared as visible.
13834 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
13836 (gutter_validate): allow plists of strings in the specifier.
13837 (gutter_specs_changed): construct the real_gutter from the gutter
13838 specs using construct_window_gutter_spec.
13839 (gutter_visible_validate): gutter-visible is a new specifier type.
13840 (Fgutter_visible_specifier_p): new function for the new specifier.
13841 (syms_of_gutter): declare gutter-visible and
13842 Fgutter_visible_specifier_p.
13843 (specifier_type_create_gutter): intitalize new gutter-visible
13845 (reinit_specifier_type_create_gutter): ditto.
13846 (specifier_vars_of_gutter): use new specifier type for gutter
13848 (init_frame_gutters): construct real_gutter correctly.
13849 (Fgutter_specifier_p): beef up documentation.
13850 (Fgutter_size_specifier_p): ditto.
13852 * winslots.h: add real_gutter slots.
13854 2000-02-25 Andy Piper <andy@xemacs.org>
13856 * device-msw.c: Be kind to older cygwin versions. From Raymond
13857 Toy <toy@rtp.ericsson.se>.
13859 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
13860 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
13862 2000-02-25 Martin Buchholz <martin@xemacs.org>
13864 * elhash.c (MARK_OBJ): Practice macro hygiene.
13866 2000-02-24 Martin Buchholz <martin@xemacs.org>
13868 * miscplay.c: s/__inline__/inline/g;
13869 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
13870 (get_device_compdc): INLINE ==> static inline
13871 * *.[ch]: Change INLINE to INLINE_HEADER globally.
13872 find -name '*.h' | \
13873 xargs global-replace \
13874 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
13876 2000-02-25 Andy Piper <andy@xemacs.org>
13878 * window.c (window_top_frame_gutter_height): new function.
13879 (window_top_window_gutter_height): ditto.
13880 (window_top_gutter_height): use them.
13881 (window_bottom_frame_gutter_height): new function.
13882 (window_bottom_window_gutter_height): ditto.
13883 (window_bottom_gutter_height): use them.
13884 (window_left_window_gutter_width): new function.
13885 (window_left_frame_gutter_width): ditto.
13886 (window_left_gutter_width): use them.
13887 (window_right_window_gutter_width): new function.
13888 (window_right_frame_gutter_width): ditto.
13889 (window_right_gutter_width): use them.
13890 (window_pixel_height): new function. calulate window pixel height
13891 with frame gutter involvement.
13892 (Fsplit_window): calculate new sizes taking frame gutters into
13894 (window_char_height_to_pixel_height): don't include frame gutters.
13895 (window_char_height): use window_pixel_height.
13896 (window_pixheight): rename from window_pixel_height.
13897 (change_window_height): use it.
13898 (window_pixel_height_to_char_height): don't include frame gutters.
13899 (window_char_width_to_pixel_width): ditto.
13901 2000-02-25 Andy Piper <andy@xemacs.org>
13903 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
13906 2000-02-24 Martin Buchholz <martin@xemacs.org>
13908 * alloc.c (staticpro):
13909 (staticpro_nodump):
13914 (compact_string_chars):
13915 (pdump_dump_wired):
13916 Convert: if (foo) abort(); ==> assert (! foo);
13918 * eldap.c (Fldap_search_basic):
13922 Fix compiler warnings, and possible crashes if (random) return
13923 value were to be used.
13925 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13927 * device-msw.c: Workaround ResetDC failure.
13929 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
13930 applying a devmode.
13932 * redisplay-msw.c (get_frame_dc): Added start_page_p.
13933 (mswindows_text_width): Do not start printer page.
13935 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
13937 * glyphs-msw.c: Added image methods to msprinter console and
13938 msprinter-specific image instantiation.
13940 2000-02-20 Mike Alexander <mta@arbortext.com>
13942 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
13943 to avoid crashes when selection-sets-clipboard is on
13944 (mswindows_own_selection): ditto
13946 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13949 * redisplay-msw.c (get_frame_dc):
13950 (get_frame_compdc):
13952 * device-msw.c (mswindows_init_device):
13953 (mswindows_delete_device):
13954 (msprinter_init_device):
13955 (msprinter_delete_device):
13956 * frame-msw.c (mswindows_init_frame_1):
13957 (mswindows_delete_frame):
13958 (msprinter_init_frame_3):
13959 (msprinter_delete_frame): Move compatible DC to device object from
13960 frame object, for both mswindows and msprinter. Only one at a time
13961 is needed, it is a real waste to have one per frame!
13963 2000-02-23 Andy Piper <andy@xemacs.org>
13965 * glyphs.c: add dynamic width and height elements.
13966 (image_instance_equal): ditto.
13968 * glyphs-widget.c (widget_query_geometry): calculate width and
13969 height dynamically if required.
13970 (initialize_widget_image_instance): initialize dynamic dimensions.
13971 (widget_instantiate): pick-up dynamic dimensions.
13973 * glyphs.h (struct Lisp_Image_Instance): add width and height for
13974 dynamic determination. Add appropriate macros.
13976 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
13978 (WINDOW_GUTTER_SIZE): ditto.
13979 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
13981 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
13983 (get_frame_dc): ditto.
13985 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
13988 2000-02-23 Martin Buchholz <martin@xemacs.org>
13990 * XEmacs 21.2.31 is released.
13992 2000-02-22 Ben Wing <ben@xemacs.org>
13994 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
13996 2000-02-22 Andy Piper <andy@xemacs.org>
13998 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
14000 2000-02-21 Mike Sperber <mike@xemacs.org>
14004 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
14007 2000-02-21 Mike Sperber <mike@xemacs.org>
14009 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
14011 2000-02-21 Martin Buchholz <martin@xemacs.org>
14013 * XEmacs 21.2.30 is released.
14015 2000-02-20 Martin Buchholz <martin@xemacs.org>
14017 Performance hacking.
14019 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
14020 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
14021 * emacs.c (main_1):
14023 * console.c (DEFVAR_CONSOLE_LOCAL_1):
14024 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
14025 * symeval.h (DEFVAR_SYMVAL_FWD):
14026 * symbols.c (guts_of_unbound_marker):
14027 Make all c_readonly objects also lisp_readonly and marked for life.
14028 * lrecord.h (struct lrecord_implementation):
14029 Document flags better.
14030 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
14031 * lrecord.h (DECLARE_LRECORD):
14032 * lrecord.h (XSETRECORD):
14033 * lrecord.h (RECORDP):
14034 * lrecord.h (RECORD_TYPEP):
14035 * lrecord.h (RECORD_MARKER): New.
14036 * lrecord.h (error_check_*):
14037 * lrecord.h (CONCHECK_NONRECORD):
14038 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
14039 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
14040 * lrecord.h (set_lheader_implementation):
14041 * lrecord.h (enum lrecord_type): New.
14042 * symeval.h (SYMBOL_VALUE_MAGIC_P):
14043 * alloc.c (disksave_object_finalization_1):
14044 * alloc.c (mark_object):
14045 * alloc.c (lrecord_type_index):
14046 * alloc.c (tick_lcrecord_stats):
14047 * alloc.c (Fgarbage_collect):
14048 * alloc.c (init_alloc_once_early):
14049 * alloc.c (pdump_load):
14050 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
14051 * alloc.c (lrecord_type_index): Delete.
14052 Make lisp object type indexes be constant.
14053 Makes (byte-compile) 5% faster.
14054 Put all marker functions into their own array.
14055 Makes (garbage-collect) 5% faster.
14056 Optimize SYMBOL_VALUE_MAGIC_P.
14057 Makes (byte-compile) 2-3% faster.
14058 * config.h.in (gc_checking_assert): New.
14059 * alloc.c: Use gc_checking_assert().
14060 * .dbxrc: Make compatible with new object type implementation.
14061 * .gdbinit: Make compatible with new object type implementation.
14062 * alloc.c: Delete all symbols defined only for debugging, such as
14063 Lisp_Type_Vector and lrecord_charset.
14065 2000-02-21 Andy Piper <andy@xemacs.org>
14067 * gui-msw.c (Fmswindows_shell_execute): fix file location
14070 * buffer.c (Fkill_buffer): remove buffer from alist buffer
14071 unshowing so that set_window_buffer doesn't undo
14072 kill_buffer_hook's hard work.
14074 * glyphs-widget.c (tab_control_query_geometry): don't count the
14075 first item when calculating geometry.
14077 * glyphs.c (map_subwindow): remove redundant code.
14078 (update_frame_subwindows): be more circumspect about when to
14081 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
14082 when items haven't changed. Update faces if faces have changed as
14083 well as just the widget face.
14084 (x_tab_control_update): Update faces if faces have changed as well
14085 as just the widget face.
14087 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14089 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
14091 (build_syscolor_string): Use mswindows_color_to_string to try to
14093 (mswindows_device_system_metrics): Reverse the foreground and
14094 background colors so that they match the documentation.
14096 * objects-msw.c: (mswindows_X_color_map): tweak some values so
14097 they match the default Windows palette.
14098 (mswindows_color_to_string): New function.
14100 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14102 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
14104 2000-02-18 Olivier Galibert <galibert@pobox.com>
14106 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
14107 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
14109 * symbols.c (init_symbols_once_early): Removed obsolete
14110 DATA_SEG_BITS related kludge.
14111 (defvar_magic): Ditto.
14113 * malloc.c: Removed obsolete DATA_SEG_BITS
14115 * mem-limits.h: Ditto.
14117 * Makefile.in.in: Removed obsolete HAVE_SHM
14120 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14122 * device-msw.c (mswindows_delete_device): Free DDE string
14125 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14127 * keymap.c (get_keyelt):
14128 * unexnt.c (unexec):
14129 * vm-limit.c (memory_warnings):
14130 * ntheap.c (recreate_heap):
14131 * ntheap.h (UNINIT_PTR):
14132 * select-msw.c (Fmswindows_get_clipboard):
14133 (Fmswindows_set_clipboard):
14134 * objects-msw.h (MSWINDOWS_BAD_HFONT):
14136 * menubar-msw.c (displayable_menu_item):
14138 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
14139 * sysdep.c (sys_subshell):
14140 * process-nt.c (nt_create_process):
14141 * nt.c (normalize_filename):
14142 (dostounix_filename):
14143 (unixtodos_filename):
14144 * ntproc.c (win32_executable_type):
14145 * ntplay.c (play_sound_data_1):
14147 * editfns.c (get_home_directory):
14148 * event-msw.c (struct winsock_stream):
14149 (mswindows_dde_callback):
14150 * device-msw.c (msprinter_init_device):
14151 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
14153 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
14154 mswindows_clear_toolbar were swapped!
14156 * objects-msw.c:(colormap_t):
14158 * emacs.c (struct standard_args): Fixed const jumble.
14160 * glyphs-widget.c (update_widget): Fixed comparison notation.
14162 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
14164 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
14165 __declspec(noreturn) syntax.
14167 2000-02-19 Martin Buchholz <martin@xemacs.org>
14169 * eldap.c (Fldap_open):
14170 (Fldap_search_basic):
14173 Use new coding system conversion macros.
14175 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14177 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
14179 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
14181 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
14182 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14184 * eldap.c (Qadd, Qreplace): New constant symbols
14185 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
14186 interruptions by XEmacs signals
14187 Remove unnecessary calls to slow_down_interrupts and
14188 speed_up_interrupts
14189 (Fldap_search_basic): Renamed from Fldap_search_internal
14190 Added new optional parameter VERBOSE that triggers the
14191 display of progress messages
14192 Remove unnecessary calls to slow_down_interrupts and
14193 speed_up_interrupts
14194 LDAP result code analysis rewritten
14195 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14196 (syms_of_eldap): Define the new symbols and functions
14199 2000-02-17 Martin Buchholz <martin@xemacs.org>
14201 * realpath.c: Determine PATH_MAX maximally portably.
14203 * insdel.c (bytecount_to_charcount): Optimize.
14204 The function used to be optimized for entirely ASCII sequences.
14205 Now it is optimized for successive characters from the same
14206 charset. This also wins big for _mostly_ ASCII sequences.
14208 * fileio.c (Ffile_truename): convert return from realpath() using
14209 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
14210 - Rewrite GCPROing slightly.
14212 * sysdep.c (sys_open): Do filename conversion, like all other
14213 sys_* functions. Fixes bug:
14214 (let ((file-name-coding-system 'iso-8859-2))
14215 (write-region x y latin2-name))
14216 ==> writes filename using internal encoding.
14218 2000-02-18 Martin Buchholz <martin@xemacs.org>
14220 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
14221 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
14222 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
14223 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
14224 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
14225 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
14226 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
14227 (CONST_IF_NOT_DEBUG): Delete.
14228 * alloc.c (this_one_is_unmarkable): Delete.
14229 (mark_object): Don't check for this_one_is_unmarkable. Use the
14230 c_readonly flag instead.
14231 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
14233 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
14235 * event-msw.c (mswindows_drain_windows_queue):
14236 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
14237 away redundant repaint events.
14239 2000-02-17 Andy Piper <andy@xemacs.org>
14241 * redisplay.h: declare mark_redisplay_structs.
14243 * redisplay.c (redisplay_window):
14244 (redisplay_frame): don't check subwindows_state_changed.
14245 (mark_redisplay): mark gutters here.
14247 * glyphs.c: (instantiate_image_instantiator): always layout if we
14248 haven't done so already.
14249 (allocate_image_instance): don't mark as dirty.
14250 (update_subwindow): bind inhibit_quit.
14252 * gutter.c (mark_gutters): new function.
14254 * glyphs-x.c (x_update_widget): Always resize to get round a
14257 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
14258 breaking absolutely everything.
14260 * gutter.h: declare mark_gutters.
14262 2000-02-16 Martin Buchholz <martin@xemacs.org>
14264 * XEmacs 21.2.29 is released.
14266 2000-02-15 Olivier Galibert <galibert@pobox.com>
14268 * fns.c (size_bit_vector): Fix computation of the size.
14270 2000-02-15 Martin Buchholz <martin@xemacs.org>
14272 * *.[ch]: Change CONST to const globally.
14273 find -name '*.[ch]' | \
14274 xargs global-replace \
14275 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
14276 - Remove vestigial references to CONST_IS_LOSING
14278 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14280 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
14281 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
14282 events instead of dispatching them directly.
14283 (mswindows_handle_paint): New function to do repainting.
14284 (mswindows_wnd_proc):
14285 (emacs_mswindows_handle_magic_event): Call above function.
14287 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14289 * objects-msw.c (mswindows_create_font_variant): Return the new
14291 (initialize_font_instance): Get font metrics from the underlined
14292 variant of the font to cope with the case where the underlined
14293 font has a bigger descent.
14295 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14297 * gui.c (gui_item_accelerator): Return the first underlined
14298 character in item name.
14300 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14302 * lisp.h: Added Qprinter.
14304 * general.c (syms_of_general): Initialized it.
14306 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
14308 (get_frame_compdc): Made inline.
14310 * console.h (struct console_methods): Added eject_page method.
14312 * frame.h: Added FRAME_DISPLAY_P and friends.
14313 Aligned backslahes in many macros in more readable fashion.
14314 Added page_number to struct frame, and an accessor macro
14317 * defice.h: Added DEVICE_DISPLAY_P and friends.
14319 * device.c (Fdevice_printer_p): Used these.
14321 * frame.c (allocate_frame_core): Initialize page number.
14322 (Fprint_job_page_number):
14323 (Fprint_job_eject_page): Implemented.
14325 * frame-msw.c (msprinter_eject_page): Added method.
14326 (msprinter_start_page): Added.
14328 * window.c (Fwindow_truncated_p): Fixed docstring.
14329 (Fwindow_last_line_visible_height): Implemented.
14331 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14333 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
14335 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14337 * syntax.c (scan_words): Always advance at least one character.
14339 2000-02-13 Andy Piper <andy@xemacs.org>
14341 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
14342 to make sure the glyph is in the cachels.
14344 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
14345 global image instance flag.
14346 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
14347 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
14349 * glyphs.c (allocate_image_instance): set dirty bits correctly.
14350 (Fset_image_instance_property): mark layout as changed.
14351 (invalidate_glyph_geometry_maybe): mark layout as changed.
14352 (glyph_width): use new NEEDS_LAYOUT macro.
14353 (glyph_ascent): ditto.
14354 (glyph_descent): ditto.
14355 (glyph_height): ditto.
14356 (image_instance_layout): mark layout as clean after laying out.
14357 (update_subwindow): don't mark layout as clean here.
14359 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
14360 should no longer be needed.
14362 * glyphs-x.c (x_update_widget): sanitize asserts.
14363 (x_finalize_image_instance): sanitize assignment to widgets.
14365 * glyphs-widget.c (widget_instantiate): don't need to clear the
14368 2000-02-13 Martin Buchholz <martin@xemacs.org>
14370 * sysdep.c (getcwd): Use standard prototype.
14371 * sysdep.h (getcwd): Use standard prototype.
14373 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
14374 (sequence, start, end).
14375 Remove redundant type checking.
14376 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
14377 view of `caller-protects') to avoid a crash where the real fix was
14380 2000-02-12 Martin Buchholz <martin@xemacs.org>
14382 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
14384 * s/sol2.h: Remove feature macro initialization.
14386 * alloc.c (alloc_lcrecord): Add more type checking assertions.
14387 (vector_hash): New. Code from internal_hash.
14389 Fix up allocation subsystem comments.
14391 * config.h.in: Add __EXTENSIONS__ for Solaris.
14393 * systime.h (EMACS_GETTIMEOFDAY): New.
14394 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
14395 Remove Solaris-specific code.
14396 Use void* for the (ignored) second arg for gettimeofday().
14398 * elhash.c (hash_table_hash): Implement it, finally.
14399 * elhash.c: Use hashcode_t.
14401 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
14402 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
14404 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
14405 * fns.c (size_bit_vector):
14406 * alloc.c (size_vector):
14407 (make_vector_internal):
14408 (make_bit_vector_internal):
14409 (sweep_bit_vectors_1):
14410 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
14412 2000-02-10 Martin Buchholz <martin@xemacs.org>
14414 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
14415 Include strings.h to avoid warnings for bzero and strcasecmp.
14417 2000-02-10 Olivier Galibert <galibert@pobox.com>
14419 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
14420 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
14422 * fns.c (size_bit_vector): New. Declare bit vectors as a
14425 2000-02-10 Olivier Galibert <galibert@pobox.com>
14427 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
14428 use a value field instead.
14429 (symbol_value_forward_forward): Use value field.
14430 (DEFVAR_SYMVAL_FWD): Use value field.
14431 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
14432 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
14433 (DEFVAR_CONST_INT): Ditto.
14434 (DEFVAR_BOOL): Ditto.
14435 (DEFVAR_CONST_BOOL): Ditto.
14436 (DEFVAR_INT_MAGIC): Ditto.
14437 (DEFVAR_BOOL_MAGIC): Ditto.
14439 * symbols.c (guts_of_unbound_marker): Use value field.
14440 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
14441 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
14443 * lisp.h: Declare dumpopaque and noninteractive1.
14445 * alloc.c (dumpopaque): Added.
14446 (pdump_dump_opaquevec): Added.
14447 (pdump): Call pdump_dump_opaquevec to dump opaque data.
14448 (pdump_load): Reload opaque data. Sync noninteractive1 with
14451 2000-02-10 Andy Piper <andy@xemacs.org>
14453 * glyphs.c (image_instance_layout): if the size changes, mark it
14456 * redisplay-output.c (redisplay_output_layout): Update the
14458 (redisplay_output_subwindow): ditto.
14460 * glyphs.c (update_subwindow): make sure we reset flags for
14461 layouts as well as everything else.
14463 * glyphs-widget.c (layout_layout): don't need to set the instances
14466 2000-02-09 Martin Buchholz <martin@xemacs.org>
14468 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
14469 not HAVE_DLOPEN, which is a lower-level thing.
14471 * .cvsignore: Ignore gmon.out
14473 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
14475 * .cvsignore: Ignore portable dumper xemacs.dmp file
14477 2000-02-09 Andy Piper <andy@xemacs.org>
14479 * redisplay-output.c (redisplay_output_layout): be more clever
14480 about when we output based on the changed flags.
14482 * glyphs.h (struct image_instantiator_methods): add update_method.
14483 (struct Lisp_Image_Instance): add changed flags. Declare new
14484 macros for manipulating them.
14486 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
14487 (image_instance_parent_glyph): find an image_instance's parent
14488 glyph or image_instance.
14489 (image_instance_layout): mark the size as changed.
14490 (set_image_instance_dirty_p): new function. mark an image
14491 instance, plus all of its parents, as dirty.
14492 (Fset_image_instance_property): use it.
14493 (Fglyph_animated_timeout_handler): use it.
14494 (update_subwindow): call update_widget and device methods for
14495 update_subwindow. Mark all changed flags as clean.
14496 (Fresize_subwindow): mark size as changed.
14498 * glyphs-x.c (x_finalize_image_instance): try and detect gc
14500 (x_update_subwindow): only resize subwindows here.
14501 (x_update_widget): new function. Update all changed properties of
14503 (x_resize_subwindow): deleted.
14504 (x_widget_set_property): deleted.
14505 (x_progress_gauge_set_property): deleted.
14506 (x_progress_gauge_update): new function. Implement recorded
14508 (x_tab_control_update): ditto.
14509 (x_tab_control_set_property): deleted.
14510 (console_type_create_glyphs_x): declare new functions.
14511 (image_instantiator_format_create_glyphs_x): ditto.
14513 * glyphs-widget.c (widget_set_property): mark text changed.
14514 (update_widget): new function. Update properties of a widget.
14515 (widget_instantiate): for layouts make sure we set their
14516 children's parent correctly.
14517 (tab_control_set_property): new function. Record changes that will
14518 take place under redisplay's control.
14519 (progress_gauge_set_property): ditto.
14520 (image_instantiator_progress_guage): declare new functions.
14521 (image_instantiator_tab_control): ditto.
14523 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
14525 (mswindows_update_widget): new function. Update all properties on
14526 a widget that have changed.
14527 (mswindows_button_update): new function. Update a button's set
14529 (mswindows_tab_control_update): new function. Update the items in
14531 (mswindows_tab_control_set_property): deleted.
14532 (mswindows_progress_gauge_update): new function. Update the
14533 progress gauge's progress.
14534 (mswindows_widget_set_property): deleted. This is all done
14535 asynchronously now.
14536 (mswindows_progress_gauge_set_property): ditto.
14537 (console_type_create_glyphs_mswindows): declare new methods.
14538 (image_instantiator_format_create_glyphs_mswindows): ditto.
14540 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
14541 (msprinter_set_frame_properties): ditto.
14543 * console.h (struct console_methods): Add update_widget_method.
14545 2000-02-09 Andy Piper <andy@xemacs.org>
14547 * gui-msw.c (Fmswindows_shell_execute): Make
14548 mswindows-shell-execute industrial strength.
14550 2000-02-08 Martin Buchholz <martin@xemacs.org>
14552 * lrecord.h: Make macro argument `props' match member function `plist'.
14555 * fns.c (Fremprop):
14556 * fns.c (Fobject_plist):
14559 Object property list frobbing cleanup.
14560 - Allow any lisp object (compared with `eq'), not just symbols, as
14561 keys in object plists.
14562 - Move symbol plist frobbing into symbols.c, where it belongs.
14563 - Move string plist frobbing into alloc.c, where it belongs.
14564 - Everything's an lrecord now, so no need to test for symbolp, etc.
14565 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
14567 * extents.c: Reorder code to remove declarations.
14569 * frame.h (store_in_alist): Remove useless declaration.
14571 2000-02-07 Martin Buchholz <martin@xemacs.org>
14573 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
14574 * config.h.in: Add HAVE_XCONVERTCASE.
14576 2000-02-07 Andy Piper <andy@xemacs.org>
14578 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
14579 it breaks many things.
14581 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14583 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
14584 actually can start a common comment type.
14585 * src/syntax.h (SYNTAX_END_P): ditto for end.
14587 2000-02-07 Martin Buchholz <martin@xemacs.org>
14589 * XEmacs 21.2.28 is released.
14591 2000-02-06 Martin Buchholz <martin@xemacs.org>
14593 * event-Xt.c (x_keysym_to_character): New.
14594 (maybe_define_x_key_as_self_inserting_character): New.
14595 (x_has_keysym): New.
14596 Auto-define all keys on the keyboard as self-insert-key.
14598 2000-02-02 Martin Buchholz <martin@xemacs.org>
14600 * menubar.c (vars_of_menubar): A small code simplification.
14602 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
14605 * ExternalClient.c:
14606 * EmacsShell-sub.c:
14609 Use consistent style for specifying X resources.
14611 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
14612 This makes (dontusethis-set-symbol-value-handler) actually usable.
14614 * lrecord.h (lrecord_decription_type):
14615 * alloc.c (pdump_register_sub):
14618 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
14619 Comply with XEmacs coding style.
14620 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
14621 args, and XD_LISP_OBJECT_ARRAY with 3 args.
14623 * keymap.c (Faccessible_keymaps):
14624 Make (accessible-keymaps map "\C-h") do the Right Thing.
14625 Make (accessible-keymaps map []) do the Right Thing.
14626 Make (accessible-keymaps map "") do the Right Thing.
14627 (check_keymap_definition_loop): New function.
14628 (keymap_store_internal): Keep luser from shooting self in foot,
14629 via (define-key ctl-x-4-map "p" global-map).
14630 Remove fullness slot from struct Lisp_Keymap, since hash tables
14632 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
14634 2000-01-30 Martin Buchholz <martin@xemacs.org>
14636 * redisplay.c (init_redisplay): Fix small memory leak.
14638 * elhash.c (pdump_reorganize_hash_table):
14639 Rename from reorganize_hash_table. Change prototype.
14640 Reuse the original memory for hentries. Save 100k.
14641 * alloc.c (PDUMP_READ): new macro.
14642 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
14643 * alloc.c: No need to #ifndef before #undef.
14645 * print.c: Allow debug_print() to print readably by modifying
14646 debug_print_readably. Use consistent variable names.
14648 * .dbxrc: Try to get things to work even if stopped in a function
14649 without source available by explicitly specifying source files.
14650 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14652 * unexnt.c (_start): Removed bogus code which caused loading heap
14653 from differrent executable file.
14654 Removed bogus assignment to _fmode, which caused inconsistencies.
14656 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14658 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
14659 Have spawnve encapsulation regard DONT_ENCAPSULATE.
14660 Do not preliminary `#define signal sigset'.
14662 * systime.h: Do not prototype environ on windows nt and cygwin,
14663 this conflicts with system header.
14665 * syssignal.h: Use correct define for WINDOWSNT
14667 * sysdep.h: Do not prototype environ on windows nt, this conflicts
14668 with system header.
14670 * sysdep.c (near start of file): Fixed commentary and rearranged
14671 ifdefs in readable order.
14672 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
14675 (end_of_data): Do not compile in if using PDUMP.
14677 * symsinit.h: Prototyped vars_of_nt().
14679 * ntproc.c (windows9x_p): Added, instead of os_subtype.
14680 (find_child_console): Use it.
14681 (sys_kill): Use it.
14683 * ntheap.h: Do not extern os_subtype.
14685 * ntheap.c (cache_system_info): Do not cache unneeded:
14686 nt_major_version, nt_minor_version and os_subtype.
14687 (recreate_heap): Do not compile in when PDUMPing.
14689 * nt.c (geteuid and friends): Use the new varibale
14690 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
14691 (init_user_info): Removed the above mentioned hackery.
14692 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
14693 stat has been fixed in the C runtime.
14694 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
14696 * file-coding.c (struct file_coding_dump): Do not define
14697 ucs_to_mule_table in the struct if not MULE.
14698 (struct struct lrecord_description fcd_description_1): Do not dump
14701 * emacs.c (main_1): Call vars_of_nt().
14702 (right before Fdump_emacs_data): Don't need lastfile if using both
14703 portabe dumper and system malloc.
14705 * alloc.c (Fmemory_limit): Conditionalized out.
14706 (pdump): Use OPEN_BINARY for the portable dump file.
14707 (pdump_load): Ditto.
14709 2000-02-02 Mike Alexander <mta@arbortext.com>
14711 * nt.c (convert_time): Set tm_isdst before calling mktime and
14712 avoid calling it at all if the compiler supports 64 bit integers.
14713 Also initialize utc_base_ft before using it.
14715 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14717 * frame.c (change_frame_size_1): Take f->internal_border_width
14718 into consideration when calculating the width of the frame.
14720 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14722 * window.c (frame_min_height):
14723 (frame_size_valid_p):
14724 (frame_pixsize_valid_p): Added.
14725 (check_frame_size): Generalized.
14727 * window.h: Prototyped the above.
14730 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
14731 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
14732 Deleted Vwin32_* and Vbinary_process_* unused variables.
14734 * device-msw.c (msprinter_init_device): Do not get printer font
14735 list; Added DEVMODE functions.
14737 * frame-msw.c: Added lots of printer code.
14739 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
14742 * console-msw.h: Added more msprinter device private slots.
14744 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14746 * event-msw.c (key_needs_default_processing_p): Added.
14747 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
14749 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14751 * glyphs.c (image_instance_layout): Mark image instance as clean
14753 (glyph_dirty_p): Removed redundant function.
14754 (invalidate_glyph_geometry_maybe): Added.
14755 (update_glyph_cachel_data): Call it.
14757 * glyphs.h: Prototyped it.
14759 * redisplay.c (add_glyph_rune): Call it.
14760 (redisplay_window): Reset glyphs cachels when frame faces have
14761 changed, thus forcing recomputation of built-in border glyphs.
14763 2000-01-30 Martin Buchholz <martin@xemacs.org>
14765 * Makefile.in.in: Make portable dumper and purify play well together.
14766 Add imperfect, but better than nothing, support for pdump.
14767 Remove xemacs.dmp when temacs is re-generated.
14768 Don't ignore errors when dumping xemacs.
14770 * symbols.c (maybe_call_magic_handler): Remove one magic number.
14772 2000-01-28 Andy Piper <andy@xemacs.org>
14774 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
14775 (setup_normal_frame): ditto.
14776 (setup_frame_without_minibuffer): ditto.
14777 (setup_minibuffer_frame): ditto.
14778 (delete_frame_internal): ditto.
14779 (Fmake_frame_invisible): ditto.
14780 (Ficonify_frame): ditto.
14782 * window.h: change Fset_window_buffer signature.
14784 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
14785 (Fset_window_buffer): allow recording of buffer if the window is
14786 the selected window.
14787 (window_loop): Use new Fset_window signature.
14789 2000-01-23 Daniel Pittman <daniel@danann.net>
14791 * config.h.in: Added template for `HAVE_ATHENA_3D'
14793 2000-01-29 Andy Piper <andy@xemacs.org>
14795 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
14797 * gutter.c (output_gutter): Don't output if the window isn't live.
14799 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14801 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
14802 of 01/12/00: Moved SetFocus back here where it belongs.
14804 2000-01-23 Andy Piper <andy@xemacs.org>
14806 * s/cygwin32.h: declare printer things.
14808 2000-01-26 Andy Piper <andy@xemacs.org>
14810 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
14813 2000-01-24 Andy Piper <andy@xemacs.org>
14815 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
14816 (mswindows_button_instantiate): Make sure glyph is a pixmap.
14818 * glyphs-widget.c (widget_instantiate): Avoid shadows.
14820 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
14822 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
14824 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
14825 (mswindows_output_display_block): Avoid local shadows.
14827 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
14828 (mswindows_enqueue_mouse_button_event): ditto.
14829 (mswindows_handle_gui_wm_command): remove declaration.
14831 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
14834 * console-msw.h: Avoid shadows.
14835 (mswindows_get_toolbar_button_text):
14836 (emacs_mswindows_create_stream_pair):
14837 (emacs_mswindows_delete_stream_pair):
14838 (mswindows_handle_toolbar_wm_command): declare.
14840 * device-msw.c (build_syscolor_string): Avoid shadows.
14842 2000-01-23 Andy Piper <andy@xemacs.org>
14844 * glyphs-widget.c (widget_instantiate): reverse the items for
14845 layouts so that children are in the expected order.
14847 2000-01-28 Martin Buchholz <martin@xemacs.org>
14849 * ralloc.c: safe_bcopy ==> memmove
14850 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
14851 * s/msdos.h: Remove BCOPY macros.
14852 * insdel.c (gap_right): Remove BCOPY conditional code.
14853 * insdel.c (gap_left): Remove BCOPY conditional code.
14854 XEmacs demands a working ANSI C compiler - hence memmove.
14856 * regex.c (regex_compile): Remove accidental use of trigraphs.
14858 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14860 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
14863 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14865 * event-msw.c (mswindows_drain_windows_queue): Added the
14867 (mswindows_need_event): Commented the call to
14868 mswindows_drain_windows_queue().
14869 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
14872 * console-msw.h: Moved a few function prototypes here from
14875 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
14876 parameter from unsigned short to unsigned long.
14877 (Fmswindows_shell_execute): Added return value.
14879 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
14881 * sysdep.c (init_system_name):
14882 process-unix.c (unix_canonicalized_host_name):
14883 Don't call freeaddrinfo() if getaddrinfo() fails.
14885 * process-unix.c (unix_open_unix_network_stream):
14886 Moved the code to get a port # into address loop.
14888 2000-01-27 Martin Buchholz <martin@xemacs.org>
14890 * buffer.c (reinit_vars_of_buffer):
14891 The right place to initialize conversion_in_dynarr and
14892 conversion_out_dynarr.
14894 * alloc.c (pdump): Use the real open() till sys_open() is functional.
14896 * process-unix.c (unix_canonicalize_host_name): Muleize.
14897 (unix_open_network_stream): Muleize.
14899 * buffer.h: Fix up prototypes for ralloc.c functions.
14901 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
14902 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
14903 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
14904 instead of gethostbyname()
14905 * process-unix.c: In unix_canonicalize_host_name() and
14906 unix_open_network_stream(), add code to use getaddrinfo()
14907 instead of gethostbyname().
14909 2000-01-27 Daniel Pittman <daniel@danann.net>
14911 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
14912 libs when built with flat Athena.
14914 2000-01-27 Martin Buchholz <martin@xemacs.org>
14916 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
14917 Use coding standards for function prototypes.
14919 2000-01-25 Martin Buchholz <martin@xemacs.org>
14921 * dialog-msw.c (push_lisp_string_as_unicode):
14922 * doc.c (unparesseuxify_doc_string):
14923 * dired.c (Fuser_name_completion_1):
14924 * dired.c (Fuser_name_all_completions):
14925 * dired.c (free_user_cache):
14926 * dired.c (user_name_completion):
14927 * console-x.c (get_display_arg_connection):
14928 * minibuf.c (clear_echo_area_internal):
14929 * minibuf.c (echo_area_append):
14930 * eldap.c (Fldap_open):
14931 * eldap.c (Fldap_search_internal):
14932 * frame-x.c (x_set_frame_text_value):
14933 * frame-x.c (x_set_frame_properties):
14934 * frame-x.c (x_create_widgets):
14935 * redisplay-tty.c (term_get_fkeys_1):
14936 * objects-x.c (x_parse_nearest_color):
14937 * objects-x.c (x_valid_color_name_p):
14938 * objects-x.c (x_initialize_font_instance):
14939 * objects-x.c (x_list_fonts):
14940 * objects-x.c (x_find_charset_font):
14941 * tooltalk.c (Fadd_tooltalk_message_arg):
14942 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
14943 * tooltalk.c (Fadd_tooltalk_pattern_arg):
14944 * process-unix.c (unix_create_process):
14945 * ntproc.c (sys_spawnve):
14946 * sound.c (Fplay_sound_file):
14947 * sound.c (Fplay_sound):
14948 * buffer.c (init_initial_directory):
14949 * buffer.c (init_buffer):
14950 * editfns.c (init_editfns):
14951 * editfns.c (Ftemp_directory):
14952 * editfns.c (Fuser_full_name):
14953 * editfns.c (uncache_home_directory):
14954 * editfns.c (get_home_directory):
14955 * editfns.c (Fuser_home_directory):
14956 * editfns.c (Fformat_time_string):
14957 * editfns.c (Fcurrent_time_string):
14958 * gui-x.c (button_item_to_widget_value):
14959 * database.c (Fopen_database):
14960 * event-Xt.c (x_to_emacs_keysym):
14961 * event-Xt.c (x_event_to_emacs_event):
14962 * event-Xt.c (describe_event_window):
14963 * event-msw.c (mswindows_wnd_proc):
14964 * glyphs-eimage.c (jpeg_instantiate):
14965 * glyphs-eimage.c (gif_instantiate):
14966 * glyphs-eimage.c (png_instantiate):
14967 * glyphs-eimage.c (tiff_instantiate):
14968 * glyphs-x.c (xbm_instantiate_1):
14969 * glyphs-x.c (x_xbm_instantiate):
14970 * glyphs-x.c (x_xface_instantiate):
14971 * glyphs-x.c (autodetect_instantiate):
14972 * glyphs-x.c (cursor_font_instantiate):
14973 * glyphs-x.c (x_widget_instantiate):
14974 * glyphs-x.c (x_widget_set_property):
14975 * glyphs-x.c (x_widget_property):
14976 * glyphs-x.c (BUILD_GLYPH_INST):
14977 * print.c (write_string_to_stdio_stream):
14978 * print.c (output_string):
14979 * print.c (Falternate_debugging_output):
14980 * print.c (Fexternal_debugging_output):
14981 * glyphs-msw.c (extract_xpm_color_names):
14982 * glyphs-msw.c (mswindows_xpm_instantiate):
14983 * glyphs-msw.c (bmp_instantiate):
14984 * glyphs-msw.c (resource_name_to_resource):
14985 * glyphs-msw.c (mswindows_resource_instantiate):
14986 * glyphs-msw.c (xbm_instantiate_1):
14987 * glyphs-msw.c (mswindows_xbm_instantiate):
14988 * glyphs-msw.c (mswindows_xface_instantiate):
14989 * glyphs-msw.c (mswindows_widget_instantiate):
14990 * glyphs-msw.c (add_tree_item):
14991 * glyphs-msw.c (add_tab_item):
14992 * glyphs-msw.c (mswindows_combo_box_instantiate):
14993 * glyphs-msw.c (mswindows_widget_property):
14994 * glyphs-msw.c (mswindows_combo_box_property):
14995 * glyphs-msw.c (mswindows_widget_set_property):
14996 * console.c (stuff_buffered_input):
14997 * objects-msw.c (mswindows_initialize_color_instance):
14998 * objects-msw.c (mswindows_valid_color_name_p):
14999 * objects-msw.c (mswindows_list_fonts):
15000 * objects-msw.c (mswindows_font_instance_truename):
15001 * bytecode.c (optimize_compiled_function):
15002 * select-x.c (symbol_to_x_atom):
15003 * select-x.c (x_atom_to_symbol):
15004 * select-x.c (hack_motif_clipboard_selection):
15005 * select-x.c (selection_data_to_lisp_data):
15006 * select-x.c (lisp_data_to_selection_data):
15007 * select-x.c (Fx_get_cutbuffer_internal):
15008 * select-x.c (Fx_store_cutbuffer_internal):
15009 * buffer.h (TO_EXTERNAL_FORMAT): New function.
15010 * buffer.h (TO_INTERNAL_FORMAT): New function.
15011 * emacs.c (make_arg_list_1):
15012 * emacs.c (make_argc_argv):
15013 * emacs.c (main_1):
15014 * emacs.c (Fdump_emacs):
15015 * emacs.c (split_string_by_emchar_1):
15020 * device-x.c (x_init_device):
15021 * device-x.c (Fx_valid_keysym_name_p):
15022 * device-x.c (Fx_get_font_path):
15023 * device-x.c (Fx_set_font_path):
15024 * glyphs.c (bitmap_to_lisp_data):
15025 * glyphs.c (pixmap_to_lisp_data):
15026 * alloc.c (make_ext_string): Use coding system arguments. Update
15028 * alloc.c (build_string):
15029 * callproc.c (child_setup):
15030 * callproc.c (init_callproc):
15031 * fileio.c (lisp_strerror):
15032 * fileio.c (directory_file_name):
15033 * fileio.c (Fexpand_file_name):
15034 * fileio.c (Ffile_truename):
15035 * fileio.c (Fsysnetunam):
15036 * fileio.c (Fdo_auto_save):
15037 * sysdep.c (sys_readdir):
15038 * tests.c: New file. Allow adding C tests.
15039 Replace GET_* macros with a more comprehensible and flexible
15040 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
15042 Any coding system can be used to do format conversion.
15043 Eliminate enum external_data_format.
15044 Eliminate convert_to_external_format.
15045 Eliminate convert_to_internal_format.
15046 Make sure file-name, keyboard, terminal, and ctext are always
15047 defined as coding systems or aliases. Make
15048 file-name-coding-system, terminal-coding-system, and
15049 keyboard-coding-system magical variables that are equivalent to
15050 defining the corresponding coding system aliases.
15052 * file-coding.c (Fcoding_system_canonical_name_p): New function.
15053 * file-coding.c (Fcoding_system_alias_p): New function.
15054 * file-coding.c (Fcoding_system_aliasee): New function.
15055 * file-coding.c (append_suffix_to_symbol): New function.
15056 * file-coding.c (dangling_coding_system_alias_p): New function.
15057 * file-coding.c (Ffind_coding_system):
15058 * file-coding.c (Fcopy_coding_system):
15059 * file-coding.c (encode_coding_no_conversion):
15060 * file-coding.c (syms_of_file_coding):
15061 * file-coding.c (vars_of_file_coding):
15062 Rewrite coding system alias code.
15063 Allow nested aliases, like symbolic links.
15064 Allow redefinition of coding system aliases.
15065 Prevent existence of dangling coding system aliases.
15067 * dired.c (Fuser_name_completion_1):
15068 * dired.c (Fuser_name_all_completions):
15069 A crash would happen if user did QUIT in the middle of building
15070 user_name_cache. Remove redundant code in mainline and unwind_protect.
15073 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
15075 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
15076 an unsigned char *. Update all callers.
15078 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15080 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
15082 2000-01-25 Martin Buchholz <martin@xemacs.org>
15084 * elhash.c (hentry_description): Use more portable definition.
15085 (resize_hash_table): Initialize new hentries using
15086 xnew_array_and_zero, thereby simplifying the code.
15088 * mule-charset.c (make_charset): Make sure entire object is
15089 initialized, to avoid Purify warnings.
15091 * alloc.c (resize_string): Fix unlikely crash with big strings.
15093 2000-01-24 Martin Buchholz <martin@xemacs.org>
15095 * realpath.c (xrealpath):
15096 Don't call getwd().
15098 2000-01-25 Martin Buchholz <martin@xemacs.org>
15100 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
15102 1999-12-28 Max Matveev <max@melbourne.sgi.com>
15104 * unexelfsgi.c (unexec): Change the way we decide which segment
15105 should be extended.
15107 Assumption that .bss section should be outside the PT_LOADable
15108 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
15109 it's present) is inside the 'data' segment. This would fail the
15110 test which was used to find a segment to grow and cover new
15111 heap. Instead of this assumption, I created another one - on IRIX
15112 the segment to grow should start below .bss and it's address
15113 should extent above the end of .bss. Once this segment is
15114 identified, it's grown to accommodate the new heap and new
15115 zero-length .bss section is added at the end of .data2.
15117 2000-01-25 Martin Buchholz <martin@xemacs.org>
15119 * eval.c (Feval): Wrong number of arguments should use original
15120 function, not the indirect_function version of it.
15122 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
15124 * glyphs-x.c (x_button_instantiate): Don't add image if
15125 it is not a pixmap.
15126 (x_locate_pixmap_file): Call Fexpand_file_name when file name
15129 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
15131 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
15133 (DEFVAR_INT_MAGIC): Ditto.
15134 (DEFVAR_BOOL_MAGIC): Ditto.
15135 * glyphs.h: Reindent backslash.
15137 2000-01-24 Martin Buchholz <martin@xemacs.org>
15139 * glyphs-widget.c (layout_query_geometry):
15140 (layout_layout): Use correct types for gheight, gwidth.
15142 2000-01-24 Martin Buchholz <martin@xemacs.org>
15144 * EmacsManager.c (QueryGeometry): Purified.
15146 2000-01-23 Martin Buchholz <martin@xemacs.org>
15148 * alloc.c (make_float): Make sure entire object is initialized, to
15149 avoid Purify warnings.
15150 (pdump_register_sub): Remove useless assignment.
15151 (pdump): Use xmalloc, not malloc.
15152 (pdump_load): Use xmalloc, not malloc.
15154 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15161 * sysdep.c: Removed redundant #include <windows.h>
15163 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15165 * frame.c (delete_frame_internal): Do not delete device when its
15166 implementation so declares.
15167 (delete_frame_internal): Set device selected frame to nil when
15168 last frame goes away.
15170 * device-msw.c (msprinter_device_system_metrics): Implemented.
15171 (mswindows_device_system_metrics): Added 'device-dpi property.
15173 * device.c: (Fdevice_printer_p): Added.
15174 Added 'offset-workspace device metric.
15176 * console.h (device_metrics): Declared DM_offset_workspace.
15178 2000-01-23 Martin Buchholz <martin@xemacs.org>
15180 * fileio.c (Ffile_truename): Remove pointless and confusing
15181 initialization of elen.
15183 * glyphs-widget.c: Compiler warning fixes.
15185 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
15187 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
15188 instead of a Lisp_Object as argument to make it consistent with
15189 the other LIVE_P macros.
15190 (CHECK_LIVE_PROCESS): New macro.
15192 * process.c: Declare Qprocess_live_p.
15193 (Fprocess_live_p): New function.
15194 (create_process): Use PROCESS_LIVE_P.
15195 (read_process_output): Ditto.
15196 (set_process_filter): Ditto.
15197 (Fdelete_process): Ditto.
15198 (kill_buffer_processes): Ditto
15199 (process_send_signal): Use CHECK_LIVE_PROCESS.
15200 (Fprocess_input_coding_system): Check whether process is still
15201 alive (fix PR#1061).
15202 (Fprocess_output_coding_system): Ditto.
15203 (Fprocess_coding_system): Ditto.
15204 (Fset_process_input_coding_system): Ditto.
15205 (Fset_process_output_coding_system): Ditto.
15207 2000-01-23 Andy Piper <andy@xemacs.org>
15209 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
15212 * glyphs.c (mark_image_instance): take into account changed
15213 image_instance format.
15214 (image_instance_equal): ditto.
15215 (image_instance_hash): ditto.
15217 * glyphs-widget.c (widget_instantiate): Incorporate layout
15218 instantiation here. Delay layout of the layout until later.
15219 (layout_instantiate): deleted.
15220 (layout_query_geometry): new function. get the geometry of a
15222 (layout_layout): layout a layout dynamically.
15223 (image_instantiator_widget): New function - splitting up
15224 image_instantiator_format_create_glyphs_widget for netwinder
15226 (image_instantiator_buttons):
15227 (image_instantiator_edit_fields):
15228 (image_instantiator_combo_box):
15229 (image_instantiator_scrollbar):
15230 (image_instantiator_progress_guage):
15231 (image_instantiator_tree_view):
15232 (image_instantiator_tab_control):
15233 (image_instantiator_labels):
15234 (image_instantiator_layout): ditto.
15235 (image_instantiator_format_create_glyphs_widget): Call preceding
15238 2000-01-22 Martin Buchholz <martin@xemacs.org>
15240 * process.c (Fset_process_coding_system):
15241 * device-x.c (Fx_keysym_hash_table):
15244 * lstream.c (Lstream_write): Return documented value, not 0.
15246 * fileio.c (directory_file_name):
15247 (Fsubstitute_in_file_name):
15248 (Fsubstitute_insert_file_contents_internal):
15249 (Fwrite_region_internal):
15254 Remove vestigial APOLLO-conditional code.
15256 2000-01-21 Martin Buchholz <martin@xemacs.org>
15258 * getpagesize.h: Add guard macros.
15259 * libsst.h: Add guard macros.
15260 * libst.h: Add guard macros.
15261 * line-number.h: Add guard macros.
15262 * ndir.h: Add guard macros.
15263 * sysfloat.h: Add guard macros.
15264 * sysfile.h: Add guard macros.
15265 * sysproc.h: Add guard macros.
15266 * syswait.h: Add guard macros.
15267 * xintrinsic.h: Add guard macros.
15268 * xintrinsicp.h: Add guard macros.
15269 * xmmanager.h: Add guard macros.
15270 * xmmanagerp.h: Add guard macros.
15271 * xmprimitive.h: Add guard macros.
15272 * xmu.h: Add guard macros.
15273 * gpmevent.h: Add copyright statement. Add guard macros.
15274 * miscplay.h: Add guard macros.
15275 * *.h: Use consistent C-standards-approved guard macro names.
15277 * opaque.c (make_opaque): Switch parameter order.
15278 * opaque.h (make_opaque): Switch parameter order.
15279 Update all callers.
15280 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
15282 * config.h.in (type_checking_assert): Added.
15283 (bufpos_checking_assert): Added.
15285 2000-01-21 Martin Buchholz <martin@xemacs.org>
15287 * alloc.c: Harmless pdump changes.
15289 - spell alignment correctly.
15290 * sysdep.c: Use countof()
15292 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15294 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
15295 initially_selected_for_input() console method, default to 0.
15296 (semi_canonicalize_console_connection): Try to delegate to
15297 canonicalize_console_connection if no such console method.
15298 (canonicalize_console_connection): Vice versa.
15299 (print_console): Do not print nil connection.
15301 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
15302 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
15303 (XDEVIMPF_FRAMELESS_OK): Added.
15304 (CONSOLE_INHERITS_METHOD): Added.
15306 * console-msw.c (mswindows_canonicalize_console_connection):
15308 (mswindows_canonicalize_device_connection): Added.
15310 * console-msw.h (struct msprinter_device): Added this struct and
15312 (mswindows_device): Made fontlist a lisp object.
15314 * device.c (semi_canonicalize_device_connection): Try to delegate
15315 to canonicalize_device_connection if no such console method.
15316 (canonicalize_device_connection): Vice versa.
15317 (print_device): Do not print nil connection.
15319 * device-msw.c (mswindows_init_device): Call InitCommonControls
15321 (mswindows_delete_device): Removed fontlist deallocation.
15322 (mswindows_mark_device): Added.
15324 * events.c (event_equal): Added abort() at unreached code.
15325 (event_hash): Ditto.
15327 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
15328 fallback tags of Windows devices.
15330 * general.c (syms_of_general): Initialized Qmsprinter.
15332 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
15333 of fallback tags of Windows devices.
15335 * lisp.h: Declared Qmsprinter.
15337 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
15339 (mswindows_list_fonts): Ditto.
15340 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
15341 that it can be used by both mswindows and msprinter devices.
15342 (initialize_font_instance): Added.
15343 (mswindows_initialize_font_instance): Use it.
15344 (msprinter_initialize_font_instance): Added.
15346 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
15347 and implementation flags check.
15348 (redisplay_without_hooks): Changed the call to the above.
15349 (Fredraw_device): Ditto.
15350 (Fredisplay_device): Ditto.
15352 * redisplay-msw.c (get_frame_dc): Implemented.
15353 (get_frame_compdc): Implemented.
15354 (many functions): Use the two functions above to get device
15355 contexts, ether for a window or a printer.
15357 2000-01-21 Olivier Galibert <galibert@pobox.com>
15359 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
15360 initialization here.
15361 (init_symbols_once_early): Call it.
15362 * emacs.c (main_1): Call it.
15363 * symsinit.h: Declare it.
15365 2000-01-19 Olivier Galibert <galibert@pobox.com>
15367 * alloc.c: Use a lrecord_header * in the backtrace instead of a
15369 (pdump_backtrace): Ditto.
15370 (pdump_register_object): Ditto. Cleanup use of the pointers.
15371 (pdump_get_entry): Abort if trying to register a null pointer.
15372 (pdump_dump_data): Cleanup types when relocating.
15373 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
15374 (pdump_dump_rtables): Remove bad casts.
15375 (pdump_load): Cleanup relocation w.r.t union type. Use a
15376 Lisp_Object instead of a EMACS_INT for the hashtable
15379 2000-01-20 Martin Buchholz <martin@xemacs.org>
15381 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
15383 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
15385 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
15387 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
15389 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15391 * faces.h (FACE_STRIKETHRU_P): Added.
15393 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
15396 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
15397 (mswindows_set_dc_font): New function, aware of font variants,
15398 separated from mswindows_update_dc.
15400 * objects-msw.h (struct mswindows_font_instance_data): Added
15403 * objects-msw.c (mswindows_finalize_font_instance): Delete all
15404 cached fonts and the data structure.
15405 (mswindows_initialize_font_instance): Added creation of font data
15407 (mswindows_print_font_instance): Print at least something.
15408 (mswindows_create_font_variant): Implemented.
15409 (mswindows_get_hfont): Implemented.
15411 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
15413 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
15414 prototyping problem with msvc.
15416 * emacs.c (main_1): added syms_of_gui_mswindows() call
15418 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
15419 syms_of_gui_mswindows() function
15421 * symsinit.h: added the prototype for syms_of_gui_mswindows()
15423 2000-01-18 Martin Buchholz <martin@xemacs.org>
15425 * XEmacs 21.2.27 is released.
15427 2000-01-18 Martin Buchholz <martin@xemacs.org>
15429 * glyphs-eimage.c (struct tiff_error_struct):
15431 (tiff_warning_func):
15432 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
15437 * unexec.c: Remove vestigial Lucid C code.
15441 * libsst.c: Ansify.
15442 Remove declarations of errno and strerror().
15444 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
15446 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
15448 2000-01-16 Martin Buchholz <martin@xemacs.org>
15450 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
15453 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15458 Change enum eol_type to eol_type_t.
15460 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15462 * gui.c (get_gui_callback): Check cons before accessing car.
15464 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15466 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
15467 (XSETSPECIFIER_TYPE): Ditto.
15469 2000-01-17 Didier Verna <didier@xemacs.org>
15471 * redisplay.c (generate_fstring_runes): compute string size in
15472 characters, not bytes.
15474 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15476 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
15478 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
15480 * print.c (print_error_message): Call print_prepare().
15482 2000-01-14 Martin Buchholz <martin@xemacs.org>
15484 * .dbxrc: Renamed from dbxrc.
15486 * events.c (event_to_character):
15487 Use `assert (foo)' instead of `if (!foo) abort()'
15489 * .gdbinit (xtype): Add documentation.
15490 * .gdbinit (check-temacs): New function.
15491 * .gdbinit (check-xemacs): New function.
15492 * dbxrc (check-xemacs): New function.
15493 * dbxrc (check-xemacs): New function.
15495 2000-01-14 Andy Piper <andy@xemacs.org>
15497 * glyphs-widget.c (widget_query_geometry): Make sure that we
15498 calculate default dimensions correctly.
15500 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15502 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
15504 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
15505 pdump_wire'd variable.
15507 * emacs.c: (main_1): Conditionalized calls to
15508 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
15510 2000-01-13 Martin Buchholz <martin@xemacs.org>
15512 * window.c (Fset_window_configuration):
15513 * sysdep.c (_start):
15514 * input-method-motif.c (res):
15515 * event-Xt.c (Xt_process_to_emacs_event):
15516 Simple compiler warning fixes.
15518 * bytecode.c (funcall_compiled_function): Use the original
15519 function symbol on the backtrace list in preference to the
15520 compiled_function object in error messages.
15522 2000-01-13 Andy Piper <andy@xemacs.org>
15524 * glyphs-x.c (update_widget_face): Make sure we update the widget
15525 background as well as foreground.
15527 2000-01-13 Andy Piper <andy@xemacs.org>
15529 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
15530 fields to subwindow.
15531 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
15532 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
15533 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15534 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15536 * glyphs-widget.c (check_valid_tab_orientation): new function.
15537 (initialize_widget_image_instance): zero orientation and
15539 (widget_instantiate): pick up orientation.
15540 (tab_control_query_geometry): return appropriate values for
15543 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
15544 appropriate creation flags for left, right and bottom tabs.
15546 * s/cygwin32.h: add tab definitions.
15548 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15550 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
15551 frame upon hiding a subwindow.
15552 (mswindows_button_instantiate): Changed the push button style to
15554 (mswindows_button_instantiate): Removed button BS_NOTIFY
15556 (mswindows_button_instantiate): Removed redundant check for
15557 a disabled gui item.
15558 (mswindows_button_instantiate): Made use of WS_TABSTOP
15559 consistent: "operable" controls (edit, button, tree, scroll) have
15560 this style, "display-only" ones (static, progress gauge) do
15561 not. This style is currently ignored by XEmacs though. Also,
15562 removed the WS_EX_CONTROLPARENT style - it is not for children,
15563 it is for their parents!
15564 (mswindows_edit_field_instantiate): Ditto.
15565 (mswindows_progress_gauge_instantiate): Ditto.
15566 (mswindows_tree_view_instantiate): Ditto.
15567 (mswindows_tab_control_instantiate): Ditto.
15568 (mswindows_scrollbar_instantiate): Ditto.
15569 (mswindows_combo_box_instantiate): Ditto.
15570 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
15571 style to the "clip" window.
15572 (mswindows_button_instantiate): Removed compilation warning by
15573 equally typing terms of the ?: operator.
15575 2000-01-12 Didier Verna <didier@xemacs.org>
15577 * redisplay.c (generate_fstring_runes): new parameter holding the
15578 last modeline-format extent.
15579 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
15580 extent, fill the glyph block with it.
15581 (generate_fstring_runes): handle these parameters.
15582 (generate_formatted_string_db): ditto.
15584 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
15585 glyphs'extents in the modeline.
15587 1999-01-11 Mike Woolley <mike@bulsara.com>
15589 * ntheap.c: Reduced the reserved heap space from 1Gb down to
15590 256Mb, as a workaround for the non-starting problem many people
15593 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15595 * console-tty.c (Fset_console_tty_output_coding_system):
15596 Force redrawing tty frame.
15598 2000-01-10 Didier Verna <didier@xemacs.org>
15600 * redisplay.c (generate_fstring_runes): fix size computation bug.
15602 2000-01-09 William M. Perry <wmperry@aventail.com>
15604 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
15606 2000-01-09 Andy Piper <andy@xemacs.org>
15608 * glyphs-msw.c: index -> i to avoid shadows.
15609 (xbm_create_bitmap_from_data): make static.
15610 (check_valid_string_or_int): deleted.
15611 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
15613 * glyphs-x.c (x_update_subwindow): remove unused args.
15615 * glyphs.c (glyph_image_instance): return the thing. Don't set the
15616 back pointer - this is done in allocate_image_instance.
15617 (query_string_font): return Qnil to make the compiler happy.
15618 (unmap_subwindow): set to ~0 to make the compiler happy.
15619 (glyph_query_geometry): comment out until used.
15620 (glyph_layout): ditto.
15622 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15624 * insdel.c (signal_after_change): Remove extraneous unbind_to().