1 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * mule-charset.c (charset_code_point): Fix problem when searching
4 in mother CCS fails with `defined_only' mode.
6 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
8 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
9 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
10 (put_char_composition): Likewise.
11 (Fput_char_attribute): Likewise.
12 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
14 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
16 * chartab.c (Q_ucs): Deleted.
17 (Fput_char_attribute): Don't refer `->ucs'.
18 (Fdefine_char): Likewise.
19 (Ffind_char): Likewise.
20 (syms_of_chartab): Delete `->ucs'.
22 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
24 * mule-charset.c (Qmap_cns11643_2): Renamed from
25 `Qchinese_cns11643_2'.
26 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
28 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
31 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
33 * mule-charset.c (Qmap_cns11643_1): Renamed from
34 `Qchinese_cns11643_1'.
35 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
37 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
40 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
42 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
43 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
45 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
48 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
50 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
51 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
53 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
56 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
58 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
59 (syms_of_mule_charset): Add new symbol `=big5' instead of
61 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
63 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
65 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
66 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
68 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
71 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
73 * mule-charset.c (Qmap_jis_x0212): Renamed from
75 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
77 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
80 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
82 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
84 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
85 of `japanese-jisx0208'.
86 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
89 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
91 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
92 `Qjapanese_jisx0208_1978'.
93 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
94 of `japanese-jisx0208-1978'.
95 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
98 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
100 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
101 only for XEmacs CHISE.
103 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
105 * char-ucs.h: Compact non-ISO-IR charset-ids.
106 (LEADING_BYTE_UCS): Changed to -177.
107 (LEADING_BYTE_CONTROL_1): Changed to -77.
108 (LEADING_BYTE_UCS_BMP): Changed to -176.
109 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
111 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
113 * mule-charset.c (Qiso_ir): New variable.
114 (Fmake_charset): Recognise new property `iso-ir'.
115 (syms_of_mule_charset): Add new symbol `iso-ir'.
117 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
119 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
120 n to -n; charset-id of non ISO-IR sets are changed to positive
123 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
125 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
126 for &MCS-XXXXXXXX; values.
128 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
130 * mule.c (Vxemacs_chise_version): Renamed from
132 (vars_of_mule): Add new variable `xemacs-chise-version'; define
133 `utf-2000-version' as an alias for `xemacs-chise-version'.
135 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
137 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
138 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
141 * config.h.in (CHISE): New macro.
143 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
145 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
147 (Qmap_ucs): New variable.
148 (syms_of_mule_charset): Add new symbol `=ucs'.
149 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
151 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
152 (simplify_char_spec): Likewise.
154 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
156 * char-ucs.h (Qmap_ucs): New extern variable.
158 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
160 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
161 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
162 don't define it when UTF2000 is not defined.
163 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
164 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
165 when UTF2000 is not defined.
166 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
167 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
169 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
171 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
173 * mule-charset.c (Vcharset_ucs_gb): Deleted.
175 (syms_of_mule_charset): Delete `ucs-gb'.
176 (complex_vars_of_mule_charset): Likewise.
178 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
180 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
182 * mule-charset.c (Vcharset_ucs_cns): Deleted.
184 (syms_of_mule_charset): Delete `ucs-cns'.
185 (complex_vars_of_mule_charset): Likewise.
187 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
189 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
191 * mule-charset.c (Vcharset_ucs_jis): Deleted.
193 (syms_of_mule_charset): Delete `ucs-jis'.
194 (complex_vars_of_mule_charset): Likewise.
196 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
198 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
200 * mule-charset.c (Vcharset_ucs_ks): Deleted.
202 (syms_of_mule_charset): Delete `ucs-ks'.
203 (complex_vars_of_mule_charset): Likewise.
205 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
207 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
208 (Qideograph_daikanwa_2): Deleted.
209 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
210 (complex_vars_of_mule_charset): Likewise.
212 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
213 (LEADING_BYTE_DAIKANWA_1): Deleted.
214 (LEADING_BYTE_DAIKANWA_2): Deleted.
215 (MIN_CHAR_DAIKANWA): Deleted.
216 (MAX_CHAR_DAIKANWA): Deleted.
218 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
220 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
221 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
222 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
224 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
225 (Vcharset_ideograph_daikanwa): Deleted.
226 (Qideograph_hanziku_{1..12}): Deleted.
227 (Qideograph_daikanwa): Deleted.
228 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
229 Vcharset_ideograph_daikanwa.
230 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
231 `ideograph-hanziku-{1..12}'.
232 (complex_vars_of_mule_charset): Likewise.
234 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
236 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
238 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
239 (Qideograph_gt_pj_{1..11}): Deleted.
240 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
241 (complex_vars_of_mule_charset): Likewise.
243 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
245 * mule-charset.c (Vcharset_ucs_big5): Deleted.
246 (Vcharset_ideograph_gt): Deleted.
247 (Qucs_big5): Deleted.
248 (Qideograph_gt): Deleted.
249 (syms_of_mule_charset): Delete symbol `ucs-big5' and
251 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
254 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
255 (LEADING_BYTE_GT): Deleted.
256 (MIN_CHAR_GT): Deleted.
257 (MAX_CHAR_GT): Deleted.
259 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
261 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
263 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
265 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
266 (save_uint16_byte_table): Likewise.
267 (save_byte_table): Likewise; convert values by it.
268 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
269 for `ideographic-structure'.
270 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
271 as the filter for `ideographic-structure'.
273 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
275 * chartab.c (put_char_composition): New function.
276 (Fput_char_attribute): Use `put_char_composition'; use
277 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
279 * fns.c (simplify_char_spec): New function.
280 (char_ref_simplify_spec): New function.
281 (Fchar_refs_simplify_char_specs): New function.
282 (syms_of_fns): Add new builtin function
283 `char-refs-simplify-char-specs'.
285 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
287 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
288 (Qideograph_cbeta): Deleted.
289 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
290 (complex_vars_of_mule_charset): Likewise.
292 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
293 (MIN_CHAR_CBETA): Comment out.
294 (MAX_CHAR_CBETA): Likewise.
296 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
298 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
299 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
300 CHISE client feature.
302 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
304 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
306 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
308 * mule-charset.c (charset_lookup_description_1): Use
309 `NUM_LEADING_BYTES' in UTF-2000.
311 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
313 * char-ucs.h (GC_CHARSETP): Deleted.
315 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
317 * char-ucs.h (MAX_CHAR_GT): Updated.
319 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
321 * text-coding.c: Sync with XEmacs 21.4.10.
323 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
325 * mule-charset.c (Vcharset_china3_jef): Deleted.
326 (Qchina3_jef): Deleted.
327 (syms_of_mule_charset): Don't define `china3-jef'.
328 (complex_vars_of_mule_charset): Likewise.
330 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
331 (MIN_CHAR_CHINA3_JEF): Comment out.
332 (MAX_CHAR_CHINA3_JEF): Comment out.
334 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
336 * mule-charset.c (Vcharset_ucs_gb): New variable.
337 (Qucs_gb): New variable.
338 (syms_of_mule_charset): Add new symbol `ucs-gb'.
339 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
341 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
343 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
345 * mule-charset.c (charset_code_point): if a coded-charset has a
346 final-byte, don't inherit the builtin range of the mother CCS.
348 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
350 * mule-charset.c (charset_code_point): Fix problem about
353 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
355 * mule-charset.c (decode_builtin_char): Reorganized.
357 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
359 * text-coding.c (char_encode_as_entity_reference): Modify for
360 `charset_code_point'.
361 (char_encode_shift_jis): Likewise.
362 (char_encode_big5): Likewise.
363 (char_encode_utf8): Likewise.
364 (char_encode_iso2022): Likewise.
366 * mule-charset.c (charset_code_point): Add new argument
368 (Fencode_char): Add new optional argument `defined_only'.
370 * chartab.c (put_char_table): Modify for `charset_code_point'.
372 * char-ucs.h (charset_code_point): Add new argument
374 (encode_char_1): Modify for `charset_code_point'.
376 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
378 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
379 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
381 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
383 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
384 (Qjis_x0208): Likewise.
385 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
386 XCHARSET_FINAL(charset).
387 (charset_code_point): Modify condition for final-byte based
389 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
390 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
391 in UTF-2000; specify `=jis-x0208' as the mother of
392 `japanese-jisx0208-1978', `japanese-jisx0208' and
393 `japanese-jisx0208-1990' in UTF-2000.
395 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
397 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
399 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
401 * text-coding.c (decode_coding_utf16): Support UTF-16.
402 (char_encode_utf16): Fixed.
404 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
406 * text-coding.c (Qutf16): New variable in MULE.
407 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
408 (Fcoding_system_type): Add `utf-16' in MULE.
409 (struct detection_state): Add a structure for utf16 in MULE.
410 (detect_coding_type): Setup st->utf16.mask in MULE.
411 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
413 (reset_encoding_stream): Use `char_encode_utf16' and
414 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
415 (detect_coding_utf16): New function [incomplete].
416 (decode_coding_utf16): New function [support only UCS-2].
417 (char_encode_utf16): New function.
418 (char_finish_utf16): New function.
419 (syms_of_file_coding): Add new symbol `utf-16'; setup
420 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
422 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
424 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
425 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
427 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
429 * chartab.c (put_char_table): When a charset is specified as a
430 range in UTF-2000, don't support builtin characters.
432 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
434 * mule-charset.c (decode_defined_char): Don't refer external
435 database if Qunbound or Qnil are found.
436 (Fsave_charset_mapping_table): Don't define it if
437 HAVE_CHISE_CLIENT is not defined.
438 (Freset_charset_mapping_table): New function.
439 (load_char_decoding_entry_maybe): Store Qnil if a character is not
440 found in external database.
441 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
442 if HAVE_CHISE_CLIENT is not defined; add new builtin function
443 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
445 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
447 * text-coding.c (decode_coding_utf8): Check CCS is specified or
450 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
452 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
453 Q_lowercase, Q_uppercase in UTF-2000.
455 * chartab.c (get_char_table): Add special code for the standard
456 case table to use character attribute `->downcase' and
457 `->uppercase' for case operations in UTF-2000.
459 * casetab.c (Qflippedcase): New variable in UTF-2000.
460 (Q_lowercase): Likewise.
461 (Q_uppercase): Likewise.
462 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
463 and `->uppercase' in UTF-2000.
464 (complex_vars_of_casetab): Assign attribute name `downcase' to
465 downcase and CANON table of Vstandard_case_table in UTF-2000;
466 assign attribute name `flippedcase' to upcase and EQV table of
467 Vstandard_case_table in UTF-2000.
469 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
471 * text-coding.c (decode_add_er_char): Support isolated-chars.
472 (char_encode_as_entity_reference): Likewise.
474 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
476 * emacs.c (Vutf_2000_lisp_directory): New variable.
477 (Vconfigure_utf_2000_lisp_directory): Likewise.
478 (complex_vars_of_emacs): Add new variable
479 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
481 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
483 * char-ucs.h (DECODE_CHAR): Delete special code for
484 `chinese-big5-1' and `chinese-big5-2'.
486 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
488 (decode_defined_char): Support CONVERSION_BIG5_1 and
490 (decode_builtin_char): Likewise.
491 (charset_code_point): Likewise.
492 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
493 'conversion in UTF-2000.
494 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
495 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
496 `chinese-big5-2' as children of `chinese-big5'.
498 * char-ucs.h (CONVERSION_BIG5_1): New macro.
499 (CONVERSION_BIG5_2): New macro.
501 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
503 * text-coding.c (char_encode_big5): Support entity-reference.
505 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
507 * text-coding.c (char_encode_as_entity_reference): New function.
508 (char_encode_utf8): Use `char_encode_as_entity_reference'.
510 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
512 * text-coding.c (decode_coding_big5): Support entity-reference
515 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
517 * text-coding.c (allocate_coding_system): Initialize initial
518 charsets for CODESYS_UTF8.
519 (Fmake_coding_system): Accept charset-g0, charset-g1 and
520 charset-g2 for CODESYS_UTF8.
521 (decode_coding_utf8): Use charset-g0.
522 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
523 to force variants to map to UCS.
525 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
527 * text-coding.c (Qutf_8_mcs): New variable.
528 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
529 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
530 instead of `utf-8' in UTF-2000.
532 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
534 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
535 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
536 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
537 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
538 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
539 CONVERSION_96x96x96x96 are introduced.
540 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
541 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
542 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
544 * char-ucs.h (CONVERSION_94): New macro.
545 (CONVERSION_96): New macro.
546 (CONVERSION_94x94): New macro.
547 (CONVERSION_96x96): New macro.
548 (CONVERSION_94x94x94): New macro.
549 (CONVERSION_96x96x96): New macro.
550 (CONVERSION_94x94x94x60): New macro.
551 (CONVERSION_94x94x94x94): New macro.
552 (CONVERSION_96x96x96x96): New macro.
554 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
556 * chartab.c (Vcharacter_variant_table): Deleted.
557 (Fchar_variants): Use character-attribute `->ucs-variants' instead
558 of `Vcharacter_variant_table'.
559 (Fput_char_attribute): Likewise.
560 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
561 (complex_vars_of_chartab): Likewise.
563 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
565 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
567 * fns.c (Qideographic_structure): New variable.
568 (Qkeyword_char): New variable.
569 (ids_format_unit): New function.
570 (Fideographic_structure_to_ids): New function.
571 (syms_of_fns): Add new symbols `ideographic-structure' and
572 `:char'; add new builtin function `ideographic-structure-to-ids'.
574 * data.c (Fchar_ref_p): New function.
575 (syms_of_data): Add new builtin function `char-ref-p'.
577 * chartab.h: Add an EXFUN for `Ffind_char'.
579 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
581 * text-coding.c (Vcharacter_composition_table): Deleted.
582 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
585 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
587 (Vcharacter_composition_table): Deleted.
588 (Fget_composite_char): Use the implementation for external-DB
589 support in every UTF-2000.
590 (Fput_char_attribute): Likewise.
591 (char_attribute_system_db_file): Don't define if external-DB
592 feature is not available.
593 (Fsave_char_attribute_table): Likewise.
594 (Fmount_char_attribute_table): Likewise.
595 (Fclose_char_attribute_table): Likewise.
596 (Freset_char_attribute_table): Likewise.
597 (Fload_char_attribute_table): Likewise.
598 (syms_of_chartab): Don't define `save-char-attribute-table',
599 `mount-char-attribute-table', `reset-char-attribute-table',
600 `close-char-attribute-table' and `load-char-attribute-table' if
601 external-DB feature is not available.
602 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
604 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
606 * text-coding.c (Qcomposition): Add extern if external-DB feature
608 (Vcharacter_composition_table): Don't add extern if external-DB
609 feature is supported.
610 (COMPOSE_ADD_CHAR): Modify for new data-representation of
611 character composition rule if external-DB feature is supported.
613 * chartab.c (Vcharacter_composition_table): Don't define if
614 external-DB feature is supported.
615 (Qcomposition): New variable.
616 (Fget_composite_char): New implementation for external-DB support.
617 (Fput_char_attribute): Use `composition' property of each
618 character instead of `Vcharacter_composition_table' to store
619 character-composition rules if external-DB feature is supported.
620 (syms_of_chartab): Add new symbol `composition'.
621 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
622 external-DB feature is supported.
624 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
626 * chartab.c (Vchar_db_stingy_mode): New variable.
627 (load_char_attribute_maybe): Close database if
628 Vchar_db_stingy_mode is not NIL.
629 (Fload_char_attribute_table_map_function): Use
630 `get_char_id_table_0' instead of `get_char_id_table'.
631 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
633 * chartab.h (get_char_id_table_0): New inline function.
634 (get_char_id_table): Use `get_char_id_table_0'.
636 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
638 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
639 and `COMPOSE_ADD_CHAR'.
640 (decode_coding_iso2022): Use `decode_flush_er_chars'.
642 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
644 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
645 instead of `DECODE_ADD_UCS_CHAR'.
646 (COMPOSE_ADD_CHAR): Likewise.
648 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
650 * text-coding.c (decode_flush_er_chars): New inline function.
651 (decode_add_er_char): New function.
652 (decode_coding_utf8): Use `decode_flush_er_chars' and
653 `decode_add_er_char'.
655 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
657 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
658 done before `decode_output_utf8_partial_char'.
660 * mule-charset.c (complex_vars_of_mule_charset): Specify
661 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
662 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
664 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
666 * mule-charset.c (decode_defined_char): New function; search
668 (decode_builtin_char): Don't search mother if
669 XCHARSET_MAX_CODE(charset) == 0.
670 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
671 == 0 even if code >= XCHARSET_MAX_CODE(charset).
672 (Fdecode_char): Use `decode_defined_char' instead of
673 `DECODE_DEFINED_CHAR'.
674 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
675 mother of `Vcharset_ucs_jis'.
677 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
678 instead of `DECODE_DEFINED_CHAR'.
680 * char-ucs.h (decode_defined_char): Renamed from
681 `DECODE_DEFINED_CHAR'; changed to normal function.
682 (DECODE_CHAR): Use `decode_defined_char' instead of
683 `DECODE_DEFINED_CHAR'.
685 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
687 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
689 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
691 * text-coding.c (Vcoded_charset_entity_reference_alist): New
693 (Quse_entity_reference): New variable.
697 (coding_system_description): Add description for
699 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
700 (allocate_coding_system): Initialize `ccs_priority_list' in
702 (Fmake_coding_system): Add description about
703 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
705 (Fcoding_system_property): Accept `disable-composition' and
706 `use-entity-reference' in UTF-2000.
707 (struct decoding_stream): Add new member `er_counter' and `er_buf'
709 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
710 (decode_coding_utf8): Decode entity-reference if
711 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
712 (char_encode_utf8): Encode non-Unicode characters as
713 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
715 (syms_of_file_coding): Add new symbols `use-entity-reference',
717 (vars_of_file_coding): Add new variable
718 `coded-charset-entity-reference-alist'.
719 (complex_vars_of_file_coding): Declare `disable-composition' and
720 `use-entity-reference' to be coding-system-properties in UTF-2000.
722 * file-coding.h (struct Lisp_Coding_System): Add new member
723 `use_entity_reference' and `ccs_priority_list'.
724 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
725 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
726 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
728 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
730 * chartab.c (save_uint8_byte_table): Don't clear the table.
731 (save_uint16_byte_table): Likewise.
732 (save_byte_table): Likewise.
733 (Fmount_char_attribute_table): New function.
734 (syms_of_chartab): Add new builtin function
735 `mount-char-attribute-table'.
737 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
739 * mule-charset.c (Fsave_charset_mapping_table): Open database as
741 (load_char_decoding_entry_maybe): Open database as read-only mode.
743 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
744 open database as "w+" mode.
745 (load_char_attribute_maybe): Open database as read-only mode.
746 (Fload_char_attribute_table): Likewise.
748 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
750 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
751 (char_table_description): Delete member `db_file'.
752 (Fmake_char_table): Don't refer `ct->db_file'.
753 (Fcopy_char_table): Likewise.
754 (Fsave_char_attribute_table): Likewise.
755 (Fclose_char_attribute_table): Likewise.
756 (Freset_char_attribute_table): Likewise.
757 (load_char_attribute_maybe): Likewise.
758 (Fload_char_attribute_table): Likewise.
760 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
762 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
764 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
765 (Fsave_char_attribute_table): Don't check `ct->db_file' if
767 (load_char_attribute_maybe): Likewise.
768 (Fload_char_attribute_table): Likewise.
770 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
772 * chartab.c (Fclose_char_attribute_table): Set Qnil on
773 `ct->db_file' unconditionally.
775 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
777 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
779 (char_table_description): Add description for `db_file' and `db'
781 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
783 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
784 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
785 (Fclose_char_attribute_table): New function.
786 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
787 (load_char_attribute_maybe): Change interface; use `cit->db_file'
789 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
790 (syms_of_chartab): Add new builtin function
791 `Fclose_char_attribute_table'.
793 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
795 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
797 (load_char_attribute_maybe): Change interface.
798 (get_char_id_table): Modify for `load_char_attribute_maybe'.
800 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
802 * database.h: Add an EXFUN for `Fdatabase_live_p'.
804 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
806 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
807 instead of `DECODE_CHAR' for mother; don't use special code for
808 chinese-big5 to use code space of chinese-big5-1 and
810 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
811 `MAX_CHAR_BIG5_CDP' for chinese-big5.
813 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
814 (MAX_CHAR_BIG5_CDP): Revival.
816 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
818 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
819 the XLFD registry-encoding name of `chinese-big5'.
821 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
823 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
824 (Qchinese_big5_cdp): Deleted.
825 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
826 (complex_vars_of_mule_charset): Delete coded-charset
829 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
830 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
831 `CHARSET_ID_OFFSET - n' for private CCS.
832 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
833 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
834 of `MIN_LEADING_BYTE'.
835 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
836 `(CHARSET_ID_OFFSET - 97)'.
837 (MIN_CHAR_BIG5_CDP): Deleted.
838 (MAX_CHAR_BIG5_CDP): Deleted.
840 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
842 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
844 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
846 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
847 (vars_of_mule): Add new variable `utf-2000-version' [moved from
850 * chartab.c (Vutf_2000_version): Moved to mule.c.
851 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
853 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
855 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
856 when HAVE_CHISE_CLIENT is not defined.
858 * mule.c (vars_of_mule): Provide feature `chise' when
859 HAVE_CHISE_CLIENT is defined.
861 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
863 * config.h.in (UTF2000): Add comment.
864 (HAVE_CHISE_CLIENT): New macro.
866 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
868 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
870 (Fput_char_attribute): Likewise.
871 (char_attribute_system_db_file): Encode file-name of attribute.
872 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
875 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
877 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
878 (Fsave_charset_mapping_table): Use
879 `char_attribute_system_db_file'.
880 (load_char_decoding_entry_maybe): Likewise.
882 * chartab.h (Qsystem_char_id): New external variable.
883 (char_attribute_system_db_file): New prototype.
885 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
886 (char_attribute_system_db_file): New function.
887 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
888 (Freset_char_attribute_table): Likewise.
889 (load_char_attribute_maybe): Likewise.
890 (Fload_char_attribute_table): Likewise.
891 (syms_of_chartab): Add new symbol `system-char-id'.
893 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
895 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
896 `XCHARSET_GRAPHIC(ccs)'.
898 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
900 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
902 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
904 * chartab.c (Q_ucs_variants): New variable.
905 (syms_of_chartab): Add new symbol `->ucs-variants'.
906 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
907 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
908 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
910 * mule-charset.c (load_char_decoding_entry_maybe): New function.
912 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
913 `HAVE_DATABASE' is defined.
914 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
915 `HAVE_DATABASE' is defined.
917 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
919 * chartab.c (Fsave_char_attribute_table): Don't clear internal
921 (Freset_char_attribute_table): New function.
922 (syms_of_chartab): Add new builtin function
923 `reset-char-attribute-table'.
925 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
927 * chartab.c (load_char_attribute_maybe): Don't make directories.
929 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
931 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
933 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
936 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
938 * mule-charset.c (Fsave_charset_mapping_table): Use
939 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
941 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
942 instead of `XCHARSET_CHARS'.
944 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
946 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
947 (XCHARSET_BYTE_SIZE): Likewise.
949 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
951 (XCHARSET_BYTE_SIZE): Likewise.
953 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
955 * chartab.c (Fput_char_attribute): Use exec-directory instead of
956 data-directory to store database.
957 (Fsave_char_attribute_table): Likewise.
958 (load_char_attribute_maybe): Likewise.
959 (Fload_char_attribute_table): Likewise.
961 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
963 * mule-charset.c (Fsave_charset_mapping_table): New function.
964 (syms_of_mule_charset): Add new builtin function
965 `save-charset-mapping-table'.
967 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
969 * char-ucs.h (decoding_table_check_elements): Delete prototype.
970 (get_ccs_octet_table): New inline function.
971 (put_ccs_octet_table): Likewise.
972 (decoding_table_put_char): Use `get_ccs_octet_table' and
973 `put_ccs_octet_table'.
974 (decoding_table_remove_char): Use `decoding_table_put_char'.
975 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
977 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
979 (make_charset): Use Qunbound instead Qnil as initial value of
982 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
984 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
985 element is Qunloaded.
986 (map_over_uint16_byte_table): Likewise.
987 (map_over_byte_table): Likewise.
988 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
989 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
990 database support, load encoding-table of the specified
991 coded-charset if it is not loaded yet.
992 (save_uint8_byte_table): New function of UTF-2000 with external
994 (save_uint16_byte_table): Likewise.
995 (save_byte_table): Likewise.
996 (Fput_char_attribute): Don't store value into external database
997 even if the external database feature is supported in UTF-2000;
998 set `attribute' as name of char-table if the external database
999 feature is supported.
1000 (Fsave_char_attribute_table): New function in UTF-2000.
1001 (syms_of_chartab): Add new builtin function
1002 `save-char-attribute-table' in UTF-2000.
1004 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1006 * chartab.c (char_attribute_table_to_put): New variable in
1008 (Qput_char_table_map_function): Likewise.
1009 (value_to_put): Likewise.
1010 (Fput_char_table_map_function): New function in UTF-2000.
1011 (put_char_table): Use `Fmap_char_attribute' for
1012 CHARTAB_RANGE_CHARSET in UTF-2000.
1013 (Fput_char_attribute): Store symbol instead of string in
1014 `XCHAR_TABLE_NAME (table)'.
1015 (load_char_attribute_maybe): Likewise.
1016 (syms_of_chartab): Add new symbol/function
1017 `put-char-table-map-function'.
1019 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1021 * database.h: Add new EXFUN for `Fmap_database'.
1023 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
1024 (syms_of_database): Likewise.
1026 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
1028 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
1029 (XCHAR_TABLE_UNLOADED): Likewise.
1031 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
1032 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
1033 HAVE_DATABASE is defined.
1034 (char_attribute_table_to_load): New variable of UTF-2000 with
1035 external database support.
1036 (Qload_char_attribute_table_map_function): Likewise.
1037 (Fload_char_attribute_table_map_function): New function of
1038 UTF-2000 with external database support.
1039 (Fload_char_attribute_table): New function of UTF-2000.
1040 (Fmap_char_attribute): Call Fload_char_attribute_table if
1041 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
1042 (syms_of_chartab): Add new symbol and function
1043 `load-char-attribute-table-map-function' in UTF-2000 with external
1044 database support; add new function `load-char-attribute-table' in
1047 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1049 * chartab.h (load_char_attribute_maybe): New prototype for
1050 UTF-2000 with DATABASE support.
1051 (get_char_id_table): Use `load_char_attribute_maybe' if
1052 HAVE_DATABASE is defined.
1054 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1055 with DATABASE support.
1057 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1059 * chartab.c (Fput_char_attribute): Use S-expression as key of
1062 * chartab.h (get_char_id_table): Use S-expression as key of
1065 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1067 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1068 if an element is not loaded, load the corresponding attributes
1069 from an external database.
1070 (map_over_uint16_byte_table): Likewise.
1071 (map_over_byte_table): Likewise.
1072 (map_char_table): Modify for `map_over_uint8_byte_table',
1073 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1074 element is not loaded, load the corresponding attributes from an
1076 (Fput_char_attribute): Change initial values to Qunloaded.
1078 * chartab.h (get_char_id_table): If a character attribute is not
1079 loaded and the attribute value is not found in an external
1080 database, store Qunbound as the attribute value.
1082 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1084 * chartab.c (BT_UINT8_unloaded): New macro.
1085 (UINT8_VALUE_P): Accept Qunloaded.
1086 (UINT8_ENCODE): Likewise.
1087 (UINT8_DECODE): Likewise.
1088 (BT_UINT16_unloaded): New macro.
1089 (UINT16_VALUE_P): Accept Qunloaded.
1090 (UINT16_ENCODE): Likewise.
1091 (UINT16_DECODE): Likewise.
1092 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1094 (mark_char_table): Mark `ct->name' in UTF-2000.
1095 (char_table_description): Add `name' in UTF-2000.
1096 (Fmake_char_table): Initialize `ct->name'.
1097 (Fcopy_char_table): Copy `ct->name'.
1098 (Fput_char_attribute): Store value into an external database if
1099 HAVE_DATABASE is defined.
1101 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
1103 (CHAR_TABLE_NAME): New macro in UTF-2000.
1104 (XCHAR_TABLE_NAME): New macro in UTF-2000.
1105 (get_char_id_table): Try to read an external database if Qunloaded
1106 is stored in a table.
1108 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
1111 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1113 * database.h: Add EXFUN definitions for Fopen_database,
1114 Fput_database, Fget_database and Fclose_database.
1116 * data.c (Qunloaded): New variable in UTF-2000.
1118 * lisp.h (Qunloaded): New variable in UTF-2000.
1120 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1122 * mule-charset.c (put_char_ccs_code_point): Modify for
1123 `decoding_table_remove_char' and `decoding_table_put_char'.
1124 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1126 * char-ucs.h (decoding_table_remove_char): Change arguments to
1127 hide decoding_table vector.
1128 (decoding_table_put_char): Likewise.
1130 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1132 * mule-charset.c (decoding_table_remove_char): Moved to
1134 (decoding_table_put_char): Likewise.
1136 * char-ucs.h (decoding_table_check_elements): New prototype [moved
1137 from mule-charset.c].
1138 (decoding_table_remove_char): New inline function [moved from
1140 (decoding_table_put_char): Likewise.
1142 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1144 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
1147 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1149 * mule-charset.c (decode_builtin_char): Support mother charsets.
1151 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1153 * mule-charset.c (Q94x94x60): New variable.
1154 (charset_code_point): Support conversion `94x94x60'.
1155 (Fmake_charset): Likewise.
1156 (syms_of_mule_charset): Add new symbol `94x94x60'.
1158 * char-ucs.h (CONVERSION_94x94x60): New macro.
1160 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1162 * mule-charset.c (charset_code_point): Unify code about
1165 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1167 * mule-charset.c (charset_code_point): Merge code about builtin
1168 characters into code about mother charsets; don't use
1169 `range_charset_code_point'.
1170 (range_charset_code_point): Deleted.
1172 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1174 * mule-charset.c (Qcode_offset): New variable.
1175 (Fmake_charset): Use `XUINT' to get value of `min-code' and
1176 `max-code'; accept new property `code-offset'.
1177 (syms_of_mule_charset): Add new symbol `code-offset'.
1179 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1181 * mule-charset.c (range_charset_code_point): Fixed.
1183 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1185 * mule-charset.c (decode_builtin_char): Change semantics of
1186 code-offset of coded-charset.
1187 (charset_code_point): Likewise.
1188 (range_charset_code_point): Likewise.
1189 (complex_vars_of_mule_charset): Modify for the change.
1191 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1193 * mule-charset.c (Fencode_char): Reverse arguments.
1195 * mule-charset.c (charset_code_point): Fixed.
1197 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1199 * mule-charset.c (Vcharset_mojikyo): Deleted.
1200 (Vcharset_mojikyo_2022_1): Deleted.
1201 (Vcharset_mojikyo_pj_{1..21}): Deleted.
1202 (Qmin_code): New variable in UTF-2000.
1203 (Qmax_code): Likewise.
1204 (Qmother): Likewise.
1205 (Qconversion): Likewise.
1207 (Qmojikyo): Deleted.
1208 (Qmojikyo_2022_1): Deleted.
1209 (Qmojikyo_pj_{1..22}): Deleted.
1210 (mark_charset): Mark `cs->mother'.
1211 (charset_description): Add description for `mother'.
1212 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
1213 new arguments `mother' and `conversion'; use
1214 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
1215 (charset_code_point): Moved from char-ucs.h; support `mother'
1217 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
1218 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
1219 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
1220 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
1221 allow 2 as the value of `graphic' in UTF-2000; add new properties
1222 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
1223 require `final' in UTF-2000; modify for `make_charset'.
1224 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
1225 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
1226 (Fcharset_property): Support `mother', `min-code' and `max-code'.
1227 (Fencode_char): New function.
1228 (syms_of_mule_charset): Add new builtin function `encode-char' in
1229 UTF-2000; add new symbols `min-code', `max-code', `mother',
1230 `conversion' and `94x60'; delete symbols `mojikyo',
1231 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
1232 (complex_vars_of_mule_charset): Modify for `make_charset' change;
1233 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
1234 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
1236 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
1237 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
1239 * char-ucs.h (Vcharset_mojikyo): Deleted.
1240 (Vcharset_mojikyo_2022_1): Deleted.
1241 (LEADING_BYTE_MOJIKYO): Deleted.
1242 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
1243 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
1244 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
1245 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
1246 add new member `mother'; add new member `conversion'.
1247 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
1248 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
1249 (CHARSET_MOTHER): New macro.
1250 (CHARSET_CONVERSION): New macro.
1251 (CONVERSION_IDENTICAL): New macro.
1252 (CONVERSION_94x60): New macro.
1253 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
1254 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
1255 (XCHARSET_MOTHER): New macro.
1256 (XCHARSET_CONVERSION): New macro.
1257 (MIN_CHAR_MOJIKYO): Deleted.
1258 (MAX_CHAR_MOJIKYO): Deleted.
1259 (DECODE_MOJIKYO_2022): Deleted.
1260 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
1261 (charset_code_point): Changed to non-inline function.
1262 (encode_char_1): Use `charset_code_point'.
1263 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
1265 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1267 * lread.c (read_compiled_function): Fix prototype.
1268 (read_vector): Likewise.
1270 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1272 * lrecord.h (struct lrecord_header): Delete `older'.
1273 (set_lheader_implementation): Delete code for `older'.
1274 (set_lheader_older_implementation): Deleted.
1275 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
1276 (OLDER_RECORD_P): Deleted.
1277 (OLDER_RECORD_HEADER_P): Deleted.
1278 (alloc_older_lcrecord): Deleted.
1279 (alloc_older_lcrecord_type): Deleted.
1281 * alloc.c (all_older_lcrecords): Deleted.
1282 (alloc_older_lcrecord): Deleted.
1283 (disksave_object_finalization_1): Delete code for older objects.
1284 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
1285 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
1287 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1289 * mule-charset.c (decoding_table_put_char): Use `make_vector'
1290 instead of `make_older_vector'.
1291 (put_char_ccs_code_point): Likewise.
1292 (mark_charset): Mark `cs->decoding_table'.
1293 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
1295 * lisp.h (make_older_vector): Deleted.
1296 (make_vector_newer): Deleted.
1298 * config.h.in (HAVE_GGC): Deleted.
1300 * alloc.c (make_older_vector): Deleted.
1301 (make_vector_newer_1): Deleted.
1302 (make_vector_newer): Deleted.
1304 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1306 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
1307 (Qideograph_daikanwa_2): New variable.
1308 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
1309 (complex_vars_of_mule_charset): Add new coded-charset
1310 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
1311 `LEADING_BYTE_DAIKANWA'.
1313 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
1314 (LEADING_BYTE_DAIKANWA_1): New macro.
1315 (LEADING_BYTE_DAIKANWA_2): New macro.
1316 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
1318 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1320 * mule-charset.c (complex_vars_of_mule_charset): Change
1321 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
1322 the second revised version.
1324 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1326 * mule-charset.c (Vcharset_ucs_smp): New variable.
1327 (Vcharset_ucs_sip): New variable.
1328 (Qucs_smp): New variable.
1329 (Qucs_sip): New variable.
1330 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
1331 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
1332 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
1333 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
1334 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
1335 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
1337 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
1338 (LEADING_BYTE_UCS_SIP): New macro.
1339 (MIN_CHAR_SMP): New macro.
1340 (MAX_CHAR_SMP): New macro.
1341 (MIN_CHAR_SIP): New macro.
1342 (MAX_CHAR_SIP): New macro.
1344 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
1346 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
1349 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1351 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
1352 value; don't store value into `encoding_table' of `Lisp_Charset'.
1353 (mark_charset): `encoding_table' was deleted.
1354 (charset_description): Likewise.
1355 (make_charset): Likewise.
1356 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
1357 `put_char_ccs_code_point'.
1359 * chartab.h (Fput_char_attribute): New EXFUN.
1361 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
1362 is unified with normal symbol space.
1363 (Fget_char_attribute): Likewise.
1364 (Fput_char_attribute): Likewise; behavior of
1365 `put_char_ccs_code_point' is changed.
1367 * char-ucs.h: Include "elhash.h".
1368 (Vchar_attribute_hash_table): New external variable.
1369 (struct Lisp_Charset): Delete `encoding_table'.
1370 (CHARSET_ENCODING_TABLE): New implementation; refer
1371 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
1374 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1376 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
1379 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1381 * text-coding.c (char_encode_big5): Prefer charset-g1 than
1384 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1386 * chartab.c (uint8_byte_table_description): New constant.
1387 (uint8-byte-table): Use `uint8_byte_table_description'.
1388 (uint16_byte_table_description): New constant.
1389 (uint16-byte-table): Use `uint16_byte_table_description'.
1391 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1393 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
1394 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
1396 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1398 * mule-charset.c (Vcharset_ucs_ks): New variable.
1399 (Qucs_ks): New variable.
1400 (syms_of_mule_charset): Add new symbol `ucs-ks'.
1401 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
1403 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
1405 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1407 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
1408 (Fdecode_char): Likewise.
1410 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
1412 (Fdefine_char): Modify for Fdecode_char.
1413 (Ffind_char): Likewise.
1415 * mule-charset.c (Fdecode_char): Add new optional argument
1417 (Fdecode_builtin_char): Modify for `Fdecode_char'.
1419 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1421 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
1422 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
1423 (allocate_coding_system): Initialize initial-charsets of
1424 CODESYS_BIG5 in XEmacs UTF-2000.
1425 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
1426 CODESYS_BIG5 in XEmacs UTF-2000.
1427 (decode_coding_big5): Use initial-charset-g0 and -g1 of
1428 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
1430 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
1432 (Qideograph_hanziku_{1 .. 12}): Likewise.
1433 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
1435 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
1436 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
1437 `ideograph-hanziku-{1 .. 12}'.
1439 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
1440 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
1441 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
1442 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
1443 (DECODE_DEFINED_CHAR): New inline function.
1444 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
1446 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1448 * mule-charset.c (Vcharset_china3_jef): Renamed from
1449 `Vcharset_japanese_jef_china3'.
1450 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
1451 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
1452 `{MIN|MAX}_CHAR_JEF_CHINA3'..
1453 (syms_of_mule_charset): Rename `china3-jef' from
1454 `japanese-jef-china3'.
1455 (complex_vars_of_mule_charset): Likewise; rename
1456 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
1458 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
1459 `LEADING_BYTE_JEF_CHINA3'.
1460 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
1461 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
1463 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1465 * mule-charset.c (encode_builtin_char_1): Comment out special code
1466 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
1468 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
1469 (MAX_CHAR_MOJIKYO_0): Comment out.
1470 (MIN_CHAR_CBETA): Changed to 0x00E20000.
1471 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
1472 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
1473 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
1475 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1477 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
1478 (Qideograph_cbeta): New variable.
1479 (encode_builtin_char_1): Comment out special code for
1480 coded-charset `mojikyo' and `japanese-jef-china3'.
1481 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
1482 (complex_vars_of_mule_charset): Add new coded-charset
1485 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
1486 (MIN_CHAR_CBETA): New macro.
1487 (MAX_CHAR_CBETA): New macro.
1489 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1491 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
1492 (LEADING_BYTE_JEF_CHINA3): New macro.
1493 (MIN_CHAR_JEF_CHINA3): New macro.
1494 (MAX_CHAR_JEF_CHINA3): Likewise.
1495 (DECODE_CHAR): Fixed.
1497 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1499 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
1500 (Qjapanese_jef_china3): New variable.
1501 (encode_builtin_char_1): Support `japanese-jef-china3'.
1502 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
1503 (complex_vars_of_mule_charset): Add new coded-charset
1504 `japanese-jef-china3'.
1506 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1508 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
1509 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
1510 94^4, 96^3, 96^4, 128^n and 256^n set.
1511 (put_char_table): Use `XCHARSET_CELL_RANGE'.
1512 (map_char_table): Likewise.
1514 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1516 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
1519 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1521 * chartab.h (get_char_id_table): New inline function.
1523 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
1526 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1528 * chartab.h (decode_char_table_range): New prototype in XEmacs
1530 (put_char_id_table): New inline function in XEmacs UTF-2000.
1532 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
1534 (decode_char_table_range): Delete static declaration in XEmacs
1537 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1539 * chartab.c (put_char_id_table): Use `put_char_table'.
1541 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1543 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
1544 (map_over_uint16_byte_table): Likewise.
1545 (map_over_byte_table): Likewise.
1546 (map_char_table): Modify for `map_over_uint8_byte_table',
1547 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
1550 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1552 * chartab.c (struct map_char_table_for_charset_arg): New
1554 (map_char_table_for_charset_fun): New function.
1555 (map_char_table): Use `map_char_table' for encoding_table of
1558 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1560 * chartab.c (map_char_table): Check a character is found in
1561 range->charset instead of non default value is defined in
1562 char-table when range is CHARTAB_RANGE_ROW.
1564 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1566 * chartab.c (map_char_id_table): Deleted.
1567 (Fmap_char_attribute): Use `map_char_table' instead of
1568 `map_char_id_table'.
1570 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1572 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
1574 (update_syntax_table): Deleted in XEmacs UTF-2000.
1576 * syntax.c (find_defun_start): Use `syntax_table' instead of
1577 `mirror_syntax_table' in XEmacs UTF-2000.
1578 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
1580 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
1582 (Fmatching_paren): Likewise.
1583 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
1585 (find_start_of_comment): Likewise.
1586 (find_end_of_comment): Likewise.
1587 (Fforward_comment): Likewise.
1588 (scan_lists): Likewise.
1589 (char_quoted): Likewise.
1590 (Fbackward_prefix_chars): Likewise.
1591 (scan_sexps_forward): Likewise.
1592 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
1593 (update_syntax_table): Likewise.
1595 * search.c (skip_chars): Use `syntax_table' instead of
1596 `mirror_syntax_table' in XEmacs UTF-2000.
1597 (wordify): Likewise.
1598 (Freplace_match): Likewise.
1600 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
1601 `mirror_syntax_table' in XEmacs UTF-2000.
1602 (WORDCHAR_P_UNSAFE): Likewise.
1603 (re_match_2_internal): Likewise.
1605 * font-lock.c (find_context): Use `buf->syntax_table' instead of
1606 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1608 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
1609 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
1611 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
1614 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
1616 (print_char_table): Print `default_value' in XEmacs UTF-2000.
1617 (char_table_description): Delete `mirror_table' in XEmacs
1619 (fill_char_table): Don't call `update_syntax_table' in XEmacs
1621 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
1622 (Fcopy_char_table): Likewise.
1623 (put_char_table): Don't call `update_syntax_table' in XEmacs
1626 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
1627 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1628 (casify_region_internal): Likewise.
1630 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
1632 * buffer.c (common_init_complex_vars_of_buffer): Don't use
1633 `mirror_syntax_table' in XEmacs UTF-2000.
1635 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
1636 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1637 (Fexpand_abbrev): Likewise.
1639 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1641 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
1643 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1645 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
1646 (map_over_uint16_byte_table): Likewise.
1647 (map_over_byte_table): Likewise.
1648 (get_char_id_table): Refer `cit->default_value'.
1649 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1650 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
1651 of character-id ranges.
1652 (mark_char_table): Mark `ct->default_value'.
1653 (char_table_description): Add `default_value'.
1654 (fill_char_table): Use `default_value'.
1655 (decode_char_table_range): Decode `nil' as
1656 `CHARTAB_RANGE_DEFAULT'.
1657 (get_char_id_table): Refer `cit->default_value'.
1658 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1659 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
1660 temporary hack; check value of char-table is bound or not.
1661 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
1663 * chartab.h (struct Lisp_Char_Table): Add new member
1664 `default_value' in XEmacs UTF-2000.
1665 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
1666 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
1669 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1671 * chartab.h (Lisp_Char_ID_Table): Deleted.
1673 * chartab.c (char_table_description): Fix typo.
1674 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
1675 `Lisp_Char_ID_Table'.
1677 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1679 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
1682 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
1685 * chartab.h (XCHAR_ID_TABLE): Deleted.
1686 (XSETCHAR_ID_TABLE): Deleted.
1687 (CHAR_ID_TABLE_P): Deleted.
1689 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
1691 (Fget_composite_char): Likewise.
1692 (put_char_table): Likewise.
1693 (add_char_attribute_alist_mapper): Fixed.
1694 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
1696 (Fget_char_attribute): Likewise.
1697 (Fget_char_attribute): Likewise.
1698 (Fmap_char_attribute): Likewise.
1700 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
1702 (encode_char_1): Likewise.
1704 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1706 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
1709 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
1710 instead of `XCHAR_ID_TABLE'.
1711 (remove_char_ccs): Likewise.
1713 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
1715 (Fget_composite_char): Likewise.
1716 (Fchar_variants): Likewise.
1717 (put_char_table): Likewise.
1718 (add_char_attribute_alist_mapper): Likewise.
1719 (Fchar_attribute_alist): Likewise.
1720 (Fget_char_attribute): Likewise.
1721 (Fput_char_attribute): Likewise.
1722 (Fmap_char_attribute): Likewise.
1723 (Fmap_char_attribute): Likewise.
1725 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
1727 (encode_char_1): Likewise.
1729 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1731 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
1732 `Lisp_Char_ID_Table'.
1733 (mark_char_id_table): Deleted.
1734 (print_char_id_table): Likewise.
1735 (char_id_table_equal): Likewise.
1736 (char_id_table_hash): Likewise.
1737 (char_id_table_description): Likewise.
1738 (char_id_table): Likewise.
1739 (make_char_id_table): Use `Fmake_char_table' and
1741 (get_char_id_table): Use `Lisp_Char_Table' instead of
1742 `Lisp_Char_ID_Table'.
1743 (put_char_id_table): Likewise.
1744 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
1746 (Fremove_char_attribute): Likewise.
1747 (syms_of_chartab): Don't define type `char-id-table'.
1749 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
1750 (char_id_table): Likewise.
1751 (GC_CHAR_ID_TABLE_P): Likewise.
1752 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
1753 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
1754 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
1755 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
1756 (get_char_id_table): Use `Lisp_Char_Table' instead of
1757 `Lisp_Char_ID_Table'.
1758 (put_char_id_table_0): Likewise.
1759 (put_char_id_table): Likewise.
1761 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1763 * chartab.h: Lisp_Byte_Table related codes are moved from
1766 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
1768 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1770 * chartab.h: Don't include "chartab.h".
1771 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
1772 (Lisp_Char_ID_Table): Likewise.
1773 (char_id_table): Likewise.
1774 (XCHAR_ID_TABLE): Likewise.
1775 (XSETCHAR_ID_TABLE): Likewise.
1776 (CHAR_ID_TABLE_P): Likewise.
1777 (GC_CHAR_ID_TABLE_P): Likewise.
1778 (get_char_id_table): Likewise.
1780 * char-ucs.h: Include "chartab.h".
1781 (struct Lisp_Char_ID_Table): Moved to chartab.h.
1782 (Lisp_Char_ID_Table): Likewise.
1783 (char_id_table): Likewise.
1784 (XCHAR_ID_TABLE): Likewise.
1785 (XSETCHAR_ID_TABLE): Likewise.
1786 (CHAR_ID_TABLE_P): Likewise.
1787 (GC_CHAR_ID_TABLE_P): Likewise.
1788 (get_char_id_table): Likewise.
1790 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1792 * chartab.c (copy_uint8_byte_table): New function.
1793 (copy_uint16_byte_table): New function.
1794 (copy_byte_table): New function.
1795 (map_over_uint8_byte_table): Modify to avoid huge numbers of
1797 (map_over_uint16_byte_table): Likewise.
1798 (map_over_byte_table): Likewise.
1799 (get_byte_table): Move prototype to chartab.h.
1800 (put_byte_table): Likewise.
1801 (put_char_id_table_0): Moved to chartab.h.
1802 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
1803 (char_table_entry_equal): Likewise.
1804 (char_table_entry_hash): Likewise.
1805 (char_table_entry_description): Likewise.
1806 (char_table_entry): Likewise.
1807 (make_char_table_entry): Likewise.
1808 (copy_char_table_entry): Likewise.
1809 (get_non_ascii_char_table_value): Likewise.
1810 (map_over_charset_ascii): Likewise.
1811 (map_over_charset_control_1): Likewise.
1812 (map_over_charset_row): Likewise.
1813 (map_over_other_charset): Likewise.
1814 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
1815 (print_char_table): Likewise.
1816 (char_table_equal): Likewise.
1817 (char_table_hash): Likewise.
1818 (char_table_description): Likewise.
1819 (fill_char_table): Likewise.
1820 (Fcopy_char_table): Likewise.
1821 (get_char_table): Likewise.
1822 (Fget_range_char_table): Likewise.
1823 (put_char_table): Likewise.
1824 (map_char_table): Likewise.
1825 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
1828 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1830 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
1831 `Vauto_fill_chars' in XEmacs UTF-2000.
1833 * chartab.h (get_byte_table): New prototype [moved from
1835 (put_byte_table): Likewise [moved from chartab.c].
1836 (put_char_id_table_0): New inline function [moved from chartab.c].
1837 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
1838 (Lisp_Char_Table_Entry): Likewise.
1839 (char_table_entry): Likewise.
1840 (XCHAR_TABLE_ENTRY): Likewise.
1841 (XSETCHAR_TABLE_ENTRY): Likewise.
1842 (CHAR_TABLE_ENTRYP): Likewise.
1843 (CHECK_CHAR_TABLE_ENTRY): Likewise.
1844 (NUM_ASCII_CHARS): Likewise.
1845 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
1846 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
1848 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1850 * chartab.c (get_char_id_table): Change interface.
1851 (put_char_id_table_0): New function.
1852 (put_char_id_table): Change interface; new implementation.
1853 (Fget_composite_char): Modify for interface change of
1854 `get_char_id_table'.
1855 (Fchar_variants): Likewise.
1856 (add_char_attribute_alist_mapper): Likewise.
1857 (Fchar_attribute_alist): Likewise.
1858 (Fget_char_attribute): Likewise.
1859 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
1860 as same as character as the first argument like `put-char-table';
1861 modify for interface change of `put_char_id_table'.
1862 (Fremove_char_attribute): Modify for interface change of
1863 `put_char_id_table'.
1865 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1867 * text-coding.c: Sync up with XEmacs 21.2.41.
1868 (COMPOSE_ADD_CHAR): Modify for interface change of
1869 `get_char_id_table'.
1871 * mule-charset.c (put_char_ccs_code_point): Modify for interface
1872 change of `put_char_id_table'.
1873 (remove_char_ccs): Likewise.
1875 * chartab.h (put_char_id_table): Change interface.
1877 * char-ucs.h (get_char_id_table): Change interface.
1878 (charset_code_point): Modify for interface change of
1879 `get_char_id_table'.
1880 (encode_char_1): Likewise.
1882 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1884 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
1886 (map_over_uint16_byte_table): Likewise.
1887 (map_over_byte_table): Likewise.
1888 (map_char_id_table): Add new argument `range' like
1890 (Fmap_char_attribute): Add new argument `range' like
1893 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1895 * chartab.c (map_over_uint8_byte_table): Change interface of
1896 mapping function to use struct chartab_range instead of Emchar.
1897 (map_over_uint16_byte_table): Likewise.
1898 (map_over_byte_table): Likewise.
1899 (map_char_id_table): Likewise.
1900 (struct slow_map_char_id_table_arg): Deleted.
1901 (slow_map_char_id_table_fun): Deleted.
1902 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1903 function `slow_map_char_table_fun' instead of struct
1904 `slow_map_char_id_table_arg' and function
1905 `slow_map_char_id_table_fun'.
1907 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1909 * mule-charset.c: Move char-it-table related codes to chartab.c.
1910 (Vutf_2000_version): Moved to chartab.c.
1911 (Fdefine_char): Likewise.
1912 (Ffind_char): Likewise.
1913 (syms_of_mule_charset): Move types `uint8-byte-table',
1914 `uint16-byte-table', `byte-table' and `char-id-table' to
1915 chartab.c; move functions `char_attribute_list,
1916 `find_char_attribute_table, `char_attribute_alist,
1917 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1918 `map_char_attribute, `define_char, `find_char, `char_variants and
1919 `get_composite_char to chartab.c; move symbols `=>ucs',
1920 `->decomposition', `compat', `isolated', `initial', `medial',
1921 `final', `vertical', `noBreak', `fraction', `super', `sub',
1922 `circle', `square', `wide', `narrow', `small' and `font' to
1924 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1925 setting codes for `Vcharacter_composition_table' and
1926 `Vcharacter_variant_table' to chartab.c.
1927 (complex_vars_of_mule_charset): Move setting code for
1928 `Vchar_attribute_hash_table' to chartab.c.
1930 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1931 (make_char_id_table): New prototype.
1932 (put_char_id_table): Likewise.
1933 (Fget_char_attribute): Likewise.
1935 * chartab.c: Move char-id-table related code from mule-charset.c.
1936 (Vutf_2000_version): Moved from mule-charset.c.
1938 * char-ucs.h (Qucs): New external variable.
1939 (put_char_ccs_code_point): New prototype.
1940 (remove_char_ccs): Likewise.
1942 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1944 * mule-charset.c (Vcharset_ucs_jis): New variable.
1945 (Qucs_jis): Likewise.
1946 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1947 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1949 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1951 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1953 * mule-charset.c (map_over_uint8_byte_table): New function.
1954 (map_over_uint16_byte_table): Likewise.
1955 (map_over_byte_table): Likewise.
1956 (map_char_id_table): Likewise.
1957 (slow_map_char_id_table_fun): Likewise.
1958 (Fmap_char_attribute): Likewise.
1959 (syms_of_mule_charset): Add new function `map-char-attribute'.
1961 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1963 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1964 (syms_of_mule_charset): Add new function `find-char'.
1966 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1968 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1970 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1971 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1973 (complex_vars_of_mule_charset): Add new coded-charset
1974 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1975 `ideograph-gt-pj-*'.
1977 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1979 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1981 * mule-charset.c (encode_builtin_char_1): Purge codes about
1982 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1983 {MIN|MAX}_CHAR_HEBREW.
1984 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1985 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1987 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1988 (MAX_CHAR_GREEK): Purged.
1989 (MIN_CHAR_CYRILLIC): Purged.
1990 (MAX_CHAR_CYRILLIC): Purged.
1991 (MIN_CHAR_HEBREW): Commented out.
1992 (MAX_CHAR_HEBREW): Likewise.
1994 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1996 * mule-charset.c (Qto_ucs): New variable.
1997 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1998 (Fdefine_char): Likewise.
1999 (syms_of_mule_charset): Add new symbol `=>ucs'.
2001 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2003 * mule-charset.c (Fdecode_char): Fixed.
2005 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2007 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
2008 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
2011 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2013 * mule-charset.c (Vcharset_ucs_big5): New variable.
2014 (Qucs_big5): Likewise.
2015 (syms_of_mule_charset): Add new symbol `ucs-big5'.
2016 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
2018 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
2020 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2022 * mule-charset.c (decode_builtin_char): Check Big5 code range
2023 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
2025 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2027 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
2028 (Qchinese_gb12345): Likewise.
2029 (Fdecode_builtin_char): Fixed.
2030 (syms_of_mule_charset): Add `chinese-gb12345'.
2031 (complex_vars_of_mule_charset): Add coded-charset
2034 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
2035 (LEADING_BYTE_CHINESE_GB12345): New macro.
2037 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2039 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
2040 and `latin-viscii-upper' for `latin-viscii'.
2042 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2044 * mule-charset.c (Fdecode_builtin_char): Comment out
2045 regularization code for ISO-IR GR representation.
2047 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2049 * mule-charset.c (decode_builtin_char): New function; renamed from
2050 `make_builtin_char'; return -1 instead of signal.
2051 (Fdecode_builtin_char): Use `decode_builtin_char'.
2053 * char-ucs.h (decode_builtin_char): New prototype; renamed from
2054 `make_builtin_char'.
2055 (DECODE_CHAR): Use `decode_builtin_char' instead of
2056 `make_builtin_char'; use mapping table of `chinese-big5' for
2057 `chinese-big5-{1,2}'.
2059 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2061 * text-coding.c (char_encode_big5): New function.
2062 (char_finish_big5): Likewise.
2063 (reset_encoding_stream): Use `char_encode_big5' and
2064 `char_finish_big5' for CODESYS_BIG5.
2065 (mule_encode): Don't use `encode_coding_big5'.
2066 (encode_coding_big5): Deleted.
2068 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2070 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2071 0x81- in XEmacs UTF-2000.
2072 (detect_coding_big5): Likewise.
2074 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2076 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2077 generate character-id if the CCS property does not have
2078 corresponding predefined character.
2079 (make_builtin_char): Return -1 if corresponding predefined
2080 character is not found.
2081 (Fdecode_char): Return nil if corresponding character is not
2083 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2084 don't map to builtin ucs space.
2086 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2088 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2089 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2091 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2093 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2094 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2095 (Qideograph_gt): Likewise.
2096 (Qideograph_gt_pj_{1..11}): Likewise.
2097 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2098 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2099 `ideograph-gt-pj-11'.
2100 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2101 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2102 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
2104 * char-ucs.h (LEADING_BYTE_GT): New macro.
2105 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
2106 (MIN_CHAR_GT): Likewise.
2107 (MAX_CHAR_GT): Likewise.
2109 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2111 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
2112 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
2114 * doprnt.c (unsigned_int_converters): Add `c'.
2115 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2117 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2118 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2120 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2121 (MAX_CHAR_MOJIKYO_0): New macro.
2122 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2124 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2126 * mule-charset.c (Fdefine_char): Delete cemented out code.
2127 (encode_builtin_char_1): Modify for new allocation of builtin
2130 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2132 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2134 * mule-charset.c (Vcharset_ucs_cns): New variable.
2135 (Qucs_cns): New variable.
2136 (syms_of_mule_charset): Add new symbol `ucs-cns'.
2137 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
2139 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2141 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
2143 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2145 * search.c (search_buffer): Make `charset_base_code' as
2146 character-id >> 6 to eliminate the corresponding last byte in
2147 UTF-8 representation [I'm not sure it is right thing].
2148 (boyer_moore): Likewise.
2150 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2152 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
2153 representation in MULE.
2155 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2157 * text-coding.c (Fmake_coding_system): Use
2158 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
2159 `EXTERNAL_PROPERTY_LIST_LOOP'.
2161 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2163 * text-coding.c (decode_output_utf8_partial_char): New function.
2164 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
2166 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2168 * text-coding.c (decode_coding_utf8): Output original byte
2169 sequence if it is broken; change order of conditions.
2171 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
2174 * mb-multibyte.h (BYTE_ASCII_P):
2175 Use bit ops for char-signedness safety.
2176 (BYTE_C0_P): Use bit ops for char-signedness safety.
2177 (BYTE_C1_P): Use bit ops for char-signedness safety.
2179 * character.h: (XCHAR_OR_CHAR_INT):
2180 Always use inline function.
2181 Remove redundant type checking assert() - XINT will abort quite
2184 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2186 * text-coding.c: (Fencode_shift_jis_char):
2187 (Fencode_big5_char):
2188 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2189 Replace 0 with '\0' when working with bytes.
2190 Replace initial "(" with "\(" in docstrings.
2192 (Fmake_coding_system):
2193 When type is ccl and value is vector, register it with a proper
2194 symbol. And checks whether the given ccl program is valid.
2195 (mule_decode): When calling ccl_driver, if src indicates
2196 NULL pointer, set an empty string instead.
2197 (mule_encode): Likewise.
2200 (detect_coding_sjis):
2201 (decode_coding_sjis):
2202 (detect_coding_big5):
2203 (decode_coding_big5):
2204 (detect_coding_ucs4):
2205 (decode_coding_ucs4):
2206 (detect_coding_utf8):
2207 (decode_coding_utf8):
2208 (detect_coding_iso2022):
2209 (decode_coding_iso2022):
2210 (decode_coding_no_conversion):
2212 Make all detecting and decoding functions take an Extbyte * arg.
2213 (text_encode_generic):
2214 (encode_coding_big5):
2215 (encode_coding_no_conversion):
2217 Make all encoding functions take a Bufbyte * arg.
2218 Use size_t instead of unsigned int for memory sizes.
2219 Only cast to unsigned char whenever dereferencing Extbyte *.
2221 (struct lrecord_description fcd_description_1): Use countof.
2222 (complex_vars_of_file_coding):
2223 Use countof instead of sizeof.
2224 Use CHECK_NATNUM instead of CHECK_INT.
2226 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2228 * mule-charset.c (Fget_char_attribute): Add new optional argument
2230 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
2231 (remove_char_ccs): Likewise.
2233 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2235 * text-coding.c (char_encode_shift_jis): New implementation in
2237 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
2240 * mule-charset.c (Vcharset_chinese_big5): New variable in
2242 (Qchinese_big5): New variable in UTF-2000.
2243 (BIG5_SAME_ROW): New macro in UTF-2000.
2244 (make_builtin_char): Use builtin characters of
2245 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
2246 characters of `Vcharset_chinese_big5'.
2247 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
2248 (complex_vars_of_mule_charset): Add new coded-charset
2249 `chinese-big5' in UTF-2000.
2251 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
2252 (Vcharset_chinese_big5): New external variable declaration.
2253 (Vcharset_japanese_jisx0208_1990): Likewise.
2255 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2257 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
2259 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
2261 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2263 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
2264 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
2265 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
2268 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2270 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
2272 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2274 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2277 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2279 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
2280 for `CHARSET_BY_ATTRIBUTES'.
2281 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2282 `CHARSET_BY_ATTRIBUTES'.
2284 * text-coding.c (struct decoding_stream): Rename member `CH' to
2286 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
2287 (decode_coding_sjis): Likewise.
2288 (decode_coding_big5): Likewise.
2289 (decode_coding_ucs4): Likewise.
2290 (decode_coding_utf8): Likewise.
2291 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2292 `CHARSET_BY_ATTRIBUTES'.
2293 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
2294 `str->counter'; decode 3, 4 bytes sets.
2295 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
2297 (decode_coding_no_conversion): Use `str->cpos' instead of
2300 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
2301 (Qmojikyo_2022_1): New variable.
2302 (make_charset): Don't use `CHARSET_TYPE_*'.
2303 (range_charset_code_point): Support coded-charset
2305 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
2306 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
2307 `CHARSET_BY_ATTRIBUTES'.
2308 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
2309 `CHARSET_BY_ATTRIBUTES'.
2310 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
2311 (complex_vars_of_mule_charset): Add new coded-charset
2314 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
2315 interface; changed to inline function.
2317 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
2318 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
2319 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
2320 (CHARSET_TYPE_94): Deleted.
2321 (CHARSET_TYPE_94X94): Deleted.
2322 (CHARSET_TYPE_96): Deleted.
2323 (CHARSET_TYPE_96X96): Deleted.
2324 (CHARSET_TYPE_128): Deleted.
2325 (CHARSET_TYPE_128X128): Deleted.
2326 (CHARSET_TYPE_256): Deleted.
2327 (CHARSET_TYPE_256X256): Deleted.
2328 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
2330 (DECODE_MOJIKYO_2022): New inline function.
2331 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
2332 `Vcharset_mojikyo_2022_1'.
2334 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2336 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
2338 (put_byte_table): Likewise.
2339 (char_id_table_equal): Use `get_byte_table' [new implementation].
2341 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2343 * mule-charset.c: Include <limits.h> in UTF-2000.
2344 (BT_UINT8_MIN): New macro in UTF-2000.
2345 (BT_UINT8_MAX): New macro in UTF-2000.
2346 (BT_UINT8_t): New macro in UTF-2000.
2347 (BT_UINT8_nil): New macro in UTF-2000.
2348 (BT_UINT8_unbound): New macro in UTF-2000.
2349 (INT_UINT8_P): New inline function in UTF-2000.
2350 (UINT8_VALUE_P): New inline function in UTF-2000.
2351 (UINT8_ENCODE): New inline function in UTF-2000.
2352 (UINT8_DECODE): New inline function in UTF-2000.
2353 (mark_uint8_byte_table): New function in UTF-2000.
2354 (print_uint8_byte_table): New function in UTF-2000.
2355 (uint8_byte_table_equal): New function in UTF-2000.
2356 (uint8_byte_table_hash): New function in UTF-2000.
2357 (make_uint8_byte_table): New function in UTF-2000.
2358 (uint8_byte_table_same_value_p): New function in UTF-2000.
2359 (BT_UINT16_MIN): New macro in UTF-2000.
2360 (BT_UINT16_MAX): New macro in UTF-2000.
2361 (BT_UINT16_t): New macro in UTF-2000.
2362 (BT_UINT16_nil): New macro in UTF-2000.
2363 (BT_UINT16_unbound): New macro in UTF-2000.
2364 (INT_UINT16_P): New inline function in UTF-2000.
2365 (UINT16_VALUE_P): New inline function in UTF-2000.
2366 (UINT16_ENCODE): New inline function in UTF-2000.
2367 (UINT16_DECODE): New inline function in UTF-2000.
2368 (UINT8_TO_UINT16): New inline function in UTF-2000.
2369 (mark_uint16_byte_table): New function in UTF-2000.
2370 (print_uint16_byte_table): New function in UTF-2000.
2371 (uint16_byte_table_equal): New function in UTF-2000.
2372 (uint16_byte_table_hash): New function in UTF-2000.
2373 (make_uint16_byte_table): New function in UTF-2000.
2374 (uint16_byte_table_same_value_p): New function in UTF-2000.
2375 (print_byte_table): New function in UTF-2000.
2376 (byte-table): Use `print_byte_table' as printer.
2377 (make_byte_table): Delete second argument `older'.
2378 (byte_table_same_value_p): New function in UTF-2000.
2379 (copy_byte_table): Deleted.
2380 (get_byte_table): New function in UTF-2000.
2381 (put_byte_table): New function in UTF-2000.
2382 (print_char_id_table): New function in UTF-2000.
2383 (char-id-table): Use `print_char_id_table' as printer.
2384 (make_char_id_table): Delete second argument `older'.
2385 (get_char_id_table): Use `get_byte_table [new implementation].
2386 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
2388 (Ffind_char_attribute_table): New function in UTF-2000.
2389 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2390 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
2391 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
2392 (syms_of_mule_charset): Add new function
2393 `find-char-attribute-table' in UTF-2000.
2395 * lrecord.h (enum lrecord_type): Add
2396 `lrecord_type_uint16_byte_table' and
2397 `lrecord_type_uint8_byte_table'.
2399 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
2400 (Lisp_Uint8_Byte_Table): New type.
2401 (XUINT8_BYTE_TABLE): New macro.
2402 (XSETUINT8_BYTE_TABLE): New macro.
2403 (UINT8_BYTE_TABLE_P): New macro.
2404 (GC_UINT8_BYTE_TABLE_P): New macro.
2405 (struct Lisp_Uint16_Byte_Table): New structure.
2406 (Lisp_Uint16_Byte_Table): New type.
2407 (XUINT16_BYTE_TABLE): New macro.
2408 (XSETUINT16_BYTE_TABLE): New macro.
2409 (UINT16_BYTE_TABLE_P): New macro.
2410 (GC_UINT16_BYTE_TABLE_P): New macro.
2412 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2414 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
2415 (Vcharacter_ideographic_strokes_table): Deleted.
2416 (Vcharacter_total_strokes_table): Deleted.
2417 (Vcharacter_morohashi_daikanwa_table): Deleted.
2418 (Vcharacter_decomposition_table): Deleted.
2419 (Qname): Deleted because it is duplicated.
2420 (Qideographic_radical): Deleted.
2421 (Qideographic_strokes): Deleted.
2422 (Qtotal_strokes): Deleted.
2423 (Qmorohashi_daikanwa): Deleted.
2424 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
2425 `ideographic-radical', `ideographic-strokes', `total-strokes',
2426 `morohashi-daikanwa' and `->decomposition'.
2427 (Fget_char_attribute): Likewise.
2428 (Fput_char_attribute): Likewise; use `make-vector' instead of
2429 `make_older_vector' for `->decomposition' value.
2430 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
2431 `ideograph-daikanwa'.
2432 (syms_of_mule_charset): Delete builtin symbols `name',
2433 `ideographic-radical', `ideographic-strokes', `total-strokes' and
2434 `morohashi-daikanwa'.
2435 (vars_of_mule_charset): Don't setup
2436 `Vcharacter_ideographic_radical_table',
2437 `Vcharacter_ideographic_strokes_table',
2438 `Vcharacter_total_strokes_table',
2439 `Vcharacter_morohashi_daikanwa_table' and
2440 `Vcharacter_decomposition_table'.
2442 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2444 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
2445 `make_older_vector', `make_vector_newer_1' and
2446 `make_vector_newer'.
2448 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
2449 `make_older_vector' and `make_vector_newer'.
2451 * config.h.in (HAVE_GGC): New macro.
2453 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2455 * mule-charset.c (struct char_attribute_list_closure): New
2456 structure in UTF-2000.
2457 (add_char_attribute_to_list_mapper): New function in UTF-2000.
2458 (Fchar_attribute_list): Likewise.
2459 (Fset_charset_mapping_table): Use `make_vector_newer'.
2460 (Fdecode_builtin_char): New function in UTF-2000.
2461 (syms_of_mule_charset): Add new function `char-attribute-list' and
2462 `decode-builtin-char' in UTF-2000.
2464 * lisp.h (make_vector_newer): New prototype.
2466 * alloc.c (make_vector_newer_1): New function.
2467 (make_vector_newer): New function.
2469 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2471 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
2474 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2476 * mule-charset.c (Vchar_attribute_hash_table): New variable.
2477 (Vcharacter_attribute_table): Deleted.
2478 (Vcharacter_name_table): Deleted.
2479 (put_char_attribute): Deleted.
2480 (remove_char_attribute): Deleted.
2481 (struct char_attribute_alist_closure): New structure.
2482 (add_char_attribute_alist_mapper): New function.
2483 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
2484 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
2485 (Fget_char_attribute): Likewise.
2486 (Fput_char_attribute): Likewise.
2487 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
2488 of `remove_char_attribute'.
2489 (Fdefine_char): Return character.
2490 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
2491 and `Vcharacter_name_table'.
2492 (complex_vars_of_mule_charset): Likewise
2493 `Vchar_attribute_hash_table'.
2495 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2497 * character.h (CHARC_CHARSET): New macro.
2498 (CHARC_CHARSET_ID): New macro.
2499 (CHARC_CODE_POINT): New macro.
2500 (CHARC_COLUMNS): New macro.
2501 (CHARC_TO_CHAR): New inline function.
2502 (CHARC_EQ): New inline function.
2503 (CHARC_ASCII_EQ): New inline function.
2504 (CHARC_IS_SPACE): New inline function.
2505 (ASCII_TO_CHARC): New inline function.
2507 * char-ucs.h (encode_char_2): Deleted.
2508 (ENCODE_CHAR): Use `encode_char_1' again.
2509 (breakup_char_1): Likewise.
2510 (CHAR_TO_CHARC): New inline function.
2512 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
2514 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2516 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
2517 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
2518 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
2519 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
2520 (create_string_text_block): Use `CHARC_ASCII_EQ' and
2522 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
2524 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
2526 (x_output_display_block): Use `CHARC_CHARSET' and
2529 * redisplay-tty.c (tty_output_display_block): Use
2531 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
2533 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
2535 * insdel.c (find_charsets_in_charc_string): Use
2537 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
2538 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
2539 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
2540 (convert_charc_string_into_malloced_string): Likewise.
2542 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2544 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
2545 instead of <Emchar_dynarr *> for buf; use
2546 `convert_bufbyte_string_into_charc_dynarr' instead of
2547 `convert_bufbyte_string_into_emchar_dynarr'; use
2548 `find_charsets_in_charc_string' instead of
2549 `find_charsets_in_emchar_string'.
2552 - Include "character.h".
2553 (struct rune): New member `cglyph'; delete member `chr'.
2555 * redisplay.c (redisplay_text_width_charc_string): New function;
2556 delete `redisplay_text_width_emchar_string'.
2557 (rtw_charc_dynarr): New variable; renamed from
2558 `rtw_emchar_dynarr'.
2559 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
2560 `rtw_emchar_dynarr'; use
2561 `convert_bufbyte_string_into_charc_dynarr' instead of
2562 `convert_bufbyte_string_into_emchar_dynarr'; use
2563 `redisplay_text_width_charc_string' instead of
2564 `redisplay_text_width_emchar_string'.
2565 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
2566 instead of `rtw_emchar_dynarr'; use
2567 `convert_bufbyte_string_into_charc_dynarr' instead of
2568 `convert_bufbyte_string_into_emchar_dynarr'.
2569 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
2570 `redisplay_text_width_charc_string' instead of
2571 `redisplay_text_width_emchar_string'.
2572 (create_text_block): Modify for <struct rune> change.
2573 (generate_formatted_string_db): Likewise.
2574 (create_string_text_block): Likewise.
2575 (pixel_to_glyph_translation): Likewise.
2577 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
2578 instead of <const Emchar *>.
2579 (x_text_width): Likewise.
2580 (x_output_display_block): Use <Charc_dynarr *> instead
2581 <Emchar_dynarr *>; modify for <structure rune> change.
2582 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
2585 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
2586 <const Emchar *>; use `charc_string_displayed_columns' instead of
2587 `emchar_string_displayed_columns'.
2588 (tty_output_display_block): Use <Charc_dynarr *> instead of
2589 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
2590 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
2591 (tty_output_charc_dynarr_dynarr): New variable; renamed from
2592 `tty_output_emchar_dynarr_dynarr'.
2593 (tty_output_charc_dynarr): New function; delete
2594 `tty_output_charc_dynarr'.
2596 * redisplay-output.c (compare_runes): Modify for `struct rune'.
2597 (redisplay_output_layout): Use <Charc_dynarr *> instead of
2598 <Emchar_dynarr *> for buf; use
2599 `convert_bufbyte_string_into_charc_dynarr' instead of
2600 `convert_bufbyte_string_into_emchar_dynarr'.
2602 * frame.c (title_string_charc_dynarr): New variable; renamed from
2603 `title_string_emchar_dynarr'.
2604 (generate_title_string): Use `title_string_charc_dynarr' instead
2605 of `title_string_emchar_dynarr'; use
2606 `convert_charc_string_into_malloced_string' instead of
2607 `convert_emchar_string_into_malloced_string'.
2608 (init_frame): Use `title_string_charc_dynarr' instead of
2609 `title_string_emchar_dynarr'.
2612 - Include "character.h".
2613 (struct console_methods): Use <const Charc *> instead of <const
2614 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
2615 <Emchar_dynarr *> in output_string_method.
2617 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
2620 * console-stream.c (stream_text_width): Use <const Charc *>
2621 instead of <const Emchar *>.
2623 * character.h (Charc_dynarr): New type.
2625 * char-ucs.h (structure Charc): New structure; define new type
2628 * char-lb.h (DECODE_CHAR): New inline function.
2629 (encode_char_1): New inline function.
2630 (ENCODE_CHAR): New macro.
2631 (structure Charc): New structure; define new type `Charc'.
2633 * char-1byte.h (Vcharset_control_1): New macro.
2634 (Vcharset_latin_iso8859_1): New macro.
2635 (DECODE_CHAR): New inline function.
2636 (encode_char_1): New inline function.
2637 (ENCODE_CHAR): New macro.
2638 (structure Charc): New structure; define new type `Charc'.
2640 * insdel.c (find_charsets_in_charc_string): New function; delete
2641 `find_charsets_in_emchar_string'.
2642 (charc_string_displayed_columns): New function; delete
2643 `emchar_string_displayed_columns'.
2644 (convert_bufbyte_string_into_charc_dynarr): New function; delete
2645 `convert_bufbyte_string_into_emchar_dynarr'.
2646 (convert_charc_string_into_bufbyte_dynarr): New function; delete
2647 `convert_charc_string_into_bufbyte_dynarr'.
2648 (convert_charc_string_into_malloced_string): New function; delete
2649 `convert_charc_string_into_malloced_string'.
2651 * buffer.h (find_charsets_in_charc_string): New prototype; delete
2652 `find_charsets_in_emchar_string'.
2653 (charc_string_displayed_columns): New prototype; delete
2654 `emchar_string_displayed_columns'.
2655 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
2656 `convert_charc_string_into_bufbyte_dynarr'.
2657 (convert_charc_string_into_malloced_string): New prototype; delete
2658 `convert_charc_string_into_malloced_string'.
2660 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2662 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
2664 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2666 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
2668 * char-ucs.h: Use <short> for <Charset_ID>.
2670 * mule-charset.h, char-1byte.h: Use <unsigned char> for
2673 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2675 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2678 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2680 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
2682 (Qmorohashi_daikanwa): New variable.
2683 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
2684 for `morohashi-daikanwa' attribute.
2685 (Fget_char_attribute): Likewise.
2686 (Fput_char_attribute): Likewise.
2687 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
2688 has the same value of `ideograph-daikanwa'.
2689 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
2690 (vars_of_mule_charset): Setup
2691 `Vcharacter_morohashi_daikanwa_table'.
2693 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2695 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
2697 (add_charset_to_list_mapper): Add `key' instead of
2698 `XCHARSET_NAME (value)' to return aliases.
2700 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2702 * mule-charset.c (Vcharacter_ideographic_radical_table): New
2704 (Vcharacter_ideographic_strokes_table): New variable.
2705 (Qideographic_radical): New variable.
2706 (Qideographic_strokes): New variable.
2707 (Fchar_attribute_alist): Use
2708 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
2709 attribute; use `Vcharacter_ideographic_strokes_table' for
2710 `ideographic-strokes' attribute.
2711 (Fget_char_attribute): Likewise.
2712 (Fput_char_attribute): Likewise.
2713 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
2714 `ideographic-strokes'.
2715 (vars_of_mule_charset): Setup
2716 `Vcharacter_ideographic_radical_table' and
2717 `Vcharacter_ideographic_strokes_table'.
2719 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2721 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
2722 (Qtotal_strokes): New variable.
2723 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
2724 `total-strokes' attribute.
2725 (Fget_char_attribute): Likewise.
2726 (Fput_char_attribute): Likewise.
2727 (syms_of_mule_charset): Add new symbol `total-strokes'.
2728 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
2730 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2732 * mule-charset.c (Vcharacter_decomposition_table): New variable.
2733 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
2735 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
2736 `->decomposition' attribute.
2737 (Fput_char_attribute): Likewise.
2738 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
2740 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2742 * mule-charset.c (decoding_table_check_elements): New function.
2743 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
2745 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2747 * mule-charset.c (Fset_charset_mapping_table): Use
2748 `put_char_ccs_code_point'.
2750 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2752 * mule-charset.c (decoding_table_put_char): New inline function.
2753 (put_char_ccs_code_point): Use `decoding_table_put_char'.
2755 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2757 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
2758 (XCHARSET_BYTE_SIZE): New macro.
2759 (decoding_table_remove_char): New inline function.
2760 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
2761 `decoding_table_remove_char'.
2762 (remove_char_ccs): Use `decoding_table_remove_char'.
2763 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
2765 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2767 * mule-charset.c (Vcharacter_name_table): New variable.
2768 (Qname): New variable.
2769 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
2771 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
2772 `Vcharacter_name_table' for `name' attribute.
2773 (Fremove_char_attribute): Use function `remove_char_ccs'.
2774 (put_char_ccs_code_point): New function.
2775 (remove_char_ccs): New function.
2776 (syms_of_mule_charset): Add new symbol `name'.
2777 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
2779 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2781 * mule-charset.c (make_byte_table): Add new argument `older'.
2782 (make_char_id_table): Likewise.
2783 (copy_char_id_table): Comment out because it is not used.
2784 (put_char_id_table): Modify for `make_byte_table'.
2785 (Fput_char_attribute): Make encoding_table as older object;
2786 inherit older bit of `Vcharacter_composition_table'.
2787 (mark_charset): Don't mark `cs->encoding_table'.
2788 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
2789 normal object; make `Vcharacter_composition_table' as an older
2790 object; delete staticpro for `Vcharacter_composition_table'; make
2791 `Vcharacter_variant_table' as a normal object.
2793 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
2794 (mark_object): Don't check older object in UTF-2000.
2796 * lrecord.h (struct lrecord_header): Add new member `older' in
2798 (set_lheader_implementation): Setup `SLI_header->older' in
2800 (set_lheader_older_implementation): New macro in UTF-2000.
2801 (OLDER_RECORD_P): New macro in UTF-2000.
2802 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
2803 (alloc_older_lcrecord): New prototype in UTF-2000.
2804 (alloc_older_lcrecord_type): New macro in UTF-2000.
2806 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2808 * mule-charset.c (byte_table_description): Use
2809 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
2810 (char_id_table_description): Delete bogus `, 1'.
2811 (Fget_char_attribute): Refer encoding_table of each coded-charset
2812 to get value of coded-charset attribute of a character.
2813 (Fput_char_attribute): Use `make_older_vector' instead of
2814 `make_vector'; use encoding_table of each coded-charset to store
2815 value of coded-charset attribute of a character.
2816 (Fremove_char_attribute): Use encoding_table of each coded-charset
2817 to store value of coded-charset attribute of a character.
2818 (mark_charset): Mark `cs->encoding_table'; don't mark
2819 `cs->decoding_table'.
2820 (charset_description): Add description of new member
2822 (make_charset): Initialize `encoding_table'.
2824 * char-ucs.h (struct Lisp_Charset): Add new member
2826 (CHARSET_ENCODING_TABLE): New macro.
2827 (XCHARSET_ENCODING_TABLE): New macro.
2828 (charset_code_point): New implementation.
2829 (encode_char_1): Likewise.
2831 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
2832 (disksave_object_finalization_1): Call finalizers of
2833 `all_older_lcrecords' in UTF-2000.
2834 (make_older_vector): New function in UTF-2000.
2835 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
2838 * lisp.h (make_older_vector): New prototype in UTF-2000.
2840 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2842 * lrecord.h (enum lrecord_type): Rename
2843 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
2845 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
2846 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
2847 `get_char_code_table'.
2849 * mule-charset.c (mark_char_id_table): Renamed from
2850 `mark_char_code_table'.
2851 (char_id_table_equal): Renamed from `char_code_table_equal'.
2852 (char_id_table_hash): Renamed from `char_code_table_hash'.
2853 (make_char_id_table): Renamed from `make_char_code_table'.
2854 (copy_char_id_table): Renamed from `copy_char_code_table'.
2855 (get_char_id_table): Renamed from `get_char_code_table'.
2856 (put_char_id_table): Renamed from `put_char_code_table'.
2857 (to_char_id): Renamed from `to_char_code'.
2859 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
2860 `Lisp_Char_Code_Table'.
2861 (char_id_table): Renamed from `char_code_table'.
2862 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
2863 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
2864 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
2865 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
2866 (get_char_id_table): Renamed from `get_char_code_table'.
2868 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2870 * lrecord.h (enum lrecord_type): Rename
2871 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
2873 * mule-charset.c (mark_byte_table): Renamed from
2874 `mark_char_byte_table'.
2875 (byte_table_equal): Renamed from `char_byte_table_equal'.
2876 (byte_table_hash): Renamed from `byte_table_hash'.
2877 (make_byte_table): Renamed from `make_byte_table'.
2878 (copy_byte_table): Renamed from `copy_char_byte_table'.
2880 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
2881 `Lisp_Char_Byte_Table'.
2882 (byte_table): Renamed from `char_byte_table'.
2883 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
2884 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
2885 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
2886 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
2888 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2890 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
2891 (dfc_convert_to_internal_format): Likewise.
2893 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2894 * text-coding.c (Fcoding_system_alias_p): New function.
2895 * text-coding.c (Fcoding_system_aliasee): New function.
2896 * text-coding.c (append_suffix_to_symbol): New function.
2897 * text-coding.c (dangling_coding_system_alias_p): New function.
2898 * text-coding.c (Ffind_coding_system):
2899 * text-coding.c (Fcopy_coding_system):
2900 * text-coding.c (encode_coding_no_conversion):
2901 * text-coding.c (syms_of_file_coding):
2902 * text-coding.c (vars_of_file_coding):
2903 Rewrite coding system alias code.
2904 Allow nested aliases, like symbolic links.
2905 Allow redefinition of coding system aliases.
2906 Prevent existence of dangling coding system aliases.
2907 Eliminate convert_to_external_format.
2908 Eliminate convert_to_internal_format.
2910 * text-coding.c: Change enum eol_type to eol_type_t.
2912 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2914 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2915 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2917 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2918 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2920 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2922 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2923 `ideograph-daikanwa'.
2925 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2926 (Vcharset_ucs_bmp): Likewise.
2927 (Vcharset_mojikyo): Add new extern variable definition.
2928 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2929 (Vcharset_latin_iso8859_3): Likewise.
2930 (Vcharset_latin_iso8859_4): Likewise.
2931 (Vcharset_latin_iso8859_9): Likewise.
2932 (Vcharset_latin_viscii_lower): Likewise.
2933 (Vcharset_latin_viscii_upper): Likewise.
2934 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2935 `mojikyo' code-point is used to decode.
2936 (encode_char_2): New function [to convert `mojikyo' code-point to
2937 Mojikyo font encoding].
2938 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2939 (breakup_char_1): Likewise.
2940 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2942 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2944 * text-coding.c (Fmake_coding_system): Add document about
2945 `disable-composition' property.
2947 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2949 * text-coding.c (Qdisable_composition): New variable; delete
2951 (Fmake_coding_system): Add new property `disable-composite';
2952 delete property `composite'.
2953 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2954 instead of `!CODING_SYSTEM_COMPOSITE'.
2955 (syms_of_file_coding): Add new symbol `disable-composition';
2956 delete symbol `composite'.
2958 * file-coding.h (struct Lisp_Coding_System): Add
2959 `disable_composition'; delete `enable_composition'.
2960 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2961 `CODING_SYSTEM_COMPOSITE'.
2962 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2963 `XCODING_SYSTEM_COMPOSITE'.
2965 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2967 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2970 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2972 * text-coding.c (Qcomposite): New variable.
2973 (Fmake_coding_system): Add new property `composite'.
2974 (struct decoding_stream): Add `combined_char_count',
2975 `combined_chars' and `combining_table' in UTF-2000.
2976 (COMPOSE_FLUSH_CHARS): New macro.
2977 (COMPOSE_ADD_CHAR): New macro.
2978 (reset_decoding_stream): Reset `str->combined_char_count' and
2979 `str->combining_table' in UTF-2000.
2980 (decode_coding_iso2022): Modify for character-decomposition.
2981 (syms_of_file_coding): Add new symbol `composite'.
2983 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2985 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2986 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2987 of `Vcharacter_composition_table' if `->decomposition' property
2989 (Qlatin_tcvn5712): New variable.
2990 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2991 (complex_vars_of_mule_charset): Add new coded-charset
2994 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2996 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2998 * file-coding.h (struct Lisp_Coding_System): Add
2999 `enable_composition'.
3000 (CODING_SYSTEM_COMPOSITE): New macro.
3001 (XCODING_SYSTEM_COMPOSITE): New macro.
3003 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
3005 * mule-canna.c (c2mu): Fix problem with UTF-2000.
3007 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
3009 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
3010 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
3012 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
3014 * mule-charset.c (Vcharset_mojikyo): New variable.
3015 (Fdefine_char): Don't use coded-charset which does not have
3016 non-builtin character range to allocate character-id.
3017 (Qmojikyo): New variable.
3018 (syms_of_mule_charset): Add new symbol `mojikyo'.
3019 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
3021 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
3022 (LEADING_BYTE_MOJIKYO): New macro.
3023 (MIN_CHAR_MOJIKYO): New macro.
3024 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
3025 (MAX_CHAR_MOJIKYO): New macro.
3027 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
3029 * mule-charset.c (remove_char_attribute): Fixed.
3031 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
3033 * mule-charset.c (remove_char_attribute): New function.
3034 (Fremove_char_attribute): New function.
3035 (encode_builtin_char_1): Comment out builtin-support for
3036 greek-iso8859-7 and cyrillic-iso8859-5.
3037 (Fdecode_char): Check `code' is an integer.
3038 (syms_of_mule_charset): Add `remove-char-attribute'.
3039 (MIN_CHAR_GREEK): Deleted.
3040 (MAX_CHAR_GREEK): Likewise.
3041 (MIN_CHAR_CYRILLIC): Likewise.
3042 (MAX_CHAR_CYRILLIC): Likewise.
3043 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
3044 MAX_CHAR_GREEK for `greek-iso8859-7'.
3046 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
3047 (MAX_CHAR_GREEK): Likewise.
3048 (MIN_CHAR_CYRILLIC): Likewise.
3049 (MAX_CHAR_CYRILLIC): Likewise.
3051 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
3053 * mule-charset.c (Fdefine_char): Fix problem when new code-point
3054 format is used without `ucs' property.
3055 (Fdecode_char): Fix problem with GR representation.
3056 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3057 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3059 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3061 * mule-charset.c (make_builtin_char): New function.
3062 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3063 (Fset_charset_mapping_table): Modify for new representation of
3065 (Fdecode_char): New function.
3066 (syms_of_mule_charset): Add new builtin function `decode-char' in
3069 * char-ucs.h (make_builtin_char): New prototype.
3070 (DECODE_CHAR): New inline function.
3071 (MAKE_CHAR): Use `DECODE_CHAR'.
3073 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3075 * text-coding.c (parse_charset_conversion_specs): Use
3076 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3078 (iso2022_designate): Likewise.
3080 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3081 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3083 * mule-charset.c (Vcharset_ucs): New variable.
3084 (print_charset): Change design; use `CHARSET_CHARS' and
3085 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3086 (make_charset): Change signature to specify `chars' and
3087 `dimension' instead of `type'.
3088 (range_charset_code_point): Modify for 256^n-set.
3089 (encode_builtin_char_1): Encode as `ucs' in default.
3090 (Fmake_charset): Modify for `make_charset'.
3091 (Fmake_reverse_direction_charset): Likewise.
3092 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3094 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3097 * char-ucs.h (Vcharset_ucs): New variable.
3098 (LEADING_BYTE_UCS): New macro.
3099 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3100 and `chars' to `unsigned short' from `unsigned int'.
3101 (CHARSET_TYPE): Deleted.
3102 (XCHARSET_TYPE): Deleted.
3104 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
3106 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
3108 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
3109 (ENCODE_CHAR): New macro.
3111 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3113 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3114 to 0.14 (Kawachi-Katakami).
3116 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3118 * text-coding.c (char_encode_shift_jis): Modify for
3119 `charset_code_point'.
3120 (char_encode_iso2022): Likewise.
3122 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3123 (integer) instead of list of <Lisp_Object>s (integers) as the
3124 format of code-point of a coded-charset.
3125 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3126 (encode_builtin_char_1): New function; delete
3127 `split_builtin_char'.
3128 (charset_code_point): Return <int> instead of <Lisp_Object>.
3129 (Fsplit_char): Don't use `SPLIT_CHAR'.
3131 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3132 prototype for `split_builtin_char'.
3133 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3134 (charset_code_point): Likewise.
3135 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
3136 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
3138 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
3140 * mule-charset.c (complex_vars_of_mule_charset): Don't define
3141 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
3143 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3145 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
3147 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
3148 (MAX_CHAR_OBS_94x94): Deleted.
3150 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3152 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
3154 * char-ucs.h (MAX_CHAR_BMP): New macro.
3156 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3158 * text-coding.c: Sync with r21-2-24.
3160 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3162 * file-coding.c: Modify for UTF-2000.
3164 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3166 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3169 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3171 * mule-charset.c (split_builtin_char): Delete builtin support for
3172 `katakana-jisx0201'.
3173 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
3174 BMP area in builtin representation.
3176 * char-ucs.h (MAKE_CHAR): Delete builtin support for
3177 `Vcharset_katakana_jisx0201'.
3179 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3181 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
3182 (Qisolated): New variable.
3183 (Qinitial): New variable.
3184 (Qmedial): New variable.
3185 (Qfinal): New variable.
3186 (Qvertical): New variable.
3187 (Qsmall): New variable.
3188 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
3189 `Qvertical' and `Qsmall'.
3190 (Qmojikyo_pj_[1 .. 21]): New variable.
3191 (syms_of_mule_charset): Add new symbols `isolated', `initial',
3192 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
3193 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
3196 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3198 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
3199 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
3200 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
3202 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3204 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
3205 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
3207 (Qjapanese_jisx0208_1990): New variable.
3208 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
3209 (complex_vars_of_mule_charset): Add new coded-charset
3210 `japanese-jisx0208-1990'.
3212 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
3213 (MIN_CHAR_JIS_X0208_1990): New macro.
3214 (MAX_CHAR_JIS_X0208_1990): New macro.
3216 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3218 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
3219 coded-charset is not found.
3221 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3223 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
3224 (Fdefine_char): Use `Fmake_char'.
3226 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3228 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
3229 (Vcharset_hiragana_jisx0208): Deleted.
3230 (Vcharset_katakana_jisx0208): Deleted.
3231 (Qideograph_daikanwa): New variable.
3232 (Qhiragana_jisx0208): Deleted.
3233 (Qkatakana_jisx0208): Deleted.
3234 (split_builtin_char): Split `ideograph-daikanwa'.
3235 (Fsplit_char): New implementation for UTF-2000.
3236 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
3237 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
3238 (complex_vars_of_mule_charset): Add new coded-charset
3239 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
3240 `katakana-jisx0208'.
3242 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
3243 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
3244 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
3245 (MIN_CHAR_DAIKANWA): New macro.
3246 (MAX_CHAR_DAIKANWA): New macro.
3248 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3250 * data.c (Fstring_to_number): Don't recognize floating point if
3253 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3255 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
3257 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3259 * mule-charset.c (Qsquare): New variable.
3260 (to_char_code): Add `Qsquare'.
3261 (syms_of_mule_charset): Add new symbol `square'.
3263 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3265 * mule-charset.c (Qcircle): New variable.
3266 (to_char_code): Add `Qcircle'.
3267 (syms_of_mule_charset): Add new symbol `circle'.
3269 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3271 * mule-charset.c (Qfont): New variable.
3272 (to_char_code): Add `Qfont'.
3273 (syms_of_mule_charset): Add new symbol `font'.
3275 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3277 * mule-charset.c (Qsub): New variable.
3278 (to_char_code): Add `Qsub'.
3279 (syms_of_mule_charset): Add new symbol `sub'.
3281 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3283 * mule-charset.c (Fput_char_attribute): Convert each element of
3284 VALUE to GL position if ATTRIBUTE is a GR-set,
3286 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3288 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
3289 coded-charset is a GR-set.
3291 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3293 * mule-charset.c (Fput_char_attribute): Check each element of
3294 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
3296 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3298 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
3300 (Qethiopic_ucs): New variable in UTF-2000.
3301 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
3302 (complex_vars_of_mule_charset): Add new coded-charset
3303 `ethiopic-ucs' in UTF-2000.
3305 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
3306 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3308 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3310 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
3312 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3314 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
3317 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3319 * mule-charset.c (Vcharacter_variant_table): New variable.
3320 (Q_ucs): New variable.
3321 (Fchar_variants): New function.
3322 (Fput_char_attribute): Register `->ucs' value to
3323 `Vcharacter_variant_table'.
3324 (syms_of_mule_charset): Add new function `char-variants' and new
3326 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
3328 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3330 * mule-charset.c (get_char_code_table): Allow negative character
3332 (put_char_code_table): Likewise.
3333 (Vcharacter_composition_table): New variable.
3334 (Q_decomposition): New variable.
3335 (Qwide): New variable.
3336 (Qnarrow): New variable.
3337 (Qcompat): New variable.
3338 (QnoBreak): New variable.
3339 (Qsuper): New variable.
3340 (Qfraction): New variable.
3341 (to_char_code): New function.
3342 (Fget_composite_char): New function.
3343 (Fput_char_attribute): Register `->decomposition' value to
3344 `Vcharacter_composition_table'.
3345 (syms_of_mule_charset): Add new function `get-composite-char', new
3346 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
3347 `super' and `fraction'.
3348 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
3350 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3352 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
3353 character; copy the return value.
3355 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3357 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
3359 * mule-charset.c (range_charset_code_point): Must use make_int.
3360 (split_builtin_char): New function.
3362 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3364 * mule-charset.c (char_byte_table): Change name from
3365 "char-code-table" to "char-byte-table".
3366 (mark_char_code_table): New function.
3367 (char_code_table_equal): New function.
3368 (char_code_table_hash): New function.
3369 (char_code_table_description): New constant.
3370 (char_code_table): New type.
3371 (make_char_code_table): New function.
3372 (copy_char_code_table): New function.
3373 (get_char_code_table): Modify for `char_code_table' type.
3374 (put_char_code_table): Likewise.
3375 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
3378 * char-ucs.h (char_code_table): New type.
3379 (XCHAR_CODE_TABLE): New macro.
3380 (XSETCHAR_CODE_TABLE): New macro.
3381 (CHAR_CODE_TABLE_P): New macro.
3382 (GC_CHAR_CODE_TABLE_P): New macro.
3383 (struct Lisp_Char_Code_Table): New structure.
3385 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3387 * mule-charset.c (Fmake_charset): Setup byte_offset for
3390 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
3392 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
3395 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3397 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
3400 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3402 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
3403 charset, it is regarded as a charset.
3404 (put_char_attribute): New function in UTF-2000.
3405 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
3406 charset, mapping-table of the charset is modified.
3407 (Fdefine_char): New function in UTF-2000.
3408 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
3409 `Fput_char_attribute'.
3410 (syms_of_mule_charset): Add new function `define-char' and new
3411 symbol `ucs' in UTF-2000.
3412 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
3414 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3416 * mule-charset.c (Fcharset_name): Define `byte_offset' in
3417 non-UTF-2000 configuration.
3419 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3421 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
3422 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
3424 * mule-charset.c (mark_charset): `cs->encoding_table' has been
3426 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
3427 (Fset_charset_mapping_table): Likewise.
3429 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
3430 (CHARSET_ENCODING_TABLE): Delete.
3431 (XCHARSET_ENCODING_TABLE): Delete.
3432 (charset_code_point): New interface.
3434 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3436 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
3437 instead of `charset_get_byte1' and `charset_get_byte2'.
3439 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
3440 (charset_get_byte2): Deleted.
3442 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3444 * char-ucs.h (SPLIT_CHAR): New inline function.
3445 (breakup_char_1): Use `SPLIT_CHAR'.
3447 * mule-charset.c (range_charset_code_point): New function.
3448 (charset_code_point): New function.
3450 * char-ucs.h (range_charset_code_point): New interface.
3451 (breakup_char_1): Use `range_charset_code_point'.
3453 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3455 * mule-charset.c (Fmake_charset): Delete unused local variable
3458 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
3459 (breakup_char_1): Find a charset and code-point in
3460 `Vcharacter_attribute_table'.
3462 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3464 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3467 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3469 * mule-charset.c (Vcharacter_attribute_table): New variable.
3470 (Fchar_attribute_alist): New function.
3471 (Fget_char_attribute): New function.
3472 (Fput_char_attribute): New function.
3473 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
3475 (syms_of_mule_charset): Add new function `char-attribute-alist',
3476 `get-char-attribute' and `put-char-attribute'.
3477 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
3479 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
3481 * mule-charset.c (Fmake_charset): Just use
3482 `get_unallocated_leading_byte'.
3484 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
3485 sets; don't use final-byte based number for private sets.
3487 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3489 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
3492 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3494 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3497 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3499 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
3500 of `CHAR_LEADING_BYTE' in UTF-2000.
3502 * insdel.c (find_charsets_in_bufbyte_string): Use
3503 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3504 (find_charsets_in_emchar_string): Likewise.
3506 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
3507 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3509 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
3510 (CHAR_CHARSET_ID): New macro.
3512 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3514 * chartab.c (get_char_table): Don't use type `Charset_ID' for
3515 charset-id - MIN_LEADING_BYTE.
3516 (put_char_table): Likewise.
3518 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3520 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
3521 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
3522 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
3523 (CHARSET_ID_OFFSET): New macro.
3524 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
3525 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
3526 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
3527 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3529 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3531 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
3532 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
3533 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
3534 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
3535 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
3537 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3539 * mule-charset.c (next_allocated_leading_byte): New variable in
3541 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
3542 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
3543 (get_unallocated_leading_byte): Simply use
3544 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
3545 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
3548 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
3549 (MAX_LEADING_BYTE_PRIVATE): New macro.
3550 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
3551 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
3553 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3555 * mule-charset.c (Fmake_charset): Allocate final-byte based
3556 charset-id for 94-set, 96-set and 94x94-set.
3558 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3560 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
3562 (Fmake_charset): Likewise.
3563 (complex_vars_of_mule_charset): Modify the font registry of
3564 `ucs-bmp' not to match `Ethiopic-Unicode'.
3566 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3568 * mule-charset.c (complex_vars_of_mule_charset): Add font
3569 registory of `ucs-bmp'.
3571 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3573 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
3574 coded-charsets in `default-coded-charset-priority-list' when
3575 breaking up a character.
3577 * mule-charset.c (Vcharset_latin_viscii): New variable.
3578 (Qlatin_viscii): New variable.
3579 (make_charset): Don't use `decoding_table'.
3580 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
3582 (Fset_charset_mapping_table): New implementation.
3583 (syms_of_mule_charset): Add new symbol `latin-viscii'.
3584 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
3585 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
3586 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
3587 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
3588 charset `latin_viscii'.
3590 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
3591 (CHARSET_TYPE_94X94): Change to 1 from 2.
3592 (CHARSET_TYPE_96): Change to 2 from 1.
3593 (CHARSET_TYPE_128): New macro.
3594 (CHARSET_TYPE_128X128): Change to 5 from 4.
3595 (CHARSET_TYPE_256): New macro.
3596 (CHARSET_TYPE_256X256): Change to 7 from 5.
3597 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
3599 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3601 * text-coding.c (char_encode_shift_jis): Refer
3602 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
3603 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
3605 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
3606 (char_byte_table_equal): New function in UTF-2000.
3607 (char_byte_table_hash): New function in UTF-2000.
3608 (char_byte_table_description): New constant in UTF-2000.
3609 (char_byte_table): New type in UTF-2000.
3610 (make_char_byte_table): New function in UTF-2000.
3611 (copy_char_byte_table): New function in UTF-2000.
3612 (make_char_code_table): New macro in UTF-2000.
3613 (get_char_code_table): New function in UTF-2000.
3614 (put_char_code_table): New function in UTF-2000.
3615 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3616 (charset_description): Add setting in UTF-2000.
3617 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
3618 `CHARSET_TO_BYTE1_TABLE(cs)'.
3619 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
3620 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
3621 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
3622 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
3623 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
3624 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
3625 `CHARSET_TO_BYTE2_TABLE(cs)'.
3627 * char-ucs.h (char_byte_table): New type.
3628 (XCHAR_BYTE_TABLE): New macro.
3629 (XSETCHAR_BYTE_TABLE): New macro.
3630 (CHAR_BYTE_TABLE_P): New macro.
3631 (GC_CHAR_BYTE_TABLE_P): New macro.
3632 (struct Lisp_Char_Byte_Table): New structure.
3633 (get_char_code_table): New interface.
3634 (Emchar_to_byte_table): Deleted.
3635 (get_byte_from_character_table): Deleted.
3636 (struct Lisp_Charset): Add `encoding_table'; delete
3637 `to_byte1_table' and `to_byte2_table'.
3638 (CHARSET_ENCODING_TABLE): New macro.
3639 (CHARSET_TO_BYTE1_TABLE): Deleted.
3640 (CHARSET_TO_BYTE2_TABLE): Deleted.
3641 (XCHARSET_ENCODING_TABLE): New macro.
3642 (XCHARSET_TO_BYTE1_TABLE): Deleted.
3643 (XCHARSET_TO_BYTE2_TABLE): Deleted.
3645 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3647 * mule-charset.c (syms_of_mule_charset): Delete charset alias
3648 `vietnamese-viscii-*'.
3650 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3652 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
3653 (Qvietnamese_viscii_upper): New variable.
3654 (Fdefine_charset_alias): New function.
3655 (syms_of_mule_charset): Add new function `define-charset-alias'.
3656 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
3657 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
3660 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
3662 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
3663 (MAX_CHAR_OBS_94x94): New macro.
3664 (breakup_char_1): Support obsolete XEmacs-UCS private code space
3667 * mule-charset.c (put_byte_from_character_table): Change unit size
3669 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
3671 (Fmake_reverse_direction_charset): Modify dummy argument of
3672 `make_charset' for non-UTF-2000 environment.
3674 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3676 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
3678 * mule-charset.c (destroy_byte_from_character_table): New macro.
3679 (latin_jisx0201_to_ucs): Deleted.
3680 (latin_iso8859_2_to_ucs): Deleted.
3681 (latin_iso8859_3_to_ucs): Deleted.
3682 (latin_iso8859_4_to_ucs): Deleted.
3683 (latin_iso8859_9_to_ucs): Deleted.
3684 (latin_viscii_lower_to_ucs): Deleted.
3685 (latin_viscii_upper_to_ucs): Deleted.
3686 (mark_charset): Mark `cs->decoding_table'.
3687 (Fcharset_mapping_table): Fix DOC-string.
3688 (Fset_charset_mapping_table): New function.
3689 (syms_of_mule_charset): Add nwe function
3690 `set-charset-mapping-table'.
3691 (complex_vars_of_mule_charset): Don't setup and use
3694 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
3696 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
3699 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
3701 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
3702 (Vcharset_katakana_jisx0208): New variable.
3703 (Qhiragana_jisx0208): New variable.
3704 (Qkatakana_jisx0208): New variable.
3705 (make_charset): Add new argument `byte_offset'.
3706 (charset_get_byte1): Modify for new coded-charset definition; use
3707 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3708 `XCHARSET_BYTE_OFFSET'.
3709 (Fmake_charset): Modify for `make_charset'.
3710 (Fmake_reverse_direction_charset): Likewise.
3711 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
3712 `katakana-jisx0208'.
3713 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
3714 `.' in font registry of charset `katakana-jisx0201',
3715 `latin-jisx0201', `vietnamese-viscii-lower' and
3716 `vietnamese-viscii-upper'; modify DOC-string of charset
3717 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
3718 registry of charset `japanese-jisx0208' not to use font for JIS
3719 X0208:1990; add new charset `hiragana-jisx0208' and
3720 `katakana-jisx0208'.
3722 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
3723 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
3724 (struct Lisp_Charset): Add `byte_offset'.
3725 (CHARSET_BYTE_OFFSET): New macro.
3726 (XCHARSET_UCS_MIN): New macro.
3727 (XCHARSET_UCS_MAX): New macro.
3728 (XCHARSET_CODE_OFFSET): New macro.
3729 (XCHARSET_BYTE_OFFSET): New macro.
3730 (MIN_CHAR_HIRAGANA): New macro.
3731 (MAX_CHAR_HIRAGANA): New macro.
3732 (MIN_CHAR_KATAKANA): New macro.
3733 (MAX_CHAR_KATAKANA): New macro.
3734 (MAKE_CHAR): Modify for new coded-charset definition; use
3735 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3736 `XCHARSET_BYTE_OFFSET'.
3738 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3740 * mule-charset.c (CHAR96): Deleted.
3741 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
3743 (latin_iso8859_2_to_ucs): Likewise.
3744 (latin_iso8859_3_to_ucs): Likewise.
3745 (latin_iso8859_4_to_ucs): Likewise.
3746 (latin_iso8859_9_to_ucs): Likewise.
3747 (latin_viscii_lower_to_ucs): Likewise.
3748 (latin_viscii_upper_to_ucs): Likewise.
3749 (latin_tcvn5712_to_ucs): Commented out.
3750 (make_charset): Change type of argument `decoding_table' from
3751 <Emchar*> to <Lisp_Object> [vector of characters].
3752 (Fmake_charset): Modify for `make_charset'.
3753 (Fmake_reverse_direction_charset): Likewise.
3754 (Fcharset_mapping_table): New function in UTF-2000.
3755 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
3757 (complex_vars_of_mule_charset): Modify for type change of
3758 `*_to_ucs'; modify for `make_charset'.
3760 * char-ucs.h (struct Lisp_Charset): Change type of
3761 `decoding_table' from <Emchar*> to <Lisp_Object>.
3762 (MAKE_CHAR): Modify for new specification of `decoding_table'.
3764 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3766 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
3767 error with non-UTF-2000-Mule.
3769 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
3771 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
3773 (Vcharset_chinese_cns11643_4): Likewise.
3774 (Vcharset_chinese_cns11643_5): Likewise.
3775 (Vcharset_chinese_cns11643_6): Likewise.
3776 (Vcharset_chinese_cns11643_7): Likewise.
3777 (Qchinese_cns11643_3): Likewise.
3778 (Qchinese_cns11643_4): Likewise.
3779 (Qchinese_cns11643_5): Likewise.
3780 (Qchinese_cns11643_6): Likewise.
3781 (Qchinese_cns11643_7): Likewise.
3782 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
3783 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3784 and `chinese-cns11643-7' to lisp/mule/chinese.el.
3785 (complex_vars_of_mule_charset): Likewise.
3787 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3789 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
3791 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
3792 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
3794 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3796 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
3798 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
3799 (breakup_char_1): Likewise.
3801 * text-coding.c (char_encode_iso2022): Keep designated charsets if
3802 one of them includes the specified character.
3804 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3806 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
3808 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3810 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
3812 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3814 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
3815 definition for non-UTF-2000 Mule.
3816 (latin_iso8859_3_to_ucs): Likewise.
3817 (latin_iso8859_4_to_ucs): Likewise.
3818 (latin_iso8859_9_to_ucs): Likewise.
3819 (latin_jisx0201_to_ucs): Likewise.
3820 (MIN_CHAR_THAI): Likewise.
3821 (MAX_CHAR_THAI): Likewise.
3822 (MIN_CHAR_GREEK): Likewise.
3823 (MAX_CHAR_GREEK): Likewise.
3824 (MIN_CHAR_HEBREW): Likewise.
3825 (MAX_CHAR_HEBREW): Likewise.
3826 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
3827 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
3828 (MIN_CHAR_CYRILLIC): Likewise.
3829 (MAX_CHAR_CYRILLIC): Likewise.
3831 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3833 * char-ucs.h (breakup_char_1): Use
3834 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
3835 thai-tis620 and katakana-jisx0201 area.
3837 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3839 * char-ucs.h (breakup_char_1): Use
3840 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
3843 * text-coding.c (reset_encoding_stream): Fixed.
3844 (char_encode_ucs4): Delete `& 255'.
3846 * char-ucs.h (breakup_char_1): Use
3847 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
3849 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3851 * file-coding.c (Fmake_coding_system): Don't set up
3852 `codesys->fixed.size'.
3853 (encode_coding_no_conversion): Don't refer
3854 `str->codesys->fixed.size'.
3856 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3858 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
3859 (latin_a_char_to_byte1): Deleted.
3860 (latin_a_char_to_byte2): Deleted.
3862 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3864 * mule-charset.c (make_charset): Add new argument `ucs_min',
3865 `ucs_max' and `code_offset'.
3866 (charset_get_byte1): New implementation [delete specific charset
3867 depended implementations].
3868 (Fmake_charset): Modify for `make_charset'.
3869 (Fmake_reverse_direction_charset): Likewise.
3870 (complex_vars_of_mule_charset): Likewise.
3872 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
3874 (CHARSET_UCS_MIN): New macro.
3875 (CHARSET_UCS_MAX): New macro.
3876 (CHARSET_CODE_OFFSET): New macro.
3877 (MAKE_CHAR): Delete charset depended definitions [except
3880 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3882 * char-ucs.h (breakup_char_1): Use
3883 `Vdefault_coded_charset_priority_list' for C0-Controls,
3884 Basic-Latin, C1-Controls and Latin-1-Supplement area.
3886 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3888 * char-ucs.h (charset_get_byte1): New function.
3889 (XCHARSET_GET_BYTE1): Deleted.
3890 (charset_get_byte2): New function.
3891 (XCHARSET_GET_BYTE2): Deleted.
3892 (Vdefault_coded_charset_priority_list): New external variable.
3893 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3894 `Vdefault_preferred_coded_charset_list'.
3896 * mule-charset.c (charset_get_byte1): New function.
3897 (charset_get_byte2): New function.
3898 (Vdefault_coded_charset_priority_list): New variable.
3899 (vars_of_mule_charset): Add new variable
3900 `default-coded-charset-priority-list'.
3902 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3904 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3905 (XCHARSET_GET_BYTE2): New inline function.
3906 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3907 `XCHARSET_GET_BYTE2'.
3909 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3911 * mule-charset.c (make_charset): Initialize
3912 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3913 NULL if table is not defined.
3915 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3917 * text-coding.c (char_encode_shift_jis): Use
3918 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3919 `ucs_to_latin_jisx0201'.
3921 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3922 (ucs_to_latin_iso8859_2): Deleted.
3923 (ucs_to_latin_iso8859_3): Deleted.
3924 (ucs_to_latin_iso8859_4): Deleted.
3925 (ucs_to_latin_iso8859_9): Deleted.
3926 (ucs_to_latin_viscii_lower): Deleted.
3927 (ucs_to_latin_viscii_upper): Deleted.
3928 (ucs_to_latin_tcvn5712): Deleted.
3929 (make_charset): Add new argument `decoding_table'; set up
3930 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3931 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3932 `decoding_table' is defined in UTF-2000.
3933 (Fmake_charset): Modify for `make_charset'.
3934 (Fmake_reverse_direction_charset): Likewise.
3935 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3936 and `GENERATE_96_SET'.
3938 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3939 (ucs_to_latin_jisx0201): Deleted.
3940 (latin_iso8859_2_to_ucs): Deleted.
3941 (ucs_to_latin_iso8859_2): Deleted.
3942 (latin_iso8859_3_to_ucs): Deleted.
3943 (ucs_to_latin_iso8859_3): Deleted.
3944 (latin_iso8859_4_to_ucs): Deleted.
3945 (ucs_to_latin_iso8859_4): Deleted.
3946 (latin_iso8859_9_to_ucs): Deleted.
3947 (ucs_to_latin_iso8859_9): Deleted.
3948 (latin_viscii_lower_to_ucs): Deleted.
3949 (ucs_to_latin_viscii_lower): Deleted.
3950 (latin_viscii_upper_to_ucs): Deleted.
3951 (ucs_to_latin_viscii_upper): Deleted.
3952 (struct Lisp_Charset): Renamed `encoding_table' to
3953 `to_byte1_table'; add `to_byte2_table'.
3954 (CHARSET_DECODING_TABLE): New macro.
3955 (CHARSET_TO_BYTE1_TABLE): New macro.
3956 (CHARSET_TO_BYTE2_TABLE): New macro.
3957 (XCHARSET_DECODING_TABLE): New macro.
3958 (XCHARSET_TO_BYTE1_TABLE): New macro.
3959 (XCHARSET_TO_BYTE2_TABLE): New macro.
3960 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3962 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3963 don't use `ucs_to_*' tables.
3965 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3967 * text-coding.c (Fmake_coding_system): Don't set up
3968 `codesys->fixed.size'.
3969 (encode_coding_no_conversion): Use `if' instead of `switch'.
3971 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3973 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3975 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3976 (Fmake_charset): Modify for `make_charset'.
3977 (Fmake_reverse_direction_charset): Likewise.
3978 (complex_vars_of_mule_charset): Likewise.
3980 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3982 * text-coding.c (char_encode_shift_jis): Use table
3983 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3985 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3987 * text-coding.c (text_encode_generic): Use `if' instead of
3989 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3992 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3994 * text-coding.c (encode_coding_sjis): Deleted.
3995 (char_encode_shift_jis): New function.
3996 (char_finish_shift_jis): New function.
3997 (reset_encoding_stream): Set up `encode_char' and `finish' for
3998 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3999 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
4000 (char_encode_utf8): Treat `eol_type'.
4002 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4004 * file-coding.c (decode_coding_iso2022): Use
4005 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
4007 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4009 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4012 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4014 * char-lb.h (CHAR_COLUMNS): New macro.
4016 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4018 * text-coding.c (char_encode_ucs4): New function.
4019 (char_finish_ucs4): New function.
4020 (encode_coding_ucs4): Deleted.
4021 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
4022 (text_encode_generic): Delete local variable `charset' and `half'.
4023 (ucs_to_mule_table): Deleted.
4024 (mule_to_ucs_table): Deleted.
4025 (Fset_ucs_char): Deleted.
4026 (ucs_to_char): Deleted.
4027 (Fucs_char): Deleted.
4028 (Fset_char_ucs): Deleted.
4029 (Fchar_ucs): Deleted.
4030 (decode_ucs4): Deleted.
4031 (mule_char_to_ucs4): Deleted.
4032 (encode_ucs4): Deleted.
4033 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
4034 (decode_coding_utf8): Likewise.
4035 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
4036 (char_encode_iso2022): Fixed.
4037 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
4038 `Fset_char_ucs' and `Fchar_ucs'.
4039 (complex_vars_of_file_coding): Don't initialize
4040 `ucs_to_mule_table'.
4042 * objects-tty.c (tty_initialize_font_instance): Don't use
4045 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
4048 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
4049 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4051 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
4052 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4053 (emchar_string_displayed_columns): Likewise.
4055 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4056 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4057 (string_column_at_point): Likewise.
4058 (Fmove_to_column): Likewise.
4060 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4061 `encoding_table' and `decoding_table'.
4062 (CHARSET_REP_BYTES): Deleted.
4063 (XCHARSET_REP_BYTES): Deleted.
4064 (XCHARSET_COLUMNS): Deleted.
4065 (CHAR_COLUMNS): New macro.
4066 (lookup_composite_char): Deleted unconditionally.
4067 (composite_char_string): Likewise.
4069 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4071 * char-ucs.h (Emchar_to_byte_table): New type.
4072 (get_byte_from_character_table): New function interface.
4073 (Vcharset_latin_jisx0201): New variable.
4074 (latin_jisx0201_to_ucs): New variable.
4075 (ucs_to_latin_jisx0201): New variable.
4076 (Vcharset_latin_iso8859_2): New variable.
4077 (latin_iso8859_2_to_ucs): New variable.
4078 (ucs_to_latin_iso8859_2): New variable.
4079 (Vcharset_latin_iso8859_3): New variable.
4080 (latin_iso8859_3_to_ucs): New variable.
4081 (ucs_to_latin_iso8859_3): New variable.
4082 (Vcharset_latin_iso8859_4): New variable.
4083 (latin_iso8859_4_to_ucs): New variable.
4084 (ucs_to_latin_iso8859_4): New variable.
4085 (Vcharset_latin_iso8859_9): New variable.
4086 (latin_iso8859_9_to_ucs): New variable.
4087 (ucs_to_latin_iso8859_9): New variable.
4088 (Vcharset_latin_viscii_lower): New variable.
4089 (latin_viscii_lower_to_ucs): New variable.
4090 (ucs_to_latin_viscii_lower): New variable.
4091 (Vcharset_latin_viscii_upper): New variable.
4092 (latin_viscii_upper_to_ucs): New variable.
4093 (ucs_to_latin_viscii_upper): New variable.
4094 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4095 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4096 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4097 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4098 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4099 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4100 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4101 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4102 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
4103 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
4105 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
4106 (Vcharset_latin_viscii_upper): New variable.
4107 (make_byte_from_character_table): New function.
4108 (put_byte_from_character_table): New function.
4109 (get_byte_from_character_table): New function.
4110 (CHAR96): New macro.
4111 (ucs_to_latin_jisx0201): New variable.
4112 (latin_jisx0201_to_ucs): New variable.
4113 (ucs_to_latin_iso8859_2): New variable.
4114 (latin_iso8859_2_to_ucs): New variable.
4115 (ucs_to_latin_iso8859_3): New variable.
4116 (latin_iso8859_3_to_ucs): New variable.
4117 (ucs_to_latin_iso8859_4): New variable.
4118 (latin_iso8859_4_to_ucs): New variable.
4119 (ucs_to_latin_iso8859_9): New variable.
4120 (latin_iso8859_9_to_ucs): New variable.
4121 (ucs_to_latin_viscii_lower): New variable.
4122 (latin_viscii_lower_to_ucs): New variable.
4123 (ucs_to_latin_viscii_upper): New variable.
4124 (latin_viscii_upper_to_ucs): New variable.
4125 (ucs_to_latin_tcvn5712): New variable.
4126 (latin_tcvn5712_to_ucs): New variable.
4127 (Qlatin_viscii_lower): New variable.
4128 (Qlatin_viscii_upper): New variable.
4129 (syms_of_mule_charset): Set up new symbol
4130 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4131 (complex_vars_of_mule_charset): Set up new charset
4132 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
4133 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
4134 `ucs_to_<CHARSET>' tables.
4136 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4138 * text-coding.c: New file.
4140 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4142 * mule-charset.c (Fmake_char): Fix problem of 256-set.
4144 * char-ucs.h (Vcharset_ucs_bmp): New variable.
4145 (MAKE_CHAR): Modify for `ucs-bmp'.
4146 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
4147 non-MULE characters of BMP.
4149 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
4151 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4154 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
4157 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
4158 - Include character.h for `CHAR_ASCII_P'.
4160 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
4162 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
4163 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
4165 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
4166 (BYTE_C0_P): Likewise.
4167 (BYTE_C1_P): Likewise.
4168 (Lstream_get_emchar_1): Likewise.
4169 (Lstream_fput_emchar): Likewise.
4170 (Lstream_funget_emchar): Likewise.
4171 (copy_internal_to_external): Likewise.
4172 (copy_external_to_internal): Likewise.
4174 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
4175 (BYTE_C0_P): Likewise.
4176 (BYTE_C1_P): Likewise.
4177 (Lstream_get_emchar_1): Likewise.
4178 (Lstream_fput_emchar): Likewise.
4179 (Lstream_funget_emchar): Likewise.
4180 (copy_internal_to_external): Likewise.
4181 (copy_external_to_internal): Likewise.
4183 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
4184 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4186 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
4187 (BYTE_ASCII_P): Moved to mb-1byte.h.
4189 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
4191 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
4193 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
4194 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
4195 (VALID_CHARPTR_P): Moved to mb-*byte.h.
4196 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4197 (VALIDATE_CHARPTR_FORWARD): Likewise.
4198 (simple_charptr_emchar): Moved to mb-multibyte.h.
4199 (simple_set_charptr_emchar): Likewise.
4200 (simple_charptr_copy_char): Likewise.
4201 (non_ascii_charptr_emchar): Likewise.
4202 (non_ascii_set_charptr_emchar): Likewise.
4203 (non_ascii_charptr_copy_char): Likewise.
4204 (charptr_emchar): Moved to mb-*byte.h.
4205 (set_charptr_emchar): Likewise.
4206 (charptr_copy_char): Likewise.
4208 * mb-1byte.h, mb-multibyte.h: New files.
4210 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4212 * mb-utf-8.h (MULTIBYTE): New macro.
4213 (MAX_EMCHAR_LEN): Moved from buffer.h.
4214 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
4216 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
4218 * mb-lb.h, multibyte.h: New files.
4220 * char-1byte.h (Charset_ID): Moved from buffer.h.
4221 (MIN_LEADING_BYTE): Likewise.
4222 (LEADING_BYTE_ASCII): Likewise.
4223 (NUM_LEADING_BYTES): Likewise.
4224 (CHARSETP): Likewise.
4225 (CHARSET_BY_LEADING_BYTE): Likewise.
4226 (XCHARSET_LEADING_BYTE): Likewise.
4227 (XCHARSET_GRAPHIC): Likewise.
4228 (XCHARSET_COLUMNS): Likewise.
4229 (XCHARSET_DIMENSION): Likewise.
4230 (CHAR_CHARSET): Likewise.
4231 (CHAR_LEADING_BYTE): Likewise.
4232 (BREAKUP_CHAR): Likewise.
4233 (Vcharset_ascii): Likewise.
4235 * buffer.h: Include multibyte.h unconditionally.
4236 (VALID_CHARPTR_P): Moved to multibyte.h.
4237 (ASSERT_VALID_CHARPTR): Likewise.
4238 (REAL_INC_CHARPTR): Likewise.
4239 (REAL_INC_CHARBYTIND): Likewise.
4240 (REAL_DEC_CHARPTR): Likewise.
4241 (INC_CHARPTR): Likewise.
4242 (INC_CHARBYTIND): Likewise.
4243 (DEC_CHARPTR): Likewise.
4244 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4245 (VALIDATE_CHARPTR_FORWARD): Likewise.
4246 (charptr_n_addr): Likewise.
4247 (MAX_EMCHAR_LEN): Moved to mb-*.h.
4248 (simple_charptr_emchar): Moved to multibyte.h.
4249 (simple_set_charptr_emchar): Likewise.
4250 (simple_charptr_copy_char): Likewise.
4251 (non_ascii_charptr_emchar): Likewise.
4252 (non_ascii_set_charptr_emchar): Likewise.
4253 (non_ascii_charptr_copy_char): Likewise.
4254 (charptr_emchar): Likewise.
4255 (set_charptr_emchar): Likewise.
4256 (charptr_copy_char): Likewise.
4257 (charptr_emchar_n): Likewise.
4258 (Charset_ID): Moved to char-1byte.h.
4259 (Vcharset_ascii): Likewise.
4260 (CHAR_CHARSET): Likewise.
4261 (CHAR_LEADING_BYTE): Likewise.
4262 (LEADING_BYTE_ASCII): Likewise.
4263 (NUM_LEADING_BYTES): Likewise.
4264 (MIN_LEADING_BYTE): Likewise.
4265 (CHARSETP): Likewise.
4266 (CHARSET_BY_LEADING_BYTE): Likewise.
4267 (XCHARSET_LEADING_BYTE): Likewise.
4268 (XCHARSET_GRAPHIC): Likewise.
4269 (XCHARSET_COLUMNS): Likewise.
4270 (XCHARSET_DIMENSION): Likewise.
4271 (BREAKUP_CHAR): Likewise.
4273 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4275 * character.h: Add document about interface for characters.
4277 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
4278 (MAKE_CHAR): Delete comment about
4279 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
4280 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
4281 (BREAKUP_CHAR): Modify name of arguments.
4282 (CHAR_CHARSET): Modify name of argument.
4284 * buffer.h: Delete document about Emchar accessors.
4286 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4288 * character.h (CHAR_INTP): Moved from buffer.h
4289 (CHAR_OR_CHAR_INTP): Likewise.
4290 (XCHAR_OR_CHAR_INT): Likewise.
4291 (CHECK_CHAR_COERCE_INT): Likewise.
4293 * buffer.h (CHAR_INTP): Moved to character.h
4294 (CHAR_OR_CHAR_INTP): Likewise.
4295 (XCHAR_OR_CHAR_INT): Likewise.
4296 (CHECK_CHAR_COERCE_INT): Likewise.
4298 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4301 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
4302 - Include char-1byte.h, char-lb.h or char-ucs.h.
4304 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
4306 * buffer.h: Include character unconditionally.
4307 (valid_char_p): Moved to char-*.h.
4308 (non_ascii_valid_char_p): Moved to char-lb.h.
4310 * char-1byte.h, char-lb.h, char-ucs.h: New files.
4312 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4314 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
4315 in UTF-2000 because it is not ported yet and not to use
4316 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
4317 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
4318 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
4320 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
4321 (CHAR_ASCII_P): Moved from character.h.
4323 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
4324 (CHAR_ASCII_P): Likewise.
4325 (CHAR_FIELD1_MASK): Deleted.
4326 (CHAR_FIELD2_MASK): Deleted.
4327 (CHAR_FIELD3_MASK): Deleted.
4328 (MAX_CHAR_BASIC_LATIN): New macro.
4329 (CHAR_FIELD1): Deleted.
4330 (CHAR_FIELD2_INTERNAL): Deleted.
4331 (CHAR_FIELD3_INTERNAL): Deleted.
4332 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
4333 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
4334 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
4335 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
4336 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
4337 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
4338 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
4339 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
4340 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
4341 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
4342 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
4343 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
4344 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
4345 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
4346 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
4347 (MIN_CHAR_COMPOSITION): Deleted.
4348 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
4349 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
4351 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
4353 * buffer.h: Include mb-utf-8.h in UTF-2000.
4355 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
4357 * mb-utf-8.h: New file.
4359 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
4361 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
4364 * mule-charset.h, buffer.h (Charset_ID): New type.
4366 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4368 * mule-canna.c (c2mu): Use `MAKE_CHAR',
4369 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
4370 instead of `MULE_CHAR_PRIVATE_OFFSET',
4371 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
4372 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
4373 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
4375 * character.h (Vcharset_japanese_jisx0212): New variable
4378 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4380 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
4381 (charset_by_attributes): Delete array about direction.
4382 (latin_a_char_to_charset): New variable in UTF-2000.
4383 (latin_a_char_to_byte1): New variable in UTF-2000.
4384 (latin_a_char_to_byte2): New variable in UTF-2000.
4385 (Qucs_bmp): New variable.
4386 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
4388 (next_allocated_2_byte_leading_byte): Likewise.
4389 (non_ascii_set_charptr_emchar): Likewise.
4390 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
4391 `CHARSET_TYPE_256X256' in UTF-2000; modify for
4392 `charset_by_attributes'.
4393 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
4394 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
4395 and `CHARSET_BY_LEADING_BYTE'.
4396 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
4397 `utf-2000-version' to `vars_of_mule_charset'.
4398 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
4399 define `leading-code-private-11' in UTF-2000; move setting of
4400 `utf-2000-version' from `syms_of_mule_charset'.
4401 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
4404 * character.h (Charset_ID): New type.
4405 (LEADING_BYTE_UCS_BMP): New macro.
4406 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
4407 (CHARSET_ID_OFFSET_94): New macro.
4408 (MIN_CHARSET_ID_PRIVATE_94): New macro.
4409 (MAX_CHARSET_ID_PRIVATE_94): New macro.
4410 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
4412 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
4413 (LEADING_BYTE_LATIN_JISX0201): Likewise.
4414 (CHARSET_ID_OFFSET_96): New macro.
4415 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
4416 CHARSET_ID_OFFSET_96 and final-byte.
4417 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
4418 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
4419 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
4420 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
4421 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
4422 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
4423 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
4424 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
4425 (LEADING_BYTE_THAI_TIS620): Likewise.
4426 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
4427 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
4428 (CHARSET_ID_OFFSET_94x94): New macro.
4429 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
4430 CHARSET_ID_OFFSET_94x94 and final-byte.
4431 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
4432 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
4433 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
4434 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
4435 (LEADING_BYTE_CHINESE_GB2312): Likewise.
4436 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
4437 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
4438 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
4439 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
4440 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
4441 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
4442 (CHARSET_TYPE_128X128): New macro.
4443 (CHARSET_TYPE_256X256): New macro.
4444 (XCHARSET_PRIVATE_P): Delete unconditionally.
4445 (charset_by_attributes): Delete array about direction.
4446 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
4447 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
4448 (MIN_CHAR_94): New macro.
4449 (MAX_CHAR_94): New macro.
4450 (MIN_CHAR_96): New macro.
4451 (MAX_CHAR_96): New macro.
4452 (MIN_CHAR_94x94): New macro.
4453 (MAX_CHAR_94x94): New macro.
4454 (MIN_CHAR_96x96): New macro.
4455 (MAX_CHAR_96x96): New macro.
4456 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
4457 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4458 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
4460 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
4461 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
4462 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
4463 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
4464 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
4465 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
4466 `XCHARSET_LEADING_BYTE' to make code-point.
4467 (latin_a_char_to_charset): New variable.
4468 (latin_a_char_to_byte1): New variable.
4469 (latin_a_char_to_byte2): New variable.
4470 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
4471 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
4472 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
4474 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
4475 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
4476 (find_charsets_in_emchar_string): Likewise.
4477 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
4479 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
4481 (decode_coding_iso2022): Likewise.
4483 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
4486 * redisplay.c (redisplay_text_width_emchar_string): Use
4487 `Charset_ID' instead of `unsigned char'.
4488 (redisplay_frame_text_width_string): Likewise.
4490 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
4493 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
4494 instead of `unsigned char'.
4495 (face_cachel_charset_font_metric_info): Likewise.
4497 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
4498 (get_non_ascii_char_table_value): Likewise.
4499 (get_char_table): Likewise.
4500 (put_char_table): Likewise.
4501 (map_over_other_charset): Likewise.
4502 (map_char_table): Likewise.
4504 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
4505 instead of `unsigned char'.
4507 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
4509 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
4510 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
4512 * mule-charset.c (leading_code_private_11): Don't define in
4515 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
4516 in UTF-2000 because it is not ported yet and not to use
4517 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
4519 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
4521 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
4523 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4525 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
4528 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
4529 of unsigned char to store leading-byte.
4531 * chartab.c (get_non_ascii_char_table_value): Don't use
4532 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
4534 * file-coding.c (encode_coding_big5): Delete bogus implementation
4537 * character.h (LEADING_BYTE_*): Delete definition for
4539 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
4540 (LEADING_BYTE_PREFIX_P): Deleted.
4541 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
4542 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
4543 (BUFBYTE_LEADING_BYTE_P): Deleted.
4544 (CHARSET_PRIVATE_P): Deleted unconditionally.
4545 (rep_bytes_by_first_byte): Deleted unconditionally.
4546 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
4547 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
4548 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4549 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
4550 (CHAR_FIELD2): Deleted.
4551 (CHAR_FIELD3): Deleted.
4552 (MAKE_CHAR): Delete definition for non-UTF-2000.
4553 (BREAKUP_CHAR_1_UNSAFE): Deleted.
4554 (breakup_char_1): New implementation.
4555 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
4556 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
4558 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4560 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
4563 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4565 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
4566 (CHARSET_PRIVATE_P): Likewise.
4567 (XCHARSET_PRIVATE_P): Likewise.
4568 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
4570 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
4572 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
4574 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4576 * character.h (LEADING_BYTE_*): Changed in UTF2000.
4577 (NUM_LEADING_BYTES): Changed from 128 to 256.
4578 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4579 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
4581 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4583 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
4585 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
4586 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
4587 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
4588 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
4589 (Qchinese_cns11643_3): New variable in UTF2000.
4590 (Qchinese_cns11643_4): New variable in UTF2000.
4591 (Qchinese_cns11643_5): New variable in UTF2000.
4592 (Qchinese_cns11643_6): New variable in UTF2000.
4593 (Qchinese_cns11643_7): New variable in UTF2000.
4594 (syms_of_mule_charset): Define `chinese-cns11643-3',
4595 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4596 and `chinese-cns11643-7' in UTF2000.
4597 (vars_of_mule_charset): Initialize
4598 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
4600 (complex_vars_of_mule_charset): Setup charset
4601 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
4602 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
4604 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4606 * mule-charset.c: Move setting for `leading-code-private-11' from
4607 `syms_of_mule_charset' to `vars_of_mule_charset'.
4609 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4611 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
4612 and `NUM_LEADING_BYTES' in assert.
4614 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4616 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
4618 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
4619 `NUM_LEADING_BYTES' instead of 128.
4621 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4623 * mule-charset.h (charset_by_leading_byte): Use
4624 `NUM_LEADING_BYTES' instead of 128.
4625 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
4627 * mule-charset.c (charset_by_leading_byte): Use
4628 `NUM_LEADING_BYTES' instead of 128.
4629 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
4631 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
4634 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4636 * mule-charset.c (syms_of_mule_charset): Update to
4639 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4641 * file-coding.c (encode_coding_sjis): New implementation for
4642 UTF2000. (decode_coding_sjis): Ditto.
4644 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4646 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
4647 Don't define in UTF2000.
4649 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
4652 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4653 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
4656 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4658 * config.h.in (CHAR_IS_UCS4): New macro.
4660 * mule-charset.c (rep_bytes_by_first_byte): Modify for
4661 conventional MULE representation.
4662 (syms_of_mule_charset): Update to 0.3 (Imamiya).
4664 * mule-charset.h: Reverted to original.
4666 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4667 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
4668 "mule-charset.h" if CHAR_IS_UCS4 is defined.
4670 * character.h: New file.
4672 * file-coding.c (Fmake_coding_system): Set 1 to
4673 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
4675 (encode_coding_no_conversion): New implementation for UTF2000.
4677 * file-coding.h (struct Lisp_Coding_System): Add new member
4680 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
4682 * file-coding.c (decode_coding_iso2022): Code-point arguments of
4683 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
4684 (encode_coding_iso2022): New implementation for UTF2000.
4686 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4688 * mule-canna.c (c2mu): New implementation for UTF2000.
4691 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4693 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
4695 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4697 * file-coding.c (reset_encoding_stream): Set 0 to
4698 `str->iso2022.current_char_boundary' in UTF2000.
4699 (encode_utf8): Don't define in UTF2000.
4700 (encode_coding_utf8): New implementation for UTF-8 representation
4702 (complex_vars_of_file_coding): Define coding-system `utf-8'.
4704 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4706 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
4708 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
4710 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4712 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
4714 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
4715 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
4716 as UTF-8 in UTF2000.
4717 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
4718 (non_ascii_valid_char_p): Don't define in UTF2000.
4719 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
4720 (Lstream_get_emchar_1): Likewise.
4721 (utf-2000-version): New variable in UTF2000.
4723 * lread.c (read_escape): Add new reader `u'.
4725 * insdel.c (three_to_one_table): Don't define in UTF2000.
4726 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
4727 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4729 (bytind_to_bufpos_func): Likewise.
4730 (buffer_mule_signal_inserted_region): Likewise.
4731 (vars_of_insdel): Don't initialize `three_to_one_table'.
4732 (init_buffer_text): Use `buf->text->mule_size' instead of
4733 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4736 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
4737 UTF-8 representation in UTF2000.
4738 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
4739 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
4740 (decode_coding_iso2022): Don't define local variable `lb' in
4741 UTF2000; don't use LEADING_BYTE in UTF2000; use
4742 `DECODE_ADD_UCS_CHAR' in UTF2000.
4743 (convert_to_external_format): Decode as UTF-8 in UTF2000.
4745 * config.h.in (UTF2000): New macro.
4747 * buffer.h (struct buffer_text): Add new member `mule_size' and
4748 don't add `mule_shifter' and `mule_three_p' in UTF2000.
4749 (valid_char_p): Return always 1 in UTF2000.
4750 (MAX_EMCHAR_LEN): 6 in UTF2000.
4751 (three_to_one_table): Don't define in UTF2000.
4752 (real_bufpos_to_bytind): Modify for UTF-8 representation in
4754 (real_bytind_to_bufpos): Likewise.
4756 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
4758 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4760 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
4761 representation change.
4762 (Vutf_2000_version): New variable.
4763 (leading_code_private_11): New variable.
4764 (syms_of_mule_charset): Add new variables `utf-2000-version' and
4765 `leading-code-private-11'.
4767 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
4768 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
4769 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
4770 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
4771 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
4772 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
4773 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
4774 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
4775 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
4776 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
4777 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
4778 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
4779 (MIN_CHAR_GREEK): New macro.
4780 (MAX_CHAR_GREEK): New macro.
4781 (MIN_CHAR_CYRILLIC): New macro.
4782 (MAX_CHAR_CYRILLIC): New macro.
4783 (MIN_CHAR_HEBREW): New macro.
4784 (MAX_CHAR_HEBREW): New macro.
4785 (MIN_CHAR_THAI): New macro.
4786 (MAX_CHAR_THAI): New macro.
4787 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
4788 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
4789 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
4790 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
4791 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
4792 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
4793 (CHAR_FIELD2): New inline function.
4794 (CHAR_FIELD3): New inline function.
4795 (MULE_CHAR_PRIVATE_OFFSET): New macro.
4796 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
4797 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
4798 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
4799 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
4800 (MIN_CHAR_COMPOSITION): Likewise.
4801 (CHAR_LEADING_BYTE): Modified for character representation change.
4802 (MAKE_CHAR): Likewise.
4804 * lisp.h (Vcharset_latin_iso8859_1): New variable.
4805 (Vcharset_greek_iso8859_7): Likewise.
4806 (Vcharset_cyrillic_iso8859_5): Likewise.
4807 (Vcharset_hebrew_iso8859_8): Likewise.
4808 (Vcharset_thai_tis620): Likewise.
4809 (Vcharset_katakana_jisx0201): Likewise.
4811 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
4813 * XEmacs 21.4.12 "Portable Code" is released.
4815 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
4817 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
4818 * s/cygwin.sc: new linker file.
4820 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
4822 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
4824 * redisplay-x.c (x_output_string): Use X11-specified types.
4825 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
4826 * emacs.c (__free_hook): Use typeof with Intel compiler.
4827 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
4829 2003-01-08 Andy Piper <andy@xemacs.org>
4831 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
4832 reserve size during unexec().
4834 2003-01-07 Daiki Ueno <daiki@xemacs.org>
4836 * process-unix.c (unix_create_process): Don't let outchannel block.
4838 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
4840 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
4841 Needed for IsBadReadPtr().
4843 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
4845 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
4847 2002-12-14 Ben Wing <ben@xemacs.org>
4849 * callint.c: Declaration error.
4851 * dumper.c (pdump_load): Warning fix.
4852 * process.c: GCPRO error.
4853 * glyphs.c (unmap_subwindow):
4854 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
4855 * event-stream.c (maybe_kbd_translate): Wrong argument to
4856 character_to_event().
4858 * alloc.c (garbage_collect_1):
4860 * emacs.c (debug_can_access_memory):
4861 * emacs.c (fatal_error_signal):
4862 * emacs.c (mswindows_handle_hardware_exceptions):
4865 * emacs.c (assert_failed):
4866 * emacs.c (syms_of_emacs):
4869 * print.c (std_handle_out_va):
4870 * print.c (write_string_to_stdio_stream):
4871 * print.c (write_fmt_string):
4872 * print.c (printing_badness):
4873 * print.c (printing_major_badness):
4874 * print.c (print_internal):
4875 * print.c (debug_print_no_newline):
4876 * print.c (debug_backtrace):
4877 Be more defensive in handling bad values when printing. Add code
4878 from trunk involving inhibit_non_essential_printing_operations.
4879 When going down or in debug_print(), don't do external conversion
4880 and such and try really, really hard when printing to avoid core
4881 dumping. Add force-debugging-signal, debug_break().
4883 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
4885 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
4886 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
4888 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
4890 * database.c: Fix open_database. Berkeley DB API has changed in
4891 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
4893 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
4895 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
4897 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
4899 * event-Xt.c (Xt_timeout):
4900 (Xt_timeout_callback):
4901 (emacs_Xt_add_timeout):
4902 (emacs_Xt_remove_timeout):
4903 (Xt_timeout_to_emacs_event):
4904 Turn completed_timeouts from a stack into a queue. Fixes
4905 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
4907 2002-11-07 Wolfram Gloger <wg@malloc.de>
4909 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
4910 * emacs.c (main): Assert that mmap'd allocation is disabled.
4912 2002-10-14 Andy Piper <andy@xemacs.org>
4914 * glyphs-widget.c (layout_query_geometry): add in fiddle
4915 factor. Include border text in width layout calculation.
4916 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
4918 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
4920 * XEmacs 21.4.10 "Military Intelligence" is released.
4922 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
4924 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
4925 using the NAS private array SoundFileInfo that no longer exists in
4926 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
4927 and earlier. This is broken for some versions between 1.5a and
4930 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
4932 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
4934 * emacs.c (shut_down_emacs): Improve crash message.
4936 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
4938 * file-coding.c (determine_real_coding_system): Check for coding
4939 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
4940 shebangs and Python PEP 263.
4942 2002-10-08 Andy Piper <andy@xemacs.org>
4944 * glyphs-widget.c (layout_query_geometry): only resize dynamically
4945 if static sizes haven't been set.
4947 2002-08-30 Mike Alexander <mta@arbortext.com>
4949 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
4952 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
4954 * callproc.c (child_setup): 21.4 doesn't have retry_close.
4956 2002-09-20 Mike Sperber <mike@xemacs.org>
4958 (This partially gets back my patch from 2002-07-20 without the
4960 * callproc.c (child_setup): Remove Ben's comment noting confusion
4961 over the file descriptors >= 3: close_process_descs() doesn't
4962 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
4963 * process-unix.c (unix_create_process): Call
4964 begin_dont_check_for_quit to inhibit unwanted interaction (and
4965 thus breaking of X event synchronicity) in the child.
4967 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
4969 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
4972 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
4974 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
4975 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
4976 the xemacs process did not exit, but looped infinitely here. This
4979 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
4981 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
4982 (find_context): Improve comments.
4984 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
4985 (re_match_2): An XCHAR_TABLE operation was missing.
4987 Many of the following changes were inspired by Andy Piper's (now
4988 obsolete) patch to make syntax-table text property lookup optional.
4992 * syntax.h (top level): Document semantics of syntax flags.
4993 * syntax.c (comstr_start, Fforward_comment): Improve comments.
4994 * syntax.c, syntax.h (top level): Document syntax cache better in
4997 [Instrument syntax caching (temporary change)]
4999 * syntax.h (enum syntax_cache_statistics_functions, struct
5000 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
5001 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
5002 * syntax.c (scan_words, Fforward_comment, scan_lists,
5003 Fbackward_prefix_characters):
5004 * font-lock.c (find_context):
5005 Use them to instrument syntax caching.
5006 * syntax.c (struct syntax_cache_statistics, scs_statistics,
5007 syntax_cache_statistics_function_names): New type and variables.
5008 * syntax.c (update_syntax_cache): Update and report statistics.
5010 [Major syntax cache optimizations]
5012 syntax.c (lookup_syntax_properties): Default off.
5014 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
5015 * syntax.c (update_syntax_cache):
5016 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
5018 [Minor syntax cache optimizations and code clarifications]
5020 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
5021 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
5022 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
5023 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
5024 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
5025 (Code clarification.)
5027 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
5028 scan_lists): Compute code from syncode, use Boolean macros instead
5029 of redundant masking operations. (Code clarification; any decent
5030 compiler can do this optimization.)
5032 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
5035 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
5036 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
5037 use F*_single_property_change instead of F*_extent_change.
5038 Currently F*_single_property_change is _much_ less efficient.
5040 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
5041 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
5042 syntax_cache.object properly, don't leave Qt or Qnil.
5043 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
5044 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
5045 tests for Qt or Qnil.
5047 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
5049 * redisplay.c (point_in_line_start_cache):
5050 * extents.c (print_extent_1):
5053 * extents.c (Fset_extent_property): Document `syntax-table' property.
5055 * extents.h (Fnext_single_property_change): EXFUN it.
5057 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5059 * search.c (clear_unused_search_regs): New static function.
5063 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
5064 Minor clarifications in comments.
5066 * regex.c (re_match_2_internal): Ensure no stale submatches.
5068 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5070 * event-Xt.c (enqueue_focus_event): Add missing prototype.
5072 2002-08-29 Jerry James <james@xemacs.org>
5074 * lisp.h: structrures -> structures.
5076 2002-06-03 Andy Piper <andy@xemacs.org>
5078 * frame.c (frame_conversion_internal): add conversion appropriate
5079 for setting frame dimensions in pixels.
5081 * console.h (struct console_methods): add device-specific widget
5084 * emacs.c (main_1): initialize glyph vars.
5086 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
5087 (handle_focus_event_2): new function. Allow focus to
5088 be set to a particular window and widget.
5089 (enqueue_focus_event): new function. Create a
5090 synthetic focus event.
5091 (emacs_Xt_handle_magic_event): call
5092 handle_focus_event_2.
5094 * frame.c (Fset_frame_pixel_height): new function. Allow
5095 pixel-based sizing. Does the right thing on character-oriented
5097 (Fset_frame_pixel_width): ditto.
5098 (Fset_frame_pixel_size): ditto.
5099 (syms_of_frame): declare.
5101 * general-slots.h: add :vertically-justify and
5102 :horizontally-justify.
5104 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
5105 (mswindows_widget_border_width): new function.
5106 (mswindows_combo_box_instantiate): set border widths.
5107 (console_type_create_glyphs_mswindows): declare.
5110 (check_valid_justification): allow vertical and horizontal
5112 (widget_border_width): new function. Call device methods.
5113 (widget_instance_border_width): ditto.
5114 (logical_unit_height): new function. Determine the height of a
5115 logical-unit. Logical units are intended to provide grid-like
5116 layout for subcontrols in a layout. If the layout is
5117 :vertically-justify top then subcontrols will be positioned on
5118 logical-unit boundaries, thus allowing adjacent subcontrols to
5120 (widget_logical_unit_height): ditto for widgets.
5121 (redisplay_widget): misc cleanup.
5122 (widget_spacing): new function. Call device specific
5123 methods. Intended to be the default gap between adjacent widgets.
5124 (widget_query_geometry): use new spacing functions to determine
5125 appropriate geometry.
5126 (initialize_widget_image_instance): initialize horizontal and
5127 vertical justification.
5128 (widget_instantiate): use logica-units where appropriate for
5129 sizing large widgets.
5130 (button_query_geometry): use widget_instance_border_width.
5131 (tree_view_query_geometry): ditto.
5132 (tab_control_query_geometry): ditto.
5133 (edit_field_query_geometry): new function.
5134 (layout_update): pick up :justify, :horizontally-justify and
5135 :vertically-justify none of which worked previously. :justify is
5136 used as a fallback for both horizontal and vertical justification.
5137 (layout_query_geometry): use logical units to size appropriately.
5138 (layout_layout): ditto.
5139 (Fwidget_logical_to_character_width): new function. Allow users to
5140 convert from logical units to characters so that frame sizes can
5141 be set appropriately.
5142 (Fwidget_logical_to_character_height): ditto.
5143 (syms_of_glyphs_widget): declare.
5144 (image_instantiator_edit_fields): add edit_field_query_geometry.
5145 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
5146 :horizontally-justify.
5147 (specifier_vars_of_glyphs_widget): new function. Declare
5148 Vwidget_border_width which is not yet used.
5150 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
5151 (x_widget_border_width): new function.
5152 (x_widget_instantiate): create a sensible name for widgets.
5153 (console_type_create_glyphs_x): declare x_widget_border_width.
5155 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
5156 (struct Lisp_Image_Instance): add :vertically-justify and
5157 :horizontally-justify.
5158 (LAYOUT_JUSTIFY_TOP): new.
5159 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
5160 (ROUND_UP): new macro. Round argument up to next integral
5163 * redisplay-output.c (redisplay_output_layout): misc formatting.
5165 * symsinit.h: declare specifier_vars_of_glyphs_widget.
5167 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
5169 * XEmacs 21.4.9 "Informed Management" is released.
5171 2002-08-19 Andy Piper <andy@xemacs.org>
5173 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
5176 * realpath.c (xrealpath): normalize drive spec also so that dir
5177 sep chars are not mixed on cygwin.
5179 2002-08-06 Jerry James <james@xemacs.org>
5181 * window.c (Fsplit_window): Count only half of the divider width
5182 against the left window when splitting horizontally.
5184 2002-06-24 Andy Piper <andy@xemacs.org>
5186 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
5187 toolbar was cleared.
5189 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
5190 function. Split out from mswindows_output_frame_toolbars.
5191 (mswindows_output_frame_toolbars): move clear pieces to
5192 mswindows_output_frame_toolbars.
5194 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
5195 out from gtk_output_frame_toolbars.
5196 (gtk_output_frame_toolbars): move clear pieces to
5197 gtk_clear_frame_toolbars.
5199 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
5200 the frame is cleared. How this ever worked before is a mystery.
5201 (x_output_frame_toolbars): Only output toolbars.
5202 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
5204 * gutter.c (update_gutter_geometry):
5205 Mark frame layout changed.
5206 (update_frame_gutter_geometry, update_frame_gutters):
5207 Respect frame_layout_changed.
5209 * console.h (struct console_methods): add
5210 clear_frame_toolbars_method.
5212 * redisplay.c (redisplay_frame): call
5213 update_frame_toolbars_geometry and re-order update_frame_toolbars.
5215 * toolbar.h: declare update_frame_toolbars_geometry.
5217 * toolbar.c (update_frame_toolbars_geometry): new function. Split
5218 out from update_frame_toolbars. Call clear_frame_toolbars.
5219 (update_frame_toolbars): only output, do not change geometry.
5221 * redisplay.c: add frame_layout_changed.
5223 * redisplay.h: add frame_layout_changed.
5224 (CLASS_RESET_CHANGED_FLAGS): set it.
5225 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
5226 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
5227 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
5229 * device.h (struct device): add frame_layout_changed.
5230 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
5232 * frame.h (struct frame): add frame_layout_changed.
5233 (MARK_FRAME_LAYOUT_CHANGED): new.
5235 2002-06-30 Mike Alexander <mta@arbortext.com>
5237 * event-msw.c (mswindows_need_event): Don't wait for a new message
5238 if the queue is not empty. Suggested by Paul Moore.
5240 2002-06-12 Andy Piper <andy@xemacs.org>
5242 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
5243 for printing on accurately.
5245 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
5247 * event-msw.c (mswindows_wnd_proc): Add a handler for the
5248 WM_ACTIVATE message. Make sure that the frame is visible if the
5249 window is visible. This seemss to fix the problem where XEmacs
5250 appears to freeze after switching desktops with certain virtual
5252 (debug_output_mswin_message): Added code to output message
5253 parameters for WM_WINDOWPOSCHANGED,
5254 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
5256 2002-05-25 Andy Piper <andy@xemacs.org>
5258 * select-x.c (vars_of_select_x): Fix docstring of
5259 x-selection-strict-motif-ownership
5261 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5263 * keymap.c (get_keymap):
5264 Add comment about do_autoload GCPROs own args.
5266 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5268 * bytecode.c (execute_optimized_program): check_opcode ifdef
5269 ERROR_CHECK_BYTE_CODE.
5271 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5273 Thanks to Ben Wing and Michael Sperber.
5275 * eval.c (Fcommand_execute):
5278 (Fmacroexpand_internal):
5279 (function_argcount):
5280 callint.c (Fcall_interactively):
5281 Add comment about do_autoload GCPROs own args.
5283 * (do_autoload): GCPRO both args as well as local Lisp_Object.
5285 * eval.c (Ffuncall): Extra braces to placate GCC.
5287 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
5289 * backtrace.h (grow_specpdl):
5291 * EmacsFrame.c (EmacsFrameSetValues):
5292 * eval.c (grow_specpdl):
5293 * ExternalShell.c (hack_event_masks_1):
5294 * glyphs-x.c (convert_EImage_to_XImage):
5295 (x_finalize_image_instance):
5296 * ralloc.c (page_size):
5298 * xgccache.c (gc_cache_hash):
5299 Fix unsigned comparison warnings.
5301 2002-07-29 Jerry James <james@xemacs.org>
5303 * lread.c (locate_file): Any nonnegative return value indicates
5304 success if MODE is nonnegative.
5306 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
5308 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
5311 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
5313 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
5315 * dumper.c (pdump_get_indirect_count):
5316 (pdump_scan_by_alignment):
5317 (pdump_dump_root_struct_ptrs):
5318 (pdump_dump_rtables):
5319 (pdump_dump_root_objects):
5321 * nas.c (WaveOpenDataForReading):
5322 * fns.c (print_bit_vector):
5323 * font-lock.c (SINGLE_SYNTAX_STYLE):
5324 * glyphs.c (check_for_ignored_expose):
5325 (find_matching_subwindow):
5327 * imgproc.c (get_histogram):
5328 * redisplay.c (point_in_line_start_cache):
5329 * redisplay-output.c (redisplay_unmap_subwindows):
5330 * symbols.c (defsymbol_massage_name_1):
5331 (defkeyword_massage_name):
5332 (deferror_massage_name_and_message):
5333 * redisplay-x.c (x_output_string):
5334 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
5335 * frame.h (struct frame):
5336 * filelock.c (current_lock_owner):
5337 * doprnt.c (emacs_doprnt_1):
5338 * lisp.h (struct Lisp_Bit_Vector):
5342 2002-02-13 Ben Wing <ben@xemacs.org>
5344 * event-stream.c (reset_key_echo):
5345 * event-stream.c (reset_this_command_keys):
5346 * event-stream.c (execute_command_event):
5347 If console is dead as a result of C-x 5 0, then post-command stuff
5348 needs to be careful and do only non-console-specific stuff.
5350 2002-07-01 Mike Sperber <mike@xemacs.org>
5352 * process-unix.c (unix_send_process): Mark coding_outstream as
5353 non-open upon SIGPIPE.
5355 * event-stream.c (Fnext_event): Reorder switch cases to something
5358 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
5360 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
5361 Don't bogusly reinitialize ascii_character property.
5363 2002-07-08 Mike Sperber <mike@xemacs.org>
5365 * process.c (Fstart_process_internal): Do error checking before we
5366 fork off the child, so the child can't muck with the state of the
5369 2002-07-08 Mike Sperber <mike@xemacs.org>
5371 * ralloc.c (init_ralloc): Allocate properly for pdump.
5373 2002-06-12 Andy Piper <andy@xemacs.org>
5375 * glyphs.c (query_string_geometry): check the string.
5377 * glyphs-widget.c (widget_logical_unit_height): cope with nil
5380 2002-06-17 Jerry James <james@xemacs.org>
5382 * sysdll.c: Remove RTLD_GLOBAL initialization.
5383 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
5385 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
5387 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
5389 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
5391 * sysdep.c (sys_rename): Make sys_rename work for the case where
5392 Windows rename sets errno to EACCES if target file exists.
5394 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
5396 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5397 Fix detection of metric units to work on Win95
5399 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
5401 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
5403 2002-04-25 Andy Piper <andy@xemacs.org>
5405 * redisplay.c (create_text_block): Remove extra comment trailer.
5407 2002-04-24 Andy Piper <andy@xemacs.org>
5409 * redisplay.c (create_text_block): Don't actually add propagation
5410 data if the line ends after we have added a glyph.
5412 2002-04-22 Andy Piper <andy@xemacs.org>
5414 * extents.c (extent_fragment_update): check for glyphs we have
5415 previously displayed.
5416 * extents.c (print_extent_1): warning removal.
5417 * extents.h: change prototype.
5418 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
5419 widths correctly for wide glyphs.
5420 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
5421 * redisplay.c (prop_type): add PROP_GLYPH.
5422 * redisplay.c (struct prop_block): add glyph type
5423 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
5424 to the propagation data.
5425 * redisplay.c (create_text_block): if there is a glyph in the
5426 propagation data use it to salt extent_fragment_update.
5427 * redisplay.c (create_string_text_block): ditto.
5429 2002-04-13 Nix <nix@esperi.demon.co.uk>
5431 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
5432 * redisplay-output.c (compare_runes): Compare them.
5433 * redisplay.c: Update copyright date.
5434 * redisplay.c (pos_data): Add need_baseline_computation field.
5435 * redisplay.c (add_glyph_rune): Update ascent, descent, and
5436 need_baseline_computation; zero yoffset. Set max_pixmap_height
5437 for all pixmaps, not just automatically positioned ones.
5438 * redisplay.c (calculate_yoffset): New, compute yoffset values.
5439 * redisplay.c (calculate_baseline): New, compute textual baseline.
5440 * redisplay.c (add_glyph_rune): Call them.
5441 * redisplay.c (create_text_block): Likewise.
5442 * redisplay.c (create_overlay_glyph_block): Likewise.
5443 * redisplay.c (add_margin_runes): Likewise.
5444 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
5446 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
5447 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
5448 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
5449 * redisplay-msw.c (mswindows_output_string): Likewise.
5450 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
5451 * redisplay-gtk.c (gtk_output_display_block): Likewise.
5452 * redisplay-x.c (x_output_display_block): Likewise.
5454 2002-03-28 Ben Wing <ben@xemacs.org>
5456 * redisplay.c: Fixed bug in redisplay
5457 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
5458 and down of the lines, since they're bigger than the line
5459 size. (It was seen most obviously when there's a horizontal scroll
5460 bar, e.g. do C-h a glyph or something like that.) The problem was
5461 that the glyph-contrib-p setting on glyphs was ignored even if it
5462 was set properly, which it wasn't until now.
5464 2002-04-24 Andy Piper <andy@xemacs.org>
5466 * lisp.h (Dynarr_end): Fix definition.
5468 2002-02-06 Adrian Aichner <adrian@xemacs.org>
5470 * redisplay.c (mark_redisplay): Remove call to
5471 update_frame_window_mirror.
5473 2001-11-15 Andy Piper <andy@xemacs.org>
5475 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
5478 2002-02-13 Andy Piper <andy@xemacs.org>
5480 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
5481 we did in fact enqueue the XM_MAPFRAME event.
5483 2002-01-15 Adrian Aichner <adrian@xemacs.org>
5485 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
5486 to fix problem switching between virtual desktops under virtuawin
5487 virtual window manager.
5489 2001-07-30 Adrian Aichner <adrian@xemacs.org>
5491 * event-msw.c: Typo fix.
5492 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
5493 magic XM_MAPFRAME event has been sent.
5495 2001-11-23 Andy Piper <andy@xemacs.org>
5497 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
5499 2001-11-21 Andy Piper <andy@xemacs.org>
5501 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
5502 mouse events outside the frame.
5504 2002-03-20 Andy Piper <andy@xemacs.org>
5506 * menubar-msw.c (mswindows_popup_menu): warning removal.
5507 * dialog-msw.c (dialog_popped_down): ditto.
5509 2001-12-11 Andy Piper <andy@xemacs.org>
5511 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
5512 * dialog-msw.c (mswindows_make_dialog_box_internal): set
5514 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
5515 * menubar-msw.c (mswindows_handle_wm_command): ditto.
5516 * menubar-msw.c (mswindows_popup_menu): ditto.
5518 2001-10-29 Andy Piper <andy@xemacs.org>
5520 * dialog-msw.c (handle_directory_dialog_box): quit if the user
5523 2002-01-03 Andy Piper <andy@xemacs.org>
5525 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
5529 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
5531 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
5532 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
5533 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5534 Detect and handle case where machine is set up for metric units
5536 2002-04-02 Andy Piper <andy@xemacs.org>
5538 * dired-msw.c (mswindows_get_files):
5539 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
5540 completely handled by XEmacs. Suggested by Thomas Vogler
5541 <mail@thomas-vogler.de>.
5543 2001-11-14 Andy Piper <andy@xemacs.org>
5545 * nt.c (REG_ROOT): change registry key to XEmacs.
5547 2002-04-27 Andy Piper <andy@xemacs.org>
5549 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
5551 2002-04-26 Andy Piper <andy@xemacs.org>
5553 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
5556 2002-03-14 Mike Alexander <mta@arbortext.com>
5558 * event-msw.c (mswindows_unwait_process): New, remove process from
5560 * process-nt.c (nt_finalize_process_data): Call
5561 mswindows_unwait_process
5562 * console-msw.h: Declare mswindows_unwait_process
5564 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
5566 * editfns.c (Fdecode_time):
5567 (Fformat_time_string):
5568 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
5569 (make_time): Warning elimination (change arg name).
5571 2001-11-24 Andy Piper <andy@xemacs.org>
5573 * window.c (Fsplit_window): Doc return type.
5575 2002-04-01 Andy Piper <andy@xemacs.org>
5577 * emacs.c (Fkill_emacs): Only output message box in interactive
5580 2002-04-26 Andy Piper <andy@xemacs.org>
5582 * config.h.in: pull in 21.5.x change to stop alloca warnings under
5585 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
5587 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
5590 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
5592 * XEmacs 21.4.8 "Honest Recruiter" is released.
5594 2002-05-07 Nix <nix@esperi.demon.co.uk>
5596 Supersedes 2002-04-17 patch.
5598 * process.h (PROCESS_LIVE_P): Use the process status as
5599 evidence of health, not the state of the input stream.
5600 (PROCESS_READABLE_P): Say if the process is readable
5601 from. (It may be dead nonetheless.)
5602 (CHECK_READABLE_PROCESS): Test for that condition.
5604 * process.c (create_process): Use PROCESS_READABLE_P.
5605 (read_process_output, set_process_filter): Likewise.
5607 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
5608 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
5610 This code is #if 0'd, this is not the time to add new functions:
5612 * process.c (Fprocess_readable_p): Report readability status.
5613 * process.c (Qprocess_readable_p): New, associated symbol...
5614 * process.c (syms_of_process): ... initialize it.
5616 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
5618 * XEmacs 21.4.7 "Economic Science" is released.
5620 2002-04-17 Nix <nix@esperi.demon.co.uk>
5622 * process.h (PROCESS_LIVE_P): Use the process status as
5623 evidence of health, not the state of the input stream.
5625 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
5627 * sysdep.c (sys_siglist): change "signum" to "signal"
5629 2001-04-21 Martin Buchholz <martin@xemacs.org>
5631 * s/darwin.h: New file.
5632 Thanks to Greg Parker <gparker@cs.stanford.edu>.
5634 2002-04-23 Andreas Jaeger <aj@suse.de>
5636 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
5637 which use lib64 for 64-bit libs.
5638 (START_FILES): Likewise.
5640 2002-02-11 Mike Sperber <mike@xemacs.org>
5643 (x_IO_error_handler):
5644 (x_init_device): Temporarily keep device in static variable
5645 `device_being_initialized' so we can recover gracefully from
5646 internal XOpenDevice failure. (XOpenDevice is documented to
5647 return NULL on failure, but sometimes calls the IO error handler
5650 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
5652 * dired.c (Ffile_name_all_completions): Change documentation --
5653 remove reference to completion-ignored-extensions.
5654 * dired.c (vars_of_dired): Change documentation for
5655 completion-ignored-extensions -- remove reference to
5656 file-name-all-completions.
5658 2002-03-06 Jerry James <james@xemacs.org>
5660 * emodules.c (emodules_load): Fix multiple loading of same module.
5662 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
5663 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
5664 RTLD_LAZY to avoid incorrect symbol binding when using nested
5665 shared libraries on Solaris.
5667 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
5669 * fileio.c (Ffind_file_name_handler): Improve docstring.
5671 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
5673 * fns.c (Fmapconcat): Improve docstring.
5675 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
5677 * device-gtk.c: Add prototype for
5678 emacs_gtk_selection_clear_event_handle.
5679 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
5680 selection. Setup signal handler for "selection_clear_event"
5681 (emacs_gtk_selection_clear_event_handle).
5683 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
5684 other applications owning the clipboard (based on
5685 x_handle_selection_clear).
5687 2001-12-23 William M. Perry <wmperry@gnu.org>
5689 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
5691 2002-01-04 Martin Buchholz <martin@xemacs.org>
5693 * keymap.c (define_key_alternate_name): Parenthesize EQ.
5695 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
5697 * XEmacs 21.4.6 "Common Lisp" is released.
5699 2001-12-16 Torsten Duwe <duwe@caldera.de>
5701 * search.c (Freplace_match): Add missing sub-expression functionality.
5703 * buffer.c (decode_buffer): Add a check for pointer type to
5704 decode_buffer, before gcc's CSE optimization reorders a
5705 dereference in front of the allow_string test.
5707 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
5709 * window.c (window_loop): Fix bug that sometimes prevented
5710 window_loop() from iterating across multiple devices. Also, at
5711 Ben's request, changed infloop-detecting code to abort() instead
5712 of silently terminating window_loop().
5714 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
5716 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
5717 * editfns.c (make_time): New function.
5718 (Fencode_time): Use it instead of wasteful_word_to_lisp.
5719 * lisp.h (make_time): Prototype and comment it.
5720 * dired.c (wasteful_word_to_lisp): Deprecate.
5721 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
5723 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
5725 * fileio.c (auto_save_1): Use current coding system, not
5728 2001-11-13 Ben Wing <ben@xemacs.org>
5731 * window.c (window_truncation_on):
5732 * window.c (syms_of_window):
5733 truncate-partial-width-windows should respect the buffer being
5734 displayed, like other redisplay vars.
5736 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
5738 * event-stream.c (Fread_key_sequence): save current buffer.
5740 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
5742 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
5744 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
5746 * alloc.c (lcrecord_stats): Add space for types defined in modules.
5748 2001-10-26 Mike Alexander <mta@arbortext.com>
5750 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
5752 2001-10-25 Andy Piper <andy@xemacs.org>
5755 * dialog-msw.c (handle_directory_proc): new function.
5756 (handle_directory_dialog_box): new fucntion.
5757 (handle_file_dialog_box): use new directory dialog support.
5758 (mswindows_make_dialog_box_internal): ditto.
5759 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
5761 (mswindows_find_frame): make global.
5762 * fileio.c (Fexpand_file_name): build fix.
5763 * general-slots.h: add Qdirectory.
5764 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
5766 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
5767 cygwin not leaving win32 paths unchanged.
5768 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
5769 cygwin runtime to do path conversion.
5770 (Fmswindows_shell_execute): fix cygwin handling of URLs.
5771 (syms_of_win32): add new function.
5772 * window.c (window_loop): build fix.
5774 2001-10-15 Andy Piper <andy@xemacs.org>
5776 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
5778 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
5780 * XEmacs 21.4.5 "Civil Service" is released.
5782 2001-04-08 Danny Colascione <qtmstr@optonline.net>
5784 * glyphs-x.c: Force buffer-tab highlight update when moving the
5785 buffer, avoiding an ugly black border, used for keyboard focus
5786 indication, on a widget that can never have keyboard focus, the
5789 2001-08-30 Daiki Ueno <ueno@unixuser.org>
5791 * process-unix.c (unix_open_multicast_group): Remove too much
5792 conversion between host and network byte order.
5794 2001-09-10 Nix <nix@esperi.demon.co.uk>
5796 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
5797 before replacing them.
5799 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
5802 * src/window.c (undedicate_windows): Use it.
5803 * src/window.h: Add prototype.
5805 2001-09-17 Ben Wing <ben@xemacs.org>
5807 * fileio.c (normalize_filename):
5808 * fileio.c (Fexpand_file_name):
5809 Fix various C++ compile errors in Andy's recent code.
5811 * callint.c (Fcall_interactively):
5812 * editfns.c (Ftemp_directory):
5813 * editfns.c (Fuser_full_name):
5814 * emacs.c (argmatch):
5815 * lread.c (locate_file_map_suffixes):
5816 * redisplay-x.c (x_ring_bell):
5817 Fix sign-compare warnings.
5819 2001-09-08 Andy Piper <andy@xemacs.org>
5821 * fileio.c (normalize_filename): copied from nt.c
5822 * (Ffile_name_directory): enable win32 paths under cygwin.
5823 * (Ffile_name_nondirectory): ditto.
5824 * (directory_file_name): ditto.
5825 * (Fexpand_file_name): ditto.
5826 * (Ffile_truename): ditto.
5827 * (Fsubstitute_in_file_name): ditto.
5828 * (Ffile_name_absolute_p): ditto.
5829 * (Ffile_readable_p): ditto.
5831 2001-09-08 Andy Piper <andy@xemacs.org>
5833 * device-msw.c (mswindows_finish_init_device): remove dde
5835 * device-msw.c (mswindows_init_dde): factor out from
5836 mswindows_finish_init_device()
5837 * device-msw.c (init_mswindows_very_early): new function
5838 initialize but don't enable dde.
5839 * emacs.c (main_1): call init_mswindows_very_early.
5841 * event-msw.c (mswindows_dde_callback): only execute when we are
5843 * symsinit.h: declare init_mswindows_very_early.
5845 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5847 [sjt: This has been in 21.5 for months with no complaints.]
5849 * console.h (struct console_methods): Added flags member.
5850 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
5851 (CONMETH_IMPL_FLAG):
5852 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
5853 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
5855 * device.c (window_system_pixelated_geometry): Use the above macros.
5857 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
5858 implememntation flag.
5859 * device.h (DEVICE_DISPLAY_P): Use it.
5861 * frame.c (delete_frame_internal): Use the above macro.
5863 * redisplay.c (redisplay_device): Use it.
5864 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
5865 (redisplay_frame): Ditto.
5867 * device-msw.c (mswindows_device_implementation_flags): Removed.
5868 (msprinter_device_implementation_flags): Removed.
5869 (console_type_create_device_mswindows): Removed references to
5870 implementation_flags methods, set implementation flags here.
5871 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
5873 * device-gtk.c (gtk_device_implementation_flags): Removed method.
5874 (console_type_create_device_gtk): Removed method declaration.
5875 Added commented out statement which semantically matches the
5876 commented out statement in the above removed method.
5878 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
5880 The attached patch fixes a few warnings.
5882 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
5883 * src/frame-gtk.c: guard against GNOME calls in GTK only
5884 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
5885 * src/select-gtk.c: prototype lisp_to_time
5887 2001-06-08 Ben Wing <ben@xemacs.org>
5889 ------ gc-in-window-procedure fixes ------
5892 * alloc.c (struct post_gc_action):
5893 * alloc.c (register_post_gc_action):
5894 * alloc.c (run_post_gc_actions):
5895 * alloc.c (garbage_collect_1):
5896 Create "post-gc actions", to avoid those dreaded "GC during window
5897 procedure" problems.
5900 Abort, clean and simple, when GC in window procedure. We want
5901 to flush these puppies out.
5904 * glyphs-msw.c (finalize_destroy_window):
5905 * glyphs-msw.c (mswindows_finalize_image_instance):
5906 Use a post-gc action when destroying subwindows.
5909 Declare register_post_gc_action().
5912 * scrollbar-msw.c (unshow_that_mofo):
5913 Use a post-gc action when unshowing scrollbar windows, if in gc.
5915 * redisplay.c (mark_redisplay):
5916 Add comment about the utter evilness of what's going down here.
5918 ------ cygwin setitimer fixes ------
5920 * Makefile.in.in (sheap_objs):
5921 * Makefile.in.in (profile_objs):
5922 * Makefile.in.in (objs):
5923 Compile profile.c only when HAVE_SETITIMER.
5925 * nt.c (mswindows_sigset):
5926 * nt.c (mswindows_sighold):
5927 * nt.c (mswindows_sigrelse):
5928 * nt.c (mswindows_sigpause):
5929 * nt.c (mswindows_raise):
5930 * nt.c (close_file_data):
5934 Move setitimer() emulation to win32.c, because Cygwin needs it too.
5937 * profile.c (Fstart_profiling):
5938 * profile.c (Fstop_profiling):
5939 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
5940 instead of just plain setitimer().
5943 * signal.c (set_one_shot_timer):
5945 Define qxe_setitimer() as an encapsulation around setitimer() --
5946 call setitimer() directly unless Cygwin or MS Win, in which case
5947 we use our simulated version in win32.c.
5950 * systime.h (struct itimerval):
5951 * systime.h (ITIMER_REAL):
5952 Prototype mswindows_setitimer() and qxe_setitimer(). Long
5953 comment about "qxe" and the policy regarding encapsulation.
5956 * win32.c (setitimer_helper_proc):
5957 * win32.c (setitimer_helper_period):
5958 * win32.c (setitimer_helper):
5959 * win32.c (mswindows_setitimer):
5960 Move setitimer() emulation here, so Cygwin can use it.
5961 Rename a couple of functions and variables to be longer and more
5962 descriptive. In setitimer_helper_proc(), send the signal
5963 using either mswindows_raise() or (on Cygwin) kill(). If for
5964 some reason we are still getting lockups, we'll change the kill()
5965 to directly invoke the signal handlers.
5967 ------ windows shell fixes ------
5971 Comments about how these two files must die.
5973 * callproc.c (init_callproc):
5974 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
5975 not just COMSPEC. (more correct and closer to FSF.) Don't
5976 force a value for SHELL into the environment. (Comments added
5977 to explain why not.)
5979 * nt.c (init_user_info):
5980 Don't shove a fabricated SHELL into the environment. See above.
5982 2001-06-01 Ben Wing <ben@xemacs.org>
5984 * Makefile.in.in (ldflags):
5985 eliminate that pesky "defaulting to 00401000" warning.
5989 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
5991 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
5992 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
5994 2001-04-24 Jerry James <james@xemacs.org>
5996 * faces.h: pass parameters to Fadd_spec_to_specifier in the
5999 2001-06-01 Ben Wing <ben@xemacs.org>
6001 * event-msw.c (debug_mswin_messages):
6002 conditionalize the messages that were causing compile errors.
6003 (if only macros could generate #ifdef statements ...)
6005 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
6007 * XEmacs 21.4.4 "Artificial Intelligence" is released.
6009 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6011 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
6013 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6015 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
6016 * process-unix.c (unix_canonicalize_host_name):
6017 sysdep.c (init_system_name):
6018 Use it to conditionally support IPv6 canonicalization.
6020 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
6023 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
6025 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
6027 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
6028 attempt is made to scroll when no scroll bar is available.
6030 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6032 * input-method-motif.c (XIM_delete_frame): New callback.
6033 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
6034 got deleted from 21.4.3.)
6036 2001-06-01 Ben Wing <ben@xemacs.org>
6038 * nt.c (mswindows_utime):
6039 * nt.c (close_file_data):
6040 fix off-by-one-indirection error.
6042 2001-05-29 Adrian Aichner <adrian@xemacs.org>
6044 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
6045 because set_file_times() now takes Lisp_Object path, instead of
6047 * nt.c: Include buffer.h.
6048 * nt.c (convert_from_time_t): New.
6049 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
6050 not set mtime correctly.
6051 * nt.h: Declare mswindows_utime().
6052 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
6053 path, instead of char*.
6054 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
6056 2001-05-30 Ben Wing <ben@xemacs.org>
6060 (Stephen, just take all event-msw.c patches. This includes
6061 the "iconify" fix below.)
6064 * event-msw.c (mswindows_dequeue_dispatch_event):
6065 * event-msw.c (assert):
6066 * event-msw.c (emacs_mswindows_quit_p):
6067 * event-msw.c (debug_mswin_messages):
6068 * event-msw.c (debug_output_mswin_message):
6069 * event-msw.c (vars_of_event_mswindows):
6070 Fix yet more problems with C-g handling.
6071 Implement debug-mswindows-events.
6073 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6075 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
6077 2001-05-23 Ben Wing <ben@xemacs.org>
6079 * event-msw.c (winsock_writer):
6080 * event-msw.c (winsock_closer):
6081 prior kludgy code was clobbering the buffer, thinking it was
6082 "unused" space to store an unneeded return value; instead, use
6083 the variable we've already got staring us in the face.
6085 2001-05-17 Andy Piper <andy@xemacs.org>
6087 * sysfile.h: don't assume that file attributes are boolean
6089 2001-05-23 Ben Wing <ben@xemacs.org>
6091 * device-msw.c (msprinter_init_device):
6092 signal an error rather than crash with an unavailable network
6093 printer (from Mike Alexander).
6096 * event-msw.c (struct winsock_stream):
6097 * event-msw.c (winsock_writer):
6098 * event-msw.c (winsock_closer):
6099 * event-msw.c (make_winsock_stream_1):
6100 cleanup headers. fix (hopefully) an error with data corruption
6101 when sending to a network connection.
6103 * fileio.c (Fexpand_file_name): Fix evil code that attempts
6104 to handle the ~user prefix by (a) always assuming we're referencing
6105 ourselves and not even verifying the user -- hence any file with
6106 a tilde as its first char is invalid! (b) if there wasn't a slash
6107 following the filename, the pointer was set *past* the end of
6108 file and we started reading from uninitialized memory. Now we
6109 simply treat these as files, always.
6111 * buffer.c (common_init_complex_vars_of_buffer): comment change.
6113 2001-05-19 Ben Wing <ben@xemacs.org>
6115 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
6118 * process-nt.c (vars_of_process_nt):
6119 remove unused mswindows-quote-process-args. rec for 21.4.
6121 2001-05-12 Ben Wing <ben@xemacs.org>
6123 * event-msw.c (mswindows_dde_callback):
6124 * event-msw.c (mswindows_wnd_proc):
6125 eliminate cygwin warnings.
6127 2001-05-06 Ben Wing <ben@xemacs.org>
6131 * device-msw.c (print_dialog_worker):
6132 * device-msw.c (mswindows_handle_print_dialog_box):
6133 * device-msw.c (syms_of_device_mswindows):
6134 * dialog-msw.c (mswindows_make_dialog_box_internal):
6136 implement printing the selection when it's selected.
6138 2001-05-20 Drazen Kacar <dave@arsdigita.com>
6140 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
6142 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6144 * lisp.h (EMACS_INT_MAX): This should be one bit less since
6145 EMACS_INT is signed.
6147 2001-04-15 Michael Lausch <mla@1012surf.net>
6149 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
6150 gtk_widget_request_size() to give scrollbar >0 width for
6153 2001-05-30 William M. Perry <wmperry@gnu.org>
6155 * event-gtk.c: Check for buttons as modifier keys.
6157 2001-05-25 Craig Lanning <CraigL@Knology.net>
6160 Properly find MinGW's <process.h> inside Cygwin's restructured
6161 include directories. Don't try to include <cygwin/version.h>
6162 since we are dropping support for MinGW in versions of Cygwin
6165 Drop support for MinGW in versions of Cygwin before b21.
6167 Properly find MinGW's <process.h> inside Cygwin's restructured
6168 include directories.
6170 Drop support for MinGW in versions of Cygwin before b21.
6172 Even though a.out.h is no longer detected by configure, allow
6173 MinGW to use it until we figure out how to do the job with Win32.
6175 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
6177 * syntax.c (find_start_of_comment):
6178 Fix `unbalanced parentheses' bug when dealing with mixed comment
6179 styles in c++/java/etc. mode
6181 2001-05-29 Mike Alexander <mta@arbortext.com>
6183 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
6184 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
6186 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
6188 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
6190 2001-03-31 Mike Sperber <mike@xemacs.org>
6192 * search.c (Freplace_match): Support FSF-style specification of
6193 match subexpression when applied to a buffer.
6195 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6197 * event-stream.c (is_scrollbar_event): add missing semicolon
6199 2001-05-22 Isaac Hollander <ysh@mindspring.com>
6201 * Makefile.in.in: Use TAR macro instead of hardcoding
6202 tar. Allows use of GNU tar instead of system tar
6204 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6206 * event-stream.c (is_scrollbar_event): add missing semicolon
6208 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6210 * XEmacs 21.4.3 "Academic Rigor" is released.
6212 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6214 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
6216 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
6218 * buffer.c (Vcase_fold_search): Remove obsolete
6219 comment about non ASCII case-fold-search. This
6220 bug has been fixed by case-table changes.
6222 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
6224 * event-msw.c: Restore include of events-mod.h.
6226 2001-04-22 zhaoway <zw@debian.org>
6228 * event-stream.c (is_scrollbar_event): Noop returning 0 if
6231 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
6233 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
6235 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
6237 * mule-charset.c (Fmake_charset): Add missing else.
6239 2001-04-23 Ben Wing <ben@xemacs.org>
6241 * event-msw.c (FAKE_MOD_QUIT):
6242 * event-msw.c (mswindows_dequeue_dispatch_event):
6243 * event-msw.c (mswindows_wnd_proc):
6244 * event-msw.c (emacs_mswindows_quit_p):
6245 Get critical quit working.
6247 2001-05-05 Ben Wing <ben@xemacs.org>
6251 * device-msw.c (mswindows_get_default_margin):
6252 * frame-msw.c (mswindows_size_frame_internal):
6253 * frame-msw.c (msprinter_init_frame_1):
6254 * frame-msw.c (vars_of_frame_mswindows):
6255 Change top/bottom margin defaults to 0.5 inches.
6257 2001-05-01 Martin Buchholz <martin@xemacs.org>
6259 Fix link error with gcc 3.0 on Linux.
6260 * terminfo.c (UP): Remove.
6261 * terminfo.c (BC): Remove.
6262 * terminfo.c (PC): Remove.
6263 They weren't used, and in any case, these symbols should be
6264 defined in the *library*.
6266 2001-05-03 Martin Buchholz <martin@xemacs.org>
6268 * s/aix4.h: Fix crash with xlc -O3.
6269 Improve comment explaining how -O3 works.
6271 2001-04-15 Ben Wing <ben@xemacs.org>
6274 * event-stream.c (Fnext_event):
6275 * event-stream.c (is_scrollbar_event):
6276 * event-stream.c (execute_command_event):
6277 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
6278 crash' problem. His fix introduces other problems. We filter
6279 out scrollbar events specifically, making them somewhat invisible
6280 to command-building, and not appearing in `this-command-keys'.
6281 More work is still needed (see comments in event-stream.c), but
6282 this fixes all the major problems.
6284 2001-04-20 Ben Wing <ben@xemacs.org>
6286 * .cvsignore: Added stuff for Windows.
6288 2001-04-28 Ben Wing <ben@xemacs.org>
6290 * buffer.c (Ferase_buffer):
6291 * editfns.c (buffer_insert1):
6292 * editfns.c (Finsert_before_markers):
6293 * editfns.c (Finsert_string):
6294 * editfns.c (Finsert_char):
6295 * editfns.c (Fdelete_region):
6296 * editfns.c (Fwiden):
6297 * editfns.c (Fnarrow_to_region):
6298 remove bogus lines setting zmacs_region_stays to 0.
6300 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
6302 * process-unix.c (unix_open_network_stream): If connect() fails
6303 invalidate file descriptor after closing it.
6305 2001-03-08 Mike Alexander <mta@arbortext.com>
6307 * event-msw.c (mswindows_need_event_in_modal_loop):
6308 Don't dispatch a message if we didn't get one.
6309 (mswindows_need_event):
6310 Terminate the correct process when one exits instead of the first
6311 one on Vprocess_list and look for process termination when in
6312 mswindows_protect_modal_loop.
6314 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
6316 * XEmacs 21.4.1 "Copyleft" is released.
6318 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6320 * input-method-motif.c (XIM_delete_frame): New callback.
6321 (XIM_init_frame): Register it.
6323 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6325 * XEmacs 21.4.0 "Solid Vapor" is released.
6327 2001-04-15 Ben Wing <ben@xemacs.org>
6329 * cmdloop.c (call_command_loop):
6330 Fix braino in bit-rotting code.
6332 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
6334 * extents.c (Fset_extent_endpoints): Force creation of extent info
6335 in buffer_or_string.
6337 * extents.c (process_extents_for_insertion_mapper): Correctly
6338 check for open-open zero-length extents.
6340 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6342 * lisp.h: New typedefs Memory_count, Element_count.
6345 Sign-compare warning elimination: several unsigned -> signed.
6346 Based on work by Ben Wing <ben@xemacs.org>.
6348 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
6350 * XEmacs 21.2.47 "Zephir" is released.
6352 2001-04-02 Jan Vroonhof <jan@xemacs.org>
6354 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
6356 2001-04-03 Mike Sperber <mike@xemacs.org>
6358 * search.c: Revert previous patch due because of release.
6360 2001-03-30 Ben Wing <ben@xemacs.org>
6363 Add missing killpg prototype.
6366 Add a comment about fixing problems when a new entry is added
6369 * frame-msw.c (mswindows_init_frame_1):
6370 Fix compile warnings.
6372 * menubar.c (vars_of_menubar):
6373 Provide `menu-accelerator-support' to indicate that we properly
6374 support %_ in menu specifications, so that package code can
6375 conditionalize on this (and remove %_ from menu specifications
6380 * scrollbar-msw.c (can_scroll):
6382 Fix handling of mouse wheel under Windows to follow standards --
6383 now scrolls window under pointer, not selected window.
6385 2001-03-31 Mike Sperber <mike@xemacs.org>
6387 * search.c (Freplace_match): Support FSF-style specification of
6388 match subexpression when applied to a buffer.
6390 2001-03-15 Martin Buchholz <martin@xemacs.org>
6392 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
6393 function to modify KEYMAP, so map over a copy of the hash table.
6395 2001-03-21 Martin Buchholz <martin@xemacs.org>
6397 * XEmacs 21.2.46 "Urania" is released.
6399 2001-03-20 Dan Holmsand <dan@eyebee.com>
6401 * realpath.c (xrealpath): Make file-truename work with symlinks to
6402 /cygdrive paths on cygwin. Always lowercase drive-letters on
6404 (cygwin_readlink): Don't try to find canonical filename unless
6407 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
6409 * ChangeLog: Log GTK merge.
6415 Revert gratuitous whitespace changes from GTK merge.
6417 * emacs.c: Document end of complex #ifdef @ l. 1495.
6420 2001-03-12 Andy Piper <andy@xemacs.org>
6422 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
6423 have to do likewise.
6425 2001-03-12 Andy Piper <andy@xemacs.org>
6427 * sysdep.c: we only support mingw now.
6429 2001-03-09 Andy Piper <andy@xemacs.org>
6431 * unexcw.c (copy_executable_and_dump_data_section): making approx
6432 overrun a warning only.
6434 2001-03-10 William M. Perry <wmperry@aventail.com>
6436 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
6437 satisfy Stephen's identical-after-cpp plea.
6439 2001-03-02 Ben Wing <ben@xemacs.org>
6442 * cmds.c (Fforward_char):
6446 Augment documentation of the most common motion commands to make
6447 note of the shifted-motion support.
6449 2001-03-02 Ben Wing <ben@xemacs.org>
6451 * nt.c (mswindows_fstat):
6452 * nt.c (mswindows_stat):
6453 * search.c (boyer_moore):
6454 Fix compile warnings under Windows.
6456 * sysdep.c (sys_readdir):
6457 Fix buggy filename-conversion code under Mule.
6459 2001-03-09 William M. Perry <wmperry@aventail.com>
6481 * redisplay-output.c:
6487 The Great GTK Merge.
6494 * emacs-widget-accessors.c:
6508 * native-gtk-toolbar.c:
6519 The Great GTK Merge: new files.
6521 2001-02-26 Ben Wing <ben@xemacs.org>
6523 Reapplied Lstream change.
6525 2001-02-26 Ben Wing <ben@xemacs.org>
6527 Undid the last change, since it is more controversial than I
6528 thought. It should be back in at some point soon.
6530 2001-02-25 Ben Wing <ben@xemacs.org>
6533 * callproc.c (Fold_call_process_internal):
6534 * event-msw.c (ntpipe_slurp_reader):
6535 * event-msw.c (ntpipe_shove_writer):
6536 * event-msw.c (winsock_reader):
6537 * event-msw.c (winsock_writer):
6539 * file-coding.c (detect_eol_type):
6540 * file-coding.c (detect_coding_type):
6541 * file-coding.c (determine_real_coding_system):
6542 * file-coding.c (Fdetect_coding_region):
6543 * file-coding.c (decoding_reader):
6544 * file-coding.c (decoding_writer):
6545 * file-coding.c (mule_decode):
6546 * file-coding.c (Fdecode_coding_region):
6547 * file-coding.c (encoding_reader):
6548 * file-coding.c (encoding_writer):
6549 * file-coding.c (mule_encode):
6550 * file-coding.c (Fencode_coding_region):
6551 * file-coding.c (detect_coding_sjis):
6552 * file-coding.c (decode_coding_sjis):
6553 * file-coding.c (encode_coding_sjis):
6554 * file-coding.c (detect_coding_big5):
6555 * file-coding.c (decode_coding_big5):
6556 * file-coding.c (encode_coding_big5):
6557 * file-coding.c (detect_coding_ucs4):
6558 * file-coding.c (decode_coding_ucs4):
6559 * file-coding.c (encode_coding_ucs4):
6560 * file-coding.c (detect_coding_utf8):
6561 * file-coding.c (decode_coding_utf8):
6562 * file-coding.c (encode_coding_utf8):
6563 * file-coding.c (detect_coding_iso2022):
6564 * file-coding.c (decode_coding_iso2022):
6565 * file-coding.c (encode_coding_iso2022):
6566 * file-coding.c (decode_coding_no_conversion):
6567 * file-coding.c (encode_coding_no_conversion):
6568 * glyphs-x.c (write_lisp_string_to_temp_file):
6569 * gpmevent.c (tty_get_foreign_selection):
6572 * lstream.c (Lstream_flush_out):
6573 * lstream.c (Lstream_adding):
6574 * lstream.c (Lstream_write_1):
6575 * lstream.c (Lstream_write):
6576 * lstream.c (Lstream_raw_read):
6577 * lstream.c (Lstream_read_more):
6578 * lstream.c (Lstream_read):
6579 * lstream.c (Lstream_unread):
6580 * lstream.c (Lstream_fputc):
6581 * lstream.c (stdio_reader):
6582 * lstream.c (stdio_writer):
6583 * lstream.c (filedesc_reader):
6584 * lstream.c (filedesc_writer):
6585 * lstream.c (lisp_string_reader):
6586 * lstream.c (struct fixed_buffer_stream):
6587 * lstream.c (make_fixed_buffer_input_stream):
6588 * lstream.c (make_fixed_buffer_output_stream):
6589 * lstream.c (fixed_buffer_reader):
6590 * lstream.c (fixed_buffer_writer):
6591 * lstream.c (struct resizing_buffer_stream):
6592 * lstream.c (resizing_buffer_writer):
6593 * lstream.c (dynarr_writer):
6594 * lstream.c (lisp_buffer_reader):
6595 * lstream.c (lisp_buffer_writer):
6597 * lstream.h (lstream_implementation):
6598 * lstream.h (struct lstream):
6600 * process-nt.c (nt_send_process):
6601 * process-unix.c (unix_send_process):
6603 Correct Lstream lossage due to mixing of signed and unsigned
6604 quantities. All Lstream uses of size_t and ssize_t are now a
6605 single signed data type Lstream_data_count. This fixes problems
6606 under Windows with sending large quantities of data to a process,
6607 and may well fix other subtle bugs.
6609 2001-02-23 Martin Buchholz <martin@xemacs.org>
6611 * XEmacs 21.2.45 "Thelxepeia" is released.
6613 2001-02-21 Martin Buchholz <martin@xemacs.org>
6615 * lisp-union.h (XSETINT):
6618 Reverse previous change of 2001-02-06.
6620 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
6622 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
6624 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6625 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
6626 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
6627 * regex.c (POS_AS_IN_BUFFER): removed
6628 * regex.c (re_search_2):
6629 * regex.c (re_match_2):
6630 Don't use an offset of 1 when calculating buffer positions, since
6631 `BI_BUF_BEGV' does it already.
6633 2001-02-18 Wim Dumon <wim@easics.be>
6635 * insdel.c (prepare_to_modify_buffer): Also check for
6636 supersession when clash-detection is enabled.
6638 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
6640 * regex.c (re_match_2_internal):
6641 Convert temp characters from 'const unsigned char' to 're_char'.
6642 Fix crashing bug with extended characters under mule.
6643 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
6644 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
6645 font-lock, pdump, and new syntax-table code.
6646 * syntax.c (find_start_of_comment):
6647 (find_end_of_comment):
6649 Fix crashing bugs involving moving beyond end of buffer.
6650 * syntax.c (find_start_of_comment):
6651 Fixed logic to allow proper detection of cases where the same
6652 character is used to end both a two-char comment start and a
6653 two-char comment end sequence. Fixes `(forward-comment -1)'.
6654 * syntax.c (find_start_of_comment):
6655 Return position just past last comment-end character for all cases
6656 (previously was only done for two-char comment-end sequences).
6657 * syntax.c (forward-comment):
6658 Take value returned from `find_end_of_comment', rather than
6660 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6661 Properly deal with BUFFERP (syntax_cache.object)
6663 2001-02-17 Martin Buchholz <martin@xemacs.org>
6665 * alloc.c (Fgarbage_collect):
6666 * alloc.c (make_bit_vector_from_byte_vector):
6667 -Wsign-compare-correctness.
6669 2001-02-16 Martin Buchholz <martin@xemacs.org>
6671 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
6672 (XSETCHAR): Likewise.
6673 (XSETOBJ): Likewise.
6675 2001-02-15 Martin Buchholz <martin@xemacs.org>
6677 * mule-canna.c (canna-func-delete_previous):
6678 Rename to canna-func-delete-previous.
6680 2001-02-14 Martin Buchholz <martin@xemacs.org>
6682 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
6684 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
6686 * font-lock.c (find_context): Fix C++ compile errors introduced by
6689 2001-02-13 Martin Buchholz <martin@xemacs.org>
6691 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
6692 pragma, but earlier ones barf on the same pragma.
6694 2001-02-06 Mike Sperber <mike@xemacs.org>
6696 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
6697 `configure-mule-lisp-directory'.
6699 2001-02-12 Martin Buchholz <martin@xemacs.org>
6701 Make sure dump-id.c is compiled in the same way as other .c's.
6702 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
6703 * dump-id.h: Remove.
6704 * emacs.c: Move dump-id.h into dumper.h.
6705 * dumper.h: Move dump-id.h into dumper.h.
6707 Use standard .c.o rule for building dump-id.o.
6708 Remove preprocessor flags from link command.
6709 Add dump-id.o to ${otherobjs} if PDUMP.
6711 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
6713 Port FSF 20.7 syntax table improvements.
6717 Fixups for new syntax table stuff.
6718 * dired.c: Include syntax.c.
6719 (Fdirectory_files): Initialize regex_match_object and
6721 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
6722 and Fget_char_property.
6724 Use ported FSF 20.7 syntax table improvements.
6729 2001-02-09 Martin Buchholz <martin@xemacs.org>
6731 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
6732 Unixware's enum boolean from sys/types.h.
6734 2001-02-10 Martin Buchholz <martin@xemacs.org>
6736 Fix support for building with latest Purify.
6737 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
6738 (PURIFY_FLAGS): Likewise.
6740 2001-02-09 Martin Buchholz <martin@xemacs.org>
6742 * fileio.c (lisp_string_set_file_times): New.
6743 * fileio.c (Fcopy_file): Use it.
6745 (copy-file filename non-ascii-filename t t)
6746 ==> No such file or directory, non-ascii-filename
6748 2001-02-10 Martin Buchholz <martin@xemacs.org>
6750 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
6751 USHRT_MAX seems clearer than ~0 anyways.
6753 2001-02-09 Martin Buchholz <martin@xemacs.org>
6755 dumper improvements. Inspired by Olivier.
6756 * dumper.c (pdump_max_align): New.
6757 * dumper.c (pdump_add_entry): Use pdump_max_align.
6758 * dumper.c (pdump_get_entry_list): Likewise.
6759 * dumper.c (pdump_scan_by_alignment): Likewise.
6760 Don't iterate through unnecessary alignments.
6761 * dumper.c (pdump_file_get): No need to align result of malloc().
6762 * dumper.c (pdump_mallocadr): Remove.
6763 The result of malloc() is guaranteed to be maximally aligned.
6764 * dumper.c: s/elmt/elt/g;
6765 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
6766 * dumper.c (pdump_alert_undump_object): Likewise.
6767 * dumper.c (pdump_align_table):
6768 Don't support alignments > 64.
6769 Store ALIGNOF's, not shift counts, in table.
6771 2001-02-09 Martin Buchholz <martin@xemacs.org>
6773 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
6774 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
6775 * systime.h: Use HAVE_UTIME.
6776 * sysdep.c (struct utimbuf): Remove.
6777 * sysdep.c (set_file_times): Prefer utime() to utimes().
6778 * config.h.in (HAVE_UTIME): New.
6779 * config.h.in (HAVE_UTIME_H): Remove.
6780 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
6782 2001-02-09 Martin Buchholz <martin@xemacs.org>
6784 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
6786 2001-02-08 Martin Buchholz <martin@xemacs.org>
6788 * s/irix6-0.h: Use the standard system memmove, not bcopy.
6790 2001-02-08 Martin Buchholz <martin@xemacs.org>
6792 * XEmacs 21.2.44 "Thalia" is released.
6794 2001-02-06 Martin Buchholz <martin@xemacs.org>
6796 Fixes crashes in kill-emacs on some systems.
6797 * process-unix.c (unix_kill_child_process):
6798 It's OK for kill() to fail with ESRCH.
6800 2001-02-07 Martin Buchholz <martin@xemacs.org>
6802 Contortions to make .gdbinit tricks work on most systems.
6803 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
6804 * alloc.c (dbg_valmask): Make non-const.
6805 * alloc.c (dbg_typemask): Make non-const.
6806 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
6807 * alloc.c (dbg_valbits): Make non-const.
6808 * alloc.c (dbg_gctypebits): Make non-const.
6809 * .gdbinit (decode_object): Make it work with AIX cc.
6811 2001-02-06 Martin Buchholz <martin@xemacs.org>
6813 * elhash.c (make_general_lisp_hash_table):
6814 Use simpler and more efficient calloc to clear entries.
6816 2001-02-07 Martin Buchholz <martin@xemacs.org>
6818 * window.c (window_scroll): Work around an AIX C compiler bug.
6819 Fixes 'scroll-up' does nothing problem with xlC.
6821 2001-02-05 Martin Buchholz <martin@xemacs.org>
6823 * .gdbinit: Remove obsolete comment.
6825 2001-01-31 Mike Alexander <mta@arbortext.com>
6827 * select.c (Fown_selection_internal): Set owned_p for device
6830 2001-02-01 Martin Buchholz <martin@xemacs.org>
6833 "not" cannot be used as a macro name as it is an operator in C++
6834 * config.h.in: Stop #defining `not'.
6835 * chartab.c (check_category_char): not ==> not_p
6836 * chartab.h: Likewise.
6837 * regex.c (re_match_2_internal): Likewise.
6839 2001-02-02 Martin Buchholz <martin@xemacs.org>
6841 * lisp-disunion.h: Fix up comments.
6843 2001-01-31 Martin Buchholz <martin@xemacs.org>
6845 * keymap.c (define_key_check_and_coerce_keysym):
6847 Support mouse-6 and mouse-7 bindings in the obvious way.
6849 2001-02-01 Martin Buchholz <martin@xemacs.org>
6851 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
6853 2001-01-30 Martin Buchholz <martin@xemacs.org>
6855 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
6856 Previous patch missed DEFVAR_INT_MAGIC.
6857 Make sure future DEFVAR_foo use correct types.
6858 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
6859 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
6860 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
6861 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
6862 * (DEFVAR_INT): Likewise.
6863 * redisplay.c (vertical_clip): Should be of type Fixnum.
6864 * redisplay.c (horizontal_clip): Likewise.
6865 * lisp.h (dump_add_opaque_int): New.
6866 (dump_add_opaque_fixnum): New.
6868 2001-01-29 Andy Piper <andy@xemacs.org>
6870 * glyphs-widget.c (check_valid_int_or_function): allow symbols
6871 since they can be eval'ed
6873 2001-01-29 Martin Buchholz <martin@xemacs.org>
6875 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
6876 Oops, XEmacs redefines `class'. Use `typename' instead.
6878 2001-01-28 Martin Buchholz <martin@xemacs.org>
6880 * dumper.c: Fix C++ compile errors.
6882 2001-01-29 Martin Buchholz <martin@xemacs.org>
6884 * tparam.c: Use correct prototypes.
6886 2001-01-28 Martin Buchholz <martin@xemacs.org>
6888 * sysproc.h: #include util.h for NetBSD's openpty.
6890 2001-01-27 Martin Buchholz <martin@xemacs.org>
6892 More 64-bit correctness.
6893 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
6894 Use a typedef `fixnum' for the type used for DEFVAR_INT.
6896 This finally finishes the 64-bit SGI port.
6897 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
6898 * symbols.c: Fix up comments and type casts.
6899 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
6900 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
6901 * symeval.h (Fixnum): New type.
6902 * symeval.h (symbol_value_type): Fix up comment.
6918 * mule-canna.c: A million DEFVAR_INTs here...
6919 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
6932 s/int/Fixnum/g in DEFVAR_INT declarations.
6934 2001-01-26 Martin Buchholz <martin@xemacs.org>
6936 Port pdump to SGI alignment-sensitive environment.
6937 Lisp Object sizeof methods now return aligned sizes. Rely on that.
6938 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
6940 Define and use aligned reading and writing macros.
6941 Use buffered stdio instead of posix i/o for faster dumping.
6942 Eliminate kludgy 256 byte space for header.
6943 Read and write from dump file using structs for alignment safety.
6944 * dumper.c (pdump_align_stream): New.
6945 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
6946 * dumper.c (PDUMP_READ_ALIGNED): New.
6947 * dumper.c (PDUMP_WRITE_ALIGNED): New.
6948 * dumper.c (pdump_static_Lisp_Object): New struct.
6949 * dumper.c (pdump_static_pointer): New struct.
6950 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
6951 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
6952 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
6953 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
6955 * dumper.c (pdump_backtrace):
6956 * dumper.c (pdump_get_indirect_count):
6957 * dumper.c (pdump_register_object):
6958 * dumper.c (pdump_register_struct):
6959 * dumper.c (pdump_reloc_one):
6960 * dumper.c (pdump_scan_by_alignment):
6961 * dumper.c (pdump_dump_from_root_struct_ptrs):
6962 * dumper.c (pdump_dump_opaques):
6963 * dumper.c (pdump_dump_rtables):
6964 * dumper.c (pdump_dump_from_root_objects):
6966 * dumper.c (pdump_load_finish):
6967 Use aligned reading and writing.
6969 * dumper.c (pdump_free): Make static.
6970 * dumper.c (pdump_hFile): Likewise.
6971 * dumper.c (pdump_hMap): Likewise.
6973 2001-01-26 Martin Buchholz <martin@xemacs.org>
6975 * XEmacs 21.2.43 "Terspichore" is released.
6977 2001-01-25 Martin Buchholz <martin@xemacs.org>
6979 Type fiddling for window_config.saved_windows_count
6980 * window.c (struct window_config):
6981 Make saved_windows_count member unsigned.
6982 * window.c (sizeof_window_config_for_n_windows):
6983 Make parameter unsigned.
6984 * window.c (mark_window_config):
6985 * window.c (window_config_equal):
6986 * window.c (free_window_configuration):
6987 * window.c (Fset_window_configuration):
6988 * window.c (count_windows):
6989 * window.c (Fcurrent_window_configuration):
6990 * window.c (reinit_vars_of_window):
6991 Update all callers and users.
6993 2001-01-25 Martin Buchholz <martin@xemacs.org>
6995 Alignment correctness for flexible arrays.
6996 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
6997 Make alignment-correct. Add interesting comments.
6998 * alloc.c (size_vector):
6999 * alloc.c (make_vector_internal):
7000 * alloc.c (make_bit_vector_internal):
7001 * alloc.c (sweep_bit_vectors_1):
7002 * fns.c (size_bit_vector):
7003 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
7004 * window.c (sizeof_window_config_for_n_windows):
7005 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
7007 2001-01-24 Martin Buchholz <martin@xemacs.org>
7009 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
7011 2001-01-23 Andy Piper <andy@xemacs.org>
7013 * select.c (Fown_selection_internal): pass owned_p
7015 * select-msw.c (mswindows_own_selection): New Signature.
7017 * console.h (struct console_methods): add owned_p to
7020 * select-x.c (x_own_selection): pass owned_p
7021 (hack_motif_clipboard_selection): use owned_p
7022 (vars_of_select_x): new variable -
7023 x_selection_strict_motif_ownership.
7025 2001-01-23 Martin Buchholz <martin@xemacs.org>
7027 * specifier.h (specifier_data_offset): Remove pointless parens.
7028 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
7030 2001-01-24 Martin Buchholz <martin@xemacs.org>
7032 Make Lisp_Object sizeof methods be alignment-correct.
7033 pdump must restore objects to the same alignment as the C compiler
7034 assumes. It really matters on SGIs.
7035 * lstream.c (aligned_sizeof_lstream): New.
7036 (sizeof_lstream): Use aligned_sizeof_lstream.
7037 (Lstream_new): Likewise.
7038 * opaque.c (aligned_sizeof_opaque): New.
7039 (sizeof_opaque): Use aligned_sizeof_opaque.
7040 (make_opaque): Likewise.
7041 * specifier.c (aligned_sizeof_specifier): New.
7042 (sizeof_specifier): Use aligned_sizeof_specifier.
7043 (make_specifier_internal): Likewise.
7045 2001-01-23 Martin Buchholz <martin@xemacs.org>
7047 * lstream.h (struct lstream): Use max_align_t for trailing data.
7048 * specifier.h (struct Lisp_Specifier): Likewise.
7050 2001-01-22 Martin Buchholz <martin@xemacs.org>
7052 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
7053 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
7054 (CCL_SUSPEND): Likewise.
7055 (CCL_INVALID_CMD): Likewise.
7056 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
7057 (ccl_driver): Likewise.
7058 (CCL_WRITE_CHAR): Macro hygiene.
7059 (CCL_WRITE_STRING): Macro hygiene.
7061 2001-01-22 Martin Buchholz <martin@xemacs.org>
7063 Port "portable" dumper to SunOS 4 and HP-UX.
7064 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
7065 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
7066 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
7068 2001-01-22 Martin Buchholz <martin@xemacs.org>
7070 * lisp.h (ALIGNOF): A better definition for C++.
7072 2001-01-20 Martin Buchholz <martin@xemacs.org>
7075 Fix printf warnings: int format, long int arg.
7076 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
7077 (PUSH_FAILURE_POINT): Use correct printf formats.
7078 (POP_FAILURE_POINT): Use correct printf formats.
7079 Use do {...} while (0)
7081 2001-01-20 Martin Buchholz <martin@xemacs.org>
7083 * XEmacs 21.2.42 "Poseidon" is released.
7085 2001-01-20 Martin Buchholz <martin@xemacs.org>
7087 * console-x.h: typo fix du jour. Remove #if 0'ed code.
7089 2001-01-19 Martin Buchholz <martin@xemacs.org>
7091 De-kludgify FIXED_TYPE free list frobbing.
7092 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
7093 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
7094 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
7095 * alloc.c (Lisp_Free): New pseudo lisp object definition.
7096 * alloc.c (LRECORD_FREE_P): New.
7097 * alloc.c (MARK_LRECORD_AS_FREE): New.
7098 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
7099 * alloc.c (STRUCT_FREE_P): Deleted.
7100 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
7101 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
7102 * alloc.c (STRING_CHARS_FREE_P): New.
7103 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
7104 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
7105 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
7106 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
7107 * alloc.c (resize_string): Use new definitions.
7108 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
7109 * alloc.c (verify_string_chars_integrity): Use new definitions.
7110 * alloc.c (compact_string_chars): Use new definitions.
7111 * alloc.c: Update monster comments.
7112 * lrecord.h (lrecord_type): Add some new lrecord types for
7115 2001-01-18 Martin Buchholz <martin@xemacs.org>
7117 Improve alignment hackery.
7118 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
7119 (max_align_t): Moved from opaque.h - general purpose.
7120 (ALIGN_PTR): Use size_t, not long.
7121 * opaque.h (max_align_t): Move to lisp.h.
7123 2001-01-18 Norbert Koch <nk@LF.net>
7125 * gui.h: Fix and add prototypes to fix build problems.
7127 2001-01-18 Martin Buchholz <martin@xemacs.org>
7129 temacs is going away, so `dump-temacs' is now a bad name.
7130 * .dbxrc (dump-temacs): Rename to `dmp'.
7131 * .gdbinit (dump-temacs): Rename to `dmp'.
7133 2001-01-17 Andy Piper <andy@xemacs.org>
7135 * glyphs.c (print_image_instance): comment to make martin happy.
7137 * glyphs-x.c (x_redisplay_widget): update faces after a frame
7140 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
7142 (mswindows_tab_control_redisplay): warning suppression.
7144 * glyphs-widget.c (widget_update): re-write to cope with updated
7146 (widget_instantiate): use new gui_item functions.
7147 (tab_control_update): deleted.
7148 (progress_gauge_update): deleted.
7149 (image_instantiator_progress_guage): take out update reference.
7150 (image_instantiator_tree_view): ditto.
7151 (image_instantiator_tab_control): ditto.
7153 * gui.c (widget_gui_parse_item_keywords): new function. Do things
7155 (gui_item_add_keyval_pair): re-write to cope with descriptors and
7156 return whether anything was changed.
7157 (update_gui_item_keywords): as it sounds.
7159 * gui.h: declare widget_gui_parse_item_keywords.
7161 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
7162 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
7164 2001-01-17 Martin Buchholz <martin@xemacs.org>
7166 * XEmacs 21.2.41 "Polyhymnia" is released.
7168 2001-01-16 Didier Verna <didier@xemacs.org>
7170 * glyphs.c (image_instantiate): don't use fallbacks when
7171 instantiating a face's background pixmap by inheritance.
7173 2001-01-14 Mike Sperber <mike@xemacs.org>
7175 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
7176 Conditionalize accordingly.
7178 2001-01-16 Martin Buchholz <martin@xemacs.org>
7180 * dumper.c (pdump_file_get): Fix a compiler warning.
7182 2001-01-15 Martin Buchholz <martin@xemacs.org>
7184 Make Purify happy when pdumping.
7185 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
7186 iniitalizing all bits of new lisp object memory.
7187 * symbols.c (Fmake_local_variable): Likewise.
7188 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
7189 * symbols.c (Fdefvaralias): Likewise.
7190 * mule-charset.c (vars_of_mule_charset): Likewise.
7192 2001-01-15 Martin Buchholz <martin@xemacs.org>
7193 Add the `-nd' flag when running pre-dump operations under the debugger.
7194 * .dbxrc (run-temacs): Add `-nd'.
7195 * .dbxrc (update-elc): Likewise.
7196 * .dbxrc (dump-temacs): Likewise.
7197 * .gdbinit (run-temacs): Likewise.
7198 * .gdbinit (check-temacs): Likewise.
7199 * .gdbinit (update-elc): Likewise.
7200 * .gdbinit (dump-temacs): Likewise.
7202 2001-01-14 Martin Buchholz <martin@xemacs.org>
7204 Allow building 64-bit executables on AIX with GNU malloc, e.g.
7205 export OBJECT_MODE=64
7206 configure --pdump --use-union-type=no
7207 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
7208 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
7210 * miscplay.c (sndcnv8U_2mono):
7211 Avoid two uses of `++' in the same expression.
7212 Suppresses a GCC warning.
7214 2001-01-13 Martin Buchholz <martin@xemacs.org>
7216 Make sure future compilers don't miscompile alloc.c.
7218 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
7219 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
7221 2001-01-12 Martin Buchholz <martin@xemacs.org>
7223 * dumper.c: A little post-pdump-rename comment fixup.
7225 2001-01-09 Jerry James <james@eecs.ku.edu>
7227 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
7229 2001-01-13 Martin Buchholz <martin@xemacs.org>
7231 * *.[ch]: Globally rename symbols using the following `pdump-rename'
7235 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
7238 replace_symbol pdump_wire_lists pdump_weak_object_chains
7239 replace_symbol pdump_wire_list dump_add_weak_object_chain
7241 replace_symbol pdump_wires pdump_root_objects
7242 replace_symbol pdump_wire dump_add_root_object
7244 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
7245 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
7247 replace_symbol dumpstructinfos pdump_root_struct_ptrs
7248 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
7249 replace_symbol dumpstructinfo pdump_root_struct_ptr
7250 replace_symbol dumpstruct dump_add_root_struct_ptr
7252 replace_symbol dumpopaque dump_add_opaque
7253 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
7254 replace_symbol dumpopaqueinfos pdump_opaques
7255 replace_symbol dumpopaqueinfo pdump_opaque
7257 replace_symbol nb_structdump nb_root_struct_ptrs
7258 replace_symbol nb_opaquedump nb_opaques
7260 replace_symbol align_table pdump_align_table
7261 replace_symbol dump_header pdump_header
7263 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
7264 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
7267 2001-01-12 Martin Buchholz <martin@xemacs.org>
7269 * s/aix4.h: Keep the C for AIX compiler from overaggressively
7270 optimizing bytecount_to_charcount().
7272 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7275 (HAVE_DLFCN_H): Removed.
7276 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
7278 2001-01-06 Martin Buchholz <martin@xemacs.org>
7280 Portable dumper maintainability improvements.
7281 * alloc.c (staticpro):
7282 * alloc.c (staticpro_nodump):
7283 * alloc.c (garbage_collect_1):
7284 * alloc.c (reinit_alloc_once_early):
7285 * alloc.c (init_alloc_once_early):
7286 * alloc.c: Move dumper functions to alloc.c.
7287 * dumper.c (pdump_backtrace):
7288 * dumper.c (pdump_dump_structs):
7289 * dumper.c (pdump_dump_opaques):
7290 * dumper.c (pdump_dump_rtables):
7291 * dumper.c (pdump_dump_wired):
7293 * dumper.c (pdump_load_check):
7294 * dumper.c (pdump_load_finish):
7295 * dumper.c (pdump_file_unmap):
7296 * dumper.c (pdump_file_get):
7297 * dumper.c (pdump_resource_free):
7298 * dumper.c (pdump_resource_get):
7299 * dumper.c (pdump_file_free):
7300 * dumper.c (pdump_file_try):
7301 * dumper.c (pdump_load):
7302 Remove fixed size limits on staticpro(), staticpro_nodump(),
7303 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
7304 Remove custom code for dumping lrecord_implementations_table - use
7306 Remove (most of the) custom code for dumping staticpros - dump it
7307 like any other dynarr.
7309 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
7310 * dumper.c: Moved functions from alloc.c.
7311 * alloc.c (dumpstruct): Moved to dumper.c.
7312 * alloc.c (dumpopaque): Likewise.
7313 * alloc.c (pdump_wire): Likewise.
7314 * alloc.c (pdump_wire_list): Likewise.
7316 * lisp.h (Dynarr_sizeof): New.
7317 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
7318 * lisp.h (Dynarr_end): New. Very slightly C++oid.
7319 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
7321 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
7322 * lisp.h (dumpopaque): ditto.
7323 * lisp.h (pdump_wire): ditto.
7324 * lisp.h (pdump_wire_list): ditto.
7326 2001-01-09 Martin Buchholz <martin@xemacs.org>
7328 * make-src-depend (PrintPatternDeps):
7329 Use `sort' to make output independent of perl version.
7331 2001-01-08 Martin Buchholz <martin@xemacs.org>
7334 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
7335 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
7337 2001-01-03 Didier Verna <didier@xemacs.org>
7339 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
7340 that `focus_frame' is alive before thinking of calling
7341 `redisplay_redraw_cursor' on it.
7343 2001-01-08 Martin Buchholz <martin@xemacs.org>
7345 * XEmacs 21.2.40 is released.
7347 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7349 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
7351 2001-01-06 Martin Buchholz <martin@xemacs.org>
7353 * alloc.c (dbg_valmask): Make const.
7354 * alloc.c (dbg_typemask): Make const.
7355 * alloc.c (dbg_USE_UNION_TYPE): Make const.
7356 * alloc.c (dbg_valbits): Make const.
7357 * alloc.c (dbg_gctypebits): Make const.
7359 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
7361 * redisplay-x.c (x_bevel_area):
7362 redisplay.h (struct rune):
7363 Typo fixes in comments.
7365 2001-01-05 Andy Piper <andy@xemacs.org>
7367 * glyphs-x.c (x_redisplay_widget): use size changed for offset
7370 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
7372 2001-01-05 Martin Buchholz <martin@xemacs.org>
7374 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
7376 * mule-ccl.c (stack_idx_of_map_multiple):
7377 Non const global data must not be initialized!
7378 Found by MIYASHITA Hisashi.
7380 2001-01-02 Andy Piper <andy@xemacs.org>
7382 * frame.c (change_frame_size): make sure frame size is always
7385 * glyphs.c (image_instance_layout): minor code reuse.
7387 * window.c (Fcurrent_window_configuration): revert previous
7390 2001-01-02 Martin Buchholz <martin@xemacs.org>
7393 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
7395 2000-12-31 Andy Piper <andy@xemacs.org>
7397 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
7398 when widget gets unmapped.
7400 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
7401 function. Make sure widgets losing focus don't just drop it.
7402 (handle_focus_event_1): record the widget with focus.
7404 2000-12-31 Andy Piper <andy@xemacs.org>
7406 * window.c (allocate_window): use
7407 make_image_instance_cache_hash_table.
7408 (make_dummy_parent): ditto.
7409 (Fset_window_configuration): ditto.
7411 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
7413 * glyphs.c (process_image_string_instantiator): use
7415 (get_image_instantiator_governing_domain): ditto.
7416 (normalize_image_instantiator): ditto.
7417 (instantiate_image_instantiator): ditto.
7418 (make_image_instance_1): ditto.
7419 (image_instantiate): ditto. Key on glyph *and* instantiator type.
7420 (instantiator_eq_equal): new function for use with instance hash
7422 (instantiator_eq_hash): ditto.
7423 (make_image_instance_cache_hash_table): create a suitable hash
7424 table for storing image instances.
7426 * elhash.h (hash_table_weakness): new internal weakness type
7427 HASH_TABLE_KEY_CAR_VALUE_WEAK.
7428 declare new functions.
7430 * elhash.c (finish_marking_weak_hash_tables): introduce yet
7431 another weakness type for glyphs.
7432 (make_standard_lisp_hash_table): new function split out from
7433 make_general_lisp_hash_table.
7434 (make_lisp_hash_table): call make_standard_lisp_hash_table.
7435 (hash_table_instantiate): ditto.
7436 (Fmake_hash_table): ditto.
7438 2000-12-31 Martin Buchholz <martin@xemacs.org>
7440 * XEmacs 21.2.39 is released.
7442 2000-12-29 Andy Piper <andy@xemacs.org>
7444 * menubar.c (menubar_visible_p_changed): signal the frame changed.
7446 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
7447 the frame has changed so that we pick up geometry changes such as
7450 2000-12-28 Andy Piper <andy@xemacs.org>
7452 * lastfile.c (my_ebss): make a char array so we can pad the
7453 bss. Fixes cygwin unexec.
7455 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
7457 2000-12-26 Andy Piper <andy@xemacs.org>
7459 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
7460 comments and try and be more precise about a non-/SIGIO world.
7461 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
7464 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
7465 we don't normalize to zero width or height.
7467 2000-12-24 Andy Piper <andy@xemacs.org>
7469 * Makefile.in.in (ldflags): add -mwindows when appropriate.
7471 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
7473 * s/sco5.h: SCO 5 has pty support.
7475 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
7477 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
7478 input-method-xlib.c contains whole contents of input-method-xfs.c,
7479 so we can use input-method-xlib.c's code for USE_XFONTSET
7481 * input-method-xfs.c: removed.
7483 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
7485 * file-coding.h (enum coding_category_type): reorder enumerators to
7486 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
7487 (now one greater than largest real coding_category_type enumerator).
7488 * file-coding.c (coding_category_symbol, coding_category_by_priority,
7489 coding_category_system, fcd_descriptihon_1, decode_coding_category,
7490 Fcoding_category_list, Fset_coding_priority_list,
7491 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
7492 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
7494 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7496 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
7497 * redisplay-output.c (redisplay_output_window): Clear top of window
7498 when face is changed.
7499 * redisplay-x.c (x_redraw_exposed_window): Call
7500 redisplay_clear_top_of_window.
7501 * redisplay.h: Publish redisplay_clear_top_of_window.
7503 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7505 * buffer.c (Fkill_buffer): Map over all devices.
7506 * window.c (window_loop): Remove UNSHOW_BUFFER code.
7507 (list_windows): New function.
7508 (list_all_windows): Ditto.
7509 (Freplace_buffer_in_windows): Use them.
7511 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
7513 * database.c (berkdb_subtype): Recognize new subtype `queue'.
7514 (Fopen_database): Use `db_create' instead of `db_open'.
7515 (syms_of_database): Initialize Qqueue.
7517 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7519 * buffer.c (common_init_complex_vars_of_buffer): Initialize
7520 buffer_local_face_property.
7521 * buffer.h (struct buffer): New member buffer_local_face_property.
7522 * window.c (Fset_window_buffer): Mark window's face as changed
7523 when buffer has buffer local face.
7524 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
7525 * objects.c (color_after_change): Set buffer_local_face_property
7526 when locale of face specifier is buffer.
7527 * objects.c (font_after_change): Ditto.
7528 * objects.c (face_boolean_after_change): Ditto.
7529 * glyphs.c (image_after_change): Ditto.
7531 2000-12-09 Dan Holmsand <dan@eyebee.com>
7533 * nt.c (mswindows_fstat): Report file permissions, volume serial
7534 number, etc. Code adapted from FSF Emacs 20.7.
7536 2000-12-09 Dan Holmsand <dan@eyebee.com>
7538 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
7539 of stat when we don't have symbolic links, to make sure
7540 mswindows_stat is called on mswindows.
7542 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
7544 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
7546 2000-12-12 Martin Buchholz <martin@xemacs.org>
7548 * doprnt.c (emacs_doprnt_1): More printing fixes.
7549 Make printing of numbers compatible with libc and FSF Emacs.
7550 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
7551 Use the system printf to do most of the hard work of formatting,
7552 instead of doprnt_1().
7553 Calculate memory to allocate for format string.
7554 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
7555 (doprnt_1): Cleaner code and documentation.
7557 2000-12-01 Jerry James <james@eecs.ukans.edu>
7559 * Makefile.in.in: Use the loop variable to install headers.
7561 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7563 * window.c (Fsplit_window): Don't invalidate face cache.
7565 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7567 * minibuf.c (Fall_completions): Undo the previous change
7568 which removed checking elements start with space.
7570 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7572 * mule-canna.c: Didier suppression.
7574 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7576 * mule-canna.c: rename static unsigned char buf[] to key_buffer
7577 (warning suppression). Add English comment translations.
7579 2000-12-05 Martin Buchholz <martin@xemacs.org>
7581 * unexelfsgi.c (unexec): Better test for mmap failure.
7583 2000-12-05 Martin Buchholz <martin@xemacs.org>
7585 * XEmacs 21.2.38 is released.
7587 2000-12-05 Martin Buchholz <martin@xemacs.org>
7589 * redisplay.c (bar-cursor): Make a user variable.
7591 * symsinit.h: Add init_postgresql_from_environment.
7593 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7595 * regex.c: Convert to clean C.
7597 2000-12-05 Dan Holmsand <dan@eyebee.com>
7600 Don't #include sysfile.h. Revert to duplicating PATH_MAX
7602 (sys_readlink): renamed to system_readlink to avoid conflict with
7603 the other sys_readlink.
7605 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
7607 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
7609 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
7611 * postgresql.c (init_postgresql_from_environment): new function.
7612 (vars_of_postgresql): Move code initializing Lisp variables out and
7613 into init_postgresql_from_environment.
7614 emacs.c (main_1): Call init_postgresql_from_environment if and only
7615 if running a dumped XEmacs.
7617 2000-08-31 Dan Holmsand <dan@eyebee.com>
7619 * buffer.c: Make find-file-compare-truenames default to true on
7622 * realpath.c (win32_abs_start):
7624 (win32_readlink): New functions.
7625 (xrealpath): Return really real filenames on windows.
7627 * fileio.c (Ffile_truename): Make file-truename work on windows.
7629 2000-11-29 Didier Verna <didier@xemacs.org>
7631 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
7632 * faces.c (update_face_cachel_data): use it.
7633 * faces.c (add_face_cachel): use it. Complete background pixmap
7634 frobbing in face cache if `update_face_cachel_data' has not done so.
7636 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
7638 * search.c (string_match_1): Don't set last_thing_searched
7641 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
7643 * buffer.c: Include casetab.h
7644 (common_init_complex_vars_of_buffer): Use new case-table object.
7645 * buffer.h: Include casetab.h
7646 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
7647 (DOWNCASE_TABLE_OF): Ditto.
7648 * bufslots.h: Remove char-tables and add case-table.
7649 * casetab.c: Include casetab.h
7650 (CASE_TABLE_P): Removed.
7651 (mark_case_table): New function.
7652 (allocate_case_table): New function.
7653 (Fcase_table_p): Use new case-table.
7654 (case_table_char): New function.
7655 (Fget_case_table): Ditto.
7656 (Fput_case_table): Ditto.
7657 (Fput_case_table_pair): Ditto.
7658 (Fcopy_case_table): Ditto.
7659 (Fcurrent_case_table): Return case-table.
7660 (Fstandard_case_table): Return case-table.
7661 (Fset_case_table): Fix doc-string.
7662 (set_case_table): Use case-table
7663 (syms_of_casetab): DEFSUBR new functions.
7664 (complex_vars_of_casetab): Set up standard case-table.
7665 * casetab.h: New file.
7666 * editfns.c: Include casetab.h
7667 (Fcompare_buffer_substrings): Use case-table.
7668 * inline.c: Include casetab.h
7669 * lisp.h: Remove bogus extern.
7670 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
7671 * search.c: Include casetab.h
7672 (TRANSLATE_ASCII): Removed.
7673 (TRANSLATE): Unconditionally translate character.
7674 (looking_at_1): Use case-table.
7675 (string_match_1): Ditto.
7676 (fast_string_match): Ditto.
7677 (search_command): Ditto.
7678 (search_buffer): Separate boyer_moore. Check whether
7679 boyer_moore is possible.
7680 (simple_search): New function.
7681 (boyer_moore): Separated from search_buffer. Translate char.
7683 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
7685 * regex.c (RE_TR_ASCII): Removed.
7686 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
7687 (PATFETCH): Call PATFETCH_RAW.
7688 (PATFETCH_RAW): Fetch Emchar.
7689 (PATUNFETCH): Decrement charptr.
7690 (GET_BUFFER_SPACE): Rename b to buf_end.
7692 (BUF_PUSH_2): Ditto.
7693 (BUF_PUSH_3): Ditto.
7694 (EXTEND_BUFFER): Ditto.
7695 (SET_LIST_BIT): Ditto.
7696 (regex_compile): Ditto. Translate non ASCII char.
7697 (compile_range): Ditto.
7698 (re_search_2): Ditto.
7699 (re_match_2_internal): Compare Emchar.
7700 (bcmp_translate): Ditto.
7702 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
7704 * lisp.h (basic char/int typedefs): comment improvement.
7706 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
7708 * emacs.c (main_1): unconditional pdump unstomping; don't save and
7709 unstomp inhibit_site_lisp. Improve comments.
7711 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
7713 * mule-charset.c (Fcharset_property): improve type checking, comments.
7715 2000-11-28 Andy Piper <andy@xemacs.org>
7717 * redisplay-output.c (redisplay_output_subwindow): make sure we do
7718 clipped display for windows in the gutter also.
7719 (redisplay_display_boxes_in_window_p): change semantics of return
7720 codes to be more intuitive.
7722 * gutter.h: declare display_boxes_in_gutter_p.
7724 * gutter.c (display_boxes_in_gutter_p): new function for
7727 2000-11-22 Andy Piper <andy@xemacs.org>
7729 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
7732 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
7734 * callproc.c (Fold_call_process_internal):
7735 * gpm.c (Freceive_gpm_event):
7736 (tty_get_foreign_selection): Might be just warning supression.
7737 * fileio.c (Fwrite_region_internal):
7738 (Fset_visited_file_modtime):
7739 * keymap.c (event_matches_key_specifier_p):
7740 Initialize GCPROed variable.
7742 * menubar-x.c (command_builder_find_menu_accelerator):
7743 Initialize before use.
7745 2000-11-23 Andy Piper <andy@xemacs.org>
7747 * unexcw.c (unexec): make the resulting executable executable.
7749 2000-11-21 Martin Buchholz <martin@xemacs.org>
7751 * doc.c (get_doc_string):
7752 Use size_t, not int, for result of XSTRING_LENGTH.
7754 * cmds.c (Fdelete_char):
7755 * cmds.c (Fpoint_at_eol):
7756 * cmds.c (Fself_insert_command):
7757 Use EMACS_INT, not int, for result of XINT.
7758 Someday, someone will want to insert more than 2**31 identical characters.
7760 * cmds.c (Fdelete_char):
7761 * cmds.c (Fdelete_backward_char):
7762 * syntax.c (Fforward_word):
7763 * syntax.c (Fforward_comment):
7764 Make COUNT argument optional, for consistency with forward-char et al.
7766 2000-11-22 Martin Buchholz <martin@xemacs.org>
7769 * print.c (long_to_string):
7770 Return a useful value: the pointer at end of data written.
7773 Use `static const char * const' for constant strings.
7774 (union printf_arg): Delete `i', `ui' members.
7777 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
7778 Do all printf-ing via the `l' specifier.
7779 Use EMACS_INT instead of int.
7782 2000-11-20 Didier Verna <didier@xemacs.org>
7784 * faces.c (update_face_cachel_data): don't frob the background
7785 pixmap when the window is being created. The face is needed but
7788 2000-11-20 Andy Piper <andy@xemacs.org>
7790 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
7791 messing with a debug environment.
7793 2000-11-20 Martin Buchholz <martin@xemacs.org>
7795 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
7797 2000-11-20 Martin Buchholz <martin@xemacs.org>
7799 * casetab.c (Fcase_table_p): Fix compile error and crash.
7801 2000-11-18 Philip Aston <philipa@mail.com>
7803 * s/cygwin32.h: Cygwin has SVR4-like pty support.
7805 2000-11-18 Martin Buchholz <martin@xemacs.org>
7807 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
7808 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
7810 2000-11-17 Martin Buchholz <martin@xemacs.org>
7812 * config.h.in: Define HAVE_ELF_H if elf.h exists.
7813 * unexelf.c: Use HAVE_ELF_H.
7814 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
7815 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
7816 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
7817 Greg Harrington <greg_harrington@hotmail.com> provided a machine
7819 So this is an unexelfsgi.c from a different line of development.
7821 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
7823 * regex.c (RE_TR_ASCII): New function.
7824 (RE_TRANSLATE): Call it.
7826 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
7828 * buffer.h (TRT_TABLE_OF): Remove assert.
7829 (IN_TRT_TABLE_DOMAIN): Removed.
7831 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
7833 * free-hook.c (log_gcpro):
7834 (show_gcprohist): Add support for GCPRO5.
7836 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
7838 * emacs.c (main_1): Improve -sd error message when --pdump=no.
7840 2000-11-16 Olivier Galibert <galibert@xemacs.org>
7842 * symeval.h: Declare flush_all_buffer_local_cache.
7844 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
7845 (flush_buffer_local_cache): Added.
7846 (flush_all_buffer_local_cache): Added.
7848 * lrecord.h: Remove unused XD_LO_RESET_NIL.
7850 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
7851 (pdump_dump_data): Ditto.
7852 (pdump_reloc_one): Ditto.
7853 (pdump): Remove unused pdump_qnil. Flush buffer local caches
7857 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
7859 * buffer.c: Remove if 0'ed entry.
7860 * buffer.h: Rewrite TRT to use char-table.
7861 * bufslots.h: Remove mirror tables.
7862 * casetab.c: Remove mirror tables.
7863 (CASE_TABLE_P): New macro.
7864 (Fcase_table_p): Element of a case table is string or char-table.
7865 (make_mirror_trt_table): Removed.
7866 (set_case_table): Setup char-table from strings for backward
7868 * dired.c (Fdirectory_files):
7869 * dired-msw.c: (mswindows_get_files):
7870 * lisp.h: Change prototype of re_pattern_buffer.
7871 * regex.c: (RE_TRANSLATE): New macro.
7872 (TRANSLATE_P): Ditto.
7873 Change translate to type RE_TRANSLATE_TYPE.
7874 * regex.h: Define RE_TRANSLATE_TYPE
7875 * search.c (TRANSLATE): New macro.
7876 (TRANSLATE_ASCII): New macro.
7877 Translate table is changed to Lisp_Object.
7878 (signal_failure): Inhibit return.
7880 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
7887 Do UNGCPRO before return.
7889 2000-11-14 Martin Buchholz <martin@xemacs.org>
7891 * XEmacs 21.2.37 is released.
7893 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7895 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
7896 Add comments about discarded return value.
7898 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
7901 * event-stream.c: Fix comments. Remove some #if 0'ed part.
7903 2000-10-27 Andy Piper <andy@xemacs.org>
7905 * gutter.c (Fset_default_gutter_position): default left and right
7907 (calculate_gutter_size): calculate resonable heuristic for left
7908 and right gutter sizes.
7909 (specifier_vars_of_gutter): change left and right gutter sizes to
7911 (calculate_gutter_size_from_display_lines): new function.
7912 (output_gutter): check for resizing on left and right gutters.
7913 (clear_gutter): don't special case top and left gutters.
7914 (specifier_vars_of_gutter): use new signature for
7915 set_specifier_caching.
7917 * glyphs-x.c (x_redisplay_widget): spelling fix.
7918 * glyphs.c (specifier_vars_of_glyphs):
7919 * menubar.c (specifier_vars_of_menubar):
7920 * redisplay.c (specifier_vars_of_redisplay):
7921 * toolbar.c (specifier_vars_of_toolbar):
7922 * window.c (specifier_vars_of_window):
7923 * scrollbar.c (specifier_vars_of_scrollbar):
7924 (complex_vars_of_scrollbar): use new signature for
7925 set_specifier_caching.
7927 * specifier.c (set_specifier_caching): include recompute flag.
7928 (recompute_one_cached_specifier_in_window): always recompute if
7930 (recompute_one_cached_specifier_in_frame): ditto.
7932 * specifier.h (struct specifier_caching): add recompute flag.
7934 2000-10-24 Andy Piper <andy@xemacs.org>
7936 * unexcw.c (copy_executable_and_dump_data_section): add new
7937 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
7940 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7942 * console-x.h (x_device): New member modifier_release_time.
7943 * event-Xt.c (x_handle_sticky_modifiers):
7944 Bound interval modifier keys are sticky.
7945 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
7946 * events.h: extern it.
7948 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7950 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
7952 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7954 * event-stream.c (execute_command_event): Preserve current_events
7955 and the like when event is misc-user-event.
7956 Inhibit quit during the call to maybe_echo_keys.
7958 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
7960 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
7961 symlink when buffer is killed.
7962 (inhibit_clash_detection): New variable.
7964 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
7966 * console.c (Fset_input_method): Trigger redisplay on tty.
7968 2000-11-07 Martin Buchholz <martin@xemacs.org>
7970 * process.c (Fprocess_status): Revert to previous behavior:
7971 (process-status "nosuchprocess") ==> nil
7973 2000-11-06 Martin Buchholz <martin@xemacs.org>
7975 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
7976 Work around another GCC 2.95.2 optimizer bug.
7978 2000-11-02 Martin Buchholz <martin@xemacs.org>
7980 * process.c (Fget_process): Use LIST_LOOP_2.
7981 (kill_buffer_processes): Use LIST_LOOP_2.
7983 * minibuf.c (Fall_completions):
7984 Delete old non-functional code for FSF fourth argument.
7986 * frame.c (frame_matches_frame_spec):
7987 Renamed from `frame_matches_frametype'. Update all callers.
7988 (device_matches_device_spec):
7989 Renamed from 'device_matches_console_spec'. Update all callers.
7991 * doc.c (Fsubstitute_command_keys):
7992 Remove buffer overflow crash. Small code cleanups.
7994 * casetab.c (check_case_table): Simpler code.
7996 * window.c (Freplace_buffer_in_windows):
7997 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
7998 (and similar implementation) as Fdelete_windows_on.
8001 * alloc.c (Fmake_list):
8002 * alloc.c (make_vector):
8003 * alloc.c (Fmake_vector):
8004 * alloc.c (make_bit_vector):
8005 * alloc.c (Fmake_bit_vector):
8006 * alloc.c (Fbit_vector):
8007 * alloc.c (Fmake_string):
8008 * alloc.c (Fpurecopy):
8009 * alloc.c (Fmemory_limit):
8011 * buffer.c (Fget_buffer):
8012 * buffer.c (Fkill_buffer):
8013 * buffer.c (complex_vars_of_buffer):
8014 * bytecode.c (Fcompiled_function_stack_depth):
8015 * callint.c (Fprefix_numeric_value):
8017 * event-stream.c (Fread_key_sequence):
8019 * casetab.c (Fcase_table_p):
8020 * casetab.c (check_case_table):
8021 * casetab.c (Fset_case_table):
8022 * casetab.c (Fset_standard_case_table):
8024 * chartab.c (Fchar_table_type):
8025 * chartab.c (Freset_char_table):
8026 * chartab.c (Fget_char_table):
8027 * chartab.c (Fget_range_char_table):
8028 * chartab.c (Fput_char_table):
8029 * chartab.c (Fmap_char_table):
8030 * chartab.c (Fcategory_table_p):
8031 * chartab.c (Fcheck_category_at):
8032 * chartab.c (Fchar_in_category_p):
8033 * chartab.c (Fcategory_table):
8034 * chartab.c (Fcopy_category_table):
8035 * chartab.c (Fset_category_table):
8036 * chartab.c (Fcategory_designator_p):
8037 * chartab.c (Fcategory_table_value_p):
8038 * cmds.c (Fdelete_char):
8039 * cmds.c (Fdelete_backward_char):
8040 * cmds.c (Fself_insert_command):
8041 * cmds.c (Fself_insert_internal):
8042 * console.c (Fvalid_console_type_p):
8043 * console.c (Fcdfw_console):
8044 * console.c (Fconsole_type):
8045 * console.c (Fconsole_name):
8046 * console.c (Fconsole_device_list):
8047 * console.c (Fconsole_on_window_system_p):
8051 * data.c (Fsubr_interactive):
8052 * data.c (Fchar_to_int):
8053 * data.c (Fint_to_char):
8056 * data.c (Fnumber_to_string):
8057 * data.c (Fstring_to_number):
8059 * database.c (mark_database):
8060 * database.c (finalize_database):
8061 * database.c (Fdatabase_live_p):
8062 * database.c (Fdatabasep):
8063 * device-x.c (Fx_get_resource):
8064 * device.c (Fdfw_device):
8066 * dired.c (Ffile_name_completion):
8067 * dired.c (Ffile_name_all_completions):
8068 * dired.c (Fuser_name_completion):
8069 * dired.c (Fuser_name_completion_1):
8070 * dired.c (Fuser_name_all_completions):
8071 * doc.c (Fdocumentation):
8072 * doc.c (Fdocumentation_property):
8073 * doc.c (Fsubstitute_command_keys):
8075 * editfns.c (Fchar_to_string):
8076 * editfns.c (Fstring_to_char):
8077 * editfns.c (Ftemp_directory):
8078 * editfns.c (Finsert_char):
8079 * editfns.c (Fbuffer_substring_no_properties):
8080 * editfns.c (Fnarrow_to_region):
8081 * editfns.c (Fchar_equal):
8082 * editfns.c (Fchar_Equal):
8083 * editfns.c (Ftranspose_regions):
8084 * emacs.c (Fdump_emacs):
8086 * eval.c (Fcommand_execute):
8087 * eval.c (Fautoload):
8088 * eval.c (Fbacktrace):
8089 * eval.c (Fbacktrace_frame):
8091 * events.c (Fcopy_event):
8092 * events.c (Fcharacter_to_event):
8093 * events.c (Fevent_button):
8094 * events.c (Fevent_process):
8096 * extents.c (Fnext_extent_change):
8097 * extents.c (Fextent_property):
8099 * faces.c (Fmake_face):
8101 * file-coding.c (Fencode_shift_jis_char):
8102 * file-coding.c (Fencode_big5_char):
8103 * fileio.c (Ffile_name_directory):
8104 * fileio.c (Ffile_name_nondirectory):
8105 * fileio.c (Ffile_name_as_directory):
8106 * fileio.c (Fdirectory_file_name):
8107 * fileio.c (Ffile_truename):
8108 * fileio.c (Fsubstitute_in_file_name):
8109 * fileio.c (Ffile_modes):
8110 * fileio.c (Fset_file_modes):
8111 * fileio.c (Fset_default_file_modes):
8112 * fileio.c (Fverify_visited_file_modtime):
8113 * floatfns.c (Facos):
8114 * floatfns.c (Fasin):
8115 * floatfns.c (Fatan):
8116 * floatfns.c (Fcos):
8117 * floatfns.c (Fsin):
8118 * floatfns.c (Ftan):
8119 * floatfns.c (Fbessel_j0):
8120 * floatfns.c (Fbessel_j1):
8121 * floatfns.c (Fbessel_jn):
8122 * floatfns.c (Fbessel_y0):
8123 * floatfns.c (Fbessel_y1):
8124 * floatfns.c (Fbessel_yn):
8125 * floatfns.c (Ferf):
8126 * floatfns.c (Ferfc):
8127 * floatfns.c (Flog_gamma):
8128 * floatfns.c (Fexp):
8129 * floatfns.c (Fexpt):
8130 * floatfns.c (Flog):
8131 * floatfns.c (Flog10):
8132 * floatfns.c (Fsqrt):
8133 * floatfns.c (Fcube_root):
8134 * floatfns.c (Facosh):
8135 * floatfns.c (Fasinh):
8136 * floatfns.c (Fatanh):
8137 * floatfns.c (Fcosh):
8138 * floatfns.c (Fsinh):
8139 * floatfns.c (Ftanh):
8140 * floatfns.c (Fabs):
8141 * floatfns.c (Ffloat):
8142 * floatfns.c (Flogb):
8143 * floatfns.c (Fceiling):
8144 * floatfns.c (Ffloor):
8145 * floatfns.c (Fround):
8146 * floatfns.c (Ftruncate):
8147 * floatfns.c (Ffceiling):
8148 * floatfns.c (Fffloor):
8149 * floatfns.c (Ffround):
8150 * floatfns.c (Fftruncate):
8151 * fns.c (Fstring_equal):
8152 * fns.c (Fstring_lessp):
8157 * fns.c (Fsubstring):
8159 * fns.c (Fold_assoc):
8160 * fns.c (assoc_no_quit):
8162 * fns.c (Fold_assq):
8163 * fns.c (assq_no_quit):
8165 * fns.c (Fold_rassoc):
8167 * fns.c (Fold_rassq):
8168 * fns.c (rassq_no_quit):
8169 * fns.c (Fremassoc):
8170 * fns.c (remassoc_no_quit):
8172 * fns.c (remassq_no_quit):
8173 * fns.c (Fremrassoc):
8174 * fns.c (Fremrassq):
8175 * fns.c (remrassq_no_quit):
8177 * fns.c (Fplist_get):
8178 * fns.c (Fplist_put):
8179 * fns.c (Fplist_remprop):
8180 * fns.c (Fplist_member):
8181 * fns.c (Flax_plist_get):
8182 * fns.c (Flax_plist_put):
8183 * fns.c (Flax_plist_remprop):
8184 * fns.c (Flax_plist_member):
8186 * fns.c (Fold_equal):
8188 * fns.c (Fbase64_encode_region):
8189 * fns.c (Fbase64_encode_string):
8190 * fns.c (Fbase64_decode_region):
8192 * frame.c (frame_matches_frame_spec):
8193 * frame.c (device_matches_device_spec):
8194 * frame.c (next_frame):
8195 * frame.c (previous_frame):
8196 * frame.c (Fnext_frame):
8197 * frame.c (Fprevious_frame):
8198 * frame.c (Fframe_property):
8199 * frame.c (Fset_frame_height):
8200 * frame.c (Fset_frame_size):
8204 * glyphs.c (decode_error_behavior_flag):
8205 * glyphs.c (Fmake_image_instance):
8206 * indent.c (Findent_to):
8207 * intl.c (Fignore_defer_gettext):
8208 * keymap.c (Fkeymapp):
8209 * keymap.c (Flookup_key):
8211 * lread.c (Fload_internal):
8212 * lread.c (Feval_buffer):
8213 * lread.c (Feval_region):
8214 * macros.c (Fexecute_kbd_macro):
8215 * marker.c (set_marker_internal):
8216 * marker.c (Fset_marker):
8217 * marker.c (set_marker_restricted):
8218 * marker.c (Fcopy_marker):
8219 * marker.c (noseeum_copy_marker):
8221 * menubar.c (Fpopup_menu):
8223 * mule-charset.c (Fcharset_name):
8224 * mule-charset.c (Fchar_charset):
8225 * mule-charset.c (Fchar_octet):
8226 * mule-charset.c (Fsplit_char):
8227 * mule-wnnfns.c (Fwnn_open):
8228 * mule-wnnfns.c (Fwnn_dict_comment):
8229 * mule-wnnfns.c (Fwnn_quit_henkan):
8230 * mule-wnnfns.c (Fwnn_word_toroku):
8231 * mule-wnnfns.c (Fwnn_word_sakujo):
8232 * mule-wnnfns.c (Fwnn_word_use):
8233 * mule-wnnfns.c (Fwnn_hindo_set):
8235 * objects.c (Fmake_color_instance):
8236 * objects.c (Fmake_font_instance):
8237 * print.c (Fwrite_char):
8239 * process.c (mark_process):
8240 * process.c (print_process):
8241 * process.c (get_process_from_usid):
8242 * process.c (Fprocessp):
8243 * process.c (Fprocess_live_p):
8244 * process.c (Fget_process):
8245 * process.c (Fget_buffer_process):
8246 * process.c (get_process):
8247 * process.c (Fprocess_id):
8248 * process.c (Fprocess_name):
8249 * process.c (Fprocess_command):
8250 * process.c (init_process_io_handles):
8251 * process.c (start_process_unwind):
8252 * process.c (Fstart_process_internal):
8253 * process.c (Fopen_multicast_group_internal):
8254 * process.c (Fset_process_window_size):
8255 * process.c (read_process_output):
8256 * process.c (send_process):
8257 * process.c (Fprocess_tty_name):
8258 * process.c (Fset_process_buffer):
8259 * process.c (Fprocess_buffer):
8260 * process.c (Fprocess_mark):
8261 * process.c (set_process_filter):
8262 * process.c (Fset_process_filter):
8263 * process.c (Fprocess_filter):
8264 * process.c (Fprocess_send_region):
8265 * process.c (Fprocess_send_string):
8266 * process.c (exec_sentinel):
8267 * process.c (Fset_process_sentinel):
8268 * process.c (Fprocess_sentinel):
8269 * process.c (status_notify):
8270 * process.c (Fprocess_status):
8271 * process.c (Fprocess_exit_status):
8272 * process.c (process_send_signal):
8273 * process.c (Fprocess_send_eof):
8274 * process.c (deactivate_process):
8275 * process.c (remove_process):
8276 * process.c (Fdelete_process):
8277 * process.c (kill_buffer_processes):
8278 * process.c (Fprocess_kill_without_query):
8279 * process.c (Fprocess_kill_without_query_p):
8281 * rangetab.c (Fget_range_table):
8282 * rangetab.c (Fput_range_table):
8283 * rangetab.c (Fremove_range_table):
8284 * rangetab.c (Fclear_range_table):
8286 * search.c (Fskip_chars_forward):
8287 * search.c (Fskip_chars_backward):
8288 * search.c (Fskip_syntax_forward):
8289 * search.c (Fskip_syntax_backward):
8290 * search.c (search_command):
8291 * search.c (Freplace_match):
8292 * search.c (Fregexp_quote):
8293 * select.c (Fown_selection_internal):
8294 * select.c (Fselection_owner_p):
8295 * select.c (Fselection_exists_p):
8296 * select.c (Fget_selection_internal):
8299 * symbols.c (Fintern):
8300 * symbols.c (Fintern_soft):
8301 * symbols.c (Funintern):
8302 * symbols.c (Fapropos_internal):
8303 * symbols.c (Fset_default):
8305 * syntax.c (Fsyntax_table_p):
8306 * syntax.c (Fcopy_syntax_table):
8307 * syntax.c (Fset_syntax_table):
8308 * syntax.c (Fchar_syntax):
8309 * syntax.c (syntax_match):
8310 * syntax.c (Fmatching_paren):
8311 * syntax.c (Fforward_word):
8312 * syntax.c (scan_lists):
8313 * syntax.c (Fscan_lists):
8314 * syntax.c (Fscan_sexps):
8315 * syntax.c (Fparse_partial_sexp):
8316 * toolbar.c (Fcheck_toolbar_button_syntax):
8319 * window.c (Fwindowp):
8320 * window.c (Fwindow_live_p):
8321 * window.c (Fwindow_point):
8322 * window.c (Fdelete_window):
8323 * window.c (Fnext_window):
8324 * window.c (Fprevious_window):
8325 * window.c (Fother_window):
8326 * window.c (window_loop):
8327 * window.c (Fget_lru_window):
8328 * window.c (Fsplit_window):
8329 * window.c (Fenlarge_window):
8330 * window.c (Fenlarge_window_pixels):
8331 * window.c (Fshrink_window):
8332 * window.c (Fshrink_window_pixels):
8333 * window.c (change_window_height):
8334 * window.c (Fwindow_configuration_p):
8335 * window.c (Fcurrent_window_configuration):
8337 * casefiddle.c (casify_object):
8338 * casefiddle.c (Fupcase):
8339 * casefiddle.c (Fdowncase):
8340 * casefiddle.c (Fcapitalize):
8341 * casefiddle.c (Fupcase_initials):
8342 * casefiddle.c (casify_region_internal):
8343 * casefiddle.c (casify_region):
8344 * casefiddle.c (Fupcase_region):
8345 * casefiddle.c (Fdowncase_region):
8346 * casefiddle.c (Fcapitalize_region):
8347 * casefiddle.c (Fupcase_initials_region):
8348 * casefiddle.c (Fupcase_word):
8349 * casefiddle.c (Fdowncase_word):
8350 * casefiddle.c (Fcapitalize_word):
8351 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
8352 Replace 0 with '\0' when working with bytes.
8353 Replace initial "(" with "\(" in docstrings.
8355 2000-11-01 Martin Buchholz <martin@xemacs.org>
8357 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
8359 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
8361 2000-10-31 Martin Buchholz <martin@xemacs.org>
8363 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
8365 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8367 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
8370 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8372 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
8373 (inhibit_auto_save_session): New variable.
8374 (vars_of_fileio): Declare and initialize them.
8375 * fileio.c (Fdo_auto_save): Don't create session file if
8376 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
8378 2000-10-31 Martin Buchholz <martin@xemacs.org>
8380 * sgiplay.c (play_internal): C++ compilability.
8381 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
8382 * callproc.c (Fold_call_process_internal):
8383 Remove unused vars `env', `first'.
8384 * scrollbar.c (update_scrollbar_instance):
8385 #### unused var `current_window'.
8386 * redisplay-tty.c: Put currently unused vars insert_mode_on,
8387 etc. within #ifdef NOT_YET.
8388 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
8389 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
8390 * specifier.c (specifier_instance):
8391 #### unused var `tag'.
8392 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
8394 2000-10-27 Martin Buchholz <martin@xemacs.org>
8397 * fns.c (list_sort):
8398 * fns.c (Ffillarray):
8399 * fns.c (bytecode_nconc2):
8402 * fns.c (Fmapconcat):
8403 Be pedantically 64-bit correct. For the time when someone will
8404 want to have a list with length > 2**32.
8406 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
8407 Work around MIPSpro compiler bug.
8409 * process-unix.c (unix_kill_child_process): Add snarky comment.
8410 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
8412 * config.h.in: Oops, _getpt ==> _getpty
8414 2000-10-26 Martin Buchholz <martin@xemacs.org>
8418 Use void*, not char*, as return type of alloca().
8420 * alloc.c (free_marker): Side effect inside assert expression!
8422 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
8424 * mule-charset.c (Fset_charset_ccl_program): To check
8425 if the given ccl program is valid, use setup_ccl_program()
8426 instead of CHECK_VECTOR().
8427 (Fmake_charset): Likewise.
8429 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
8431 * faces.c (get_extent_fragment_face_cache_index):
8432 Fix cachel.merged_faces memory leak.
8434 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
8436 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
8437 Reset MSB of octets obtained by DECODE_SJIS
8438 because of the incompatibility with Emacs.
8439 (ccl_driver)<CCL_ENCODE_SJIS>:
8440 Set MSB of octets before passing them to
8441 ENCODE_SJIS because of the incompatibility
8444 2000-10-18 Daiki Ueno <ueno@unixuser.org>
8446 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
8447 (DECLARE_LRECORD): Undo the last change.
8448 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
8450 2000-10-17 Daiki Ueno <ueno@unixuser.org>
8452 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
8453 the implementation to lrecord_implementations_table.
8455 2000-10-14 Daiki Ueno <ueno@unixuser.org>
8457 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
8458 initial value of `lrecord_type_##c_name' and
8459 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
8460 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
8461 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
8462 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
8463 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
8465 2000-10-17 Martin Buchholz <martin@xemacs.org>
8467 * miscplay.c (sndcnv8S_2mono):
8468 (sndcnv2monounsigned):
8469 (sndcnvULaw_2linear):
8471 Remove implementation-defined behavior.
8473 2000-10-12 Martin Buchholz <martin@xemacs.org>
8475 * input-method-xlib.c: Warning suppression.
8477 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
8479 * mule-ccl.c: Sync up with Emacs 21.0.90.
8480 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
8482 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
8484 (ccl_driver[WriteMultibyteChar2]): Bug fix.
8485 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
8486 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
8487 leading char belongs to official 2-dimensional charset.
8488 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
8489 write the given character as is. Otherwise,
8490 if it is a multibyte char, convert it by
8491 non_ascii_set_charptr_emchar, then write it.
8492 (CCL_WRITE_STRING): Likewise.
8493 (ccl_get_compiled_code): New function.
8494 (setup_ccl_program): When ccl_prog is invalid,
8496 (Fregister_code_conversion_map): New function.
8497 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
8499 * mule-ccl.h: Sync up with Emacs 21.0.90.
8500 (Fregister_ccl_program): export it.
8502 * redisplay-msw.c (separate_textual_runs):
8503 If ccl program is not valid, don't do ccl conversion.
8505 * redisplay-x.c (separate_textual_runs): Ditto.
8507 * file-coding.c (Fmake_coding_system):
8508 When type is ccl and value is vector, register it
8509 with a proper symbol. And checks whether the
8510 given ccl program is valid.
8511 (mule_decode): When calling ccl_driver, if src indicates
8512 NULL pointer, set an empty string instead.
8513 (mule_encode): Likewise.
8515 2000-10-11 Martin Buchholz <martin@xemacs.org>
8517 The following large batch of changes gets us back to a state of
8518 C++ compilability. Extbyte is now a char, which means that
8519 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
8521 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
8523 * sound.c (Fplay_sound): Type correctness.
8525 * select-x.c (hack_motif_clipboard_selection): Type correctness.
8526 (x_get_window_property): Type correctness.
8527 (receive_incremental_selection): unsigned char ==> Extbyte
8528 (selection_data_to_lisp_data): unsigned char ==> Extbyte
8529 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
8530 (Fx_store_cutbuffer_internal): Type correctness.
8532 * process-unix.c (try_to_initialize_subtty): Type correctness.
8534 * objects-x.c (x_print_color_instance): Type correctness.
8535 (x_print_font_instance): Type correctness.
8536 (x_list_fonts): SExtbyte ==> Extbyte.
8537 (valid_x_font_name_p): SExtbyte ==> Extbyte.
8538 (x_find_charset_font): SExtbyte ==> Extbyte.
8539 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
8540 (truename_via_XListFonts): SExtbyte ==> Extbyte.
8541 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
8544 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
8545 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
8546 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
8547 (BYTE_C0_P): Use bit ops for char-signedness safety.
8548 (BYTE_C1_P): Use bit ops for char-signedness safety.
8549 (CHARSET_BY_LEADING_BYTE):
8550 (CHARSET_BY_ATTRIBUTES):
8551 Always use inline function.
8552 Use type_checking_assert.
8555 * mule-charset.c (non_ascii_charptr_copy_char):
8556 Modify to work with both ASCII and non-ASCII characters.
8557 Improve docs and variable names.
8558 Replace over-clever fall-through switch with a simple loop.
8559 (Lstream_get_emchar_1):
8560 Replace over-clever fall-through switch with a simple loop.
8562 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8563 Warning suppression.
8565 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
8566 the return value of Lstream_getc, which could be EOF as well.
8568 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
8570 * lisp.h: Make Extbyte a char, not unsigned char, so that external
8571 APIs can be used on Extbytes without casts. Risky!
8575 * input-method-xlib.c (XIM_init_device):
8576 Use Xlib.h instead of IntrinsicP.h.
8577 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
8578 which will break in X11R7.
8579 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
8580 to call XRegisterIMInstantiateCallback with correct types.
8582 * gui-x.c (button_item_to_widget_value): Type correctness.
8584 * glyphs.c (bitmap_to_lisp_data): Type correctness.
8586 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
8587 (xbm_instantiate_1): Type correctness.
8588 (BUILD_GLYPH_INST): Type correctness.
8590 * fileio.c (Fsubstitute_in_file_name): Type correctness.
8593 (decode_coding_sjis):
8594 (decode_coding_big5):
8595 (decode_coding_ucs4):
8596 (decode_coding_utf8):
8597 (decode_coding_iso2022):
8598 (decode_coding_no_conversion):
8599 Make all decoding functions take an Extbyte * arg.
8600 (encode_coding_sjis):
8601 (encode_coding_big5):
8602 (encode_coding_ucs4):
8603 (encode_coding_utf8):
8604 (encode_coding_iso2022):
8605 (encode_coding_no_conversion):
8606 Make all encoding functions take a Bufbyte * arg.
8607 Use size_t instead of unsigned int for memory sizes.
8608 Only cast to unsigned char whenever dereferencing Extbyte *.
8610 * doc.c (unparesseuxify_doc_string): Type correctness.
8612 * console-x.c (split_up_display_spec):
8613 Rewrite without using details of internal string representation.
8614 (x_semi_canonicalize_device_connection): Type correctness.
8617 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
8618 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
8619 (HAVE_XFREE386): Removed.
8621 * buffer.h (DEC_CHARPTR): `const' correctness.
8622 (bufbyte_strcmp): New.
8623 (bufbyte_memcmp): New.
8625 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
8627 * buffer.h (XCHAR_OR_CHAR_INT):
8628 Always use inline function.
8629 Remove redundant type checking assert() - XINT will abort quite nicely.
8631 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
8633 * search.c (Freplace_match): Set newtext to an empty string.
8635 2000-10-10 Martin Buchholz <martin@xemacs.org>
8637 * s/decosf1-3.h: Remove #include of stropts.h
8638 * s/ptx.h: Remove #include of stropts.h
8639 * s/usg5-4.h: Remove #include of stropts.h
8642 Use stropts.h, not sys/stropts.h.
8643 Use strtio.h, not sys/strtio.h.
8645 2000-10-04 Martin Buchholz <martin@xemacs.org>
8647 * XEmacs 21.2.36 is released.
8649 2000-09-21 Andy Piper <andy@xemacs.org>
8651 * glyphs-x.c (x_redisplay_widget): make sure non-structural
8652 changes still involve copying the widget tree.
8653 (update_widget_face): make sure a change is register in the widget
8654 tree. Call update_tab_widget_face appropriately.
8655 (update_tab_widget_face): ditto.
8656 (x_tab_control_redisplay): make sure non-structural changes still
8657 involve copying the widget tree.
8659 2000-08-31 Daiki Ueno <ueno@unixuser.org>
8661 * lread.c (locate_file): Check the path element is non-nil.
8663 2000-10-02 Martin Buchholz <martin@xemacs.org>
8665 * lisp.h: Warning suppression for SCO compilers.
8667 * redisplay-tty.c (reset_tty_modes): Fix crash.
8668 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
8670 2000-09-27 Martin Buchholz <martin@xemacs.org>
8672 Big signal/process handling overhaul. Bugs fixed:
8673 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
8674 M-x comint-kill-subjob should work for both values nil and t of
8675 process-connection-type. It was broken on most platforms.
8676 Testing on Irix and Cygwin still needed. Other plaforms tested.
8677 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
8678 * process-unix.c: Signal/Process handling overhaul.
8679 (pty_name): make 64 bytes, as `expect' does, for paranoia.
8680 (allocate_pty): Use all available modern methods of allocating
8681 ptys, falling back to old style BSD allocation as a last resort.
8682 Use allegedly more secure Unix98 pty allocation by default.
8683 (allocate_pty_the_old_fashioned_way): New. the last resort.
8684 (unix_create_process): Push ptem, ldterm, ttcompat where
8685 available. Autoconfiscate.
8686 (try_to_initialize_subtty): New.
8687 (unix_kill_child_process): Proper signal handling for ptys on most
8688 platforms, using special knowledge of AIX, BSD, etc...
8689 (unix_create_process): Always disconnect_controlling_terminal() for
8690 subprocesses, whether using ptys or not.
8691 * process.h: Remove old getpt-dependent PTY code.
8692 * process.c (Fprocess_send_signal): New, obvious generic function.
8693 (decode_signal): New.
8694 (Finterrupt_process):
8698 (Fcontinue_process):
8699 (Fsignal_process): Use decode_signal.
8700 (process_send_signal):
8701 Many docstring corrections.
8702 Allow any signal to be sent to a process object.
8703 * config.h.in: Add symbols for big signal/process overhaul.
8704 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
8705 * sysproc.h: Include process-related headers, where available:
8706 sys/stropts.h sys/strtio.h pty.h libutil.h
8714 Remove old S&M pty stuff.
8715 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
8716 * systty.h: Simplify cpp hackery, improve comments.
8717 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
8719 * editfns.c (Fformat_time_string):
8720 Be a little more paranoid with the return value of ctime.
8722 * fileio.c (check_executable):
8724 Use symbolic constants X_OK, W_OK.
8726 * console-x.c (split_up_display_spec): Fix a warning.
8728 2000-10-02 Martin Buchholz <martin@xemacs.org>
8730 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
8731 * ntproc.c (sys_spawnve): make_string ==> build_string
8732 Small clarity improvements.
8734 2000-09-30 Martin Buchholz <martin@xemacs.org>
8736 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
8738 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
8740 * config.h.in (HAVE_STRCASECMP): Remove.
8742 2000-09-29 Martin Buchholz <martin@xemacs.org>
8744 * redisplay-output.c (redisplay_output_pixmap):
8745 Cleaner and possibly more 64-bit correct code.
8747 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
8749 * dumper.c (pdump_load_finish): move restoration of
8750 `noninteractive1' to emacs.c (main_1).
8751 * emacs.c (main_1): protect LISP-visible command-line flags
8754 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
8756 * Makefile.in.in (versionclean): Use EXE_TARGET and
8757 DUMP_TARGET instead of literal program names.
8759 2000-09-20 Martin Buchholz <martin@xemacs.org>
8761 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
8763 2000-09-19 Martin Buchholz <martin@xemacs.org>
8765 * *: Spelling mega-patch
8767 2000-09-19 Martin Buchholz <martin@xemacs.org>
8769 * fns.c (bad_bad_turtle):
8770 Delete "Eek!" comment, since we fixed the bug to which it refers.
8772 2000-09-16 Martin Buchholz <martin@xemacs.org>
8774 * alloca.c: Replace REGISTER with register.
8776 2000-09-16 Daiki Ueno <ueno@unixuser.org>
8778 * file-coding.c (ucs_to_char): Use countof.
8780 2000-09-16 Martin Buchholz <martin@xemacs.org>
8782 * file-coding.c: (ucs_to_char):
8783 (complex_vars_of_file_coding):
8784 Use countof instead of sizeof.
8785 Use CHECK_NATNUM instead of CHECK_INT.
8787 * sysdep.c (strcasecmp): Remove.
8788 * device-x.c (ascii_strcasecmp): New.
8789 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
8790 Avoid using non-standard non-portable strcasecmp.
8792 2000-09-16 Martin Buchholz <martin@xemacs.org>
8794 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
8795 * font-lock.c: remove reference to emacsfns.h.
8796 * search.c: small doc improvement.
8797 * event-Xt.c: correct file names in comments.
8798 * console-x.h Correct file names in comments.
8799 * frame.c: Correct file names in comments.
8800 * event-stream.c: remove Energize from comments.
8802 2000-09-15 Martin Buchholz <martin@xemacs.org>
8804 * symeval.h (DEFERROR_STANDARD):
8807 (DEFSYMBOL_NO_DUMP):
8808 (DEFSYMBOL_MULTIWORD_PREDICATE):
8809 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
8811 The construct &##name is not sensible C.
8812 Fixes compilation errors with Unixware native compiler.
8814 2000-09-14 Martin Buchholz <martin@xemacs.org>
8816 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
8817 (next_frame_internal): Removed. We now just have next_frame.
8819 Write a simpler and cleaner one-pass algorithm.
8820 Remove called_from_delete_device arg and #ifdefed-out code.
8822 Renamed from prev_frame. Update callers.
8823 Cleaned up to have an analogous implementation to next_frame.
8824 (other_visible_frames_internal): Remove the
8825 called_from_delete_device bogus arg, and hence, remove this
8826 function. Just use other_visible_frames().
8828 * window.c (Fnext_window):
8830 Since next_frame() is guaranteed to return a frame, remove check
8831 for nil inserted in previous patch.
8834 Make code look more like Fnext_window.
8836 Respect the `console' arg when iterating through windows.
8837 Fixes bug: (get-buffer-window buffer t device) not respecting
8839 This function needs more work, as others have pointed out.
8841 * frame.h: Rename prev_frame to previous_frame.
8842 device_matches_console_spec no longer takes a `frame' arg.
8847 Use EMACS_BLOCK_SIGNAL instead of sigblock.
8848 From "Golubev I. N." <gin@mo.msk.ru>.
8850 * make-src-depend: Fix typo.
8852 2000-09-13 Martin Buchholz <martin@xemacs.org>
8854 * window.c (Fnext_window):
8855 next_frame() might return nil, not a frame.
8857 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
8859 * frame.c (next_frame_internal):
8860 We've passed a frame if we've passed its device.
8862 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
8863 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
8865 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
8867 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
8868 Allow option to suppress accelerators in menu/dialog items.
8869 (populate_or_checksum_helper): Pass dialog title through above.
8871 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
8873 * event-msw.c (mswindows_key_to_emacs_keysym):
8874 Add "pause" key, fix "menu" key.
8876 2000-09-09 Martin Buchholz <martin@xemacs.org>
8878 * eval.c (reinit_vars_of_eval):
8879 Increase max_lisp_eval_depth to 1000,
8880 required for thai-xtis.el to byte-compile under some circumstances.
8882 2000-09-04 Martin Buchholz <martin@xemacs.org>
8884 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
8887 2000-09-01 Martin Buchholz <martin@xemacs.org>
8889 * make-src-depend: Make the generated Makefiles smaller.
8891 * s/hpux.h (SETUP_SLAVE_PTY):
8892 Provide a %d in the format string for the errno argument.
8894 * editfns.c (Ftemp_directory):
8896 Avoid buffer overrun on very long file name.
8898 * input-method-xlib.c (XIM_init_device):
8899 6th parameter of XRegisterIMInstantiateCallback has different
8900 pointer types on different OSes, so simply cast to (void *).
8902 * unexhp9k800.c: Warning fixes. Fiddly changes.
8904 * sysdll.c (dll_open):
8905 shl_load will hang hard if passed a NULL filename.
8906 Simply return NULL for compatibility with dlopen.
8907 * sysdll.c: Conform to XEmacs coding standards.
8909 * sysdep.c (get_pty_max_bytes):
8910 Support pty input lines longer than 512 bytes on HP-UX 10.20.
8912 2000-08-31 Martin Buchholz <martin@xemacs.org>
8914 * tooltalk.c: Add #include <syssignal.h>
8916 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
8918 * s/hpux.h: Don't use undefined function sigunblock().
8920 2000-08-31 Martin Buchholz <martin@xemacs.org>
8922 * config.h.in: Add HAVE_BALLOON_HELP.
8923 * emacs.c: Use HAVE_BALLOON_HELP.
8924 * Makefile.in.in (x_objs):
8925 Make Balloon Help conditional on finding shape.h.
8927 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
8929 * syntax.c (regex_emacs_buffer_p): New variable.
8930 * syntax.h (regex_emacs_buffer_p): extern.
8931 * search.c (looking_at_1):
8933 (fast_string_match):
8934 (search_buffer): Set regex_emacs_buffer_p.
8935 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
8936 when before_dot, at_dot, after_dot.
8938 2000-08-23 Andy Piper <andy@xemacs.org>
8940 * gui-x.c (popup_selection_callback): Only set action_occurred
8941 when we really have an image instance.
8942 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
8944 2000-08-23 Andy Piper <andy@xemacs.org>
8946 * gui-msw.c (mswindows_handle_gui_wm_command): set
8948 * gui-x.c (popup_selection_callback): ditto.
8950 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
8951 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
8952 (struct Lisp_Image_Instance): add action_occurred flag.
8954 * glyphs.c (redisplay_subwindow): use action_occurred flag.
8955 (image_instance_changed): ditto.
8956 (reset_frame_subwindow_instance_cache): only unmap windows - do
8957 not remove them from the cache also.
8959 * glyphs-widget.c (tab_control_update): better debug.
8960 (progress_gauge_update): ditto.
8961 (layout_update): ditto.
8962 (layout_instantiate): ditto.
8963 (tab_control_order_only_changed): cope with null pending items.
8965 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
8966 debug. Force selection of an item when an action occurred. Cope
8967 with null pending_items.
8968 (mswindows_progress_gauge_redisplay): better debug.
8969 * glyphs-x.c (x_tab_control_redisplay): ditto.
8971 * redisplay.c (redisplay_frame): reset the frame cache if the
8974 * window.c (Fset_window_configuration): potentially re-enable
8976 (window_unmap_subwindows): need to finalize instances here since
8977 it is only used in mark_window_as_deleted.
8979 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
8981 * nas.c (SndOpenDataForReading):
8982 nas.c (WaveOpenDataForReading):
8983 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
8984 Somehow escaped from the 2000-08-14 patch.
8986 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
8988 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
8989 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
8991 2000-08-21 Andy Piper <andy@xemacs.org>
8993 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
8994 window if it is not already displayed.
8996 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
8997 it is not already displayed.
8999 * window.c (Fset_window_configuration): don't reset the frame
9002 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
9003 instances from the frame cache if we are actually finalizing them.
9004 (reset_frame_subwindow_instance_cache): reset frame cache only
9005 after unmapping everything.
9006 (map_subwindow): set displayed flag after mapping.
9008 2000-08-21 Martin Buchholz <martin@xemacs.org>
9010 * data.c (indirect_function):
9011 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
9013 * eval.c (function_argcount):
9014 Use original function when signaling errors.
9016 2000-08-18 Andy Piper <andy@xemacs.org>
9018 * frame.c (delete_frame_internal): use new
9019 free_frame_subwindow_instances name.
9021 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
9022 (add_tab_item): make return type correct.
9023 (mswindows_tab_control_instantiate): assert index of tab.
9024 (mswindows_tab_control_redisplay): Re-code to use
9025 gui_item_equal_sans_selected and gui_item_list_find_selected.
9027 * glyphs-widget.c (tab_control_update): Correct comment.
9029 * window.c (window_unmap_subwindows): use new
9030 unmap_subwindow_instance_cache_mapper.
9031 (window_unmap_subwindows_cache_mapper): deleted.
9032 (Fset_window_configuration): comparisons should now be with
9033 EQ. Preserve the subwindow instance cache across configuration
9035 (allocate_window): ditto.
9036 (make_dummy_parent): ditto.
9038 * glyphs.c (free_frame_subwindow_instances): rename from
9039 free_frame_subwindow_instance_cache. finalize all instances rather
9040 than just those in the display cache.
9041 (finalize_all_subwindow_instances): walk windows unmapping and
9042 finalizing subwindows.
9043 (unmap_subwindow_instance_cache_mapper): moved from
9044 window.c. Allow finalization as well as unmapping.
9046 * gui.c (gui_item_list_find_selected): new function.
9048 * gui.h (gui_item_list_find_selected): declare.
9050 * glyphs-x.c (x_tab_control_redisplay): pick tab
9051 explicitly. Re-code to use gui_item_equal_sans_selected and
9052 gui_item_list_find_selected.
9054 * glyphs-x.h: add lwlib-utils.h
9056 * buffer.c (Frecord_buffer): undo previous change.
9058 2000-08-09 Vin Shelton <acs@xemacs.org>
9060 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
9061 possible. Create temporary files more securely. The patch was
9062 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
9063 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
9064 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
9067 2000-08-07 Ben Wing <ben@xemacs.org>
9069 * getloadavg.c: remove duplicate (and windows-breaking)
9070 includes of fcntl.h and sys/file.h.
9072 * nt.c: remove duplicate getloadavg() definition.
9074 * sysdll.h (Qdll_filename_encoding): add missing stand-in
9077 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
9079 * eval.c (function_argcount): If function needs to be autoloaded
9080 actually use the loaded definition.
9083 2000-08-05 Ben Wing <ben@xemacs.org>
9085 * getloadavg.c: add prototype for getloadavg(). remove
9086 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
9087 of the code). remove duplicate header includes.
9089 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
9091 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
9092 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
9093 useful load average.
9095 * alloc.c (reinit_alloc_once_early): removed references to
9096 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
9097 the lisp vars are the only things referencing the malloc_sbrk_*
9098 vars, and they were already if 0'd out. these vars only exist
9099 in the older malloc.c, which is basically unused, and they're
9100 only for informational purposes.
9102 * m\*.h: removed useless VIRT_ADDR_VARIES.
9104 * m\powerpc.h: removed stray NO_ARG_ARRAY.
9106 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
9108 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
9109 color if the image is a mono pixmap.
9111 2000-07-30 Ben Wing <ben@xemacs.org>
9113 * Makefile.in.in (release):
9116 * buffer.c (directory_is_current_directory):
9117 * dired-msw.c (mswindows_get_files):
9119 * dired.c (Fdirectory_files):
9120 * dired.c (file_name_completion_stat):
9121 * dired.c (Ffile_attributes):
9122 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
9123 preprocessor tricks, to avoid problems on some machines
9126 * callproc.c (egetenv): GC docs.
9129 * console-msw.h (struct mswindows_dialog_id):
9130 * lrecord.h (lrecord_type):
9131 New object for use with MSW dialogs.
9133 * console.h (struct console_methods):
9134 New enable/disable frame methods, for proper modal dialogs.
9136 * device-msw.c (msprinter_default_printer): Fix to follow
9137 proper Mule conventions.
9140 * device-msw.c (signal_open_printer_error):
9141 * device-msw.c (msprinter_init_device):
9142 * device-msw.c (ensure_not_printing):
9143 * device-msw.c (plist_get_margin):
9144 * device-msw.c (Fmsprinter_select_settings):
9145 * device-msw.c (finalize_devmode):
9146 * device-msw.c (Fmsprinter_settings_despecialize):
9147 * device-msw.c (signal_enum_priner_error):
9148 * extents.c (decode_extent):
9149 * extents.c (decode_map_extents_flags):
9150 * extents.c (decode_extent_at_flag):
9151 * extents.c (Fextent_at):
9152 * extents.c (Fextents_at):
9153 * extents.c (symbol_to_glyph_layout):
9154 [[[[2]]]] Use structured errors.
9157 * dialog-msw.c (mswindows_is_dialog_msg):
9158 * dialog-msw.c (mark_mswindows_dialog_id):
9159 * dialog-msw.c (dialog_proc):
9160 * dialog-msw.c (handle_question_dialog_box):
9161 * dialog-msw.c (syms_of_dialog_mswindows):
9162 Define new object to clean up marking; use it as a dialog identifier.
9163 Call new delete-dialog-box-hook.
9165 * dialog-x.c (dbox_selection_callback):
9166 * dialog-x.c (dbox_descriptor_to_widget_value):
9167 * dialog-x.c (x_make_dialog_box_internal):
9168 Call new delete-dialog-box-hook.
9172 * dialog.c (syms_of_dialog):
9173 * dialog.c (vars_of_dialog):
9174 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
9177 * eval.c (signal_call_debugger):
9178 when noninteractive, output stack traces on the console instead
9179 of in a (never-seen) buffer.
9181 * eval.c (signal_type_error):
9182 * eval.c (invalid_argument_2):
9184 new funs for use w/structured errors.
9187 * event-Xt.c (x_to_emacs_keysym):
9188 * event-Xt.c (describe_event):
9189 * event-Xt.c (emacs_Xt_event_handler):
9190 * event-Xt.c (vars_of_event_Xt):
9192 * event-msw.c (mswindows_wnd_proc):
9193 * event-msw.c (vars_of_event_mswindows):
9194 rename {x,mswindows}-debug-events to debug-{}-events for
9195 consistency with other debug-foo variables.
9198 document next-event more clearly.
9200 * fileio.c (Ffile_name_directory):
9201 * fileio.c (Ffile_name_nondirectory):
9202 * fileio.c (Funhandled_file_name_directory):
9203 * fileio.c (file_name_as_directory):
9204 * fileio.c (Ffile_name_as_directory):
9205 * fileio.c (directory_file_name):
9206 * fileio.c (Fdirectory_file_name):
9207 * fileio.c (Fmake_temp_name):
9208 * fileio.c (Ffile_truename):
9209 * fileio.c (Fsubstitute_in_file_name):
9210 * fileio.c (expand_and_dir_to_file):
9211 * fileio.c (barf_or_query_if_file_exists):
9212 * fileio.c (check_executable):
9213 * fileio.c (Ffile_exists_p):
9214 * fileio.c (Ffile_writable_p):
9215 * fileio.c (Ffile_directory_p):
9216 * fileio.c (Ffile_regular_p):
9217 * fileio.c (Ffile_modes):
9218 * fileio.c (Ffile_newer_than_file_p):
9219 * fileio.c (Fverify_visited_file_modtime):
9220 * fileio.c (Fset_visited_file_modtime):
9221 * fileio.c (auto_save_1):
9226 * frame-msw.c (mswindows_init_frame_1):
9227 * frame-msw.c (mswindows_enable_frame):
9228 * frame-msw.c (error_frame_unsizable):
9229 * frame-msw.c (msprinter_init_frame_1):
9230 * frame-msw.c (msprinter_init_frame_3):
9231 * frame-msw.c (console_type_create_frame_mswindows):
9233 implement new enable/disable frame methods.
9236 * frame-x.c (x_enable_frame):
9237 * frame-x.c (console_type_create_frame_x):
9238 implement new enable/disable frame methods.
9241 * frame.c (Fdisable_frame):
9242 * frame.c (syms_of_frame):
9243 * frame.h (struct frame):
9244 implement new enable/disable frame methods/functions.
9249 * glyphs-msw.c (mswindows_widget_instantiate):
9250 comment that initial-focus should be implemented.
9253 * glyphs-widget.c (check_valid_instantiator):
9254 * glyphs-widget.c (check_valid_orientation):
9255 * glyphs-widget.c (check_valid_tab_orientation):
9256 * glyphs-widget.c (check_valid_justification):
9257 * glyphs-widget.c (check_valid_border):
9258 * glyphs-widget.c (check_valid_callback):
9259 * glyphs-widget.c (check_valid_int_or_function):
9260 * glyphs-widget.c (check_valid_string_or_vector):
9261 * glyphs-widget.c (check_valid_item_list_1):
9262 * glyphs-widget.c (widget_validate):
9263 * glyphs-widget.c (combo_box_validate):
9264 * glyphs-widget.c (widget_instantiate):
9265 * glyphs-widget.c (syms_of_glyphs_widget):
9266 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
9267 * glyphs-widget.c (image_instantiator_combo_box):
9268 * glyphs-widget.c (image_instantiator_scrollbar):
9269 * glyphs-widget.c (image_instantiator_tab_control):
9270 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
9272 support (unimplemented) keyword initial-focus.
9273 reindent long macros.
9275 * glyphs-x.c (x_redisplay_widget):
9276 * glyphs-x.c (x_button_instantiate):
9277 * glyphs-x.c (x_button_redisplay):
9278 * glyphs-x.c (x_progress_gauge_instantiate):
9279 * glyphs-x.c (x_edit_field_instantiate):
9280 * glyphs-x.c (x_combo_box_instantiate):
9281 * glyphs-x.c (x_tab_control_instantiate):
9282 * glyphs-x.c (x_label_instantiate):
9284 * gui-x.c (button_item_to_widget_value):
9285 * gui-x.c (gui_items_to_widget_values_1):
9286 * gui-x.c (gui_item_children_to_widget_values):
9287 * gui-x.c (gui_items_to_widget_values):
9289 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9290 add new flag to gui-parsing routines to indicate whether
9291 accelerator specs should be supported.
9293 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
9295 * glyphs.h (struct Lisp_Image_Instance):
9296 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
9297 add initial-focus flag.
9300 * gui.c (syms_of_gui):
9301 * gui.c (vars_of_gui):
9302 clean up menu-no-selection-hook.
9305 support delete-dialog-box-hook.
9307 * lread.c (Fload_internal):
9308 * lread.c (locate_file_in_directory_mapper):
9312 * lrecord.h (struct toolbar_button):
9313 * lrecord.h (syms_of_toolbar):
9314 document how to create a new object.
9316 * menubar-msw.c (mswindows_char_is_accelerator):
9317 may be called on frames w/o menus.
9319 * menubar.c (vars_of_menubar):
9320 clean up :filter docs.
9327 * process-nt.c (validate_signal_number):
9328 * process-nt.c (signal_cannot_launch):
9329 * process-nt.c (nt_create_process):
9330 * process-nt.c (nt_send_process):
9331 * process-nt.c (nt_kill_child_process):
9332 * process-nt.c (nt_open_network_stream):
9333 * process-nt.c (syms_of_process_nt):
9335 delete quote-handling. call new lisp code that does it better.
9337 * process-unix.c (connect_to_file_descriptor):
9338 * process-unix.c (allocate_pty):
9339 * process-unix.c (unix_send_process):
9340 * process-unix.c (unix_kill_child_process):
9341 * process-unix.c (unix_open_network_stream):
9342 * process-unix.c (unix_open_multicast_group):
9346 * process.c (Fstart_process_internal):
9347 (2). need to canonicalize process path even if absolute.
9349 * select-msw.c (symbol_to_ms_cf):
9350 * select-msw.c (ms_cf_to_symbol):
9351 * select-msw.c (cf_is_autofreed):
9352 * select-msw.c (mswindows_destroy_selection):
9354 * select.c (syms_of_select):
9356 support dibv5, fix bugs. (from Mike Alexander)
9358 * select.c (Fget_selection_internal):
9359 * select.c (select_convert_out):
9362 * sysdep.c (xemacs_stat):
9367 but keep original stat() here because we provide encapsulation
9371 * sysfile.h (fstat):
9372 remove stat garbage.
9376 don't include tchar.h. it's inappropriate because it makes
9377 compile-time distinctions when we want runtime distinctions.
9378 (we provide our own tchar replacements)
9381 use default object printer for toolbar-button.
9384 make sure we don't encapsulate.
9386 * window.c (vars_of_window):
9387 emphasize that temp-buffer-show-hook is obsolete.
9389 2000-08-05 Martin Buchholz <martin@xemacs.org>
9391 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
9392 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
9394 * events.c (Fevent_timestamp_lessp):
9395 Not 64-bit clean. Use EMACS_INT, not int.
9397 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
9399 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
9400 unsigned int and changed the last enum to
9401 lrecord_type_last_built_in_type.
9402 (lrecord_implementations_table): changed prototype to know how
9403 long the array is supposed to be.
9404 (lrecord_type_count): new unsigned int to keep track of the
9405 current number of lisp lrecord types.
9406 (DEFINE_EXTERNAL_LRECORD):
9407 (DECLARE_EXTERNAL_LRECORD): Added these two for external
9408 dynamic-modules to declare new lisp types. They are the same
9409 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
9410 int for each new type, and increment lrecord_type_count by 1.
9412 * alloc.c (lrecord_implementations_table): Changed to reference
9413 lrecord_type_last_built_in_type for the size of the array.
9414 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
9416 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9418 * glyphs.h (check_valid_item_list): Renamed from
9419 check_valid_item_list_1.
9421 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
9423 * select.c (Qselect_coerce): New.
9424 * select.c (Vselection_coercion_alist): New.
9425 * select.c (syms_of_select): Declare.
9426 * select.c (get-selection-internal): Use it.
9427 Use the new select-coerce functionality.
9429 * select.c (select_coerce): New.
9430 * select.h (select_coerce): Declare.
9431 New function to coerce one type of data into another.
9433 2000-08-03 Martin Buchholz <martin@xemacs.org>
9435 * callproc.c (Fcall_process_internal):
9436 (Fcall_process_internal):
9437 * process-unix.c (unix_create_process):
9438 Save and restore the value of errno, so that error messages are accurate.
9440 2000-08-01 Martin Buchholz <martin@xemacs.org>
9442 * elhash.c (print_hash_table):
9443 Fix printing of hash tables to also use `key-and-value' instead of `t'.
9444 Prettify docstrings and indentation.
9446 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
9448 * window.c (Fwindow_pixel_edges): Subtract frame border and
9451 2000-07-31 Andy Piper <andy@xemacs.org>
9453 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
9454 will acknowledge the change.
9456 * glyphs.h: declare tab_control_order_only_changed.
9458 * glyphs-x.c (x_tab_control_redisplay): use
9459 tab_control_order_only_changed.
9461 * glyphs-widget.c (tab_control_order_only_changed): new function.
9463 * glyphs-msw.c (mswindows_tab_control_redisplay): use
9464 tab_control_order_only_changed.
9466 * gui.c (gui_item_equal_sans_selected): new function.
9467 (gui_item_equal): use it.
9469 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
9470 :properties in favor of :items..
9472 * glyphs-widget.c (check_valid_item_list): rename from
9473 check_valid_item_list_1.
9474 (check_valid_item_list_1): renamed.
9475 (combo_box_validate): deprecate :properties in favor of :items.
9476 (widget_instantiate): ditto.
9477 (tab_control_update): ditto.
9478 (image_instantiator_combo_box): ditto.
9479 (image_instantiator_tree_view): ditto.
9480 (image_instantiator_tab_control): ditto.
9481 (layout_post_instantiate): remove dead code.
9483 * print.c (debug_print_no_newline): only write to debugger if in
9486 * elhash.c (Fmake_hash_table): update doc string.
9488 * event-msw.c (mswindows_wnd_proc): don't allow processing of
9489 messages whilst in GC. This at least stops XEmacs crashing but has
9490 the potential for wierd behaviour.
9492 2000-07-31 Martin Buchholz <martin@xemacs.org>
9495 Make existence of s&m files optional.
9497 * s/bsd386.h: Remove HAVE_GETLOADAVG.
9498 * s/freebsd.h: Remove HAVE_GETLOADAVG.
9499 * s/gnu.h: Remove HAVE_GETLOADAVG.
9500 * s/netbsd.h: Remove HAVE_GETLOADAVG.
9501 * s/sol2.h: Remove HAVE_GETLOADAVG.
9502 * lisp.h: Remove getloadavg() declaration.
9504 Include <sys/loadavg.h> if available.
9505 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
9506 * config.h.in: Group together getloadavg()-related macros.
9507 Use only configure-time tests to detect getloadavg().
9509 2000-07-30 Martin Buchholz <martin@xemacs.org>
9511 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
9513 2000-07-25 Andy Piper <andy@xemacs.org>
9515 * syswindows.h: add tchar.h for native builds.
9517 * frame.c (syms_of_frame): remove set-glyph-image.
9519 * general-slots.h: add Qset_glyph_image.
9521 * glyphs-widget.c (layout_update): add domain arg to
9523 (syms_of_glyphs_widget): remove set-glyph-image.
9525 2000-07-23 Ben Wing <ben@xemacs.org>
9527 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
9530 2000-07-22 Andy Piper <andy@xemacs.org>
9532 * symsinit.h: add syms_of_win32().
9534 * gui-msw.c (syms_of_gui_mswindows): remove
9535 Fmswindows_shell_execute.
9536 (Fmswindows_shell_execute): moved to win32.c.
9538 * emacs.c (main_1): add syms_of_win32 ().
9540 * win32.c (init_potentially_nonexistent_functions): rewrite in
9541 compiler-friendly terms.
9542 (Fmswindows_shell_execute): move here from gui-msw.c.
9543 (syms_of_win32): new.
9545 * device-msw.c (Fmswindows_printer_list): clean up args to
9547 Don't include tchar under cygwin or mingw.
9548 (msprinter_default_printer): make cygwin-friendly.
9550 2000-07-21 Andy Piper <andy@xemacs.org>
9552 * glyphs-widget.c (image_instantiator_tree_view): use tab
9553 control's update function.
9554 (layout_property): new function. Retrieve items.
9556 * glyphs-msw.c (mswindows_tree_view_redisplay): new
9557 function. Re-populate the tree view from the pending items.
9559 * glyphs.c (instantiate_image_instantiator): Make sure the domain
9560 is designated the parent if the domain is an image instance. This
9561 is needed so that dirtiness can be cascade up the hierarchy and
9562 thus for layout children to be redisplayed correctly.
9563 (allocate_image_instance): rename glyph -> parent.
9565 * redisplay.h: change redisplay_output_layout signature.
9567 * redisplay-msw.c (mswindows_output_display_block): use domain
9570 * redisplay-x.c (x_output_display_block): use domain arg.
9572 2000-07-10 Andy Piper <andy@xemacs.org>
9574 * window.c (Fset_window_configuration): add comment.
9576 * redisplay-output.c (compare_runes):
9577 (redisplay_output_subwindow): redisplay rather than update subwindow.
9578 (redisplay_output_layout): ditto.
9580 * redisplay-msw.c (mswindows_frame_output_end):
9581 (mswindows_frame_output_end): make defer window pos optional.
9583 * lisp.h: add Flast.
9585 * glyphs.h (struct image_instantiator_methods): add dest_mask top
9586 normalize method. Change update method to be for changed
9587 instantiators. Add redisplay method. Change signature of layout
9589 (struct Lisp_Image_Instance): add instantiator.
9590 (IMAGE_INSTANCE_INSTANTIATOR): new.
9591 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
9592 (XIMAGE_INSTANCE_INSTANTIATOR): new.
9593 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
9596 (find_instantiator_differences): new function.
9597 (Fset_instantiator_property): new convenience function.
9598 (check_image_instance_structure): strictly check for vector
9600 (normalize_image_instantiator): make non-static.
9601 (instantiate_image_instantiator): pass on dest_mask and use new
9602 signatures for image_instance_layout and friends.
9603 (mark_image_instance): mark the instantiator. Mark the subwindow
9604 face not the widget face.
9605 (image_instance_equal): add instantiator.
9606 (image_instance_hash): ditto.
9607 (allocate_image_instance): ditto.
9608 (Fset_image_instance_property): removed.
9609 (Fimage_instance_file_name): ditto.
9610 (Fcolorize_image_instance): ditto.
9611 (image_instance_layout): add offsets to be set.
9612 (update_image_instance): new function. update an image instance
9613 from its changed instantiator.
9614 (inherit_normalize): add dest_mask.
9615 (xbm_normalize): ditto.
9616 (xface_normalize): ditto.
9617 (xpm_normalize): ditto.
9618 (text_update): set_property -> update.
9619 (image_instantiate): use the glyph identity as a hash key, not the
9621 (glyph_width): use new image_instance_layout signature.
9622 (glyph_ascent): ditto.
9623 (glyph_descent): ditto.
9624 (glyph_height): ditto.
9625 (glyph_query_geometry): ressurrect.
9626 (glyph_layout): ditto.
9627 (redisplay_subwindow): update -> redisplay.
9628 (syms_of_glyphs): add Fset_instantiator_property.
9629 (image_instantiator_format_create): set_property -> update.
9632 (autodetect_normalize): add dest_maks to signature.
9633 (x_redisplay_subwindow): update -> redisplay.
9634 (x_redisplay_widget): ditto.
9635 (x_button_redisplay): ditto.
9636 (x_progress_gauge_redisplay): ditto.
9637 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
9639 (console_type_create_glyphs_x): update -> redisplay.
9640 (image_instantiator_format_create_glyphs_x): ditto.
9643 (check_valid_instantiator): disallow glyphs in the instantiator,
9644 they must now be vectors.
9645 (check_valid_instantiator_list): ditto.
9646 (glyph_instantiator_to_glyph): use internal symbol rather than
9648 (widget_update): renamed from widget_set_property. Call cascaded
9650 (redisplay_widget): renamed from update_widget.
9651 (widget_layout): image_instance_layout now takes position as well
9653 (widget_normalize): ditto.
9654 (widget_instantiate): ditto.
9655 (tab_control_query_geometry) ditto.:
9656 (tab_control_update): renamed from tab_control_set_property.
9657 (progress_gauge_update): set_property -> update.
9658 (layout_normalize): rewrite so that child instantiators are
9660 (layout_update): new function. Create glyphs from the normalized
9661 children and cope with any other layout keywords. We do not
9662 instantiate children here that will be take care of by
9663 redisplay_output_layout.
9664 (layout_instantiate): call layout_update and not much else.
9665 (layout_post_instantiate): not sure whether this is needed
9667 (layout_query_geometry): query glyph geometry rather than
9668 image_instance geometry.
9669 (layout_layout): set offsets from pass in parameters. Use glyph
9670 geometry and layout functions rather than image instance ones.
9671 (native_layout_layout): ditto.
9672 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
9673 (image_instantiator_widget): set_property -> update.
9674 (image_instantiator_buttons): ditto.
9675 (image_instantiator_progress_guage): ditto.
9676 (image_instantiator_tab_control): ditto.
9677 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
9678 (image_instantiator_layout): add update method.
9680 * glyphs-msw.c (bmp_normalize):
9681 (mswindows_resource_normalize): add dest_mask so that it can be
9682 proprogated by layout_normalize.
9683 (begin_defer_window_pos): make optional because it may not be the
9684 right thing to do and it introduces differences with X.
9685 (mswindows_unmap_subwindow): ditto.
9686 (mswindows_map_subwindow): ditto.
9687 (mswindows_redisplay_subwindow): renamed from
9688 mswindows_update_subwindow.
9689 (mswindows_redisplay_widget): ditto.
9690 (mswindows_button_redisplay): renamed from
9691 mswindows_button_update. Update is now what the instantiation
9692 function does for a changed instantiator.
9693 (mswindows_progress_gauge_instantiate): set the progress value
9694 here if appropriate.
9695 (mswindows_tab_control_redisplay): cope with re-ordering of the
9696 members of the tab widget by simply selecting the new top
9697 widget. This makes things appear ok if you click on a tab.
9698 (mswindows_combo_box_instantiate): image_instance_layout now takes
9699 position as well as size.
9700 (mswindows_progress_gauge_redisplay): renamed from
9701 mswindows_progress_gauge_update.
9702 (console_type_create_glyphs_mswindows): fix update -> redisplay.
9703 (image_instantiator_format_create_glyphs_mswindows): ditto.
9705 * glyphs-eimage.c (jpeg_normalize):
9708 (tiff_normalize): add dest_mask so that it can be proprogated by
9713 (hash_table_weakness_validate):
9714 (decode_hash_table_weakness):
9715 (Fhash_table_weakness):
9717 (syms_of_elhash): use Ben's naming scheme for hashtable types..
9719 * console.h (struct console_methods): move update_* to
9722 2000-07-20 Ben Wing <ben@xemacs.org>
9724 * *.[ch] (XSETOBJ): remove unused middle argument.
9725 lisp-disunion.h: correct wrap_object() to one argument.
9727 2000-07-15 Ben Wing <ben@xemacs.org>
9730 * s/cygwin32.h (CYGWIN_CONV_PATH):
9731 Add missing logb prototype for v1.1.
9732 Use post-b20 names and alias to pre-b20 names when pre-b20.
9734 * s/windowsnt.h: [5].
9736 2000-07-15 Ben Wing <ben@xemacs.org>
9738 * Makefile.in.in (x_objs):
9739 * Makefile.in.in (sheap_objs):
9740 * Makefile.in.in (objs):
9741 added win32.o, cosmetic cleanups.
9743 * alloc.c (Fmake_byte_code):
9744 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
9745 etc. macros which declare their own args now.
9747 * alloc.c (syms_of_alloc):
9748 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
9751 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
9753 * buffer.c (Fget_file_buffer):
9754 Fixed GCPRO problem.
9756 * buffer.c (get_truename_buffer):
9757 Fixed comment about GC checking.
9759 * buffer.c (syms_of_buffer):
9760 Undeclared those dedicated frame funs.
9764 Define convenience macros for internal/external conversions.
9765 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
9766 and Qenvironment_variable_encoding for cleaner code.
9769 Remove dedicated-frame; in lisp.
9771 * bytecode.c (funcall_compiled_function):
9774 * bytecode.c (syms_of_bytecode):
9778 * console-msw.c (mswindows_show_console): Rewrote.
9780 * console-msw.c (Fmswindows_debugging_output): New.
9781 Sends to OutputDebugString (special MSWin debugger interface).
9783 * console-msw.c (Fmswindows_message_box):
9784 Fixed stupid bugs so it works when called from kill-emacs.
9786 * console-msw.c (syms_of_console_mswindows):
9787 Declare Fmswindows_debugging_output.
9790 New MSWin prototypes.
9792 * console-msw.h (struct mswindows_frame):
9793 New entry last-click-mods for improved button-modifier support.
9795 * console-msw.h (FRAME_MSWINDOWS_POPUP):
9796 New struct entry `popup' with corresponding accessor.
9799 * console-x.c (split_up_display_spec):
9800 * console-x.c (get_display_arg_connection):
9801 * console-x.c (x_semi_canonicalize_console_connection):
9802 * console-x.c (x_canonicalize_device_connection):
9803 [[[6]]]: Change char to more specific type.
9804 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
9806 * console-x.c (x_semi_canonicalize_console_connection):
9807 * console-x.c (x_canonicalize_device_connection):
9808 [[[9]]]: Fix up error signalling to use new structured error system.
9811 [[[4]]]: Define codesys aliases:
9812 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
9813 Qx_color_name_encoding, Qx_display_name_encoding.
9815 * console.h (struct console_methods):
9816 New method make_dialog_box_internal supersedes older
9817 popup_dialog_box method.
9820 Define many new errors, part of new structured errors.
9822 * data.c (init_errors_once_early):
9823 * data.c (syms_of_data):
9826 * device-msw.c (mswindows_init_device):
9827 [[[5]]]: Cleanup to support NT 3.51.
9829 * device-msw.c (decode_devmode): Cleanup.
9831 * device-msw.c (mswindows_handle_print_setup_dialog_box):
9832 * device-msw.c (mswindows_handle_print_dialog_box):
9833 * device-msw.c (mswindows_handle_page_setup_dialog_box):
9834 * device-msw.c (syms_of_device_mswindows):
9835 Delete the dialog box primitives recently introduced by Kirill and
9836 instead interface to general dialog box interface.
9839 * device-x.c (compute_x_app_name):
9840 * device-x.c (x_init_device):
9841 * device-x.c (Fx_valid_keysym_name_p):
9842 * device-x.c (Fx_set_font_path):
9846 * device.h (wrap_device): New.
9847 First of its kind; meant to replace XSETDEVICE.
9849 * dialog-msw.c: Many file-dialog symbols.
9851 * dialog-msw.c (mswindows_register_popup_frame): New.
9852 * dialog-msw.c (mswindows_is_dialog_msg): New.
9853 For supporting kbd traversal in dialog boxes.
9855 * dialog-msw.c (dialog_proc):
9856 Support hitting ESC in dialogs.
9858 * dialog-msw.c (struct):
9859 Common dialog box errors.
9861 * dialog-msw.c (handle_file_dialog_box): New.
9862 Add file dialog code.
9864 * dialog-msw.c (handle_question_dialog_box):
9865 Redo existing code to support new question dialog syntax.
9867 * dialog-msw.c (console_type_create_dialog_mswindows):
9868 We support new dialog console method.
9870 * dialog-msw.c (syms_of_dialog_mswindows):
9871 * dialog-msw.c (vars_of_dialog_mswindows):
9872 New file dialog symbols, vars.
9875 * dialog-x.c (maybe_run_dbox_text_callback):
9876 * dialog-x.c (dbox_descriptor_to_widget_value):
9877 * dialog-x.c (x_make_dialog_box_internal):
9878 * dialog-x.c (console_type_create_dialog_x):
9879 Mule-ize entire file.
9880 Redo to support question dialog syntax.
9884 * dialog.c (Fmake_dialog_box_internal):
9885 * dialog.c (syms_of_dialog):
9886 Kill old popup-dialog-box, replace with new primitive.
9887 Just call device method or signal error.
9889 * eldap.c (Fldap_open):
9890 * eldap.c (Fldap_search_basic):
9891 * eldap.c (Fldap_add):
9892 * eldap.c (Fldap_modify):
9897 * emacs.c (make_arg_list_1):
9898 * emacs.c (make_arg_list):
9899 Mule-ize call to dll_init().
9903 * emacs.c (make_argc_argv):
9904 * emacs.c (free_argc_argv):
9905 * emacs.c (init_cmdargs):
9907 * emacs.c (Fkill_emacs):
9908 * emacs.c (Fdump_emacs):
9909 Update comments about what can be used in syms_* etc.
9910 Call init_win32() when necessary.
9911 Fix up MS Win dialog box in kill-buffer to actually work right.
9922 * eval.c (condition_case_3):
9924 * eval.c (function_argcount):
9925 * eval.c (funcall_lambda):
9928 * eval.c (type_error): New.
9929 * eval.c (maybe_type_error): New.
9930 * eval.c (continuable_type_error): New.
9931 * eval.c (maybe_continuable_type_error): New.
9932 * eval.c (type_error_with_frob): New.
9933 * eval.c (maybe_type_error_with_frob): New.
9934 * eval.c (continuable_type_error_with_frob): New.
9935 * eval.c (maybe_continuable_type_error_with_frob): New.
9936 New functions for use with structured errors.
9939 * event-Xt.c (x_event_to_emacs_event):
9940 Buttons are now modifiers too.
9942 * event-Xt.c (emacs_Xt_current_event_timestamp):
9943 Implement new event method.
9944 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
9947 * event-msw.c (ntpipe_shove_writer): [5].
9948 * event-msw.c (mswindows_enqueue_mouse_button_event):
9949 * event-msw.c (mswindows_drain_windows_queue):
9950 * event-msw.c (mswindows_wnd_proc): [7].
9951 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
9952 * event-msw.c (mswindows_modifier_state):
9953 Throughout: support new button modifiers.
9955 * event-msw.c (emacs_mswindows_current_event_timestamp):
9956 Implement new event method.
9957 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
9960 * event-stream.c (event_stream_current_event_timestamp): New.
9961 * event-stream.c (maybe_kbd_translate): New functionality.
9962 * event-stream.c (vars_of_event_stream):
9963 Document new kbd-translate-table functionality.
9965 * event-stream.c (Fcurrent_event_timestamp): New.
9966 New primitive for use in fabricated events.
9967 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
9969 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
9972 * events.c (Fmake_event):
9973 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
9977 * events.c (format_event_object): fix gcc warnings.
9979 * events.c (Fevent_timestamp): Document new primitives.
9981 * events.c (TIMESTAMP_HALFSPACE): New.
9983 * events.c (Fevent_timestamp_lessp): New. New primitive for
9984 comparing timestamps correctly (half-space algorithm).
9986 * events.c (Fevent_modifier_bits): Doc fix.
9988 * events.c (Fevent_modifiers): Major doc addition.
9989 * events.c (event_x_y_pixel_internal): Typo fix.
9990 * events.c (syms_of_events): Declare new primitives.
9993 Update long comment for button modifiers, timestamps.
9995 * events.h (struct event_stream):
9996 New current_event_timestamp method.
9999 * extents.c (extent_in_region_p):
10000 * extents.c (decode_extent):
10001 * extents.c (Fset_extent_parent):
10002 * extents.c (decode_map_extents_flags):
10006 * extents.c (struct extent_at_arg):
10007 * extents.c (decode_extent_at_flag):
10008 * extents.c (extent_at_mapper):
10009 * extents.c (extent_at_bytind):
10010 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
10011 * extents.c (Fextents_at): New primitive. [9].
10012 * extents.c (symbol_to_glyph_layout): [9].
10013 Support new primitive `extents-at'.
10016 * extents.c (get_text_property_bytind):
10017 extent_at_bytind has another arg.
10020 * extents.c (syms_of_extents): New primitive.
10022 * file-coding.c (Fmake_coding_system): [1].
10023 * file-coding.c (subsidiary_coding_system): fix gcc warning
10024 * file-coding.c (syms_of_file_coding): [2].
10026 * fileio.c (Fexpand_file_name):
10027 * fileio.c (Fsysnetunam):
10028 * fileio.c (Ffile_exists_p):
10029 * fileio.c (Ffile_executable_p):
10030 * fileio.c (Fverify_visited_file_modtime):
10033 * fileio.c (syms_of_fileio): [2].
10035 * filelock.c (lock_file_1):
10036 * filelock.c (current_lock_owner):
10037 * filelock.c (lock_if_free):
10038 * filelock.c (lock_file):
10039 * filelock.c (unlock_file):
10042 * fns.c (concat): Fix gcc warning.
10045 * fns.c (Fold_member):
10047 * fns.c (Fold_memq):
10048 * fns.c (memq_no_quit):
10050 * fns.c (Fold_assoc):
10052 * fns.c (Fold_assq):
10053 * fns.c (assq_no_quit):
10055 * fns.c (Fold_rassoc):
10057 * fns.c (Fold_rassq):
10058 * fns.c (rassq_no_quit):
10060 * fns.c (Fold_delete):
10062 * fns.c (Fold_delq):
10063 * fns.c (delq_no_quit):
10064 * fns.c (Fremassoc):
10065 * fns.c (Fremassq):
10066 * fns.c (remassq_no_quit):
10067 * fns.c (Fremrassoc):
10068 * fns.c (Fremrassq):
10069 * fns.c (remrassq_no_quit):
10070 * fns.c (Freverse):
10074 * frame-msw.c (mswindows_init_frame_1):
10075 * frame-msw.c (mswindows_delete_frame):
10076 Register popups with dialog code so keyboard traversing works.
10078 * frame-tty.c (tty_raise_frame_no_select): [1].
10081 * frame-x.c (x_set_frame_text_value):
10082 * frame-x.c (x_set_frame_properties):
10083 * frame-x.c (x_create_widgets):
10087 * frame.c (Fmouse_pixel_position): Minor doc fixes.
10089 * frame.h (wrap_frame): New.
10090 Macro like wrap_device.
10093 * general.c (SYMBOL):
10094 * general.c (syms_of_general):
10095 Major reorg. This is now just a wrapper and symbols themselves
10096 are listed in general-slots.h.
10098 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
10099 * glyphs-msw.c (mswindows_resource_instantiate): [5].
10101 * glyphs-msw.c (mswindows_native_layout_instantiate):
10102 Add DS_CONTROL so keyboard traversal will work.
10105 * glyphs-widget.c (syms_of_glyphs_widget):
10106 Move some symbols to general-slots.h.
10109 * glyphs-x.c (xbm_instantiate_1):
10110 * glyphs-x.c (x_xbm_instantiate):
10111 * glyphs-x.c (x_xface_instantiate):
10112 * glyphs-x.c (autodetect_instantiate):
10113 * glyphs-x.c (cursor_font_instantiate):
10114 * glyphs-x.c (x_update_widget):
10115 * glyphs-x.c (x_widget_instantiate):
10116 * glyphs.c (bitmap_to_lisp_data):
10117 * glyphs.c (pixmap_to_lisp_data):
10120 * glyphs.c (syms_of_glyphs):
10124 * gui-x.c (print_widget_value):
10125 * gui-x.c (menu_separator_style_and_to_external):
10126 * gui-x.c (add_accel_and_to_external):
10127 * gui-x.c (button_item_to_widget_value):
10128 * gui-x.c (gui_items_to_widget_values_1):
10129 * gui-x.c (gui_items_to_widget_values):
10130 * gui-x.c (syms_of_gui_x):
10131 * gui-x.c (vars_of_gui_x):
10132 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
10136 Muleize, prototype changes matching gui-x.c.
10139 * gui.c (separator_string_p):
10140 * gui.c (gui_item_add_keyval_pair):
10141 * gui.c (make_gui_item_from_keywords_internal):
10142 * gui.c (signal_too_long_error):
10143 * gui.c (parse_gui_item_tree_item):
10144 * gui.c (syms_of_gui):
10145 * gui.c (vars_of_gui):
10147 menu-no-selection-hook moved here (used by MSWin).
10148 Move some symbols to general-slots.h.
10152 * insdel.c (get_buffer_pos_char):
10153 * insdel.c (get_buffer_range_char):
10156 * keymap.c (keymap_lookup_directly):
10157 * keymap.c (keymap_store):
10158 * keymap.c (ensure_meta_prefix_char_keymapp):
10159 * keymap.c (describe_map):
10161 Support new button modifiers.
10163 * lisp-disunion.h (wrap_object):
10164 * lisp-disunion.h (XSETOBJ):
10165 Rename make_obj to wrap_object.
10168 * lisp-union.h (make_int):
10169 * lisp-union.h (make_char):
10170 Support wrap_object.
10173 * lisp.h (LIST_LOOP):
10174 * lisp.h (EXTERNAL_LIST_LOOP):
10175 * lisp.h (LIST_LOOP_2):
10176 * lisp.h (EXTERNAL_LIST_LOOP_1):
10177 * lisp.h (EXTERNAL_LIST_LOOP_2):
10178 * lisp.h (EXTERNAL_LIST_LOOP_3):
10179 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
10180 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10181 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
10182 * lisp.h (EXTERNAL_ALIST_LOOP_5):
10183 * lisp.h (EXTERNAL_ALIST_LOOP_6):
10184 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
10185 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
10186 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
10187 * lisp.h (struct Lisp_Symbol):
10188 * lisp.h (maybe_continuable_error_with_frob):
10189 Fix up section comments.
10190 Add new types for char to indicate usage.
10191 Delete symbols auto-generated from general-slots.h.
10192 Add prototypes for structured error functions.
10193 Add long comments describing looping macros and change interface
10194 so that lvalues are automatically declared.
10195 Add NO_DECLARE macro in case callers want to declare lvalues
10198 * lread.c (read_syntax_error):
10199 * lread.c (continuable_read_syntax_error):
10200 * lread.c (read_structure):
10201 * lread.c (sequence_reader):
10202 * lread.c (read_list_conser):
10203 * lread.c (read_compiled_function):
10204 Rename syntax_error and continuable_syntax_error to avoid clash
10205 with same-named structured error functions.
10207 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10208 * menubar-msw.c (populate_menu_add_item):
10209 * menubar-msw.c (populate_or_checksum_helper):
10214 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10215 Mule-ize whole file.
10217 * menubar.c (Fnormalize_menu_item_name): Add optimization.
10219 * mule-charset.c (Fmake_charset):
10220 * mule-wnnfns.c (Fwnn_set_param):
10223 * ntproc.c (create_child):
10224 * ntproc.c (Fwin32_set_current_locale):
10225 Add comments portending doom.
10228 * objects-msw.c (old_font_enum_callback_2):
10229 * objects-msw.c (font_enum_callback_1):
10230 * objects-msw.c (mswindows_enumerate_fonts):
10234 * objects-x.c (allocate_nearest_color):
10235 * objects-x.c (x_parse_nearest_color):
10236 * objects-x.c (x_initialize_color_instance):
10237 * objects-x.c (x_print_color_instance):
10238 * objects-x.c (x_finalize_color_instance):
10239 * objects-x.c (x_valid_color_name_p):
10240 * objects-x.c (x_initialize_font_instance):
10241 * objects-x.c (x_print_font_instance):
10242 * objects-x.c (valid_x_font_name_p):
10243 * objects-x.c (truename_via_FONT_prop):
10244 * objects-x.c (truename_via_random_props):
10245 * objects-x.c (truename_via_XListFonts):
10246 * objects-x.c (x_font_truename):
10247 * objects-x.c (x_font_instance_truename):
10248 * objects-x.c (x_font_instance_properties):
10249 * objects-x.c (x_list_fonts):
10250 * objects-x.c (x_find_charset_font):
10251 Mule-ize entire file.
10258 * print.c (std_handle_out_external):
10259 * print.c (debug_print_no_newline):
10260 * print.c (syms_of_print):
10261 Output to all debugger kinds in debug-print.
10262 Fix console-output code under MSWin to actually work.
10264 * process-nt.c (send_signal):
10265 * process-nt.c (nt_create_process):
10266 Use newer Unicode macros.
10268 * process-unix.c (unix_create_process):
10269 * process-unix.c (unix_canonicalize_host_name):
10270 * process-unix.c (unix_open_network_stream):
10276 * search.c (syms_of_search):
10279 * select-msw.c (mswindows_destroy_selection):
10282 * select-x.c (symbol_to_x_atom):
10285 * select.c (syms_of_select):
10288 * sound.c (Fplay_sound_file):
10292 * specifier.c (decode_specifier_type):
10293 * specifier.c (Fvalid_specifier_locale_type_p):
10294 * specifier.c (check_valid_locale_or_locale_type):
10295 * specifier.c (decode_locale):
10296 * specifier.c (decode_locale_type):
10297 * specifier.c (decode_locale_list):
10298 * specifier.c (check_valid_domain):
10299 * specifier.c (decode_specifier_tag_set):
10300 * specifier.c (Fcanonicalize_tag_set):
10301 * specifier.c (Fdefine_specifier_tag):
10302 * specifier.c (Fspecifier_tag_predicate):
10303 * specifier.c (check_valid_inst_list):
10304 * specifier.c (check_valid_spec_list):
10305 * specifier.c (decode_how_to_add_specification):
10306 * specifier.c (check_modifiable_specifier):
10307 * specifier.c (specifier_add_spec):
10308 * specifier.c (boolean_validate):
10309 * specifier.c (display_table_validate):
10312 * specifier.c (syms_of_specifier):
10313 Move some symbols to general-slots.h.
10317 * symbols.c (Fmapatoms):
10318 * symbols.c (Fapropos_internal):
10321 * symbols.c (set_default_buffer_slot_variable):
10322 * symbols.c (set_default_console_slot_variable):
10325 * symbols.c (defsymbol_massage_name_1):
10326 * symbols.c (defkeyword_massage_name):
10327 * symbols.c (deferror_1):
10328 * symbols.c (deferror):
10329 * symbols.c (deferror_massage_name_and_message):
10331 * symeval.h (DEFSYMBOL):
10332 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
10334 * symbols.c (syms_of_symbols):
10338 * symsinit.h (init_win32): New.
10339 Also new is syms_of_dialog_mswindows.
10342 Add new Unicode macros, missing Cygwin wide-char functions,
10343 convenience conversion macros for Qmswindows_tstr, macros for
10344 encapsulating required MSWin <-> Cygwin filename conversions,
10345 prototype for dynamically-extracted (not in NT 3.51) functions.
10350 * tooltalk.c (Fadd_tooltalk_message_arg):
10351 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
10352 * tooltalk.c (Fadd_tooltalk_pattern_arg):
10355 * tooltalk.c (syms_of_tooltalk):
10359 * unexnt.c (unexec):
10360 Fix up headers, declaration of unexec() to be more standard.
10362 2000-07-20 Martin Buchholz <martin@xemacs.org>
10364 * offix.h: Revert change to guard macros - they're used in offix.c!
10366 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10368 * lisp.h: Defsubred Fdelete.
10370 * console-msw.h: (msprinter_default_printer): Added.
10372 * console-msw.c (msprinter_canonicalize_console_connection):
10373 (msprinter_canonicalize_device_connection): Added.
10375 * device-msw.c (msprinter_default_printer):
10376 (Fmswingows_get_default_printer):
10377 (signal_enum_priner_error):
10378 (Fmswingows_printer_list): Added.
10380 2000-07-19 Martin Buchholz <martin@xemacs.org>
10382 * XEmacs 21.2.35 is released.
10384 2000-07-19 Martin Buchholz <martin@xemacs.org>
10386 * select-x.c (x_handle_selection_request):
10387 Text selected in xemacs and pasted into xterm failed to appear.
10388 Spelling fixes and cosmetic changes.
10390 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10392 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
10393 XEmacs frame (fix for doubling chars in dialog boxes).
10395 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10397 * select.c (select_convert_in, select_convert_out):
10398 Don't call intern() every time.
10400 * select.c (Qselect_convert_in, Qselect_convert_out): New.
10401 * select.c (vars_of_select): Initialise them.
10403 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10405 * select.c (selection-coercible-types): New.
10407 * select.c (own-selection-internal):
10408 * select.c (get-selection-internal):
10409 MULE bug fix - these should default to COMPOUND_TEXT and not
10410 STRING for MULE. I think.
10412 * select.c (select_convert_out): Use selection-coercible-types
10413 to find types that we can attempt to perform coercions on.
10415 2000-07-18 Martin Buchholz <martin@xemacs.org>
10419 Add coding: cookie to identify encoding.
10421 * mule-canna.c (CANNA_mode_keys): make static.
10422 Use proper prototypes, even for functions of no arguments.
10423 Remove external prototype for Fding().
10425 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
10427 * select.c (syms_of_select): Add missing DEFSUBR.
10429 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10431 * select.c (get_selection_internal, own_selection_internal):
10432 Make the type default to STRING, rather than placing a nil type
10433 into Vselection_alist.
10435 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10437 * gpmevent.c (tty_selection_exists_p):
10438 * gpmevent.c (tty_own_selection):
10439 Updated parameter lists.
10441 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
10443 * select.h (selection-alist): Removed declaration.
10445 * select.h (get_local_selection):
10446 * select.c (get_local_selection):
10449 * select.h (convert_selection): Removed declaration.
10450 * select.c (convert_selection): Removed.
10451 This function belongs in Lisp.
10453 * select.h (select_convert_in): Declare.
10454 * select.h (select_convert_out): Declare.
10455 * select.c (select_convert_in): New.
10456 * select.c (select_convert_out): New.
10457 New conversion functions for other files to call.
10459 * select.h (select_notify_buffer_kill): Declare.
10460 * select.c (select_notify_buffer_kill): New.
10461 New functions that get called from kill-buffer.
10463 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
10464 X-specific lisp code.
10466 * select.h: Declare some of the lisp-visible functions for
10469 * select.c (clean_local_selection_data): Removed. This was
10470 a disgusting function, and previously should have been in
10471 select-x.c in any case. The functionality is now provided
10472 in select-convert-from-integer (select.el).
10474 * select.c (available-selection-types): Fixed stupidity where
10475 INTEGER and ATOM got added twice. Also add STRING when we see an
10478 * select.c (get-selection-internal): Removed symbol stripping. No
10479 longer causes conversion when data comes from the internal cache.
10481 * select.c (syms_of_select): Added new functions.
10483 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
10484 error checking - previously this called abort!
10486 * select-x.c (x_own_selection): Changed comment.
10488 * select-x.c (x_handle_selection_request): Use select_convert_out.
10489 Don't mess with selection-alist; it's an internal variable of select.c.
10491 * select-x.c (x_get_foreign_selection): Use select_convert_in.
10493 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
10494 rather than messing with selection-alist.
10496 * select-msw.c (mswindows_get_foreign_selection):
10497 Use TO_INTERNAL_FORMAT rather than hacking.
10499 2000-07-14 Martin Buchholz <martin@xemacs.org>
10501 * process-unix.c (unix_open_multicast_group):
10502 (unix_open_multicast_group): Remove useless casts.
10504 2000-07-13 Martin Buchholz <martin@xemacs.org>
10506 * sound.c (Fplay_sound): Fix `unused variable' warning.
10508 * emacs.c (main): Use correct type for _environ on SCO5.
10510 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
10512 * console.h (own_selection_method):
10513 * console.h (selection_exists_p_method):
10514 * console.h (available_selection_types_method): New.
10515 * console.h (register_selection_data_type_method): New.
10516 * console.h (selection_data_type_name): New.
10518 * console-msw.h (mswindows_destroy_selection): Declare it. New
10519 function & alist to track GlobalAlloc()'d handles that need
10520 releasing when the clipboard data gets replaced or emptied.
10522 * event-msw.c (mswindows_wnd_proc): Call it.
10524 * lisp.h, general.c (Qappend): New symbol representing a
10527 * select.c (own-selection-internal):
10528 * select.c (selection-exists-p):
10529 * select.c (available-selection-types): New.
10530 * select.c (register-selection-data-type): New.
10531 * select.c (selection-data-type-name): New. New functions to deal
10532 with device-specific selection data formats.
10533 * select.c (selection-converter-out-alist): Renamed.
10534 * select.c (selection-converter-in-alist): New.
10535 * select.c (selection-appender-alist): New. Added new alists.
10536 * select.c (syms_of_select, vars_of_select): Added new symbols &
10538 * select.c (get_local_selection): Split.
10539 * select.c: Removed spurious type checking - selections may now be
10540 of any type, not just strings.
10541 * select.c (own-selection-internal):
10543 * select.h, select.c (convert_selection): New. Created
10544 convert_selection() function based on get_local_selection().
10545 * select.h, select.c (QCF_*): New symbols representing mswindows
10547 * select.h, select.c (Qreplace_all, Qreplace_existing): New
10548 symbols representing `how-to-add' modes.
10550 * select-msw.c (x_sym_p): New.
10551 * select-msw.c (symbol_to_ms_cf): New.
10552 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
10553 symbols & clipboard formats. Can also handle string names.
10554 * select-msw.c (mswindows_own_selection):
10555 * select-msw.c (mswindows_selection_exists_p):
10556 Added `data-type' parameter. Use it.
10557 * select-msw.c (mswindows_available_selection_types): New.
10558 * select-msw.c (mswindows_register_selection_data_type): New.
10559 * select-msw.c (mswindows_selection_data_type_name): New.
10560 * select-msw.c (mswindows_own_selection):
10561 * select-msw.c (mswindows_get_foreign_selection):
10562 * select-msw.c (mswindows_selection_exists_p): Rewrote.
10563 * select-msw.c (console_create_select_mswindows): Added new methods.
10564 * select-msw.c (mswindows_destroy_selection): New.
10565 * select-msw.c (Vhandle_alist): New list.
10566 * select-msw.c (mswindows_own_selection):
10568 * select-x.c (x_own_selection):
10569 * select-x.c (x_selection_exists_p):
10570 * select-x.c: Added some comments about maybe using new
10572 * select-x.c (x_own_selection):
10574 * specifier.c: Remove definition of Qappend (now in general.c)
10575 * specifier.c (syms_of_specifier): Remove Qappend.
10577 2000-07-12 Martin Buchholz <martin@xemacs.org>
10579 * config.h.in: Add socklen_t.
10581 * s/decosf4-0.h: No special compiler flags needed or desired.
10582 In particular, undefine _BSD for DEC OSF 4.0.
10584 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10586 * redisplay-msw.c (msprinter_frame_output_end): Added.
10587 (console_type_create_redisplay_mswindows): Referred the above.
10589 * frame.c (setup_frame_without_minibuffer): Do not create a
10590 default minibuffer frame on a printer device.
10592 * frame-msw.c (apply_dc_geometry): Added.
10593 (msprinter_start_page):
10594 (msprinter_init_frame_3):
10595 (msprinter_eject_page): Use it.
10597 * console-msw.h (struct msprinter_frame): Added pix_left and top,
10598 and removed residual duplex and orientation properties.
10600 2000-07-11 Martin Buchholz <martin@xemacs.org>
10602 * eval.c (function_argcount): Work around a DEC CC compiler bug.
10604 * unexalpha.c: Remove system prototypes from C sources!
10606 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
10608 * eval.c: Remove references to M-x edit-options in DEFUNs for
10609 `defvar' and `defconst'.
10611 2000-07-09 Martin Buchholz <martin@xemacs.org>
10613 * config.h.in: Remove SMART_INCLUDE hackery.
10615 PostgreSQL hacking:
10616 * config.h.in: Don't use SMART_INCLUDE.
10618 * postgresql.h: Include libpq-fe.h here. Fix typo.
10619 * inline.c: Simply #include "postgresql.h"
10621 - Don't use SMART_INCLUDE
10622 - Use simply "const".
10623 - Use standard doc string conventions.
10624 - Use correct type for result of PQstatus.
10626 2000-07-09 Martin Buchholz <martin@xemacs.org>
10628 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
10630 C++ compilation changes.
10631 * config.h.in (EXTERN_C): Define.
10632 * config.h.in (not): This is also a C++ keyword.
10633 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
10634 * cm.c: Use EXTERN_C.
10635 * redisplay-tty.c: Use EXTERN_C.
10636 * sysdep.c: Use EXTERN_C. Remove Gould support.
10638 2000-07-09 Martin Buchholz <martin@xemacs.org>
10640 * general.c: Remove duplicate definition for Qfunction.
10642 2000-07-08 Ben Wing <ben@xemacs.org>
10644 * device-msw.c (msprinter_init_device):
10645 * device-msw.c (sync_printer_with_devmode):
10646 * device-msw.c (handle_devmode_changes):
10647 * device-msw.c (print_dialog_worker):
10648 * device-msw.c (Fmsprinter_apply_settings):
10649 * device-msw.c (hash_devmode):
10650 * device-msw.c (Fmsprinter_settings_despecialize):
10651 use Qmswindows_tstr, not Qctext.
10653 * vm-limit.c (check_memory_limits):
10654 avoid infinite loop printing warning messages.
10656 2000-07-05 Craig Lanning <lanning@scra.org>
10658 * Makefile.in.in: Add support for including the Windows resources
10659 when building with the cygwin and mingw targets.
10661 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
10662 not set or not correct.
10663 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
10664 (init_initial_directory): Don't try to use $PWD on the
10665 WIN32_NATIVE target.
10668 [[Add -mwindows to eliminate console window.]] not required --ben
10669 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10670 (MAIL_USE_POP): removed; now handled by configure.
10672 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
10673 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
10674 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10675 (MAIL_USE_POP): removed; now handled by configure.
10676 (ENCAPSULATE_STAT): from Dan Holmsand, added.
10677 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
10678 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
10680 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
10681 up from <winsock.h> via systime.h.
10682 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
10683 (getpagesize): from Dan Holmsand, added.
10684 Added #endif which was left dangling by Ben's mega patch; added
10685 comment to help prevent this in the future.
10687 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
10689 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10691 * console-msw.h (struct mswindows_device): Removed unnecessary
10692 cached device geometry values.
10693 Added update_tick and an accessor macro.
10694 (Lisp_Devmode): Added lrecord declaration.
10695 (struct msprinter_device): Contain devmode as a Lisp object.
10696 Added mswindows_get_selected_frame_hwnd();
10698 * console.h (struct console_methods): Indentation nitpicking.
10700 * device-msw.c (mswindows_init_device): Do not initialize geometry
10701 cache. Initialize update tick.
10702 (mswindows_device_system_metrics): Ask the device for its geometry.
10703 (global_free_2_maybe):
10704 (devmode_to_hglobal):
10705 (handle_printer_changes):
10706 (ensure_not_printing):
10707 (print_dialog_worker):
10708 (Fmsprinter_print_setup_dialog):
10709 (Fmsprinter_print_dialog):
10710 (plist_get_margin):
10711 (plist_set_margin):
10712 (Fmsprinter_page_setup_dialog): Added functions.
10713 (sync_printer_with_devmode):
10714 (handle_devmode_changes):
10715 (Fmsprinter_get_settings):
10716 (Fmsprinter_select_settings):
10717 (Fmsprinter_apply_settings):
10718 (allocate_devmode):
10719 (Fmsprinter_settings_copy):
10720 (Fmsprinter_settings_despecialize):
10722 (finalize_devmode):
10724 (hash_devmode): Added functions
10725 (syms_of_device_mswindows): Init devmode lrecord class.
10727 * device.h: Added an exfun for find-device.
10729 * event-msw.c (mswindows_wnd_proc): Do not update the cached
10730 geometry; although, recreate the device compatible DC.
10732 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
10733 (msprinter_init_frame_3):
10734 (msprinter_frame_property):
10735 (msprinter_internal_frame_property_p):
10736 (msprinter_frame_properties):
10737 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
10738 print job properties (will move to device settings).
10740 * lisp.h: Added symbols.
10742 * general.c (syms_of_general): Declared them.
10744 * hash.c (string_hash): Added.
10746 * lrecord.h (lrecord_type): Added devmode lrecord type.
10748 2000-07-02 Mike Sperber <mike@xemacs.org>
10750 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
10753 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
10755 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
10758 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
10760 * data.c (Fstring_to_number): Don't recognize floating point if
10763 2000-06-22 Martin Buchholz <martin@xemacs.org>
10765 * glyphs-widget.c (tab_control_query_geometry):
10766 (widget_query_geometry):
10767 (button_query_geometry):
10768 * glyphs.c (text_query_geometry):
10769 Enforce type correctness.
10771 2000-06-18 Martin Buchholz <martin@xemacs.org>
10773 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
10774 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
10776 2000-06-17 Martin Buchholz <martin@xemacs.org>
10778 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
10779 conflicts with gcc's fixincluded version of FOO.h.
10781 * glyphs.h (image_instance_geometry): Remove trailing `,'
10783 2000-06-08 Mike Alexander <mta@arbortext.com>
10785 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
10786 (shove_thread): Don't write the same output twice
10787 (make_ntpipe_output_stream): Increase priority of shove thread
10788 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
10790 (ntpipe_shove_closer): Don't delete the pipe until we're done with
10793 2000-06-12 Ben Wing <ben@xemacs.org>
10795 * s\mingw32.h (sigset):
10796 * s\windowsnt.h (sigset):
10797 rename msw_ to mswindows_ for consistency with general convention.
10799 2000-06-12 Ben Wing <ben@xemacs.org>
10802 * console-msw.c (mswindows_get_console_hwnd):
10803 * console-msw.c (mswindows_ensure_console_allocated):
10804 * console-msw.c (mswindows_hide_console):
10805 * console-msw.c (mswindows_show_console):
10806 * console-msw.c (mswindows_ensure_console_buffered):
10807 * console-msw.c (mswindows_output_console_string):
10808 * console-msw.c (mswindows_windows9x_p):
10810 * device-msw.c (mswindows_get_workspace_coords):
10811 * device-msw.c (mswindows_device_system_metrics):
10812 * dialog-msw.c (mswindows_popup_dialog_box):
10813 * event-msw.c (mswindows_wnd_proc):
10814 * frame-msw.c (mswindows_size_frame_internal):
10815 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10816 * menubar-msw.c (displayable_menu_item):
10817 * menubar-msw.c (mswindows_char_is_accelerator):
10819 * nt.c (mswindows_sigset):
10820 * nt.c (mswindows_sigrelse):
10821 * nt.c (mswindows_sigpause):
10822 * nt.c (mswindows_raise):
10823 * nt.c (timer_proc):
10825 * ntproc.c (find_child_console):
10826 * ntproc.c (sys_kill):
10828 * print.c (std_handle_out_external):
10829 * process-nt.c (find_child_console):
10830 * process-nt.c (send_signal_the_95_way):
10831 * process-nt.c (ensure_console_window_exists):
10832 * process-nt.c (nt_create_process):
10834 rename msw_ to mswindows_ for consistency with general convention.
10838 include nt.h, not syswindows.h.
10840 * nt.c (mswindows_fstat):
10841 * nt.c (mswindows_stat):
10842 prefix mswindows_ instead of attempting to directly override the
10843 library functions. fix declarations.
10846 include syswindows.h. move some sysdep.h stuff here.
10849 include syswindows.h, not <windows.h>.
10857 * sysdep.c (sys_fstat):
10858 * sysdep.c (sys_stat):
10859 call mswindows versions when appropriate.
10862 move mswin decls to nt.h.
10865 add long comment describing appropriate use of the various windows
10868 2000-06-11 Ben Wing <ben@xemacs.org>
10870 * device-x.c: Correct doc string for sixth arg of x-get-resource.
10872 2000-06-10 Ben Wing <ben@xemacs.org>
10874 * Makefile.in.in (release):
10875 Correction to make sure xemacs.exe always dumped when correct.
10879 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
10881 * buffer.c (set_buffer_internal):
10882 [[[[2]]]]: Remove HAVE_FEP code.
10884 * buffer.c (init_initial_directory):
10888 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
10892 * callproc.c (call_process_cleanup):
10893 * callproc.c (Fold_call_process_internal):
10894 * callproc.c (child_setup):
10895 * callproc.c (getenv_internal):
10896 * callproc.c (init_callproc):
10897 * callproc.c (vars_of_callproc):
10898 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
10899 __CYGWIN32__ -> CYGWIN.
10900 DOS_NT -> WIN32_NATIVE.
10901 Remove MSDOS support/references, converting to WIN32_NATIVE
10903 __MINGW32__ -> MINGW.
10904 Fix windows.h includes.
10905 Remove bogus HAVE_NTGUI.
10911 mswindows_message_outputted added for use in allowing startup
10912 errors on the console to be seen.
10914 * console-msw.c (msw_ensure_console_allocated):
10915 * console-msw.c (msw_output_console_string):
10916 * console-msw.c (DHEADER):
10917 * console-msw.c (DOPAQUE_DATA):
10918 * console-msw.c (DEVENT):
10919 * console-msw.c (DCONS):
10920 * console-msw.c (DCONSCDR):
10921 * console-msw.c (DSTRING):
10922 * console-msw.c (DVECTOR):
10923 * console-msw.c (DSYMBOL):
10924 * console-msw.c (DSYMNAME):
10927 * console-stream.c (stream_init_console):
10928 Fix text/binary problems.
10931 * device-msw.c (mswindows_finish_init_device):
10932 * device-msw.c (mswindows_delete_device):
10935 * device.c (handle_asynch_device_change):
10939 * dgif_lib.c (DGifOpenFileName):
10940 * dgif_lib.c (DGifOpenFileHandle):
10941 * dgif_lib.c (DGifGetLine):
10942 * dgif_lib.c (DGifGetPixel):
10943 Added config.h/lisp.h, fix up includes.
10950 * dired.c (file_name_completion):
10951 * dired.c (Ffile_attributes):
10952 * dired.c (syms_of_dired):
10956 * dumper.c (pdump_file_unmap):
10957 * dumper.c (pdump_load):
10961 * editfns.c (Ftemp_directory):
10962 * editfns.c (user_login_name):
10963 * editfns.c (Fuser_real_login_name):
10964 * editfns.c (get_home_directory):
10967 * elhash.c (finish_marking_weak_hash_tables):
10968 [[[[5]]]]: Fix GCC warnings.
10971 * emacs.c (mswindows_handle_hardware_exceptions):
10972 * emacs.c (make_arg_list_1):
10973 * emacs.c (main_1):
10974 * emacs.c (Fkill_emacs):
10975 * emacs.c (Fdump_emacs):
10977 Fix problems with nested crashes, add long comment.
10979 * event-Xt.c (init_event_Xt_late):
10983 * event-msw.c (mswindows_dde_callback):
10984 * event-msw.c (mswindows_handle_sticky_modifiers):
10985 * event-msw.c (mswindows_wnd_proc):
10989 * events.c (character_to_event):
10993 * fileio.c (Ffile_name_directory):
10994 * fileio.c (Ffile_name_nondirectory):
10995 * fileio.c (directory_file_name):
10996 * fileio.c (Fexpand_file_name):
10997 * fileio.c (Fsubstitute_in_file_name):
10998 * fileio.c (Ffile_name_absolute_p):
10999 * fileio.c (check_executable):
11000 * fileio.c (Ffile_readable_p):
11001 * fileio.c (Ffile_accessible_directory_p):
11002 * fileio.c (Ffile_modes):
11003 * fileio.c (Funix_sync):
11004 * fileio.c (vars_of_fileio):
11007 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
11009 Expand getdefdir defn.
11010 Fix bogus rename() comment.
11012 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
11013 to use standard XEmacs include files, e.g. sysfile.h, rather
11014 than system-specific includes.
11020 * frame.c (vars_of_frame):
11024 * getloadavg.c (getloadavg):
11026 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
11027 (We don't use it elsewhere in the code; just add a comment.)
11034 * glyphs-msw.c (mswindows_resource_instantiate):
11037 * glyphs-x.c (x_native_layout_instantiate):
11040 * gui-msw.c (Fmswindows_shell_execute):
11049 * lread.c (locate_file_in_directory_mapper):
11056 * mem-limits.h (get_lim_data):
11068 * nt.c (rva_to_section):
11069 * nt.c (mswindows_executable_type):
11071 Fix closedir() defn.
11074 [[[[8]]]]: *_OK defs moved to sysfile.h.
11083 * print.c (std_handle_out_external):
11087 * process-nt.c (nt_create_process):
11089 try to fix process quoting somewhat.
11091 * process-unix.c (unix_create_process):
11095 * process.c (vars_of_process):
11102 * realpath.c (xrealpath):
11105 * redisplay-tty.c (init_tty_for_redisplay):
11115 * sheap.c (more_static_core):
11116 * sheap.c (report_sheap_usage):
11120 * signal.c (alarm_signal):
11127 * strftime.c (zone_name):
11130 * symsinit.h (init_sunpro):
11134 commctrl.h not in Cygwin b20.1.
11137 * sysdep.c (endif):
11138 * sysdep.c (sys_subshell):
11139 * sysdep.c (init_baud_rate):
11140 * sysdep.c (emacs_get_tty):
11141 * sysdep.c (emacs_set_tty):
11142 * sysdep.c (tty_init_sys_modes_on_device):
11143 * sysdep.c (init_system_name):
11144 * sysdep.c (sys_open):
11145 * sysdep.c (interruptible_open):
11146 * sysdep.c (sys_fopen):
11147 * sysdep.c (sys_mkdir):
11148 * sysdep.c (sys_rename):
11149 * sysdep.c (get_process_times_1):
11156 * sysdir.h (DIRENTRY_NONEMPTY):
11159 * sysdll.c (dll_init):
11165 added text/binary defs.
11171 * sysproc.h (EDESTADDRREQ):
11172 * sysproc.h (poll_fds_for_input):
11189 Always define WIN32_LEAN_AND_MEAN.
11191 * unexcw.c (unexec):
11195 * unexec.c (copy_text_and_data):
11196 * unexec.c (adjust_lnnoptrs):
11200 * unexnt.c (_start):
11203 2000-06-07 Ben Wing <ben@xemacs.org>
11205 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
11206 was used only as a model. We've long since extracted any useful
11207 logic or code out of this. (I just did an exhaustive search.)
11209 * s\msdos.h: Removed.
11211 * s\windows95.h: Removed.
11213 2000-06-10 Ben Wing <ben@xemacs.org>
11217 Don't use extern with fun defs.
11221 Remove nt\inc include.
11222 Remove getdisk, getdefdir. (The former is unused, the latter
11223 expanded in fileio.h.)
11226 * s\windowsnt.h (WIN32_NATIVE):
11227 * s\windowsnt.h (HAVE_STRCASECMP):
11229 Add long comment about preprocessor changes.
11230 Remove getdisk, getdefdir. (The former is unused, the latter
11231 expanded in fileio.h.)
11233 2000-06-10 Ben Wing <ben@xemacs.org>
11242 Remove bogus/unused NO_SOCK_SIGIO.
11244 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
11246 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
11249 2000-06-04 Mike Sperber <mike@xemacs.org>
11251 * casetab.c (set_case_table): For `set-standard-case-table',
11252 actually deposit the new case tables where the rest of XEmacs can
11255 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
11257 * data.c (Faset): Don't cast XCHAR() to unsigned char.
11259 2000-06-05 Ben Wing <ben@xemacs.org>
11261 * callproc.c (child_setup): Don't do close_load_descs() under
11262 MS Windows. Put in a comment explaining why.
11264 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
11266 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
11267 Toolkit shell" which breaks `kill-compilation' on Windows NT
11268 native, retaining STDERR handling improvements.
11270 2000-06-01 Andreas Jaeger <aj@suse.de>
11272 * s/s390.h: Support for S390, based on a patch by Martin
11273 Schwidefsky <schwidefsky@de.ibm.com>.
11275 2000-05-30 Andy Piper <andy@xemacs.org>
11277 * window.c (allocate_window):
11278 (make_dummy_parent):
11279 (Fset_window_configuration): use new hashtable type.
11281 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
11282 (struct image_instantiator_methods):
11283 (struct Lisp_Image_Instance): make instance geometry signed.
11285 * glyphs.c (instantiate_image_instantiator):
11286 (image_instance_query_geometry):
11287 (image_instance_layout):
11288 (image_instance_layout):
11289 (query_string_geometry):
11290 (text_query_geometry):
11291 (image_instantiate):
11292 (image_instantiate):
11293 (cache_subwindow_instance_in_frame_maybe):
11294 (subwindow_query_geometry): make instance geometry signed.
11296 * glyphs-widget.c (widget_query_geometry):
11298 (button_query_geometry):
11299 (tree_view_query_geometry):
11300 (tab_control_query_geometry):
11301 (layout_query_geometry):
11303 (native_layout_layout): make instance geometry signed.
11305 2000-05-29 Olivier Galibert <galibert@pobox.com>
11307 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
11310 * general.c (syms_of_general): Add Qfull_assoc symbol.
11312 * data.c (finish_marking_weak_lists): Mark full-assoc lists
11314 (decode_weak_list_type): Decode full-assoc type.
11315 (encode_weak_list_type): Encode full-assoc type.
11316 (Fmake_weak_list): Update doc string.
11318 2000-05-30 Andy Piper <andy@xemacs.org>
11320 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
11322 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
11323 (decode_hash_table_weakness): ditto.
11324 (Fhash_table_weakness): ditto.
11325 (Fhash_table_type): ditto.
11326 (finish_marking_weak_hash_tables): ditto.
11327 (hash_table_weakness_validate): ditto.
11328 (syms_of_elhash): ditto.
11330 2000-05-28 Martin Buchholz <martin@xemacs.org>
11332 * XEmacs 21.2.34 is released.
11334 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11336 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
11338 (updating_line_start_cache): Gone.
11339 (regenerate_window): Replace resetting of VERTICAL_CLIP by
11340 generic code to force a minimum of 1 line laid out in the
11343 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11345 * glyphs.c (instantiate_image_instantiator): Check for initialized
11346 height & width no longer special cases IMAGE_NOTHING.
11347 (nothing_instantiate): Set height and width of instance.
11349 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
11351 * unexelf.c (unexec): Search for ".data" section.
11352 Initialize new_data2_offset from old_data_index.
11353 Remove redundant check for ElfW.
11355 2000-05-23 Andy Piper <andy@xemacs.org>
11357 * glyphs.c (get_image_instantiator_governing_domain): allow more
11358 specific domains as the governing domain rather than expecting an
11359 exact match. This fixes problems with layouts.
11361 2000-05-22 Andy Piper <andy@xemacs.org>
11363 * redisplay-output.c (compare_runes): check for non-images
11365 * glyphs.c (set_glyph_dirty_p): ditto.
11366 (update_glyph_cachel_data): ditto.
11368 * glyphs-widget.c (layout_post_instantiate): ditto.
11369 (layout_post_instantiate): ditto.
11371 * event-msw.c (mswindows_wnd_proc): warning removal.
11373 2000-05-12 Craig Lanning <CraigL@DyCon.com>
11375 * s\mingw32.h: Added #undef for CLASH_DETECTION.
11377 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
11379 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
11381 * nt.c (rva_to_section): mingw32 needs rva_to_section.
11382 (mswindows_executable_type): mingw32 now has enough headers for
11385 2000-05-20 Andy Piper <andy@xemacs.org>
11387 * console-msw.c (mswindows_output_last_error): ; -> ,
11389 2000-05-12 Andy Piper <andy@xemacs.org>
11391 * console-msw.c (FROB): compare ints with ints.
11393 2000-05-11 Andy Piper <andy@xemacs.org>
11395 * glyphs-x.c (x_finalize_image_instance): make minimal build
11398 2000-05-20 Ben Wing <ben@xemacs.org>
11401 * event-Xt.c (vars_of_event_Xt):
11402 move modifier-keys-are-sticky to event-stream.c.
11405 * event-msw.c (mswindows_enqueue_mouse_button_event):
11406 * event-msw.c (key_needs_default_processing_p):
11407 * event-msw.c (XEMSW_LCONTROL):
11408 * event-msw.c (mswindows_handle_sticky_modifiers):
11409 * event-msw.c (FROB):
11410 * event-msw.c (clear_sticky_modifiers):
11411 * event-msw.c (output_modifier_keyboard_state):
11412 * event-msw.c (output_alt_keyboard_state):
11413 * event-msw.c (mswindows_wnd_proc):
11414 * event-msw.c (mswindows_modifier_state):
11415 * event-msw.c (emacs_mswindows_handle_magic_event):
11416 implement sticky modifiers.
11419 * event-stream.c (vars_of_event_stream):
11420 move modifier-keys-are-sticky here.
11423 add CHECK_FUNCTION.
11426 implement map-range-table.
11429 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
11431 * redisplay-tty.c (reset_tty_modes):
11432 (tty_redisplay_shutdown): Adjust argument type to
11433 tty_frame_output_end.
11435 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11437 * eval.c (Fbacktrace): Don't output a line with only right
11440 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
11442 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
11443 (Fpq_reset_poll): Ditto.
11445 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
11447 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
11449 2000-05-16 Ben Wing <ben@xemacs.org>
11452 * buffer.c (dfc_convert_to/from_internal_format):
11453 * buffer.c (reinit_vars_of_buffer):
11454 Fix conversion functions to allow reentrancy.
11457 * console-msw.c (mswindows_output_last_error):
11458 New fun, generally useful -- output a human-readable
11459 version of GetLastError() on the console.
11462 * console-msw.h (struct mswindows_frame):
11463 Changes for DeferWindowPos. Declare mswindows_output_last_error().
11465 * console-stream.c (stream_output_begin):
11466 * console-stream.c (stream_output_end):
11467 * console-stream.c (stream_output_vertical_divider):
11468 * console-stream.c (stream_clear_region):
11469 * console-stream.c (stream_flash):
11470 * console-stream.c (console_type_create_stream):
11471 Delete blank stream methods, not needed.
11473 * console.h (struct console_methods):
11474 Split begin/end methods into window and frame.
11477 * event-msw.c (mswindows_handle_paint):
11478 * event-msw.c (output_alt_keyboard_state):
11479 * event-msw.c (mswindows_wnd_proc):
11480 * event-msw.c (vars_of_event_mswindows):
11481 Comment about problems with ignored-expose.
11482 Define mswindows-debug-events; not really implemented.
11484 * frame-msw.c (mswindows_init_frame_1):
11488 * glyphs-msw.c (begin_defer_window_pos):
11489 * glyphs-msw.c (mswindows_unmap_subwindow):
11490 * glyphs-msw.c (mswindows_map_subwindow):
11491 * glyphs-msw.c (mswindows_resize_subwindow):
11492 Use DeferWindowPos to reduce flashing when mapping/unmapping.
11494 * glyphs.c (make_image_instance_1):
11497 * gutter.c (Fredisplay_gutter_area):
11498 Use new begin/end methods.
11500 * lisp.h (Dynarr_new2):
11504 * redisplay-msw.c (mswindows_frame_output_begin):
11505 * redisplay-msw.c (mswindows_frame_output_end):
11506 * redisplay-msw.c (console_type_create_redisplay_mswindows):
11507 New begin/end methods -- handle DeferWindowPos.
11509 * redisplay-output.c (redisplay_move_cursor):
11510 * redisplay-output.c (redraw_cursor_in_window):
11511 * redisplay-output.c (redisplay_update_line):
11512 * redisplay-output.c (redisplay_output_window):
11513 New begin/end methods.
11516 * redisplay-tty.c (tty_frame_output_begin):
11517 * redisplay-tty.c (tty_frame_output_end):
11518 * redisplay-tty.c (console_type_create_redisplay_tty):
11519 New begin/end methods.
11522 * redisplay-x.c (x_window_output_begin):
11523 * redisplay-x.c (x_window_output_end):
11524 * redisplay-x.c (console_type_create_redisplay_x):
11525 New begin/end methods.
11527 * redisplay.c (redisplay_frame):
11528 * redisplay.c (Fredisplay_echo_area):
11529 New begin/end methods.
11530 use MAYBE_DEVMETH for clear_frame; it may not exist.
11532 * window.h (WINDOW_XFRAME):
11533 WINDOW_XFOO macros -- get locale and decode struct pointer.
11536 2000-05-12 Ben Wing <ben@xemacs.org>
11539 * emacs.c (ensure_no_quitting_from_now_on):
11540 * emacs.c (fatal_error_signal):
11541 * emacs.c (mswindows_handle_hardware_exceptions):
11543 * emacs.c (Fkill_emacs):
11544 * emacs.c (shut_down_emacs):
11545 * emacs.c (assert_failed):
11546 various improvements in fatal error handling.
11549 move preparing_for_armageddon to emacs.c.
11552 declare fatal_error_in_progress.
11555 * print.c (std_handle_out_external):
11556 * print.c (std_handle_out_va):
11557 * print.c (stderr_out):
11558 * print.c (stdout_out):
11559 use console under mswin when no standard output.
11560 don't do code conversion during fatal error.
11562 * scrollbar.c (Fscrollbar_page_up):
11563 * scrollbar.c (Fscrollbar_page_down):
11564 fix missing else. reindent.
11566 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
11570 * glyphs.h (GLYPH_CACHEL_DESCENT):
11571 (GLYPH_CACHEL_DESCENT):
11572 (GLYPH_CACHEL_DESCENT):
11573 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
11574 used in case these are inline functions.
11575 Use more absurd values to error check.
11577 include window.h for error check functions.
11579 2000-05-11 Ben Wing <ben@xemacs.org>
11581 * cmdloop.c (Freally_early_error_handler):
11582 Display message box under windows; otherwise, message will disappear
11583 before it can be viewed.
11586 * console-msw.c (Fmswindows_message_box):
11587 * console-msw.c (FROB):
11588 * console-msw.c (syms_of_console_mswindows):
11589 Define new fun `mswindows-message-box'.
11590 #### I will merge this into `popup-dialog-box'; just give me
11594 * general.c (syms_of_general):
11595 Some new symbols used in `mswindows-message-box'.
11598 * glyphs.c (Fset_image_instance_property):
11599 put warning in this fun.
11602 * glyphs.h (GLYPH_CACHEL_WIDTH):
11603 * glyphs.h (GLYPH_CACHEL_ASCENT):
11604 * glyphs.h (GLYPH_CACHEL):
11605 * glyphs.h (GLYPH_CACHEL_GLYPH):
11606 define error-checking versions to try to catch a bug i've seen --
11607 redisplay gets in an infinite loop because the glyph width of the
11608 continuation glyph is 65535.
11611 Extern message-box stuff.
11613 * window.c (allocate_window):
11614 * window.c (make_dummy_parent):
11615 * window.c (Fset_window_configuration):
11616 Use EQUAL not EQ for subwindow caches to make them work a bit
11617 better. (Something is still very broken.)
11620 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11622 * glyphs.c (image_instantiate): Suppress gcc warnings.
11623 (Fmake_image_instance): Fix doc string.
11624 * specifier.c (Fmake_specifier): Ditto.
11626 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
11628 * paths.h.in (PATH_LOCK): Removed.
11629 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
11630 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
11632 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
11634 * fns.c (Ffeaturep): Update e-mail address in doc-string.
11635 Document (featurep '(and xemacs 21.02)).
11637 2000-05-09 Ben Wing <ben@xemacs.org>
11639 * buffer.c (complex_vars_of_buffer):
11640 update modeline-format doc.
11643 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
11646 timeline of all released versions of Emacs, for use in creating
11647 authorship comments and in synching up.
11649 * glyphs-widget.c (image_instantiator_buttons):
11650 * glyphs-widget.c (image_instantiator_edit_fields):
11651 * glyphs-widget.c (image_instantiator_combo_box):
11652 * glyphs-widget.c (image_instantiator_scrollbar):
11653 * glyphs-widget.c (image_instantiator_progress_guage):
11654 * glyphs-widget.c (image_instantiator_tree_view):
11655 * glyphs-widget.c (image_instantiator_tab_control):
11656 * glyphs-widget.c (image_instantiator_labels):
11657 * glyphs-widget.c (image_instantiator_layout):
11658 * glyphs-widget.c (image_instantiator_native_layout):
11659 rename decode_domain method to governing_domain.
11662 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
11663 * glyphs.c (add_entry_to_device_ii_format_list):
11664 make sure we don't put an entry more than once into the list.
11665 * glyphs.c (check_instance_cache_mapper):
11666 *************************************************************
11667 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
11669 *************************************************************
11670 * glyphs.c (get_image_instantiator_governing_domain):
11671 clean up, expand on new concept of governing domain.
11672 * glyphs.c (instantiate_image_instantiator):
11673 * glyphs.c (allocate_image_instance):
11674 use governing_domain instead of cache_domain in naming.
11675 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
11676 * glyphs.c (make_image_instance_1):
11677 * glyphs.c (Fmake_image_instance):
11678 allow for any domain (not just device), and process the
11679 governing domain correctly. very big doc fix.
11680 * glyphs.c (Fimage_instance_domain):
11681 new primitive, to retrieve the governing domain of an image instance.
11682 * glyphs.c (image_instantiate):
11683 use new governing_domain stuff. this fixes a crash you could get
11684 by instantiating certain widget glyphs in frame locales. (should
11685 signal an error instead of crashing.)
11686 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
11687 * glyphs.c (Fglyphp): clean up doc.
11688 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
11689 * glyphs.c (syms_of_glyphs):
11690 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
11691 * glyphs.c (image_instantiator_format_create): add some comments about
11693 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
11694 for current-display-table. (Apparently Hrjove implemented in 1998 a
11695 design I wrote up in 1996, but didn't update the doc string.)
11697 * glyphs.h: clean up a doc string.
11698 * glyphs.h (governing_domain):
11699 * glyphs.h (struct image_instantiator_methods):
11700 changes for governing_domain stuff.
11703 * gutter.c (Fgutter_specifier_p):
11704 * gutter.c (Fgutter_size_specifier_p):
11705 * gutter.c (Fgutter_visible_specifier_p):
11707 * objects.c (Fcolor_specifier_p):
11708 * objects.c (Ffont_specifier_p):
11709 * objects.c (Fface_boolean_specifier_p):
11710 doc strings moved to make-*-specifier.
11712 * redisplay.c (add_disp_table_entry_runes_1):
11713 * redisplay.c (generate_fstring_runes):
11714 * redisplay.c (screen):
11715 add random comments and doc strings.
11718 * specifier.c (Fmake_specifier):
11719 major overhaul of this doc string.
11721 * specifier.c (Fvalid_specifier_domain_p):
11722 comment about the bogosity of image instances being domains.
11723 * specifier.c (decode_domain):
11724 now non-static, used in glyphs.c.
11725 * specifier.c (specifier_instance):
11726 comment about the bogosity of image instances being domains.
11727 * specifier.c (Fgeneric_specifier_p):
11728 move doc string to make-generic-specifier.
11729 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
11733 * specifier.h (DOMAIN_FRAME):
11734 * specifier.h (DOMAIN_LIVE_P):
11735 * specifier.h (DOMAIN_XDEVICE):
11737 add comments about problems with these macros.
11738 prototype for decode_domain.
11741 * toolbar.c (Ftoolbar_specifier_p):
11742 move doc string to `make-toolbar-specifier'.
11744 * window.c (window_unmap_subwindows_cache_mapper):
11745 *************************************************************
11746 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
11748 *************************************************************
11750 2000-05-09 Andy Piper <andy@xemacs.org>
11752 * glyphs.h: declare reset_frame_subwindow_instance_cache.
11754 * window.c (Fset_window_configuration): reset the frame subwindow
11755 cache and re-initialize the window subwindow caches.
11757 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
11759 2000-05-09 Ben Wing <ben@xemacs.org>
11761 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
11764 2000-04-26 Mike Woolley <mike@bulsara.com>
11766 * ntheap.c: Changed recreate_heap to limit the amount reserved
11767 for the heap to that which is actually available. Also now
11768 displays a message box (with some dignostics) in the event that
11769 it still can't start.
11771 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11773 * callproc.c (Fold_call_process_internal): GCPRO path
11775 2000-05-08 Jan Vroonhof <jan@xemacs.org>
11777 Patch by Bill Perry.
11779 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
11780 back data instead of #ifdef.
11781 (Fscrollbar_page_down): ditto.
11783 2000-05-07 Ben Wing <ben@xemacs.org>
11786 Kludge for defining Qmswindows_tstr.
11789 * nt.c (open_input_file):
11790 * nt.c (open_output_file):
11791 * nt.c (rva_to_section):
11792 * nt.c (mswindows_executable_type):
11793 Move all memory-mapped-file routines here (some were in unexnt.c,
11794 which is bad because they are used by process-nt.c, and unexnt
11795 won't be around when portable dumping). Synched the above routines
11799 Removed ifdef'd out bogus code.
11800 Fixed some prototypes.
11802 * nt.h (file_data):
11803 * nt.h (OFFSET_TO_RVA):
11804 * nt.h (RVA_TO_OFFSET):
11805 * nt.h (RVA_TO_PTR):
11806 Moved the memory-mapped-file structures, macros and prototypes
11807 here, to parallel nt.c. ntheap.h should really be removed
11808 entirely, and it's a non-portable-dumper specific file.
11810 * ntheap.h (round_to_next):
11811 Moved the memory-mapped-file structures, macros and prototypes
11814 * ntproc.c (compare_env):
11815 Moved rva_to_section and mswindows_executable_type to nt.c.
11816 Moved compare_env to process-nt.c.
11817 ntproc.c will die, one day.
11819 * ntproc.c (sys_spawnve):
11820 Account for win32_ -> mswindows_.
11823 * process-nt.c (struct nt_process_data):
11824 * process-nt.c (ensure_console_window_exists):
11825 * process-nt.c (compare_env):
11826 * process-nt.c (nt_create_process):
11827 * process-nt.c (nt_kill_process_by_pid):
11828 * process-nt.c (syms_of_process_nt):
11829 * process-nt.c (vars_of_process_nt):
11830 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
11831 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
11832 changes). Eliminate our old `nt-quote-process-args' mechanism.
11833 Synch up nt_create_process with FSF 20.6 sys_spawnve.
11834 Move compare_env here from ntproc.c.
11836 * process.c (Fprocess_send_region):
11837 Takes an optional fourth argument, BUFFER, which should fix some
11838 problems with call-process.
11841 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
11844 Move ICC_BAR_CLASSES to syscommctrl.h.
11845 Add preliminary macros for MSWindows/Mule. More to come.
11848 * unexnt.c (unexec):
11849 open_output_file moved to nt.c.
11852 2000-05-05 Andy Piper <andy@xemacs.org>
11854 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
11855 instance from the frame cache also since GC may catch up too late
11856 to make frame deletion sane.
11858 2000-05-04 Andy Piper <andy@xemacs.org>
11860 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
11861 (x_finalize_image_instance): ungcpro on deletion.
11863 * glyphs.c (image_instantiator_format_create): give pointers a
11864 query geometry method so that the geometry is at least set.
11866 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
11867 initialize layouts if using widgets.
11869 2000-05-03 Andy Piper <andy@xemacs.org>
11871 * nt.c: remove bogus reference to sysmmsystem.h
11873 * gui-x.c (popup_selection_callback): fix no selection abort.
11875 2000-05-02 Andy Piper <andy@xemacs.org>
11877 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
11878 (mswindows_widget_instantiate): ditto.
11880 * glyphs-widget.c (initialize_widget_image_instance): initialize
11881 children correctly.
11882 (widget_instantiate): cope with children and items in the same
11885 * glyphs.c (mark_image_instance): cope with children as a first
11887 (image_instance_equal): ditto.
11888 (image_instance_hash): ditto.
11889 (image_instance_changed): ditto.
11891 2000-04-30 Andy Piper <andy@xemacs.org>
11893 * glyphs.c (subwindow_query_geometry): new function. Return some
11895 (subwindow_instantiate): don't assign dimensions if none have been
11897 (image_instantiator_format_create): add subwindow_query_geometry.
11898 (print_image_instance): cope with layouts as widgets.
11900 2000-04-29 Andy Piper <andy@xemacs.org>
11902 * frame.c (delete_frame_internal): call
11903 free_frame_subwindow_instance_cache so that all subwindows are
11904 finalized before their parent.
11905 (mark_frame): remove subwindow_cachels.
11906 (Fmake_frame): remove subwindow_cachel manipulation.
11907 (allocate_frame_core): subwindow_instance_cache is a weak list.
11908 (delete_frame_internal): set subwindow_instance_cache to nil.
11910 * glyphs-msw.c (mswindows_finalize_image_instance): make double
11912 (mswindows_finalize_image_instance): use the device
11913 not the domain as the domain may have died already.
11915 * glyphs-x.c (x_finalize_image_instance): ditto.
11916 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
11919 * redisplay-output.c (redisplay_unmap_subwindows): update for
11920 subwindow instance cache as a weak list.
11921 (redisplay_unmap_subwindows_maybe): ditto.
11922 (redisplay_unmap_subwindows_except_us): ditto.
11924 * glyphs.c (unmap_subwindow): error checking will check the domain
11925 so don't deal with it here. Don't use cachels anymore.
11926 (map_subwindow): ditto.
11927 (update_subwindow_cachel_data): remove old accessor names.
11928 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
11929 (Fresize_subwindow): don't update cachel.
11930 (mark_subwindow_cachels):
11931 (update_subwindow_cachel_data):
11932 (add_subwindow_cachel):
11933 (get_subwindow_cachel_index):
11934 (update_subwindow_cachel):
11935 (reset_subwindow_cachels):
11936 (mark_subwindow_cachels_as_not_updated): deleted.
11937 (cache_subwindow_instance_in_frame_maybe): new function. Add a
11938 subwindow instance to the frame cache.
11939 (find_matching_subwindow): update for subwindow instance cache as
11941 (update_widget_instances): ditto.
11942 (image_instance_type_to_mask):inlined.
11943 (free_frame_subwindow_instance_cache): new function. finalize all
11944 subwindows that are instantiated.
11946 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
11947 of cachel information.
11948 (IMAGE_INSTANCE_DISPLAY_X):
11949 (IMAGE_INSTANCE_DISPLAY_Y):
11950 (IMAGE_INSTANCE_DISPLAY_WIDTH):
11951 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
11952 (XIMAGE_INSTANCE_DISPLAY_X):
11953 (XIMAGE_INSTANCE_DISPLAY_Y):
11954 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
11955 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
11956 remove subwindow_cachel structure and function references.
11957 (image_instance_type_to_mask): inline from glyphs.c
11959 * redisplay.c (redisplay_frame): remove subwindow_cachel
11962 * frame.h (struct frame): remove subwindow_cachels.
11963 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
11965 * frameslots.h: add subwindow_instance_cache.
11967 * window.c (replace_window): check subwindow cache of replacement.
11968 (window_unmap_subwindows_cache_mapper):
11969 (window_unmap_subwindows): new functions. Unmap all subwindows
11970 cached on this window.
11971 (mark_window_as_deleted): unmap all subwindows.
11973 2000-04-27 Andy Piper <andy@xemacs.org>
11975 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
11977 * glyphs-widget.c (widget_layout): return something.
11978 (layout_layout): return something. Fail if not initialized.
11979 (layout_query_geometry): ditto.
11980 (image_instantiator_native_layout): new function. Initialized the
11981 native layout type.
11982 (widget_instantiate): don't do layout stuff here.
11984 * glyphs.c (instantiate_image_instantiator): reorded calling or
11985 instantiate and post_instantiate with layout in between.
11986 (image_instance_layout): be more selective about deciding whether
11987 the layout has been done or not.
11989 * glyphs.h (struct image_instantiator_methods): return a value
11990 from layout_method.
11992 2000-04-26 Andy Piper <andy@xemacs.org>
11994 * glyphs.c (allocate_image_instance): make initial width and
11995 height unspecified. Set initialized to 0.
11997 * syscommctrl.h new file. Encapsulates commctrl.h.
11999 * syswindows.h new file. Encapsulates windows.h.
12001 * ntplay.c: use new syswindows.h and syscommctrl.h header.
12003 * console-msw.h: ditto.
12005 * redisplay-tty.c (tty_output_display_block): remove layout references.
12007 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
12008 window handle rather than just the frame.
12010 * glyphs.c (mark_image_instance): remove layout references.
12011 (print_image_instance): ditto.
12012 (image_instance_equal): ditto.
12013 (image_instance_hash): ditto.
12014 (decode_image_instance_type): ditto.
12015 (encode_image_instance_type): ditto.
12016 (image_instantiate): ditto.
12017 (allocate_glyph): ditto.
12018 (Fimage_instance_height): ditto.
12019 (Fimage_instance_width): ditto.
12020 (update_subwindow): ditto.
12022 * redisplay-x.c (x_output_display_block): recode for layouts as
12025 * redisplay-output.c (redisplay_output_layout): recode for layouts
12027 (compare_runes): remove layout references.
12029 * redisplay-msw.c (mswindows_output_display_block): recode for
12030 layouts as widgets.
12032 * glyphs-widget.c (image_instantiator_layout): remove
12033 layout_possible_dest_types.
12034 (layout_possible_dest_types): deleted.
12036 * glyphs.h (image_instance_type): remove layout references.
12037 (struct Lisp_Image_Instance): ditto. Add initialized flag.
12038 (IMAGE_INSTANCE_INITIALIZED): new accessor.
12039 (XIMAGE_INSTANCE_INITIALIZED): ditto.
12041 2000-04-25 Andy Piper <andy@xemacs.org>
12043 * glyphs-widget.c (image_instantiator_buttons):
12044 (image_instantiator_edit_fields):
12045 (image_instantiator_combo_box):
12046 (image_instantiator_scrollbar):
12047 (image_instantiator_progress_guage):
12048 (image_instantiator_tree_view):
12049 (image_instantiator_tab_control):
12050 (image_instantiator_labels):
12051 (image_instantiator_layout): call default post_instantiate method.
12052 (widget_post_instantiate): new function. Simply lays out the
12055 * glyphs.h (struct image_instantiator_methods): add
12056 post_instantiate method.
12058 * glyphs.c (instantiate_image_instantiator): add post_instantiate
12061 2000-04-23 Andy Piper <andy@xemacs.org>
12063 * glyphs.h (struct image_instantiator_methods): add
12064 decode_domain_method.
12065 (struct Lisp_Image_Instance): remove subwindow frame - it can be
12066 derived from the domain.
12067 (IMAGE_INSTANCE_FRAME): new accessor.
12068 (XIMAGE_INSTANCE_FRAME): ditto.
12070 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
12071 instead of _SUBWINDOW_FRAME.
12072 (finalize_image_instance): ditto.
12073 (Fimage_instance_foreground): ditto.
12074 (Fimage_instance_background): ditto.
12075 (image_instantiate): ditto.
12076 (update_subwindow_cachel): ditto.
12077 (update_subwindow): ditto.
12078 (unmap_subwindow): ditto.
12079 (map_subwindow): ditto
12080 (subwindow_instantiate): ditto.
12081 * glyphs-msw.c (mswindows_update_widget): ditto.
12082 (mswindows_progress_gauge_instantiate): ditto.
12083 (mswindows_tab_control_update): ditto.
12084 * glyphs-x.c (x_update_widget): ditto.
12085 (x_widget_instantiate): ditto.
12086 (x_tab_control_instantiate): ditto.
12087 (x_tab_control_update): ditto.
12088 * event-msw.c (mswindows_wnd_proc): ditto
12090 * glyphs-widget.c (image_instantiator_layout): use
12091 subwindow_decode_domain.
12092 (image_instantiator_buttons): ditto.
12093 (image_instantiator_edit_fields): ditto.
12094 (image_instantiator_combo_box): ditto.
12095 (image_instantiator_scrollbar): ditto.
12096 (image_instantiator_progress_guage): ditto.
12097 (image_instantiator_tree_view): ditto.
12098 (image_instantiator_tab_control): ditto.
12099 (image_instantiator_labels): ditto.
12100 (image_instantiator_layout): ditto.
12102 * glyphs.c: add instance error checking to many functions.
12103 (instantiate_image_instantiator): decode device from cache_domain.
12104 (image_instantiate): partially rewrite by using
12105 decode_image_instantiator_domain to determine what domain the
12106 instance needs to be cached in.
12107 (decode_image_instantiator_domain): new function. Determine what
12108 domain the image needs to be cached in.
12109 (check_window_subwindow_cache): new error checking function.
12110 (check_instance_cache_mapper): ditto.
12111 (check_image_instance_structure): ditto.
12112 (subwindow_decode_domain): new function. Encodes a window as a
12113 subwindow's cache domain.
12114 (image_instantiator_format_create): use it for text and
12117 2000-04-21 Andy Piper <andy@xemacs.org>
12119 * glyphs.c (image_instance_device): new function.
12120 (image_instance_frame): new function.
12121 (image_instance_window): new function.
12122 (image_instance_live_p): new function.
12124 * window.c (mark_window_as_deleted): reset the subwindow_instance_
12127 * glyphs.h (struct Lisp_Image_Instance): device->domain.
12128 (IMAGE_INSTANCE_DOMAIN): new accessor.
12129 (XIMAGE_INSTANCE_DOMAIN): ditto.
12131 * glyphs-x.c (x_finalize_image_instance): device->domain.
12133 * glyphs-msw.c (init_image_instance_geometry): device->domain.
12134 (mswindows_finalize_image_instance): ditto.
12136 * glyphs-eimage.c (jpeg_instantiate): device->domain.
12137 (gif_instantiate): ditto.
12138 (png_instantiate): ditto.
12139 (tiff_instantiate): ditto.
12141 * glyphs.c (instantiate_image_instantiator): use domain rather
12143 (mark_image_instance): device -> domain.
12144 (print_image_instance): ditto.
12145 (finalize_image_instance): ditto.
12146 (image_instance_equal): ditto.
12147 (allocate_image_instance): ditto.
12148 (Fcolorize_image_instance): ditto.
12149 (query_string_geometry): ditto.
12150 (image_instantiate): ditto
12151 (query_string_font): ditto.
12152 (image_instantiate): ditto.
12153 (update_subwindow): ditto.
12154 (unmap_subwindow): ditto.
12155 (map_subwindow): ditto.
12156 (subwindow_instantiate): ditto.
12158 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
12159 (DOMAIN_FRAME): ditto.
12160 (DOMAIN_WINDOW): ditto.
12161 (DOMAIN_LIVE_P): ditto.
12162 (XDOMAIN_DEVICE): ditto.
12163 (XDOMAIN_FRAME): ditto.
12164 (XDOMAIN_WINDOW): ditto.
12166 * specifier.c (Fvalid_specifier_domain_p): add image instances as
12167 a valid specifier domain.
12169 2000-04-19 Andy Piper <andy@xemacs.org>
12171 * glyphs-widget.c (syms_of_glyphs_widget): remove
12172 widget-callback-current-channel.
12173 (vars_of_glyphs_widget): ditto.
12176 * gui.c (get_gui_callback): revert to previous behaviour.
12178 2000-04-18 Andy Piper <andy@xemacs.org>
12180 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
12181 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
12182 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
12184 * glyphs.c (image_instance_equal): add margin_width.
12185 (image_instance_hash): ditto.
12187 * glyphs-widget.c (widget_instantiate): deal with margin-width.
12188 (layout_query_geometry): ditto.
12189 (layout_layout): ditto.
12190 (syms_of_glyphs_widget): add margin-width.
12191 (image_instantiator_layout): allow margin-width.
12193 * glyphs.c (update_widget_instances): make a normal function.
12194 (syms_of_glyphs): remove Qupdate_widget_instances.
12197 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
12198 so that we don't corrupt ideas about the last event or
12199 command. Remove widget-callback-current-channel fiddling.
12200 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
12202 2000-05-01 Martin Buchholz <martin@xemacs.org>
12204 * XEmacs 21.2.33 is released.
12206 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
12208 * make-src-depend: Allow dots in header file name.
12210 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
12212 * mule-charset.h (struct charset_lookup): Add
12213 next_allocated_1_byte_leading_byte and
12214 next_allocated_2_byte_leading_byte.
12215 * mule-charset.c: Move above two variables so that those values
12218 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
12220 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
12221 when string length is zero.
12222 (find_charsets_in_emchar_string): Ditto.
12224 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
12226 * lisp.h: extern Qdialog and Qmenubar.
12228 * gui-x.c: added events.h.
12229 also fixed typo which made the file uncompilable.
12231 * general.c: Added Qmenubar and Qdialog
12233 2000-04-28 Ben Wing <ben@xemacs.org>
12235 * frame-msw.c (mswindows_init_frame_1):
12236 * frame-msw.c (mswindows_mark_frame):
12237 * event-msw.c (mswindows_enqueue_dispatch_event):
12239 * console-msw.h (struct mswindows_frame):
12240 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
12241 there are now three hash tables for callbacks.
12242 mswindows_enqueue_dispatch_event is no longer static.
12244 * dialog-x.c (maybe_run_dbox_text_callback):
12245 * dialog-x.c (dbox_descriptor_to_widget_value):
12246 switch to new cons3 form for callbacks.
12248 * glyphs-msw.c (mswindows_register_gui_item):
12249 * glyphs-msw.c (mswindows_widget_instantiate):
12250 * glyphs-msw.c (add_tree_item):
12251 * glyphs-msw.c (add_tab_item):
12252 new image instance parameter, so it can be passed to callback-ex.
12253 respect :callback-ex as well as :callback.
12255 * glyphs-widget.c (VALID_GUI_KEYWORDS):
12258 * glyphs.c (print_image_instance):
12259 prettify, e.g. now prints widget type.
12262 certain funs have new image instance parameter.
12265 * gui.c (get_gui_callback):
12266 * gui.c (gui_item_add_keyval_pair):
12267 * gui.c (gui_item_init):
12268 * gui.c (gui_add_item_keywords_to_plist):
12269 * gui.c (mark_gui_item):
12270 * gui.c (gui_item_hash):
12271 * gui.c (gui_item_equal):
12272 * gui.c (copy_gui_item):
12273 * gui.c (syms_of_gui):
12274 recognize callback-ex in a number of places.
12275 also, fix the annoying "can't get out of yes-no dialog" bug.
12278 * gui.h (struct Lisp_Gui_Item):
12279 recognize callback-ex in a number of places.
12281 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12282 new parameter in button_item_to_widget_value.
12284 * glyphs-x.c (x_update_widget):
12285 * glyphs-x.c (x_button_instantiate):
12286 * glyphs-x.c (x_button_update):
12287 * glyphs-x.c (x_progress_gauge_instantiate):
12288 * glyphs-x.c (x_edit_field_instantiate):
12289 * glyphs-x.c (x_combo_box_instantiate):
12290 * glyphs-x.c (x_tab_control_instantiate):
12291 * glyphs-x.c (x_label_instantiate):
12292 new image instance parameter in various places.
12295 * event-Xt.c (enqueue_Xt_dispatch_event):
12296 this fun gets exported.
12299 * gui-msw.c (mswindows_handle_gui_wm_command):
12300 handle both :callback and :callback-ex, and generate our own
12301 event because it's one of the callback-ex arguments.
12304 * gui-x.c (popup_selection_callback):
12305 handle both :callback and :callback-ex, and generate our own
12306 event because it's one of the callback-ex arguments.
12307 * gui-x.c (button_item_to_widget_value):
12308 * gui-x.c (gui_items_to_widget_values_1):
12309 * gui-x.c (gui_item_children_to_widget_values):
12310 * gui-x.c (gui_items_to_widget_values):
12311 new image instance parameter in various places.
12313 * fns.c (Freplace_list):
12314 fix small typo in doc string.
12317 declare enqueue_Xt_dispatch_event.
12319 2000-04-28 Ben Wing <ben@xemacs.org>
12322 * buffer.c (Frecord_buffer):
12323 * buffer.c (syms_of_buffer):
12324 delete record-buffer-hook.
12327 * fns.c (Freplace_list):
12328 * fns.c (syms_of_fns):
12329 new primitive replace-list.
12332 slot for old buffer-alist.
12335 exfun replace-list.
12338 * redisplay.c (redisplay_frame):
12339 * redisplay.c (syms_of_redisplay):
12340 * redisplay.c (vars_of_redisplay):
12341 new hook buffer-list-changed-hook.
12344 2000-04-27 Ben Wing <ben@xemacs.org>
12346 * extents.h: extern in_modeline_generation.
12348 * redisplay.c (generate_formatted_string_db): set
12349 in_modeline_generation.
12351 * extents.c (extent_changed_for_redisplay): don't mark redisplay
12352 flags if in modeline generation. otherwise frame-modified-tick
12353 is ticked far too often.
12354 Declare in_modeline_generation.
12356 2000-04-26 Ben Wing <ben@xemacs.org>
12358 * emacs.c (vars_of_emacs): document quick-build "error-checking"
12360 (vars_of_emacs): add quick-build as an error-checking option.
12361 A bit kludgy, but there doesn't seem much point in creating
12362 a real var for this.
12364 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
12366 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
12368 * redisplay.h (struct display_line): Add a new variable,
12371 * redisplay.c (create_text_block): Set dl->line_continuation if
12372 the line continues.
12373 (create_string_text_block): Ditto.
12374 (regenerate_window_incrementally): Use line_continuation instead
12375 of searching continuation glyph.
12376 (add_margin_runes): Call add_glyph_rune.
12377 (add_glyph_rune): Handle margin glyph.
12379 2000-04-20 Martin Buchholz <martin@xemacs.org>
12381 * filelock.c (fill_in_lock_file_name):
12383 Check for IS_ANY_SEP instead of '/'.
12385 Avoid generating gratuitous garbage. Call user_login_name() directly.
12386 Never check errno without first seeing that system call failed.
12387 (unlock_file): Add GCPRO.
12388 (Flock_buffer): Fix docstring.
12389 (Ffile_locked_p): Fix docstring. Add GCPRO.
12391 2000-04-19 Martin Buchholz <martin@xemacs.org>
12393 * sysdep.c (get_pty_max_bytes):
12394 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
12395 strings longer than 252 bytes.
12397 * md5.c: Unconditionally include ANSI header <limits.h>
12399 * glyphs-x.c (convert_EImage_to_XImage):
12400 * lisp-union.h (union Lisp_Object):
12401 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
12403 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
12405 * filelock.c (current_lock_owner): Remove unused variable o, p.
12407 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
12409 * callint.c: Remove multiply defined symbol Qlet
12410 (syms_of_callint): ditto.
12412 2000-04-14 Andy Piper <andy@xemacs.org>
12414 * general.c (syms_of_general): add last-command, this-command, let
12417 * lisp.h: declare various symbols.
12419 * glyphs.h: declare Qwidget_callback_current_channel;
12421 * glyphs-widget.c (syms_of_glyphs_widget): add
12422 Qgui_callback_current_channel.
12423 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
12425 * gui-msw.c (mswindows_handle_gui_wm_command): bind
12426 widget-callback-current-channel when invoking the interactive
12427 arg. Also bind last-command and next-command when invoking the
12429 * gui-x.c (popup_selection_callback): ditto.
12431 * gui.c (get_gui_callback): massage args so that we are always
12432 calling eval. This allows us to add our own variable bindings
12435 * glyphs-x.c (x_button_instantiate): use
12436 gui_items_to_widget_values since this is GC safe.
12437 (x_progress_gauge_instantiate): ditto.
12438 (x_edit_field_instantiate): ditto.
12439 (x_label_instantiate): ditto.
12441 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
12442 (emacs_Xt_event_widget_focus_out): new function
12443 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
12445 (emacs_Xt_event_add_widget_actions): new function. add focus
12446 functions as actions.
12447 (init_event_Xt_late): use it.
12449 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
12451 * event-stream.c (Fdispatch_event): Doc fix.
12453 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
12455 * postgresql.c: Remove all references to PQsetenv*.
12457 * postgresql.h: Remove references to PGsetenvHandler object.
12458 * lrecord.h (lrecord_type): Ditto.
12460 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12462 * glyphs-msw.h (struct mswindows_image_instance_data): Added
12463 real_heigh and real_width members, and accessor macros for these.
12465 * glyphs-msw.c (init_image_instance_geometry): New function.
12466 (init_image_instance_from_dibitmap): Use it.
12467 (mswindows_resource_instantiate): Use it.
12468 (init_image_instance_from_xbm_inline): Use it.
12469 (mswindows_initialize_image_instance_mask): Use real bitmap
12471 (mswindows_create_resized_bitmap): Ditto.
12472 (mswindows_create_resized_mask): Ditto.
12474 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
12475 and bitmap to their surface size.
12477 2000-04-11 Jan Vroonhof <jan@xemacs.org>
12479 * process-unix.c (unix_send_process): Guard against process MIA
12480 after Faccept_process_output.
12482 2000-04-11 Ben Wing <ben@xemacs.org>
12484 * eval.c (unbind_to_hairy): fix brokenness introduced by
12485 nanosecond speed improvements.
12487 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
12489 * sunplay.c (init_device): To play sounds correctly, the device
12490 apparently needs to be initialized at least once by XEmacs. Make
12493 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
12495 * redisplay.c (add_margin_runes): Add text image glyph
12498 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
12500 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
12501 gcc is newer than 2.5.
12503 2000-04-06 Colin Rafferty <colin@xemacs.org>
12505 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
12507 * fns.c (size_bit_vector):
12508 * alloc.c (size_vector):
12509 (make_vector_internal):
12510 (make_bit_vector_internal):
12511 (sweep_bit_vectors_1):
12512 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
12514 2000-04-06 Andy Piper <andy@xemacs.org>
12516 * gmalloc.c (malloc): undo previous change.
12521 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
12523 * line-number.c (buffer_line_number): Revert to former version.
12525 2000-04-06 Andy Piper <andy@xemacs.org>
12527 * gmalloc.c (malloc): add error checking.
12532 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
12533 button_item_to_widget_value arg.
12535 * glyphs-x.c (x_button_instantiate): add extra
12536 button_item_to_widget_value arg.
12537 (x_progress_gauge_instantiate): ditto.
12538 (x_edit_field_instantiate): ditto.
12539 (x_label_instantiate): ditto.
12541 * gui-x.c (gui_items_to_widget_values_1): add extra
12542 button_item_to_widget_value arg.
12543 (button_item_to_widget_value): add extra menu_item_p arg.
12545 * gui-x.h: change signature of button_item_to_widget_value.
12547 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
12548 button_item_to_widget_value arg.
12550 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
12552 * buffer.h (struct buffer): auto_save_modified should be long.
12554 2000-04-05 Andy Piper <andy@xemacs.org>
12556 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
12558 (button_query_geometry): give a little more room so that athena
12561 2000-04-05 Andy Piper <andy@xemacs.org>
12563 * faces.c (complex_vars_of_faces): The widget face should inherit
12564 the font of the gui-element face.
12566 2000-04-04 Andy Piper <andy@xemacs.org>
12568 * glyphs-x.c (x_button_update): new function. unconditionally
12569 update a button's state when the instance is dirty.
12570 (image_instantiator_format_create_glyphs_x): add x_button_update.
12571 (x_widget_instantiate): remove old resize cruft.
12573 2000-04-02 Andy Piper <andy@xemacs.org>
12575 * frame.c (change_frame_size_1): The introduction of gutters means
12576 that we need to allow 0 as a potential frame dimension.
12578 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
12580 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
12581 image glyph if allow_cursor.
12582 (add_hscroll_rune): Don't allow cursor to border glyph.
12583 (create_text_block): Ditto.
12585 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
12586 text not in buffer.
12587 (redisplay_output_layout): Call ensure_face_cachel_complete for
12591 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
12593 * redisplay.c (add_glyph_rune): Adding text image as text runes.
12595 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
12598 * redisplay-tty.c (tty_output_display_block): Delete the routine
12599 for text image glyph
12600 * redisplay-x.c (x_output_display_block): ditto
12601 * redisplay-msw.c (mswindows_output_display_block): ditto
12603 2000-02-02 Mike Alexander <mta@arbortext.com>
12605 Note: Some of these were committed by accident as part of other
12608 * regex.c (regex_compile): Avoid compiler warnings.
12610 * ntproc.c (sys_spawnve): Avoid compiler warnings.
12612 * nt.h: Declare term_ntproc correctly.
12614 * nt.c: Remove incorrect declaration of get_home_directory which
12615 is declared correctly in lisp.h.
12617 * keymap.c (get_keyelt): Avoid compiler warnings.
12618 (raw_lookup_key_mapper): Avoid compiler warnings.
12620 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
12622 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
12624 * filemode.c (mode_string): Avoid compiler warnings.
12626 * file-coding.c (Fcoding_system_aliasee): Add return statement to
12629 * events-mod.h: Undef some things that winuser.h defines differently.
12631 * data.c (Faset): Avoid compiler warnings.
12633 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
12635 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12637 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
12638 Fall through to simple beep on error.
12639 Replace "extern" by real header file.
12641 * linuxplay.c: Use nativesound.h
12642 (play_sound_data): Return error code. Be less verbose on error.
12644 * sunplay.c: Use nativesound.h
12645 (play_sound_data): Return error code. Be less verbose on error.
12647 * ntplay.c: Use nativesound.h
12648 (play_sound_data): Return fake error code
12650 * sgiplay.c: Use nativesound.h
12651 (play_sound_data): Return error code
12653 * hpplay.c: Use nativesound.h, partially implement
12654 new error code. Break compilation until finished.
12655 (play_sound_data): error code.
12657 * nativesound.h (play_sound_file):
12658 (play_sound_data): Prototype in new header.
12660 2000-03-31 Andy Piper <andy@xemacs.org>
12662 * glyphs-widget.c: (button_query_geometry): new function. Adjust
12663 for toggle and radio buttons.
12664 (image_instantiator_buttons): use it.
12666 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12668 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
12669 (x_update_horizontal_scrollbar_callback): Return if no mirror was
12670 found. Scrollbar event probably belonged to some old config.
12672 2000-03-31 Andy Piper <andy@xemacs.org>
12674 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
12676 (initialize_widget_image_instance): default layout to
12677 LAYOUT_HORIZONTAL rather than 0.
12678 (widget_instantiate): reverse the item list at the end rather than
12680 (layout_layout): re-code for the border text at the front of the
12681 item list rather than at the end.
12682 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
12683 provided by the user.
12684 (widget_query_geometry): comment.
12686 2000-03-30 Andy Piper <andy@xemacs.org>
12688 * glyphs-widget.c (image_instantiator_layout): allow standard
12689 widget keywords in layouts.
12691 * gutter.c (output_gutter): cope with nil gutter contents.
12693 * frame.c (Fset_frame_properties): add gutter docs.
12695 2000-03-29 Andy Piper <andy@xemacs.org>
12697 * toolbar-msw.c (TBSTYLE_FLAT): add.
12698 (mswindows_output_toolbar): minor fiddling.
12700 2000-03-29 Andy Piper <andy@xemacs.org>
12702 * gutter.c (output_gutter): force gutter size recalculation if
12703 what we are trying to display won't fit.
12704 (update_gutter_geometry): new function. A per-gutter version of
12705 update_frame_gutter_geometry.
12706 (update_frame_gutter_geometry): use it.
12707 (redraw_exposed_gutter): add extra debugging output.
12709 2000-03-28 Mike Alexander <mta@arbortext.com>
12711 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
12712 (pdump_file_unmap): Implement it on Windows
12713 (pdump_file_get): Save alocated handles for pdump_file_unmap
12715 2000-03-28 Andy Piper <andy@xemacs.org>
12717 * gui.c (get_gui_callback): treat Quit specially.
12719 2000-03-27 Andy Piper <andy@xemacs.org>
12721 * glyphs.c (image_instantiate): be careful to check in the same
12724 2000-03-27 Didier Verna <didier@xemacs.org>
12726 * config.h.in: define the proper SMART_INCLUDE macro.
12727 handle renaming of `foo_h_path' to `foo_h_file'.
12729 * database.c: ditto.
12733 * linuxplay.c: ditto.
12735 * terminfo.c: ditto.
12737 * tooltalk.h: ditto.
12739 2000-03-27 Andy Piper <andy@xemacs.org>
12741 * glyphs-msw.c (mswindows_update_widget): make sure the widget
12742 gets updated whenever the face might have changed.
12744 2000-03-26 Mike Alexander <mta@arbortext.com>
12746 * dumper.c (pdump_resource_free): Fix the comment.
12748 2000-03-21 Olivier Galibert <galibert@pobox.com>
12750 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
12752 2000-03-22 Mike Alexander <mta@arbortext.com>
12754 * dumper.c: Include Windows headers on Windows
12755 (pdump_resource_free): Add a body to the function
12756 (pdump_load): exe_name -> exe_path and add some comments.
12758 2000-03-25 Mike Alexander <mta@arbortext.com>
12760 * gui.c (copy_gui_item_tree): Return a value in all cases
12762 2000-03-21 Didier Verna <didier@xemacs.org>
12764 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
12766 (SMART_INCLUDE): new macro.
12767 (POSTGRES_INCLUDE): new macro to include postgresql headers from
12768 the proper location.
12770 * postgresql.c: use it.
12774 2000-03-24 Andy Piper <andy@xemacs.org>
12776 * gutter.c (redraw_exposed_gutters): must be "in display" when we
12779 2000-03-24 Andy Piper <andy@xemacs.org>
12781 * redisplay-output.c (compare_runes): use image_instance_changed
12782 to detect changes. Do not depend on glyphs_changed, only depend on
12784 (redisplay_output_layout): add debug messages.
12785 (compare_runes): ditto.
12787 * glyphs.h: declare new functions.
12788 (struct Lisp_Image_Instance): remove percent and associated
12791 * gui.h: declare new copying functions.
12793 * gui.c (copy_gui_item_tree): new function.
12794 (copy_gui_item): new function.
12795 (gui_item_id_hash): revert to standard hash.
12796 (gui_item_hash): ditto.
12797 (gui_item_hash_internal): deleted.
12798 (mark_gui_item): mark value.
12799 (gui_item_add_keyval_pair): add value.
12800 (gui_item_init): ditto.
12801 (gui_add_item_keywords_to_plist): ditto.
12802 (gui_item_equal): ditto.
12803 (syms_of_gui): add Q_value.
12805 * glyphs-x.c (x_progress_gauge_update): use pending items and
12806 value for setting the state.
12807 (x_update_widget): don't set items from pending here.
12809 * glyphs-widget.c (update_widget): update items here.
12810 (progress_gauge_set_property): use items for storing value. Put
12811 new value in pending items.
12813 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
12814 items for new value. Convert percent -> value.
12815 (mswindows_tab_control_update): don't update items here.
12817 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
12818 (update_subwindow): ditto.
12819 (image_instance_changed): new function. Compare hash values and
12820 past and present widget items.
12821 (image_instantiate): We more careful about where we instantiate
12823 (image_instantiate): add error checking.
12825 * gutter.c (syms_of_gutter): use -hook.
12827 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
12829 * console-tty.c (Fset_console_tty_input_coding_system): Use
12831 (Fset_console_tty_output_coding_system): Use Qterminal.
12832 (tty_init_console): Use Qkeyboard and Qterminal.
12834 2000-03-21 Ben Wing <ben@xemacs.org>
12836 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
12837 From Mike Alexander <mta@arbortext.com>.
12839 2000-03-21 Ben Wing <ben@xemacs.org>
12841 * event-msw.c (mswindows_need_event): Horrible kludge to fix
12842 process brokenness. Proper implementation to come.
12844 Rename call-process-internal to old-call-process-internal.
12845 New impl. in process.el.
12847 2000-03-21 Martin Buchholz <martin@xemacs.org>
12849 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
12851 2000-03-20 Andy Piper <andy@xemacs.org>
12853 * glyphs.c (full_list_hash): make hashes of the same elements in
12854 different orders return different values.
12856 2000-03-20 Martin Buchholz <martin@xemacs.org>
12858 * XEmacs 21.2.32 is released.
12860 2000-03-20 Martin Buchholz <martin@xemacs.org>
12862 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
12863 (DFC_MALLOC_USE_CONVERTED_DATA):
12864 Add aliasing-safe casts to allow use with char* or unsigned char*
12867 * eldap.c (Fldap_open):
12868 (Fldap_search_basic):
12871 Make C++-compilable.
12872 Make sure GCPRO'ed variables are initialized.
12873 Use temp variables to avoid repeated calls to Flength.
12875 2000-03-16 Martin Buchholz <martin@xemacs.org>
12878 Make sure PATH_MAX is always defined.
12879 Include limits.h for PATH_MAX.
12880 Deprecate use of MAXPATHLEN.
12882 2000-03-10 Martin Buchholz <martin@xemacs.org>
12884 * emacs.c: Add reinit_vars_of_fileio.
12885 * symsinit.h: Add reinit_vars_of_fileio.
12886 * fileio.c (reinit_vars_of_fileio): New.
12887 * fileio.c (Fmake_temp_name):
12888 Initialize temp_name random number from microseconds to make
12889 collisions even less likely. Initialize always at process startup
12890 time. (make-temp-name) used to return the same file name twice in
12892 Random stylistic fiddling.
12895 2000-03-20 Andy Piper <andy@xemacs.org>
12897 * glyphs.c (image_instantiate): allow text glyphs to be
12898 instantiated in the minibuffer window.
12900 2000-03-19 Andy Piper <andy@xemacs.org>
12902 * glyphs.c (image_instance_hash): be careful about which items we
12905 * glyphs-widget.c (tab_control_set_property): record into pending
12906 items rather than the actual items.
12908 * glyphs-x.c (x_update_widget): use pending items to update with.
12910 * glyphs-msw.c (mswindows_tab_control_update): use pending items
12913 * glyphs.c (mark_image_instance): mark pending items.
12915 * window.c (Fset_window_configuration): record the buffer.
12916 (Fselect_window): totally revert previous change which breaks many
12919 2000-03-18 Andy Piper <andy@xemacs.org>
12921 * glyphs-msw.c (mswindows_tab_control_update): force selected
12924 * glyphs.c (image_instantiate): don't allow the minibuffer as a
12925 window domain cache, otherwise we get inconsistencies at
12926 startup. There is something fishy at startup which can lead to the
12927 minibuffer being the selected window when the gutter content is
12930 * gui.c (parse_gui_item_tree_list): add probably unnecessary
12932 (parse_gui_item_tree_children): ditto.
12933 (parse_gui_item_tree_item): ditto.
12935 * glyphs.c (Fupdate_widget_instances): return something.
12937 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
12939 * window.c (Fselect_window): Undo 2000-03-17 change.
12941 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
12943 * postgresql.c (Fpq_setenv): Remove this turkey when linking
12944 against v7.0 libraries. Insta-coredump city until the postgres
12947 2000-03-17 Andy Piper <andy@xemacs.org>
12949 * faces.c (complex_vars_of_faces): don't give the widget face an
12950 inherited background pixmap.
12952 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
12955 * event-stream.c (Fdispatch_non_command_events): return something.
12957 * gutter.c (output_gutter): use widget face.
12958 (clear_gutter): ditto.
12960 * NEWS: adjust again.
12962 * window.c (Fselect_window): make sure this runs to completion to
12963 avoid oddities with Fset_window_configuration.
12964 (Fcurrent_window_configuration): in general do not save the
12965 minibuffer as the selected window.
12967 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
12969 2000-03-16 Olivier Galibert <galibert@pobox.com>
12971 * emacs.c (Frunning_temacs_p): Revert previous patch.
12972 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
12974 2000-03-16 Andy Piper <andy@xemacs.org>
12976 * glyphs-x.c (x_tab_control_update): if no widget values then
12979 * NEWS: update for new features.
12981 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
12982 synthetic event to the native system.
12983 (reinit_vars_of_event_Xt): set force_event_pending to
12984 emacs_Xt_force_event_pending.
12986 * events.h (struct event_stream): add force_event_pending.
12988 * specifier.c (recompute_one_cached_specifier_in_window): add
12991 * redisplay.c (redisplay_frame): don't call
12992 update_frame_subwindows. Reset subwindow cachels when
12993 subwindows_changed, removing this was an optimization too far.
12995 * redisplay-output.c (compare_runes): reorganize so that we catch
12996 glyph changes when we want them. Set optimize_output when this
12997 would help layouts.
12998 (redisplay_output_layout): remove frame_really_changed, use
12999 optimize_output instead.
13001 * redisplay-msw.c (mswindows_output_display_block): reset
13002 optimize_output after outputting a glyph.
13003 * redisplay-x.c (x_output_display_block): ditto.
13004 * redisplay-tty.c (tty_output_display_block): ditto.
13006 * gutter.c: (specifier_vars_of_gutter): use new spec changed
13008 (gutter_specs_changed): do specific gutter positions.
13009 (top_gutter_specs_changed): new function. Only update the
13010 specified gutter specs.
13011 (bottom_gutter_specs_changed): ditto.
13012 (left_gutter_specs_changed): ditto.
13013 (right_gutter_specs_changed): ditto.
13015 * gui.c (gui_item_hash_internal): new function, does a real hash.
13016 (gui_item_id_hash): use it.
13017 (gui_item_hash): hash the eval'ed gui_item.
13019 * gui-x.c (popup_selection_callback): send an eval event to call
13020 Fupdate_widget_instances.
13022 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
13023 to call Fupdate_widget_instances.
13025 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
13026 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
13028 * glyphs.c: (update_frame_subwindows): deleted.
13029 (Fupdate_widget_instances): new function for updating the dirty
13030 state of widgets that might have changed.
13031 (syms_of_glyphs): add Qupdate_widget_instances.
13032 (full_list_hash): hash a list completely.
13033 (image_instance_hash): use it for items and properties.
13035 * frame-msw.c (mswindows_size_frame_internal): remove unused
13038 * faces.h (struct face_cachel): fix comment.
13040 * event-stream.c (Fdispatch_non_command_events): new
13041 function. Process non-command events, forcing an event cycle
13043 (syms_of_event_stream): declare.
13044 (event_stream_force_event_pending): new function. Force an event
13045 on the native event queue so that an event cycle will occur next
13049 (struct ntpipe_shove_stream):
13050 (mswindows_enqueue_dispatch_event):
13051 (mswindows_dequeue_dispatch_event):
13052 (mswindows_cancel_dispatch_event):
13053 (mswindows_pump_outstanding_events):
13054 (mswindows_drain_windows_queue):
13055 (mswindows_handle_paint):
13056 (mswindows_wnd_proc):
13057 (mswindows_key_to_emacs_keysym):
13058 (get_process_input_waitable):
13059 (emacs_mswindows_delete_stream_pair): re-indent file.
13060 (mswindows_need_event): do not process further fds if the windows
13061 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
13062 fixes the 100% cpu problem.
13063 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
13065 2000-03-15 Olivier Galibert <galibert@pobox.com>
13071 * emacs.c: Moved dump file searching to dumper.c.
13072 (Frunning_temacs_p): Fixed.
13074 * alloc.c: Moved everything pdump-related to dumper.c. Removed
13075 last_lrecord_type_index_assigned.
13077 2000-02-20 Olivier Galibert <galibert@pobox.com>
13079 * symsinit.h: Added reinit parameter to init_console_stream
13082 * lisp.h: Added file parameter to pdump_load declaration.
13084 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
13085 support. Added dump file searching.
13087 * config.h.in: Added EMACS_PROGNAME.
13089 * console-stream.c (init_console_stream): Fix reinitialisation
13090 when running from temacs.
13092 * alloc.c (pdump): Add id support.
13093 (pdump_load): Add file parameter and signature/id support.
13095 * Makefile.in.in: Add full pdump support.
13097 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
13099 * postgresql.c: Update documentation to reflect latest code
13101 (print_result): Show tuple counts in printed representation when
13103 (Fpq_put_nbytes): MULE-ize.
13104 (Fpq_get_line_async): Ditto.
13106 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13108 * postgresql.c (Fpq_lo_import): Fix return value.
13109 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
13111 2000-03-13 Ben Wing <ben@xemacs.org>
13113 * alloc.c (pdump_load):
13114 Fix compile warning under mswin.
13116 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13118 * postgresql.c: Mule-ization, bug fixes.
13119 Use PG_CODING to encapsulate coding system name changes.
13120 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
13121 (pg-coding-system): Create.
13123 (Fpq_conn_defaults): Mule-ize.
13124 (Fpq_connectdb): Mule-ize & bug fix.
13125 (Fpq_connect_start): Mule-ize.
13126 (Fpq_set_client_encoding): Mule-ize.
13127 (Fpq_finish): Document `DEAD' connection status.
13128 (Fpq_clear): Ditto.
13129 (Fpq_pgconn): Mule-ize.
13130 (Fpq_exec): Mule-ize & bug fix.
13131 (Fpq_send_query): Ditto.
13132 (Fpq_get_result): Ditto.
13133 (Fpq_res_status): Mule-ize.
13134 (Fpq_result_error_message): Mule-ize.
13135 (Fpq_ntuples): fix comments.
13136 (Fpq_fname): Mule-ize.
13137 (Fpq_fnumber): Mule-ize.
13138 (Fpq_ftype): fix comments.
13139 (Fpq_get_value): Mule-ize.
13140 (Fpq_cmd_status): Ditto.
13141 (Fpq_cmd_tuples): Ditto.
13142 (Fpq_oid_value): Ditto.
13143 (Fpq_notifies): Ditto.
13144 (Fpq_lo_import): Ditto.
13145 (Fpq_lo_export): Ditto.
13146 (Fpq_get_line): Ditto.
13147 (Fpq_put_line): Mule-ize and bug fix.
13148 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
13150 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13152 * postgresql.c (vars_of_postgresql): Mule-ize.
13153 (Fpq_conn_defaults): Ditto.
13155 2000-03-12 Ben Wing <ben@xemacs.org>
13157 * alloc.c (Fmake_byte_code):
13158 * alloc.c (debug_string_purity_print):
13159 * alloc.c (pdump_backtrace):
13160 * alloc.c (pdump_get_indirect_count):
13161 * alloc.c (pdump_register_sub):
13162 * alloc.c (pdump_register_object):
13163 * alloc.c (pdump_register_struct):
13164 * alloc.c (pdump_dump_data):
13165 * alloc.c (pdump_reloc_one):
13169 * console-msw.c (GetConsoleHwnd):
13170 * console-msw.c (msw_hide_console):
13171 * console-msw.c (msw_show_console):
13172 * console-msw.c (msw_ensure_console_buffered):
13173 * console-msw.c (msw_output_console_string):
13174 * console-msw.c (console_type_create_mswindows):
13176 a) Added functions to manipulate the console window for use with
13179 b) Added support for writing text to the console, which is now
13180 used under Windows when xemacs is not being run non-interactively,
13181 to write text that would otherwise be destined for stdout because
13182 under these circumstances, text written to stdout tends to
13183 disappear and not be seen.
13187 * event-Xt.c (x_event_to_emacs_event):
13188 * event-Xt.c (describe_event_window):
13189 * events-mod.h (XEMACS_MOD_CONTROL):
13191 * events.c (Fmake_event):
13192 * events.c (character_to_event):
13193 * events.c (event_to_character):
13194 * events.c (format_event_object):
13195 * events.c (Fevent_modifiers):
13197 * events.h (struct key_data):
13198 * events.h (struct button_data):
13199 * events.h (struct misc_user_data):
13200 * frame-x.c (Fcde_start_drag_internal):
13201 * frame-x.c (Foffix_start_drag_internal):
13202 * gpmevent.c (Freceive_gpm_event):
13204 * keymap.c (bucky_sym_to_bucky_bit):
13205 * keymap.c (control_meta_superify):
13206 * keymap.c (make_key_description):
13207 * keymap.c (keymap_lookup_directly):
13208 * keymap.c (create_bucky_submap):
13209 * keymap.c (keymap_store):
13210 * keymap.c (define_key_check_and_coerce_keysym):
13211 * keymap.c (define_key_parser):
13212 * keymap.c (define_key_alternate_name):
13213 * keymap.c (Fdefine_key):
13214 * keymap.c (raw_lookup_key_mapper):
13215 * keymap.c (struct map_keymap_unsorted_closure):
13216 * keymap.c (map_keymap_unsorted_mapper):
13217 * keymap.c (map_keymap_sort_predicate):
13218 * keymap.c (map_keymap_sorted):
13219 * keymap.c (accessible_keymaps_mapper_1):
13220 * keymap.c (where_is_recursive_mapper):
13221 * keymap.c (describe_map_mapper):
13222 * keymap.c (describe_map_sort_predicate):
13223 * keymap.c (describe_map):
13224 * keymap.c (complex_vars_of_keymap):
13225 And a number of other files, the key modifier preprocessor
13226 constants that xemacs uses have names that conflict with constants
13227 defined under MS Windows for other purposes, so they were renamed
13228 to begin with the prefix XEMACS_. The variables that hold such
13229 modifiers were changed to consistently be of type int to fix
13230 various compile warnings.
13232 * console.c (complex_vars_of_console):
13235 * device-msw.c (mswindows_finish_init_device):
13236 * device-msw.c (msw_get_workspace_coords):
13237 * device-msw.c (mswindows_device_system_metrics):
13238 and various other files, added support for a new
13239 device property called offset-workspace which returns the position
13240 of the upper left corner of the workspace area and goes along with
13241 the existing size-workspace property.
13244 * dialog-msw.c (push_bufbyte_string_as_unicode):
13245 * dialog-msw.c (mswindows_popup_dialog_box):
13246 Added support for XEmacs-style accelerator specifications in
13247 button text. Note: I didn't add support for this under X Windows,
13248 and somebody needs to do this.
13251 * dialog.c (Fpopup_dialog_box):
13252 Documented the support for accelerators that was just mentioned.
13254 editfns.c (get_home_directory): Changed behavior under Windows
13255 when HOME not defined; former behavior was irretrievably broken.
13258 * emacs.c (main_1):
13260 * minibuf.c (clear_echo_area_internal):
13261 * minibuf.c (echo_area_append):
13263 * print.c (std_handle_out_external):
13264 * print.c (std_handle_out_va):
13266 * print.c (write_string_to_stdio_stream):
13267 * print.c (output_string):
13268 * print.c (debug_print):
13269 * print.c (debug_backtrace):
13270 * print.c (debug_short_backtrace):
13271 Cleaned up the code that prints text to stdout so that this can be
13272 changed to output into a console window instead under MS Windows,
13273 as described above.
13276 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
13277 * eval.c (internal_catch):
13278 * eval.c (unwind_to_catch):
13279 * eval.c (throw_or_bomb_out):
13280 * eval.c (condition_case_1):
13281 * eval.c (signal_1):
13282 * eval.c (check_error_state_sanity):
13283 * eval.c (call_with_suspended_errors_1):
13284 * eval.c (call_with_suspended_errors):
13285 * eval.c (reinit_vars_of_eval):
13286 Added code to catch throw loops and check for a pesky bug that may
13290 * event-msw.c (key_needs_default_processing_p):
13291 * event-msw.c (mswindows_wnd_proc):
13292 * event-msw.c (mswindows_modifier_state):
13293 * event-msw.c (emacs_mswindows_quit_p):
13294 * event-msw.c (vars_of_event_mswindows):
13295 a) Added support for using the alt key to select menu items as is
13296 standard under MS Windows. This is controlled using the variable
13297 menu-accelerator-enabled, just like under X Windows. There is an
13298 option on the options menu to turn this support on. I really
13299 think that it should be on by default under Windows, but I'm not
13300 going to make this change yet.
13302 b) Added support for dynamic display size changes under Windows.
13305 * event-stream.c (maybe_echo_keys):
13306 * event-stream.c (Fnext_event):
13307 * event-stream.c (command_builder_find_leaf):
13308 * event-stream.c (lookup_command_event):
13309 * event-stream.c (execute_command_event):
13310 * event-stream.c (pre_command_hook):
13311 * event-stream.c (post_command_hook):
13312 * event-stream.c (syms_of_event_stream):
13313 * event-stream.c (vars_of_event_stream):
13314 * event-stream.c (complex_vars_of_event_stream):
13315 * events.h (struct command_builder):
13317 a) Tried to clean up a little bit the horribly written x-specific
13318 accelerator code that crept into this file. I moved this code
13319 into menubar-x.c where it belongs. I also needed to move the
13320 command builder structure into the file events.h because it is
13321 accessed directly by this accelerator code. What I didn't do, but
13322 which should be done at some point, is to properly abstract this
13323 code using device methods instead of the kludgy way that it
13324 currently hooks into the event code.
13326 b) Added the lisp variables this-command-properties and
13327 last-command- properties, which should be used to synchronize two
13328 adjacent commands in preference to playing games with the variable
13329 this-command, which is typically what happens.
13331 c) Added some slightly nasty code to hook into the lisp support
13332 for shifted- motion-key selection. This is actually necessary for
13333 somewhat complicated reasons, which are described in
13334 simple.el. (NB: I think the proper thing would be to have the code
13335 that calls the pre and post command hooks also call out to generic
13336 lisp functions in simple.el, where all built-in stuff could be
13337 added. I will think about this more.)
13339 * event-unixoid.c (poll_fds_for_input):
13340 * lread.c (readchar):
13341 * redisplay-tty.c (tty_clear_frame):
13342 * redisplay-x.c (x_get_gc):
13343 * signal.c (interrupt_signal):
13344 And a whole bunch of other files: fixed up places that printed
13345 directly to stderr to instead call the function stderr_out so that
13346 the changes I made under Windows work correctly.
13348 * filemode.c (mode_string):
13352 * frame-msw.c (mswindows_size_frame_internal):
13353 Fixed the computation of frame size and position to keep the frame
13354 within the workspace area, rather than within the physical
13355 dimensions of the screen, so that the frame doesn't overlap window
13356 manager decorations, such as the start menu and toolbar, typically
13357 at the bottom of the screen.
13359 * frame.c (vars_of_frame):
13360 Changed the default frame title format under MS Windows to consist
13361 of buffername-XEmacs, which is standard under MS Windows. I think
13362 it might be a good idea to change this everywhere because I think
13363 it is superior to the current frame title format, but this is the
13364 kind of change that is likely to cause some people to get annoyed,
13365 so I'm not making it.
13367 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
13369 * gui-msw.c (mswindows_handle_gui_wm_command):
13370 Fixed compile warnings.
13373 * gui-x.c (strdup_and_add_accel):
13374 * gui-x.c (button_item_to_widget_value):
13376 Added code to automatically put an accelerator onto the beginning
13377 of menu items that don't have one as is now the standard, and is
13378 described more later. Also fixed things so that the menu item
13379 name can be an evaluated expression, again a new standard.
13382 * gui.c (gui_item_add_keyval_pair):
13383 * gui.c (make_gui_item_from_keywords_internal):
13384 * gui.c (gui_add_item_keywords_to_plist):
13385 * gui.c (gui_item_accelerator):
13386 * gui.c (gui_name_accelerator):
13387 * gui.c (gui_item_included_p):
13388 * gui.c (gui_item_display_flush_left):
13389 * gui.c (gui_item_display_flush_right):
13390 * gui.c (parse_gui_item_tree_item):
13391 * gui.c (parse_gui_item_tree_children):
13392 * gui.c (parse_gui_item_tree_list):
13393 Mule-ized. Cleanup. GCPRO addition.
13395 * line-number.c (buffer_line_number):
13397 * lisp.h (EMACS_INT_MAX):
13398 Added the manifest constant EMACS_INT_MIN corresponding to the
13399 existing constant EMACS_INT_MAX. This is partially to fix compile
13400 warnings under Windows, and partly for cleanliness.
13403 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
13404 * menubar-msw.c (msw_translate_menu_or_dialog_item):
13405 * menubar-msw.c (displayable_menu_item):
13406 * menubar-msw.c (populate_menu_add_item):
13407 * menubar-msw.c (populate_or_checksum_helper):
13408 * menubar-msw.c (populate_menu):
13409 * menubar-msw.c (update_frame_menubar_maybe):
13410 * menubar-msw.c (prune_menubar):
13411 * menubar-msw.c (msw_char_is_accelerator):
13412 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
13413 * menubar-msw.c (mswindows_handle_wm_command):
13414 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
13415 * menubar-msw.c (mswindows_handle_wm_initmenu):
13416 * menubar-msw.c (mswindows_update_frame_menubars):
13417 * menubar-msw.c (mswindows_free_frame_menubars):
13418 * menubar-msw.c (mswindows_popup_menu):
13419 Fixed a bug in handling accelerators where an extra character
13420 would be displayed in the menu item. Also generalized the
13421 function displayable_menu_item because it is now used by the
13422 dialog box code as well. And finally, added code in the functions
13423 that create the menubar to extract a list of accelerators for the
13424 top level menubar, which is used in the event code to determine
13425 whether a particular alt-key combination should be used to invoke
13426 a menu item, or should be passed through to access the standard
13427 XEmacs keymap binding for this key combination.
13429 Much needed GCPROing.
13432 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13433 * menubar-x.c (menu_item_descriptor_to_widget_value):
13434 * menubar-x.c (restore_in_menu_callback):
13435 * menubar-x.c (x_popup_menu):
13436 * menubar-x.c (menu_move_up):
13437 * menubar-x.c (menu_move_down):
13438 * menubar-x.c (menu_move_left):
13439 * menubar-x.c (menu_move_right):
13440 * menubar-x.c (menu_select_item):
13441 * menubar-x.c (command_builder_operate_menu_accelerator):
13442 * menubar-x.c (menu_accelerator_junk_on_error):
13443 * menubar-x.c (command_builder_find_menu_accelerator):
13444 * menubar-x.c (Faccelerate_menu):
13446 Moved a whole bunch of code here that was previously in
13447 event-stream.c as described above. There is also code connected
13448 to the new standard of adding an accelerator to the beginning of
13449 menu items that don't have one as described above and below.
13452 * menubar.c (menu_parse_submenu_keywords):
13453 * menubar.c (Fmenu_find_real_submenu):
13454 * menubar.c (Fnormalize_menu_item_name):
13455 * menubar.c (syms_of_menubar):
13456 * menubar.c (vars_of_menubar):
13457 * menubar.c (complex_vars_of_menubar):
13459 a) Cleaned up a bunch of documentation and improved it.
13461 b) XEmacs now automatically adds an accelerator onto the beginning
13462 of any menu items that don't have one. I did this because there
13463 will inevitably be some menu items on the main menubar that don't
13464 have accelerators on them because the package that adds that
13465 particular menu item hasn't yet been fixed up to have accelerators
13466 in them and it looked rather strange to have some items with and
13467 some items without accelerators, especially since even in items
13468 without accelerators, you can, at least under windows, still
13469 access the item through an accelerator corresponding to the first
13470 character in the item's name. If people don't like this behavior,
13471 I can add a variable to turn it off optionally, but I'm not sure
13472 this is a good idea because we really do need to have accelerators
13473 on all of the menu items, and if a package doesn't like the
13474 accelerators being put on the first character, then it should put
13475 the accelerators where they belong.
13477 c) I made a behavior change, which is that the descriptor that
13478 specifies the text of the menu item, which formerly was just a
13479 string, can now also be an evaluated expression. This makes this
13480 descriptor parallel with all of the others, which could also be
13481 evaluated expressions. This also obviates the need for the
13482 keyword :label, which was previously listed in the documentation
13483 as unimplemented, and which was for the same purpose.
13488 * ntproc.c (new_child):
13489 * ntproc.c (sys_spawnve):
13490 * ntproc.c (find_child_console):
13491 * ntproc.c (sys_kill):
13492 Fixed compile warnings. By the way, this file should really go
13493 away entirely, and this will happen as soon as Kirill makes his
13494 final round of process cleanups, which affect the function
13498 * process-nt.c (struct nt_process_data):
13499 * process-nt.c (find_process_from_pid):
13500 * process-nt.c (send_signal_the_nt_way):
13501 * process-nt.c (enable_child_signals):
13502 * process-nt.c (find_child_console):
13503 * process-nt.c (send_signal_the_95_way):
13504 * process-nt.c (nt_finalize_process_data):
13505 * process-nt.c (ensure_console_window_exists):
13506 * process-nt.c (nt_create_process):
13507 * process-nt.c (nt_kill_child_process):
13508 * process-nt.c (nt_kill_process_by_pid):
13509 * process-nt.c (nt_open_network_stream):
13510 * process-nt.c (vars_of_process_nt):
13511 Copied over code from Emacs 20.5 to correctly send signals to sub-
13512 processes under Windows 95. Also added code to automatically
13513 create and hide console window when a sub-process is created under
13514 Windows 95, which obviates the need for the separate runemacs.exe
13515 executable, and finally implemented some variables that were
13516 implemented in Emacs 20.5, but previously not in XEmacs. These
13517 include mswindows- start-process-share-console and
13518 mswindows-start-process-inherit-error-mode. (Both of these only
13519 apply to Windows 95.)
13521 * regex.c (regex_compile): Fixed a compile warning.
13524 * select-msw.c (mswindows_own_selection):
13525 * select-msw.c (mswindows_get_foreign_selection):
13526 * select-msw.c (mswindows_disown_selection):
13527 * select-msw.c (console_type_create_select_mswindows):
13528 * select-msw.c (syms_of_select_mswindows):
13529 Cleaned up the file and implemented the device method
13530 selection_exists_p, which had accidentally been left out. Also
13531 removed four lisp functions that were remnants from before the
13532 time when the selection code was properly device abstracted.
13533 These functions are no longer needed because there are generic
13534 equivalents, and because they were added recently and don't exist
13535 in FSF Emacs, I don't think there's any problem with just deleting
13539 * sysdep.c (sys_subshell):
13540 Fixed a compile warning, although in this case there's probably
13541 something wrong with this code, and it ought to be looked into
13542 more thoroughly by somebody who understands it.
13545 * window.c (Fwindow_text_area_height):
13546 * window.c (Fwindow_width):
13547 * window.c (Fwindow_full_width):
13548 * window.c (Fwindow_pixel_width):
13549 * window.c (debug_print_window):
13550 * window.c (syms_of_window):
13551 Added functions window-text-area-height and window-full-width,
13552 which are functions for returning various width and height
13553 characteristics of a window. (One of these functions is necessary
13554 for making the file dialog box work correctly, and the other one
13555 was added for completeness.) Also added a table to the
13556 documentation for window-height which describes the entire scheme
13557 for accessing width and height characteristics of a window.
13559 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13561 * nt.c (fstat): Added a comment for another problem with
13562 non-encapsulated [f]stat(), reported by Adrian Aichner
13563 <aichner@ecf.teradyne.com>.
13565 2000-03-11 Andy Piper <andy@xemacs.org>
13567 * window.c (make_dummy_parent): initialize subwindow instance
13569 (Fset_window_configuration): zero extent_modiff.
13571 2000-03-10 Andy Piper <andy@xemacs.org>
13573 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
13574 more changes can be triggered.
13575 (Fredisplay_frame): ditto.
13576 (Fredraw_device): ditto.
13577 (Fredisplay_device): ditto.
13578 (redisplay_frame): make non-static.
13579 (redisplay_frame): call update_frame_gutter_geometry outside of
13582 * gutter.h: declare update_frame_gutter_geometry.
13584 * redisplay.h: declare redisplay_frame.
13586 * gutter.c (update_frame_gutter_geometry): move geometry changes
13587 in update_frame_gutters here. Geometry changes can only occur
13588 outside of redisplay.
13589 (update_frame_gutters): remove geometry change code.
13590 (Fredisplay_gutter_area): make sure that we are in display when we
13591 update and that we have flushed any size changes.
13593 2000-03-11 Andy Piper <andy@xemacs.org>
13595 * alloc.c (pdump_dump_data): remove i & count shadows.
13597 2000-02-27 Mike Alexander <mta@arbortext.com>
13599 * sysdep.h: Declare pdump_read_file
13601 * sysdep.c (pdump_read_file): New function
13603 * alloc.c (pdump_load): Call pdump_read_file to get the portable
13606 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13608 * lrecord.h: add `lrecord_type_pgsetenv'.
13610 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
13612 * symsinit.h: declare (vars|syms)_of* functions.
13613 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
13615 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
13617 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
13619 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
13622 * emacs.c (main_1): Call postgres initialization code.
13624 * postgresql.h: New file. PostgreSQL RDBMS support.
13625 * postgresql.c: New file.
13627 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13629 * redisplay-output.c (redisplay_output_display_block): Disable
13632 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13634 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
13635 (Fcanna_henkan_next): Ditto.
13636 (Fcanna_bunsetu_henkou): Ditto.
13637 (Fcanna_henkan_kakutei): Ditto.
13638 (Fcanna_henkan_end): Ditto.
13639 (Fcanna_henkan_quit): Ditto.
13640 (Fcanna_henkan_next): Set retun value correctly.
13641 (c2mu): Use unsigned char instead of signed char.
13643 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13645 * emacs.c (main_1): Always call syms_of_gui.
13646 * inline.c: include gui.h
13648 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13650 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
13651 converted to Lisp_Object.
13652 (Qtop_bottom): New variable.
13653 (syms_of_redisplay): Initialize it.
13654 * redisplay.h (Vvisible_bell): Ditto.
13655 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
13656 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
13657 only flash top and bottom.
13659 2000-03-08 Andy Piper <andy@xemacs.org>
13661 * buffer.c (Frename_buffer): record new buffer name the right way.
13663 2000-03-08 Andy Piper <andy@xemacs.org>
13665 * glyphs.c (update_subwindow): increase hash depth so that widget
13666 items get picked up properly.
13668 * redisplay-output.c (compare_runes): increase hash depth so that
13669 widget items get picked up properly.
13671 2000-03-08 Andy Piper <andy@xemacs.org>
13673 * gutter.c (output_gutter): add some debug.
13675 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
13676 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
13677 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
13679 * redisplay-output.c (compare_runes): use display_hash to
13680 determine if glyphs really are not the same.
13682 * glyphs.c (update_subwindow): check display_hash to see if
13683 anything really needs to be updated. If not then do
13684 nothing. Record the display_hash after updating.
13685 (image_instance_equal): compare the image_instance face also.
13687 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
13689 * redisplay.h: Fix comment style.
13691 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
13693 * consle-msw.h (struct mswindows_frame):
13694 Added new member paint_pending to indicate whether a WM_PAINT
13695 magic event has been queued for this frame.
13697 * event-msw.c (mswindows_drain_windows_queue):
13698 Don't queue a WM_PAINT magic event if one is already queued.
13699 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
13701 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
13703 2000-03-07 Didier Verna <didier@xemacs.org>
13705 * dired.c: #include `regex.h' after `sysfile.h'.
13707 2000-03-06 Martin Buchholz <martin@xemacs.org>
13709 * sound.c (init_nas_sound): Fix compiler warning.
13711 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
13713 (MARK_STRUCT_AS_FREE):
13714 (MARK_STRUCT_AS_NOT_FREE):
13715 Make `gcc -fstrict-aliasing' work properly.
13717 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
13719 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
13720 (mswindows_delete_device): Call CoUnnitialize().
13722 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
13724 2000-02-25 <CraigL@DyCon.com>
13726 * process-nt.c: MinGW now has <shellapi.h>, but still needs
13729 * sysdep.c: This extern declaration for environ prevents MinGW
13730 from finding the variable in CRTDLL.DLL.
13732 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
13734 (SHGFI_EXETYPE): ..
13735 (WM_MOUSEWHEEL): ..
13736 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
13738 (MMRESULT): Removed, now defined in cygwin's windows headers.
13740 (uid_t,gid_t,pid_t,ssize_t): ..
13741 (_timeb): Removed, MinGW defines both _timeb and timeb.
13742 (HAVE_H_ERRNO): Added.
13743 (HAVE_TZNAME): Added, configure is not detecting this.
13745 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
13747 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
13748 * syntax.c (syntax_match): Use it.
13750 * cmds.c: Import auto-fill-chars from FSF Emacs.
13751 (Vauto_fill_chars): New variables.
13752 (internal_self_insert): Check Vauto_fill_chars.
13754 Declare auto-fill-chars as a Lisp variable and initialize it.
13756 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
13758 * fileio.c (Fmake_symbolic_link):
13760 Run handlers even if local machine doesn't have symlinks.
13762 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
13764 * event-msw.c (mswindows_drain_windows_queue):
13765 Don't generate paint magic events for non-XEmacs frames.
13767 2000-03-05 Andy Piper <andy@xemacs.org>
13769 * redisplay.c (redisplay_frame): generate_displayable_area and
13770 friends assumes that we are not in GC, we therefore have to make
13771 sure that this doesn't happen.
13773 * gutter.c (calculate_gutter_size): generate_displayable_area
13774 assumes that we are not in GC, we therefore have to make sure that
13775 this doesn't happen.
13777 2000-03-05 Martin Buchholz <martin@xemacs.org>
13779 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
13781 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13783 * redisplay.c (regenerate_window): Make sure we set a sane value
13784 for end_pos even if we jump out of the loop.
13785 (regenerate_window): Answer Ben's question :-).
13786 (start_end_of_last_line): Add may_error argument.
13787 (start_of_last_line):
13788 (end_of_last_line): Pass may_error = 0.
13789 (end_of_last_line_may_error): New function.
13790 (pixel_to_glyph_translation): Use it, so we don't crash in
13793 2000-03-04 Andy Piper <andy@xemacs.org>
13795 * window.h (struct window): add gutter_extent_modiff.
13797 * window.c (allocate_window): zero out gutter_extent_modiff.
13799 * redisplay.h: declare sync_display_line_structs.
13801 * redisplay.c (add_glyph_rune): add a better comment.
13803 * redisplay-output.c (sync_display_line_structs): made non-static.
13804 (compare_runes): remove unneccesary glyph cachel access.
13806 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
13808 * gutter.c (output_gutter): don't output the gutter if extent
13809 changes only involve extents in buffers. use 4 sets of display
13811 (gutter_extent_signal_changed_region_maybe): new function. Mark
13812 extents in gutters as changed.
13813 (update_frame_gutters): use 4 sets of display lines.
13814 (reset_gutter_display_lines): ditto.
13815 (free_frame_gutters): ditto.
13816 (redraw_exposed_gutter): force output of gutters.
13818 * frame.h (struct frame): add 4 sets of gutter display lines.
13820 * extents.c: (extent_changed_for_redisplay): signal changes to
13821 extents in strings in the gutter as well as extents in buffers.
13823 2000-03-02 Andy Piper <andy@xemacs.org>
13825 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
13827 * frame.c (Fmake_frame): make sure the gutters get initialized
13828 after the frame is visible.
13829 (set_frame_selected_window): re-arrange compilation macros a
13831 (change_frame_size_1): mark gutters changed.
13833 * device.c (Fset_device_class): mark gutters changed.
13835 2000-03-01 Andy Piper <andy@xemacs.org>
13837 * window.c (window_top_frame_gutter_height): deleted.
13838 (window_bottom_frame_gutter_height): ditto.
13839 (window_left_frame_gutter_height): ditto.
13840 (window_right_frame_gutter_height): ditto.
13841 (window_top_gutter_height): don't use them.
13842 (window_bottom_gutter_height): ditto.
13843 (window_left_gutter_width): ditto.
13844 (window_right_gutter_width): ditto.
13845 (Fsplit_window): ditto.
13846 (Fwindow_pixel_edges): don't use border dimensions here.
13848 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
13849 (update_scrollbar_instance): ditto.
13851 * redisplay.c (generate_modeline): don't take gutters into account.
13852 (generate_modeline): ditto.
13853 (redisplay_frame): small gutter display optimization.
13855 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
13857 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
13858 gutters into account.
13860 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
13861 for window position and type.
13863 * gutter.c (get_gutter_coords): fix for frame gutters.
13864 (update_frame_gutters): update frame geometry if the gutters have
13866 (init_frame_gutters): record current gutter geometries.
13868 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
13870 (mswindows_widget_instantiate): ditto.
13872 * frame.h (struct frame): add current_gutter_bounds.
13874 * frame.c (change_frame_size_1): position window and minibuffer
13875 appropriately taking into account the frame gutters.
13877 * frame-x.c: (x_initialize_frame_size): take into account the
13880 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
13882 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
13884 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
13886 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
13888 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13890 * file-coding.c (reset_decoding_stream): Clear previous
13891 detection state when autodetect.
13893 2000-02-29 Didier Verna <didier@xemacs.org>
13895 * extents.c (set_extent_glyph_1): don't require extents to be
13898 2000-02-27 Andy Piper <andy@xemacs.org>
13900 * gutter.c (Fset_default_gutter_position): don't default left and
13901 right gutter visibility to t.
13902 (Fset_default_gutter_position): run
13903 default-gutter-position-changed-hook.
13904 (syms_of_gutter): add default-gutter-position-changed-hook.
13906 2000-02-26 Andy Piper <andy@xemacs.org>
13908 * specifier.c (Fmake_specifier): add gutter references.
13910 * gutter.h (RAW_WINDOW_GUTTER): new macro.
13912 * lisp.h: declare Fvalid_plist_p.
13914 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
13916 (default_gutter_visible_p_changed_in_window): invalidate gutter as
13917 well as its visibility so that it gets reconstructed.
13918 (construct_window_gutter_spec): new function. Construct a string
13919 to be displayed in the gutter from a plist of strings. Take care
13920 to only use elements that are declared as visible.
13921 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
13923 (gutter_validate): allow plists of strings in the specifier.
13924 (gutter_specs_changed): construct the real_gutter from the gutter
13925 specs using construct_window_gutter_spec.
13926 (gutter_visible_validate): gutter-visible is a new specifier type.
13927 (Fgutter_visible_specifier_p): new function for the new specifier.
13928 (syms_of_gutter): declare gutter-visible and
13929 Fgutter_visible_specifier_p.
13930 (specifier_type_create_gutter): intitalize new gutter-visible
13932 (reinit_specifier_type_create_gutter): ditto.
13933 (specifier_vars_of_gutter): use new specifier type for gutter
13935 (init_frame_gutters): construct real_gutter correctly.
13936 (Fgutter_specifier_p): beef up documentation.
13937 (Fgutter_size_specifier_p): ditto.
13939 * winslots.h: add real_gutter slots.
13941 2000-02-25 Andy Piper <andy@xemacs.org>
13943 * device-msw.c: Be kind to older cygwin versions. From Raymond
13944 Toy <toy@rtp.ericsson.se>.
13946 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
13947 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
13949 2000-02-25 Martin Buchholz <martin@xemacs.org>
13951 * elhash.c (MARK_OBJ): Practice macro hygiene.
13953 2000-02-24 Martin Buchholz <martin@xemacs.org>
13955 * miscplay.c: s/__inline__/inline/g;
13956 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
13957 (get_device_compdc): INLINE ==> static inline
13958 * *.[ch]: Change INLINE to INLINE_HEADER globally.
13959 find -name '*.h' | \
13960 xargs global-replace \
13961 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
13963 2000-02-25 Andy Piper <andy@xemacs.org>
13965 * window.c (window_top_frame_gutter_height): new function.
13966 (window_top_window_gutter_height): ditto.
13967 (window_top_gutter_height): use them.
13968 (window_bottom_frame_gutter_height): new function.
13969 (window_bottom_window_gutter_height): ditto.
13970 (window_bottom_gutter_height): use them.
13971 (window_left_window_gutter_width): new function.
13972 (window_left_frame_gutter_width): ditto.
13973 (window_left_gutter_width): use them.
13974 (window_right_window_gutter_width): new function.
13975 (window_right_frame_gutter_width): ditto.
13976 (window_right_gutter_width): use them.
13977 (window_pixel_height): new function. calulate window pixel height
13978 with frame gutter involvement.
13979 (Fsplit_window): calculate new sizes taking frame gutters into
13981 (window_char_height_to_pixel_height): don't include frame gutters.
13982 (window_char_height): use window_pixel_height.
13983 (window_pixheight): rename from window_pixel_height.
13984 (change_window_height): use it.
13985 (window_pixel_height_to_char_height): don't include frame gutters.
13986 (window_char_width_to_pixel_width): ditto.
13988 2000-02-25 Andy Piper <andy@xemacs.org>
13990 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
13993 2000-02-24 Martin Buchholz <martin@xemacs.org>
13995 * alloc.c (staticpro):
13996 (staticpro_nodump):
14001 (compact_string_chars):
14002 (pdump_dump_wired):
14003 Convert: if (foo) abort(); ==> assert (! foo);
14005 * eldap.c (Fldap_search_basic):
14009 Fix compiler warnings, and possible crashes if (random) return
14010 value were to be used.
14012 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14014 * device-msw.c: Workaround ResetDC failure.
14016 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
14017 applying a devmode.
14019 * redisplay-msw.c (get_frame_dc): Added start_page_p.
14020 (mswindows_text_width): Do not start printer page.
14022 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
14024 * glyphs-msw.c: Added image methods to msprinter console and
14025 msprinter-specific image instantiation.
14027 2000-02-20 Mike Alexander <mta@arbortext.com>
14029 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
14030 to avoid crashes when selection-sets-clipboard is on
14031 (mswindows_own_selection): ditto
14033 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14036 * redisplay-msw.c (get_frame_dc):
14037 (get_frame_compdc):
14039 * device-msw.c (mswindows_init_device):
14040 (mswindows_delete_device):
14041 (msprinter_init_device):
14042 (msprinter_delete_device):
14043 * frame-msw.c (mswindows_init_frame_1):
14044 (mswindows_delete_frame):
14045 (msprinter_init_frame_3):
14046 (msprinter_delete_frame): Move compatible DC to device object from
14047 frame object, for both mswindows and msprinter. Only one at a time
14048 is needed, it is a real waste to have one per frame!
14050 2000-02-23 Andy Piper <andy@xemacs.org>
14052 * glyphs.c: add dynamic width and height elements.
14053 (image_instance_equal): ditto.
14055 * glyphs-widget.c (widget_query_geometry): calculate width and
14056 height dynamically if required.
14057 (initialize_widget_image_instance): initialize dynamic dimensions.
14058 (widget_instantiate): pick-up dynamic dimensions.
14060 * glyphs.h (struct Lisp_Image_Instance): add width and height for
14061 dynamic determination. Add appropriate macros.
14063 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
14065 (WINDOW_GUTTER_SIZE): ditto.
14066 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
14068 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
14070 (get_frame_dc): ditto.
14072 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
14075 2000-02-23 Martin Buchholz <martin@xemacs.org>
14077 * XEmacs 21.2.31 is released.
14079 2000-02-22 Ben Wing <ben@xemacs.org>
14081 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
14083 2000-02-22 Andy Piper <andy@xemacs.org>
14085 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
14087 2000-02-21 Mike Sperber <mike@xemacs.org>
14091 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
14094 2000-02-21 Mike Sperber <mike@xemacs.org>
14096 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
14098 2000-02-21 Martin Buchholz <martin@xemacs.org>
14100 * XEmacs 21.2.30 is released.
14102 2000-02-20 Martin Buchholz <martin@xemacs.org>
14104 Performance hacking.
14106 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
14107 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
14108 * emacs.c (main_1):
14110 * console.c (DEFVAR_CONSOLE_LOCAL_1):
14111 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
14112 * symeval.h (DEFVAR_SYMVAL_FWD):
14113 * symbols.c (guts_of_unbound_marker):
14114 Make all c_readonly objects also lisp_readonly and marked for life.
14115 * lrecord.h (struct lrecord_implementation):
14116 Document flags better.
14117 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
14118 * lrecord.h (DECLARE_LRECORD):
14119 * lrecord.h (XSETRECORD):
14120 * lrecord.h (RECORDP):
14121 * lrecord.h (RECORD_TYPEP):
14122 * lrecord.h (RECORD_MARKER): New.
14123 * lrecord.h (error_check_*):
14124 * lrecord.h (CONCHECK_NONRECORD):
14125 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
14126 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
14127 * lrecord.h (set_lheader_implementation):
14128 * lrecord.h (enum lrecord_type): New.
14129 * symeval.h (SYMBOL_VALUE_MAGIC_P):
14130 * alloc.c (disksave_object_finalization_1):
14131 * alloc.c (mark_object):
14132 * alloc.c (lrecord_type_index):
14133 * alloc.c (tick_lcrecord_stats):
14134 * alloc.c (Fgarbage_collect):
14135 * alloc.c (init_alloc_once_early):
14136 * alloc.c (pdump_load):
14137 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
14138 * alloc.c (lrecord_type_index): Delete.
14139 Make lisp object type indexes be constant.
14140 Makes (byte-compile) 5% faster.
14141 Put all marker functions into their own array.
14142 Makes (garbage-collect) 5% faster.
14143 Optimize SYMBOL_VALUE_MAGIC_P.
14144 Makes (byte-compile) 2-3% faster.
14145 * config.h.in (gc_checking_assert): New.
14146 * alloc.c: Use gc_checking_assert().
14147 * .dbxrc: Make compatible with new object type implementation.
14148 * .gdbinit: Make compatible with new object type implementation.
14149 * alloc.c: Delete all symbols defined only for debugging, such as
14150 Lisp_Type_Vector and lrecord_charset.
14152 2000-02-21 Andy Piper <andy@xemacs.org>
14154 * gui-msw.c (Fmswindows_shell_execute): fix file location
14157 * buffer.c (Fkill_buffer): remove buffer from alist buffer
14158 unshowing so that set_window_buffer doesn't undo
14159 kill_buffer_hook's hard work.
14161 * glyphs-widget.c (tab_control_query_geometry): don't count the
14162 first item when calculating geometry.
14164 * glyphs.c (map_subwindow): remove redundant code.
14165 (update_frame_subwindows): be more circumspect about when to
14168 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
14169 when items haven't changed. Update faces if faces have changed as
14170 well as just the widget face.
14171 (x_tab_control_update): Update faces if faces have changed as well
14172 as just the widget face.
14174 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14176 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
14178 (build_syscolor_string): Use mswindows_color_to_string to try to
14180 (mswindows_device_system_metrics): Reverse the foreground and
14181 background colors so that they match the documentation.
14183 * objects-msw.c: (mswindows_X_color_map): tweak some values so
14184 they match the default Windows palette.
14185 (mswindows_color_to_string): New function.
14187 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14189 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
14191 2000-02-18 Olivier Galibert <galibert@pobox.com>
14193 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
14194 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
14196 * symbols.c (init_symbols_once_early): Removed obsolete
14197 DATA_SEG_BITS related kludge.
14198 (defvar_magic): Ditto.
14200 * malloc.c: Removed obsolete DATA_SEG_BITS
14202 * mem-limits.h: Ditto.
14204 * Makefile.in.in: Removed obsolete HAVE_SHM
14207 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14209 * device-msw.c (mswindows_delete_device): Free DDE string
14212 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14214 * keymap.c (get_keyelt):
14215 * unexnt.c (unexec):
14216 * vm-limit.c (memory_warnings):
14217 * ntheap.c (recreate_heap):
14218 * ntheap.h (UNINIT_PTR):
14219 * select-msw.c (Fmswindows_get_clipboard):
14220 (Fmswindows_set_clipboard):
14221 * objects-msw.h (MSWINDOWS_BAD_HFONT):
14223 * menubar-msw.c (displayable_menu_item):
14225 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
14226 * sysdep.c (sys_subshell):
14227 * process-nt.c (nt_create_process):
14228 * nt.c (normalize_filename):
14229 (dostounix_filename):
14230 (unixtodos_filename):
14231 * ntproc.c (win32_executable_type):
14232 * ntplay.c (play_sound_data_1):
14234 * editfns.c (get_home_directory):
14235 * event-msw.c (struct winsock_stream):
14236 (mswindows_dde_callback):
14237 * device-msw.c (msprinter_init_device):
14238 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
14240 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
14241 mswindows_clear_toolbar were swapped!
14243 * objects-msw.c:(colormap_t):
14245 * emacs.c (struct standard_args): Fixed const jumble.
14247 * glyphs-widget.c (update_widget): Fixed comparison notation.
14249 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
14251 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
14252 __declspec(noreturn) syntax.
14254 2000-02-19 Martin Buchholz <martin@xemacs.org>
14256 * eldap.c (Fldap_open):
14257 (Fldap_search_basic):
14260 Use new coding system conversion macros.
14262 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14264 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
14266 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
14268 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
14269 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14271 * eldap.c (Qadd, Qreplace): New constant symbols
14272 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
14273 interruptions by XEmacs signals
14274 Remove unnecessary calls to slow_down_interrupts and
14275 speed_up_interrupts
14276 (Fldap_search_basic): Renamed from Fldap_search_internal
14277 Added new optional parameter VERBOSE that triggers the
14278 display of progress messages
14279 Remove unnecessary calls to slow_down_interrupts and
14280 speed_up_interrupts
14281 LDAP result code analysis rewritten
14282 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14283 (syms_of_eldap): Define the new symbols and functions
14286 2000-02-17 Martin Buchholz <martin@xemacs.org>
14288 * realpath.c: Determine PATH_MAX maximally portably.
14290 * insdel.c (bytecount_to_charcount): Optimize.
14291 The function used to be optimized for entirely ASCII sequences.
14292 Now it is optimized for successive characters from the same
14293 charset. This also wins big for _mostly_ ASCII sequences.
14295 * fileio.c (Ffile_truename): convert return from realpath() using
14296 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
14297 - Rewrite GCPROing slightly.
14299 * sysdep.c (sys_open): Do filename conversion, like all other
14300 sys_* functions. Fixes bug:
14301 (let ((file-name-coding-system 'iso-8859-2))
14302 (write-region x y latin2-name))
14303 ==> writes filename using internal encoding.
14305 2000-02-18 Martin Buchholz <martin@xemacs.org>
14307 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
14308 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
14309 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
14310 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
14311 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
14312 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
14313 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
14314 (CONST_IF_NOT_DEBUG): Delete.
14315 * alloc.c (this_one_is_unmarkable): Delete.
14316 (mark_object): Don't check for this_one_is_unmarkable. Use the
14317 c_readonly flag instead.
14318 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
14320 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
14322 * event-msw.c (mswindows_drain_windows_queue):
14323 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
14324 away redundant repaint events.
14326 2000-02-17 Andy Piper <andy@xemacs.org>
14328 * redisplay.h: declare mark_redisplay_structs.
14330 * redisplay.c (redisplay_window):
14331 (redisplay_frame): don't check subwindows_state_changed.
14332 (mark_redisplay): mark gutters here.
14334 * glyphs.c: (instantiate_image_instantiator): always layout if we
14335 haven't done so already.
14336 (allocate_image_instance): don't mark as dirty.
14337 (update_subwindow): bind inhibit_quit.
14339 * gutter.c (mark_gutters): new function.
14341 * glyphs-x.c (x_update_widget): Always resize to get round a
14344 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
14345 breaking absolutely everything.
14347 * gutter.h: declare mark_gutters.
14349 2000-02-16 Martin Buchholz <martin@xemacs.org>
14351 * XEmacs 21.2.29 is released.
14353 2000-02-15 Olivier Galibert <galibert@pobox.com>
14355 * fns.c (size_bit_vector): Fix computation of the size.
14357 2000-02-15 Martin Buchholz <martin@xemacs.org>
14359 * *.[ch]: Change CONST to const globally.
14360 find -name '*.[ch]' | \
14361 xargs global-replace \
14362 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
14363 - Remove vestigial references to CONST_IS_LOSING
14365 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14367 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
14368 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
14369 events instead of dispatching them directly.
14370 (mswindows_handle_paint): New function to do repainting.
14371 (mswindows_wnd_proc):
14372 (emacs_mswindows_handle_magic_event): Call above function.
14374 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14376 * objects-msw.c (mswindows_create_font_variant): Return the new
14378 (initialize_font_instance): Get font metrics from the underlined
14379 variant of the font to cope with the case where the underlined
14380 font has a bigger descent.
14382 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14384 * gui.c (gui_item_accelerator): Return the first underlined
14385 character in item name.
14387 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14389 * lisp.h: Added Qprinter.
14391 * general.c (syms_of_general): Initialized it.
14393 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
14395 (get_frame_compdc): Made inline.
14397 * console.h (struct console_methods): Added eject_page method.
14399 * frame.h: Added FRAME_DISPLAY_P and friends.
14400 Aligned backslahes in many macros in more readable fashion.
14401 Added page_number to struct frame, and an accessor macro
14404 * defice.h: Added DEVICE_DISPLAY_P and friends.
14406 * device.c (Fdevice_printer_p): Used these.
14408 * frame.c (allocate_frame_core): Initialize page number.
14409 (Fprint_job_page_number):
14410 (Fprint_job_eject_page): Implemented.
14412 * frame-msw.c (msprinter_eject_page): Added method.
14413 (msprinter_start_page): Added.
14415 * window.c (Fwindow_truncated_p): Fixed docstring.
14416 (Fwindow_last_line_visible_height): Implemented.
14418 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14420 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
14422 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14424 * syntax.c (scan_words): Always advance at least one character.
14426 2000-02-13 Andy Piper <andy@xemacs.org>
14428 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
14429 to make sure the glyph is in the cachels.
14431 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
14432 global image instance flag.
14433 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
14434 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
14436 * glyphs.c (allocate_image_instance): set dirty bits correctly.
14437 (Fset_image_instance_property): mark layout as changed.
14438 (invalidate_glyph_geometry_maybe): mark layout as changed.
14439 (glyph_width): use new NEEDS_LAYOUT macro.
14440 (glyph_ascent): ditto.
14441 (glyph_descent): ditto.
14442 (glyph_height): ditto.
14443 (image_instance_layout): mark layout as clean after laying out.
14444 (update_subwindow): don't mark layout as clean here.
14446 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
14447 should no longer be needed.
14449 * glyphs-x.c (x_update_widget): sanitize asserts.
14450 (x_finalize_image_instance): sanitize assignment to widgets.
14452 * glyphs-widget.c (widget_instantiate): don't need to clear the
14455 2000-02-13 Martin Buchholz <martin@xemacs.org>
14457 * sysdep.c (getcwd): Use standard prototype.
14458 * sysdep.h (getcwd): Use standard prototype.
14460 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
14461 (sequence, start, end).
14462 Remove redundant type checking.
14463 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
14464 view of `caller-protects') to avoid a crash where the real fix was
14467 2000-02-12 Martin Buchholz <martin@xemacs.org>
14469 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
14471 * s/sol2.h: Remove feature macro initialization.
14473 * alloc.c (alloc_lcrecord): Add more type checking assertions.
14474 (vector_hash): New. Code from internal_hash.
14476 Fix up allocation subsystem comments.
14478 * config.h.in: Add __EXTENSIONS__ for Solaris.
14480 * systime.h (EMACS_GETTIMEOFDAY): New.
14481 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
14482 Remove Solaris-specific code.
14483 Use void* for the (ignored) second arg for gettimeofday().
14485 * elhash.c (hash_table_hash): Implement it, finally.
14486 * elhash.c: Use hashcode_t.
14488 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
14489 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
14491 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
14492 * fns.c (size_bit_vector):
14493 * alloc.c (size_vector):
14494 (make_vector_internal):
14495 (make_bit_vector_internal):
14496 (sweep_bit_vectors_1):
14497 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
14499 2000-02-10 Martin Buchholz <martin@xemacs.org>
14501 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
14502 Include strings.h to avoid warnings for bzero and strcasecmp.
14504 2000-02-10 Olivier Galibert <galibert@pobox.com>
14506 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
14507 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
14509 * fns.c (size_bit_vector): New. Declare bit vectors as a
14512 2000-02-10 Olivier Galibert <galibert@pobox.com>
14514 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
14515 use a value field instead.
14516 (symbol_value_forward_forward): Use value field.
14517 (DEFVAR_SYMVAL_FWD): Use value field.
14518 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
14519 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
14520 (DEFVAR_CONST_INT): Ditto.
14521 (DEFVAR_BOOL): Ditto.
14522 (DEFVAR_CONST_BOOL): Ditto.
14523 (DEFVAR_INT_MAGIC): Ditto.
14524 (DEFVAR_BOOL_MAGIC): Ditto.
14526 * symbols.c (guts_of_unbound_marker): Use value field.
14527 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
14528 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
14530 * lisp.h: Declare dumpopaque and noninteractive1.
14532 * alloc.c (dumpopaque): Added.
14533 (pdump_dump_opaquevec): Added.
14534 (pdump): Call pdump_dump_opaquevec to dump opaque data.
14535 (pdump_load): Reload opaque data. Sync noninteractive1 with
14538 2000-02-10 Andy Piper <andy@xemacs.org>
14540 * glyphs.c (image_instance_layout): if the size changes, mark it
14543 * redisplay-output.c (redisplay_output_layout): Update the
14545 (redisplay_output_subwindow): ditto.
14547 * glyphs.c (update_subwindow): make sure we reset flags for
14548 layouts as well as everything else.
14550 * glyphs-widget.c (layout_layout): don't need to set the instances
14553 2000-02-09 Martin Buchholz <martin@xemacs.org>
14555 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
14556 not HAVE_DLOPEN, which is a lower-level thing.
14558 * .cvsignore: Ignore gmon.out
14560 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
14562 * .cvsignore: Ignore portable dumper xemacs.dmp file
14564 2000-02-09 Andy Piper <andy@xemacs.org>
14566 * redisplay-output.c (redisplay_output_layout): be more clever
14567 about when we output based on the changed flags.
14569 * glyphs.h (struct image_instantiator_methods): add update_method.
14570 (struct Lisp_Image_Instance): add changed flags. Declare new
14571 macros for manipulating them.
14573 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
14574 (image_instance_parent_glyph): find an image_instance's parent
14575 glyph or image_instance.
14576 (image_instance_layout): mark the size as changed.
14577 (set_image_instance_dirty_p): new function. mark an image
14578 instance, plus all of its parents, as dirty.
14579 (Fset_image_instance_property): use it.
14580 (Fglyph_animated_timeout_handler): use it.
14581 (update_subwindow): call update_widget and device methods for
14582 update_subwindow. Mark all changed flags as clean.
14583 (Fresize_subwindow): mark size as changed.
14585 * glyphs-x.c (x_finalize_image_instance): try and detect gc
14587 (x_update_subwindow): only resize subwindows here.
14588 (x_update_widget): new function. Update all changed properties of
14590 (x_resize_subwindow): deleted.
14591 (x_widget_set_property): deleted.
14592 (x_progress_gauge_set_property): deleted.
14593 (x_progress_gauge_update): new function. Implement recorded
14595 (x_tab_control_update): ditto.
14596 (x_tab_control_set_property): deleted.
14597 (console_type_create_glyphs_x): declare new functions.
14598 (image_instantiator_format_create_glyphs_x): ditto.
14600 * glyphs-widget.c (widget_set_property): mark text changed.
14601 (update_widget): new function. Update properties of a widget.
14602 (widget_instantiate): for layouts make sure we set their
14603 children's parent correctly.
14604 (tab_control_set_property): new function. Record changes that will
14605 take place under redisplay's control.
14606 (progress_gauge_set_property): ditto.
14607 (image_instantiator_progress_guage): declare new functions.
14608 (image_instantiator_tab_control): ditto.
14610 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
14612 (mswindows_update_widget): new function. Update all properties on
14613 a widget that have changed.
14614 (mswindows_button_update): new function. Update a button's set
14616 (mswindows_tab_control_update): new function. Update the items in
14618 (mswindows_tab_control_set_property): deleted.
14619 (mswindows_progress_gauge_update): new function. Update the
14620 progress gauge's progress.
14621 (mswindows_widget_set_property): deleted. This is all done
14622 asynchronously now.
14623 (mswindows_progress_gauge_set_property): ditto.
14624 (console_type_create_glyphs_mswindows): declare new methods.
14625 (image_instantiator_format_create_glyphs_mswindows): ditto.
14627 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
14628 (msprinter_set_frame_properties): ditto.
14630 * console.h (struct console_methods): Add update_widget_method.
14632 2000-02-09 Andy Piper <andy@xemacs.org>
14634 * gui-msw.c (Fmswindows_shell_execute): Make
14635 mswindows-shell-execute industrial strength.
14637 2000-02-08 Martin Buchholz <martin@xemacs.org>
14639 * lrecord.h: Make macro argument `props' match member function `plist'.
14642 * fns.c (Fremprop):
14643 * fns.c (Fobject_plist):
14646 Object property list frobbing cleanup.
14647 - Allow any lisp object (compared with `eq'), not just symbols, as
14648 keys in object plists.
14649 - Move symbol plist frobbing into symbols.c, where it belongs.
14650 - Move string plist frobbing into alloc.c, where it belongs.
14651 - Everything's an lrecord now, so no need to test for symbolp, etc.
14652 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
14654 * extents.c: Reorder code to remove declarations.
14656 * frame.h (store_in_alist): Remove useless declaration.
14658 2000-02-07 Martin Buchholz <martin@xemacs.org>
14660 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
14661 * config.h.in: Add HAVE_XCONVERTCASE.
14663 2000-02-07 Andy Piper <andy@xemacs.org>
14665 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
14666 it breaks many things.
14668 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14670 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
14671 actually can start a common comment type.
14672 * src/syntax.h (SYNTAX_END_P): ditto for end.
14674 2000-02-07 Martin Buchholz <martin@xemacs.org>
14676 * XEmacs 21.2.28 is released.
14678 2000-02-06 Martin Buchholz <martin@xemacs.org>
14680 * event-Xt.c (x_keysym_to_character): New.
14681 (maybe_define_x_key_as_self_inserting_character): New.
14682 (x_has_keysym): New.
14683 Auto-define all keys on the keyboard as self-insert-key.
14685 2000-02-02 Martin Buchholz <martin@xemacs.org>
14687 * menubar.c (vars_of_menubar): A small code simplification.
14689 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
14692 * ExternalClient.c:
14693 * EmacsShell-sub.c:
14696 Use consistent style for specifying X resources.
14698 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
14699 This makes (dontusethis-set-symbol-value-handler) actually usable.
14701 * lrecord.h (lrecord_decription_type):
14702 * alloc.c (pdump_register_sub):
14705 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
14706 Comply with XEmacs coding style.
14707 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
14708 args, and XD_LISP_OBJECT_ARRAY with 3 args.
14710 * keymap.c (Faccessible_keymaps):
14711 Make (accessible-keymaps map "\C-h") do the Right Thing.
14712 Make (accessible-keymaps map []) do the Right Thing.
14713 Make (accessible-keymaps map "") do the Right Thing.
14714 (check_keymap_definition_loop): New function.
14715 (keymap_store_internal): Keep luser from shooting self in foot,
14716 via (define-key ctl-x-4-map "p" global-map).
14717 Remove fullness slot from struct Lisp_Keymap, since hash tables
14719 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
14721 2000-01-30 Martin Buchholz <martin@xemacs.org>
14723 * redisplay.c (init_redisplay): Fix small memory leak.
14725 * elhash.c (pdump_reorganize_hash_table):
14726 Rename from reorganize_hash_table. Change prototype.
14727 Reuse the original memory for hentries. Save 100k.
14728 * alloc.c (PDUMP_READ): new macro.
14729 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
14730 * alloc.c: No need to #ifndef before #undef.
14732 * print.c: Allow debug_print() to print readably by modifying
14733 debug_print_readably. Use consistent variable names.
14735 * .dbxrc: Try to get things to work even if stopped in a function
14736 without source available by explicitly specifying source files.
14737 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14739 * unexnt.c (_start): Removed bogus code which caused loading heap
14740 from differrent executable file.
14741 Removed bogus assignment to _fmode, which caused inconsistencies.
14743 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14745 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
14746 Have spawnve encapsulation regard DONT_ENCAPSULATE.
14747 Do not preliminary `#define signal sigset'.
14749 * systime.h: Do not prototype environ on windows nt and cygwin,
14750 this conflicts with system header.
14752 * syssignal.h: Use correct define for WINDOWSNT
14754 * sysdep.h: Do not prototype environ on windows nt, this conflicts
14755 with system header.
14757 * sysdep.c (near start of file): Fixed commentary and rearranged
14758 ifdefs in readable order.
14759 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
14762 (end_of_data): Do not compile in if using PDUMP.
14764 * symsinit.h: Prototyped vars_of_nt().
14766 * ntproc.c (windows9x_p): Added, instead of os_subtype.
14767 (find_child_console): Use it.
14768 (sys_kill): Use it.
14770 * ntheap.h: Do not extern os_subtype.
14772 * ntheap.c (cache_system_info): Do not cache unneeded:
14773 nt_major_version, nt_minor_version and os_subtype.
14774 (recreate_heap): Do not compile in when PDUMPing.
14776 * nt.c (geteuid and friends): Use the new varibale
14777 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
14778 (init_user_info): Removed the above mentioned hackery.
14779 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
14780 stat has been fixed in the C runtime.
14781 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
14783 * file-coding.c (struct file_coding_dump): Do not define
14784 ucs_to_mule_table in the struct if not MULE.
14785 (struct struct lrecord_description fcd_description_1): Do not dump
14788 * emacs.c (main_1): Call vars_of_nt().
14789 (right before Fdump_emacs_data): Don't need lastfile if using both
14790 portabe dumper and system malloc.
14792 * alloc.c (Fmemory_limit): Conditionalized out.
14793 (pdump): Use OPEN_BINARY for the portable dump file.
14794 (pdump_load): Ditto.
14796 2000-02-02 Mike Alexander <mta@arbortext.com>
14798 * nt.c (convert_time): Set tm_isdst before calling mktime and
14799 avoid calling it at all if the compiler supports 64 bit integers.
14800 Also initialize utc_base_ft before using it.
14802 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14804 * frame.c (change_frame_size_1): Take f->internal_border_width
14805 into consideration when calculating the width of the frame.
14807 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14809 * window.c (frame_min_height):
14810 (frame_size_valid_p):
14811 (frame_pixsize_valid_p): Added.
14812 (check_frame_size): Generalized.
14814 * window.h: Prototyped the above.
14817 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
14818 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
14819 Deleted Vwin32_* and Vbinary_process_* unused variables.
14821 * device-msw.c (msprinter_init_device): Do not get printer font
14822 list; Added DEVMODE functions.
14824 * frame-msw.c: Added lots of printer code.
14826 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
14829 * console-msw.h: Added more msprinter device private slots.
14831 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14833 * event-msw.c (key_needs_default_processing_p): Added.
14834 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
14836 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14838 * glyphs.c (image_instance_layout): Mark image instance as clean
14840 (glyph_dirty_p): Removed redundant function.
14841 (invalidate_glyph_geometry_maybe): Added.
14842 (update_glyph_cachel_data): Call it.
14844 * glyphs.h: Prototyped it.
14846 * redisplay.c (add_glyph_rune): Call it.
14847 (redisplay_window): Reset glyphs cachels when frame faces have
14848 changed, thus forcing recomputation of built-in border glyphs.
14850 2000-01-30 Martin Buchholz <martin@xemacs.org>
14852 * Makefile.in.in: Make portable dumper and purify play well together.
14853 Add imperfect, but better than nothing, support for pdump.
14854 Remove xemacs.dmp when temacs is re-generated.
14855 Don't ignore errors when dumping xemacs.
14857 * symbols.c (maybe_call_magic_handler): Remove one magic number.
14859 2000-01-28 Andy Piper <andy@xemacs.org>
14861 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
14862 (setup_normal_frame): ditto.
14863 (setup_frame_without_minibuffer): ditto.
14864 (setup_minibuffer_frame): ditto.
14865 (delete_frame_internal): ditto.
14866 (Fmake_frame_invisible): ditto.
14867 (Ficonify_frame): ditto.
14869 * window.h: change Fset_window_buffer signature.
14871 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
14872 (Fset_window_buffer): allow recording of buffer if the window is
14873 the selected window.
14874 (window_loop): Use new Fset_window signature.
14876 2000-01-23 Daniel Pittman <daniel@danann.net>
14878 * config.h.in: Added template for `HAVE_ATHENA_3D'
14880 2000-01-29 Andy Piper <andy@xemacs.org>
14882 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
14884 * gutter.c (output_gutter): Don't output if the window isn't live.
14886 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14888 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
14889 of 01/12/00: Moved SetFocus back here where it belongs.
14891 2000-01-23 Andy Piper <andy@xemacs.org>
14893 * s/cygwin32.h: declare printer things.
14895 2000-01-26 Andy Piper <andy@xemacs.org>
14897 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
14900 2000-01-24 Andy Piper <andy@xemacs.org>
14902 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
14903 (mswindows_button_instantiate): Make sure glyph is a pixmap.
14905 * glyphs-widget.c (widget_instantiate): Avoid shadows.
14907 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
14909 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
14911 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
14912 (mswindows_output_display_block): Avoid local shadows.
14914 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
14915 (mswindows_enqueue_mouse_button_event): ditto.
14916 (mswindows_handle_gui_wm_command): remove declaration.
14918 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
14921 * console-msw.h: Avoid shadows.
14922 (mswindows_get_toolbar_button_text):
14923 (emacs_mswindows_create_stream_pair):
14924 (emacs_mswindows_delete_stream_pair):
14925 (mswindows_handle_toolbar_wm_command): declare.
14927 * device-msw.c (build_syscolor_string): Avoid shadows.
14929 2000-01-23 Andy Piper <andy@xemacs.org>
14931 * glyphs-widget.c (widget_instantiate): reverse the items for
14932 layouts so that children are in the expected order.
14934 2000-01-28 Martin Buchholz <martin@xemacs.org>
14936 * ralloc.c: safe_bcopy ==> memmove
14937 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
14938 * s/msdos.h: Remove BCOPY macros.
14939 * insdel.c (gap_right): Remove BCOPY conditional code.
14940 * insdel.c (gap_left): Remove BCOPY conditional code.
14941 XEmacs demands a working ANSI C compiler - hence memmove.
14943 * regex.c (regex_compile): Remove accidental use of trigraphs.
14945 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14947 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
14950 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14952 * event-msw.c (mswindows_drain_windows_queue): Added the
14954 (mswindows_need_event): Commented the call to
14955 mswindows_drain_windows_queue().
14956 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
14959 * console-msw.h: Moved a few function prototypes here from
14962 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
14963 parameter from unsigned short to unsigned long.
14964 (Fmswindows_shell_execute): Added return value.
14966 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
14968 * sysdep.c (init_system_name):
14969 process-unix.c (unix_canonicalized_host_name):
14970 Don't call freeaddrinfo() if getaddrinfo() fails.
14972 * process-unix.c (unix_open_unix_network_stream):
14973 Moved the code to get a port # into address loop.
14975 2000-01-27 Martin Buchholz <martin@xemacs.org>
14977 * buffer.c (reinit_vars_of_buffer):
14978 The right place to initialize conversion_in_dynarr and
14979 conversion_out_dynarr.
14981 * alloc.c (pdump): Use the real open() till sys_open() is functional.
14983 * process-unix.c (unix_canonicalize_host_name): Muleize.
14984 (unix_open_network_stream): Muleize.
14986 * buffer.h: Fix up prototypes for ralloc.c functions.
14988 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
14989 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
14990 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
14991 instead of gethostbyname()
14992 * process-unix.c: In unix_canonicalize_host_name() and
14993 unix_open_network_stream(), add code to use getaddrinfo()
14994 instead of gethostbyname().
14996 2000-01-27 Daniel Pittman <daniel@danann.net>
14998 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
14999 libs when built with flat Athena.
15001 2000-01-27 Martin Buchholz <martin@xemacs.org>
15003 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
15004 Use coding standards for function prototypes.
15006 2000-01-25 Martin Buchholz <martin@xemacs.org>
15008 * dialog-msw.c (push_lisp_string_as_unicode):
15009 * doc.c (unparesseuxify_doc_string):
15010 * dired.c (Fuser_name_completion_1):
15011 * dired.c (Fuser_name_all_completions):
15012 * dired.c (free_user_cache):
15013 * dired.c (user_name_completion):
15014 * console-x.c (get_display_arg_connection):
15015 * minibuf.c (clear_echo_area_internal):
15016 * minibuf.c (echo_area_append):
15017 * eldap.c (Fldap_open):
15018 * eldap.c (Fldap_search_internal):
15019 * frame-x.c (x_set_frame_text_value):
15020 * frame-x.c (x_set_frame_properties):
15021 * frame-x.c (x_create_widgets):
15022 * redisplay-tty.c (term_get_fkeys_1):
15023 * objects-x.c (x_parse_nearest_color):
15024 * objects-x.c (x_valid_color_name_p):
15025 * objects-x.c (x_initialize_font_instance):
15026 * objects-x.c (x_list_fonts):
15027 * objects-x.c (x_find_charset_font):
15028 * tooltalk.c (Fadd_tooltalk_message_arg):
15029 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
15030 * tooltalk.c (Fadd_tooltalk_pattern_arg):
15031 * process-unix.c (unix_create_process):
15032 * ntproc.c (sys_spawnve):
15033 * sound.c (Fplay_sound_file):
15034 * sound.c (Fplay_sound):
15035 * buffer.c (init_initial_directory):
15036 * buffer.c (init_buffer):
15037 * editfns.c (init_editfns):
15038 * editfns.c (Ftemp_directory):
15039 * editfns.c (Fuser_full_name):
15040 * editfns.c (uncache_home_directory):
15041 * editfns.c (get_home_directory):
15042 * editfns.c (Fuser_home_directory):
15043 * editfns.c (Fformat_time_string):
15044 * editfns.c (Fcurrent_time_string):
15045 * gui-x.c (button_item_to_widget_value):
15046 * database.c (Fopen_database):
15047 * event-Xt.c (x_to_emacs_keysym):
15048 * event-Xt.c (x_event_to_emacs_event):
15049 * event-Xt.c (describe_event_window):
15050 * event-msw.c (mswindows_wnd_proc):
15051 * glyphs-eimage.c (jpeg_instantiate):
15052 * glyphs-eimage.c (gif_instantiate):
15053 * glyphs-eimage.c (png_instantiate):
15054 * glyphs-eimage.c (tiff_instantiate):
15055 * glyphs-x.c (xbm_instantiate_1):
15056 * glyphs-x.c (x_xbm_instantiate):
15057 * glyphs-x.c (x_xface_instantiate):
15058 * glyphs-x.c (autodetect_instantiate):
15059 * glyphs-x.c (cursor_font_instantiate):
15060 * glyphs-x.c (x_widget_instantiate):
15061 * glyphs-x.c (x_widget_set_property):
15062 * glyphs-x.c (x_widget_property):
15063 * glyphs-x.c (BUILD_GLYPH_INST):
15064 * print.c (write_string_to_stdio_stream):
15065 * print.c (output_string):
15066 * print.c (Falternate_debugging_output):
15067 * print.c (Fexternal_debugging_output):
15068 * glyphs-msw.c (extract_xpm_color_names):
15069 * glyphs-msw.c (mswindows_xpm_instantiate):
15070 * glyphs-msw.c (bmp_instantiate):
15071 * glyphs-msw.c (resource_name_to_resource):
15072 * glyphs-msw.c (mswindows_resource_instantiate):
15073 * glyphs-msw.c (xbm_instantiate_1):
15074 * glyphs-msw.c (mswindows_xbm_instantiate):
15075 * glyphs-msw.c (mswindows_xface_instantiate):
15076 * glyphs-msw.c (mswindows_widget_instantiate):
15077 * glyphs-msw.c (add_tree_item):
15078 * glyphs-msw.c (add_tab_item):
15079 * glyphs-msw.c (mswindows_combo_box_instantiate):
15080 * glyphs-msw.c (mswindows_widget_property):
15081 * glyphs-msw.c (mswindows_combo_box_property):
15082 * glyphs-msw.c (mswindows_widget_set_property):
15083 * console.c (stuff_buffered_input):
15084 * objects-msw.c (mswindows_initialize_color_instance):
15085 * objects-msw.c (mswindows_valid_color_name_p):
15086 * objects-msw.c (mswindows_list_fonts):
15087 * objects-msw.c (mswindows_font_instance_truename):
15088 * bytecode.c (optimize_compiled_function):
15089 * select-x.c (symbol_to_x_atom):
15090 * select-x.c (x_atom_to_symbol):
15091 * select-x.c (hack_motif_clipboard_selection):
15092 * select-x.c (selection_data_to_lisp_data):
15093 * select-x.c (lisp_data_to_selection_data):
15094 * select-x.c (Fx_get_cutbuffer_internal):
15095 * select-x.c (Fx_store_cutbuffer_internal):
15096 * buffer.h (TO_EXTERNAL_FORMAT): New function.
15097 * buffer.h (TO_INTERNAL_FORMAT): New function.
15098 * emacs.c (make_arg_list_1):
15099 * emacs.c (make_argc_argv):
15100 * emacs.c (main_1):
15101 * emacs.c (Fdump_emacs):
15102 * emacs.c (split_string_by_emchar_1):
15107 * device-x.c (x_init_device):
15108 * device-x.c (Fx_valid_keysym_name_p):
15109 * device-x.c (Fx_get_font_path):
15110 * device-x.c (Fx_set_font_path):
15111 * glyphs.c (bitmap_to_lisp_data):
15112 * glyphs.c (pixmap_to_lisp_data):
15113 * alloc.c (make_ext_string): Use coding system arguments. Update
15115 * alloc.c (build_string):
15116 * callproc.c (child_setup):
15117 * callproc.c (init_callproc):
15118 * fileio.c (lisp_strerror):
15119 * fileio.c (directory_file_name):
15120 * fileio.c (Fexpand_file_name):
15121 * fileio.c (Ffile_truename):
15122 * fileio.c (Fsysnetunam):
15123 * fileio.c (Fdo_auto_save):
15124 * sysdep.c (sys_readdir):
15125 * tests.c: New file. Allow adding C tests.
15126 Replace GET_* macros with a more comprehensible and flexible
15127 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
15129 Any coding system can be used to do format conversion.
15130 Eliminate enum external_data_format.
15131 Eliminate convert_to_external_format.
15132 Eliminate convert_to_internal_format.
15133 Make sure file-name, keyboard, terminal, and ctext are always
15134 defined as coding systems or aliases. Make
15135 file-name-coding-system, terminal-coding-system, and
15136 keyboard-coding-system magical variables that are equivalent to
15137 defining the corresponding coding system aliases.
15139 * file-coding.c (Fcoding_system_canonical_name_p): New function.
15140 * file-coding.c (Fcoding_system_alias_p): New function.
15141 * file-coding.c (Fcoding_system_aliasee): New function.
15142 * file-coding.c (append_suffix_to_symbol): New function.
15143 * file-coding.c (dangling_coding_system_alias_p): New function.
15144 * file-coding.c (Ffind_coding_system):
15145 * file-coding.c (Fcopy_coding_system):
15146 * file-coding.c (encode_coding_no_conversion):
15147 * file-coding.c (syms_of_file_coding):
15148 * file-coding.c (vars_of_file_coding):
15149 Rewrite coding system alias code.
15150 Allow nested aliases, like symbolic links.
15151 Allow redefinition of coding system aliases.
15152 Prevent existence of dangling coding system aliases.
15154 * dired.c (Fuser_name_completion_1):
15155 * dired.c (Fuser_name_all_completions):
15156 A crash would happen if user did QUIT in the middle of building
15157 user_name_cache. Remove redundant code in mainline and unwind_protect.
15160 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
15162 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
15163 an unsigned char *. Update all callers.
15165 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15167 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
15169 2000-01-25 Martin Buchholz <martin@xemacs.org>
15171 * elhash.c (hentry_description): Use more portable definition.
15172 (resize_hash_table): Initialize new hentries using
15173 xnew_array_and_zero, thereby simplifying the code.
15175 * mule-charset.c (make_charset): Make sure entire object is
15176 initialized, to avoid Purify warnings.
15178 * alloc.c (resize_string): Fix unlikely crash with big strings.
15180 2000-01-24 Martin Buchholz <martin@xemacs.org>
15182 * realpath.c (xrealpath):
15183 Don't call getwd().
15185 2000-01-25 Martin Buchholz <martin@xemacs.org>
15187 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
15189 1999-12-28 Max Matveev <max@melbourne.sgi.com>
15191 * unexelfsgi.c (unexec): Change the way we decide which segment
15192 should be extended.
15194 Assumption that .bss section should be outside the PT_LOADable
15195 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
15196 it's present) is inside the 'data' segment. This would fail the
15197 test which was used to find a segment to grow and cover new
15198 heap. Instead of this assumption, I created another one - on IRIX
15199 the segment to grow should start below .bss and it's address
15200 should extent above the end of .bss. Once this segment is
15201 identified, it's grown to accommodate the new heap and new
15202 zero-length .bss section is added at the end of .data2.
15204 2000-01-25 Martin Buchholz <martin@xemacs.org>
15206 * eval.c (Feval): Wrong number of arguments should use original
15207 function, not the indirect_function version of it.
15209 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
15211 * glyphs-x.c (x_button_instantiate): Don't add image if
15212 it is not a pixmap.
15213 (x_locate_pixmap_file): Call Fexpand_file_name when file name
15216 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
15218 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
15220 (DEFVAR_INT_MAGIC): Ditto.
15221 (DEFVAR_BOOL_MAGIC): Ditto.
15222 * glyphs.h: Reindent backslash.
15224 2000-01-24 Martin Buchholz <martin@xemacs.org>
15226 * glyphs-widget.c (layout_query_geometry):
15227 (layout_layout): Use correct types for gheight, gwidth.
15229 2000-01-24 Martin Buchholz <martin@xemacs.org>
15231 * EmacsManager.c (QueryGeometry): Purified.
15233 2000-01-23 Martin Buchholz <martin@xemacs.org>
15235 * alloc.c (make_float): Make sure entire object is initialized, to
15236 avoid Purify warnings.
15237 (pdump_register_sub): Remove useless assignment.
15238 (pdump): Use xmalloc, not malloc.
15239 (pdump_load): Use xmalloc, not malloc.
15241 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15248 * sysdep.c: Removed redundant #include <windows.h>
15250 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15252 * frame.c (delete_frame_internal): Do not delete device when its
15253 implementation so declares.
15254 (delete_frame_internal): Set device selected frame to nil when
15255 last frame goes away.
15257 * device-msw.c (msprinter_device_system_metrics): Implemented.
15258 (mswindows_device_system_metrics): Added 'device-dpi property.
15260 * device.c: (Fdevice_printer_p): Added.
15261 Added 'offset-workspace device metric.
15263 * console.h (device_metrics): Declared DM_offset_workspace.
15265 2000-01-23 Martin Buchholz <martin@xemacs.org>
15267 * fileio.c (Ffile_truename): Remove pointless and confusing
15268 initialization of elen.
15270 * glyphs-widget.c: Compiler warning fixes.
15272 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
15274 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
15275 instead of a Lisp_Object as argument to make it consistent with
15276 the other LIVE_P macros.
15277 (CHECK_LIVE_PROCESS): New macro.
15279 * process.c: Declare Qprocess_live_p.
15280 (Fprocess_live_p): New function.
15281 (create_process): Use PROCESS_LIVE_P.
15282 (read_process_output): Ditto.
15283 (set_process_filter): Ditto.
15284 (Fdelete_process): Ditto.
15285 (kill_buffer_processes): Ditto
15286 (process_send_signal): Use CHECK_LIVE_PROCESS.
15287 (Fprocess_input_coding_system): Check whether process is still
15288 alive (fix PR#1061).
15289 (Fprocess_output_coding_system): Ditto.
15290 (Fprocess_coding_system): Ditto.
15291 (Fset_process_input_coding_system): Ditto.
15292 (Fset_process_output_coding_system): Ditto.
15294 2000-01-23 Andy Piper <andy@xemacs.org>
15296 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
15299 * glyphs.c (mark_image_instance): take into account changed
15300 image_instance format.
15301 (image_instance_equal): ditto.
15302 (image_instance_hash): ditto.
15304 * glyphs-widget.c (widget_instantiate): Incorporate layout
15305 instantiation here. Delay layout of the layout until later.
15306 (layout_instantiate): deleted.
15307 (layout_query_geometry): new function. get the geometry of a
15309 (layout_layout): layout a layout dynamically.
15310 (image_instantiator_widget): New function - splitting up
15311 image_instantiator_format_create_glyphs_widget for netwinder
15313 (image_instantiator_buttons):
15314 (image_instantiator_edit_fields):
15315 (image_instantiator_combo_box):
15316 (image_instantiator_scrollbar):
15317 (image_instantiator_progress_guage):
15318 (image_instantiator_tree_view):
15319 (image_instantiator_tab_control):
15320 (image_instantiator_labels):
15321 (image_instantiator_layout): ditto.
15322 (image_instantiator_format_create_glyphs_widget): Call preceding
15325 2000-01-22 Martin Buchholz <martin@xemacs.org>
15327 * process.c (Fset_process_coding_system):
15328 * device-x.c (Fx_keysym_hash_table):
15331 * lstream.c (Lstream_write): Return documented value, not 0.
15333 * fileio.c (directory_file_name):
15334 (Fsubstitute_in_file_name):
15335 (Fsubstitute_insert_file_contents_internal):
15336 (Fwrite_region_internal):
15341 Remove vestigial APOLLO-conditional code.
15343 2000-01-21 Martin Buchholz <martin@xemacs.org>
15345 * getpagesize.h: Add guard macros.
15346 * libsst.h: Add guard macros.
15347 * libst.h: Add guard macros.
15348 * line-number.h: Add guard macros.
15349 * ndir.h: Add guard macros.
15350 * sysfloat.h: Add guard macros.
15351 * sysfile.h: Add guard macros.
15352 * sysproc.h: Add guard macros.
15353 * syswait.h: Add guard macros.
15354 * xintrinsic.h: Add guard macros.
15355 * xintrinsicp.h: Add guard macros.
15356 * xmmanager.h: Add guard macros.
15357 * xmmanagerp.h: Add guard macros.
15358 * xmprimitive.h: Add guard macros.
15359 * xmu.h: Add guard macros.
15360 * gpmevent.h: Add copyright statement. Add guard macros.
15361 * miscplay.h: Add guard macros.
15362 * *.h: Use consistent C-standards-approved guard macro names.
15364 * opaque.c (make_opaque): Switch parameter order.
15365 * opaque.h (make_opaque): Switch parameter order.
15366 Update all callers.
15367 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
15369 * config.h.in (type_checking_assert): Added.
15370 (bufpos_checking_assert): Added.
15372 2000-01-21 Martin Buchholz <martin@xemacs.org>
15374 * alloc.c: Harmless pdump changes.
15376 - spell alignment correctly.
15377 * sysdep.c: Use countof()
15379 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15381 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
15382 initially_selected_for_input() console method, default to 0.
15383 (semi_canonicalize_console_connection): Try to delegate to
15384 canonicalize_console_connection if no such console method.
15385 (canonicalize_console_connection): Vice versa.
15386 (print_console): Do not print nil connection.
15388 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
15389 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
15390 (XDEVIMPF_FRAMELESS_OK): Added.
15391 (CONSOLE_INHERITS_METHOD): Added.
15393 * console-msw.c (mswindows_canonicalize_console_connection):
15395 (mswindows_canonicalize_device_connection): Added.
15397 * console-msw.h (struct msprinter_device): Added this struct and
15399 (mswindows_device): Made fontlist a lisp object.
15401 * device.c (semi_canonicalize_device_connection): Try to delegate
15402 to canonicalize_device_connection if no such console method.
15403 (canonicalize_device_connection): Vice versa.
15404 (print_device): Do not print nil connection.
15406 * device-msw.c (mswindows_init_device): Call InitCommonControls
15408 (mswindows_delete_device): Removed fontlist deallocation.
15409 (mswindows_mark_device): Added.
15411 * events.c (event_equal): Added abort() at unreached code.
15412 (event_hash): Ditto.
15414 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
15415 fallback tags of Windows devices.
15417 * general.c (syms_of_general): Initialized Qmsprinter.
15419 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
15420 of fallback tags of Windows devices.
15422 * lisp.h: Declared Qmsprinter.
15424 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
15426 (mswindows_list_fonts): Ditto.
15427 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
15428 that it can be used by both mswindows and msprinter devices.
15429 (initialize_font_instance): Added.
15430 (mswindows_initialize_font_instance): Use it.
15431 (msprinter_initialize_font_instance): Added.
15433 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
15434 and implementation flags check.
15435 (redisplay_without_hooks): Changed the call to the above.
15436 (Fredraw_device): Ditto.
15437 (Fredisplay_device): Ditto.
15439 * redisplay-msw.c (get_frame_dc): Implemented.
15440 (get_frame_compdc): Implemented.
15441 (many functions): Use the two functions above to get device
15442 contexts, ether for a window or a printer.
15444 2000-01-21 Olivier Galibert <galibert@pobox.com>
15446 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
15447 initialization here.
15448 (init_symbols_once_early): Call it.
15449 * emacs.c (main_1): Call it.
15450 * symsinit.h: Declare it.
15452 2000-01-19 Olivier Galibert <galibert@pobox.com>
15454 * alloc.c: Use a lrecord_header * in the backtrace instead of a
15456 (pdump_backtrace): Ditto.
15457 (pdump_register_object): Ditto. Cleanup use of the pointers.
15458 (pdump_get_entry): Abort if trying to register a null pointer.
15459 (pdump_dump_data): Cleanup types when relocating.
15460 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
15461 (pdump_dump_rtables): Remove bad casts.
15462 (pdump_load): Cleanup relocation w.r.t union type. Use a
15463 Lisp_Object instead of a EMACS_INT for the hashtable
15466 2000-01-20 Martin Buchholz <martin@xemacs.org>
15468 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
15470 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
15472 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
15474 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
15476 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15478 * faces.h (FACE_STRIKETHRU_P): Added.
15480 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
15483 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
15484 (mswindows_set_dc_font): New function, aware of font variants,
15485 separated from mswindows_update_dc.
15487 * objects-msw.h (struct mswindows_font_instance_data): Added
15490 * objects-msw.c (mswindows_finalize_font_instance): Delete all
15491 cached fonts and the data structure.
15492 (mswindows_initialize_font_instance): Added creation of font data
15494 (mswindows_print_font_instance): Print at least something.
15495 (mswindows_create_font_variant): Implemented.
15496 (mswindows_get_hfont): Implemented.
15498 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
15500 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
15501 prototyping problem with msvc.
15503 * emacs.c (main_1): added syms_of_gui_mswindows() call
15505 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
15506 syms_of_gui_mswindows() function
15508 * symsinit.h: added the prototype for syms_of_gui_mswindows()
15510 2000-01-18 Martin Buchholz <martin@xemacs.org>
15512 * XEmacs 21.2.27 is released.
15514 2000-01-18 Martin Buchholz <martin@xemacs.org>
15516 * glyphs-eimage.c (struct tiff_error_struct):
15518 (tiff_warning_func):
15519 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
15524 * unexec.c: Remove vestigial Lucid C code.
15528 * libsst.c: Ansify.
15529 Remove declarations of errno and strerror().
15531 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
15533 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
15535 2000-01-16 Martin Buchholz <martin@xemacs.org>
15537 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
15540 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15545 Change enum eol_type to eol_type_t.
15547 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15549 * gui.c (get_gui_callback): Check cons before accessing car.
15551 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15553 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
15554 (XSETSPECIFIER_TYPE): Ditto.
15556 2000-01-17 Didier Verna <didier@xemacs.org>
15558 * redisplay.c (generate_fstring_runes): compute string size in
15559 characters, not bytes.
15561 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15563 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
15565 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
15567 * print.c (print_error_message): Call print_prepare().
15569 2000-01-14 Martin Buchholz <martin@xemacs.org>
15571 * .dbxrc: Renamed from dbxrc.
15573 * events.c (event_to_character):
15574 Use `assert (foo)' instead of `if (!foo) abort()'
15576 * .gdbinit (xtype): Add documentation.
15577 * .gdbinit (check-temacs): New function.
15578 * .gdbinit (check-xemacs): New function.
15579 * dbxrc (check-xemacs): New function.
15580 * dbxrc (check-xemacs): New function.
15582 2000-01-14 Andy Piper <andy@xemacs.org>
15584 * glyphs-widget.c (widget_query_geometry): Make sure that we
15585 calculate default dimensions correctly.
15587 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15589 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
15591 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
15592 pdump_wire'd variable.
15594 * emacs.c: (main_1): Conditionalized calls to
15595 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
15597 2000-01-13 Martin Buchholz <martin@xemacs.org>
15599 * window.c (Fset_window_configuration):
15600 * sysdep.c (_start):
15601 * input-method-motif.c (res):
15602 * event-Xt.c (Xt_process_to_emacs_event):
15603 Simple compiler warning fixes.
15605 * bytecode.c (funcall_compiled_function): Use the original
15606 function symbol on the backtrace list in preference to the
15607 compiled_function object in error messages.
15609 2000-01-13 Andy Piper <andy@xemacs.org>
15611 * glyphs-x.c (update_widget_face): Make sure we update the widget
15612 background as well as foreground.
15614 2000-01-13 Andy Piper <andy@xemacs.org>
15616 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
15617 fields to subwindow.
15618 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
15619 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
15620 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15621 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15623 * glyphs-widget.c (check_valid_tab_orientation): new function.
15624 (initialize_widget_image_instance): zero orientation and
15626 (widget_instantiate): pick up orientation.
15627 (tab_control_query_geometry): return appropriate values for
15630 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
15631 appropriate creation flags for left, right and bottom tabs.
15633 * s/cygwin32.h: add tab definitions.
15635 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15637 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
15638 frame upon hiding a subwindow.
15639 (mswindows_button_instantiate): Changed the push button style to
15641 (mswindows_button_instantiate): Removed button BS_NOTIFY
15643 (mswindows_button_instantiate): Removed redundant check for
15644 a disabled gui item.
15645 (mswindows_button_instantiate): Made use of WS_TABSTOP
15646 consistent: "operable" controls (edit, button, tree, scroll) have
15647 this style, "display-only" ones (static, progress gauge) do
15648 not. This style is currently ignored by XEmacs though. Also,
15649 removed the WS_EX_CONTROLPARENT style - it is not for children,
15650 it is for their parents!
15651 (mswindows_edit_field_instantiate): Ditto.
15652 (mswindows_progress_gauge_instantiate): Ditto.
15653 (mswindows_tree_view_instantiate): Ditto.
15654 (mswindows_tab_control_instantiate): Ditto.
15655 (mswindows_scrollbar_instantiate): Ditto.
15656 (mswindows_combo_box_instantiate): Ditto.
15657 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
15658 style to the "clip" window.
15659 (mswindows_button_instantiate): Removed compilation warning by
15660 equally typing terms of the ?: operator.
15662 2000-01-12 Didier Verna <didier@xemacs.org>
15664 * redisplay.c (generate_fstring_runes): new parameter holding the
15665 last modeline-format extent.
15666 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
15667 extent, fill the glyph block with it.
15668 (generate_fstring_runes): handle these parameters.
15669 (generate_formatted_string_db): ditto.
15671 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
15672 glyphs'extents in the modeline.
15674 1999-01-11 Mike Woolley <mike@bulsara.com>
15676 * ntheap.c: Reduced the reserved heap space from 1Gb down to
15677 256Mb, as a workaround for the non-starting problem many people
15680 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15682 * console-tty.c (Fset_console_tty_output_coding_system):
15683 Force redrawing tty frame.
15685 2000-01-10 Didier Verna <didier@xemacs.org>
15687 * redisplay.c (generate_fstring_runes): fix size computation bug.
15689 2000-01-09 William M. Perry <wmperry@aventail.com>
15691 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
15693 2000-01-09 Andy Piper <andy@xemacs.org>
15695 * glyphs-msw.c: index -> i to avoid shadows.
15696 (xbm_create_bitmap_from_data): make static.
15697 (check_valid_string_or_int): deleted.
15698 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
15700 * glyphs-x.c (x_update_subwindow): remove unused args.
15702 * glyphs.c (glyph_image_instance): return the thing. Don't set the
15703 back pointer - this is done in allocate_image_instance.
15704 (query_string_font): return Qnil to make the compiler happy.
15705 (unmap_subwindow): set to ~0 to make the compiler happy.
15706 (glyph_query_geometry): comment out until used.
15707 (glyph_layout): ditto.
15709 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15711 * insdel.c (signal_after_change): Remove extraneous unbind_to().