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-03 Stephen J. Turnbull <stephen@xemacs.org>
4813 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
4815 2002-12-14 Ben Wing <ben@xemacs.org>
4817 * callint.c: Declaration error.
4819 * dumper.c (pdump_load): Warning fix.
4820 * process.c: GCPRO error.
4821 * glyphs.c (unmap_subwindow):
4822 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
4823 * event-stream.c (maybe_kbd_translate): Wrong argument to
4824 character_to_event().
4826 * alloc.c (garbage_collect_1):
4828 * emacs.c (debug_can_access_memory):
4829 * emacs.c (fatal_error_signal):
4830 * emacs.c (mswindows_handle_hardware_exceptions):
4833 * emacs.c (assert_failed):
4834 * emacs.c (syms_of_emacs):
4837 * print.c (std_handle_out_va):
4838 * print.c (write_string_to_stdio_stream):
4839 * print.c (write_fmt_string):
4840 * print.c (printing_badness):
4841 * print.c (printing_major_badness):
4842 * print.c (print_internal):
4843 * print.c (debug_print_no_newline):
4844 * print.c (debug_backtrace):
4845 Be more defensive in handling bad values when printing. Add code
4846 from trunk involving inhibit_non_essential_printing_operations.
4847 When going down or in debug_print(), don't do external conversion
4848 and such and try really, really hard when printing to avoid core
4849 dumping. Add force-debugging-signal, debug_break().
4851 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
4853 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
4854 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
4856 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
4858 * database.c: Fix open_database. Berkeley DB API has changed in
4859 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
4861 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
4863 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
4865 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
4867 * event-Xt.c (Xt_timeout):
4868 (Xt_timeout_callback):
4869 (emacs_Xt_add_timeout):
4870 (emacs_Xt_remove_timeout):
4871 (Xt_timeout_to_emacs_event):
4872 Turn completed_timeouts from a stack into a queue. Fixes
4873 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
4875 2002-11-07 Wolfram Gloger <wg@malloc.de>
4877 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
4878 * emacs.c (main): Assert that mmap'd allocation is disabled.
4880 2002-10-14 Andy Piper <andy@xemacs.org>
4882 * glyphs-widget.c (layout_query_geometry): add in fiddle
4883 factor. Include border text in width layout calculation.
4884 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
4886 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
4888 * XEmacs 21.4.10 "Military Intelligence" is released.
4890 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
4892 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
4893 using the NAS private array SoundFileInfo that no longer exists in
4894 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
4895 and earlier. This is broken for some versions between 1.5a and
4898 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
4900 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
4902 * emacs.c (shut_down_emacs): Improve crash message.
4904 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
4906 * file-coding.c (determine_real_coding_system): Check for coding
4907 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
4908 shebangs and Python PEP 263.
4910 2002-10-08 Andy Piper <andy@xemacs.org>
4912 * glyphs-widget.c (layout_query_geometry): only resize dynamically
4913 if static sizes haven't been set.
4915 2002-08-30 Mike Alexander <mta@arbortext.com>
4917 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
4920 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
4922 * callproc.c (child_setup): 21.4 doesn't have retry_close.
4924 2002-09-20 Mike Sperber <mike@xemacs.org>
4926 (This partially gets back my patch from 2002-07-20 without the
4928 * callproc.c (child_setup): Remove Ben's comment noting confusion
4929 over the file descriptors >= 3: close_process_descs() doesn't
4930 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
4931 * process-unix.c (unix_create_process): Call
4932 begin_dont_check_for_quit to inhibit unwanted interaction (and
4933 thus breaking of X event synchronicity) in the child.
4935 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
4937 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
4940 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
4942 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
4943 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
4944 the xemacs process did not exit, but looped infinitely here. This
4947 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
4949 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
4950 (find_context): Improve comments.
4952 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
4953 (re_match_2): An XCHAR_TABLE operation was missing.
4955 Many of the following changes were inspired by Andy Piper's (now
4956 obsolete) patch to make syntax-table text property lookup optional.
4960 * syntax.h (top level): Document semantics of syntax flags.
4961 * syntax.c (comstr_start, Fforward_comment): Improve comments.
4962 * syntax.c, syntax.h (top level): Document syntax cache better in
4965 [Instrument syntax caching (temporary change)]
4967 * syntax.h (enum syntax_cache_statistics_functions, struct
4968 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
4969 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
4970 * syntax.c (scan_words, Fforward_comment, scan_lists,
4971 Fbackward_prefix_characters):
4972 * font-lock.c (find_context):
4973 Use them to instrument syntax caching.
4974 * syntax.c (struct syntax_cache_statistics, scs_statistics,
4975 syntax_cache_statistics_function_names): New type and variables.
4976 * syntax.c (update_syntax_cache): Update and report statistics.
4978 [Major syntax cache optimizations]
4980 syntax.c (lookup_syntax_properties): Default off.
4982 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
4983 * syntax.c (update_syntax_cache):
4984 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
4986 [Minor syntax cache optimizations and code clarifications]
4988 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
4989 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
4990 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
4991 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
4992 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
4993 (Code clarification.)
4995 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
4996 scan_lists): Compute code from syncode, use Boolean macros instead
4997 of redundant masking operations. (Code clarification; any decent
4998 compiler can do this optimization.)
5000 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
5003 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
5004 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
5005 use F*_single_property_change instead of F*_extent_change.
5006 Currently F*_single_property_change is _much_ less efficient.
5008 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
5009 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
5010 syntax_cache.object properly, don't leave Qt or Qnil.
5011 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
5012 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
5013 tests for Qt or Qnil.
5015 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
5017 * redisplay.c (point_in_line_start_cache):
5018 * extents.c (print_extent_1):
5021 * extents.c (Fset_extent_property): Document `syntax-table' property.
5023 * extents.h (Fnext_single_property_change): EXFUN it.
5025 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5027 * search.c (clear_unused_search_regs): New static function.
5031 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
5032 Minor clarifications in comments.
5034 * regex.c (re_match_2_internal): Ensure no stale submatches.
5036 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5038 * event-Xt.c (enqueue_focus_event): Add missing prototype.
5040 2002-08-29 Jerry James <james@xemacs.org>
5042 * lisp.h: structrures -> structures.
5044 2002-06-03 Andy Piper <andy@xemacs.org>
5046 * frame.c (frame_conversion_internal): add conversion appropriate
5047 for setting frame dimensions in pixels.
5049 * console.h (struct console_methods): add device-specific widget
5052 * emacs.c (main_1): initialize glyph vars.
5054 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
5055 (handle_focus_event_2): new function. Allow focus to
5056 be set to a particular window and widget.
5057 (enqueue_focus_event): new function. Create a
5058 synthetic focus event.
5059 (emacs_Xt_handle_magic_event): call
5060 handle_focus_event_2.
5062 * frame.c (Fset_frame_pixel_height): new function. Allow
5063 pixel-based sizing. Does the right thing on character-oriented
5065 (Fset_frame_pixel_width): ditto.
5066 (Fset_frame_pixel_size): ditto.
5067 (syms_of_frame): declare.
5069 * general-slots.h: add :vertically-justify and
5070 :horizontally-justify.
5072 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
5073 (mswindows_widget_border_width): new function.
5074 (mswindows_combo_box_instantiate): set border widths.
5075 (console_type_create_glyphs_mswindows): declare.
5078 (check_valid_justification): allow vertical and horizontal
5080 (widget_border_width): new function. Call device methods.
5081 (widget_instance_border_width): ditto.
5082 (logical_unit_height): new function. Determine the height of a
5083 logical-unit. Logical units are intended to provide grid-like
5084 layout for subcontrols in a layout. If the layout is
5085 :vertically-justify top then subcontrols will be positioned on
5086 logical-unit boundaries, thus allowing adjacent subcontrols to
5088 (widget_logical_unit_height): ditto for widgets.
5089 (redisplay_widget): misc cleanup.
5090 (widget_spacing): new function. Call device specific
5091 methods. Intended to be the default gap between adjacent widgets.
5092 (widget_query_geometry): use new spacing functions to determine
5093 appropriate geometry.
5094 (initialize_widget_image_instance): initialize horizontal and
5095 vertical justification.
5096 (widget_instantiate): use logica-units where appropriate for
5097 sizing large widgets.
5098 (button_query_geometry): use widget_instance_border_width.
5099 (tree_view_query_geometry): ditto.
5100 (tab_control_query_geometry): ditto.
5101 (edit_field_query_geometry): new function.
5102 (layout_update): pick up :justify, :horizontally-justify and
5103 :vertically-justify none of which worked previously. :justify is
5104 used as a fallback for both horizontal and vertical justification.
5105 (layout_query_geometry): use logical units to size appropriately.
5106 (layout_layout): ditto.
5107 (Fwidget_logical_to_character_width): new function. Allow users to
5108 convert from logical units to characters so that frame sizes can
5109 be set appropriately.
5110 (Fwidget_logical_to_character_height): ditto.
5111 (syms_of_glyphs_widget): declare.
5112 (image_instantiator_edit_fields): add edit_field_query_geometry.
5113 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
5114 :horizontally-justify.
5115 (specifier_vars_of_glyphs_widget): new function. Declare
5116 Vwidget_border_width which is not yet used.
5118 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
5119 (x_widget_border_width): new function.
5120 (x_widget_instantiate): create a sensible name for widgets.
5121 (console_type_create_glyphs_x): declare x_widget_border_width.
5123 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
5124 (struct Lisp_Image_Instance): add :vertically-justify and
5125 :horizontally-justify.
5126 (LAYOUT_JUSTIFY_TOP): new.
5127 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
5128 (ROUND_UP): new macro. Round argument up to next integral
5131 * redisplay-output.c (redisplay_output_layout): misc formatting.
5133 * symsinit.h: declare specifier_vars_of_glyphs_widget.
5135 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
5137 * XEmacs 21.4.9 "Informed Management" is released.
5139 2002-08-19 Andy Piper <andy@xemacs.org>
5141 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
5144 * realpath.c (xrealpath): normalize drive spec also so that dir
5145 sep chars are not mixed on cygwin.
5147 2002-08-06 Jerry James <james@xemacs.org>
5149 * window.c (Fsplit_window): Count only half of the divider width
5150 against the left window when splitting horizontally.
5152 2002-06-24 Andy Piper <andy@xemacs.org>
5154 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
5155 toolbar was cleared.
5157 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
5158 function. Split out from mswindows_output_frame_toolbars.
5159 (mswindows_output_frame_toolbars): move clear pieces to
5160 mswindows_output_frame_toolbars.
5162 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
5163 out from gtk_output_frame_toolbars.
5164 (gtk_output_frame_toolbars): move clear pieces to
5165 gtk_clear_frame_toolbars.
5167 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
5168 the frame is cleared. How this ever worked before is a mystery.
5169 (x_output_frame_toolbars): Only output toolbars.
5170 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
5172 * gutter.c (update_gutter_geometry):
5173 Mark frame layout changed.
5174 (update_frame_gutter_geometry, update_frame_gutters):
5175 Respect frame_layout_changed.
5177 * console.h (struct console_methods): add
5178 clear_frame_toolbars_method.
5180 * redisplay.c (redisplay_frame): call
5181 update_frame_toolbars_geometry and re-order update_frame_toolbars.
5183 * toolbar.h: declare update_frame_toolbars_geometry.
5185 * toolbar.c (update_frame_toolbars_geometry): new function. Split
5186 out from update_frame_toolbars. Call clear_frame_toolbars.
5187 (update_frame_toolbars): only output, do not change geometry.
5189 * redisplay.c: add frame_layout_changed.
5191 * redisplay.h: add frame_layout_changed.
5192 (CLASS_RESET_CHANGED_FLAGS): set it.
5193 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
5194 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
5195 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
5197 * device.h (struct device): add frame_layout_changed.
5198 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
5200 * frame.h (struct frame): add frame_layout_changed.
5201 (MARK_FRAME_LAYOUT_CHANGED): new.
5203 2002-06-30 Mike Alexander <mta@arbortext.com>
5205 * event-msw.c (mswindows_need_event): Don't wait for a new message
5206 if the queue is not empty. Suggested by Paul Moore.
5208 2002-06-12 Andy Piper <andy@xemacs.org>
5210 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
5211 for printing on accurately.
5213 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
5215 * event-msw.c (mswindows_wnd_proc): Add a handler for the
5216 WM_ACTIVATE message. Make sure that the frame is visible if the
5217 window is visible. This seemss to fix the problem where XEmacs
5218 appears to freeze after switching desktops with certain virtual
5220 (debug_output_mswin_message): Added code to output message
5221 parameters for WM_WINDOWPOSCHANGED,
5222 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
5224 2002-05-25 Andy Piper <andy@xemacs.org>
5226 * select-x.c (vars_of_select_x): Fix docstring of
5227 x-selection-strict-motif-ownership
5229 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5231 * keymap.c (get_keymap):
5232 Add comment about do_autoload GCPROs own args.
5234 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5236 * bytecode.c (execute_optimized_program): check_opcode ifdef
5237 ERROR_CHECK_BYTE_CODE.
5239 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5241 Thanks to Ben Wing and Michael Sperber.
5243 * eval.c (Fcommand_execute):
5246 (Fmacroexpand_internal):
5247 (function_argcount):
5248 callint.c (Fcall_interactively):
5249 Add comment about do_autoload GCPROs own args.
5251 * (do_autoload): GCPRO both args as well as local Lisp_Object.
5253 * eval.c (Ffuncall): Extra braces to placate GCC.
5255 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
5257 * backtrace.h (grow_specpdl):
5259 * EmacsFrame.c (EmacsFrameSetValues):
5260 * eval.c (grow_specpdl):
5261 * ExternalShell.c (hack_event_masks_1):
5262 * glyphs-x.c (convert_EImage_to_XImage):
5263 (x_finalize_image_instance):
5264 * ralloc.c (page_size):
5266 * xgccache.c (gc_cache_hash):
5267 Fix unsigned comparison warnings.
5269 2002-07-29 Jerry James <james@xemacs.org>
5271 * lread.c (locate_file): Any nonnegative return value indicates
5272 success if MODE is nonnegative.
5274 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
5276 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
5279 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
5281 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
5283 * dumper.c (pdump_get_indirect_count):
5284 (pdump_scan_by_alignment):
5285 (pdump_dump_root_struct_ptrs):
5286 (pdump_dump_rtables):
5287 (pdump_dump_root_objects):
5289 * nas.c (WaveOpenDataForReading):
5290 * fns.c (print_bit_vector):
5291 * font-lock.c (SINGLE_SYNTAX_STYLE):
5292 * glyphs.c (check_for_ignored_expose):
5293 (find_matching_subwindow):
5295 * imgproc.c (get_histogram):
5296 * redisplay.c (point_in_line_start_cache):
5297 * redisplay-output.c (redisplay_unmap_subwindows):
5298 * symbols.c (defsymbol_massage_name_1):
5299 (defkeyword_massage_name):
5300 (deferror_massage_name_and_message):
5301 * redisplay-x.c (x_output_string):
5302 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
5303 * frame.h (struct frame):
5304 * filelock.c (current_lock_owner):
5305 * doprnt.c (emacs_doprnt_1):
5306 * lisp.h (struct Lisp_Bit_Vector):
5310 2002-02-13 Ben Wing <ben@xemacs.org>
5312 * event-stream.c (reset_key_echo):
5313 * event-stream.c (reset_this_command_keys):
5314 * event-stream.c (execute_command_event):
5315 If console is dead as a result of C-x 5 0, then post-command stuff
5316 needs to be careful and do only non-console-specific stuff.
5318 2002-07-01 Mike Sperber <mike@xemacs.org>
5320 * process-unix.c (unix_send_process): Mark coding_outstream as
5321 non-open upon SIGPIPE.
5323 * event-stream.c (Fnext_event): Reorder switch cases to something
5326 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
5328 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
5329 Don't bogusly reinitialize ascii_character property.
5331 2002-07-08 Mike Sperber <mike@xemacs.org>
5333 * process.c (Fstart_process_internal): Do error checking before we
5334 fork off the child, so the child can't muck with the state of the
5337 2002-07-08 Mike Sperber <mike@xemacs.org>
5339 * ralloc.c (init_ralloc): Allocate properly for pdump.
5341 2002-06-12 Andy Piper <andy@xemacs.org>
5343 * glyphs.c (query_string_geometry): check the string.
5345 * glyphs-widget.c (widget_logical_unit_height): cope with nil
5348 2002-06-17 Jerry James <james@xemacs.org>
5350 * sysdll.c: Remove RTLD_GLOBAL initialization.
5351 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
5353 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
5355 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
5357 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
5359 * sysdep.c (sys_rename): Make sys_rename work for the case where
5360 Windows rename sets errno to EACCES if target file exists.
5362 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
5364 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5365 Fix detection of metric units to work on Win95
5367 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
5369 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
5371 2002-04-25 Andy Piper <andy@xemacs.org>
5373 * redisplay.c (create_text_block): Remove extra comment trailer.
5375 2002-04-24 Andy Piper <andy@xemacs.org>
5377 * redisplay.c (create_text_block): Don't actually add propagation
5378 data if the line ends after we have added a glyph.
5380 2002-04-22 Andy Piper <andy@xemacs.org>
5382 * extents.c (extent_fragment_update): check for glyphs we have
5383 previously displayed.
5384 * extents.c (print_extent_1): warning removal.
5385 * extents.h: change prototype.
5386 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
5387 widths correctly for wide glyphs.
5388 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
5389 * redisplay.c (prop_type): add PROP_GLYPH.
5390 * redisplay.c (struct prop_block): add glyph type
5391 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
5392 to the propagation data.
5393 * redisplay.c (create_text_block): if there is a glyph in the
5394 propagation data use it to salt extent_fragment_update.
5395 * redisplay.c (create_string_text_block): ditto.
5397 2002-04-13 Nix <nix@esperi.demon.co.uk>
5399 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
5400 * redisplay-output.c (compare_runes): Compare them.
5401 * redisplay.c: Update copyright date.
5402 * redisplay.c (pos_data): Add need_baseline_computation field.
5403 * redisplay.c (add_glyph_rune): Update ascent, descent, and
5404 need_baseline_computation; zero yoffset. Set max_pixmap_height
5405 for all pixmaps, not just automatically positioned ones.
5406 * redisplay.c (calculate_yoffset): New, compute yoffset values.
5407 * redisplay.c (calculate_baseline): New, compute textual baseline.
5408 * redisplay.c (add_glyph_rune): Call them.
5409 * redisplay.c (create_text_block): Likewise.
5410 * redisplay.c (create_overlay_glyph_block): Likewise.
5411 * redisplay.c (add_margin_runes): Likewise.
5412 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
5414 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
5415 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
5416 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
5417 * redisplay-msw.c (mswindows_output_string): Likewise.
5418 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
5419 * redisplay-gtk.c (gtk_output_display_block): Likewise.
5420 * redisplay-x.c (x_output_display_block): Likewise.
5422 2002-03-28 Ben Wing <ben@xemacs.org>
5424 * redisplay.c: Fixed bug in redisplay
5425 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
5426 and down of the lines, since they're bigger than the line
5427 size. (It was seen most obviously when there's a horizontal scroll
5428 bar, e.g. do C-h a glyph or something like that.) The problem was
5429 that the glyph-contrib-p setting on glyphs was ignored even if it
5430 was set properly, which it wasn't until now.
5432 2002-04-24 Andy Piper <andy@xemacs.org>
5434 * lisp.h (Dynarr_end): Fix definition.
5436 2002-02-06 Adrian Aichner <adrian@xemacs.org>
5438 * redisplay.c (mark_redisplay): Remove call to
5439 update_frame_window_mirror.
5441 2001-11-15 Andy Piper <andy@xemacs.org>
5443 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
5446 2002-02-13 Andy Piper <andy@xemacs.org>
5448 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
5449 we did in fact enqueue the XM_MAPFRAME event.
5451 2002-01-15 Adrian Aichner <adrian@xemacs.org>
5453 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
5454 to fix problem switching between virtual desktops under virtuawin
5455 virtual window manager.
5457 2001-07-30 Adrian Aichner <adrian@xemacs.org>
5459 * event-msw.c: Typo fix.
5460 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
5461 magic XM_MAPFRAME event has been sent.
5463 2001-11-23 Andy Piper <andy@xemacs.org>
5465 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
5467 2001-11-21 Andy Piper <andy@xemacs.org>
5469 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
5470 mouse events outside the frame.
5472 2002-03-20 Andy Piper <andy@xemacs.org>
5474 * menubar-msw.c (mswindows_popup_menu): warning removal.
5475 * dialog-msw.c (dialog_popped_down): ditto.
5477 2001-12-11 Andy Piper <andy@xemacs.org>
5479 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
5480 * dialog-msw.c (mswindows_make_dialog_box_internal): set
5482 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
5483 * menubar-msw.c (mswindows_handle_wm_command): ditto.
5484 * menubar-msw.c (mswindows_popup_menu): ditto.
5486 2001-10-29 Andy Piper <andy@xemacs.org>
5488 * dialog-msw.c (handle_directory_dialog_box): quit if the user
5491 2002-01-03 Andy Piper <andy@xemacs.org>
5493 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
5497 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
5499 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
5500 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
5501 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5502 Detect and handle case where machine is set up for metric units
5504 2002-04-02 Andy Piper <andy@xemacs.org>
5506 * dired-msw.c (mswindows_get_files):
5507 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
5508 completely handled by XEmacs. Suggested by Thomas Vogler
5509 <mail@thomas-vogler.de>.
5511 2001-11-14 Andy Piper <andy@xemacs.org>
5513 * nt.c (REG_ROOT): change registry key to XEmacs.
5515 2002-04-27 Andy Piper <andy@xemacs.org>
5517 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
5519 2002-04-26 Andy Piper <andy@xemacs.org>
5521 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
5524 2002-03-14 Mike Alexander <mta@arbortext.com>
5526 * event-msw.c (mswindows_unwait_process): New, remove process from
5528 * process-nt.c (nt_finalize_process_data): Call
5529 mswindows_unwait_process
5530 * console-msw.h: Declare mswindows_unwait_process
5532 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
5534 * editfns.c (Fdecode_time):
5535 (Fformat_time_string):
5536 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
5537 (make_time): Warning elimination (change arg name).
5539 2001-11-24 Andy Piper <andy@xemacs.org>
5541 * window.c (Fsplit_window): Doc return type.
5543 2002-04-01 Andy Piper <andy@xemacs.org>
5545 * emacs.c (Fkill_emacs): Only output message box in interactive
5548 2002-04-26 Andy Piper <andy@xemacs.org>
5550 * config.h.in: pull in 21.5.x change to stop alloca warnings under
5553 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
5555 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
5558 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
5560 * XEmacs 21.4.8 "Honest Recruiter" is released.
5562 2002-05-07 Nix <nix@esperi.demon.co.uk>
5564 Supersedes 2002-04-17 patch.
5566 * process.h (PROCESS_LIVE_P): Use the process status as
5567 evidence of health, not the state of the input stream.
5568 (PROCESS_READABLE_P): Say if the process is readable
5569 from. (It may be dead nonetheless.)
5570 (CHECK_READABLE_PROCESS): Test for that condition.
5572 * process.c (create_process): Use PROCESS_READABLE_P.
5573 (read_process_output, set_process_filter): Likewise.
5575 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
5576 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
5578 This code is #if 0'd, this is not the time to add new functions:
5580 * process.c (Fprocess_readable_p): Report readability status.
5581 * process.c (Qprocess_readable_p): New, associated symbol...
5582 * process.c (syms_of_process): ... initialize it.
5584 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
5586 * XEmacs 21.4.7 "Economic Science" is released.
5588 2002-04-17 Nix <nix@esperi.demon.co.uk>
5590 * process.h (PROCESS_LIVE_P): Use the process status as
5591 evidence of health, not the state of the input stream.
5593 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
5595 * sysdep.c (sys_siglist): change "signum" to "signal"
5597 2001-04-21 Martin Buchholz <martin@xemacs.org>
5599 * s/darwin.h: New file.
5600 Thanks to Greg Parker <gparker@cs.stanford.edu>.
5602 2002-04-23 Andreas Jaeger <aj@suse.de>
5604 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
5605 which use lib64 for 64-bit libs.
5606 (START_FILES): Likewise.
5608 2002-02-11 Mike Sperber <mike@xemacs.org>
5611 (x_IO_error_handler):
5612 (x_init_device): Temporarily keep device in static variable
5613 `device_being_initialized' so we can recover gracefully from
5614 internal XOpenDevice failure. (XOpenDevice is documented to
5615 return NULL on failure, but sometimes calls the IO error handler
5618 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
5620 * dired.c (Ffile_name_all_completions): Change documentation --
5621 remove reference to completion-ignored-extensions.
5622 * dired.c (vars_of_dired): Change documentation for
5623 completion-ignored-extensions -- remove reference to
5624 file-name-all-completions.
5626 2002-03-06 Jerry James <james@xemacs.org>
5628 * emodules.c (emodules_load): Fix multiple loading of same module.
5630 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
5631 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
5632 RTLD_LAZY to avoid incorrect symbol binding when using nested
5633 shared libraries on Solaris.
5635 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
5637 * fileio.c (Ffind_file_name_handler): Improve docstring.
5639 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
5641 * fns.c (Fmapconcat): Improve docstring.
5643 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
5645 * device-gtk.c: Add prototype for
5646 emacs_gtk_selection_clear_event_handle.
5647 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
5648 selection. Setup signal handler for "selection_clear_event"
5649 (emacs_gtk_selection_clear_event_handle).
5651 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
5652 other applications owning the clipboard (based on
5653 x_handle_selection_clear).
5655 2001-12-23 William M. Perry <wmperry@gnu.org>
5657 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
5659 2002-01-04 Martin Buchholz <martin@xemacs.org>
5661 * keymap.c (define_key_alternate_name): Parenthesize EQ.
5663 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
5665 * XEmacs 21.4.6 "Common Lisp" is released.
5667 2001-12-16 Torsten Duwe <duwe@caldera.de>
5669 * search.c (Freplace_match): Add missing sub-expression functionality.
5671 * buffer.c (decode_buffer): Add a check for pointer type to
5672 decode_buffer, before gcc's CSE optimization reorders a
5673 dereference in front of the allow_string test.
5675 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
5677 * window.c (window_loop): Fix bug that sometimes prevented
5678 window_loop() from iterating across multiple devices. Also, at
5679 Ben's request, changed infloop-detecting code to abort() instead
5680 of silently terminating window_loop().
5682 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
5684 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
5685 * editfns.c (make_time): New function.
5686 (Fencode_time): Use it instead of wasteful_word_to_lisp.
5687 * lisp.h (make_time): Prototype and comment it.
5688 * dired.c (wasteful_word_to_lisp): Deprecate.
5689 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
5691 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
5693 * fileio.c (auto_save_1): Use current coding system, not
5696 2001-11-13 Ben Wing <ben@xemacs.org>
5699 * window.c (window_truncation_on):
5700 * window.c (syms_of_window):
5701 truncate-partial-width-windows should respect the buffer being
5702 displayed, like other redisplay vars.
5704 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
5706 * event-stream.c (Fread_key_sequence): save current buffer.
5708 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
5710 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
5712 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
5714 * alloc.c (lcrecord_stats): Add space for types defined in modules.
5716 2001-10-26 Mike Alexander <mta@arbortext.com>
5718 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
5720 2001-10-25 Andy Piper <andy@xemacs.org>
5723 * dialog-msw.c (handle_directory_proc): new function.
5724 (handle_directory_dialog_box): new fucntion.
5725 (handle_file_dialog_box): use new directory dialog support.
5726 (mswindows_make_dialog_box_internal): ditto.
5727 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
5729 (mswindows_find_frame): make global.
5730 * fileio.c (Fexpand_file_name): build fix.
5731 * general-slots.h: add Qdirectory.
5732 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
5734 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
5735 cygwin not leaving win32 paths unchanged.
5736 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
5737 cygwin runtime to do path conversion.
5738 (Fmswindows_shell_execute): fix cygwin handling of URLs.
5739 (syms_of_win32): add new function.
5740 * window.c (window_loop): build fix.
5742 2001-10-15 Andy Piper <andy@xemacs.org>
5744 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
5746 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
5748 * XEmacs 21.4.5 "Civil Service" is released.
5750 2001-04-08 Danny Colascione <qtmstr@optonline.net>
5752 * glyphs-x.c: Force buffer-tab highlight update when moving the
5753 buffer, avoiding an ugly black border, used for keyboard focus
5754 indication, on a widget that can never have keyboard focus, the
5757 2001-08-30 Daiki Ueno <ueno@unixuser.org>
5759 * process-unix.c (unix_open_multicast_group): Remove too much
5760 conversion between host and network byte order.
5762 2001-09-10 Nix <nix@esperi.demon.co.uk>
5764 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
5765 before replacing them.
5767 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
5770 * src/window.c (undedicate_windows): Use it.
5771 * src/window.h: Add prototype.
5773 2001-09-17 Ben Wing <ben@xemacs.org>
5775 * fileio.c (normalize_filename):
5776 * fileio.c (Fexpand_file_name):
5777 Fix various C++ compile errors in Andy's recent code.
5779 * callint.c (Fcall_interactively):
5780 * editfns.c (Ftemp_directory):
5781 * editfns.c (Fuser_full_name):
5782 * emacs.c (argmatch):
5783 * lread.c (locate_file_map_suffixes):
5784 * redisplay-x.c (x_ring_bell):
5785 Fix sign-compare warnings.
5787 2001-09-08 Andy Piper <andy@xemacs.org>
5789 * fileio.c (normalize_filename): copied from nt.c
5790 * (Ffile_name_directory): enable win32 paths under cygwin.
5791 * (Ffile_name_nondirectory): ditto.
5792 * (directory_file_name): ditto.
5793 * (Fexpand_file_name): ditto.
5794 * (Ffile_truename): ditto.
5795 * (Fsubstitute_in_file_name): ditto.
5796 * (Ffile_name_absolute_p): ditto.
5797 * (Ffile_readable_p): ditto.
5799 2001-09-08 Andy Piper <andy@xemacs.org>
5801 * device-msw.c (mswindows_finish_init_device): remove dde
5803 * device-msw.c (mswindows_init_dde): factor out from
5804 mswindows_finish_init_device()
5805 * device-msw.c (init_mswindows_very_early): new function
5806 initialize but don't enable dde.
5807 * emacs.c (main_1): call init_mswindows_very_early.
5809 * event-msw.c (mswindows_dde_callback): only execute when we are
5811 * symsinit.h: declare init_mswindows_very_early.
5813 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5815 [sjt: This has been in 21.5 for months with no complaints.]
5817 * console.h (struct console_methods): Added flags member.
5818 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
5819 (CONMETH_IMPL_FLAG):
5820 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
5821 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
5823 * device.c (window_system_pixelated_geometry): Use the above macros.
5825 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
5826 implememntation flag.
5827 * device.h (DEVICE_DISPLAY_P): Use it.
5829 * frame.c (delete_frame_internal): Use the above macro.
5831 * redisplay.c (redisplay_device): Use it.
5832 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
5833 (redisplay_frame): Ditto.
5835 * device-msw.c (mswindows_device_implementation_flags): Removed.
5836 (msprinter_device_implementation_flags): Removed.
5837 (console_type_create_device_mswindows): Removed references to
5838 implementation_flags methods, set implementation flags here.
5839 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
5841 * device-gtk.c (gtk_device_implementation_flags): Removed method.
5842 (console_type_create_device_gtk): Removed method declaration.
5843 Added commented out statement which semantically matches the
5844 commented out statement in the above removed method.
5846 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
5848 The attached patch fixes a few warnings.
5850 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
5851 * src/frame-gtk.c: guard against GNOME calls in GTK only
5852 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
5853 * src/select-gtk.c: prototype lisp_to_time
5855 2001-06-08 Ben Wing <ben@xemacs.org>
5857 ------ gc-in-window-procedure fixes ------
5860 * alloc.c (struct post_gc_action):
5861 * alloc.c (register_post_gc_action):
5862 * alloc.c (run_post_gc_actions):
5863 * alloc.c (garbage_collect_1):
5864 Create "post-gc actions", to avoid those dreaded "GC during window
5865 procedure" problems.
5868 Abort, clean and simple, when GC in window procedure. We want
5869 to flush these puppies out.
5872 * glyphs-msw.c (finalize_destroy_window):
5873 * glyphs-msw.c (mswindows_finalize_image_instance):
5874 Use a post-gc action when destroying subwindows.
5877 Declare register_post_gc_action().
5880 * scrollbar-msw.c (unshow_that_mofo):
5881 Use a post-gc action when unshowing scrollbar windows, if in gc.
5883 * redisplay.c (mark_redisplay):
5884 Add comment about the utter evilness of what's going down here.
5886 ------ cygwin setitimer fixes ------
5888 * Makefile.in.in (sheap_objs):
5889 * Makefile.in.in (profile_objs):
5890 * Makefile.in.in (objs):
5891 Compile profile.c only when HAVE_SETITIMER.
5893 * nt.c (mswindows_sigset):
5894 * nt.c (mswindows_sighold):
5895 * nt.c (mswindows_sigrelse):
5896 * nt.c (mswindows_sigpause):
5897 * nt.c (mswindows_raise):
5898 * nt.c (close_file_data):
5902 Move setitimer() emulation to win32.c, because Cygwin needs it too.
5905 * profile.c (Fstart_profiling):
5906 * profile.c (Fstop_profiling):
5907 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
5908 instead of just plain setitimer().
5911 * signal.c (set_one_shot_timer):
5913 Define qxe_setitimer() as an encapsulation around setitimer() --
5914 call setitimer() directly unless Cygwin or MS Win, in which case
5915 we use our simulated version in win32.c.
5918 * systime.h (struct itimerval):
5919 * systime.h (ITIMER_REAL):
5920 Prototype mswindows_setitimer() and qxe_setitimer(). Long
5921 comment about "qxe" and the policy regarding encapsulation.
5924 * win32.c (setitimer_helper_proc):
5925 * win32.c (setitimer_helper_period):
5926 * win32.c (setitimer_helper):
5927 * win32.c (mswindows_setitimer):
5928 Move setitimer() emulation here, so Cygwin can use it.
5929 Rename a couple of functions and variables to be longer and more
5930 descriptive. In setitimer_helper_proc(), send the signal
5931 using either mswindows_raise() or (on Cygwin) kill(). If for
5932 some reason we are still getting lockups, we'll change the kill()
5933 to directly invoke the signal handlers.
5935 ------ windows shell fixes ------
5939 Comments about how these two files must die.
5941 * callproc.c (init_callproc):
5942 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
5943 not just COMSPEC. (more correct and closer to FSF.) Don't
5944 force a value for SHELL into the environment. (Comments added
5945 to explain why not.)
5947 * nt.c (init_user_info):
5948 Don't shove a fabricated SHELL into the environment. See above.
5950 2001-06-01 Ben Wing <ben@xemacs.org>
5952 * Makefile.in.in (ldflags):
5953 eliminate that pesky "defaulting to 00401000" warning.
5957 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
5959 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
5960 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
5962 2001-04-24 Jerry James <james@xemacs.org>
5964 * faces.h: pass parameters to Fadd_spec_to_specifier in the
5967 2001-06-01 Ben Wing <ben@xemacs.org>
5969 * event-msw.c (debug_mswin_messages):
5970 conditionalize the messages that were causing compile errors.
5971 (if only macros could generate #ifdef statements ...)
5973 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
5975 * XEmacs 21.4.4 "Artificial Intelligence" is released.
5977 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
5979 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
5981 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
5983 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
5984 * process-unix.c (unix_canonicalize_host_name):
5985 sysdep.c (init_system_name):
5986 Use it to conditionally support IPv6 canonicalization.
5988 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
5991 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
5993 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
5995 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
5996 attempt is made to scroll when no scroll bar is available.
5998 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6000 * input-method-motif.c (XIM_delete_frame): New callback.
6001 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
6002 got deleted from 21.4.3.)
6004 2001-06-01 Ben Wing <ben@xemacs.org>
6006 * nt.c (mswindows_utime):
6007 * nt.c (close_file_data):
6008 fix off-by-one-indirection error.
6010 2001-05-29 Adrian Aichner <adrian@xemacs.org>
6012 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
6013 because set_file_times() now takes Lisp_Object path, instead of
6015 * nt.c: Include buffer.h.
6016 * nt.c (convert_from_time_t): New.
6017 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
6018 not set mtime correctly.
6019 * nt.h: Declare mswindows_utime().
6020 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
6021 path, instead of char*.
6022 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
6024 2001-05-30 Ben Wing <ben@xemacs.org>
6028 (Stephen, just take all event-msw.c patches. This includes
6029 the "iconify" fix below.)
6032 * event-msw.c (mswindows_dequeue_dispatch_event):
6033 * event-msw.c (assert):
6034 * event-msw.c (emacs_mswindows_quit_p):
6035 * event-msw.c (debug_mswin_messages):
6036 * event-msw.c (debug_output_mswin_message):
6037 * event-msw.c (vars_of_event_mswindows):
6038 Fix yet more problems with C-g handling.
6039 Implement debug-mswindows-events.
6041 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6043 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
6045 2001-05-23 Ben Wing <ben@xemacs.org>
6047 * event-msw.c (winsock_writer):
6048 * event-msw.c (winsock_closer):
6049 prior kludgy code was clobbering the buffer, thinking it was
6050 "unused" space to store an unneeded return value; instead, use
6051 the variable we've already got staring us in the face.
6053 2001-05-17 Andy Piper <andy@xemacs.org>
6055 * sysfile.h: don't assume that file attributes are boolean
6057 2001-05-23 Ben Wing <ben@xemacs.org>
6059 * device-msw.c (msprinter_init_device):
6060 signal an error rather than crash with an unavailable network
6061 printer (from Mike Alexander).
6064 * event-msw.c (struct winsock_stream):
6065 * event-msw.c (winsock_writer):
6066 * event-msw.c (winsock_closer):
6067 * event-msw.c (make_winsock_stream_1):
6068 cleanup headers. fix (hopefully) an error with data corruption
6069 when sending to a network connection.
6071 * fileio.c (Fexpand_file_name): Fix evil code that attempts
6072 to handle the ~user prefix by (a) always assuming we're referencing
6073 ourselves and not even verifying the user -- hence any file with
6074 a tilde as its first char is invalid! (b) if there wasn't a slash
6075 following the filename, the pointer was set *past* the end of
6076 file and we started reading from uninitialized memory. Now we
6077 simply treat these as files, always.
6079 * buffer.c (common_init_complex_vars_of_buffer): comment change.
6081 2001-05-19 Ben Wing <ben@xemacs.org>
6083 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
6086 * process-nt.c (vars_of_process_nt):
6087 remove unused mswindows-quote-process-args. rec for 21.4.
6089 2001-05-12 Ben Wing <ben@xemacs.org>
6091 * event-msw.c (mswindows_dde_callback):
6092 * event-msw.c (mswindows_wnd_proc):
6093 eliminate cygwin warnings.
6095 2001-05-06 Ben Wing <ben@xemacs.org>
6099 * device-msw.c (print_dialog_worker):
6100 * device-msw.c (mswindows_handle_print_dialog_box):
6101 * device-msw.c (syms_of_device_mswindows):
6102 * dialog-msw.c (mswindows_make_dialog_box_internal):
6104 implement printing the selection when it's selected.
6106 2001-05-20 Drazen Kacar <dave@arsdigita.com>
6108 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
6110 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6112 * lisp.h (EMACS_INT_MAX): This should be one bit less since
6113 EMACS_INT is signed.
6115 2001-04-15 Michael Lausch <mla@1012surf.net>
6117 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
6118 gtk_widget_request_size() to give scrollbar >0 width for
6121 2001-05-30 William M. Perry <wmperry@gnu.org>
6123 * event-gtk.c: Check for buttons as modifier keys.
6125 2001-05-25 Craig Lanning <CraigL@Knology.net>
6128 Properly find MinGW's <process.h> inside Cygwin's restructured
6129 include directories. Don't try to include <cygwin/version.h>
6130 since we are dropping support for MinGW in versions of Cygwin
6133 Drop support for MinGW in versions of Cygwin before b21.
6135 Properly find MinGW's <process.h> inside Cygwin's restructured
6136 include directories.
6138 Drop support for MinGW in versions of Cygwin before b21.
6140 Even though a.out.h is no longer detected by configure, allow
6141 MinGW to use it until we figure out how to do the job with Win32.
6143 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
6145 * syntax.c (find_start_of_comment):
6146 Fix `unbalanced parentheses' bug when dealing with mixed comment
6147 styles in c++/java/etc. mode
6149 2001-05-29 Mike Alexander <mta@arbortext.com>
6151 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
6152 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
6154 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
6156 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
6158 2001-03-31 Mike Sperber <mike@xemacs.org>
6160 * search.c (Freplace_match): Support FSF-style specification of
6161 match subexpression when applied to a buffer.
6163 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6165 * event-stream.c (is_scrollbar_event): add missing semicolon
6167 2001-05-22 Isaac Hollander <ysh@mindspring.com>
6169 * Makefile.in.in: Use TAR macro instead of hardcoding
6170 tar. Allows use of GNU tar instead of system tar
6172 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6174 * event-stream.c (is_scrollbar_event): add missing semicolon
6176 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6178 * XEmacs 21.4.3 "Academic Rigor" is released.
6180 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6182 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
6184 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
6186 * buffer.c (Vcase_fold_search): Remove obsolete
6187 comment about non ASCII case-fold-search. This
6188 bug has been fixed by case-table changes.
6190 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
6192 * event-msw.c: Restore include of events-mod.h.
6194 2001-04-22 zhaoway <zw@debian.org>
6196 * event-stream.c (is_scrollbar_event): Noop returning 0 if
6199 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
6201 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
6203 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
6205 * mule-charset.c (Fmake_charset): Add missing else.
6207 2001-04-23 Ben Wing <ben@xemacs.org>
6209 * event-msw.c (FAKE_MOD_QUIT):
6210 * event-msw.c (mswindows_dequeue_dispatch_event):
6211 * event-msw.c (mswindows_wnd_proc):
6212 * event-msw.c (emacs_mswindows_quit_p):
6213 Get critical quit working.
6215 2001-05-05 Ben Wing <ben@xemacs.org>
6219 * device-msw.c (mswindows_get_default_margin):
6220 * frame-msw.c (mswindows_size_frame_internal):
6221 * frame-msw.c (msprinter_init_frame_1):
6222 * frame-msw.c (vars_of_frame_mswindows):
6223 Change top/bottom margin defaults to 0.5 inches.
6225 2001-05-01 Martin Buchholz <martin@xemacs.org>
6227 Fix link error with gcc 3.0 on Linux.
6228 * terminfo.c (UP): Remove.
6229 * terminfo.c (BC): Remove.
6230 * terminfo.c (PC): Remove.
6231 They weren't used, and in any case, these symbols should be
6232 defined in the *library*.
6234 2001-05-03 Martin Buchholz <martin@xemacs.org>
6236 * s/aix4.h: Fix crash with xlc -O3.
6237 Improve comment explaining how -O3 works.
6239 2001-04-15 Ben Wing <ben@xemacs.org>
6242 * event-stream.c (Fnext_event):
6243 * event-stream.c (is_scrollbar_event):
6244 * event-stream.c (execute_command_event):
6245 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
6246 crash' problem. His fix introduces other problems. We filter
6247 out scrollbar events specifically, making them somewhat invisible
6248 to command-building, and not appearing in `this-command-keys'.
6249 More work is still needed (see comments in event-stream.c), but
6250 this fixes all the major problems.
6252 2001-04-20 Ben Wing <ben@xemacs.org>
6254 * .cvsignore: Added stuff for Windows.
6256 2001-04-28 Ben Wing <ben@xemacs.org>
6258 * buffer.c (Ferase_buffer):
6259 * editfns.c (buffer_insert1):
6260 * editfns.c (Finsert_before_markers):
6261 * editfns.c (Finsert_string):
6262 * editfns.c (Finsert_char):
6263 * editfns.c (Fdelete_region):
6264 * editfns.c (Fwiden):
6265 * editfns.c (Fnarrow_to_region):
6266 remove bogus lines setting zmacs_region_stays to 0.
6268 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
6270 * process-unix.c (unix_open_network_stream): If connect() fails
6271 invalidate file descriptor after closing it.
6273 2001-03-08 Mike Alexander <mta@arbortext.com>
6275 * event-msw.c (mswindows_need_event_in_modal_loop):
6276 Don't dispatch a message if we didn't get one.
6277 (mswindows_need_event):
6278 Terminate the correct process when one exits instead of the first
6279 one on Vprocess_list and look for process termination when in
6280 mswindows_protect_modal_loop.
6282 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
6284 * XEmacs 21.4.1 "Copyleft" is released.
6286 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6288 * input-method-motif.c (XIM_delete_frame): New callback.
6289 (XIM_init_frame): Register it.
6291 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6293 * XEmacs 21.4.0 "Solid Vapor" is released.
6295 2001-04-15 Ben Wing <ben@xemacs.org>
6297 * cmdloop.c (call_command_loop):
6298 Fix braino in bit-rotting code.
6300 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
6302 * extents.c (Fset_extent_endpoints): Force creation of extent info
6303 in buffer_or_string.
6305 * extents.c (process_extents_for_insertion_mapper): Correctly
6306 check for open-open zero-length extents.
6308 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6310 * lisp.h: New typedefs Memory_count, Element_count.
6313 Sign-compare warning elimination: several unsigned -> signed.
6314 Based on work by Ben Wing <ben@xemacs.org>.
6316 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
6318 * XEmacs 21.2.47 "Zephir" is released.
6320 2001-04-02 Jan Vroonhof <jan@xemacs.org>
6322 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
6324 2001-04-03 Mike Sperber <mike@xemacs.org>
6326 * search.c: Revert previous patch due because of release.
6328 2001-03-30 Ben Wing <ben@xemacs.org>
6331 Add missing killpg prototype.
6334 Add a comment about fixing problems when a new entry is added
6337 * frame-msw.c (mswindows_init_frame_1):
6338 Fix compile warnings.
6340 * menubar.c (vars_of_menubar):
6341 Provide `menu-accelerator-support' to indicate that we properly
6342 support %_ in menu specifications, so that package code can
6343 conditionalize on this (and remove %_ from menu specifications
6348 * scrollbar-msw.c (can_scroll):
6350 Fix handling of mouse wheel under Windows to follow standards --
6351 now scrolls window under pointer, not selected window.
6353 2001-03-31 Mike Sperber <mike@xemacs.org>
6355 * search.c (Freplace_match): Support FSF-style specification of
6356 match subexpression when applied to a buffer.
6358 2001-03-15 Martin Buchholz <martin@xemacs.org>
6360 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
6361 function to modify KEYMAP, so map over a copy of the hash table.
6363 2001-03-21 Martin Buchholz <martin@xemacs.org>
6365 * XEmacs 21.2.46 "Urania" is released.
6367 2001-03-20 Dan Holmsand <dan@eyebee.com>
6369 * realpath.c (xrealpath): Make file-truename work with symlinks to
6370 /cygdrive paths on cygwin. Always lowercase drive-letters on
6372 (cygwin_readlink): Don't try to find canonical filename unless
6375 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
6377 * ChangeLog: Log GTK merge.
6383 Revert gratuitous whitespace changes from GTK merge.
6385 * emacs.c: Document end of complex #ifdef @ l. 1495.
6388 2001-03-12 Andy Piper <andy@xemacs.org>
6390 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
6391 have to do likewise.
6393 2001-03-12 Andy Piper <andy@xemacs.org>
6395 * sysdep.c: we only support mingw now.
6397 2001-03-09 Andy Piper <andy@xemacs.org>
6399 * unexcw.c (copy_executable_and_dump_data_section): making approx
6400 overrun a warning only.
6402 2001-03-10 William M. Perry <wmperry@aventail.com>
6404 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
6405 satisfy Stephen's identical-after-cpp plea.
6407 2001-03-02 Ben Wing <ben@xemacs.org>
6410 * cmds.c (Fforward_char):
6414 Augment documentation of the most common motion commands to make
6415 note of the shifted-motion support.
6417 2001-03-02 Ben Wing <ben@xemacs.org>
6419 * nt.c (mswindows_fstat):
6420 * nt.c (mswindows_stat):
6421 * search.c (boyer_moore):
6422 Fix compile warnings under Windows.
6424 * sysdep.c (sys_readdir):
6425 Fix buggy filename-conversion code under Mule.
6427 2001-03-09 William M. Perry <wmperry@aventail.com>
6449 * redisplay-output.c:
6455 The Great GTK Merge.
6462 * emacs-widget-accessors.c:
6476 * native-gtk-toolbar.c:
6487 The Great GTK Merge: new files.
6489 2001-02-26 Ben Wing <ben@xemacs.org>
6491 Reapplied Lstream change.
6493 2001-02-26 Ben Wing <ben@xemacs.org>
6495 Undid the last change, since it is more controversial than I
6496 thought. It should be back in at some point soon.
6498 2001-02-25 Ben Wing <ben@xemacs.org>
6501 * callproc.c (Fold_call_process_internal):
6502 * event-msw.c (ntpipe_slurp_reader):
6503 * event-msw.c (ntpipe_shove_writer):
6504 * event-msw.c (winsock_reader):
6505 * event-msw.c (winsock_writer):
6507 * file-coding.c (detect_eol_type):
6508 * file-coding.c (detect_coding_type):
6509 * file-coding.c (determine_real_coding_system):
6510 * file-coding.c (Fdetect_coding_region):
6511 * file-coding.c (decoding_reader):
6512 * file-coding.c (decoding_writer):
6513 * file-coding.c (mule_decode):
6514 * file-coding.c (Fdecode_coding_region):
6515 * file-coding.c (encoding_reader):
6516 * file-coding.c (encoding_writer):
6517 * file-coding.c (mule_encode):
6518 * file-coding.c (Fencode_coding_region):
6519 * file-coding.c (detect_coding_sjis):
6520 * file-coding.c (decode_coding_sjis):
6521 * file-coding.c (encode_coding_sjis):
6522 * file-coding.c (detect_coding_big5):
6523 * file-coding.c (decode_coding_big5):
6524 * file-coding.c (encode_coding_big5):
6525 * file-coding.c (detect_coding_ucs4):
6526 * file-coding.c (decode_coding_ucs4):
6527 * file-coding.c (encode_coding_ucs4):
6528 * file-coding.c (detect_coding_utf8):
6529 * file-coding.c (decode_coding_utf8):
6530 * file-coding.c (encode_coding_utf8):
6531 * file-coding.c (detect_coding_iso2022):
6532 * file-coding.c (decode_coding_iso2022):
6533 * file-coding.c (encode_coding_iso2022):
6534 * file-coding.c (decode_coding_no_conversion):
6535 * file-coding.c (encode_coding_no_conversion):
6536 * glyphs-x.c (write_lisp_string_to_temp_file):
6537 * gpmevent.c (tty_get_foreign_selection):
6540 * lstream.c (Lstream_flush_out):
6541 * lstream.c (Lstream_adding):
6542 * lstream.c (Lstream_write_1):
6543 * lstream.c (Lstream_write):
6544 * lstream.c (Lstream_raw_read):
6545 * lstream.c (Lstream_read_more):
6546 * lstream.c (Lstream_read):
6547 * lstream.c (Lstream_unread):
6548 * lstream.c (Lstream_fputc):
6549 * lstream.c (stdio_reader):
6550 * lstream.c (stdio_writer):
6551 * lstream.c (filedesc_reader):
6552 * lstream.c (filedesc_writer):
6553 * lstream.c (lisp_string_reader):
6554 * lstream.c (struct fixed_buffer_stream):
6555 * lstream.c (make_fixed_buffer_input_stream):
6556 * lstream.c (make_fixed_buffer_output_stream):
6557 * lstream.c (fixed_buffer_reader):
6558 * lstream.c (fixed_buffer_writer):
6559 * lstream.c (struct resizing_buffer_stream):
6560 * lstream.c (resizing_buffer_writer):
6561 * lstream.c (dynarr_writer):
6562 * lstream.c (lisp_buffer_reader):
6563 * lstream.c (lisp_buffer_writer):
6565 * lstream.h (lstream_implementation):
6566 * lstream.h (struct lstream):
6568 * process-nt.c (nt_send_process):
6569 * process-unix.c (unix_send_process):
6571 Correct Lstream lossage due to mixing of signed and unsigned
6572 quantities. All Lstream uses of size_t and ssize_t are now a
6573 single signed data type Lstream_data_count. This fixes problems
6574 under Windows with sending large quantities of data to a process,
6575 and may well fix other subtle bugs.
6577 2001-02-23 Martin Buchholz <martin@xemacs.org>
6579 * XEmacs 21.2.45 "Thelxepeia" is released.
6581 2001-02-21 Martin Buchholz <martin@xemacs.org>
6583 * lisp-union.h (XSETINT):
6586 Reverse previous change of 2001-02-06.
6588 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
6590 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
6592 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6593 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
6594 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
6595 * regex.c (POS_AS_IN_BUFFER): removed
6596 * regex.c (re_search_2):
6597 * regex.c (re_match_2):
6598 Don't use an offset of 1 when calculating buffer positions, since
6599 `BI_BUF_BEGV' does it already.
6601 2001-02-18 Wim Dumon <wim@easics.be>
6603 * insdel.c (prepare_to_modify_buffer): Also check for
6604 supersession when clash-detection is enabled.
6606 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
6608 * regex.c (re_match_2_internal):
6609 Convert temp characters from 'const unsigned char' to 're_char'.
6610 Fix crashing bug with extended characters under mule.
6611 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
6612 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
6613 font-lock, pdump, and new syntax-table code.
6614 * syntax.c (find_start_of_comment):
6615 (find_end_of_comment):
6617 Fix crashing bugs involving moving beyond end of buffer.
6618 * syntax.c (find_start_of_comment):
6619 Fixed logic to allow proper detection of cases where the same
6620 character is used to end both a two-char comment start and a
6621 two-char comment end sequence. Fixes `(forward-comment -1)'.
6622 * syntax.c (find_start_of_comment):
6623 Return position just past last comment-end character for all cases
6624 (previously was only done for two-char comment-end sequences).
6625 * syntax.c (forward-comment):
6626 Take value returned from `find_end_of_comment', rather than
6628 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6629 Properly deal with BUFFERP (syntax_cache.object)
6631 2001-02-17 Martin Buchholz <martin@xemacs.org>
6633 * alloc.c (Fgarbage_collect):
6634 * alloc.c (make_bit_vector_from_byte_vector):
6635 -Wsign-compare-correctness.
6637 2001-02-16 Martin Buchholz <martin@xemacs.org>
6639 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
6640 (XSETCHAR): Likewise.
6641 (XSETOBJ): Likewise.
6643 2001-02-15 Martin Buchholz <martin@xemacs.org>
6645 * mule-canna.c (canna-func-delete_previous):
6646 Rename to canna-func-delete-previous.
6648 2001-02-14 Martin Buchholz <martin@xemacs.org>
6650 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
6652 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
6654 * font-lock.c (find_context): Fix C++ compile errors introduced by
6657 2001-02-13 Martin Buchholz <martin@xemacs.org>
6659 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
6660 pragma, but earlier ones barf on the same pragma.
6662 2001-02-06 Mike Sperber <mike@xemacs.org>
6664 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
6665 `configure-mule-lisp-directory'.
6667 2001-02-12 Martin Buchholz <martin@xemacs.org>
6669 Make sure dump-id.c is compiled in the same way as other .c's.
6670 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
6671 * dump-id.h: Remove.
6672 * emacs.c: Move dump-id.h into dumper.h.
6673 * dumper.h: Move dump-id.h into dumper.h.
6675 Use standard .c.o rule for building dump-id.o.
6676 Remove preprocessor flags from link command.
6677 Add dump-id.o to ${otherobjs} if PDUMP.
6679 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
6681 Port FSF 20.7 syntax table improvements.
6685 Fixups for new syntax table stuff.
6686 * dired.c: Include syntax.c.
6687 (Fdirectory_files): Initialize regex_match_object and
6689 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
6690 and Fget_char_property.
6692 Use ported FSF 20.7 syntax table improvements.
6697 2001-02-09 Martin Buchholz <martin@xemacs.org>
6699 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
6700 Unixware's enum boolean from sys/types.h.
6702 2001-02-10 Martin Buchholz <martin@xemacs.org>
6704 Fix support for building with latest Purify.
6705 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
6706 (PURIFY_FLAGS): Likewise.
6708 2001-02-09 Martin Buchholz <martin@xemacs.org>
6710 * fileio.c (lisp_string_set_file_times): New.
6711 * fileio.c (Fcopy_file): Use it.
6713 (copy-file filename non-ascii-filename t t)
6714 ==> No such file or directory, non-ascii-filename
6716 2001-02-10 Martin Buchholz <martin@xemacs.org>
6718 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
6719 USHRT_MAX seems clearer than ~0 anyways.
6721 2001-02-09 Martin Buchholz <martin@xemacs.org>
6723 dumper improvements. Inspired by Olivier.
6724 * dumper.c (pdump_max_align): New.
6725 * dumper.c (pdump_add_entry): Use pdump_max_align.
6726 * dumper.c (pdump_get_entry_list): Likewise.
6727 * dumper.c (pdump_scan_by_alignment): Likewise.
6728 Don't iterate through unnecessary alignments.
6729 * dumper.c (pdump_file_get): No need to align result of malloc().
6730 * dumper.c (pdump_mallocadr): Remove.
6731 The result of malloc() is guaranteed to be maximally aligned.
6732 * dumper.c: s/elmt/elt/g;
6733 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
6734 * dumper.c (pdump_alert_undump_object): Likewise.
6735 * dumper.c (pdump_align_table):
6736 Don't support alignments > 64.
6737 Store ALIGNOF's, not shift counts, in table.
6739 2001-02-09 Martin Buchholz <martin@xemacs.org>
6741 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
6742 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
6743 * systime.h: Use HAVE_UTIME.
6744 * sysdep.c (struct utimbuf): Remove.
6745 * sysdep.c (set_file_times): Prefer utime() to utimes().
6746 * config.h.in (HAVE_UTIME): New.
6747 * config.h.in (HAVE_UTIME_H): Remove.
6748 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
6750 2001-02-09 Martin Buchholz <martin@xemacs.org>
6752 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
6754 2001-02-08 Martin Buchholz <martin@xemacs.org>
6756 * s/irix6-0.h: Use the standard system memmove, not bcopy.
6758 2001-02-08 Martin Buchholz <martin@xemacs.org>
6760 * XEmacs 21.2.44 "Thalia" is released.
6762 2001-02-06 Martin Buchholz <martin@xemacs.org>
6764 Fixes crashes in kill-emacs on some systems.
6765 * process-unix.c (unix_kill_child_process):
6766 It's OK for kill() to fail with ESRCH.
6768 2001-02-07 Martin Buchholz <martin@xemacs.org>
6770 Contortions to make .gdbinit tricks work on most systems.
6771 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
6772 * alloc.c (dbg_valmask): Make non-const.
6773 * alloc.c (dbg_typemask): Make non-const.
6774 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
6775 * alloc.c (dbg_valbits): Make non-const.
6776 * alloc.c (dbg_gctypebits): Make non-const.
6777 * .gdbinit (decode_object): Make it work with AIX cc.
6779 2001-02-06 Martin Buchholz <martin@xemacs.org>
6781 * elhash.c (make_general_lisp_hash_table):
6782 Use simpler and more efficient calloc to clear entries.
6784 2001-02-07 Martin Buchholz <martin@xemacs.org>
6786 * window.c (window_scroll): Work around an AIX C compiler bug.
6787 Fixes 'scroll-up' does nothing problem with xlC.
6789 2001-02-05 Martin Buchholz <martin@xemacs.org>
6791 * .gdbinit: Remove obsolete comment.
6793 2001-01-31 Mike Alexander <mta@arbortext.com>
6795 * select.c (Fown_selection_internal): Set owned_p for device
6798 2001-02-01 Martin Buchholz <martin@xemacs.org>
6801 "not" cannot be used as a macro name as it is an operator in C++
6802 * config.h.in: Stop #defining `not'.
6803 * chartab.c (check_category_char): not ==> not_p
6804 * chartab.h: Likewise.
6805 * regex.c (re_match_2_internal): Likewise.
6807 2001-02-02 Martin Buchholz <martin@xemacs.org>
6809 * lisp-disunion.h: Fix up comments.
6811 2001-01-31 Martin Buchholz <martin@xemacs.org>
6813 * keymap.c (define_key_check_and_coerce_keysym):
6815 Support mouse-6 and mouse-7 bindings in the obvious way.
6817 2001-02-01 Martin Buchholz <martin@xemacs.org>
6819 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
6821 2001-01-30 Martin Buchholz <martin@xemacs.org>
6823 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
6824 Previous patch missed DEFVAR_INT_MAGIC.
6825 Make sure future DEFVAR_foo use correct types.
6826 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
6827 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
6828 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
6829 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
6830 * (DEFVAR_INT): Likewise.
6831 * redisplay.c (vertical_clip): Should be of type Fixnum.
6832 * redisplay.c (horizontal_clip): Likewise.
6833 * lisp.h (dump_add_opaque_int): New.
6834 (dump_add_opaque_fixnum): New.
6836 2001-01-29 Andy Piper <andy@xemacs.org>
6838 * glyphs-widget.c (check_valid_int_or_function): allow symbols
6839 since they can be eval'ed
6841 2001-01-29 Martin Buchholz <martin@xemacs.org>
6843 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
6844 Oops, XEmacs redefines `class'. Use `typename' instead.
6846 2001-01-28 Martin Buchholz <martin@xemacs.org>
6848 * dumper.c: Fix C++ compile errors.
6850 2001-01-29 Martin Buchholz <martin@xemacs.org>
6852 * tparam.c: Use correct prototypes.
6854 2001-01-28 Martin Buchholz <martin@xemacs.org>
6856 * sysproc.h: #include util.h for NetBSD's openpty.
6858 2001-01-27 Martin Buchholz <martin@xemacs.org>
6860 More 64-bit correctness.
6861 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
6862 Use a typedef `fixnum' for the type used for DEFVAR_INT.
6864 This finally finishes the 64-bit SGI port.
6865 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
6866 * symbols.c: Fix up comments and type casts.
6867 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
6868 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
6869 * symeval.h (Fixnum): New type.
6870 * symeval.h (symbol_value_type): Fix up comment.
6886 * mule-canna.c: A million DEFVAR_INTs here...
6887 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
6900 s/int/Fixnum/g in DEFVAR_INT declarations.
6902 2001-01-26 Martin Buchholz <martin@xemacs.org>
6904 Port pdump to SGI alignment-sensitive environment.
6905 Lisp Object sizeof methods now return aligned sizes. Rely on that.
6906 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
6908 Define and use aligned reading and writing macros.
6909 Use buffered stdio instead of posix i/o for faster dumping.
6910 Eliminate kludgy 256 byte space for header.
6911 Read and write from dump file using structs for alignment safety.
6912 * dumper.c (pdump_align_stream): New.
6913 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
6914 * dumper.c (PDUMP_READ_ALIGNED): New.
6915 * dumper.c (PDUMP_WRITE_ALIGNED): New.
6916 * dumper.c (pdump_static_Lisp_Object): New struct.
6917 * dumper.c (pdump_static_pointer): New struct.
6918 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
6919 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
6920 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
6921 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
6923 * dumper.c (pdump_backtrace):
6924 * dumper.c (pdump_get_indirect_count):
6925 * dumper.c (pdump_register_object):
6926 * dumper.c (pdump_register_struct):
6927 * dumper.c (pdump_reloc_one):
6928 * dumper.c (pdump_scan_by_alignment):
6929 * dumper.c (pdump_dump_from_root_struct_ptrs):
6930 * dumper.c (pdump_dump_opaques):
6931 * dumper.c (pdump_dump_rtables):
6932 * dumper.c (pdump_dump_from_root_objects):
6934 * dumper.c (pdump_load_finish):
6935 Use aligned reading and writing.
6937 * dumper.c (pdump_free): Make static.
6938 * dumper.c (pdump_hFile): Likewise.
6939 * dumper.c (pdump_hMap): Likewise.
6941 2001-01-26 Martin Buchholz <martin@xemacs.org>
6943 * XEmacs 21.2.43 "Terspichore" is released.
6945 2001-01-25 Martin Buchholz <martin@xemacs.org>
6947 Type fiddling for window_config.saved_windows_count
6948 * window.c (struct window_config):
6949 Make saved_windows_count member unsigned.
6950 * window.c (sizeof_window_config_for_n_windows):
6951 Make parameter unsigned.
6952 * window.c (mark_window_config):
6953 * window.c (window_config_equal):
6954 * window.c (free_window_configuration):
6955 * window.c (Fset_window_configuration):
6956 * window.c (count_windows):
6957 * window.c (Fcurrent_window_configuration):
6958 * window.c (reinit_vars_of_window):
6959 Update all callers and users.
6961 2001-01-25 Martin Buchholz <martin@xemacs.org>
6963 Alignment correctness for flexible arrays.
6964 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
6965 Make alignment-correct. Add interesting comments.
6966 * alloc.c (size_vector):
6967 * alloc.c (make_vector_internal):
6968 * alloc.c (make_bit_vector_internal):
6969 * alloc.c (sweep_bit_vectors_1):
6970 * fns.c (size_bit_vector):
6971 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
6972 * window.c (sizeof_window_config_for_n_windows):
6973 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
6975 2001-01-24 Martin Buchholz <martin@xemacs.org>
6977 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
6979 2001-01-23 Andy Piper <andy@xemacs.org>
6981 * select.c (Fown_selection_internal): pass owned_p
6983 * select-msw.c (mswindows_own_selection): New Signature.
6985 * console.h (struct console_methods): add owned_p to
6988 * select-x.c (x_own_selection): pass owned_p
6989 (hack_motif_clipboard_selection): use owned_p
6990 (vars_of_select_x): new variable -
6991 x_selection_strict_motif_ownership.
6993 2001-01-23 Martin Buchholz <martin@xemacs.org>
6995 * specifier.h (specifier_data_offset): Remove pointless parens.
6996 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
6998 2001-01-24 Martin Buchholz <martin@xemacs.org>
7000 Make Lisp_Object sizeof methods be alignment-correct.
7001 pdump must restore objects to the same alignment as the C compiler
7002 assumes. It really matters on SGIs.
7003 * lstream.c (aligned_sizeof_lstream): New.
7004 (sizeof_lstream): Use aligned_sizeof_lstream.
7005 (Lstream_new): Likewise.
7006 * opaque.c (aligned_sizeof_opaque): New.
7007 (sizeof_opaque): Use aligned_sizeof_opaque.
7008 (make_opaque): Likewise.
7009 * specifier.c (aligned_sizeof_specifier): New.
7010 (sizeof_specifier): Use aligned_sizeof_specifier.
7011 (make_specifier_internal): Likewise.
7013 2001-01-23 Martin Buchholz <martin@xemacs.org>
7015 * lstream.h (struct lstream): Use max_align_t for trailing data.
7016 * specifier.h (struct Lisp_Specifier): Likewise.
7018 2001-01-22 Martin Buchholz <martin@xemacs.org>
7020 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
7021 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
7022 (CCL_SUSPEND): Likewise.
7023 (CCL_INVALID_CMD): Likewise.
7024 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
7025 (ccl_driver): Likewise.
7026 (CCL_WRITE_CHAR): Macro hygiene.
7027 (CCL_WRITE_STRING): Macro hygiene.
7029 2001-01-22 Martin Buchholz <martin@xemacs.org>
7031 Port "portable" dumper to SunOS 4 and HP-UX.
7032 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
7033 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
7034 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
7036 2001-01-22 Martin Buchholz <martin@xemacs.org>
7038 * lisp.h (ALIGNOF): A better definition for C++.
7040 2001-01-20 Martin Buchholz <martin@xemacs.org>
7043 Fix printf warnings: int format, long int arg.
7044 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
7045 (PUSH_FAILURE_POINT): Use correct printf formats.
7046 (POP_FAILURE_POINT): Use correct printf formats.
7047 Use do {...} while (0)
7049 2001-01-20 Martin Buchholz <martin@xemacs.org>
7051 * XEmacs 21.2.42 "Poseidon" is released.
7053 2001-01-20 Martin Buchholz <martin@xemacs.org>
7055 * console-x.h: typo fix du jour. Remove #if 0'ed code.
7057 2001-01-19 Martin Buchholz <martin@xemacs.org>
7059 De-kludgify FIXED_TYPE free list frobbing.
7060 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
7061 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
7062 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
7063 * alloc.c (Lisp_Free): New pseudo lisp object definition.
7064 * alloc.c (LRECORD_FREE_P): New.
7065 * alloc.c (MARK_LRECORD_AS_FREE): New.
7066 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
7067 * alloc.c (STRUCT_FREE_P): Deleted.
7068 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
7069 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
7070 * alloc.c (STRING_CHARS_FREE_P): New.
7071 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
7072 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
7073 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
7074 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
7075 * alloc.c (resize_string): Use new definitions.
7076 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
7077 * alloc.c (verify_string_chars_integrity): Use new definitions.
7078 * alloc.c (compact_string_chars): Use new definitions.
7079 * alloc.c: Update monster comments.
7080 * lrecord.h (lrecord_type): Add some new lrecord types for
7083 2001-01-18 Martin Buchholz <martin@xemacs.org>
7085 Improve alignment hackery.
7086 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
7087 (max_align_t): Moved from opaque.h - general purpose.
7088 (ALIGN_PTR): Use size_t, not long.
7089 * opaque.h (max_align_t): Move to lisp.h.
7091 2001-01-18 Norbert Koch <nk@LF.net>
7093 * gui.h: Fix and add prototypes to fix build problems.
7095 2001-01-18 Martin Buchholz <martin@xemacs.org>
7097 temacs is going away, so `dump-temacs' is now a bad name.
7098 * .dbxrc (dump-temacs): Rename to `dmp'.
7099 * .gdbinit (dump-temacs): Rename to `dmp'.
7101 2001-01-17 Andy Piper <andy@xemacs.org>
7103 * glyphs.c (print_image_instance): comment to make martin happy.
7105 * glyphs-x.c (x_redisplay_widget): update faces after a frame
7108 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
7110 (mswindows_tab_control_redisplay): warning suppression.
7112 * glyphs-widget.c (widget_update): re-write to cope with updated
7114 (widget_instantiate): use new gui_item functions.
7115 (tab_control_update): deleted.
7116 (progress_gauge_update): deleted.
7117 (image_instantiator_progress_guage): take out update reference.
7118 (image_instantiator_tree_view): ditto.
7119 (image_instantiator_tab_control): ditto.
7121 * gui.c (widget_gui_parse_item_keywords): new function. Do things
7123 (gui_item_add_keyval_pair): re-write to cope with descriptors and
7124 return whether anything was changed.
7125 (update_gui_item_keywords): as it sounds.
7127 * gui.h: declare widget_gui_parse_item_keywords.
7129 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
7130 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
7132 2001-01-17 Martin Buchholz <martin@xemacs.org>
7134 * XEmacs 21.2.41 "Polyhymnia" is released.
7136 2001-01-16 Didier Verna <didier@xemacs.org>
7138 * glyphs.c (image_instantiate): don't use fallbacks when
7139 instantiating a face's background pixmap by inheritance.
7141 2001-01-14 Mike Sperber <mike@xemacs.org>
7143 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
7144 Conditionalize accordingly.
7146 2001-01-16 Martin Buchholz <martin@xemacs.org>
7148 * dumper.c (pdump_file_get): Fix a compiler warning.
7150 2001-01-15 Martin Buchholz <martin@xemacs.org>
7152 Make Purify happy when pdumping.
7153 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
7154 iniitalizing all bits of new lisp object memory.
7155 * symbols.c (Fmake_local_variable): Likewise.
7156 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
7157 * symbols.c (Fdefvaralias): Likewise.
7158 * mule-charset.c (vars_of_mule_charset): Likewise.
7160 2001-01-15 Martin Buchholz <martin@xemacs.org>
7161 Add the `-nd' flag when running pre-dump operations under the debugger.
7162 * .dbxrc (run-temacs): Add `-nd'.
7163 * .dbxrc (update-elc): Likewise.
7164 * .dbxrc (dump-temacs): Likewise.
7165 * .gdbinit (run-temacs): Likewise.
7166 * .gdbinit (check-temacs): Likewise.
7167 * .gdbinit (update-elc): Likewise.
7168 * .gdbinit (dump-temacs): Likewise.
7170 2001-01-14 Martin Buchholz <martin@xemacs.org>
7172 Allow building 64-bit executables on AIX with GNU malloc, e.g.
7173 export OBJECT_MODE=64
7174 configure --pdump --use-union-type=no
7175 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
7176 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
7178 * miscplay.c (sndcnv8U_2mono):
7179 Avoid two uses of `++' in the same expression.
7180 Suppresses a GCC warning.
7182 2001-01-13 Martin Buchholz <martin@xemacs.org>
7184 Make sure future compilers don't miscompile alloc.c.
7186 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
7187 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
7189 2001-01-12 Martin Buchholz <martin@xemacs.org>
7191 * dumper.c: A little post-pdump-rename comment fixup.
7193 2001-01-09 Jerry James <james@eecs.ku.edu>
7195 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
7197 2001-01-13 Martin Buchholz <martin@xemacs.org>
7199 * *.[ch]: Globally rename symbols using the following `pdump-rename'
7203 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
7206 replace_symbol pdump_wire_lists pdump_weak_object_chains
7207 replace_symbol pdump_wire_list dump_add_weak_object_chain
7209 replace_symbol pdump_wires pdump_root_objects
7210 replace_symbol pdump_wire dump_add_root_object
7212 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
7213 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
7215 replace_symbol dumpstructinfos pdump_root_struct_ptrs
7216 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
7217 replace_symbol dumpstructinfo pdump_root_struct_ptr
7218 replace_symbol dumpstruct dump_add_root_struct_ptr
7220 replace_symbol dumpopaque dump_add_opaque
7221 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
7222 replace_symbol dumpopaqueinfos pdump_opaques
7223 replace_symbol dumpopaqueinfo pdump_opaque
7225 replace_symbol nb_structdump nb_root_struct_ptrs
7226 replace_symbol nb_opaquedump nb_opaques
7228 replace_symbol align_table pdump_align_table
7229 replace_symbol dump_header pdump_header
7231 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
7232 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
7235 2001-01-12 Martin Buchholz <martin@xemacs.org>
7237 * s/aix4.h: Keep the C for AIX compiler from overaggressively
7238 optimizing bytecount_to_charcount().
7240 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7243 (HAVE_DLFCN_H): Removed.
7244 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
7246 2001-01-06 Martin Buchholz <martin@xemacs.org>
7248 Portable dumper maintainability improvements.
7249 * alloc.c (staticpro):
7250 * alloc.c (staticpro_nodump):
7251 * alloc.c (garbage_collect_1):
7252 * alloc.c (reinit_alloc_once_early):
7253 * alloc.c (init_alloc_once_early):
7254 * alloc.c: Move dumper functions to alloc.c.
7255 * dumper.c (pdump_backtrace):
7256 * dumper.c (pdump_dump_structs):
7257 * dumper.c (pdump_dump_opaques):
7258 * dumper.c (pdump_dump_rtables):
7259 * dumper.c (pdump_dump_wired):
7261 * dumper.c (pdump_load_check):
7262 * dumper.c (pdump_load_finish):
7263 * dumper.c (pdump_file_unmap):
7264 * dumper.c (pdump_file_get):
7265 * dumper.c (pdump_resource_free):
7266 * dumper.c (pdump_resource_get):
7267 * dumper.c (pdump_file_free):
7268 * dumper.c (pdump_file_try):
7269 * dumper.c (pdump_load):
7270 Remove fixed size limits on staticpro(), staticpro_nodump(),
7271 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
7272 Remove custom code for dumping lrecord_implementations_table - use
7274 Remove (most of the) custom code for dumping staticpros - dump it
7275 like any other dynarr.
7277 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
7278 * dumper.c: Moved functions from alloc.c.
7279 * alloc.c (dumpstruct): Moved to dumper.c.
7280 * alloc.c (dumpopaque): Likewise.
7281 * alloc.c (pdump_wire): Likewise.
7282 * alloc.c (pdump_wire_list): Likewise.
7284 * lisp.h (Dynarr_sizeof): New.
7285 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
7286 * lisp.h (Dynarr_end): New. Very slightly C++oid.
7287 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
7289 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
7290 * lisp.h (dumpopaque): ditto.
7291 * lisp.h (pdump_wire): ditto.
7292 * lisp.h (pdump_wire_list): ditto.
7294 2001-01-09 Martin Buchholz <martin@xemacs.org>
7296 * make-src-depend (PrintPatternDeps):
7297 Use `sort' to make output independent of perl version.
7299 2001-01-08 Martin Buchholz <martin@xemacs.org>
7302 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
7303 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
7305 2001-01-03 Didier Verna <didier@xemacs.org>
7307 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
7308 that `focus_frame' is alive before thinking of calling
7309 `redisplay_redraw_cursor' on it.
7311 2001-01-08 Martin Buchholz <martin@xemacs.org>
7313 * XEmacs 21.2.40 is released.
7315 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7317 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
7319 2001-01-06 Martin Buchholz <martin@xemacs.org>
7321 * alloc.c (dbg_valmask): Make const.
7322 * alloc.c (dbg_typemask): Make const.
7323 * alloc.c (dbg_USE_UNION_TYPE): Make const.
7324 * alloc.c (dbg_valbits): Make const.
7325 * alloc.c (dbg_gctypebits): Make const.
7327 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
7329 * redisplay-x.c (x_bevel_area):
7330 redisplay.h (struct rune):
7331 Typo fixes in comments.
7333 2001-01-05 Andy Piper <andy@xemacs.org>
7335 * glyphs-x.c (x_redisplay_widget): use size changed for offset
7338 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
7340 2001-01-05 Martin Buchholz <martin@xemacs.org>
7342 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
7344 * mule-ccl.c (stack_idx_of_map_multiple):
7345 Non const global data must not be initialized!
7346 Found by MIYASHITA Hisashi.
7348 2001-01-02 Andy Piper <andy@xemacs.org>
7350 * frame.c (change_frame_size): make sure frame size is always
7353 * glyphs.c (image_instance_layout): minor code reuse.
7355 * window.c (Fcurrent_window_configuration): revert previous
7358 2001-01-02 Martin Buchholz <martin@xemacs.org>
7361 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
7363 2000-12-31 Andy Piper <andy@xemacs.org>
7365 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
7366 when widget gets unmapped.
7368 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
7369 function. Make sure widgets losing focus don't just drop it.
7370 (handle_focus_event_1): record the widget with focus.
7372 2000-12-31 Andy Piper <andy@xemacs.org>
7374 * window.c (allocate_window): use
7375 make_image_instance_cache_hash_table.
7376 (make_dummy_parent): ditto.
7377 (Fset_window_configuration): ditto.
7379 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
7381 * glyphs.c (process_image_string_instantiator): use
7383 (get_image_instantiator_governing_domain): ditto.
7384 (normalize_image_instantiator): ditto.
7385 (instantiate_image_instantiator): ditto.
7386 (make_image_instance_1): ditto.
7387 (image_instantiate): ditto. Key on glyph *and* instantiator type.
7388 (instantiator_eq_equal): new function for use with instance hash
7390 (instantiator_eq_hash): ditto.
7391 (make_image_instance_cache_hash_table): create a suitable hash
7392 table for storing image instances.
7394 * elhash.h (hash_table_weakness): new internal weakness type
7395 HASH_TABLE_KEY_CAR_VALUE_WEAK.
7396 declare new functions.
7398 * elhash.c (finish_marking_weak_hash_tables): introduce yet
7399 another weakness type for glyphs.
7400 (make_standard_lisp_hash_table): new function split out from
7401 make_general_lisp_hash_table.
7402 (make_lisp_hash_table): call make_standard_lisp_hash_table.
7403 (hash_table_instantiate): ditto.
7404 (Fmake_hash_table): ditto.
7406 2000-12-31 Martin Buchholz <martin@xemacs.org>
7408 * XEmacs 21.2.39 is released.
7410 2000-12-29 Andy Piper <andy@xemacs.org>
7412 * menubar.c (menubar_visible_p_changed): signal the frame changed.
7414 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
7415 the frame has changed so that we pick up geometry changes such as
7418 2000-12-28 Andy Piper <andy@xemacs.org>
7420 * lastfile.c (my_ebss): make a char array so we can pad the
7421 bss. Fixes cygwin unexec.
7423 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
7425 2000-12-26 Andy Piper <andy@xemacs.org>
7427 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
7428 comments and try and be more precise about a non-/SIGIO world.
7429 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
7432 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
7433 we don't normalize to zero width or height.
7435 2000-12-24 Andy Piper <andy@xemacs.org>
7437 * Makefile.in.in (ldflags): add -mwindows when appropriate.
7439 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
7441 * s/sco5.h: SCO 5 has pty support.
7443 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
7445 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
7446 input-method-xlib.c contains whole contents of input-method-xfs.c,
7447 so we can use input-method-xlib.c's code for USE_XFONTSET
7449 * input-method-xfs.c: removed.
7451 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
7453 * file-coding.h (enum coding_category_type): reorder enumerators to
7454 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
7455 (now one greater than largest real coding_category_type enumerator).
7456 * file-coding.c (coding_category_symbol, coding_category_by_priority,
7457 coding_category_system, fcd_descriptihon_1, decode_coding_category,
7458 Fcoding_category_list, Fset_coding_priority_list,
7459 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
7460 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
7462 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7464 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
7465 * redisplay-output.c (redisplay_output_window): Clear top of window
7466 when face is changed.
7467 * redisplay-x.c (x_redraw_exposed_window): Call
7468 redisplay_clear_top_of_window.
7469 * redisplay.h: Publish redisplay_clear_top_of_window.
7471 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7473 * buffer.c (Fkill_buffer): Map over all devices.
7474 * window.c (window_loop): Remove UNSHOW_BUFFER code.
7475 (list_windows): New function.
7476 (list_all_windows): Ditto.
7477 (Freplace_buffer_in_windows): Use them.
7479 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
7481 * database.c (berkdb_subtype): Recognize new subtype `queue'.
7482 (Fopen_database): Use `db_create' instead of `db_open'.
7483 (syms_of_database): Initialize Qqueue.
7485 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7487 * buffer.c (common_init_complex_vars_of_buffer): Initialize
7488 buffer_local_face_property.
7489 * buffer.h (struct buffer): New member buffer_local_face_property.
7490 * window.c (Fset_window_buffer): Mark window's face as changed
7491 when buffer has buffer local face.
7492 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
7493 * objects.c (color_after_change): Set buffer_local_face_property
7494 when locale of face specifier is buffer.
7495 * objects.c (font_after_change): Ditto.
7496 * objects.c (face_boolean_after_change): Ditto.
7497 * glyphs.c (image_after_change): Ditto.
7499 2000-12-09 Dan Holmsand <dan@eyebee.com>
7501 * nt.c (mswindows_fstat): Report file permissions, volume serial
7502 number, etc. Code adapted from FSF Emacs 20.7.
7504 2000-12-09 Dan Holmsand <dan@eyebee.com>
7506 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
7507 of stat when we don't have symbolic links, to make sure
7508 mswindows_stat is called on mswindows.
7510 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
7512 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
7514 2000-12-12 Martin Buchholz <martin@xemacs.org>
7516 * doprnt.c (emacs_doprnt_1): More printing fixes.
7517 Make printing of numbers compatible with libc and FSF Emacs.
7518 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
7519 Use the system printf to do most of the hard work of formatting,
7520 instead of doprnt_1().
7521 Calculate memory to allocate for format string.
7522 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
7523 (doprnt_1): Cleaner code and documentation.
7525 2000-12-01 Jerry James <james@eecs.ukans.edu>
7527 * Makefile.in.in: Use the loop variable to install headers.
7529 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7531 * window.c (Fsplit_window): Don't invalidate face cache.
7533 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7535 * minibuf.c (Fall_completions): Undo the previous change
7536 which removed checking elements start with space.
7538 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7540 * mule-canna.c: Didier suppression.
7542 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7544 * mule-canna.c: rename static unsigned char buf[] to key_buffer
7545 (warning suppression). Add English comment translations.
7547 2000-12-05 Martin Buchholz <martin@xemacs.org>
7549 * unexelfsgi.c (unexec): Better test for mmap failure.
7551 2000-12-05 Martin Buchholz <martin@xemacs.org>
7553 * XEmacs 21.2.38 is released.
7555 2000-12-05 Martin Buchholz <martin@xemacs.org>
7557 * redisplay.c (bar-cursor): Make a user variable.
7559 * symsinit.h: Add init_postgresql_from_environment.
7561 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7563 * regex.c: Convert to clean C.
7565 2000-12-05 Dan Holmsand <dan@eyebee.com>
7568 Don't #include sysfile.h. Revert to duplicating PATH_MAX
7570 (sys_readlink): renamed to system_readlink to avoid conflict with
7571 the other sys_readlink.
7573 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
7575 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
7577 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
7579 * postgresql.c (init_postgresql_from_environment): new function.
7580 (vars_of_postgresql): Move code initializing Lisp variables out and
7581 into init_postgresql_from_environment.
7582 emacs.c (main_1): Call init_postgresql_from_environment if and only
7583 if running a dumped XEmacs.
7585 2000-08-31 Dan Holmsand <dan@eyebee.com>
7587 * buffer.c: Make find-file-compare-truenames default to true on
7590 * realpath.c (win32_abs_start):
7592 (win32_readlink): New functions.
7593 (xrealpath): Return really real filenames on windows.
7595 * fileio.c (Ffile_truename): Make file-truename work on windows.
7597 2000-11-29 Didier Verna <didier@xemacs.org>
7599 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
7600 * faces.c (update_face_cachel_data): use it.
7601 * faces.c (add_face_cachel): use it. Complete background pixmap
7602 frobbing in face cache if `update_face_cachel_data' has not done so.
7604 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
7606 * search.c (string_match_1): Don't set last_thing_searched
7609 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
7611 * buffer.c: Include casetab.h
7612 (common_init_complex_vars_of_buffer): Use new case-table object.
7613 * buffer.h: Include casetab.h
7614 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
7615 (DOWNCASE_TABLE_OF): Ditto.
7616 * bufslots.h: Remove char-tables and add case-table.
7617 * casetab.c: Include casetab.h
7618 (CASE_TABLE_P): Removed.
7619 (mark_case_table): New function.
7620 (allocate_case_table): New function.
7621 (Fcase_table_p): Use new case-table.
7622 (case_table_char): New function.
7623 (Fget_case_table): Ditto.
7624 (Fput_case_table): Ditto.
7625 (Fput_case_table_pair): Ditto.
7626 (Fcopy_case_table): Ditto.
7627 (Fcurrent_case_table): Return case-table.
7628 (Fstandard_case_table): Return case-table.
7629 (Fset_case_table): Fix doc-string.
7630 (set_case_table): Use case-table
7631 (syms_of_casetab): DEFSUBR new functions.
7632 (complex_vars_of_casetab): Set up standard case-table.
7633 * casetab.h: New file.
7634 * editfns.c: Include casetab.h
7635 (Fcompare_buffer_substrings): Use case-table.
7636 * inline.c: Include casetab.h
7637 * lisp.h: Remove bogus extern.
7638 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
7639 * search.c: Include casetab.h
7640 (TRANSLATE_ASCII): Removed.
7641 (TRANSLATE): Unconditionally translate character.
7642 (looking_at_1): Use case-table.
7643 (string_match_1): Ditto.
7644 (fast_string_match): Ditto.
7645 (search_command): Ditto.
7646 (search_buffer): Separate boyer_moore. Check whether
7647 boyer_moore is possible.
7648 (simple_search): New function.
7649 (boyer_moore): Separated from search_buffer. Translate char.
7651 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
7653 * regex.c (RE_TR_ASCII): Removed.
7654 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
7655 (PATFETCH): Call PATFETCH_RAW.
7656 (PATFETCH_RAW): Fetch Emchar.
7657 (PATUNFETCH): Decrement charptr.
7658 (GET_BUFFER_SPACE): Rename b to buf_end.
7660 (BUF_PUSH_2): Ditto.
7661 (BUF_PUSH_3): Ditto.
7662 (EXTEND_BUFFER): Ditto.
7663 (SET_LIST_BIT): Ditto.
7664 (regex_compile): Ditto. Translate non ASCII char.
7665 (compile_range): Ditto.
7666 (re_search_2): Ditto.
7667 (re_match_2_internal): Compare Emchar.
7668 (bcmp_translate): Ditto.
7670 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
7672 * lisp.h (basic char/int typedefs): comment improvement.
7674 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
7676 * emacs.c (main_1): unconditional pdump unstomping; don't save and
7677 unstomp inhibit_site_lisp. Improve comments.
7679 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
7681 * mule-charset.c (Fcharset_property): improve type checking, comments.
7683 2000-11-28 Andy Piper <andy@xemacs.org>
7685 * redisplay-output.c (redisplay_output_subwindow): make sure we do
7686 clipped display for windows in the gutter also.
7687 (redisplay_display_boxes_in_window_p): change semantics of return
7688 codes to be more intuitive.
7690 * gutter.h: declare display_boxes_in_gutter_p.
7692 * gutter.c (display_boxes_in_gutter_p): new function for
7695 2000-11-22 Andy Piper <andy@xemacs.org>
7697 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
7700 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
7702 * callproc.c (Fold_call_process_internal):
7703 * gpm.c (Freceive_gpm_event):
7704 (tty_get_foreign_selection): Might be just warning supression.
7705 * fileio.c (Fwrite_region_internal):
7706 (Fset_visited_file_modtime):
7707 * keymap.c (event_matches_key_specifier_p):
7708 Initialize GCPROed variable.
7710 * menubar-x.c (command_builder_find_menu_accelerator):
7711 Initialize before use.
7713 2000-11-23 Andy Piper <andy@xemacs.org>
7715 * unexcw.c (unexec): make the resulting executable executable.
7717 2000-11-21 Martin Buchholz <martin@xemacs.org>
7719 * doc.c (get_doc_string):
7720 Use size_t, not int, for result of XSTRING_LENGTH.
7722 * cmds.c (Fdelete_char):
7723 * cmds.c (Fpoint_at_eol):
7724 * cmds.c (Fself_insert_command):
7725 Use EMACS_INT, not int, for result of XINT.
7726 Someday, someone will want to insert more than 2**31 identical characters.
7728 * cmds.c (Fdelete_char):
7729 * cmds.c (Fdelete_backward_char):
7730 * syntax.c (Fforward_word):
7731 * syntax.c (Fforward_comment):
7732 Make COUNT argument optional, for consistency with forward-char et al.
7734 2000-11-22 Martin Buchholz <martin@xemacs.org>
7737 * print.c (long_to_string):
7738 Return a useful value: the pointer at end of data written.
7741 Use `static const char * const' for constant strings.
7742 (union printf_arg): Delete `i', `ui' members.
7745 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
7746 Do all printf-ing via the `l' specifier.
7747 Use EMACS_INT instead of int.
7750 2000-11-20 Didier Verna <didier@xemacs.org>
7752 * faces.c (update_face_cachel_data): don't frob the background
7753 pixmap when the window is being created. The face is needed but
7756 2000-11-20 Andy Piper <andy@xemacs.org>
7758 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
7759 messing with a debug environment.
7761 2000-11-20 Martin Buchholz <martin@xemacs.org>
7763 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
7765 2000-11-20 Martin Buchholz <martin@xemacs.org>
7767 * casetab.c (Fcase_table_p): Fix compile error and crash.
7769 2000-11-18 Philip Aston <philipa@mail.com>
7771 * s/cygwin32.h: Cygwin has SVR4-like pty support.
7773 2000-11-18 Martin Buchholz <martin@xemacs.org>
7775 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
7776 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
7778 2000-11-17 Martin Buchholz <martin@xemacs.org>
7780 * config.h.in: Define HAVE_ELF_H if elf.h exists.
7781 * unexelf.c: Use HAVE_ELF_H.
7782 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
7783 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
7784 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
7785 Greg Harrington <greg_harrington@hotmail.com> provided a machine
7787 So this is an unexelfsgi.c from a different line of development.
7789 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
7791 * regex.c (RE_TR_ASCII): New function.
7792 (RE_TRANSLATE): Call it.
7794 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
7796 * buffer.h (TRT_TABLE_OF): Remove assert.
7797 (IN_TRT_TABLE_DOMAIN): Removed.
7799 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
7801 * free-hook.c (log_gcpro):
7802 (show_gcprohist): Add support for GCPRO5.
7804 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
7806 * emacs.c (main_1): Improve -sd error message when --pdump=no.
7808 2000-11-16 Olivier Galibert <galibert@xemacs.org>
7810 * symeval.h: Declare flush_all_buffer_local_cache.
7812 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
7813 (flush_buffer_local_cache): Added.
7814 (flush_all_buffer_local_cache): Added.
7816 * lrecord.h: Remove unused XD_LO_RESET_NIL.
7818 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
7819 (pdump_dump_data): Ditto.
7820 (pdump_reloc_one): Ditto.
7821 (pdump): Remove unused pdump_qnil. Flush buffer local caches
7825 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
7827 * buffer.c: Remove if 0'ed entry.
7828 * buffer.h: Rewrite TRT to use char-table.
7829 * bufslots.h: Remove mirror tables.
7830 * casetab.c: Remove mirror tables.
7831 (CASE_TABLE_P): New macro.
7832 (Fcase_table_p): Element of a case table is string or char-table.
7833 (make_mirror_trt_table): Removed.
7834 (set_case_table): Setup char-table from strings for backward
7836 * dired.c (Fdirectory_files):
7837 * dired-msw.c: (mswindows_get_files):
7838 * lisp.h: Change prototype of re_pattern_buffer.
7839 * regex.c: (RE_TRANSLATE): New macro.
7840 (TRANSLATE_P): Ditto.
7841 Change translate to type RE_TRANSLATE_TYPE.
7842 * regex.h: Define RE_TRANSLATE_TYPE
7843 * search.c (TRANSLATE): New macro.
7844 (TRANSLATE_ASCII): New macro.
7845 Translate table is changed to Lisp_Object.
7846 (signal_failure): Inhibit return.
7848 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
7855 Do UNGCPRO before return.
7857 2000-11-14 Martin Buchholz <martin@xemacs.org>
7859 * XEmacs 21.2.37 is released.
7861 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7863 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
7864 Add comments about discarded return value.
7866 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
7869 * event-stream.c: Fix comments. Remove some #if 0'ed part.
7871 2000-10-27 Andy Piper <andy@xemacs.org>
7873 * gutter.c (Fset_default_gutter_position): default left and right
7875 (calculate_gutter_size): calculate resonable heuristic for left
7876 and right gutter sizes.
7877 (specifier_vars_of_gutter): change left and right gutter sizes to
7879 (calculate_gutter_size_from_display_lines): new function.
7880 (output_gutter): check for resizing on left and right gutters.
7881 (clear_gutter): don't special case top and left gutters.
7882 (specifier_vars_of_gutter): use new signature for
7883 set_specifier_caching.
7885 * glyphs-x.c (x_redisplay_widget): spelling fix.
7886 * glyphs.c (specifier_vars_of_glyphs):
7887 * menubar.c (specifier_vars_of_menubar):
7888 * redisplay.c (specifier_vars_of_redisplay):
7889 * toolbar.c (specifier_vars_of_toolbar):
7890 * window.c (specifier_vars_of_window):
7891 * scrollbar.c (specifier_vars_of_scrollbar):
7892 (complex_vars_of_scrollbar): use new signature for
7893 set_specifier_caching.
7895 * specifier.c (set_specifier_caching): include recompute flag.
7896 (recompute_one_cached_specifier_in_window): always recompute if
7898 (recompute_one_cached_specifier_in_frame): ditto.
7900 * specifier.h (struct specifier_caching): add recompute flag.
7902 2000-10-24 Andy Piper <andy@xemacs.org>
7904 * unexcw.c (copy_executable_and_dump_data_section): add new
7905 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
7908 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7910 * console-x.h (x_device): New member modifier_release_time.
7911 * event-Xt.c (x_handle_sticky_modifiers):
7912 Bound interval modifier keys are sticky.
7913 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
7914 * events.h: extern it.
7916 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7918 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
7920 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7922 * event-stream.c (execute_command_event): Preserve current_events
7923 and the like when event is misc-user-event.
7924 Inhibit quit during the call to maybe_echo_keys.
7926 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
7928 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
7929 symlink when buffer is killed.
7930 (inhibit_clash_detection): New variable.
7932 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
7934 * console.c (Fset_input_method): Trigger redisplay on tty.
7936 2000-11-07 Martin Buchholz <martin@xemacs.org>
7938 * process.c (Fprocess_status): Revert to previous behavior:
7939 (process-status "nosuchprocess") ==> nil
7941 2000-11-06 Martin Buchholz <martin@xemacs.org>
7943 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
7944 Work around another GCC 2.95.2 optimizer bug.
7946 2000-11-02 Martin Buchholz <martin@xemacs.org>
7948 * process.c (Fget_process): Use LIST_LOOP_2.
7949 (kill_buffer_processes): Use LIST_LOOP_2.
7951 * minibuf.c (Fall_completions):
7952 Delete old non-functional code for FSF fourth argument.
7954 * frame.c (frame_matches_frame_spec):
7955 Renamed from `frame_matches_frametype'. Update all callers.
7956 (device_matches_device_spec):
7957 Renamed from 'device_matches_console_spec'. Update all callers.
7959 * doc.c (Fsubstitute_command_keys):
7960 Remove buffer overflow crash. Small code cleanups.
7962 * casetab.c (check_case_table): Simpler code.
7964 * window.c (Freplace_buffer_in_windows):
7965 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
7966 (and similar implementation) as Fdelete_windows_on.
7969 * alloc.c (Fmake_list):
7970 * alloc.c (make_vector):
7971 * alloc.c (Fmake_vector):
7972 * alloc.c (make_bit_vector):
7973 * alloc.c (Fmake_bit_vector):
7974 * alloc.c (Fbit_vector):
7975 * alloc.c (Fmake_string):
7976 * alloc.c (Fpurecopy):
7977 * alloc.c (Fmemory_limit):
7979 * buffer.c (Fget_buffer):
7980 * buffer.c (Fkill_buffer):
7981 * buffer.c (complex_vars_of_buffer):
7982 * bytecode.c (Fcompiled_function_stack_depth):
7983 * callint.c (Fprefix_numeric_value):
7985 * event-stream.c (Fread_key_sequence):
7987 * casetab.c (Fcase_table_p):
7988 * casetab.c (check_case_table):
7989 * casetab.c (Fset_case_table):
7990 * casetab.c (Fset_standard_case_table):
7992 * chartab.c (Fchar_table_type):
7993 * chartab.c (Freset_char_table):
7994 * chartab.c (Fget_char_table):
7995 * chartab.c (Fget_range_char_table):
7996 * chartab.c (Fput_char_table):
7997 * chartab.c (Fmap_char_table):
7998 * chartab.c (Fcategory_table_p):
7999 * chartab.c (Fcheck_category_at):
8000 * chartab.c (Fchar_in_category_p):
8001 * chartab.c (Fcategory_table):
8002 * chartab.c (Fcopy_category_table):
8003 * chartab.c (Fset_category_table):
8004 * chartab.c (Fcategory_designator_p):
8005 * chartab.c (Fcategory_table_value_p):
8006 * cmds.c (Fdelete_char):
8007 * cmds.c (Fdelete_backward_char):
8008 * cmds.c (Fself_insert_command):
8009 * cmds.c (Fself_insert_internal):
8010 * console.c (Fvalid_console_type_p):
8011 * console.c (Fcdfw_console):
8012 * console.c (Fconsole_type):
8013 * console.c (Fconsole_name):
8014 * console.c (Fconsole_device_list):
8015 * console.c (Fconsole_on_window_system_p):
8019 * data.c (Fsubr_interactive):
8020 * data.c (Fchar_to_int):
8021 * data.c (Fint_to_char):
8024 * data.c (Fnumber_to_string):
8025 * data.c (Fstring_to_number):
8027 * database.c (mark_database):
8028 * database.c (finalize_database):
8029 * database.c (Fdatabase_live_p):
8030 * database.c (Fdatabasep):
8031 * device-x.c (Fx_get_resource):
8032 * device.c (Fdfw_device):
8034 * dired.c (Ffile_name_completion):
8035 * dired.c (Ffile_name_all_completions):
8036 * dired.c (Fuser_name_completion):
8037 * dired.c (Fuser_name_completion_1):
8038 * dired.c (Fuser_name_all_completions):
8039 * doc.c (Fdocumentation):
8040 * doc.c (Fdocumentation_property):
8041 * doc.c (Fsubstitute_command_keys):
8043 * editfns.c (Fchar_to_string):
8044 * editfns.c (Fstring_to_char):
8045 * editfns.c (Ftemp_directory):
8046 * editfns.c (Finsert_char):
8047 * editfns.c (Fbuffer_substring_no_properties):
8048 * editfns.c (Fnarrow_to_region):
8049 * editfns.c (Fchar_equal):
8050 * editfns.c (Fchar_Equal):
8051 * editfns.c (Ftranspose_regions):
8052 * emacs.c (Fdump_emacs):
8054 * eval.c (Fcommand_execute):
8055 * eval.c (Fautoload):
8056 * eval.c (Fbacktrace):
8057 * eval.c (Fbacktrace_frame):
8059 * events.c (Fcopy_event):
8060 * events.c (Fcharacter_to_event):
8061 * events.c (Fevent_button):
8062 * events.c (Fevent_process):
8064 * extents.c (Fnext_extent_change):
8065 * extents.c (Fextent_property):
8067 * faces.c (Fmake_face):
8069 * file-coding.c (Fencode_shift_jis_char):
8070 * file-coding.c (Fencode_big5_char):
8071 * fileio.c (Ffile_name_directory):
8072 * fileio.c (Ffile_name_nondirectory):
8073 * fileio.c (Ffile_name_as_directory):
8074 * fileio.c (Fdirectory_file_name):
8075 * fileio.c (Ffile_truename):
8076 * fileio.c (Fsubstitute_in_file_name):
8077 * fileio.c (Ffile_modes):
8078 * fileio.c (Fset_file_modes):
8079 * fileio.c (Fset_default_file_modes):
8080 * fileio.c (Fverify_visited_file_modtime):
8081 * floatfns.c (Facos):
8082 * floatfns.c (Fasin):
8083 * floatfns.c (Fatan):
8084 * floatfns.c (Fcos):
8085 * floatfns.c (Fsin):
8086 * floatfns.c (Ftan):
8087 * floatfns.c (Fbessel_j0):
8088 * floatfns.c (Fbessel_j1):
8089 * floatfns.c (Fbessel_jn):
8090 * floatfns.c (Fbessel_y0):
8091 * floatfns.c (Fbessel_y1):
8092 * floatfns.c (Fbessel_yn):
8093 * floatfns.c (Ferf):
8094 * floatfns.c (Ferfc):
8095 * floatfns.c (Flog_gamma):
8096 * floatfns.c (Fexp):
8097 * floatfns.c (Fexpt):
8098 * floatfns.c (Flog):
8099 * floatfns.c (Flog10):
8100 * floatfns.c (Fsqrt):
8101 * floatfns.c (Fcube_root):
8102 * floatfns.c (Facosh):
8103 * floatfns.c (Fasinh):
8104 * floatfns.c (Fatanh):
8105 * floatfns.c (Fcosh):
8106 * floatfns.c (Fsinh):
8107 * floatfns.c (Ftanh):
8108 * floatfns.c (Fabs):
8109 * floatfns.c (Ffloat):
8110 * floatfns.c (Flogb):
8111 * floatfns.c (Fceiling):
8112 * floatfns.c (Ffloor):
8113 * floatfns.c (Fround):
8114 * floatfns.c (Ftruncate):
8115 * floatfns.c (Ffceiling):
8116 * floatfns.c (Fffloor):
8117 * floatfns.c (Ffround):
8118 * floatfns.c (Fftruncate):
8119 * fns.c (Fstring_equal):
8120 * fns.c (Fstring_lessp):
8125 * fns.c (Fsubstring):
8127 * fns.c (Fold_assoc):
8128 * fns.c (assoc_no_quit):
8130 * fns.c (Fold_assq):
8131 * fns.c (assq_no_quit):
8133 * fns.c (Fold_rassoc):
8135 * fns.c (Fold_rassq):
8136 * fns.c (rassq_no_quit):
8137 * fns.c (Fremassoc):
8138 * fns.c (remassoc_no_quit):
8140 * fns.c (remassq_no_quit):
8141 * fns.c (Fremrassoc):
8142 * fns.c (Fremrassq):
8143 * fns.c (remrassq_no_quit):
8145 * fns.c (Fplist_get):
8146 * fns.c (Fplist_put):
8147 * fns.c (Fplist_remprop):
8148 * fns.c (Fplist_member):
8149 * fns.c (Flax_plist_get):
8150 * fns.c (Flax_plist_put):
8151 * fns.c (Flax_plist_remprop):
8152 * fns.c (Flax_plist_member):
8154 * fns.c (Fold_equal):
8156 * fns.c (Fbase64_encode_region):
8157 * fns.c (Fbase64_encode_string):
8158 * fns.c (Fbase64_decode_region):
8160 * frame.c (frame_matches_frame_spec):
8161 * frame.c (device_matches_device_spec):
8162 * frame.c (next_frame):
8163 * frame.c (previous_frame):
8164 * frame.c (Fnext_frame):
8165 * frame.c (Fprevious_frame):
8166 * frame.c (Fframe_property):
8167 * frame.c (Fset_frame_height):
8168 * frame.c (Fset_frame_size):
8172 * glyphs.c (decode_error_behavior_flag):
8173 * glyphs.c (Fmake_image_instance):
8174 * indent.c (Findent_to):
8175 * intl.c (Fignore_defer_gettext):
8176 * keymap.c (Fkeymapp):
8177 * keymap.c (Flookup_key):
8179 * lread.c (Fload_internal):
8180 * lread.c (Feval_buffer):
8181 * lread.c (Feval_region):
8182 * macros.c (Fexecute_kbd_macro):
8183 * marker.c (set_marker_internal):
8184 * marker.c (Fset_marker):
8185 * marker.c (set_marker_restricted):
8186 * marker.c (Fcopy_marker):
8187 * marker.c (noseeum_copy_marker):
8189 * menubar.c (Fpopup_menu):
8191 * mule-charset.c (Fcharset_name):
8192 * mule-charset.c (Fchar_charset):
8193 * mule-charset.c (Fchar_octet):
8194 * mule-charset.c (Fsplit_char):
8195 * mule-wnnfns.c (Fwnn_open):
8196 * mule-wnnfns.c (Fwnn_dict_comment):
8197 * mule-wnnfns.c (Fwnn_quit_henkan):
8198 * mule-wnnfns.c (Fwnn_word_toroku):
8199 * mule-wnnfns.c (Fwnn_word_sakujo):
8200 * mule-wnnfns.c (Fwnn_word_use):
8201 * mule-wnnfns.c (Fwnn_hindo_set):
8203 * objects.c (Fmake_color_instance):
8204 * objects.c (Fmake_font_instance):
8205 * print.c (Fwrite_char):
8207 * process.c (mark_process):
8208 * process.c (print_process):
8209 * process.c (get_process_from_usid):
8210 * process.c (Fprocessp):
8211 * process.c (Fprocess_live_p):
8212 * process.c (Fget_process):
8213 * process.c (Fget_buffer_process):
8214 * process.c (get_process):
8215 * process.c (Fprocess_id):
8216 * process.c (Fprocess_name):
8217 * process.c (Fprocess_command):
8218 * process.c (init_process_io_handles):
8219 * process.c (start_process_unwind):
8220 * process.c (Fstart_process_internal):
8221 * process.c (Fopen_multicast_group_internal):
8222 * process.c (Fset_process_window_size):
8223 * process.c (read_process_output):
8224 * process.c (send_process):
8225 * process.c (Fprocess_tty_name):
8226 * process.c (Fset_process_buffer):
8227 * process.c (Fprocess_buffer):
8228 * process.c (Fprocess_mark):
8229 * process.c (set_process_filter):
8230 * process.c (Fset_process_filter):
8231 * process.c (Fprocess_filter):
8232 * process.c (Fprocess_send_region):
8233 * process.c (Fprocess_send_string):
8234 * process.c (exec_sentinel):
8235 * process.c (Fset_process_sentinel):
8236 * process.c (Fprocess_sentinel):
8237 * process.c (status_notify):
8238 * process.c (Fprocess_status):
8239 * process.c (Fprocess_exit_status):
8240 * process.c (process_send_signal):
8241 * process.c (Fprocess_send_eof):
8242 * process.c (deactivate_process):
8243 * process.c (remove_process):
8244 * process.c (Fdelete_process):
8245 * process.c (kill_buffer_processes):
8246 * process.c (Fprocess_kill_without_query):
8247 * process.c (Fprocess_kill_without_query_p):
8249 * rangetab.c (Fget_range_table):
8250 * rangetab.c (Fput_range_table):
8251 * rangetab.c (Fremove_range_table):
8252 * rangetab.c (Fclear_range_table):
8254 * search.c (Fskip_chars_forward):
8255 * search.c (Fskip_chars_backward):
8256 * search.c (Fskip_syntax_forward):
8257 * search.c (Fskip_syntax_backward):
8258 * search.c (search_command):
8259 * search.c (Freplace_match):
8260 * search.c (Fregexp_quote):
8261 * select.c (Fown_selection_internal):
8262 * select.c (Fselection_owner_p):
8263 * select.c (Fselection_exists_p):
8264 * select.c (Fget_selection_internal):
8267 * symbols.c (Fintern):
8268 * symbols.c (Fintern_soft):
8269 * symbols.c (Funintern):
8270 * symbols.c (Fapropos_internal):
8271 * symbols.c (Fset_default):
8273 * syntax.c (Fsyntax_table_p):
8274 * syntax.c (Fcopy_syntax_table):
8275 * syntax.c (Fset_syntax_table):
8276 * syntax.c (Fchar_syntax):
8277 * syntax.c (syntax_match):
8278 * syntax.c (Fmatching_paren):
8279 * syntax.c (Fforward_word):
8280 * syntax.c (scan_lists):
8281 * syntax.c (Fscan_lists):
8282 * syntax.c (Fscan_sexps):
8283 * syntax.c (Fparse_partial_sexp):
8284 * toolbar.c (Fcheck_toolbar_button_syntax):
8287 * window.c (Fwindowp):
8288 * window.c (Fwindow_live_p):
8289 * window.c (Fwindow_point):
8290 * window.c (Fdelete_window):
8291 * window.c (Fnext_window):
8292 * window.c (Fprevious_window):
8293 * window.c (Fother_window):
8294 * window.c (window_loop):
8295 * window.c (Fget_lru_window):
8296 * window.c (Fsplit_window):
8297 * window.c (Fenlarge_window):
8298 * window.c (Fenlarge_window_pixels):
8299 * window.c (Fshrink_window):
8300 * window.c (Fshrink_window_pixels):
8301 * window.c (change_window_height):
8302 * window.c (Fwindow_configuration_p):
8303 * window.c (Fcurrent_window_configuration):
8305 * casefiddle.c (casify_object):
8306 * casefiddle.c (Fupcase):
8307 * casefiddle.c (Fdowncase):
8308 * casefiddle.c (Fcapitalize):
8309 * casefiddle.c (Fupcase_initials):
8310 * casefiddle.c (casify_region_internal):
8311 * casefiddle.c (casify_region):
8312 * casefiddle.c (Fupcase_region):
8313 * casefiddle.c (Fdowncase_region):
8314 * casefiddle.c (Fcapitalize_region):
8315 * casefiddle.c (Fupcase_initials_region):
8316 * casefiddle.c (Fupcase_word):
8317 * casefiddle.c (Fdowncase_word):
8318 * casefiddle.c (Fcapitalize_word):
8319 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
8320 Replace 0 with '\0' when working with bytes.
8321 Replace initial "(" with "\(" in docstrings.
8323 2000-11-01 Martin Buchholz <martin@xemacs.org>
8325 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
8327 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
8329 2000-10-31 Martin Buchholz <martin@xemacs.org>
8331 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
8333 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8335 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
8338 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8340 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
8341 (inhibit_auto_save_session): New variable.
8342 (vars_of_fileio): Declare and initialize them.
8343 * fileio.c (Fdo_auto_save): Don't create session file if
8344 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
8346 2000-10-31 Martin Buchholz <martin@xemacs.org>
8348 * sgiplay.c (play_internal): C++ compilability.
8349 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
8350 * callproc.c (Fold_call_process_internal):
8351 Remove unused vars `env', `first'.
8352 * scrollbar.c (update_scrollbar_instance):
8353 #### unused var `current_window'.
8354 * redisplay-tty.c: Put currently unused vars insert_mode_on,
8355 etc. within #ifdef NOT_YET.
8356 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
8357 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
8358 * specifier.c (specifier_instance):
8359 #### unused var `tag'.
8360 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
8362 2000-10-27 Martin Buchholz <martin@xemacs.org>
8365 * fns.c (list_sort):
8366 * fns.c (Ffillarray):
8367 * fns.c (bytecode_nconc2):
8370 * fns.c (Fmapconcat):
8371 Be pedantically 64-bit correct. For the time when someone will
8372 want to have a list with length > 2**32.
8374 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
8375 Work around MIPSpro compiler bug.
8377 * process-unix.c (unix_kill_child_process): Add snarky comment.
8378 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
8380 * config.h.in: Oops, _getpt ==> _getpty
8382 2000-10-26 Martin Buchholz <martin@xemacs.org>
8386 Use void*, not char*, as return type of alloca().
8388 * alloc.c (free_marker): Side effect inside assert expression!
8390 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
8392 * mule-charset.c (Fset_charset_ccl_program): To check
8393 if the given ccl program is valid, use setup_ccl_program()
8394 instead of CHECK_VECTOR().
8395 (Fmake_charset): Likewise.
8397 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
8399 * faces.c (get_extent_fragment_face_cache_index):
8400 Fix cachel.merged_faces memory leak.
8402 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
8404 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
8405 Reset MSB of octets obtained by DECODE_SJIS
8406 because of the incompatibility with Emacs.
8407 (ccl_driver)<CCL_ENCODE_SJIS>:
8408 Set MSB of octets before passing them to
8409 ENCODE_SJIS because of the incompatibility
8412 2000-10-18 Daiki Ueno <ueno@unixuser.org>
8414 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
8415 (DECLARE_LRECORD): Undo the last change.
8416 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
8418 2000-10-17 Daiki Ueno <ueno@unixuser.org>
8420 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
8421 the implementation to lrecord_implementations_table.
8423 2000-10-14 Daiki Ueno <ueno@unixuser.org>
8425 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
8426 initial value of `lrecord_type_##c_name' and
8427 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
8428 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
8429 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
8430 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
8431 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
8433 2000-10-17 Martin Buchholz <martin@xemacs.org>
8435 * miscplay.c (sndcnv8S_2mono):
8436 (sndcnv2monounsigned):
8437 (sndcnvULaw_2linear):
8439 Remove implementation-defined behavior.
8441 2000-10-12 Martin Buchholz <martin@xemacs.org>
8443 * input-method-xlib.c: Warning suppression.
8445 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
8447 * mule-ccl.c: Sync up with Emacs 21.0.90.
8448 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
8450 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
8452 (ccl_driver[WriteMultibyteChar2]): Bug fix.
8453 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
8454 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
8455 leading char belongs to official 2-dimensional charset.
8456 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
8457 write the given character as is. Otherwise,
8458 if it is a multibyte char, convert it by
8459 non_ascii_set_charptr_emchar, then write it.
8460 (CCL_WRITE_STRING): Likewise.
8461 (ccl_get_compiled_code): New function.
8462 (setup_ccl_program): When ccl_prog is invalid,
8464 (Fregister_code_conversion_map): New function.
8465 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
8467 * mule-ccl.h: Sync up with Emacs 21.0.90.
8468 (Fregister_ccl_program): export it.
8470 * redisplay-msw.c (separate_textual_runs):
8471 If ccl program is not valid, don't do ccl conversion.
8473 * redisplay-x.c (separate_textual_runs): Ditto.
8475 * file-coding.c (Fmake_coding_system):
8476 When type is ccl and value is vector, register it
8477 with a proper symbol. And checks whether the
8478 given ccl program is valid.
8479 (mule_decode): When calling ccl_driver, if src indicates
8480 NULL pointer, set an empty string instead.
8481 (mule_encode): Likewise.
8483 2000-10-11 Martin Buchholz <martin@xemacs.org>
8485 The following large batch of changes gets us back to a state of
8486 C++ compilability. Extbyte is now a char, which means that
8487 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
8489 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
8491 * sound.c (Fplay_sound): Type correctness.
8493 * select-x.c (hack_motif_clipboard_selection): Type correctness.
8494 (x_get_window_property): Type correctness.
8495 (receive_incremental_selection): unsigned char ==> Extbyte
8496 (selection_data_to_lisp_data): unsigned char ==> Extbyte
8497 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
8498 (Fx_store_cutbuffer_internal): Type correctness.
8500 * process-unix.c (try_to_initialize_subtty): Type correctness.
8502 * objects-x.c (x_print_color_instance): Type correctness.
8503 (x_print_font_instance): Type correctness.
8504 (x_list_fonts): SExtbyte ==> Extbyte.
8505 (valid_x_font_name_p): SExtbyte ==> Extbyte.
8506 (x_find_charset_font): SExtbyte ==> Extbyte.
8507 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
8508 (truename_via_XListFonts): SExtbyte ==> Extbyte.
8509 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
8512 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
8513 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
8514 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
8515 (BYTE_C0_P): Use bit ops for char-signedness safety.
8516 (BYTE_C1_P): Use bit ops for char-signedness safety.
8517 (CHARSET_BY_LEADING_BYTE):
8518 (CHARSET_BY_ATTRIBUTES):
8519 Always use inline function.
8520 Use type_checking_assert.
8523 * mule-charset.c (non_ascii_charptr_copy_char):
8524 Modify to work with both ASCII and non-ASCII characters.
8525 Improve docs and variable names.
8526 Replace over-clever fall-through switch with a simple loop.
8527 (Lstream_get_emchar_1):
8528 Replace over-clever fall-through switch with a simple loop.
8530 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8531 Warning suppression.
8533 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
8534 the return value of Lstream_getc, which could be EOF as well.
8536 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
8538 * lisp.h: Make Extbyte a char, not unsigned char, so that external
8539 APIs can be used on Extbytes without casts. Risky!
8543 * input-method-xlib.c (XIM_init_device):
8544 Use Xlib.h instead of IntrinsicP.h.
8545 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
8546 which will break in X11R7.
8547 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
8548 to call XRegisterIMInstantiateCallback with correct types.
8550 * gui-x.c (button_item_to_widget_value): Type correctness.
8552 * glyphs.c (bitmap_to_lisp_data): Type correctness.
8554 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
8555 (xbm_instantiate_1): Type correctness.
8556 (BUILD_GLYPH_INST): Type correctness.
8558 * fileio.c (Fsubstitute_in_file_name): Type correctness.
8561 (decode_coding_sjis):
8562 (decode_coding_big5):
8563 (decode_coding_ucs4):
8564 (decode_coding_utf8):
8565 (decode_coding_iso2022):
8566 (decode_coding_no_conversion):
8567 Make all decoding functions take an Extbyte * arg.
8568 (encode_coding_sjis):
8569 (encode_coding_big5):
8570 (encode_coding_ucs4):
8571 (encode_coding_utf8):
8572 (encode_coding_iso2022):
8573 (encode_coding_no_conversion):
8574 Make all encoding functions take a Bufbyte * arg.
8575 Use size_t instead of unsigned int for memory sizes.
8576 Only cast to unsigned char whenever dereferencing Extbyte *.
8578 * doc.c (unparesseuxify_doc_string): Type correctness.
8580 * console-x.c (split_up_display_spec):
8581 Rewrite without using details of internal string representation.
8582 (x_semi_canonicalize_device_connection): Type correctness.
8585 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
8586 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
8587 (HAVE_XFREE386): Removed.
8589 * buffer.h (DEC_CHARPTR): `const' correctness.
8590 (bufbyte_strcmp): New.
8591 (bufbyte_memcmp): New.
8593 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
8595 * buffer.h (XCHAR_OR_CHAR_INT):
8596 Always use inline function.
8597 Remove redundant type checking assert() - XINT will abort quite nicely.
8599 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
8601 * search.c (Freplace_match): Set newtext to an empty string.
8603 2000-10-10 Martin Buchholz <martin@xemacs.org>
8605 * s/decosf1-3.h: Remove #include of stropts.h
8606 * s/ptx.h: Remove #include of stropts.h
8607 * s/usg5-4.h: Remove #include of stropts.h
8610 Use stropts.h, not sys/stropts.h.
8611 Use strtio.h, not sys/strtio.h.
8613 2000-10-04 Martin Buchholz <martin@xemacs.org>
8615 * XEmacs 21.2.36 is released.
8617 2000-09-21 Andy Piper <andy@xemacs.org>
8619 * glyphs-x.c (x_redisplay_widget): make sure non-structural
8620 changes still involve copying the widget tree.
8621 (update_widget_face): make sure a change is register in the widget
8622 tree. Call update_tab_widget_face appropriately.
8623 (update_tab_widget_face): ditto.
8624 (x_tab_control_redisplay): make sure non-structural changes still
8625 involve copying the widget tree.
8627 2000-08-31 Daiki Ueno <ueno@unixuser.org>
8629 * lread.c (locate_file): Check the path element is non-nil.
8631 2000-10-02 Martin Buchholz <martin@xemacs.org>
8633 * lisp.h: Warning suppression for SCO compilers.
8635 * redisplay-tty.c (reset_tty_modes): Fix crash.
8636 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
8638 2000-09-27 Martin Buchholz <martin@xemacs.org>
8640 Big signal/process handling overhaul. Bugs fixed:
8641 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
8642 M-x comint-kill-subjob should work for both values nil and t of
8643 process-connection-type. It was broken on most platforms.
8644 Testing on Irix and Cygwin still needed. Other plaforms tested.
8645 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
8646 * process-unix.c: Signal/Process handling overhaul.
8647 (pty_name): make 64 bytes, as `expect' does, for paranoia.
8648 (allocate_pty): Use all available modern methods of allocating
8649 ptys, falling back to old style BSD allocation as a last resort.
8650 Use allegedly more secure Unix98 pty allocation by default.
8651 (allocate_pty_the_old_fashioned_way): New. the last resort.
8652 (unix_create_process): Push ptem, ldterm, ttcompat where
8653 available. Autoconfiscate.
8654 (try_to_initialize_subtty): New.
8655 (unix_kill_child_process): Proper signal handling for ptys on most
8656 platforms, using special knowledge of AIX, BSD, etc...
8657 (unix_create_process): Always disconnect_controlling_terminal() for
8658 subprocesses, whether using ptys or not.
8659 * process.h: Remove old getpt-dependent PTY code.
8660 * process.c (Fprocess_send_signal): New, obvious generic function.
8661 (decode_signal): New.
8662 (Finterrupt_process):
8666 (Fcontinue_process):
8667 (Fsignal_process): Use decode_signal.
8668 (process_send_signal):
8669 Many docstring corrections.
8670 Allow any signal to be sent to a process object.
8671 * config.h.in: Add symbols for big signal/process overhaul.
8672 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
8673 * sysproc.h: Include process-related headers, where available:
8674 sys/stropts.h sys/strtio.h pty.h libutil.h
8682 Remove old S&M pty stuff.
8683 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
8684 * systty.h: Simplify cpp hackery, improve comments.
8685 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
8687 * editfns.c (Fformat_time_string):
8688 Be a little more paranoid with the return value of ctime.
8690 * fileio.c (check_executable):
8692 Use symbolic constants X_OK, W_OK.
8694 * console-x.c (split_up_display_spec): Fix a warning.
8696 2000-10-02 Martin Buchholz <martin@xemacs.org>
8698 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
8699 * ntproc.c (sys_spawnve): make_string ==> build_string
8700 Small clarity improvements.
8702 2000-09-30 Martin Buchholz <martin@xemacs.org>
8704 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
8706 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
8708 * config.h.in (HAVE_STRCASECMP): Remove.
8710 2000-09-29 Martin Buchholz <martin@xemacs.org>
8712 * redisplay-output.c (redisplay_output_pixmap):
8713 Cleaner and possibly more 64-bit correct code.
8715 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
8717 * dumper.c (pdump_load_finish): move restoration of
8718 `noninteractive1' to emacs.c (main_1).
8719 * emacs.c (main_1): protect LISP-visible command-line flags
8722 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
8724 * Makefile.in.in (versionclean): Use EXE_TARGET and
8725 DUMP_TARGET instead of literal program names.
8727 2000-09-20 Martin Buchholz <martin@xemacs.org>
8729 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
8731 2000-09-19 Martin Buchholz <martin@xemacs.org>
8733 * *: Spelling mega-patch
8735 2000-09-19 Martin Buchholz <martin@xemacs.org>
8737 * fns.c (bad_bad_turtle):
8738 Delete "Eek!" comment, since we fixed the bug to which it refers.
8740 2000-09-16 Martin Buchholz <martin@xemacs.org>
8742 * alloca.c: Replace REGISTER with register.
8744 2000-09-16 Daiki Ueno <ueno@unixuser.org>
8746 * file-coding.c (ucs_to_char): Use countof.
8748 2000-09-16 Martin Buchholz <martin@xemacs.org>
8750 * file-coding.c: (ucs_to_char):
8751 (complex_vars_of_file_coding):
8752 Use countof instead of sizeof.
8753 Use CHECK_NATNUM instead of CHECK_INT.
8755 * sysdep.c (strcasecmp): Remove.
8756 * device-x.c (ascii_strcasecmp): New.
8757 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
8758 Avoid using non-standard non-portable strcasecmp.
8760 2000-09-16 Martin Buchholz <martin@xemacs.org>
8762 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
8763 * font-lock.c: remove reference to emacsfns.h.
8764 * search.c: small doc improvement.
8765 * event-Xt.c: correct file names in comments.
8766 * console-x.h Correct file names in comments.
8767 * frame.c: Correct file names in comments.
8768 * event-stream.c: remove Energize from comments.
8770 2000-09-15 Martin Buchholz <martin@xemacs.org>
8772 * symeval.h (DEFERROR_STANDARD):
8775 (DEFSYMBOL_NO_DUMP):
8776 (DEFSYMBOL_MULTIWORD_PREDICATE):
8777 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
8779 The construct &##name is not sensible C.
8780 Fixes compilation errors with Unixware native compiler.
8782 2000-09-14 Martin Buchholz <martin@xemacs.org>
8784 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
8785 (next_frame_internal): Removed. We now just have next_frame.
8787 Write a simpler and cleaner one-pass algorithm.
8788 Remove called_from_delete_device arg and #ifdefed-out code.
8790 Renamed from prev_frame. Update callers.
8791 Cleaned up to have an analogous implementation to next_frame.
8792 (other_visible_frames_internal): Remove the
8793 called_from_delete_device bogus arg, and hence, remove this
8794 function. Just use other_visible_frames().
8796 * window.c (Fnext_window):
8798 Since next_frame() is guaranteed to return a frame, remove check
8799 for nil inserted in previous patch.
8802 Make code look more like Fnext_window.
8804 Respect the `console' arg when iterating through windows.
8805 Fixes bug: (get-buffer-window buffer t device) not respecting
8807 This function needs more work, as others have pointed out.
8809 * frame.h: Rename prev_frame to previous_frame.
8810 device_matches_console_spec no longer takes a `frame' arg.
8815 Use EMACS_BLOCK_SIGNAL instead of sigblock.
8816 From "Golubev I. N." <gin@mo.msk.ru>.
8818 * make-src-depend: Fix typo.
8820 2000-09-13 Martin Buchholz <martin@xemacs.org>
8822 * window.c (Fnext_window):
8823 next_frame() might return nil, not a frame.
8825 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
8827 * frame.c (next_frame_internal):
8828 We've passed a frame if we've passed its device.
8830 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
8831 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
8833 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
8835 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
8836 Allow option to suppress accelerators in menu/dialog items.
8837 (populate_or_checksum_helper): Pass dialog title through above.
8839 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
8841 * event-msw.c (mswindows_key_to_emacs_keysym):
8842 Add "pause" key, fix "menu" key.
8844 2000-09-09 Martin Buchholz <martin@xemacs.org>
8846 * eval.c (reinit_vars_of_eval):
8847 Increase max_lisp_eval_depth to 1000,
8848 required for thai-xtis.el to byte-compile under some circumstances.
8850 2000-09-04 Martin Buchholz <martin@xemacs.org>
8852 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
8855 2000-09-01 Martin Buchholz <martin@xemacs.org>
8857 * make-src-depend: Make the generated Makefiles smaller.
8859 * s/hpux.h (SETUP_SLAVE_PTY):
8860 Provide a %d in the format string for the errno argument.
8862 * editfns.c (Ftemp_directory):
8864 Avoid buffer overrun on very long file name.
8866 * input-method-xlib.c (XIM_init_device):
8867 6th parameter of XRegisterIMInstantiateCallback has different
8868 pointer types on different OSes, so simply cast to (void *).
8870 * unexhp9k800.c: Warning fixes. Fiddly changes.
8872 * sysdll.c (dll_open):
8873 shl_load will hang hard if passed a NULL filename.
8874 Simply return NULL for compatibility with dlopen.
8875 * sysdll.c: Conform to XEmacs coding standards.
8877 * sysdep.c (get_pty_max_bytes):
8878 Support pty input lines longer than 512 bytes on HP-UX 10.20.
8880 2000-08-31 Martin Buchholz <martin@xemacs.org>
8882 * tooltalk.c: Add #include <syssignal.h>
8884 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
8886 * s/hpux.h: Don't use undefined function sigunblock().
8888 2000-08-31 Martin Buchholz <martin@xemacs.org>
8890 * config.h.in: Add HAVE_BALLOON_HELP.
8891 * emacs.c: Use HAVE_BALLOON_HELP.
8892 * Makefile.in.in (x_objs):
8893 Make Balloon Help conditional on finding shape.h.
8895 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
8897 * syntax.c (regex_emacs_buffer_p): New variable.
8898 * syntax.h (regex_emacs_buffer_p): extern.
8899 * search.c (looking_at_1):
8901 (fast_string_match):
8902 (search_buffer): Set regex_emacs_buffer_p.
8903 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
8904 when before_dot, at_dot, after_dot.
8906 2000-08-23 Andy Piper <andy@xemacs.org>
8908 * gui-x.c (popup_selection_callback): Only set action_occurred
8909 when we really have an image instance.
8910 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
8912 2000-08-23 Andy Piper <andy@xemacs.org>
8914 * gui-msw.c (mswindows_handle_gui_wm_command): set
8916 * gui-x.c (popup_selection_callback): ditto.
8918 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
8919 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
8920 (struct Lisp_Image_Instance): add action_occurred flag.
8922 * glyphs.c (redisplay_subwindow): use action_occurred flag.
8923 (image_instance_changed): ditto.
8924 (reset_frame_subwindow_instance_cache): only unmap windows - do
8925 not remove them from the cache also.
8927 * glyphs-widget.c (tab_control_update): better debug.
8928 (progress_gauge_update): ditto.
8929 (layout_update): ditto.
8930 (layout_instantiate): ditto.
8931 (tab_control_order_only_changed): cope with null pending items.
8933 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
8934 debug. Force selection of an item when an action occurred. Cope
8935 with null pending_items.
8936 (mswindows_progress_gauge_redisplay): better debug.
8937 * glyphs-x.c (x_tab_control_redisplay): ditto.
8939 * redisplay.c (redisplay_frame): reset the frame cache if the
8942 * window.c (Fset_window_configuration): potentially re-enable
8944 (window_unmap_subwindows): need to finalize instances here since
8945 it is only used in mark_window_as_deleted.
8947 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
8949 * nas.c (SndOpenDataForReading):
8950 nas.c (WaveOpenDataForReading):
8951 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
8952 Somehow escaped from the 2000-08-14 patch.
8954 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
8956 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
8957 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
8959 2000-08-21 Andy Piper <andy@xemacs.org>
8961 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
8962 window if it is not already displayed.
8964 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
8965 it is not already displayed.
8967 * window.c (Fset_window_configuration): don't reset the frame
8970 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
8971 instances from the frame cache if we are actually finalizing them.
8972 (reset_frame_subwindow_instance_cache): reset frame cache only
8973 after unmapping everything.
8974 (map_subwindow): set displayed flag after mapping.
8976 2000-08-21 Martin Buchholz <martin@xemacs.org>
8978 * data.c (indirect_function):
8979 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
8981 * eval.c (function_argcount):
8982 Use original function when signaling errors.
8984 2000-08-18 Andy Piper <andy@xemacs.org>
8986 * frame.c (delete_frame_internal): use new
8987 free_frame_subwindow_instances name.
8989 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
8990 (add_tab_item): make return type correct.
8991 (mswindows_tab_control_instantiate): assert index of tab.
8992 (mswindows_tab_control_redisplay): Re-code to use
8993 gui_item_equal_sans_selected and gui_item_list_find_selected.
8995 * glyphs-widget.c (tab_control_update): Correct comment.
8997 * window.c (window_unmap_subwindows): use new
8998 unmap_subwindow_instance_cache_mapper.
8999 (window_unmap_subwindows_cache_mapper): deleted.
9000 (Fset_window_configuration): comparisons should now be with
9001 EQ. Preserve the subwindow instance cache across configuration
9003 (allocate_window): ditto.
9004 (make_dummy_parent): ditto.
9006 * glyphs.c (free_frame_subwindow_instances): rename from
9007 free_frame_subwindow_instance_cache. finalize all instances rather
9008 than just those in the display cache.
9009 (finalize_all_subwindow_instances): walk windows unmapping and
9010 finalizing subwindows.
9011 (unmap_subwindow_instance_cache_mapper): moved from
9012 window.c. Allow finalization as well as unmapping.
9014 * gui.c (gui_item_list_find_selected): new function.
9016 * gui.h (gui_item_list_find_selected): declare.
9018 * glyphs-x.c (x_tab_control_redisplay): pick tab
9019 explicitly. Re-code to use gui_item_equal_sans_selected and
9020 gui_item_list_find_selected.
9022 * glyphs-x.h: add lwlib-utils.h
9024 * buffer.c (Frecord_buffer): undo previous change.
9026 2000-08-09 Vin Shelton <acs@xemacs.org>
9028 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
9029 possible. Create temporary files more securely. The patch was
9030 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
9031 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
9032 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
9035 2000-08-07 Ben Wing <ben@xemacs.org>
9037 * getloadavg.c: remove duplicate (and windows-breaking)
9038 includes of fcntl.h and sys/file.h.
9040 * nt.c: remove duplicate getloadavg() definition.
9042 * sysdll.h (Qdll_filename_encoding): add missing stand-in
9045 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
9047 * eval.c (function_argcount): If function needs to be autoloaded
9048 actually use the loaded definition.
9051 2000-08-05 Ben Wing <ben@xemacs.org>
9053 * getloadavg.c: add prototype for getloadavg(). remove
9054 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
9055 of the code). remove duplicate header includes.
9057 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
9059 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
9060 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
9061 useful load average.
9063 * alloc.c (reinit_alloc_once_early): removed references to
9064 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
9065 the lisp vars are the only things referencing the malloc_sbrk_*
9066 vars, and they were already if 0'd out. these vars only exist
9067 in the older malloc.c, which is basically unused, and they're
9068 only for informational purposes.
9070 * m\*.h: removed useless VIRT_ADDR_VARIES.
9072 * m\powerpc.h: removed stray NO_ARG_ARRAY.
9074 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
9076 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
9077 color if the image is a mono pixmap.
9079 2000-07-30 Ben Wing <ben@xemacs.org>
9081 * Makefile.in.in (release):
9084 * buffer.c (directory_is_current_directory):
9085 * dired-msw.c (mswindows_get_files):
9087 * dired.c (Fdirectory_files):
9088 * dired.c (file_name_completion_stat):
9089 * dired.c (Ffile_attributes):
9090 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
9091 preprocessor tricks, to avoid problems on some machines
9094 * callproc.c (egetenv): GC docs.
9097 * console-msw.h (struct mswindows_dialog_id):
9098 * lrecord.h (lrecord_type):
9099 New object for use with MSW dialogs.
9101 * console.h (struct console_methods):
9102 New enable/disable frame methods, for proper modal dialogs.
9104 * device-msw.c (msprinter_default_printer): Fix to follow
9105 proper Mule conventions.
9108 * device-msw.c (signal_open_printer_error):
9109 * device-msw.c (msprinter_init_device):
9110 * device-msw.c (ensure_not_printing):
9111 * device-msw.c (plist_get_margin):
9112 * device-msw.c (Fmsprinter_select_settings):
9113 * device-msw.c (finalize_devmode):
9114 * device-msw.c (Fmsprinter_settings_despecialize):
9115 * device-msw.c (signal_enum_priner_error):
9116 * extents.c (decode_extent):
9117 * extents.c (decode_map_extents_flags):
9118 * extents.c (decode_extent_at_flag):
9119 * extents.c (Fextent_at):
9120 * extents.c (Fextents_at):
9121 * extents.c (symbol_to_glyph_layout):
9122 [[[[2]]]] Use structured errors.
9125 * dialog-msw.c (mswindows_is_dialog_msg):
9126 * dialog-msw.c (mark_mswindows_dialog_id):
9127 * dialog-msw.c (dialog_proc):
9128 * dialog-msw.c (handle_question_dialog_box):
9129 * dialog-msw.c (syms_of_dialog_mswindows):
9130 Define new object to clean up marking; use it as a dialog identifier.
9131 Call new delete-dialog-box-hook.
9133 * dialog-x.c (dbox_selection_callback):
9134 * dialog-x.c (dbox_descriptor_to_widget_value):
9135 * dialog-x.c (x_make_dialog_box_internal):
9136 Call new delete-dialog-box-hook.
9140 * dialog.c (syms_of_dialog):
9141 * dialog.c (vars_of_dialog):
9142 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
9145 * eval.c (signal_call_debugger):
9146 when noninteractive, output stack traces on the console instead
9147 of in a (never-seen) buffer.
9149 * eval.c (signal_type_error):
9150 * eval.c (invalid_argument_2):
9152 new funs for use w/structured errors.
9155 * event-Xt.c (x_to_emacs_keysym):
9156 * event-Xt.c (describe_event):
9157 * event-Xt.c (emacs_Xt_event_handler):
9158 * event-Xt.c (vars_of_event_Xt):
9160 * event-msw.c (mswindows_wnd_proc):
9161 * event-msw.c (vars_of_event_mswindows):
9162 rename {x,mswindows}-debug-events to debug-{}-events for
9163 consistency with other debug-foo variables.
9166 document next-event more clearly.
9168 * fileio.c (Ffile_name_directory):
9169 * fileio.c (Ffile_name_nondirectory):
9170 * fileio.c (Funhandled_file_name_directory):
9171 * fileio.c (file_name_as_directory):
9172 * fileio.c (Ffile_name_as_directory):
9173 * fileio.c (directory_file_name):
9174 * fileio.c (Fdirectory_file_name):
9175 * fileio.c (Fmake_temp_name):
9176 * fileio.c (Ffile_truename):
9177 * fileio.c (Fsubstitute_in_file_name):
9178 * fileio.c (expand_and_dir_to_file):
9179 * fileio.c (barf_or_query_if_file_exists):
9180 * fileio.c (check_executable):
9181 * fileio.c (Ffile_exists_p):
9182 * fileio.c (Ffile_writable_p):
9183 * fileio.c (Ffile_directory_p):
9184 * fileio.c (Ffile_regular_p):
9185 * fileio.c (Ffile_modes):
9186 * fileio.c (Ffile_newer_than_file_p):
9187 * fileio.c (Fverify_visited_file_modtime):
9188 * fileio.c (Fset_visited_file_modtime):
9189 * fileio.c (auto_save_1):
9194 * frame-msw.c (mswindows_init_frame_1):
9195 * frame-msw.c (mswindows_enable_frame):
9196 * frame-msw.c (error_frame_unsizable):
9197 * frame-msw.c (msprinter_init_frame_1):
9198 * frame-msw.c (msprinter_init_frame_3):
9199 * frame-msw.c (console_type_create_frame_mswindows):
9201 implement new enable/disable frame methods.
9204 * frame-x.c (x_enable_frame):
9205 * frame-x.c (console_type_create_frame_x):
9206 implement new enable/disable frame methods.
9209 * frame.c (Fdisable_frame):
9210 * frame.c (syms_of_frame):
9211 * frame.h (struct frame):
9212 implement new enable/disable frame methods/functions.
9217 * glyphs-msw.c (mswindows_widget_instantiate):
9218 comment that initial-focus should be implemented.
9221 * glyphs-widget.c (check_valid_instantiator):
9222 * glyphs-widget.c (check_valid_orientation):
9223 * glyphs-widget.c (check_valid_tab_orientation):
9224 * glyphs-widget.c (check_valid_justification):
9225 * glyphs-widget.c (check_valid_border):
9226 * glyphs-widget.c (check_valid_callback):
9227 * glyphs-widget.c (check_valid_int_or_function):
9228 * glyphs-widget.c (check_valid_string_or_vector):
9229 * glyphs-widget.c (check_valid_item_list_1):
9230 * glyphs-widget.c (widget_validate):
9231 * glyphs-widget.c (combo_box_validate):
9232 * glyphs-widget.c (widget_instantiate):
9233 * glyphs-widget.c (syms_of_glyphs_widget):
9234 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
9235 * glyphs-widget.c (image_instantiator_combo_box):
9236 * glyphs-widget.c (image_instantiator_scrollbar):
9237 * glyphs-widget.c (image_instantiator_tab_control):
9238 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
9240 support (unimplemented) keyword initial-focus.
9241 reindent long macros.
9243 * glyphs-x.c (x_redisplay_widget):
9244 * glyphs-x.c (x_button_instantiate):
9245 * glyphs-x.c (x_button_redisplay):
9246 * glyphs-x.c (x_progress_gauge_instantiate):
9247 * glyphs-x.c (x_edit_field_instantiate):
9248 * glyphs-x.c (x_combo_box_instantiate):
9249 * glyphs-x.c (x_tab_control_instantiate):
9250 * glyphs-x.c (x_label_instantiate):
9252 * gui-x.c (button_item_to_widget_value):
9253 * gui-x.c (gui_items_to_widget_values_1):
9254 * gui-x.c (gui_item_children_to_widget_values):
9255 * gui-x.c (gui_items_to_widget_values):
9257 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9258 add new flag to gui-parsing routines to indicate whether
9259 accelerator specs should be supported.
9261 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
9263 * glyphs.h (struct Lisp_Image_Instance):
9264 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
9265 add initial-focus flag.
9268 * gui.c (syms_of_gui):
9269 * gui.c (vars_of_gui):
9270 clean up menu-no-selection-hook.
9273 support delete-dialog-box-hook.
9275 * lread.c (Fload_internal):
9276 * lread.c (locate_file_in_directory_mapper):
9280 * lrecord.h (struct toolbar_button):
9281 * lrecord.h (syms_of_toolbar):
9282 document how to create a new object.
9284 * menubar-msw.c (mswindows_char_is_accelerator):
9285 may be called on frames w/o menus.
9287 * menubar.c (vars_of_menubar):
9288 clean up :filter docs.
9295 * process-nt.c (validate_signal_number):
9296 * process-nt.c (signal_cannot_launch):
9297 * process-nt.c (nt_create_process):
9298 * process-nt.c (nt_send_process):
9299 * process-nt.c (nt_kill_child_process):
9300 * process-nt.c (nt_open_network_stream):
9301 * process-nt.c (syms_of_process_nt):
9303 delete quote-handling. call new lisp code that does it better.
9305 * process-unix.c (connect_to_file_descriptor):
9306 * process-unix.c (allocate_pty):
9307 * process-unix.c (unix_send_process):
9308 * process-unix.c (unix_kill_child_process):
9309 * process-unix.c (unix_open_network_stream):
9310 * process-unix.c (unix_open_multicast_group):
9314 * process.c (Fstart_process_internal):
9315 (2). need to canonicalize process path even if absolute.
9317 * select-msw.c (symbol_to_ms_cf):
9318 * select-msw.c (ms_cf_to_symbol):
9319 * select-msw.c (cf_is_autofreed):
9320 * select-msw.c (mswindows_destroy_selection):
9322 * select.c (syms_of_select):
9324 support dibv5, fix bugs. (from Mike Alexander)
9326 * select.c (Fget_selection_internal):
9327 * select.c (select_convert_out):
9330 * sysdep.c (xemacs_stat):
9335 but keep original stat() here because we provide encapsulation
9339 * sysfile.h (fstat):
9340 remove stat garbage.
9344 don't include tchar.h. it's inappropriate because it makes
9345 compile-time distinctions when we want runtime distinctions.
9346 (we provide our own tchar replacements)
9349 use default object printer for toolbar-button.
9352 make sure we don't encapsulate.
9354 * window.c (vars_of_window):
9355 emphasize that temp-buffer-show-hook is obsolete.
9357 2000-08-05 Martin Buchholz <martin@xemacs.org>
9359 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
9360 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
9362 * events.c (Fevent_timestamp_lessp):
9363 Not 64-bit clean. Use EMACS_INT, not int.
9365 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
9367 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
9368 unsigned int and changed the last enum to
9369 lrecord_type_last_built_in_type.
9370 (lrecord_implementations_table): changed prototype to know how
9371 long the array is supposed to be.
9372 (lrecord_type_count): new unsigned int to keep track of the
9373 current number of lisp lrecord types.
9374 (DEFINE_EXTERNAL_LRECORD):
9375 (DECLARE_EXTERNAL_LRECORD): Added these two for external
9376 dynamic-modules to declare new lisp types. They are the same
9377 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
9378 int for each new type, and increment lrecord_type_count by 1.
9380 * alloc.c (lrecord_implementations_table): Changed to reference
9381 lrecord_type_last_built_in_type for the size of the array.
9382 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
9384 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9386 * glyphs.h (check_valid_item_list): Renamed from
9387 check_valid_item_list_1.
9389 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
9391 * select.c (Qselect_coerce): New.
9392 * select.c (Vselection_coercion_alist): New.
9393 * select.c (syms_of_select): Declare.
9394 * select.c (get-selection-internal): Use it.
9395 Use the new select-coerce functionality.
9397 * select.c (select_coerce): New.
9398 * select.h (select_coerce): Declare.
9399 New function to coerce one type of data into another.
9401 2000-08-03 Martin Buchholz <martin@xemacs.org>
9403 * callproc.c (Fcall_process_internal):
9404 (Fcall_process_internal):
9405 * process-unix.c (unix_create_process):
9406 Save and restore the value of errno, so that error messages are accurate.
9408 2000-08-01 Martin Buchholz <martin@xemacs.org>
9410 * elhash.c (print_hash_table):
9411 Fix printing of hash tables to also use `key-and-value' instead of `t'.
9412 Prettify docstrings and indentation.
9414 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
9416 * window.c (Fwindow_pixel_edges): Subtract frame border and
9419 2000-07-31 Andy Piper <andy@xemacs.org>
9421 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
9422 will acknowledge the change.
9424 * glyphs.h: declare tab_control_order_only_changed.
9426 * glyphs-x.c (x_tab_control_redisplay): use
9427 tab_control_order_only_changed.
9429 * glyphs-widget.c (tab_control_order_only_changed): new function.
9431 * glyphs-msw.c (mswindows_tab_control_redisplay): use
9432 tab_control_order_only_changed.
9434 * gui.c (gui_item_equal_sans_selected): new function.
9435 (gui_item_equal): use it.
9437 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
9438 :properties in favor of :items..
9440 * glyphs-widget.c (check_valid_item_list): rename from
9441 check_valid_item_list_1.
9442 (check_valid_item_list_1): renamed.
9443 (combo_box_validate): deprecate :properties in favor of :items.
9444 (widget_instantiate): ditto.
9445 (tab_control_update): ditto.
9446 (image_instantiator_combo_box): ditto.
9447 (image_instantiator_tree_view): ditto.
9448 (image_instantiator_tab_control): ditto.
9449 (layout_post_instantiate): remove dead code.
9451 * print.c (debug_print_no_newline): only write to debugger if in
9454 * elhash.c (Fmake_hash_table): update doc string.
9456 * event-msw.c (mswindows_wnd_proc): don't allow processing of
9457 messages whilst in GC. This at least stops XEmacs crashing but has
9458 the potential for wierd behaviour.
9460 2000-07-31 Martin Buchholz <martin@xemacs.org>
9463 Make existence of s&m files optional.
9465 * s/bsd386.h: Remove HAVE_GETLOADAVG.
9466 * s/freebsd.h: Remove HAVE_GETLOADAVG.
9467 * s/gnu.h: Remove HAVE_GETLOADAVG.
9468 * s/netbsd.h: Remove HAVE_GETLOADAVG.
9469 * s/sol2.h: Remove HAVE_GETLOADAVG.
9470 * lisp.h: Remove getloadavg() declaration.
9472 Include <sys/loadavg.h> if available.
9473 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
9474 * config.h.in: Group together getloadavg()-related macros.
9475 Use only configure-time tests to detect getloadavg().
9477 2000-07-30 Martin Buchholz <martin@xemacs.org>
9479 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
9481 2000-07-25 Andy Piper <andy@xemacs.org>
9483 * syswindows.h: add tchar.h for native builds.
9485 * frame.c (syms_of_frame): remove set-glyph-image.
9487 * general-slots.h: add Qset_glyph_image.
9489 * glyphs-widget.c (layout_update): add domain arg to
9491 (syms_of_glyphs_widget): remove set-glyph-image.
9493 2000-07-23 Ben Wing <ben@xemacs.org>
9495 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
9498 2000-07-22 Andy Piper <andy@xemacs.org>
9500 * symsinit.h: add syms_of_win32().
9502 * gui-msw.c (syms_of_gui_mswindows): remove
9503 Fmswindows_shell_execute.
9504 (Fmswindows_shell_execute): moved to win32.c.
9506 * emacs.c (main_1): add syms_of_win32 ().
9508 * win32.c (init_potentially_nonexistent_functions): rewrite in
9509 compiler-friendly terms.
9510 (Fmswindows_shell_execute): move here from gui-msw.c.
9511 (syms_of_win32): new.
9513 * device-msw.c (Fmswindows_printer_list): clean up args to
9515 Don't include tchar under cygwin or mingw.
9516 (msprinter_default_printer): make cygwin-friendly.
9518 2000-07-21 Andy Piper <andy@xemacs.org>
9520 * glyphs-widget.c (image_instantiator_tree_view): use tab
9521 control's update function.
9522 (layout_property): new function. Retrieve items.
9524 * glyphs-msw.c (mswindows_tree_view_redisplay): new
9525 function. Re-populate the tree view from the pending items.
9527 * glyphs.c (instantiate_image_instantiator): Make sure the domain
9528 is designated the parent if the domain is an image instance. This
9529 is needed so that dirtiness can be cascade up the hierarchy and
9530 thus for layout children to be redisplayed correctly.
9531 (allocate_image_instance): rename glyph -> parent.
9533 * redisplay.h: change redisplay_output_layout signature.
9535 * redisplay-msw.c (mswindows_output_display_block): use domain
9538 * redisplay-x.c (x_output_display_block): use domain arg.
9540 2000-07-10 Andy Piper <andy@xemacs.org>
9542 * window.c (Fset_window_configuration): add comment.
9544 * redisplay-output.c (compare_runes):
9545 (redisplay_output_subwindow): redisplay rather than update subwindow.
9546 (redisplay_output_layout): ditto.
9548 * redisplay-msw.c (mswindows_frame_output_end):
9549 (mswindows_frame_output_end): make defer window pos optional.
9551 * lisp.h: add Flast.
9553 * glyphs.h (struct image_instantiator_methods): add dest_mask top
9554 normalize method. Change update method to be for changed
9555 instantiators. Add redisplay method. Change signature of layout
9557 (struct Lisp_Image_Instance): add instantiator.
9558 (IMAGE_INSTANCE_INSTANTIATOR): new.
9559 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
9560 (XIMAGE_INSTANCE_INSTANTIATOR): new.
9561 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
9564 (find_instantiator_differences): new function.
9565 (Fset_instantiator_property): new convenience function.
9566 (check_image_instance_structure): strictly check for vector
9568 (normalize_image_instantiator): make non-static.
9569 (instantiate_image_instantiator): pass on dest_mask and use new
9570 signatures for image_instance_layout and friends.
9571 (mark_image_instance): mark the instantiator. Mark the subwindow
9572 face not the widget face.
9573 (image_instance_equal): add instantiator.
9574 (image_instance_hash): ditto.
9575 (allocate_image_instance): ditto.
9576 (Fset_image_instance_property): removed.
9577 (Fimage_instance_file_name): ditto.
9578 (Fcolorize_image_instance): ditto.
9579 (image_instance_layout): add offsets to be set.
9580 (update_image_instance): new function. update an image instance
9581 from its changed instantiator.
9582 (inherit_normalize): add dest_mask.
9583 (xbm_normalize): ditto.
9584 (xface_normalize): ditto.
9585 (xpm_normalize): ditto.
9586 (text_update): set_property -> update.
9587 (image_instantiate): use the glyph identity as a hash key, not the
9589 (glyph_width): use new image_instance_layout signature.
9590 (glyph_ascent): ditto.
9591 (glyph_descent): ditto.
9592 (glyph_height): ditto.
9593 (glyph_query_geometry): ressurrect.
9594 (glyph_layout): ditto.
9595 (redisplay_subwindow): update -> redisplay.
9596 (syms_of_glyphs): add Fset_instantiator_property.
9597 (image_instantiator_format_create): set_property -> update.
9600 (autodetect_normalize): add dest_maks to signature.
9601 (x_redisplay_subwindow): update -> redisplay.
9602 (x_redisplay_widget): ditto.
9603 (x_button_redisplay): ditto.
9604 (x_progress_gauge_redisplay): ditto.
9605 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
9607 (console_type_create_glyphs_x): update -> redisplay.
9608 (image_instantiator_format_create_glyphs_x): ditto.
9611 (check_valid_instantiator): disallow glyphs in the instantiator,
9612 they must now be vectors.
9613 (check_valid_instantiator_list): ditto.
9614 (glyph_instantiator_to_glyph): use internal symbol rather than
9616 (widget_update): renamed from widget_set_property. Call cascaded
9618 (redisplay_widget): renamed from update_widget.
9619 (widget_layout): image_instance_layout now takes position as well
9621 (widget_normalize): ditto.
9622 (widget_instantiate): ditto.
9623 (tab_control_query_geometry) ditto.:
9624 (tab_control_update): renamed from tab_control_set_property.
9625 (progress_gauge_update): set_property -> update.
9626 (layout_normalize): rewrite so that child instantiators are
9628 (layout_update): new function. Create glyphs from the normalized
9629 children and cope with any other layout keywords. We do not
9630 instantiate children here that will be take care of by
9631 redisplay_output_layout.
9632 (layout_instantiate): call layout_update and not much else.
9633 (layout_post_instantiate): not sure whether this is needed
9635 (layout_query_geometry): query glyph geometry rather than
9636 image_instance geometry.
9637 (layout_layout): set offsets from pass in parameters. Use glyph
9638 geometry and layout functions rather than image instance ones.
9639 (native_layout_layout): ditto.
9640 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
9641 (image_instantiator_widget): set_property -> update.
9642 (image_instantiator_buttons): ditto.
9643 (image_instantiator_progress_guage): ditto.
9644 (image_instantiator_tab_control): ditto.
9645 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
9646 (image_instantiator_layout): add update method.
9648 * glyphs-msw.c (bmp_normalize):
9649 (mswindows_resource_normalize): add dest_mask so that it can be
9650 proprogated by layout_normalize.
9651 (begin_defer_window_pos): make optional because it may not be the
9652 right thing to do and it introduces differences with X.
9653 (mswindows_unmap_subwindow): ditto.
9654 (mswindows_map_subwindow): ditto.
9655 (mswindows_redisplay_subwindow): renamed from
9656 mswindows_update_subwindow.
9657 (mswindows_redisplay_widget): ditto.
9658 (mswindows_button_redisplay): renamed from
9659 mswindows_button_update. Update is now what the instantiation
9660 function does for a changed instantiator.
9661 (mswindows_progress_gauge_instantiate): set the progress value
9662 here if appropriate.
9663 (mswindows_tab_control_redisplay): cope with re-ordering of the
9664 members of the tab widget by simply selecting the new top
9665 widget. This makes things appear ok if you click on a tab.
9666 (mswindows_combo_box_instantiate): image_instance_layout now takes
9667 position as well as size.
9668 (mswindows_progress_gauge_redisplay): renamed from
9669 mswindows_progress_gauge_update.
9670 (console_type_create_glyphs_mswindows): fix update -> redisplay.
9671 (image_instantiator_format_create_glyphs_mswindows): ditto.
9673 * glyphs-eimage.c (jpeg_normalize):
9676 (tiff_normalize): add dest_mask so that it can be proprogated by
9681 (hash_table_weakness_validate):
9682 (decode_hash_table_weakness):
9683 (Fhash_table_weakness):
9685 (syms_of_elhash): use Ben's naming scheme for hashtable types..
9687 * console.h (struct console_methods): move update_* to
9690 2000-07-20 Ben Wing <ben@xemacs.org>
9692 * *.[ch] (XSETOBJ): remove unused middle argument.
9693 lisp-disunion.h: correct wrap_object() to one argument.
9695 2000-07-15 Ben Wing <ben@xemacs.org>
9698 * s/cygwin32.h (CYGWIN_CONV_PATH):
9699 Add missing logb prototype for v1.1.
9700 Use post-b20 names and alias to pre-b20 names when pre-b20.
9702 * s/windowsnt.h: [5].
9704 2000-07-15 Ben Wing <ben@xemacs.org>
9706 * Makefile.in.in (x_objs):
9707 * Makefile.in.in (sheap_objs):
9708 * Makefile.in.in (objs):
9709 added win32.o, cosmetic cleanups.
9711 * alloc.c (Fmake_byte_code):
9712 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
9713 etc. macros which declare their own args now.
9715 * alloc.c (syms_of_alloc):
9716 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
9719 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
9721 * buffer.c (Fget_file_buffer):
9722 Fixed GCPRO problem.
9724 * buffer.c (get_truename_buffer):
9725 Fixed comment about GC checking.
9727 * buffer.c (syms_of_buffer):
9728 Undeclared those dedicated frame funs.
9732 Define convenience macros for internal/external conversions.
9733 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
9734 and Qenvironment_variable_encoding for cleaner code.
9737 Remove dedicated-frame; in lisp.
9739 * bytecode.c (funcall_compiled_function):
9742 * bytecode.c (syms_of_bytecode):
9746 * console-msw.c (mswindows_show_console): Rewrote.
9748 * console-msw.c (Fmswindows_debugging_output): New.
9749 Sends to OutputDebugString (special MSWin debugger interface).
9751 * console-msw.c (Fmswindows_message_box):
9752 Fixed stupid bugs so it works when called from kill-emacs.
9754 * console-msw.c (syms_of_console_mswindows):
9755 Declare Fmswindows_debugging_output.
9758 New MSWin prototypes.
9760 * console-msw.h (struct mswindows_frame):
9761 New entry last-click-mods for improved button-modifier support.
9763 * console-msw.h (FRAME_MSWINDOWS_POPUP):
9764 New struct entry `popup' with corresponding accessor.
9767 * console-x.c (split_up_display_spec):
9768 * console-x.c (get_display_arg_connection):
9769 * console-x.c (x_semi_canonicalize_console_connection):
9770 * console-x.c (x_canonicalize_device_connection):
9771 [[[6]]]: Change char to more specific type.
9772 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
9774 * console-x.c (x_semi_canonicalize_console_connection):
9775 * console-x.c (x_canonicalize_device_connection):
9776 [[[9]]]: Fix up error signalling to use new structured error system.
9779 [[[4]]]: Define codesys aliases:
9780 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
9781 Qx_color_name_encoding, Qx_display_name_encoding.
9783 * console.h (struct console_methods):
9784 New method make_dialog_box_internal supersedes older
9785 popup_dialog_box method.
9788 Define many new errors, part of new structured errors.
9790 * data.c (init_errors_once_early):
9791 * data.c (syms_of_data):
9794 * device-msw.c (mswindows_init_device):
9795 [[[5]]]: Cleanup to support NT 3.51.
9797 * device-msw.c (decode_devmode): Cleanup.
9799 * device-msw.c (mswindows_handle_print_setup_dialog_box):
9800 * device-msw.c (mswindows_handle_print_dialog_box):
9801 * device-msw.c (mswindows_handle_page_setup_dialog_box):
9802 * device-msw.c (syms_of_device_mswindows):
9803 Delete the dialog box primitives recently introduced by Kirill and
9804 instead interface to general dialog box interface.
9807 * device-x.c (compute_x_app_name):
9808 * device-x.c (x_init_device):
9809 * device-x.c (Fx_valid_keysym_name_p):
9810 * device-x.c (Fx_set_font_path):
9814 * device.h (wrap_device): New.
9815 First of its kind; meant to replace XSETDEVICE.
9817 * dialog-msw.c: Many file-dialog symbols.
9819 * dialog-msw.c (mswindows_register_popup_frame): New.
9820 * dialog-msw.c (mswindows_is_dialog_msg): New.
9821 For supporting kbd traversal in dialog boxes.
9823 * dialog-msw.c (dialog_proc):
9824 Support hitting ESC in dialogs.
9826 * dialog-msw.c (struct):
9827 Common dialog box errors.
9829 * dialog-msw.c (handle_file_dialog_box): New.
9830 Add file dialog code.
9832 * dialog-msw.c (handle_question_dialog_box):
9833 Redo existing code to support new question dialog syntax.
9835 * dialog-msw.c (console_type_create_dialog_mswindows):
9836 We support new dialog console method.
9838 * dialog-msw.c (syms_of_dialog_mswindows):
9839 * dialog-msw.c (vars_of_dialog_mswindows):
9840 New file dialog symbols, vars.
9843 * dialog-x.c (maybe_run_dbox_text_callback):
9844 * dialog-x.c (dbox_descriptor_to_widget_value):
9845 * dialog-x.c (x_make_dialog_box_internal):
9846 * dialog-x.c (console_type_create_dialog_x):
9847 Mule-ize entire file.
9848 Redo to support question dialog syntax.
9852 * dialog.c (Fmake_dialog_box_internal):
9853 * dialog.c (syms_of_dialog):
9854 Kill old popup-dialog-box, replace with new primitive.
9855 Just call device method or signal error.
9857 * eldap.c (Fldap_open):
9858 * eldap.c (Fldap_search_basic):
9859 * eldap.c (Fldap_add):
9860 * eldap.c (Fldap_modify):
9865 * emacs.c (make_arg_list_1):
9866 * emacs.c (make_arg_list):
9867 Mule-ize call to dll_init().
9871 * emacs.c (make_argc_argv):
9872 * emacs.c (free_argc_argv):
9873 * emacs.c (init_cmdargs):
9875 * emacs.c (Fkill_emacs):
9876 * emacs.c (Fdump_emacs):
9877 Update comments about what can be used in syms_* etc.
9878 Call init_win32() when necessary.
9879 Fix up MS Win dialog box in kill-buffer to actually work right.
9890 * eval.c (condition_case_3):
9892 * eval.c (function_argcount):
9893 * eval.c (funcall_lambda):
9896 * eval.c (type_error): New.
9897 * eval.c (maybe_type_error): New.
9898 * eval.c (continuable_type_error): New.
9899 * eval.c (maybe_continuable_type_error): New.
9900 * eval.c (type_error_with_frob): New.
9901 * eval.c (maybe_type_error_with_frob): New.
9902 * eval.c (continuable_type_error_with_frob): New.
9903 * eval.c (maybe_continuable_type_error_with_frob): New.
9904 New functions for use with structured errors.
9907 * event-Xt.c (x_event_to_emacs_event):
9908 Buttons are now modifiers too.
9910 * event-Xt.c (emacs_Xt_current_event_timestamp):
9911 Implement new event method.
9912 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
9915 * event-msw.c (ntpipe_shove_writer): [5].
9916 * event-msw.c (mswindows_enqueue_mouse_button_event):
9917 * event-msw.c (mswindows_drain_windows_queue):
9918 * event-msw.c (mswindows_wnd_proc): [7].
9919 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
9920 * event-msw.c (mswindows_modifier_state):
9921 Throughout: support new button modifiers.
9923 * event-msw.c (emacs_mswindows_current_event_timestamp):
9924 Implement new event method.
9925 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
9928 * event-stream.c (event_stream_current_event_timestamp): New.
9929 * event-stream.c (maybe_kbd_translate): New functionality.
9930 * event-stream.c (vars_of_event_stream):
9931 Document new kbd-translate-table functionality.
9933 * event-stream.c (Fcurrent_event_timestamp): New.
9934 New primitive for use in fabricated events.
9935 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
9937 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
9940 * events.c (Fmake_event):
9941 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
9945 * events.c (format_event_object): fix gcc warnings.
9947 * events.c (Fevent_timestamp): Document new primitives.
9949 * events.c (TIMESTAMP_HALFSPACE): New.
9951 * events.c (Fevent_timestamp_lessp): New. New primitive for
9952 comparing timestamps correctly (half-space algorithm).
9954 * events.c (Fevent_modifier_bits): Doc fix.
9956 * events.c (Fevent_modifiers): Major doc addition.
9957 * events.c (event_x_y_pixel_internal): Typo fix.
9958 * events.c (syms_of_events): Declare new primitives.
9961 Update long comment for button modifiers, timestamps.
9963 * events.h (struct event_stream):
9964 New current_event_timestamp method.
9967 * extents.c (extent_in_region_p):
9968 * extents.c (decode_extent):
9969 * extents.c (Fset_extent_parent):
9970 * extents.c (decode_map_extents_flags):
9974 * extents.c (struct extent_at_arg):
9975 * extents.c (decode_extent_at_flag):
9976 * extents.c (extent_at_mapper):
9977 * extents.c (extent_at_bytind):
9978 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
9979 * extents.c (Fextents_at): New primitive. [9].
9980 * extents.c (symbol_to_glyph_layout): [9].
9981 Support new primitive `extents-at'.
9984 * extents.c (get_text_property_bytind):
9985 extent_at_bytind has another arg.
9988 * extents.c (syms_of_extents): New primitive.
9990 * file-coding.c (Fmake_coding_system): [1].
9991 * file-coding.c (subsidiary_coding_system): fix gcc warning
9992 * file-coding.c (syms_of_file_coding): [2].
9994 * fileio.c (Fexpand_file_name):
9995 * fileio.c (Fsysnetunam):
9996 * fileio.c (Ffile_exists_p):
9997 * fileio.c (Ffile_executable_p):
9998 * fileio.c (Fverify_visited_file_modtime):
10001 * fileio.c (syms_of_fileio): [2].
10003 * filelock.c (lock_file_1):
10004 * filelock.c (current_lock_owner):
10005 * filelock.c (lock_if_free):
10006 * filelock.c (lock_file):
10007 * filelock.c (unlock_file):
10010 * fns.c (concat): Fix gcc warning.
10013 * fns.c (Fold_member):
10015 * fns.c (Fold_memq):
10016 * fns.c (memq_no_quit):
10018 * fns.c (Fold_assoc):
10020 * fns.c (Fold_assq):
10021 * fns.c (assq_no_quit):
10023 * fns.c (Fold_rassoc):
10025 * fns.c (Fold_rassq):
10026 * fns.c (rassq_no_quit):
10028 * fns.c (Fold_delete):
10030 * fns.c (Fold_delq):
10031 * fns.c (delq_no_quit):
10032 * fns.c (Fremassoc):
10033 * fns.c (Fremassq):
10034 * fns.c (remassq_no_quit):
10035 * fns.c (Fremrassoc):
10036 * fns.c (Fremrassq):
10037 * fns.c (remrassq_no_quit):
10038 * fns.c (Freverse):
10042 * frame-msw.c (mswindows_init_frame_1):
10043 * frame-msw.c (mswindows_delete_frame):
10044 Register popups with dialog code so keyboard traversing works.
10046 * frame-tty.c (tty_raise_frame_no_select): [1].
10049 * frame-x.c (x_set_frame_text_value):
10050 * frame-x.c (x_set_frame_properties):
10051 * frame-x.c (x_create_widgets):
10055 * frame.c (Fmouse_pixel_position): Minor doc fixes.
10057 * frame.h (wrap_frame): New.
10058 Macro like wrap_device.
10061 * general.c (SYMBOL):
10062 * general.c (syms_of_general):
10063 Major reorg. This is now just a wrapper and symbols themselves
10064 are listed in general-slots.h.
10066 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
10067 * glyphs-msw.c (mswindows_resource_instantiate): [5].
10069 * glyphs-msw.c (mswindows_native_layout_instantiate):
10070 Add DS_CONTROL so keyboard traversal will work.
10073 * glyphs-widget.c (syms_of_glyphs_widget):
10074 Move some symbols to general-slots.h.
10077 * glyphs-x.c (xbm_instantiate_1):
10078 * glyphs-x.c (x_xbm_instantiate):
10079 * glyphs-x.c (x_xface_instantiate):
10080 * glyphs-x.c (autodetect_instantiate):
10081 * glyphs-x.c (cursor_font_instantiate):
10082 * glyphs-x.c (x_update_widget):
10083 * glyphs-x.c (x_widget_instantiate):
10084 * glyphs.c (bitmap_to_lisp_data):
10085 * glyphs.c (pixmap_to_lisp_data):
10088 * glyphs.c (syms_of_glyphs):
10092 * gui-x.c (print_widget_value):
10093 * gui-x.c (menu_separator_style_and_to_external):
10094 * gui-x.c (add_accel_and_to_external):
10095 * gui-x.c (button_item_to_widget_value):
10096 * gui-x.c (gui_items_to_widget_values_1):
10097 * gui-x.c (gui_items_to_widget_values):
10098 * gui-x.c (syms_of_gui_x):
10099 * gui-x.c (vars_of_gui_x):
10100 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
10104 Muleize, prototype changes matching gui-x.c.
10107 * gui.c (separator_string_p):
10108 * gui.c (gui_item_add_keyval_pair):
10109 * gui.c (make_gui_item_from_keywords_internal):
10110 * gui.c (signal_too_long_error):
10111 * gui.c (parse_gui_item_tree_item):
10112 * gui.c (syms_of_gui):
10113 * gui.c (vars_of_gui):
10115 menu-no-selection-hook moved here (used by MSWin).
10116 Move some symbols to general-slots.h.
10120 * insdel.c (get_buffer_pos_char):
10121 * insdel.c (get_buffer_range_char):
10124 * keymap.c (keymap_lookup_directly):
10125 * keymap.c (keymap_store):
10126 * keymap.c (ensure_meta_prefix_char_keymapp):
10127 * keymap.c (describe_map):
10129 Support new button modifiers.
10131 * lisp-disunion.h (wrap_object):
10132 * lisp-disunion.h (XSETOBJ):
10133 Rename make_obj to wrap_object.
10136 * lisp-union.h (make_int):
10137 * lisp-union.h (make_char):
10138 Support wrap_object.
10141 * lisp.h (LIST_LOOP):
10142 * lisp.h (EXTERNAL_LIST_LOOP):
10143 * lisp.h (LIST_LOOP_2):
10144 * lisp.h (EXTERNAL_LIST_LOOP_1):
10145 * lisp.h (EXTERNAL_LIST_LOOP_2):
10146 * lisp.h (EXTERNAL_LIST_LOOP_3):
10147 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
10148 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10149 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
10150 * lisp.h (EXTERNAL_ALIST_LOOP_5):
10151 * lisp.h (EXTERNAL_ALIST_LOOP_6):
10152 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
10153 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
10154 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
10155 * lisp.h (struct Lisp_Symbol):
10156 * lisp.h (maybe_continuable_error_with_frob):
10157 Fix up section comments.
10158 Add new types for char to indicate usage.
10159 Delete symbols auto-generated from general-slots.h.
10160 Add prototypes for structured error functions.
10161 Add long comments describing looping macros and change interface
10162 so that lvalues are automatically declared.
10163 Add NO_DECLARE macro in case callers want to declare lvalues
10166 * lread.c (read_syntax_error):
10167 * lread.c (continuable_read_syntax_error):
10168 * lread.c (read_structure):
10169 * lread.c (sequence_reader):
10170 * lread.c (read_list_conser):
10171 * lread.c (read_compiled_function):
10172 Rename syntax_error and continuable_syntax_error to avoid clash
10173 with same-named structured error functions.
10175 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10176 * menubar-msw.c (populate_menu_add_item):
10177 * menubar-msw.c (populate_or_checksum_helper):
10182 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10183 Mule-ize whole file.
10185 * menubar.c (Fnormalize_menu_item_name): Add optimization.
10187 * mule-charset.c (Fmake_charset):
10188 * mule-wnnfns.c (Fwnn_set_param):
10191 * ntproc.c (create_child):
10192 * ntproc.c (Fwin32_set_current_locale):
10193 Add comments portending doom.
10196 * objects-msw.c (old_font_enum_callback_2):
10197 * objects-msw.c (font_enum_callback_1):
10198 * objects-msw.c (mswindows_enumerate_fonts):
10202 * objects-x.c (allocate_nearest_color):
10203 * objects-x.c (x_parse_nearest_color):
10204 * objects-x.c (x_initialize_color_instance):
10205 * objects-x.c (x_print_color_instance):
10206 * objects-x.c (x_finalize_color_instance):
10207 * objects-x.c (x_valid_color_name_p):
10208 * objects-x.c (x_initialize_font_instance):
10209 * objects-x.c (x_print_font_instance):
10210 * objects-x.c (valid_x_font_name_p):
10211 * objects-x.c (truename_via_FONT_prop):
10212 * objects-x.c (truename_via_random_props):
10213 * objects-x.c (truename_via_XListFonts):
10214 * objects-x.c (x_font_truename):
10215 * objects-x.c (x_font_instance_truename):
10216 * objects-x.c (x_font_instance_properties):
10217 * objects-x.c (x_list_fonts):
10218 * objects-x.c (x_find_charset_font):
10219 Mule-ize entire file.
10226 * print.c (std_handle_out_external):
10227 * print.c (debug_print_no_newline):
10228 * print.c (syms_of_print):
10229 Output to all debugger kinds in debug-print.
10230 Fix console-output code under MSWin to actually work.
10232 * process-nt.c (send_signal):
10233 * process-nt.c (nt_create_process):
10234 Use newer Unicode macros.
10236 * process-unix.c (unix_create_process):
10237 * process-unix.c (unix_canonicalize_host_name):
10238 * process-unix.c (unix_open_network_stream):
10244 * search.c (syms_of_search):
10247 * select-msw.c (mswindows_destroy_selection):
10250 * select-x.c (symbol_to_x_atom):
10253 * select.c (syms_of_select):
10256 * sound.c (Fplay_sound_file):
10260 * specifier.c (decode_specifier_type):
10261 * specifier.c (Fvalid_specifier_locale_type_p):
10262 * specifier.c (check_valid_locale_or_locale_type):
10263 * specifier.c (decode_locale):
10264 * specifier.c (decode_locale_type):
10265 * specifier.c (decode_locale_list):
10266 * specifier.c (check_valid_domain):
10267 * specifier.c (decode_specifier_tag_set):
10268 * specifier.c (Fcanonicalize_tag_set):
10269 * specifier.c (Fdefine_specifier_tag):
10270 * specifier.c (Fspecifier_tag_predicate):
10271 * specifier.c (check_valid_inst_list):
10272 * specifier.c (check_valid_spec_list):
10273 * specifier.c (decode_how_to_add_specification):
10274 * specifier.c (check_modifiable_specifier):
10275 * specifier.c (specifier_add_spec):
10276 * specifier.c (boolean_validate):
10277 * specifier.c (display_table_validate):
10280 * specifier.c (syms_of_specifier):
10281 Move some symbols to general-slots.h.
10285 * symbols.c (Fmapatoms):
10286 * symbols.c (Fapropos_internal):
10289 * symbols.c (set_default_buffer_slot_variable):
10290 * symbols.c (set_default_console_slot_variable):
10293 * symbols.c (defsymbol_massage_name_1):
10294 * symbols.c (defkeyword_massage_name):
10295 * symbols.c (deferror_1):
10296 * symbols.c (deferror):
10297 * symbols.c (deferror_massage_name_and_message):
10299 * symeval.h (DEFSYMBOL):
10300 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
10302 * symbols.c (syms_of_symbols):
10306 * symsinit.h (init_win32): New.
10307 Also new is syms_of_dialog_mswindows.
10310 Add new Unicode macros, missing Cygwin wide-char functions,
10311 convenience conversion macros for Qmswindows_tstr, macros for
10312 encapsulating required MSWin <-> Cygwin filename conversions,
10313 prototype for dynamically-extracted (not in NT 3.51) functions.
10318 * tooltalk.c (Fadd_tooltalk_message_arg):
10319 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
10320 * tooltalk.c (Fadd_tooltalk_pattern_arg):
10323 * tooltalk.c (syms_of_tooltalk):
10327 * unexnt.c (unexec):
10328 Fix up headers, declaration of unexec() to be more standard.
10330 2000-07-20 Martin Buchholz <martin@xemacs.org>
10332 * offix.h: Revert change to guard macros - they're used in offix.c!
10334 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10336 * lisp.h: Defsubred Fdelete.
10338 * console-msw.h: (msprinter_default_printer): Added.
10340 * console-msw.c (msprinter_canonicalize_console_connection):
10341 (msprinter_canonicalize_device_connection): Added.
10343 * device-msw.c (msprinter_default_printer):
10344 (Fmswingows_get_default_printer):
10345 (signal_enum_priner_error):
10346 (Fmswingows_printer_list): Added.
10348 2000-07-19 Martin Buchholz <martin@xemacs.org>
10350 * XEmacs 21.2.35 is released.
10352 2000-07-19 Martin Buchholz <martin@xemacs.org>
10354 * select-x.c (x_handle_selection_request):
10355 Text selected in xemacs and pasted into xterm failed to appear.
10356 Spelling fixes and cosmetic changes.
10358 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10360 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
10361 XEmacs frame (fix for doubling chars in dialog boxes).
10363 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10365 * select.c (select_convert_in, select_convert_out):
10366 Don't call intern() every time.
10368 * select.c (Qselect_convert_in, Qselect_convert_out): New.
10369 * select.c (vars_of_select): Initialise them.
10371 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10373 * select.c (selection-coercible-types): New.
10375 * select.c (own-selection-internal):
10376 * select.c (get-selection-internal):
10377 MULE bug fix - these should default to COMPOUND_TEXT and not
10378 STRING for MULE. I think.
10380 * select.c (select_convert_out): Use selection-coercible-types
10381 to find types that we can attempt to perform coercions on.
10383 2000-07-18 Martin Buchholz <martin@xemacs.org>
10387 Add coding: cookie to identify encoding.
10389 * mule-canna.c (CANNA_mode_keys): make static.
10390 Use proper prototypes, even for functions of no arguments.
10391 Remove external prototype for Fding().
10393 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
10395 * select.c (syms_of_select): Add missing DEFSUBR.
10397 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10399 * select.c (get_selection_internal, own_selection_internal):
10400 Make the type default to STRING, rather than placing a nil type
10401 into Vselection_alist.
10403 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10405 * gpmevent.c (tty_selection_exists_p):
10406 * gpmevent.c (tty_own_selection):
10407 Updated parameter lists.
10409 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
10411 * select.h (selection-alist): Removed declaration.
10413 * select.h (get_local_selection):
10414 * select.c (get_local_selection):
10417 * select.h (convert_selection): Removed declaration.
10418 * select.c (convert_selection): Removed.
10419 This function belongs in Lisp.
10421 * select.h (select_convert_in): Declare.
10422 * select.h (select_convert_out): Declare.
10423 * select.c (select_convert_in): New.
10424 * select.c (select_convert_out): New.
10425 New conversion functions for other files to call.
10427 * select.h (select_notify_buffer_kill): Declare.
10428 * select.c (select_notify_buffer_kill): New.
10429 New functions that get called from kill-buffer.
10431 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
10432 X-specific lisp code.
10434 * select.h: Declare some of the lisp-visible functions for
10437 * select.c (clean_local_selection_data): Removed. This was
10438 a disgusting function, and previously should have been in
10439 select-x.c in any case. The functionality is now provided
10440 in select-convert-from-integer (select.el).
10442 * select.c (available-selection-types): Fixed stupidity where
10443 INTEGER and ATOM got added twice. Also add STRING when we see an
10446 * select.c (get-selection-internal): Removed symbol stripping. No
10447 longer causes conversion when data comes from the internal cache.
10449 * select.c (syms_of_select): Added new functions.
10451 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
10452 error checking - previously this called abort!
10454 * select-x.c (x_own_selection): Changed comment.
10456 * select-x.c (x_handle_selection_request): Use select_convert_out.
10457 Don't mess with selection-alist; it's an internal variable of select.c.
10459 * select-x.c (x_get_foreign_selection): Use select_convert_in.
10461 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
10462 rather than messing with selection-alist.
10464 * select-msw.c (mswindows_get_foreign_selection):
10465 Use TO_INTERNAL_FORMAT rather than hacking.
10467 2000-07-14 Martin Buchholz <martin@xemacs.org>
10469 * process-unix.c (unix_open_multicast_group):
10470 (unix_open_multicast_group): Remove useless casts.
10472 2000-07-13 Martin Buchholz <martin@xemacs.org>
10474 * sound.c (Fplay_sound): Fix `unused variable' warning.
10476 * emacs.c (main): Use correct type for _environ on SCO5.
10478 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
10480 * console.h (own_selection_method):
10481 * console.h (selection_exists_p_method):
10482 * console.h (available_selection_types_method): New.
10483 * console.h (register_selection_data_type_method): New.
10484 * console.h (selection_data_type_name): New.
10486 * console-msw.h (mswindows_destroy_selection): Declare it. New
10487 function & alist to track GlobalAlloc()'d handles that need
10488 releasing when the clipboard data gets replaced or emptied.
10490 * event-msw.c (mswindows_wnd_proc): Call it.
10492 * lisp.h, general.c (Qappend): New symbol representing a
10495 * select.c (own-selection-internal):
10496 * select.c (selection-exists-p):
10497 * select.c (available-selection-types): New.
10498 * select.c (register-selection-data-type): New.
10499 * select.c (selection-data-type-name): New. New functions to deal
10500 with device-specific selection data formats.
10501 * select.c (selection-converter-out-alist): Renamed.
10502 * select.c (selection-converter-in-alist): New.
10503 * select.c (selection-appender-alist): New. Added new alists.
10504 * select.c (syms_of_select, vars_of_select): Added new symbols &
10506 * select.c (get_local_selection): Split.
10507 * select.c: Removed spurious type checking - selections may now be
10508 of any type, not just strings.
10509 * select.c (own-selection-internal):
10511 * select.h, select.c (convert_selection): New. Created
10512 convert_selection() function based on get_local_selection().
10513 * select.h, select.c (QCF_*): New symbols representing mswindows
10515 * select.h, select.c (Qreplace_all, Qreplace_existing): New
10516 symbols representing `how-to-add' modes.
10518 * select-msw.c (x_sym_p): New.
10519 * select-msw.c (symbol_to_ms_cf): New.
10520 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
10521 symbols & clipboard formats. Can also handle string names.
10522 * select-msw.c (mswindows_own_selection):
10523 * select-msw.c (mswindows_selection_exists_p):
10524 Added `data-type' parameter. Use it.
10525 * select-msw.c (mswindows_available_selection_types): New.
10526 * select-msw.c (mswindows_register_selection_data_type): New.
10527 * select-msw.c (mswindows_selection_data_type_name): New.
10528 * select-msw.c (mswindows_own_selection):
10529 * select-msw.c (mswindows_get_foreign_selection):
10530 * select-msw.c (mswindows_selection_exists_p): Rewrote.
10531 * select-msw.c (console_create_select_mswindows): Added new methods.
10532 * select-msw.c (mswindows_destroy_selection): New.
10533 * select-msw.c (Vhandle_alist): New list.
10534 * select-msw.c (mswindows_own_selection):
10536 * select-x.c (x_own_selection):
10537 * select-x.c (x_selection_exists_p):
10538 * select-x.c: Added some comments about maybe using new
10540 * select-x.c (x_own_selection):
10542 * specifier.c: Remove definition of Qappend (now in general.c)
10543 * specifier.c (syms_of_specifier): Remove Qappend.
10545 2000-07-12 Martin Buchholz <martin@xemacs.org>
10547 * config.h.in: Add socklen_t.
10549 * s/decosf4-0.h: No special compiler flags needed or desired.
10550 In particular, undefine _BSD for DEC OSF 4.0.
10552 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10554 * redisplay-msw.c (msprinter_frame_output_end): Added.
10555 (console_type_create_redisplay_mswindows): Referred the above.
10557 * frame.c (setup_frame_without_minibuffer): Do not create a
10558 default minibuffer frame on a printer device.
10560 * frame-msw.c (apply_dc_geometry): Added.
10561 (msprinter_start_page):
10562 (msprinter_init_frame_3):
10563 (msprinter_eject_page): Use it.
10565 * console-msw.h (struct msprinter_frame): Added pix_left and top,
10566 and removed residual duplex and orientation properties.
10568 2000-07-11 Martin Buchholz <martin@xemacs.org>
10570 * eval.c (function_argcount): Work around a DEC CC compiler bug.
10572 * unexalpha.c: Remove system prototypes from C sources!
10574 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
10576 * eval.c: Remove references to M-x edit-options in DEFUNs for
10577 `defvar' and `defconst'.
10579 2000-07-09 Martin Buchholz <martin@xemacs.org>
10581 * config.h.in: Remove SMART_INCLUDE hackery.
10583 PostgreSQL hacking:
10584 * config.h.in: Don't use SMART_INCLUDE.
10586 * postgresql.h: Include libpq-fe.h here. Fix typo.
10587 * inline.c: Simply #include "postgresql.h"
10589 - Don't use SMART_INCLUDE
10590 - Use simply "const".
10591 - Use standard doc string conventions.
10592 - Use correct type for result of PQstatus.
10594 2000-07-09 Martin Buchholz <martin@xemacs.org>
10596 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
10598 C++ compilation changes.
10599 * config.h.in (EXTERN_C): Define.
10600 * config.h.in (not): This is also a C++ keyword.
10601 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
10602 * cm.c: Use EXTERN_C.
10603 * redisplay-tty.c: Use EXTERN_C.
10604 * sysdep.c: Use EXTERN_C. Remove Gould support.
10606 2000-07-09 Martin Buchholz <martin@xemacs.org>
10608 * general.c: Remove duplicate definition for Qfunction.
10610 2000-07-08 Ben Wing <ben@xemacs.org>
10612 * device-msw.c (msprinter_init_device):
10613 * device-msw.c (sync_printer_with_devmode):
10614 * device-msw.c (handle_devmode_changes):
10615 * device-msw.c (print_dialog_worker):
10616 * device-msw.c (Fmsprinter_apply_settings):
10617 * device-msw.c (hash_devmode):
10618 * device-msw.c (Fmsprinter_settings_despecialize):
10619 use Qmswindows_tstr, not Qctext.
10621 * vm-limit.c (check_memory_limits):
10622 avoid infinite loop printing warning messages.
10624 2000-07-05 Craig Lanning <lanning@scra.org>
10626 * Makefile.in.in: Add support for including the Windows resources
10627 when building with the cygwin and mingw targets.
10629 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
10630 not set or not correct.
10631 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
10632 (init_initial_directory): Don't try to use $PWD on the
10633 WIN32_NATIVE target.
10636 [[Add -mwindows to eliminate console window.]] not required --ben
10637 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10638 (MAIL_USE_POP): removed; now handled by configure.
10640 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
10641 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
10642 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10643 (MAIL_USE_POP): removed; now handled by configure.
10644 (ENCAPSULATE_STAT): from Dan Holmsand, added.
10645 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
10646 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
10648 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
10649 up from <winsock.h> via systime.h.
10650 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
10651 (getpagesize): from Dan Holmsand, added.
10652 Added #endif which was left dangling by Ben's mega patch; added
10653 comment to help prevent this in the future.
10655 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
10657 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10659 * console-msw.h (struct mswindows_device): Removed unnecessary
10660 cached device geometry values.
10661 Added update_tick and an accessor macro.
10662 (Lisp_Devmode): Added lrecord declaration.
10663 (struct msprinter_device): Contain devmode as a Lisp object.
10664 Added mswindows_get_selected_frame_hwnd();
10666 * console.h (struct console_methods): Indentation nitpicking.
10668 * device-msw.c (mswindows_init_device): Do not initialize geometry
10669 cache. Initialize update tick.
10670 (mswindows_device_system_metrics): Ask the device for its geometry.
10671 (global_free_2_maybe):
10672 (devmode_to_hglobal):
10673 (handle_printer_changes):
10674 (ensure_not_printing):
10675 (print_dialog_worker):
10676 (Fmsprinter_print_setup_dialog):
10677 (Fmsprinter_print_dialog):
10678 (plist_get_margin):
10679 (plist_set_margin):
10680 (Fmsprinter_page_setup_dialog): Added functions.
10681 (sync_printer_with_devmode):
10682 (handle_devmode_changes):
10683 (Fmsprinter_get_settings):
10684 (Fmsprinter_select_settings):
10685 (Fmsprinter_apply_settings):
10686 (allocate_devmode):
10687 (Fmsprinter_settings_copy):
10688 (Fmsprinter_settings_despecialize):
10690 (finalize_devmode):
10692 (hash_devmode): Added functions
10693 (syms_of_device_mswindows): Init devmode lrecord class.
10695 * device.h: Added an exfun for find-device.
10697 * event-msw.c (mswindows_wnd_proc): Do not update the cached
10698 geometry; although, recreate the device compatible DC.
10700 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
10701 (msprinter_init_frame_3):
10702 (msprinter_frame_property):
10703 (msprinter_internal_frame_property_p):
10704 (msprinter_frame_properties):
10705 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
10706 print job properties (will move to device settings).
10708 * lisp.h: Added symbols.
10710 * general.c (syms_of_general): Declared them.
10712 * hash.c (string_hash): Added.
10714 * lrecord.h (lrecord_type): Added devmode lrecord type.
10716 2000-07-02 Mike Sperber <mike@xemacs.org>
10718 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
10721 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
10723 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
10726 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
10728 * data.c (Fstring_to_number): Don't recognize floating point if
10731 2000-06-22 Martin Buchholz <martin@xemacs.org>
10733 * glyphs-widget.c (tab_control_query_geometry):
10734 (widget_query_geometry):
10735 (button_query_geometry):
10736 * glyphs.c (text_query_geometry):
10737 Enforce type correctness.
10739 2000-06-18 Martin Buchholz <martin@xemacs.org>
10741 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
10742 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
10744 2000-06-17 Martin Buchholz <martin@xemacs.org>
10746 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
10747 conflicts with gcc's fixincluded version of FOO.h.
10749 * glyphs.h (image_instance_geometry): Remove trailing `,'
10751 2000-06-08 Mike Alexander <mta@arbortext.com>
10753 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
10754 (shove_thread): Don't write the same output twice
10755 (make_ntpipe_output_stream): Increase priority of shove thread
10756 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
10758 (ntpipe_shove_closer): Don't delete the pipe until we're done with
10761 2000-06-12 Ben Wing <ben@xemacs.org>
10763 * s\mingw32.h (sigset):
10764 * s\windowsnt.h (sigset):
10765 rename msw_ to mswindows_ for consistency with general convention.
10767 2000-06-12 Ben Wing <ben@xemacs.org>
10770 * console-msw.c (mswindows_get_console_hwnd):
10771 * console-msw.c (mswindows_ensure_console_allocated):
10772 * console-msw.c (mswindows_hide_console):
10773 * console-msw.c (mswindows_show_console):
10774 * console-msw.c (mswindows_ensure_console_buffered):
10775 * console-msw.c (mswindows_output_console_string):
10776 * console-msw.c (mswindows_windows9x_p):
10778 * device-msw.c (mswindows_get_workspace_coords):
10779 * device-msw.c (mswindows_device_system_metrics):
10780 * dialog-msw.c (mswindows_popup_dialog_box):
10781 * event-msw.c (mswindows_wnd_proc):
10782 * frame-msw.c (mswindows_size_frame_internal):
10783 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10784 * menubar-msw.c (displayable_menu_item):
10785 * menubar-msw.c (mswindows_char_is_accelerator):
10787 * nt.c (mswindows_sigset):
10788 * nt.c (mswindows_sigrelse):
10789 * nt.c (mswindows_sigpause):
10790 * nt.c (mswindows_raise):
10791 * nt.c (timer_proc):
10793 * ntproc.c (find_child_console):
10794 * ntproc.c (sys_kill):
10796 * print.c (std_handle_out_external):
10797 * process-nt.c (find_child_console):
10798 * process-nt.c (send_signal_the_95_way):
10799 * process-nt.c (ensure_console_window_exists):
10800 * process-nt.c (nt_create_process):
10802 rename msw_ to mswindows_ for consistency with general convention.
10806 include nt.h, not syswindows.h.
10808 * nt.c (mswindows_fstat):
10809 * nt.c (mswindows_stat):
10810 prefix mswindows_ instead of attempting to directly override the
10811 library functions. fix declarations.
10814 include syswindows.h. move some sysdep.h stuff here.
10817 include syswindows.h, not <windows.h>.
10825 * sysdep.c (sys_fstat):
10826 * sysdep.c (sys_stat):
10827 call mswindows versions when appropriate.
10830 move mswin decls to nt.h.
10833 add long comment describing appropriate use of the various windows
10836 2000-06-11 Ben Wing <ben@xemacs.org>
10838 * device-x.c: Correct doc string for sixth arg of x-get-resource.
10840 2000-06-10 Ben Wing <ben@xemacs.org>
10842 * Makefile.in.in (release):
10843 Correction to make sure xemacs.exe always dumped when correct.
10847 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
10849 * buffer.c (set_buffer_internal):
10850 [[[[2]]]]: Remove HAVE_FEP code.
10852 * buffer.c (init_initial_directory):
10856 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
10860 * callproc.c (call_process_cleanup):
10861 * callproc.c (Fold_call_process_internal):
10862 * callproc.c (child_setup):
10863 * callproc.c (getenv_internal):
10864 * callproc.c (init_callproc):
10865 * callproc.c (vars_of_callproc):
10866 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
10867 __CYGWIN32__ -> CYGWIN.
10868 DOS_NT -> WIN32_NATIVE.
10869 Remove MSDOS support/references, converting to WIN32_NATIVE
10871 __MINGW32__ -> MINGW.
10872 Fix windows.h includes.
10873 Remove bogus HAVE_NTGUI.
10879 mswindows_message_outputted added for use in allowing startup
10880 errors on the console to be seen.
10882 * console-msw.c (msw_ensure_console_allocated):
10883 * console-msw.c (msw_output_console_string):
10884 * console-msw.c (DHEADER):
10885 * console-msw.c (DOPAQUE_DATA):
10886 * console-msw.c (DEVENT):
10887 * console-msw.c (DCONS):
10888 * console-msw.c (DCONSCDR):
10889 * console-msw.c (DSTRING):
10890 * console-msw.c (DVECTOR):
10891 * console-msw.c (DSYMBOL):
10892 * console-msw.c (DSYMNAME):
10895 * console-stream.c (stream_init_console):
10896 Fix text/binary problems.
10899 * device-msw.c (mswindows_finish_init_device):
10900 * device-msw.c (mswindows_delete_device):
10903 * device.c (handle_asynch_device_change):
10907 * dgif_lib.c (DGifOpenFileName):
10908 * dgif_lib.c (DGifOpenFileHandle):
10909 * dgif_lib.c (DGifGetLine):
10910 * dgif_lib.c (DGifGetPixel):
10911 Added config.h/lisp.h, fix up includes.
10918 * dired.c (file_name_completion):
10919 * dired.c (Ffile_attributes):
10920 * dired.c (syms_of_dired):
10924 * dumper.c (pdump_file_unmap):
10925 * dumper.c (pdump_load):
10929 * editfns.c (Ftemp_directory):
10930 * editfns.c (user_login_name):
10931 * editfns.c (Fuser_real_login_name):
10932 * editfns.c (get_home_directory):
10935 * elhash.c (finish_marking_weak_hash_tables):
10936 [[[[5]]]]: Fix GCC warnings.
10939 * emacs.c (mswindows_handle_hardware_exceptions):
10940 * emacs.c (make_arg_list_1):
10941 * emacs.c (main_1):
10942 * emacs.c (Fkill_emacs):
10943 * emacs.c (Fdump_emacs):
10945 Fix problems with nested crashes, add long comment.
10947 * event-Xt.c (init_event_Xt_late):
10951 * event-msw.c (mswindows_dde_callback):
10952 * event-msw.c (mswindows_handle_sticky_modifiers):
10953 * event-msw.c (mswindows_wnd_proc):
10957 * events.c (character_to_event):
10961 * fileio.c (Ffile_name_directory):
10962 * fileio.c (Ffile_name_nondirectory):
10963 * fileio.c (directory_file_name):
10964 * fileio.c (Fexpand_file_name):
10965 * fileio.c (Fsubstitute_in_file_name):
10966 * fileio.c (Ffile_name_absolute_p):
10967 * fileio.c (check_executable):
10968 * fileio.c (Ffile_readable_p):
10969 * fileio.c (Ffile_accessible_directory_p):
10970 * fileio.c (Ffile_modes):
10971 * fileio.c (Funix_sync):
10972 * fileio.c (vars_of_fileio):
10975 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
10977 Expand getdefdir defn.
10978 Fix bogus rename() comment.
10980 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
10981 to use standard XEmacs include files, e.g. sysfile.h, rather
10982 than system-specific includes.
10988 * frame.c (vars_of_frame):
10992 * getloadavg.c (getloadavg):
10994 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
10995 (We don't use it elsewhere in the code; just add a comment.)
11002 * glyphs-msw.c (mswindows_resource_instantiate):
11005 * glyphs-x.c (x_native_layout_instantiate):
11008 * gui-msw.c (Fmswindows_shell_execute):
11017 * lread.c (locate_file_in_directory_mapper):
11024 * mem-limits.h (get_lim_data):
11036 * nt.c (rva_to_section):
11037 * nt.c (mswindows_executable_type):
11039 Fix closedir() defn.
11042 [[[[8]]]]: *_OK defs moved to sysfile.h.
11051 * print.c (std_handle_out_external):
11055 * process-nt.c (nt_create_process):
11057 try to fix process quoting somewhat.
11059 * process-unix.c (unix_create_process):
11063 * process.c (vars_of_process):
11070 * realpath.c (xrealpath):
11073 * redisplay-tty.c (init_tty_for_redisplay):
11083 * sheap.c (more_static_core):
11084 * sheap.c (report_sheap_usage):
11088 * signal.c (alarm_signal):
11095 * strftime.c (zone_name):
11098 * symsinit.h (init_sunpro):
11102 commctrl.h not in Cygwin b20.1.
11105 * sysdep.c (endif):
11106 * sysdep.c (sys_subshell):
11107 * sysdep.c (init_baud_rate):
11108 * sysdep.c (emacs_get_tty):
11109 * sysdep.c (emacs_set_tty):
11110 * sysdep.c (tty_init_sys_modes_on_device):
11111 * sysdep.c (init_system_name):
11112 * sysdep.c (sys_open):
11113 * sysdep.c (interruptible_open):
11114 * sysdep.c (sys_fopen):
11115 * sysdep.c (sys_mkdir):
11116 * sysdep.c (sys_rename):
11117 * sysdep.c (get_process_times_1):
11124 * sysdir.h (DIRENTRY_NONEMPTY):
11127 * sysdll.c (dll_init):
11133 added text/binary defs.
11139 * sysproc.h (EDESTADDRREQ):
11140 * sysproc.h (poll_fds_for_input):
11157 Always define WIN32_LEAN_AND_MEAN.
11159 * unexcw.c (unexec):
11163 * unexec.c (copy_text_and_data):
11164 * unexec.c (adjust_lnnoptrs):
11168 * unexnt.c (_start):
11171 2000-06-07 Ben Wing <ben@xemacs.org>
11173 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
11174 was used only as a model. We've long since extracted any useful
11175 logic or code out of this. (I just did an exhaustive search.)
11177 * s\msdos.h: Removed.
11179 * s\windows95.h: Removed.
11181 2000-06-10 Ben Wing <ben@xemacs.org>
11185 Don't use extern with fun defs.
11189 Remove nt\inc include.
11190 Remove getdisk, getdefdir. (The former is unused, the latter
11191 expanded in fileio.h.)
11194 * s\windowsnt.h (WIN32_NATIVE):
11195 * s\windowsnt.h (HAVE_STRCASECMP):
11197 Add long comment about preprocessor changes.
11198 Remove getdisk, getdefdir. (The former is unused, the latter
11199 expanded in fileio.h.)
11201 2000-06-10 Ben Wing <ben@xemacs.org>
11210 Remove bogus/unused NO_SOCK_SIGIO.
11212 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
11214 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
11217 2000-06-04 Mike Sperber <mike@xemacs.org>
11219 * casetab.c (set_case_table): For `set-standard-case-table',
11220 actually deposit the new case tables where the rest of XEmacs can
11223 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
11225 * data.c (Faset): Don't cast XCHAR() to unsigned char.
11227 2000-06-05 Ben Wing <ben@xemacs.org>
11229 * callproc.c (child_setup): Don't do close_load_descs() under
11230 MS Windows. Put in a comment explaining why.
11232 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
11234 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
11235 Toolkit shell" which breaks `kill-compilation' on Windows NT
11236 native, retaining STDERR handling improvements.
11238 2000-06-01 Andreas Jaeger <aj@suse.de>
11240 * s/s390.h: Support for S390, based on a patch by Martin
11241 Schwidefsky <schwidefsky@de.ibm.com>.
11243 2000-05-30 Andy Piper <andy@xemacs.org>
11245 * window.c (allocate_window):
11246 (make_dummy_parent):
11247 (Fset_window_configuration): use new hashtable type.
11249 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
11250 (struct image_instantiator_methods):
11251 (struct Lisp_Image_Instance): make instance geometry signed.
11253 * glyphs.c (instantiate_image_instantiator):
11254 (image_instance_query_geometry):
11255 (image_instance_layout):
11256 (image_instance_layout):
11257 (query_string_geometry):
11258 (text_query_geometry):
11259 (image_instantiate):
11260 (image_instantiate):
11261 (cache_subwindow_instance_in_frame_maybe):
11262 (subwindow_query_geometry): make instance geometry signed.
11264 * glyphs-widget.c (widget_query_geometry):
11266 (button_query_geometry):
11267 (tree_view_query_geometry):
11268 (tab_control_query_geometry):
11269 (layout_query_geometry):
11271 (native_layout_layout): make instance geometry signed.
11273 2000-05-29 Olivier Galibert <galibert@pobox.com>
11275 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
11278 * general.c (syms_of_general): Add Qfull_assoc symbol.
11280 * data.c (finish_marking_weak_lists): Mark full-assoc lists
11282 (decode_weak_list_type): Decode full-assoc type.
11283 (encode_weak_list_type): Encode full-assoc type.
11284 (Fmake_weak_list): Update doc string.
11286 2000-05-30 Andy Piper <andy@xemacs.org>
11288 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
11290 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
11291 (decode_hash_table_weakness): ditto.
11292 (Fhash_table_weakness): ditto.
11293 (Fhash_table_type): ditto.
11294 (finish_marking_weak_hash_tables): ditto.
11295 (hash_table_weakness_validate): ditto.
11296 (syms_of_elhash): ditto.
11298 2000-05-28 Martin Buchholz <martin@xemacs.org>
11300 * XEmacs 21.2.34 is released.
11302 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11304 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
11306 (updating_line_start_cache): Gone.
11307 (regenerate_window): Replace resetting of VERTICAL_CLIP by
11308 generic code to force a minimum of 1 line laid out in the
11311 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11313 * glyphs.c (instantiate_image_instantiator): Check for initialized
11314 height & width no longer special cases IMAGE_NOTHING.
11315 (nothing_instantiate): Set height and width of instance.
11317 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
11319 * unexelf.c (unexec): Search for ".data" section.
11320 Initialize new_data2_offset from old_data_index.
11321 Remove redundant check for ElfW.
11323 2000-05-23 Andy Piper <andy@xemacs.org>
11325 * glyphs.c (get_image_instantiator_governing_domain): allow more
11326 specific domains as the governing domain rather than expecting an
11327 exact match. This fixes problems with layouts.
11329 2000-05-22 Andy Piper <andy@xemacs.org>
11331 * redisplay-output.c (compare_runes): check for non-images
11333 * glyphs.c (set_glyph_dirty_p): ditto.
11334 (update_glyph_cachel_data): ditto.
11336 * glyphs-widget.c (layout_post_instantiate): ditto.
11337 (layout_post_instantiate): ditto.
11339 * event-msw.c (mswindows_wnd_proc): warning removal.
11341 2000-05-12 Craig Lanning <CraigL@DyCon.com>
11343 * s\mingw32.h: Added #undef for CLASH_DETECTION.
11345 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
11347 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
11349 * nt.c (rva_to_section): mingw32 needs rva_to_section.
11350 (mswindows_executable_type): mingw32 now has enough headers for
11353 2000-05-20 Andy Piper <andy@xemacs.org>
11355 * console-msw.c (mswindows_output_last_error): ; -> ,
11357 2000-05-12 Andy Piper <andy@xemacs.org>
11359 * console-msw.c (FROB): compare ints with ints.
11361 2000-05-11 Andy Piper <andy@xemacs.org>
11363 * glyphs-x.c (x_finalize_image_instance): make minimal build
11366 2000-05-20 Ben Wing <ben@xemacs.org>
11369 * event-Xt.c (vars_of_event_Xt):
11370 move modifier-keys-are-sticky to event-stream.c.
11373 * event-msw.c (mswindows_enqueue_mouse_button_event):
11374 * event-msw.c (key_needs_default_processing_p):
11375 * event-msw.c (XEMSW_LCONTROL):
11376 * event-msw.c (mswindows_handle_sticky_modifiers):
11377 * event-msw.c (FROB):
11378 * event-msw.c (clear_sticky_modifiers):
11379 * event-msw.c (output_modifier_keyboard_state):
11380 * event-msw.c (output_alt_keyboard_state):
11381 * event-msw.c (mswindows_wnd_proc):
11382 * event-msw.c (mswindows_modifier_state):
11383 * event-msw.c (emacs_mswindows_handle_magic_event):
11384 implement sticky modifiers.
11387 * event-stream.c (vars_of_event_stream):
11388 move modifier-keys-are-sticky here.
11391 add CHECK_FUNCTION.
11394 implement map-range-table.
11397 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
11399 * redisplay-tty.c (reset_tty_modes):
11400 (tty_redisplay_shutdown): Adjust argument type to
11401 tty_frame_output_end.
11403 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11405 * eval.c (Fbacktrace): Don't output a line with only right
11408 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
11410 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
11411 (Fpq_reset_poll): Ditto.
11413 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
11415 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
11417 2000-05-16 Ben Wing <ben@xemacs.org>
11420 * buffer.c (dfc_convert_to/from_internal_format):
11421 * buffer.c (reinit_vars_of_buffer):
11422 Fix conversion functions to allow reentrancy.
11425 * console-msw.c (mswindows_output_last_error):
11426 New fun, generally useful -- output a human-readable
11427 version of GetLastError() on the console.
11430 * console-msw.h (struct mswindows_frame):
11431 Changes for DeferWindowPos. Declare mswindows_output_last_error().
11433 * console-stream.c (stream_output_begin):
11434 * console-stream.c (stream_output_end):
11435 * console-stream.c (stream_output_vertical_divider):
11436 * console-stream.c (stream_clear_region):
11437 * console-stream.c (stream_flash):
11438 * console-stream.c (console_type_create_stream):
11439 Delete blank stream methods, not needed.
11441 * console.h (struct console_methods):
11442 Split begin/end methods into window and frame.
11445 * event-msw.c (mswindows_handle_paint):
11446 * event-msw.c (output_alt_keyboard_state):
11447 * event-msw.c (mswindows_wnd_proc):
11448 * event-msw.c (vars_of_event_mswindows):
11449 Comment about problems with ignored-expose.
11450 Define mswindows-debug-events; not really implemented.
11452 * frame-msw.c (mswindows_init_frame_1):
11456 * glyphs-msw.c (begin_defer_window_pos):
11457 * glyphs-msw.c (mswindows_unmap_subwindow):
11458 * glyphs-msw.c (mswindows_map_subwindow):
11459 * glyphs-msw.c (mswindows_resize_subwindow):
11460 Use DeferWindowPos to reduce flashing when mapping/unmapping.
11462 * glyphs.c (make_image_instance_1):
11465 * gutter.c (Fredisplay_gutter_area):
11466 Use new begin/end methods.
11468 * lisp.h (Dynarr_new2):
11472 * redisplay-msw.c (mswindows_frame_output_begin):
11473 * redisplay-msw.c (mswindows_frame_output_end):
11474 * redisplay-msw.c (console_type_create_redisplay_mswindows):
11475 New begin/end methods -- handle DeferWindowPos.
11477 * redisplay-output.c (redisplay_move_cursor):
11478 * redisplay-output.c (redraw_cursor_in_window):
11479 * redisplay-output.c (redisplay_update_line):
11480 * redisplay-output.c (redisplay_output_window):
11481 New begin/end methods.
11484 * redisplay-tty.c (tty_frame_output_begin):
11485 * redisplay-tty.c (tty_frame_output_end):
11486 * redisplay-tty.c (console_type_create_redisplay_tty):
11487 New begin/end methods.
11490 * redisplay-x.c (x_window_output_begin):
11491 * redisplay-x.c (x_window_output_end):
11492 * redisplay-x.c (console_type_create_redisplay_x):
11493 New begin/end methods.
11495 * redisplay.c (redisplay_frame):
11496 * redisplay.c (Fredisplay_echo_area):
11497 New begin/end methods.
11498 use MAYBE_DEVMETH for clear_frame; it may not exist.
11500 * window.h (WINDOW_XFRAME):
11501 WINDOW_XFOO macros -- get locale and decode struct pointer.
11504 2000-05-12 Ben Wing <ben@xemacs.org>
11507 * emacs.c (ensure_no_quitting_from_now_on):
11508 * emacs.c (fatal_error_signal):
11509 * emacs.c (mswindows_handle_hardware_exceptions):
11511 * emacs.c (Fkill_emacs):
11512 * emacs.c (shut_down_emacs):
11513 * emacs.c (assert_failed):
11514 various improvements in fatal error handling.
11517 move preparing_for_armageddon to emacs.c.
11520 declare fatal_error_in_progress.
11523 * print.c (std_handle_out_external):
11524 * print.c (std_handle_out_va):
11525 * print.c (stderr_out):
11526 * print.c (stdout_out):
11527 use console under mswin when no standard output.
11528 don't do code conversion during fatal error.
11530 * scrollbar.c (Fscrollbar_page_up):
11531 * scrollbar.c (Fscrollbar_page_down):
11532 fix missing else. reindent.
11534 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
11538 * glyphs.h (GLYPH_CACHEL_DESCENT):
11539 (GLYPH_CACHEL_DESCENT):
11540 (GLYPH_CACHEL_DESCENT):
11541 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
11542 used in case these are inline functions.
11543 Use more absurd values to error check.
11545 include window.h for error check functions.
11547 2000-05-11 Ben Wing <ben@xemacs.org>
11549 * cmdloop.c (Freally_early_error_handler):
11550 Display message box under windows; otherwise, message will disappear
11551 before it can be viewed.
11554 * console-msw.c (Fmswindows_message_box):
11555 * console-msw.c (FROB):
11556 * console-msw.c (syms_of_console_mswindows):
11557 Define new fun `mswindows-message-box'.
11558 #### I will merge this into `popup-dialog-box'; just give me
11562 * general.c (syms_of_general):
11563 Some new symbols used in `mswindows-message-box'.
11566 * glyphs.c (Fset_image_instance_property):
11567 put warning in this fun.
11570 * glyphs.h (GLYPH_CACHEL_WIDTH):
11571 * glyphs.h (GLYPH_CACHEL_ASCENT):
11572 * glyphs.h (GLYPH_CACHEL):
11573 * glyphs.h (GLYPH_CACHEL_GLYPH):
11574 define error-checking versions to try to catch a bug i've seen --
11575 redisplay gets in an infinite loop because the glyph width of the
11576 continuation glyph is 65535.
11579 Extern message-box stuff.
11581 * window.c (allocate_window):
11582 * window.c (make_dummy_parent):
11583 * window.c (Fset_window_configuration):
11584 Use EQUAL not EQ for subwindow caches to make them work a bit
11585 better. (Something is still very broken.)
11588 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11590 * glyphs.c (image_instantiate): Suppress gcc warnings.
11591 (Fmake_image_instance): Fix doc string.
11592 * specifier.c (Fmake_specifier): Ditto.
11594 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
11596 * paths.h.in (PATH_LOCK): Removed.
11597 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
11598 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
11600 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
11602 * fns.c (Ffeaturep): Update e-mail address in doc-string.
11603 Document (featurep '(and xemacs 21.02)).
11605 2000-05-09 Ben Wing <ben@xemacs.org>
11607 * buffer.c (complex_vars_of_buffer):
11608 update modeline-format doc.
11611 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
11614 timeline of all released versions of Emacs, for use in creating
11615 authorship comments and in synching up.
11617 * glyphs-widget.c (image_instantiator_buttons):
11618 * glyphs-widget.c (image_instantiator_edit_fields):
11619 * glyphs-widget.c (image_instantiator_combo_box):
11620 * glyphs-widget.c (image_instantiator_scrollbar):
11621 * glyphs-widget.c (image_instantiator_progress_guage):
11622 * glyphs-widget.c (image_instantiator_tree_view):
11623 * glyphs-widget.c (image_instantiator_tab_control):
11624 * glyphs-widget.c (image_instantiator_labels):
11625 * glyphs-widget.c (image_instantiator_layout):
11626 * glyphs-widget.c (image_instantiator_native_layout):
11627 rename decode_domain method to governing_domain.
11630 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
11631 * glyphs.c (add_entry_to_device_ii_format_list):
11632 make sure we don't put an entry more than once into the list.
11633 * glyphs.c (check_instance_cache_mapper):
11634 *************************************************************
11635 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
11637 *************************************************************
11638 * glyphs.c (get_image_instantiator_governing_domain):
11639 clean up, expand on new concept of governing domain.
11640 * glyphs.c (instantiate_image_instantiator):
11641 * glyphs.c (allocate_image_instance):
11642 use governing_domain instead of cache_domain in naming.
11643 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
11644 * glyphs.c (make_image_instance_1):
11645 * glyphs.c (Fmake_image_instance):
11646 allow for any domain (not just device), and process the
11647 governing domain correctly. very big doc fix.
11648 * glyphs.c (Fimage_instance_domain):
11649 new primitive, to retrieve the governing domain of an image instance.
11650 * glyphs.c (image_instantiate):
11651 use new governing_domain stuff. this fixes a crash you could get
11652 by instantiating certain widget glyphs in frame locales. (should
11653 signal an error instead of crashing.)
11654 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
11655 * glyphs.c (Fglyphp): clean up doc.
11656 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
11657 * glyphs.c (syms_of_glyphs):
11658 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
11659 * glyphs.c (image_instantiator_format_create): add some comments about
11661 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
11662 for current-display-table. (Apparently Hrjove implemented in 1998 a
11663 design I wrote up in 1996, but didn't update the doc string.)
11665 * glyphs.h: clean up a doc string.
11666 * glyphs.h (governing_domain):
11667 * glyphs.h (struct image_instantiator_methods):
11668 changes for governing_domain stuff.
11671 * gutter.c (Fgutter_specifier_p):
11672 * gutter.c (Fgutter_size_specifier_p):
11673 * gutter.c (Fgutter_visible_specifier_p):
11675 * objects.c (Fcolor_specifier_p):
11676 * objects.c (Ffont_specifier_p):
11677 * objects.c (Fface_boolean_specifier_p):
11678 doc strings moved to make-*-specifier.
11680 * redisplay.c (add_disp_table_entry_runes_1):
11681 * redisplay.c (generate_fstring_runes):
11682 * redisplay.c (screen):
11683 add random comments and doc strings.
11686 * specifier.c (Fmake_specifier):
11687 major overhaul of this doc string.
11689 * specifier.c (Fvalid_specifier_domain_p):
11690 comment about the bogosity of image instances being domains.
11691 * specifier.c (decode_domain):
11692 now non-static, used in glyphs.c.
11693 * specifier.c (specifier_instance):
11694 comment about the bogosity of image instances being domains.
11695 * specifier.c (Fgeneric_specifier_p):
11696 move doc string to make-generic-specifier.
11697 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
11701 * specifier.h (DOMAIN_FRAME):
11702 * specifier.h (DOMAIN_LIVE_P):
11703 * specifier.h (DOMAIN_XDEVICE):
11705 add comments about problems with these macros.
11706 prototype for decode_domain.
11709 * toolbar.c (Ftoolbar_specifier_p):
11710 move doc string to `make-toolbar-specifier'.
11712 * window.c (window_unmap_subwindows_cache_mapper):
11713 *************************************************************
11714 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
11716 *************************************************************
11718 2000-05-09 Andy Piper <andy@xemacs.org>
11720 * glyphs.h: declare reset_frame_subwindow_instance_cache.
11722 * window.c (Fset_window_configuration): reset the frame subwindow
11723 cache and re-initialize the window subwindow caches.
11725 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
11727 2000-05-09 Ben Wing <ben@xemacs.org>
11729 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
11732 2000-04-26 Mike Woolley <mike@bulsara.com>
11734 * ntheap.c: Changed recreate_heap to limit the amount reserved
11735 for the heap to that which is actually available. Also now
11736 displays a message box (with some dignostics) in the event that
11737 it still can't start.
11739 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11741 * callproc.c (Fold_call_process_internal): GCPRO path
11743 2000-05-08 Jan Vroonhof <jan@xemacs.org>
11745 Patch by Bill Perry.
11747 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
11748 back data instead of #ifdef.
11749 (Fscrollbar_page_down): ditto.
11751 2000-05-07 Ben Wing <ben@xemacs.org>
11754 Kludge for defining Qmswindows_tstr.
11757 * nt.c (open_input_file):
11758 * nt.c (open_output_file):
11759 * nt.c (rva_to_section):
11760 * nt.c (mswindows_executable_type):
11761 Move all memory-mapped-file routines here (some were in unexnt.c,
11762 which is bad because they are used by process-nt.c, and unexnt
11763 won't be around when portable dumping). Synched the above routines
11767 Removed ifdef'd out bogus code.
11768 Fixed some prototypes.
11770 * nt.h (file_data):
11771 * nt.h (OFFSET_TO_RVA):
11772 * nt.h (RVA_TO_OFFSET):
11773 * nt.h (RVA_TO_PTR):
11774 Moved the memory-mapped-file structures, macros and prototypes
11775 here, to parallel nt.c. ntheap.h should really be removed
11776 entirely, and it's a non-portable-dumper specific file.
11778 * ntheap.h (round_to_next):
11779 Moved the memory-mapped-file structures, macros and prototypes
11782 * ntproc.c (compare_env):
11783 Moved rva_to_section and mswindows_executable_type to nt.c.
11784 Moved compare_env to process-nt.c.
11785 ntproc.c will die, one day.
11787 * ntproc.c (sys_spawnve):
11788 Account for win32_ -> mswindows_.
11791 * process-nt.c (struct nt_process_data):
11792 * process-nt.c (ensure_console_window_exists):
11793 * process-nt.c (compare_env):
11794 * process-nt.c (nt_create_process):
11795 * process-nt.c (nt_kill_process_by_pid):
11796 * process-nt.c (syms_of_process_nt):
11797 * process-nt.c (vars_of_process_nt):
11798 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
11799 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
11800 changes). Eliminate our old `nt-quote-process-args' mechanism.
11801 Synch up nt_create_process with FSF 20.6 sys_spawnve.
11802 Move compare_env here from ntproc.c.
11804 * process.c (Fprocess_send_region):
11805 Takes an optional fourth argument, BUFFER, which should fix some
11806 problems with call-process.
11809 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
11812 Move ICC_BAR_CLASSES to syscommctrl.h.
11813 Add preliminary macros for MSWindows/Mule. More to come.
11816 * unexnt.c (unexec):
11817 open_output_file moved to nt.c.
11820 2000-05-05 Andy Piper <andy@xemacs.org>
11822 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
11823 instance from the frame cache also since GC may catch up too late
11824 to make frame deletion sane.
11826 2000-05-04 Andy Piper <andy@xemacs.org>
11828 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
11829 (x_finalize_image_instance): ungcpro on deletion.
11831 * glyphs.c (image_instantiator_format_create): give pointers a
11832 query geometry method so that the geometry is at least set.
11834 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
11835 initialize layouts if using widgets.
11837 2000-05-03 Andy Piper <andy@xemacs.org>
11839 * nt.c: remove bogus reference to sysmmsystem.h
11841 * gui-x.c (popup_selection_callback): fix no selection abort.
11843 2000-05-02 Andy Piper <andy@xemacs.org>
11845 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
11846 (mswindows_widget_instantiate): ditto.
11848 * glyphs-widget.c (initialize_widget_image_instance): initialize
11849 children correctly.
11850 (widget_instantiate): cope with children and items in the same
11853 * glyphs.c (mark_image_instance): cope with children as a first
11855 (image_instance_equal): ditto.
11856 (image_instance_hash): ditto.
11857 (image_instance_changed): ditto.
11859 2000-04-30 Andy Piper <andy@xemacs.org>
11861 * glyphs.c (subwindow_query_geometry): new function. Return some
11863 (subwindow_instantiate): don't assign dimensions if none have been
11865 (image_instantiator_format_create): add subwindow_query_geometry.
11866 (print_image_instance): cope with layouts as widgets.
11868 2000-04-29 Andy Piper <andy@xemacs.org>
11870 * frame.c (delete_frame_internal): call
11871 free_frame_subwindow_instance_cache so that all subwindows are
11872 finalized before their parent.
11873 (mark_frame): remove subwindow_cachels.
11874 (Fmake_frame): remove subwindow_cachel manipulation.
11875 (allocate_frame_core): subwindow_instance_cache is a weak list.
11876 (delete_frame_internal): set subwindow_instance_cache to nil.
11878 * glyphs-msw.c (mswindows_finalize_image_instance): make double
11880 (mswindows_finalize_image_instance): use the device
11881 not the domain as the domain may have died already.
11883 * glyphs-x.c (x_finalize_image_instance): ditto.
11884 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
11887 * redisplay-output.c (redisplay_unmap_subwindows): update for
11888 subwindow instance cache as a weak list.
11889 (redisplay_unmap_subwindows_maybe): ditto.
11890 (redisplay_unmap_subwindows_except_us): ditto.
11892 * glyphs.c (unmap_subwindow): error checking will check the domain
11893 so don't deal with it here. Don't use cachels anymore.
11894 (map_subwindow): ditto.
11895 (update_subwindow_cachel_data): remove old accessor names.
11896 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
11897 (Fresize_subwindow): don't update cachel.
11898 (mark_subwindow_cachels):
11899 (update_subwindow_cachel_data):
11900 (add_subwindow_cachel):
11901 (get_subwindow_cachel_index):
11902 (update_subwindow_cachel):
11903 (reset_subwindow_cachels):
11904 (mark_subwindow_cachels_as_not_updated): deleted.
11905 (cache_subwindow_instance_in_frame_maybe): new function. Add a
11906 subwindow instance to the frame cache.
11907 (find_matching_subwindow): update for subwindow instance cache as
11909 (update_widget_instances): ditto.
11910 (image_instance_type_to_mask):inlined.
11911 (free_frame_subwindow_instance_cache): new function. finalize all
11912 subwindows that are instantiated.
11914 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
11915 of cachel information.
11916 (IMAGE_INSTANCE_DISPLAY_X):
11917 (IMAGE_INSTANCE_DISPLAY_Y):
11918 (IMAGE_INSTANCE_DISPLAY_WIDTH):
11919 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
11920 (XIMAGE_INSTANCE_DISPLAY_X):
11921 (XIMAGE_INSTANCE_DISPLAY_Y):
11922 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
11923 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
11924 remove subwindow_cachel structure and function references.
11925 (image_instance_type_to_mask): inline from glyphs.c
11927 * redisplay.c (redisplay_frame): remove subwindow_cachel
11930 * frame.h (struct frame): remove subwindow_cachels.
11931 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
11933 * frameslots.h: add subwindow_instance_cache.
11935 * window.c (replace_window): check subwindow cache of replacement.
11936 (window_unmap_subwindows_cache_mapper):
11937 (window_unmap_subwindows): new functions. Unmap all subwindows
11938 cached on this window.
11939 (mark_window_as_deleted): unmap all subwindows.
11941 2000-04-27 Andy Piper <andy@xemacs.org>
11943 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
11945 * glyphs-widget.c (widget_layout): return something.
11946 (layout_layout): return something. Fail if not initialized.
11947 (layout_query_geometry): ditto.
11948 (image_instantiator_native_layout): new function. Initialized the
11949 native layout type.
11950 (widget_instantiate): don't do layout stuff here.
11952 * glyphs.c (instantiate_image_instantiator): reorded calling or
11953 instantiate and post_instantiate with layout in between.
11954 (image_instance_layout): be more selective about deciding whether
11955 the layout has been done or not.
11957 * glyphs.h (struct image_instantiator_methods): return a value
11958 from layout_method.
11960 2000-04-26 Andy Piper <andy@xemacs.org>
11962 * glyphs.c (allocate_image_instance): make initial width and
11963 height unspecified. Set initialized to 0.
11965 * syscommctrl.h new file. Encapsulates commctrl.h.
11967 * syswindows.h new file. Encapsulates windows.h.
11969 * ntplay.c: use new syswindows.h and syscommctrl.h header.
11971 * console-msw.h: ditto.
11973 * redisplay-tty.c (tty_output_display_block): remove layout references.
11975 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
11976 window handle rather than just the frame.
11978 * glyphs.c (mark_image_instance): remove layout references.
11979 (print_image_instance): ditto.
11980 (image_instance_equal): ditto.
11981 (image_instance_hash): ditto.
11982 (decode_image_instance_type): ditto.
11983 (encode_image_instance_type): ditto.
11984 (image_instantiate): ditto.
11985 (allocate_glyph): ditto.
11986 (Fimage_instance_height): ditto.
11987 (Fimage_instance_width): ditto.
11988 (update_subwindow): ditto.
11990 * redisplay-x.c (x_output_display_block): recode for layouts as
11993 * redisplay-output.c (redisplay_output_layout): recode for layouts
11995 (compare_runes): remove layout references.
11997 * redisplay-msw.c (mswindows_output_display_block): recode for
11998 layouts as widgets.
12000 * glyphs-widget.c (image_instantiator_layout): remove
12001 layout_possible_dest_types.
12002 (layout_possible_dest_types): deleted.
12004 * glyphs.h (image_instance_type): remove layout references.
12005 (struct Lisp_Image_Instance): ditto. Add initialized flag.
12006 (IMAGE_INSTANCE_INITIALIZED): new accessor.
12007 (XIMAGE_INSTANCE_INITIALIZED): ditto.
12009 2000-04-25 Andy Piper <andy@xemacs.org>
12011 * glyphs-widget.c (image_instantiator_buttons):
12012 (image_instantiator_edit_fields):
12013 (image_instantiator_combo_box):
12014 (image_instantiator_scrollbar):
12015 (image_instantiator_progress_guage):
12016 (image_instantiator_tree_view):
12017 (image_instantiator_tab_control):
12018 (image_instantiator_labels):
12019 (image_instantiator_layout): call default post_instantiate method.
12020 (widget_post_instantiate): new function. Simply lays out the
12023 * glyphs.h (struct image_instantiator_methods): add
12024 post_instantiate method.
12026 * glyphs.c (instantiate_image_instantiator): add post_instantiate
12029 2000-04-23 Andy Piper <andy@xemacs.org>
12031 * glyphs.h (struct image_instantiator_methods): add
12032 decode_domain_method.
12033 (struct Lisp_Image_Instance): remove subwindow frame - it can be
12034 derived from the domain.
12035 (IMAGE_INSTANCE_FRAME): new accessor.
12036 (XIMAGE_INSTANCE_FRAME): ditto.
12038 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
12039 instead of _SUBWINDOW_FRAME.
12040 (finalize_image_instance): ditto.
12041 (Fimage_instance_foreground): ditto.
12042 (Fimage_instance_background): ditto.
12043 (image_instantiate): ditto.
12044 (update_subwindow_cachel): ditto.
12045 (update_subwindow): ditto.
12046 (unmap_subwindow): ditto.
12047 (map_subwindow): ditto
12048 (subwindow_instantiate): ditto.
12049 * glyphs-msw.c (mswindows_update_widget): ditto.
12050 (mswindows_progress_gauge_instantiate): ditto.
12051 (mswindows_tab_control_update): ditto.
12052 * glyphs-x.c (x_update_widget): ditto.
12053 (x_widget_instantiate): ditto.
12054 (x_tab_control_instantiate): ditto.
12055 (x_tab_control_update): ditto.
12056 * event-msw.c (mswindows_wnd_proc): ditto
12058 * glyphs-widget.c (image_instantiator_layout): use
12059 subwindow_decode_domain.
12060 (image_instantiator_buttons): ditto.
12061 (image_instantiator_edit_fields): ditto.
12062 (image_instantiator_combo_box): ditto.
12063 (image_instantiator_scrollbar): ditto.
12064 (image_instantiator_progress_guage): ditto.
12065 (image_instantiator_tree_view): ditto.
12066 (image_instantiator_tab_control): ditto.
12067 (image_instantiator_labels): ditto.
12068 (image_instantiator_layout): ditto.
12070 * glyphs.c: add instance error checking to many functions.
12071 (instantiate_image_instantiator): decode device from cache_domain.
12072 (image_instantiate): partially rewrite by using
12073 decode_image_instantiator_domain to determine what domain the
12074 instance needs to be cached in.
12075 (decode_image_instantiator_domain): new function. Determine what
12076 domain the image needs to be cached in.
12077 (check_window_subwindow_cache): new error checking function.
12078 (check_instance_cache_mapper): ditto.
12079 (check_image_instance_structure): ditto.
12080 (subwindow_decode_domain): new function. Encodes a window as a
12081 subwindow's cache domain.
12082 (image_instantiator_format_create): use it for text and
12085 2000-04-21 Andy Piper <andy@xemacs.org>
12087 * glyphs.c (image_instance_device): new function.
12088 (image_instance_frame): new function.
12089 (image_instance_window): new function.
12090 (image_instance_live_p): new function.
12092 * window.c (mark_window_as_deleted): reset the subwindow_instance_
12095 * glyphs.h (struct Lisp_Image_Instance): device->domain.
12096 (IMAGE_INSTANCE_DOMAIN): new accessor.
12097 (XIMAGE_INSTANCE_DOMAIN): ditto.
12099 * glyphs-x.c (x_finalize_image_instance): device->domain.
12101 * glyphs-msw.c (init_image_instance_geometry): device->domain.
12102 (mswindows_finalize_image_instance): ditto.
12104 * glyphs-eimage.c (jpeg_instantiate): device->domain.
12105 (gif_instantiate): ditto.
12106 (png_instantiate): ditto.
12107 (tiff_instantiate): ditto.
12109 * glyphs.c (instantiate_image_instantiator): use domain rather
12111 (mark_image_instance): device -> domain.
12112 (print_image_instance): ditto.
12113 (finalize_image_instance): ditto.
12114 (image_instance_equal): ditto.
12115 (allocate_image_instance): ditto.
12116 (Fcolorize_image_instance): ditto.
12117 (query_string_geometry): ditto.
12118 (image_instantiate): ditto
12119 (query_string_font): ditto.
12120 (image_instantiate): ditto.
12121 (update_subwindow): ditto.
12122 (unmap_subwindow): ditto.
12123 (map_subwindow): ditto.
12124 (subwindow_instantiate): ditto.
12126 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
12127 (DOMAIN_FRAME): ditto.
12128 (DOMAIN_WINDOW): ditto.
12129 (DOMAIN_LIVE_P): ditto.
12130 (XDOMAIN_DEVICE): ditto.
12131 (XDOMAIN_FRAME): ditto.
12132 (XDOMAIN_WINDOW): ditto.
12134 * specifier.c (Fvalid_specifier_domain_p): add image instances as
12135 a valid specifier domain.
12137 2000-04-19 Andy Piper <andy@xemacs.org>
12139 * glyphs-widget.c (syms_of_glyphs_widget): remove
12140 widget-callback-current-channel.
12141 (vars_of_glyphs_widget): ditto.
12144 * gui.c (get_gui_callback): revert to previous behaviour.
12146 2000-04-18 Andy Piper <andy@xemacs.org>
12148 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
12149 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
12150 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
12152 * glyphs.c (image_instance_equal): add margin_width.
12153 (image_instance_hash): ditto.
12155 * glyphs-widget.c (widget_instantiate): deal with margin-width.
12156 (layout_query_geometry): ditto.
12157 (layout_layout): ditto.
12158 (syms_of_glyphs_widget): add margin-width.
12159 (image_instantiator_layout): allow margin-width.
12161 * glyphs.c (update_widget_instances): make a normal function.
12162 (syms_of_glyphs): remove Qupdate_widget_instances.
12165 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
12166 so that we don't corrupt ideas about the last event or
12167 command. Remove widget-callback-current-channel fiddling.
12168 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
12170 2000-05-01 Martin Buchholz <martin@xemacs.org>
12172 * XEmacs 21.2.33 is released.
12174 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
12176 * make-src-depend: Allow dots in header file name.
12178 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
12180 * mule-charset.h (struct charset_lookup): Add
12181 next_allocated_1_byte_leading_byte and
12182 next_allocated_2_byte_leading_byte.
12183 * mule-charset.c: Move above two variables so that those values
12186 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
12188 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
12189 when string length is zero.
12190 (find_charsets_in_emchar_string): Ditto.
12192 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
12194 * lisp.h: extern Qdialog and Qmenubar.
12196 * gui-x.c: added events.h.
12197 also fixed typo which made the file uncompilable.
12199 * general.c: Added Qmenubar and Qdialog
12201 2000-04-28 Ben Wing <ben@xemacs.org>
12203 * frame-msw.c (mswindows_init_frame_1):
12204 * frame-msw.c (mswindows_mark_frame):
12205 * event-msw.c (mswindows_enqueue_dispatch_event):
12207 * console-msw.h (struct mswindows_frame):
12208 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
12209 there are now three hash tables for callbacks.
12210 mswindows_enqueue_dispatch_event is no longer static.
12212 * dialog-x.c (maybe_run_dbox_text_callback):
12213 * dialog-x.c (dbox_descriptor_to_widget_value):
12214 switch to new cons3 form for callbacks.
12216 * glyphs-msw.c (mswindows_register_gui_item):
12217 * glyphs-msw.c (mswindows_widget_instantiate):
12218 * glyphs-msw.c (add_tree_item):
12219 * glyphs-msw.c (add_tab_item):
12220 new image instance parameter, so it can be passed to callback-ex.
12221 respect :callback-ex as well as :callback.
12223 * glyphs-widget.c (VALID_GUI_KEYWORDS):
12226 * glyphs.c (print_image_instance):
12227 prettify, e.g. now prints widget type.
12230 certain funs have new image instance parameter.
12233 * gui.c (get_gui_callback):
12234 * gui.c (gui_item_add_keyval_pair):
12235 * gui.c (gui_item_init):
12236 * gui.c (gui_add_item_keywords_to_plist):
12237 * gui.c (mark_gui_item):
12238 * gui.c (gui_item_hash):
12239 * gui.c (gui_item_equal):
12240 * gui.c (copy_gui_item):
12241 * gui.c (syms_of_gui):
12242 recognize callback-ex in a number of places.
12243 also, fix the annoying "can't get out of yes-no dialog" bug.
12246 * gui.h (struct Lisp_Gui_Item):
12247 recognize callback-ex in a number of places.
12249 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12250 new parameter in button_item_to_widget_value.
12252 * glyphs-x.c (x_update_widget):
12253 * glyphs-x.c (x_button_instantiate):
12254 * glyphs-x.c (x_button_update):
12255 * glyphs-x.c (x_progress_gauge_instantiate):
12256 * glyphs-x.c (x_edit_field_instantiate):
12257 * glyphs-x.c (x_combo_box_instantiate):
12258 * glyphs-x.c (x_tab_control_instantiate):
12259 * glyphs-x.c (x_label_instantiate):
12260 new image instance parameter in various places.
12263 * event-Xt.c (enqueue_Xt_dispatch_event):
12264 this fun gets exported.
12267 * gui-msw.c (mswindows_handle_gui_wm_command):
12268 handle both :callback and :callback-ex, and generate our own
12269 event because it's one of the callback-ex arguments.
12272 * gui-x.c (popup_selection_callback):
12273 handle both :callback and :callback-ex, and generate our own
12274 event because it's one of the callback-ex arguments.
12275 * gui-x.c (button_item_to_widget_value):
12276 * gui-x.c (gui_items_to_widget_values_1):
12277 * gui-x.c (gui_item_children_to_widget_values):
12278 * gui-x.c (gui_items_to_widget_values):
12279 new image instance parameter in various places.
12281 * fns.c (Freplace_list):
12282 fix small typo in doc string.
12285 declare enqueue_Xt_dispatch_event.
12287 2000-04-28 Ben Wing <ben@xemacs.org>
12290 * buffer.c (Frecord_buffer):
12291 * buffer.c (syms_of_buffer):
12292 delete record-buffer-hook.
12295 * fns.c (Freplace_list):
12296 * fns.c (syms_of_fns):
12297 new primitive replace-list.
12300 slot for old buffer-alist.
12303 exfun replace-list.
12306 * redisplay.c (redisplay_frame):
12307 * redisplay.c (syms_of_redisplay):
12308 * redisplay.c (vars_of_redisplay):
12309 new hook buffer-list-changed-hook.
12312 2000-04-27 Ben Wing <ben@xemacs.org>
12314 * extents.h: extern in_modeline_generation.
12316 * redisplay.c (generate_formatted_string_db): set
12317 in_modeline_generation.
12319 * extents.c (extent_changed_for_redisplay): don't mark redisplay
12320 flags if in modeline generation. otherwise frame-modified-tick
12321 is ticked far too often.
12322 Declare in_modeline_generation.
12324 2000-04-26 Ben Wing <ben@xemacs.org>
12326 * emacs.c (vars_of_emacs): document quick-build "error-checking"
12328 (vars_of_emacs): add quick-build as an error-checking option.
12329 A bit kludgy, but there doesn't seem much point in creating
12330 a real var for this.
12332 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
12334 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
12336 * redisplay.h (struct display_line): Add a new variable,
12339 * redisplay.c (create_text_block): Set dl->line_continuation if
12340 the line continues.
12341 (create_string_text_block): Ditto.
12342 (regenerate_window_incrementally): Use line_continuation instead
12343 of searching continuation glyph.
12344 (add_margin_runes): Call add_glyph_rune.
12345 (add_glyph_rune): Handle margin glyph.
12347 2000-04-20 Martin Buchholz <martin@xemacs.org>
12349 * filelock.c (fill_in_lock_file_name):
12351 Check for IS_ANY_SEP instead of '/'.
12353 Avoid generating gratuitous garbage. Call user_login_name() directly.
12354 Never check errno without first seeing that system call failed.
12355 (unlock_file): Add GCPRO.
12356 (Flock_buffer): Fix docstring.
12357 (Ffile_locked_p): Fix docstring. Add GCPRO.
12359 2000-04-19 Martin Buchholz <martin@xemacs.org>
12361 * sysdep.c (get_pty_max_bytes):
12362 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
12363 strings longer than 252 bytes.
12365 * md5.c: Unconditionally include ANSI header <limits.h>
12367 * glyphs-x.c (convert_EImage_to_XImage):
12368 * lisp-union.h (union Lisp_Object):
12369 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
12371 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
12373 * filelock.c (current_lock_owner): Remove unused variable o, p.
12375 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
12377 * callint.c: Remove multiply defined symbol Qlet
12378 (syms_of_callint): ditto.
12380 2000-04-14 Andy Piper <andy@xemacs.org>
12382 * general.c (syms_of_general): add last-command, this-command, let
12385 * lisp.h: declare various symbols.
12387 * glyphs.h: declare Qwidget_callback_current_channel;
12389 * glyphs-widget.c (syms_of_glyphs_widget): add
12390 Qgui_callback_current_channel.
12391 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
12393 * gui-msw.c (mswindows_handle_gui_wm_command): bind
12394 widget-callback-current-channel when invoking the interactive
12395 arg. Also bind last-command and next-command when invoking the
12397 * gui-x.c (popup_selection_callback): ditto.
12399 * gui.c (get_gui_callback): massage args so that we are always
12400 calling eval. This allows us to add our own variable bindings
12403 * glyphs-x.c (x_button_instantiate): use
12404 gui_items_to_widget_values since this is GC safe.
12405 (x_progress_gauge_instantiate): ditto.
12406 (x_edit_field_instantiate): ditto.
12407 (x_label_instantiate): ditto.
12409 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
12410 (emacs_Xt_event_widget_focus_out): new function
12411 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
12413 (emacs_Xt_event_add_widget_actions): new function. add focus
12414 functions as actions.
12415 (init_event_Xt_late): use it.
12417 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
12419 * event-stream.c (Fdispatch_event): Doc fix.
12421 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
12423 * postgresql.c: Remove all references to PQsetenv*.
12425 * postgresql.h: Remove references to PGsetenvHandler object.
12426 * lrecord.h (lrecord_type): Ditto.
12428 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12430 * glyphs-msw.h (struct mswindows_image_instance_data): Added
12431 real_heigh and real_width members, and accessor macros for these.
12433 * glyphs-msw.c (init_image_instance_geometry): New function.
12434 (init_image_instance_from_dibitmap): Use it.
12435 (mswindows_resource_instantiate): Use it.
12436 (init_image_instance_from_xbm_inline): Use it.
12437 (mswindows_initialize_image_instance_mask): Use real bitmap
12439 (mswindows_create_resized_bitmap): Ditto.
12440 (mswindows_create_resized_mask): Ditto.
12442 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
12443 and bitmap to their surface size.
12445 2000-04-11 Jan Vroonhof <jan@xemacs.org>
12447 * process-unix.c (unix_send_process): Guard against process MIA
12448 after Faccept_process_output.
12450 2000-04-11 Ben Wing <ben@xemacs.org>
12452 * eval.c (unbind_to_hairy): fix brokenness introduced by
12453 nanosecond speed improvements.
12455 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
12457 * sunplay.c (init_device): To play sounds correctly, the device
12458 apparently needs to be initialized at least once by XEmacs. Make
12461 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
12463 * redisplay.c (add_margin_runes): Add text image glyph
12466 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
12468 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
12469 gcc is newer than 2.5.
12471 2000-04-06 Colin Rafferty <colin@xemacs.org>
12473 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
12475 * fns.c (size_bit_vector):
12476 * alloc.c (size_vector):
12477 (make_vector_internal):
12478 (make_bit_vector_internal):
12479 (sweep_bit_vectors_1):
12480 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
12482 2000-04-06 Andy Piper <andy@xemacs.org>
12484 * gmalloc.c (malloc): undo previous change.
12489 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
12491 * line-number.c (buffer_line_number): Revert to former version.
12493 2000-04-06 Andy Piper <andy@xemacs.org>
12495 * gmalloc.c (malloc): add error checking.
12500 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
12501 button_item_to_widget_value arg.
12503 * glyphs-x.c (x_button_instantiate): add extra
12504 button_item_to_widget_value arg.
12505 (x_progress_gauge_instantiate): ditto.
12506 (x_edit_field_instantiate): ditto.
12507 (x_label_instantiate): ditto.
12509 * gui-x.c (gui_items_to_widget_values_1): add extra
12510 button_item_to_widget_value arg.
12511 (button_item_to_widget_value): add extra menu_item_p arg.
12513 * gui-x.h: change signature of button_item_to_widget_value.
12515 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
12516 button_item_to_widget_value arg.
12518 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
12520 * buffer.h (struct buffer): auto_save_modified should be long.
12522 2000-04-05 Andy Piper <andy@xemacs.org>
12524 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
12526 (button_query_geometry): give a little more room so that athena
12529 2000-04-05 Andy Piper <andy@xemacs.org>
12531 * faces.c (complex_vars_of_faces): The widget face should inherit
12532 the font of the gui-element face.
12534 2000-04-04 Andy Piper <andy@xemacs.org>
12536 * glyphs-x.c (x_button_update): new function. unconditionally
12537 update a button's state when the instance is dirty.
12538 (image_instantiator_format_create_glyphs_x): add x_button_update.
12539 (x_widget_instantiate): remove old resize cruft.
12541 2000-04-02 Andy Piper <andy@xemacs.org>
12543 * frame.c (change_frame_size_1): The introduction of gutters means
12544 that we need to allow 0 as a potential frame dimension.
12546 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
12548 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
12549 image glyph if allow_cursor.
12550 (add_hscroll_rune): Don't allow cursor to border glyph.
12551 (create_text_block): Ditto.
12553 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
12554 text not in buffer.
12555 (redisplay_output_layout): Call ensure_face_cachel_complete for
12559 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
12561 * redisplay.c (add_glyph_rune): Adding text image as text runes.
12563 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
12566 * redisplay-tty.c (tty_output_display_block): Delete the routine
12567 for text image glyph
12568 * redisplay-x.c (x_output_display_block): ditto
12569 * redisplay-msw.c (mswindows_output_display_block): ditto
12571 2000-02-02 Mike Alexander <mta@arbortext.com>
12573 Note: Some of these were committed by accident as part of other
12576 * regex.c (regex_compile): Avoid compiler warnings.
12578 * ntproc.c (sys_spawnve): Avoid compiler warnings.
12580 * nt.h: Declare term_ntproc correctly.
12582 * nt.c: Remove incorrect declaration of get_home_directory which
12583 is declared correctly in lisp.h.
12585 * keymap.c (get_keyelt): Avoid compiler warnings.
12586 (raw_lookup_key_mapper): Avoid compiler warnings.
12588 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
12590 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
12592 * filemode.c (mode_string): Avoid compiler warnings.
12594 * file-coding.c (Fcoding_system_aliasee): Add return statement to
12597 * events-mod.h: Undef some things that winuser.h defines differently.
12599 * data.c (Faset): Avoid compiler warnings.
12601 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
12603 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12605 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
12606 Fall through to simple beep on error.
12607 Replace "extern" by real header file.
12609 * linuxplay.c: Use nativesound.h
12610 (play_sound_data): Return error code. Be less verbose on error.
12612 * sunplay.c: Use nativesound.h
12613 (play_sound_data): Return error code. Be less verbose on error.
12615 * ntplay.c: Use nativesound.h
12616 (play_sound_data): Return fake error code
12618 * sgiplay.c: Use nativesound.h
12619 (play_sound_data): Return error code
12621 * hpplay.c: Use nativesound.h, partially implement
12622 new error code. Break compilation until finished.
12623 (play_sound_data): error code.
12625 * nativesound.h (play_sound_file):
12626 (play_sound_data): Prototype in new header.
12628 2000-03-31 Andy Piper <andy@xemacs.org>
12630 * glyphs-widget.c: (button_query_geometry): new function. Adjust
12631 for toggle and radio buttons.
12632 (image_instantiator_buttons): use it.
12634 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12636 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
12637 (x_update_horizontal_scrollbar_callback): Return if no mirror was
12638 found. Scrollbar event probably belonged to some old config.
12640 2000-03-31 Andy Piper <andy@xemacs.org>
12642 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
12644 (initialize_widget_image_instance): default layout to
12645 LAYOUT_HORIZONTAL rather than 0.
12646 (widget_instantiate): reverse the item list at the end rather than
12648 (layout_layout): re-code for the border text at the front of the
12649 item list rather than at the end.
12650 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
12651 provided by the user.
12652 (widget_query_geometry): comment.
12654 2000-03-30 Andy Piper <andy@xemacs.org>
12656 * glyphs-widget.c (image_instantiator_layout): allow standard
12657 widget keywords in layouts.
12659 * gutter.c (output_gutter): cope with nil gutter contents.
12661 * frame.c (Fset_frame_properties): add gutter docs.
12663 2000-03-29 Andy Piper <andy@xemacs.org>
12665 * toolbar-msw.c (TBSTYLE_FLAT): add.
12666 (mswindows_output_toolbar): minor fiddling.
12668 2000-03-29 Andy Piper <andy@xemacs.org>
12670 * gutter.c (output_gutter): force gutter size recalculation if
12671 what we are trying to display won't fit.
12672 (update_gutter_geometry): new function. A per-gutter version of
12673 update_frame_gutter_geometry.
12674 (update_frame_gutter_geometry): use it.
12675 (redraw_exposed_gutter): add extra debugging output.
12677 2000-03-28 Mike Alexander <mta@arbortext.com>
12679 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
12680 (pdump_file_unmap): Implement it on Windows
12681 (pdump_file_get): Save alocated handles for pdump_file_unmap
12683 2000-03-28 Andy Piper <andy@xemacs.org>
12685 * gui.c (get_gui_callback): treat Quit specially.
12687 2000-03-27 Andy Piper <andy@xemacs.org>
12689 * glyphs.c (image_instantiate): be careful to check in the same
12692 2000-03-27 Didier Verna <didier@xemacs.org>
12694 * config.h.in: define the proper SMART_INCLUDE macro.
12695 handle renaming of `foo_h_path' to `foo_h_file'.
12697 * database.c: ditto.
12701 * linuxplay.c: ditto.
12703 * terminfo.c: ditto.
12705 * tooltalk.h: ditto.
12707 2000-03-27 Andy Piper <andy@xemacs.org>
12709 * glyphs-msw.c (mswindows_update_widget): make sure the widget
12710 gets updated whenever the face might have changed.
12712 2000-03-26 Mike Alexander <mta@arbortext.com>
12714 * dumper.c (pdump_resource_free): Fix the comment.
12716 2000-03-21 Olivier Galibert <galibert@pobox.com>
12718 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
12720 2000-03-22 Mike Alexander <mta@arbortext.com>
12722 * dumper.c: Include Windows headers on Windows
12723 (pdump_resource_free): Add a body to the function
12724 (pdump_load): exe_name -> exe_path and add some comments.
12726 2000-03-25 Mike Alexander <mta@arbortext.com>
12728 * gui.c (copy_gui_item_tree): Return a value in all cases
12730 2000-03-21 Didier Verna <didier@xemacs.org>
12732 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
12734 (SMART_INCLUDE): new macro.
12735 (POSTGRES_INCLUDE): new macro to include postgresql headers from
12736 the proper location.
12738 * postgresql.c: use it.
12742 2000-03-24 Andy Piper <andy@xemacs.org>
12744 * gutter.c (redraw_exposed_gutters): must be "in display" when we
12747 2000-03-24 Andy Piper <andy@xemacs.org>
12749 * redisplay-output.c (compare_runes): use image_instance_changed
12750 to detect changes. Do not depend on glyphs_changed, only depend on
12752 (redisplay_output_layout): add debug messages.
12753 (compare_runes): ditto.
12755 * glyphs.h: declare new functions.
12756 (struct Lisp_Image_Instance): remove percent and associated
12759 * gui.h: declare new copying functions.
12761 * gui.c (copy_gui_item_tree): new function.
12762 (copy_gui_item): new function.
12763 (gui_item_id_hash): revert to standard hash.
12764 (gui_item_hash): ditto.
12765 (gui_item_hash_internal): deleted.
12766 (mark_gui_item): mark value.
12767 (gui_item_add_keyval_pair): add value.
12768 (gui_item_init): ditto.
12769 (gui_add_item_keywords_to_plist): ditto.
12770 (gui_item_equal): ditto.
12771 (syms_of_gui): add Q_value.
12773 * glyphs-x.c (x_progress_gauge_update): use pending items and
12774 value for setting the state.
12775 (x_update_widget): don't set items from pending here.
12777 * glyphs-widget.c (update_widget): update items here.
12778 (progress_gauge_set_property): use items for storing value. Put
12779 new value in pending items.
12781 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
12782 items for new value. Convert percent -> value.
12783 (mswindows_tab_control_update): don't update items here.
12785 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
12786 (update_subwindow): ditto.
12787 (image_instance_changed): new function. Compare hash values and
12788 past and present widget items.
12789 (image_instantiate): We more careful about where we instantiate
12791 (image_instantiate): add error checking.
12793 * gutter.c (syms_of_gutter): use -hook.
12795 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
12797 * console-tty.c (Fset_console_tty_input_coding_system): Use
12799 (Fset_console_tty_output_coding_system): Use Qterminal.
12800 (tty_init_console): Use Qkeyboard and Qterminal.
12802 2000-03-21 Ben Wing <ben@xemacs.org>
12804 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
12805 From Mike Alexander <mta@arbortext.com>.
12807 2000-03-21 Ben Wing <ben@xemacs.org>
12809 * event-msw.c (mswindows_need_event): Horrible kludge to fix
12810 process brokenness. Proper implementation to come.
12812 Rename call-process-internal to old-call-process-internal.
12813 New impl. in process.el.
12815 2000-03-21 Martin Buchholz <martin@xemacs.org>
12817 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
12819 2000-03-20 Andy Piper <andy@xemacs.org>
12821 * glyphs.c (full_list_hash): make hashes of the same elements in
12822 different orders return different values.
12824 2000-03-20 Martin Buchholz <martin@xemacs.org>
12826 * XEmacs 21.2.32 is released.
12828 2000-03-20 Martin Buchholz <martin@xemacs.org>
12830 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
12831 (DFC_MALLOC_USE_CONVERTED_DATA):
12832 Add aliasing-safe casts to allow use with char* or unsigned char*
12835 * eldap.c (Fldap_open):
12836 (Fldap_search_basic):
12839 Make C++-compilable.
12840 Make sure GCPRO'ed variables are initialized.
12841 Use temp variables to avoid repeated calls to Flength.
12843 2000-03-16 Martin Buchholz <martin@xemacs.org>
12846 Make sure PATH_MAX is always defined.
12847 Include limits.h for PATH_MAX.
12848 Deprecate use of MAXPATHLEN.
12850 2000-03-10 Martin Buchholz <martin@xemacs.org>
12852 * emacs.c: Add reinit_vars_of_fileio.
12853 * symsinit.h: Add reinit_vars_of_fileio.
12854 * fileio.c (reinit_vars_of_fileio): New.
12855 * fileio.c (Fmake_temp_name):
12856 Initialize temp_name random number from microseconds to make
12857 collisions even less likely. Initialize always at process startup
12858 time. (make-temp-name) used to return the same file name twice in
12860 Random stylistic fiddling.
12863 2000-03-20 Andy Piper <andy@xemacs.org>
12865 * glyphs.c (image_instantiate): allow text glyphs to be
12866 instantiated in the minibuffer window.
12868 2000-03-19 Andy Piper <andy@xemacs.org>
12870 * glyphs.c (image_instance_hash): be careful about which items we
12873 * glyphs-widget.c (tab_control_set_property): record into pending
12874 items rather than the actual items.
12876 * glyphs-x.c (x_update_widget): use pending items to update with.
12878 * glyphs-msw.c (mswindows_tab_control_update): use pending items
12881 * glyphs.c (mark_image_instance): mark pending items.
12883 * window.c (Fset_window_configuration): record the buffer.
12884 (Fselect_window): totally revert previous change which breaks many
12887 2000-03-18 Andy Piper <andy@xemacs.org>
12889 * glyphs-msw.c (mswindows_tab_control_update): force selected
12892 * glyphs.c (image_instantiate): don't allow the minibuffer as a
12893 window domain cache, otherwise we get inconsistencies at
12894 startup. There is something fishy at startup which can lead to the
12895 minibuffer being the selected window when the gutter content is
12898 * gui.c (parse_gui_item_tree_list): add probably unnecessary
12900 (parse_gui_item_tree_children): ditto.
12901 (parse_gui_item_tree_item): ditto.
12903 * glyphs.c (Fupdate_widget_instances): return something.
12905 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
12907 * window.c (Fselect_window): Undo 2000-03-17 change.
12909 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
12911 * postgresql.c (Fpq_setenv): Remove this turkey when linking
12912 against v7.0 libraries. Insta-coredump city until the postgres
12915 2000-03-17 Andy Piper <andy@xemacs.org>
12917 * faces.c (complex_vars_of_faces): don't give the widget face an
12918 inherited background pixmap.
12920 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
12923 * event-stream.c (Fdispatch_non_command_events): return something.
12925 * gutter.c (output_gutter): use widget face.
12926 (clear_gutter): ditto.
12928 * NEWS: adjust again.
12930 * window.c (Fselect_window): make sure this runs to completion to
12931 avoid oddities with Fset_window_configuration.
12932 (Fcurrent_window_configuration): in general do not save the
12933 minibuffer as the selected window.
12935 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
12937 2000-03-16 Olivier Galibert <galibert@pobox.com>
12939 * emacs.c (Frunning_temacs_p): Revert previous patch.
12940 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
12942 2000-03-16 Andy Piper <andy@xemacs.org>
12944 * glyphs-x.c (x_tab_control_update): if no widget values then
12947 * NEWS: update for new features.
12949 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
12950 synthetic event to the native system.
12951 (reinit_vars_of_event_Xt): set force_event_pending to
12952 emacs_Xt_force_event_pending.
12954 * events.h (struct event_stream): add force_event_pending.
12956 * specifier.c (recompute_one_cached_specifier_in_window): add
12959 * redisplay.c (redisplay_frame): don't call
12960 update_frame_subwindows. Reset subwindow cachels when
12961 subwindows_changed, removing this was an optimization too far.
12963 * redisplay-output.c (compare_runes): reorganize so that we catch
12964 glyph changes when we want them. Set optimize_output when this
12965 would help layouts.
12966 (redisplay_output_layout): remove frame_really_changed, use
12967 optimize_output instead.
12969 * redisplay-msw.c (mswindows_output_display_block): reset
12970 optimize_output after outputting a glyph.
12971 * redisplay-x.c (x_output_display_block): ditto.
12972 * redisplay-tty.c (tty_output_display_block): ditto.
12974 * gutter.c: (specifier_vars_of_gutter): use new spec changed
12976 (gutter_specs_changed): do specific gutter positions.
12977 (top_gutter_specs_changed): new function. Only update the
12978 specified gutter specs.
12979 (bottom_gutter_specs_changed): ditto.
12980 (left_gutter_specs_changed): ditto.
12981 (right_gutter_specs_changed): ditto.
12983 * gui.c (gui_item_hash_internal): new function, does a real hash.
12984 (gui_item_id_hash): use it.
12985 (gui_item_hash): hash the eval'ed gui_item.
12987 * gui-x.c (popup_selection_callback): send an eval event to call
12988 Fupdate_widget_instances.
12990 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
12991 to call Fupdate_widget_instances.
12993 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
12994 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
12996 * glyphs.c: (update_frame_subwindows): deleted.
12997 (Fupdate_widget_instances): new function for updating the dirty
12998 state of widgets that might have changed.
12999 (syms_of_glyphs): add Qupdate_widget_instances.
13000 (full_list_hash): hash a list completely.
13001 (image_instance_hash): use it for items and properties.
13003 * frame-msw.c (mswindows_size_frame_internal): remove unused
13006 * faces.h (struct face_cachel): fix comment.
13008 * event-stream.c (Fdispatch_non_command_events): new
13009 function. Process non-command events, forcing an event cycle
13011 (syms_of_event_stream): declare.
13012 (event_stream_force_event_pending): new function. Force an event
13013 on the native event queue so that an event cycle will occur next
13017 (struct ntpipe_shove_stream):
13018 (mswindows_enqueue_dispatch_event):
13019 (mswindows_dequeue_dispatch_event):
13020 (mswindows_cancel_dispatch_event):
13021 (mswindows_pump_outstanding_events):
13022 (mswindows_drain_windows_queue):
13023 (mswindows_handle_paint):
13024 (mswindows_wnd_proc):
13025 (mswindows_key_to_emacs_keysym):
13026 (get_process_input_waitable):
13027 (emacs_mswindows_delete_stream_pair): re-indent file.
13028 (mswindows_need_event): do not process further fds if the windows
13029 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
13030 fixes the 100% cpu problem.
13031 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
13033 2000-03-15 Olivier Galibert <galibert@pobox.com>
13039 * emacs.c: Moved dump file searching to dumper.c.
13040 (Frunning_temacs_p): Fixed.
13042 * alloc.c: Moved everything pdump-related to dumper.c. Removed
13043 last_lrecord_type_index_assigned.
13045 2000-02-20 Olivier Galibert <galibert@pobox.com>
13047 * symsinit.h: Added reinit parameter to init_console_stream
13050 * lisp.h: Added file parameter to pdump_load declaration.
13052 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
13053 support. Added dump file searching.
13055 * config.h.in: Added EMACS_PROGNAME.
13057 * console-stream.c (init_console_stream): Fix reinitialisation
13058 when running from temacs.
13060 * alloc.c (pdump): Add id support.
13061 (pdump_load): Add file parameter and signature/id support.
13063 * Makefile.in.in: Add full pdump support.
13065 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
13067 * postgresql.c: Update documentation to reflect latest code
13069 (print_result): Show tuple counts in printed representation when
13071 (Fpq_put_nbytes): MULE-ize.
13072 (Fpq_get_line_async): Ditto.
13074 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13076 * postgresql.c (Fpq_lo_import): Fix return value.
13077 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
13079 2000-03-13 Ben Wing <ben@xemacs.org>
13081 * alloc.c (pdump_load):
13082 Fix compile warning under mswin.
13084 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13086 * postgresql.c: Mule-ization, bug fixes.
13087 Use PG_CODING to encapsulate coding system name changes.
13088 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
13089 (pg-coding-system): Create.
13091 (Fpq_conn_defaults): Mule-ize.
13092 (Fpq_connectdb): Mule-ize & bug fix.
13093 (Fpq_connect_start): Mule-ize.
13094 (Fpq_set_client_encoding): Mule-ize.
13095 (Fpq_finish): Document `DEAD' connection status.
13096 (Fpq_clear): Ditto.
13097 (Fpq_pgconn): Mule-ize.
13098 (Fpq_exec): Mule-ize & bug fix.
13099 (Fpq_send_query): Ditto.
13100 (Fpq_get_result): Ditto.
13101 (Fpq_res_status): Mule-ize.
13102 (Fpq_result_error_message): Mule-ize.
13103 (Fpq_ntuples): fix comments.
13104 (Fpq_fname): Mule-ize.
13105 (Fpq_fnumber): Mule-ize.
13106 (Fpq_ftype): fix comments.
13107 (Fpq_get_value): Mule-ize.
13108 (Fpq_cmd_status): Ditto.
13109 (Fpq_cmd_tuples): Ditto.
13110 (Fpq_oid_value): Ditto.
13111 (Fpq_notifies): Ditto.
13112 (Fpq_lo_import): Ditto.
13113 (Fpq_lo_export): Ditto.
13114 (Fpq_get_line): Ditto.
13115 (Fpq_put_line): Mule-ize and bug fix.
13116 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
13118 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13120 * postgresql.c (vars_of_postgresql): Mule-ize.
13121 (Fpq_conn_defaults): Ditto.
13123 2000-03-12 Ben Wing <ben@xemacs.org>
13125 * alloc.c (Fmake_byte_code):
13126 * alloc.c (debug_string_purity_print):
13127 * alloc.c (pdump_backtrace):
13128 * alloc.c (pdump_get_indirect_count):
13129 * alloc.c (pdump_register_sub):
13130 * alloc.c (pdump_register_object):
13131 * alloc.c (pdump_register_struct):
13132 * alloc.c (pdump_dump_data):
13133 * alloc.c (pdump_reloc_one):
13137 * console-msw.c (GetConsoleHwnd):
13138 * console-msw.c (msw_hide_console):
13139 * console-msw.c (msw_show_console):
13140 * console-msw.c (msw_ensure_console_buffered):
13141 * console-msw.c (msw_output_console_string):
13142 * console-msw.c (console_type_create_mswindows):
13144 a) Added functions to manipulate the console window for use with
13147 b) Added support for writing text to the console, which is now
13148 used under Windows when xemacs is not being run non-interactively,
13149 to write text that would otherwise be destined for stdout because
13150 under these circumstances, text written to stdout tends to
13151 disappear and not be seen.
13155 * event-Xt.c (x_event_to_emacs_event):
13156 * event-Xt.c (describe_event_window):
13157 * events-mod.h (XEMACS_MOD_CONTROL):
13159 * events.c (Fmake_event):
13160 * events.c (character_to_event):
13161 * events.c (event_to_character):
13162 * events.c (format_event_object):
13163 * events.c (Fevent_modifiers):
13165 * events.h (struct key_data):
13166 * events.h (struct button_data):
13167 * events.h (struct misc_user_data):
13168 * frame-x.c (Fcde_start_drag_internal):
13169 * frame-x.c (Foffix_start_drag_internal):
13170 * gpmevent.c (Freceive_gpm_event):
13172 * keymap.c (bucky_sym_to_bucky_bit):
13173 * keymap.c (control_meta_superify):
13174 * keymap.c (make_key_description):
13175 * keymap.c (keymap_lookup_directly):
13176 * keymap.c (create_bucky_submap):
13177 * keymap.c (keymap_store):
13178 * keymap.c (define_key_check_and_coerce_keysym):
13179 * keymap.c (define_key_parser):
13180 * keymap.c (define_key_alternate_name):
13181 * keymap.c (Fdefine_key):
13182 * keymap.c (raw_lookup_key_mapper):
13183 * keymap.c (struct map_keymap_unsorted_closure):
13184 * keymap.c (map_keymap_unsorted_mapper):
13185 * keymap.c (map_keymap_sort_predicate):
13186 * keymap.c (map_keymap_sorted):
13187 * keymap.c (accessible_keymaps_mapper_1):
13188 * keymap.c (where_is_recursive_mapper):
13189 * keymap.c (describe_map_mapper):
13190 * keymap.c (describe_map_sort_predicate):
13191 * keymap.c (describe_map):
13192 * keymap.c (complex_vars_of_keymap):
13193 And a number of other files, the key modifier preprocessor
13194 constants that xemacs uses have names that conflict with constants
13195 defined under MS Windows for other purposes, so they were renamed
13196 to begin with the prefix XEMACS_. The variables that hold such
13197 modifiers were changed to consistently be of type int to fix
13198 various compile warnings.
13200 * console.c (complex_vars_of_console):
13203 * device-msw.c (mswindows_finish_init_device):
13204 * device-msw.c (msw_get_workspace_coords):
13205 * device-msw.c (mswindows_device_system_metrics):
13206 and various other files, added support for a new
13207 device property called offset-workspace which returns the position
13208 of the upper left corner of the workspace area and goes along with
13209 the existing size-workspace property.
13212 * dialog-msw.c (push_bufbyte_string_as_unicode):
13213 * dialog-msw.c (mswindows_popup_dialog_box):
13214 Added support for XEmacs-style accelerator specifications in
13215 button text. Note: I didn't add support for this under X Windows,
13216 and somebody needs to do this.
13219 * dialog.c (Fpopup_dialog_box):
13220 Documented the support for accelerators that was just mentioned.
13222 editfns.c (get_home_directory): Changed behavior under Windows
13223 when HOME not defined; former behavior was irretrievably broken.
13226 * emacs.c (main_1):
13228 * minibuf.c (clear_echo_area_internal):
13229 * minibuf.c (echo_area_append):
13231 * print.c (std_handle_out_external):
13232 * print.c (std_handle_out_va):
13234 * print.c (write_string_to_stdio_stream):
13235 * print.c (output_string):
13236 * print.c (debug_print):
13237 * print.c (debug_backtrace):
13238 * print.c (debug_short_backtrace):
13239 Cleaned up the code that prints text to stdout so that this can be
13240 changed to output into a console window instead under MS Windows,
13241 as described above.
13244 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
13245 * eval.c (internal_catch):
13246 * eval.c (unwind_to_catch):
13247 * eval.c (throw_or_bomb_out):
13248 * eval.c (condition_case_1):
13249 * eval.c (signal_1):
13250 * eval.c (check_error_state_sanity):
13251 * eval.c (call_with_suspended_errors_1):
13252 * eval.c (call_with_suspended_errors):
13253 * eval.c (reinit_vars_of_eval):
13254 Added code to catch throw loops and check for a pesky bug that may
13258 * event-msw.c (key_needs_default_processing_p):
13259 * event-msw.c (mswindows_wnd_proc):
13260 * event-msw.c (mswindows_modifier_state):
13261 * event-msw.c (emacs_mswindows_quit_p):
13262 * event-msw.c (vars_of_event_mswindows):
13263 a) Added support for using the alt key to select menu items as is
13264 standard under MS Windows. This is controlled using the variable
13265 menu-accelerator-enabled, just like under X Windows. There is an
13266 option on the options menu to turn this support on. I really
13267 think that it should be on by default under Windows, but I'm not
13268 going to make this change yet.
13270 b) Added support for dynamic display size changes under Windows.
13273 * event-stream.c (maybe_echo_keys):
13274 * event-stream.c (Fnext_event):
13275 * event-stream.c (command_builder_find_leaf):
13276 * event-stream.c (lookup_command_event):
13277 * event-stream.c (execute_command_event):
13278 * event-stream.c (pre_command_hook):
13279 * event-stream.c (post_command_hook):
13280 * event-stream.c (syms_of_event_stream):
13281 * event-stream.c (vars_of_event_stream):
13282 * event-stream.c (complex_vars_of_event_stream):
13283 * events.h (struct command_builder):
13285 a) Tried to clean up a little bit the horribly written x-specific
13286 accelerator code that crept into this file. I moved this code
13287 into menubar-x.c where it belongs. I also needed to move the
13288 command builder structure into the file events.h because it is
13289 accessed directly by this accelerator code. What I didn't do, but
13290 which should be done at some point, is to properly abstract this
13291 code using device methods instead of the kludgy way that it
13292 currently hooks into the event code.
13294 b) Added the lisp variables this-command-properties and
13295 last-command- properties, which should be used to synchronize two
13296 adjacent commands in preference to playing games with the variable
13297 this-command, which is typically what happens.
13299 c) Added some slightly nasty code to hook into the lisp support
13300 for shifted- motion-key selection. This is actually necessary for
13301 somewhat complicated reasons, which are described in
13302 simple.el. (NB: I think the proper thing would be to have the code
13303 that calls the pre and post command hooks also call out to generic
13304 lisp functions in simple.el, where all built-in stuff could be
13305 added. I will think about this more.)
13307 * event-unixoid.c (poll_fds_for_input):
13308 * lread.c (readchar):
13309 * redisplay-tty.c (tty_clear_frame):
13310 * redisplay-x.c (x_get_gc):
13311 * signal.c (interrupt_signal):
13312 And a whole bunch of other files: fixed up places that printed
13313 directly to stderr to instead call the function stderr_out so that
13314 the changes I made under Windows work correctly.
13316 * filemode.c (mode_string):
13320 * frame-msw.c (mswindows_size_frame_internal):
13321 Fixed the computation of frame size and position to keep the frame
13322 within the workspace area, rather than within the physical
13323 dimensions of the screen, so that the frame doesn't overlap window
13324 manager decorations, such as the start menu and toolbar, typically
13325 at the bottom of the screen.
13327 * frame.c (vars_of_frame):
13328 Changed the default frame title format under MS Windows to consist
13329 of buffername-XEmacs, which is standard under MS Windows. I think
13330 it might be a good idea to change this everywhere because I think
13331 it is superior to the current frame title format, but this is the
13332 kind of change that is likely to cause some people to get annoyed,
13333 so I'm not making it.
13335 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
13337 * gui-msw.c (mswindows_handle_gui_wm_command):
13338 Fixed compile warnings.
13341 * gui-x.c (strdup_and_add_accel):
13342 * gui-x.c (button_item_to_widget_value):
13344 Added code to automatically put an accelerator onto the beginning
13345 of menu items that don't have one as is now the standard, and is
13346 described more later. Also fixed things so that the menu item
13347 name can be an evaluated expression, again a new standard.
13350 * gui.c (gui_item_add_keyval_pair):
13351 * gui.c (make_gui_item_from_keywords_internal):
13352 * gui.c (gui_add_item_keywords_to_plist):
13353 * gui.c (gui_item_accelerator):
13354 * gui.c (gui_name_accelerator):
13355 * gui.c (gui_item_included_p):
13356 * gui.c (gui_item_display_flush_left):
13357 * gui.c (gui_item_display_flush_right):
13358 * gui.c (parse_gui_item_tree_item):
13359 * gui.c (parse_gui_item_tree_children):
13360 * gui.c (parse_gui_item_tree_list):
13361 Mule-ized. Cleanup. GCPRO addition.
13363 * line-number.c (buffer_line_number):
13365 * lisp.h (EMACS_INT_MAX):
13366 Added the manifest constant EMACS_INT_MIN corresponding to the
13367 existing constant EMACS_INT_MAX. This is partially to fix compile
13368 warnings under Windows, and partly for cleanliness.
13371 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
13372 * menubar-msw.c (msw_translate_menu_or_dialog_item):
13373 * menubar-msw.c (displayable_menu_item):
13374 * menubar-msw.c (populate_menu_add_item):
13375 * menubar-msw.c (populate_or_checksum_helper):
13376 * menubar-msw.c (populate_menu):
13377 * menubar-msw.c (update_frame_menubar_maybe):
13378 * menubar-msw.c (prune_menubar):
13379 * menubar-msw.c (msw_char_is_accelerator):
13380 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
13381 * menubar-msw.c (mswindows_handle_wm_command):
13382 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
13383 * menubar-msw.c (mswindows_handle_wm_initmenu):
13384 * menubar-msw.c (mswindows_update_frame_menubars):
13385 * menubar-msw.c (mswindows_free_frame_menubars):
13386 * menubar-msw.c (mswindows_popup_menu):
13387 Fixed a bug in handling accelerators where an extra character
13388 would be displayed in the menu item. Also generalized the
13389 function displayable_menu_item because it is now used by the
13390 dialog box code as well. And finally, added code in the functions
13391 that create the menubar to extract a list of accelerators for the
13392 top level menubar, which is used in the event code to determine
13393 whether a particular alt-key combination should be used to invoke
13394 a menu item, or should be passed through to access the standard
13395 XEmacs keymap binding for this key combination.
13397 Much needed GCPROing.
13400 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13401 * menubar-x.c (menu_item_descriptor_to_widget_value):
13402 * menubar-x.c (restore_in_menu_callback):
13403 * menubar-x.c (x_popup_menu):
13404 * menubar-x.c (menu_move_up):
13405 * menubar-x.c (menu_move_down):
13406 * menubar-x.c (menu_move_left):
13407 * menubar-x.c (menu_move_right):
13408 * menubar-x.c (menu_select_item):
13409 * menubar-x.c (command_builder_operate_menu_accelerator):
13410 * menubar-x.c (menu_accelerator_junk_on_error):
13411 * menubar-x.c (command_builder_find_menu_accelerator):
13412 * menubar-x.c (Faccelerate_menu):
13414 Moved a whole bunch of code here that was previously in
13415 event-stream.c as described above. There is also code connected
13416 to the new standard of adding an accelerator to the beginning of
13417 menu items that don't have one as described above and below.
13420 * menubar.c (menu_parse_submenu_keywords):
13421 * menubar.c (Fmenu_find_real_submenu):
13422 * menubar.c (Fnormalize_menu_item_name):
13423 * menubar.c (syms_of_menubar):
13424 * menubar.c (vars_of_menubar):
13425 * menubar.c (complex_vars_of_menubar):
13427 a) Cleaned up a bunch of documentation and improved it.
13429 b) XEmacs now automatically adds an accelerator onto the beginning
13430 of any menu items that don't have one. I did this because there
13431 will inevitably be some menu items on the main menubar that don't
13432 have accelerators on them because the package that adds that
13433 particular menu item hasn't yet been fixed up to have accelerators
13434 in them and it looked rather strange to have some items with and
13435 some items without accelerators, especially since even in items
13436 without accelerators, you can, at least under windows, still
13437 access the item through an accelerator corresponding to the first
13438 character in the item's name. If people don't like this behavior,
13439 I can add a variable to turn it off optionally, but I'm not sure
13440 this is a good idea because we really do need to have accelerators
13441 on all of the menu items, and if a package doesn't like the
13442 accelerators being put on the first character, then it should put
13443 the accelerators where they belong.
13445 c) I made a behavior change, which is that the descriptor that
13446 specifies the text of the menu item, which formerly was just a
13447 string, can now also be an evaluated expression. This makes this
13448 descriptor parallel with all of the others, which could also be
13449 evaluated expressions. This also obviates the need for the
13450 keyword :label, which was previously listed in the documentation
13451 as unimplemented, and which was for the same purpose.
13456 * ntproc.c (new_child):
13457 * ntproc.c (sys_spawnve):
13458 * ntproc.c (find_child_console):
13459 * ntproc.c (sys_kill):
13460 Fixed compile warnings. By the way, this file should really go
13461 away entirely, and this will happen as soon as Kirill makes his
13462 final round of process cleanups, which affect the function
13466 * process-nt.c (struct nt_process_data):
13467 * process-nt.c (find_process_from_pid):
13468 * process-nt.c (send_signal_the_nt_way):
13469 * process-nt.c (enable_child_signals):
13470 * process-nt.c (find_child_console):
13471 * process-nt.c (send_signal_the_95_way):
13472 * process-nt.c (nt_finalize_process_data):
13473 * process-nt.c (ensure_console_window_exists):
13474 * process-nt.c (nt_create_process):
13475 * process-nt.c (nt_kill_child_process):
13476 * process-nt.c (nt_kill_process_by_pid):
13477 * process-nt.c (nt_open_network_stream):
13478 * process-nt.c (vars_of_process_nt):
13479 Copied over code from Emacs 20.5 to correctly send signals to sub-
13480 processes under Windows 95. Also added code to automatically
13481 create and hide console window when a sub-process is created under
13482 Windows 95, which obviates the need for the separate runemacs.exe
13483 executable, and finally implemented some variables that were
13484 implemented in Emacs 20.5, but previously not in XEmacs. These
13485 include mswindows- start-process-share-console and
13486 mswindows-start-process-inherit-error-mode. (Both of these only
13487 apply to Windows 95.)
13489 * regex.c (regex_compile): Fixed a compile warning.
13492 * select-msw.c (mswindows_own_selection):
13493 * select-msw.c (mswindows_get_foreign_selection):
13494 * select-msw.c (mswindows_disown_selection):
13495 * select-msw.c (console_type_create_select_mswindows):
13496 * select-msw.c (syms_of_select_mswindows):
13497 Cleaned up the file and implemented the device method
13498 selection_exists_p, which had accidentally been left out. Also
13499 removed four lisp functions that were remnants from before the
13500 time when the selection code was properly device abstracted.
13501 These functions are no longer needed because there are generic
13502 equivalents, and because they were added recently and don't exist
13503 in FSF Emacs, I don't think there's any problem with just deleting
13507 * sysdep.c (sys_subshell):
13508 Fixed a compile warning, although in this case there's probably
13509 something wrong with this code, and it ought to be looked into
13510 more thoroughly by somebody who understands it.
13513 * window.c (Fwindow_text_area_height):
13514 * window.c (Fwindow_width):
13515 * window.c (Fwindow_full_width):
13516 * window.c (Fwindow_pixel_width):
13517 * window.c (debug_print_window):
13518 * window.c (syms_of_window):
13519 Added functions window-text-area-height and window-full-width,
13520 which are functions for returning various width and height
13521 characteristics of a window. (One of these functions is necessary
13522 for making the file dialog box work correctly, and the other one
13523 was added for completeness.) Also added a table to the
13524 documentation for window-height which describes the entire scheme
13525 for accessing width and height characteristics of a window.
13527 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13529 * nt.c (fstat): Added a comment for another problem with
13530 non-encapsulated [f]stat(), reported by Adrian Aichner
13531 <aichner@ecf.teradyne.com>.
13533 2000-03-11 Andy Piper <andy@xemacs.org>
13535 * window.c (make_dummy_parent): initialize subwindow instance
13537 (Fset_window_configuration): zero extent_modiff.
13539 2000-03-10 Andy Piper <andy@xemacs.org>
13541 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
13542 more changes can be triggered.
13543 (Fredisplay_frame): ditto.
13544 (Fredraw_device): ditto.
13545 (Fredisplay_device): ditto.
13546 (redisplay_frame): make non-static.
13547 (redisplay_frame): call update_frame_gutter_geometry outside of
13550 * gutter.h: declare update_frame_gutter_geometry.
13552 * redisplay.h: declare redisplay_frame.
13554 * gutter.c (update_frame_gutter_geometry): move geometry changes
13555 in update_frame_gutters here. Geometry changes can only occur
13556 outside of redisplay.
13557 (update_frame_gutters): remove geometry change code.
13558 (Fredisplay_gutter_area): make sure that we are in display when we
13559 update and that we have flushed any size changes.
13561 2000-03-11 Andy Piper <andy@xemacs.org>
13563 * alloc.c (pdump_dump_data): remove i & count shadows.
13565 2000-02-27 Mike Alexander <mta@arbortext.com>
13567 * sysdep.h: Declare pdump_read_file
13569 * sysdep.c (pdump_read_file): New function
13571 * alloc.c (pdump_load): Call pdump_read_file to get the portable
13574 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13576 * lrecord.h: add `lrecord_type_pgsetenv'.
13578 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
13580 * symsinit.h: declare (vars|syms)_of* functions.
13581 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
13583 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
13585 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
13587 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
13590 * emacs.c (main_1): Call postgres initialization code.
13592 * postgresql.h: New file. PostgreSQL RDBMS support.
13593 * postgresql.c: New file.
13595 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13597 * redisplay-output.c (redisplay_output_display_block): Disable
13600 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13602 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
13603 (Fcanna_henkan_next): Ditto.
13604 (Fcanna_bunsetu_henkou): Ditto.
13605 (Fcanna_henkan_kakutei): Ditto.
13606 (Fcanna_henkan_end): Ditto.
13607 (Fcanna_henkan_quit): Ditto.
13608 (Fcanna_henkan_next): Set retun value correctly.
13609 (c2mu): Use unsigned char instead of signed char.
13611 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13613 * emacs.c (main_1): Always call syms_of_gui.
13614 * inline.c: include gui.h
13616 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13618 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
13619 converted to Lisp_Object.
13620 (Qtop_bottom): New variable.
13621 (syms_of_redisplay): Initialize it.
13622 * redisplay.h (Vvisible_bell): Ditto.
13623 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
13624 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
13625 only flash top and bottom.
13627 2000-03-08 Andy Piper <andy@xemacs.org>
13629 * buffer.c (Frename_buffer): record new buffer name the right way.
13631 2000-03-08 Andy Piper <andy@xemacs.org>
13633 * glyphs.c (update_subwindow): increase hash depth so that widget
13634 items get picked up properly.
13636 * redisplay-output.c (compare_runes): increase hash depth so that
13637 widget items get picked up properly.
13639 2000-03-08 Andy Piper <andy@xemacs.org>
13641 * gutter.c (output_gutter): add some debug.
13643 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
13644 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
13645 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
13647 * redisplay-output.c (compare_runes): use display_hash to
13648 determine if glyphs really are not the same.
13650 * glyphs.c (update_subwindow): check display_hash to see if
13651 anything really needs to be updated. If not then do
13652 nothing. Record the display_hash after updating.
13653 (image_instance_equal): compare the image_instance face also.
13655 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
13657 * redisplay.h: Fix comment style.
13659 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
13661 * consle-msw.h (struct mswindows_frame):
13662 Added new member paint_pending to indicate whether a WM_PAINT
13663 magic event has been queued for this frame.
13665 * event-msw.c (mswindows_drain_windows_queue):
13666 Don't queue a WM_PAINT magic event if one is already queued.
13667 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
13669 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
13671 2000-03-07 Didier Verna <didier@xemacs.org>
13673 * dired.c: #include `regex.h' after `sysfile.h'.
13675 2000-03-06 Martin Buchholz <martin@xemacs.org>
13677 * sound.c (init_nas_sound): Fix compiler warning.
13679 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
13681 (MARK_STRUCT_AS_FREE):
13682 (MARK_STRUCT_AS_NOT_FREE):
13683 Make `gcc -fstrict-aliasing' work properly.
13685 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
13687 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
13688 (mswindows_delete_device): Call CoUnnitialize().
13690 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
13692 2000-02-25 <CraigL@DyCon.com>
13694 * process-nt.c: MinGW now has <shellapi.h>, but still needs
13697 * sysdep.c: This extern declaration for environ prevents MinGW
13698 from finding the variable in CRTDLL.DLL.
13700 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
13702 (SHGFI_EXETYPE): ..
13703 (WM_MOUSEWHEEL): ..
13704 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
13706 (MMRESULT): Removed, now defined in cygwin's windows headers.
13708 (uid_t,gid_t,pid_t,ssize_t): ..
13709 (_timeb): Removed, MinGW defines both _timeb and timeb.
13710 (HAVE_H_ERRNO): Added.
13711 (HAVE_TZNAME): Added, configure is not detecting this.
13713 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
13715 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
13716 * syntax.c (syntax_match): Use it.
13718 * cmds.c: Import auto-fill-chars from FSF Emacs.
13719 (Vauto_fill_chars): New variables.
13720 (internal_self_insert): Check Vauto_fill_chars.
13722 Declare auto-fill-chars as a Lisp variable and initialize it.
13724 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
13726 * fileio.c (Fmake_symbolic_link):
13728 Run handlers even if local machine doesn't have symlinks.
13730 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
13732 * event-msw.c (mswindows_drain_windows_queue):
13733 Don't generate paint magic events for non-XEmacs frames.
13735 2000-03-05 Andy Piper <andy@xemacs.org>
13737 * redisplay.c (redisplay_frame): generate_displayable_area and
13738 friends assumes that we are not in GC, we therefore have to make
13739 sure that this doesn't happen.
13741 * gutter.c (calculate_gutter_size): generate_displayable_area
13742 assumes that we are not in GC, we therefore have to make sure that
13743 this doesn't happen.
13745 2000-03-05 Martin Buchholz <martin@xemacs.org>
13747 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
13749 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13751 * redisplay.c (regenerate_window): Make sure we set a sane value
13752 for end_pos even if we jump out of the loop.
13753 (regenerate_window): Answer Ben's question :-).
13754 (start_end_of_last_line): Add may_error argument.
13755 (start_of_last_line):
13756 (end_of_last_line): Pass may_error = 0.
13757 (end_of_last_line_may_error): New function.
13758 (pixel_to_glyph_translation): Use it, so we don't crash in
13761 2000-03-04 Andy Piper <andy@xemacs.org>
13763 * window.h (struct window): add gutter_extent_modiff.
13765 * window.c (allocate_window): zero out gutter_extent_modiff.
13767 * redisplay.h: declare sync_display_line_structs.
13769 * redisplay.c (add_glyph_rune): add a better comment.
13771 * redisplay-output.c (sync_display_line_structs): made non-static.
13772 (compare_runes): remove unneccesary glyph cachel access.
13774 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
13776 * gutter.c (output_gutter): don't output the gutter if extent
13777 changes only involve extents in buffers. use 4 sets of display
13779 (gutter_extent_signal_changed_region_maybe): new function. Mark
13780 extents in gutters as changed.
13781 (update_frame_gutters): use 4 sets of display lines.
13782 (reset_gutter_display_lines): ditto.
13783 (free_frame_gutters): ditto.
13784 (redraw_exposed_gutter): force output of gutters.
13786 * frame.h (struct frame): add 4 sets of gutter display lines.
13788 * extents.c: (extent_changed_for_redisplay): signal changes to
13789 extents in strings in the gutter as well as extents in buffers.
13791 2000-03-02 Andy Piper <andy@xemacs.org>
13793 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
13795 * frame.c (Fmake_frame): make sure the gutters get initialized
13796 after the frame is visible.
13797 (set_frame_selected_window): re-arrange compilation macros a
13799 (change_frame_size_1): mark gutters changed.
13801 * device.c (Fset_device_class): mark gutters changed.
13803 2000-03-01 Andy Piper <andy@xemacs.org>
13805 * window.c (window_top_frame_gutter_height): deleted.
13806 (window_bottom_frame_gutter_height): ditto.
13807 (window_left_frame_gutter_height): ditto.
13808 (window_right_frame_gutter_height): ditto.
13809 (window_top_gutter_height): don't use them.
13810 (window_bottom_gutter_height): ditto.
13811 (window_left_gutter_width): ditto.
13812 (window_right_gutter_width): ditto.
13813 (Fsplit_window): ditto.
13814 (Fwindow_pixel_edges): don't use border dimensions here.
13816 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
13817 (update_scrollbar_instance): ditto.
13819 * redisplay.c (generate_modeline): don't take gutters into account.
13820 (generate_modeline): ditto.
13821 (redisplay_frame): small gutter display optimization.
13823 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
13825 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
13826 gutters into account.
13828 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
13829 for window position and type.
13831 * gutter.c (get_gutter_coords): fix for frame gutters.
13832 (update_frame_gutters): update frame geometry if the gutters have
13834 (init_frame_gutters): record current gutter geometries.
13836 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
13838 (mswindows_widget_instantiate): ditto.
13840 * frame.h (struct frame): add current_gutter_bounds.
13842 * frame.c (change_frame_size_1): position window and minibuffer
13843 appropriately taking into account the frame gutters.
13845 * frame-x.c: (x_initialize_frame_size): take into account the
13848 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
13850 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
13852 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
13854 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
13856 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13858 * file-coding.c (reset_decoding_stream): Clear previous
13859 detection state when autodetect.
13861 2000-02-29 Didier Verna <didier@xemacs.org>
13863 * extents.c (set_extent_glyph_1): don't require extents to be
13866 2000-02-27 Andy Piper <andy@xemacs.org>
13868 * gutter.c (Fset_default_gutter_position): don't default left and
13869 right gutter visibility to t.
13870 (Fset_default_gutter_position): run
13871 default-gutter-position-changed-hook.
13872 (syms_of_gutter): add default-gutter-position-changed-hook.
13874 2000-02-26 Andy Piper <andy@xemacs.org>
13876 * specifier.c (Fmake_specifier): add gutter references.
13878 * gutter.h (RAW_WINDOW_GUTTER): new macro.
13880 * lisp.h: declare Fvalid_plist_p.
13882 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
13884 (default_gutter_visible_p_changed_in_window): invalidate gutter as
13885 well as its visibility so that it gets reconstructed.
13886 (construct_window_gutter_spec): new function. Construct a string
13887 to be displayed in the gutter from a plist of strings. Take care
13888 to only use elements that are declared as visible.
13889 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
13891 (gutter_validate): allow plists of strings in the specifier.
13892 (gutter_specs_changed): construct the real_gutter from the gutter
13893 specs using construct_window_gutter_spec.
13894 (gutter_visible_validate): gutter-visible is a new specifier type.
13895 (Fgutter_visible_specifier_p): new function for the new specifier.
13896 (syms_of_gutter): declare gutter-visible and
13897 Fgutter_visible_specifier_p.
13898 (specifier_type_create_gutter): intitalize new gutter-visible
13900 (reinit_specifier_type_create_gutter): ditto.
13901 (specifier_vars_of_gutter): use new specifier type for gutter
13903 (init_frame_gutters): construct real_gutter correctly.
13904 (Fgutter_specifier_p): beef up documentation.
13905 (Fgutter_size_specifier_p): ditto.
13907 * winslots.h: add real_gutter slots.
13909 2000-02-25 Andy Piper <andy@xemacs.org>
13911 * device-msw.c: Be kind to older cygwin versions. From Raymond
13912 Toy <toy@rtp.ericsson.se>.
13914 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
13915 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
13917 2000-02-25 Martin Buchholz <martin@xemacs.org>
13919 * elhash.c (MARK_OBJ): Practice macro hygiene.
13921 2000-02-24 Martin Buchholz <martin@xemacs.org>
13923 * miscplay.c: s/__inline__/inline/g;
13924 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
13925 (get_device_compdc): INLINE ==> static inline
13926 * *.[ch]: Change INLINE to INLINE_HEADER globally.
13927 find -name '*.h' | \
13928 xargs global-replace \
13929 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
13931 2000-02-25 Andy Piper <andy@xemacs.org>
13933 * window.c (window_top_frame_gutter_height): new function.
13934 (window_top_window_gutter_height): ditto.
13935 (window_top_gutter_height): use them.
13936 (window_bottom_frame_gutter_height): new function.
13937 (window_bottom_window_gutter_height): ditto.
13938 (window_bottom_gutter_height): use them.
13939 (window_left_window_gutter_width): new function.
13940 (window_left_frame_gutter_width): ditto.
13941 (window_left_gutter_width): use them.
13942 (window_right_window_gutter_width): new function.
13943 (window_right_frame_gutter_width): ditto.
13944 (window_right_gutter_width): use them.
13945 (window_pixel_height): new function. calulate window pixel height
13946 with frame gutter involvement.
13947 (Fsplit_window): calculate new sizes taking frame gutters into
13949 (window_char_height_to_pixel_height): don't include frame gutters.
13950 (window_char_height): use window_pixel_height.
13951 (window_pixheight): rename from window_pixel_height.
13952 (change_window_height): use it.
13953 (window_pixel_height_to_char_height): don't include frame gutters.
13954 (window_char_width_to_pixel_width): ditto.
13956 2000-02-25 Andy Piper <andy@xemacs.org>
13958 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
13961 2000-02-24 Martin Buchholz <martin@xemacs.org>
13963 * alloc.c (staticpro):
13964 (staticpro_nodump):
13969 (compact_string_chars):
13970 (pdump_dump_wired):
13971 Convert: if (foo) abort(); ==> assert (! foo);
13973 * eldap.c (Fldap_search_basic):
13977 Fix compiler warnings, and possible crashes if (random) return
13978 value were to be used.
13980 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13982 * device-msw.c: Workaround ResetDC failure.
13984 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
13985 applying a devmode.
13987 * redisplay-msw.c (get_frame_dc): Added start_page_p.
13988 (mswindows_text_width): Do not start printer page.
13990 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
13992 * glyphs-msw.c: Added image methods to msprinter console and
13993 msprinter-specific image instantiation.
13995 2000-02-20 Mike Alexander <mta@arbortext.com>
13997 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
13998 to avoid crashes when selection-sets-clipboard is on
13999 (mswindows_own_selection): ditto
14001 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14004 * redisplay-msw.c (get_frame_dc):
14005 (get_frame_compdc):
14007 * device-msw.c (mswindows_init_device):
14008 (mswindows_delete_device):
14009 (msprinter_init_device):
14010 (msprinter_delete_device):
14011 * frame-msw.c (mswindows_init_frame_1):
14012 (mswindows_delete_frame):
14013 (msprinter_init_frame_3):
14014 (msprinter_delete_frame): Move compatible DC to device object from
14015 frame object, for both mswindows and msprinter. Only one at a time
14016 is needed, it is a real waste to have one per frame!
14018 2000-02-23 Andy Piper <andy@xemacs.org>
14020 * glyphs.c: add dynamic width and height elements.
14021 (image_instance_equal): ditto.
14023 * glyphs-widget.c (widget_query_geometry): calculate width and
14024 height dynamically if required.
14025 (initialize_widget_image_instance): initialize dynamic dimensions.
14026 (widget_instantiate): pick-up dynamic dimensions.
14028 * glyphs.h (struct Lisp_Image_Instance): add width and height for
14029 dynamic determination. Add appropriate macros.
14031 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
14033 (WINDOW_GUTTER_SIZE): ditto.
14034 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
14036 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
14038 (get_frame_dc): ditto.
14040 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
14043 2000-02-23 Martin Buchholz <martin@xemacs.org>
14045 * XEmacs 21.2.31 is released.
14047 2000-02-22 Ben Wing <ben@xemacs.org>
14049 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
14051 2000-02-22 Andy Piper <andy@xemacs.org>
14053 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
14055 2000-02-21 Mike Sperber <mike@xemacs.org>
14059 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
14062 2000-02-21 Mike Sperber <mike@xemacs.org>
14064 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
14066 2000-02-21 Martin Buchholz <martin@xemacs.org>
14068 * XEmacs 21.2.30 is released.
14070 2000-02-20 Martin Buchholz <martin@xemacs.org>
14072 Performance hacking.
14074 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
14075 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
14076 * emacs.c (main_1):
14078 * console.c (DEFVAR_CONSOLE_LOCAL_1):
14079 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
14080 * symeval.h (DEFVAR_SYMVAL_FWD):
14081 * symbols.c (guts_of_unbound_marker):
14082 Make all c_readonly objects also lisp_readonly and marked for life.
14083 * lrecord.h (struct lrecord_implementation):
14084 Document flags better.
14085 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
14086 * lrecord.h (DECLARE_LRECORD):
14087 * lrecord.h (XSETRECORD):
14088 * lrecord.h (RECORDP):
14089 * lrecord.h (RECORD_TYPEP):
14090 * lrecord.h (RECORD_MARKER): New.
14091 * lrecord.h (error_check_*):
14092 * lrecord.h (CONCHECK_NONRECORD):
14093 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
14094 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
14095 * lrecord.h (set_lheader_implementation):
14096 * lrecord.h (enum lrecord_type): New.
14097 * symeval.h (SYMBOL_VALUE_MAGIC_P):
14098 * alloc.c (disksave_object_finalization_1):
14099 * alloc.c (mark_object):
14100 * alloc.c (lrecord_type_index):
14101 * alloc.c (tick_lcrecord_stats):
14102 * alloc.c (Fgarbage_collect):
14103 * alloc.c (init_alloc_once_early):
14104 * alloc.c (pdump_load):
14105 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
14106 * alloc.c (lrecord_type_index): Delete.
14107 Make lisp object type indexes be constant.
14108 Makes (byte-compile) 5% faster.
14109 Put all marker functions into their own array.
14110 Makes (garbage-collect) 5% faster.
14111 Optimize SYMBOL_VALUE_MAGIC_P.
14112 Makes (byte-compile) 2-3% faster.
14113 * config.h.in (gc_checking_assert): New.
14114 * alloc.c: Use gc_checking_assert().
14115 * .dbxrc: Make compatible with new object type implementation.
14116 * .gdbinit: Make compatible with new object type implementation.
14117 * alloc.c: Delete all symbols defined only for debugging, such as
14118 Lisp_Type_Vector and lrecord_charset.
14120 2000-02-21 Andy Piper <andy@xemacs.org>
14122 * gui-msw.c (Fmswindows_shell_execute): fix file location
14125 * buffer.c (Fkill_buffer): remove buffer from alist buffer
14126 unshowing so that set_window_buffer doesn't undo
14127 kill_buffer_hook's hard work.
14129 * glyphs-widget.c (tab_control_query_geometry): don't count the
14130 first item when calculating geometry.
14132 * glyphs.c (map_subwindow): remove redundant code.
14133 (update_frame_subwindows): be more circumspect about when to
14136 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
14137 when items haven't changed. Update faces if faces have changed as
14138 well as just the widget face.
14139 (x_tab_control_update): Update faces if faces have changed as well
14140 as just the widget face.
14142 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14144 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
14146 (build_syscolor_string): Use mswindows_color_to_string to try to
14148 (mswindows_device_system_metrics): Reverse the foreground and
14149 background colors so that they match the documentation.
14151 * objects-msw.c: (mswindows_X_color_map): tweak some values so
14152 they match the default Windows palette.
14153 (mswindows_color_to_string): New function.
14155 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14157 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
14159 2000-02-18 Olivier Galibert <galibert@pobox.com>
14161 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
14162 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
14164 * symbols.c (init_symbols_once_early): Removed obsolete
14165 DATA_SEG_BITS related kludge.
14166 (defvar_magic): Ditto.
14168 * malloc.c: Removed obsolete DATA_SEG_BITS
14170 * mem-limits.h: Ditto.
14172 * Makefile.in.in: Removed obsolete HAVE_SHM
14175 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14177 * device-msw.c (mswindows_delete_device): Free DDE string
14180 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14182 * keymap.c (get_keyelt):
14183 * unexnt.c (unexec):
14184 * vm-limit.c (memory_warnings):
14185 * ntheap.c (recreate_heap):
14186 * ntheap.h (UNINIT_PTR):
14187 * select-msw.c (Fmswindows_get_clipboard):
14188 (Fmswindows_set_clipboard):
14189 * objects-msw.h (MSWINDOWS_BAD_HFONT):
14191 * menubar-msw.c (displayable_menu_item):
14193 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
14194 * sysdep.c (sys_subshell):
14195 * process-nt.c (nt_create_process):
14196 * nt.c (normalize_filename):
14197 (dostounix_filename):
14198 (unixtodos_filename):
14199 * ntproc.c (win32_executable_type):
14200 * ntplay.c (play_sound_data_1):
14202 * editfns.c (get_home_directory):
14203 * event-msw.c (struct winsock_stream):
14204 (mswindows_dde_callback):
14205 * device-msw.c (msprinter_init_device):
14206 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
14208 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
14209 mswindows_clear_toolbar were swapped!
14211 * objects-msw.c:(colormap_t):
14213 * emacs.c (struct standard_args): Fixed const jumble.
14215 * glyphs-widget.c (update_widget): Fixed comparison notation.
14217 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
14219 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
14220 __declspec(noreturn) syntax.
14222 2000-02-19 Martin Buchholz <martin@xemacs.org>
14224 * eldap.c (Fldap_open):
14225 (Fldap_search_basic):
14228 Use new coding system conversion macros.
14230 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14232 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
14234 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
14236 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
14237 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14239 * eldap.c (Qadd, Qreplace): New constant symbols
14240 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
14241 interruptions by XEmacs signals
14242 Remove unnecessary calls to slow_down_interrupts and
14243 speed_up_interrupts
14244 (Fldap_search_basic): Renamed from Fldap_search_internal
14245 Added new optional parameter VERBOSE that triggers the
14246 display of progress messages
14247 Remove unnecessary calls to slow_down_interrupts and
14248 speed_up_interrupts
14249 LDAP result code analysis rewritten
14250 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14251 (syms_of_eldap): Define the new symbols and functions
14254 2000-02-17 Martin Buchholz <martin@xemacs.org>
14256 * realpath.c: Determine PATH_MAX maximally portably.
14258 * insdel.c (bytecount_to_charcount): Optimize.
14259 The function used to be optimized for entirely ASCII sequences.
14260 Now it is optimized for successive characters from the same
14261 charset. This also wins big for _mostly_ ASCII sequences.
14263 * fileio.c (Ffile_truename): convert return from realpath() using
14264 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
14265 - Rewrite GCPROing slightly.
14267 * sysdep.c (sys_open): Do filename conversion, like all other
14268 sys_* functions. Fixes bug:
14269 (let ((file-name-coding-system 'iso-8859-2))
14270 (write-region x y latin2-name))
14271 ==> writes filename using internal encoding.
14273 2000-02-18 Martin Buchholz <martin@xemacs.org>
14275 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
14276 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
14277 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
14278 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
14279 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
14280 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
14281 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
14282 (CONST_IF_NOT_DEBUG): Delete.
14283 * alloc.c (this_one_is_unmarkable): Delete.
14284 (mark_object): Don't check for this_one_is_unmarkable. Use the
14285 c_readonly flag instead.
14286 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
14288 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
14290 * event-msw.c (mswindows_drain_windows_queue):
14291 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
14292 away redundant repaint events.
14294 2000-02-17 Andy Piper <andy@xemacs.org>
14296 * redisplay.h: declare mark_redisplay_structs.
14298 * redisplay.c (redisplay_window):
14299 (redisplay_frame): don't check subwindows_state_changed.
14300 (mark_redisplay): mark gutters here.
14302 * glyphs.c: (instantiate_image_instantiator): always layout if we
14303 haven't done so already.
14304 (allocate_image_instance): don't mark as dirty.
14305 (update_subwindow): bind inhibit_quit.
14307 * gutter.c (mark_gutters): new function.
14309 * glyphs-x.c (x_update_widget): Always resize to get round a
14312 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
14313 breaking absolutely everything.
14315 * gutter.h: declare mark_gutters.
14317 2000-02-16 Martin Buchholz <martin@xemacs.org>
14319 * XEmacs 21.2.29 is released.
14321 2000-02-15 Olivier Galibert <galibert@pobox.com>
14323 * fns.c (size_bit_vector): Fix computation of the size.
14325 2000-02-15 Martin Buchholz <martin@xemacs.org>
14327 * *.[ch]: Change CONST to const globally.
14328 find -name '*.[ch]' | \
14329 xargs global-replace \
14330 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
14331 - Remove vestigial references to CONST_IS_LOSING
14333 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14335 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
14336 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
14337 events instead of dispatching them directly.
14338 (mswindows_handle_paint): New function to do repainting.
14339 (mswindows_wnd_proc):
14340 (emacs_mswindows_handle_magic_event): Call above function.
14342 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14344 * objects-msw.c (mswindows_create_font_variant): Return the new
14346 (initialize_font_instance): Get font metrics from the underlined
14347 variant of the font to cope with the case where the underlined
14348 font has a bigger descent.
14350 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14352 * gui.c (gui_item_accelerator): Return the first underlined
14353 character in item name.
14355 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14357 * lisp.h: Added Qprinter.
14359 * general.c (syms_of_general): Initialized it.
14361 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
14363 (get_frame_compdc): Made inline.
14365 * console.h (struct console_methods): Added eject_page method.
14367 * frame.h: Added FRAME_DISPLAY_P and friends.
14368 Aligned backslahes in many macros in more readable fashion.
14369 Added page_number to struct frame, and an accessor macro
14372 * defice.h: Added DEVICE_DISPLAY_P and friends.
14374 * device.c (Fdevice_printer_p): Used these.
14376 * frame.c (allocate_frame_core): Initialize page number.
14377 (Fprint_job_page_number):
14378 (Fprint_job_eject_page): Implemented.
14380 * frame-msw.c (msprinter_eject_page): Added method.
14381 (msprinter_start_page): Added.
14383 * window.c (Fwindow_truncated_p): Fixed docstring.
14384 (Fwindow_last_line_visible_height): Implemented.
14386 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14388 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
14390 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14392 * syntax.c (scan_words): Always advance at least one character.
14394 2000-02-13 Andy Piper <andy@xemacs.org>
14396 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
14397 to make sure the glyph is in the cachels.
14399 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
14400 global image instance flag.
14401 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
14402 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
14404 * glyphs.c (allocate_image_instance): set dirty bits correctly.
14405 (Fset_image_instance_property): mark layout as changed.
14406 (invalidate_glyph_geometry_maybe): mark layout as changed.
14407 (glyph_width): use new NEEDS_LAYOUT macro.
14408 (glyph_ascent): ditto.
14409 (glyph_descent): ditto.
14410 (glyph_height): ditto.
14411 (image_instance_layout): mark layout as clean after laying out.
14412 (update_subwindow): don't mark layout as clean here.
14414 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
14415 should no longer be needed.
14417 * glyphs-x.c (x_update_widget): sanitize asserts.
14418 (x_finalize_image_instance): sanitize assignment to widgets.
14420 * glyphs-widget.c (widget_instantiate): don't need to clear the
14423 2000-02-13 Martin Buchholz <martin@xemacs.org>
14425 * sysdep.c (getcwd): Use standard prototype.
14426 * sysdep.h (getcwd): Use standard prototype.
14428 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
14429 (sequence, start, end).
14430 Remove redundant type checking.
14431 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
14432 view of `caller-protects') to avoid a crash where the real fix was
14435 2000-02-12 Martin Buchholz <martin@xemacs.org>
14437 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
14439 * s/sol2.h: Remove feature macro initialization.
14441 * alloc.c (alloc_lcrecord): Add more type checking assertions.
14442 (vector_hash): New. Code from internal_hash.
14444 Fix up allocation subsystem comments.
14446 * config.h.in: Add __EXTENSIONS__ for Solaris.
14448 * systime.h (EMACS_GETTIMEOFDAY): New.
14449 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
14450 Remove Solaris-specific code.
14451 Use void* for the (ignored) second arg for gettimeofday().
14453 * elhash.c (hash_table_hash): Implement it, finally.
14454 * elhash.c: Use hashcode_t.
14456 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
14457 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
14459 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
14460 * fns.c (size_bit_vector):
14461 * alloc.c (size_vector):
14462 (make_vector_internal):
14463 (make_bit_vector_internal):
14464 (sweep_bit_vectors_1):
14465 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
14467 2000-02-10 Martin Buchholz <martin@xemacs.org>
14469 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
14470 Include strings.h to avoid warnings for bzero and strcasecmp.
14472 2000-02-10 Olivier Galibert <galibert@pobox.com>
14474 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
14475 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
14477 * fns.c (size_bit_vector): New. Declare bit vectors as a
14480 2000-02-10 Olivier Galibert <galibert@pobox.com>
14482 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
14483 use a value field instead.
14484 (symbol_value_forward_forward): Use value field.
14485 (DEFVAR_SYMVAL_FWD): Use value field.
14486 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
14487 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
14488 (DEFVAR_CONST_INT): Ditto.
14489 (DEFVAR_BOOL): Ditto.
14490 (DEFVAR_CONST_BOOL): Ditto.
14491 (DEFVAR_INT_MAGIC): Ditto.
14492 (DEFVAR_BOOL_MAGIC): Ditto.
14494 * symbols.c (guts_of_unbound_marker): Use value field.
14495 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
14496 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
14498 * lisp.h: Declare dumpopaque and noninteractive1.
14500 * alloc.c (dumpopaque): Added.
14501 (pdump_dump_opaquevec): Added.
14502 (pdump): Call pdump_dump_opaquevec to dump opaque data.
14503 (pdump_load): Reload opaque data. Sync noninteractive1 with
14506 2000-02-10 Andy Piper <andy@xemacs.org>
14508 * glyphs.c (image_instance_layout): if the size changes, mark it
14511 * redisplay-output.c (redisplay_output_layout): Update the
14513 (redisplay_output_subwindow): ditto.
14515 * glyphs.c (update_subwindow): make sure we reset flags for
14516 layouts as well as everything else.
14518 * glyphs-widget.c (layout_layout): don't need to set the instances
14521 2000-02-09 Martin Buchholz <martin@xemacs.org>
14523 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
14524 not HAVE_DLOPEN, which is a lower-level thing.
14526 * .cvsignore: Ignore gmon.out
14528 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
14530 * .cvsignore: Ignore portable dumper xemacs.dmp file
14532 2000-02-09 Andy Piper <andy@xemacs.org>
14534 * redisplay-output.c (redisplay_output_layout): be more clever
14535 about when we output based on the changed flags.
14537 * glyphs.h (struct image_instantiator_methods): add update_method.
14538 (struct Lisp_Image_Instance): add changed flags. Declare new
14539 macros for manipulating them.
14541 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
14542 (image_instance_parent_glyph): find an image_instance's parent
14543 glyph or image_instance.
14544 (image_instance_layout): mark the size as changed.
14545 (set_image_instance_dirty_p): new function. mark an image
14546 instance, plus all of its parents, as dirty.
14547 (Fset_image_instance_property): use it.
14548 (Fglyph_animated_timeout_handler): use it.
14549 (update_subwindow): call update_widget and device methods for
14550 update_subwindow. Mark all changed flags as clean.
14551 (Fresize_subwindow): mark size as changed.
14553 * glyphs-x.c (x_finalize_image_instance): try and detect gc
14555 (x_update_subwindow): only resize subwindows here.
14556 (x_update_widget): new function. Update all changed properties of
14558 (x_resize_subwindow): deleted.
14559 (x_widget_set_property): deleted.
14560 (x_progress_gauge_set_property): deleted.
14561 (x_progress_gauge_update): new function. Implement recorded
14563 (x_tab_control_update): ditto.
14564 (x_tab_control_set_property): deleted.
14565 (console_type_create_glyphs_x): declare new functions.
14566 (image_instantiator_format_create_glyphs_x): ditto.
14568 * glyphs-widget.c (widget_set_property): mark text changed.
14569 (update_widget): new function. Update properties of a widget.
14570 (widget_instantiate): for layouts make sure we set their
14571 children's parent correctly.
14572 (tab_control_set_property): new function. Record changes that will
14573 take place under redisplay's control.
14574 (progress_gauge_set_property): ditto.
14575 (image_instantiator_progress_guage): declare new functions.
14576 (image_instantiator_tab_control): ditto.
14578 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
14580 (mswindows_update_widget): new function. Update all properties on
14581 a widget that have changed.
14582 (mswindows_button_update): new function. Update a button's set
14584 (mswindows_tab_control_update): new function. Update the items in
14586 (mswindows_tab_control_set_property): deleted.
14587 (mswindows_progress_gauge_update): new function. Update the
14588 progress gauge's progress.
14589 (mswindows_widget_set_property): deleted. This is all done
14590 asynchronously now.
14591 (mswindows_progress_gauge_set_property): ditto.
14592 (console_type_create_glyphs_mswindows): declare new methods.
14593 (image_instantiator_format_create_glyphs_mswindows): ditto.
14595 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
14596 (msprinter_set_frame_properties): ditto.
14598 * console.h (struct console_methods): Add update_widget_method.
14600 2000-02-09 Andy Piper <andy@xemacs.org>
14602 * gui-msw.c (Fmswindows_shell_execute): Make
14603 mswindows-shell-execute industrial strength.
14605 2000-02-08 Martin Buchholz <martin@xemacs.org>
14607 * lrecord.h: Make macro argument `props' match member function `plist'.
14610 * fns.c (Fremprop):
14611 * fns.c (Fobject_plist):
14614 Object property list frobbing cleanup.
14615 - Allow any lisp object (compared with `eq'), not just symbols, as
14616 keys in object plists.
14617 - Move symbol plist frobbing into symbols.c, where it belongs.
14618 - Move string plist frobbing into alloc.c, where it belongs.
14619 - Everything's an lrecord now, so no need to test for symbolp, etc.
14620 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
14622 * extents.c: Reorder code to remove declarations.
14624 * frame.h (store_in_alist): Remove useless declaration.
14626 2000-02-07 Martin Buchholz <martin@xemacs.org>
14628 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
14629 * config.h.in: Add HAVE_XCONVERTCASE.
14631 2000-02-07 Andy Piper <andy@xemacs.org>
14633 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
14634 it breaks many things.
14636 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14638 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
14639 actually can start a common comment type.
14640 * src/syntax.h (SYNTAX_END_P): ditto for end.
14642 2000-02-07 Martin Buchholz <martin@xemacs.org>
14644 * XEmacs 21.2.28 is released.
14646 2000-02-06 Martin Buchholz <martin@xemacs.org>
14648 * event-Xt.c (x_keysym_to_character): New.
14649 (maybe_define_x_key_as_self_inserting_character): New.
14650 (x_has_keysym): New.
14651 Auto-define all keys on the keyboard as self-insert-key.
14653 2000-02-02 Martin Buchholz <martin@xemacs.org>
14655 * menubar.c (vars_of_menubar): A small code simplification.
14657 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
14660 * ExternalClient.c:
14661 * EmacsShell-sub.c:
14664 Use consistent style for specifying X resources.
14666 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
14667 This makes (dontusethis-set-symbol-value-handler) actually usable.
14669 * lrecord.h (lrecord_decription_type):
14670 * alloc.c (pdump_register_sub):
14673 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
14674 Comply with XEmacs coding style.
14675 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
14676 args, and XD_LISP_OBJECT_ARRAY with 3 args.
14678 * keymap.c (Faccessible_keymaps):
14679 Make (accessible-keymaps map "\C-h") do the Right Thing.
14680 Make (accessible-keymaps map []) do the Right Thing.
14681 Make (accessible-keymaps map "") do the Right Thing.
14682 (check_keymap_definition_loop): New function.
14683 (keymap_store_internal): Keep luser from shooting self in foot,
14684 via (define-key ctl-x-4-map "p" global-map).
14685 Remove fullness slot from struct Lisp_Keymap, since hash tables
14687 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
14689 2000-01-30 Martin Buchholz <martin@xemacs.org>
14691 * redisplay.c (init_redisplay): Fix small memory leak.
14693 * elhash.c (pdump_reorganize_hash_table):
14694 Rename from reorganize_hash_table. Change prototype.
14695 Reuse the original memory for hentries. Save 100k.
14696 * alloc.c (PDUMP_READ): new macro.
14697 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
14698 * alloc.c: No need to #ifndef before #undef.
14700 * print.c: Allow debug_print() to print readably by modifying
14701 debug_print_readably. Use consistent variable names.
14703 * .dbxrc: Try to get things to work even if stopped in a function
14704 without source available by explicitly specifying source files.
14705 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14707 * unexnt.c (_start): Removed bogus code which caused loading heap
14708 from differrent executable file.
14709 Removed bogus assignment to _fmode, which caused inconsistencies.
14711 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14713 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
14714 Have spawnve encapsulation regard DONT_ENCAPSULATE.
14715 Do not preliminary `#define signal sigset'.
14717 * systime.h: Do not prototype environ on windows nt and cygwin,
14718 this conflicts with system header.
14720 * syssignal.h: Use correct define for WINDOWSNT
14722 * sysdep.h: Do not prototype environ on windows nt, this conflicts
14723 with system header.
14725 * sysdep.c (near start of file): Fixed commentary and rearranged
14726 ifdefs in readable order.
14727 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
14730 (end_of_data): Do not compile in if using PDUMP.
14732 * symsinit.h: Prototyped vars_of_nt().
14734 * ntproc.c (windows9x_p): Added, instead of os_subtype.
14735 (find_child_console): Use it.
14736 (sys_kill): Use it.
14738 * ntheap.h: Do not extern os_subtype.
14740 * ntheap.c (cache_system_info): Do not cache unneeded:
14741 nt_major_version, nt_minor_version and os_subtype.
14742 (recreate_heap): Do not compile in when PDUMPing.
14744 * nt.c (geteuid and friends): Use the new varibale
14745 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
14746 (init_user_info): Removed the above mentioned hackery.
14747 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
14748 stat has been fixed in the C runtime.
14749 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
14751 * file-coding.c (struct file_coding_dump): Do not define
14752 ucs_to_mule_table in the struct if not MULE.
14753 (struct struct lrecord_description fcd_description_1): Do not dump
14756 * emacs.c (main_1): Call vars_of_nt().
14757 (right before Fdump_emacs_data): Don't need lastfile if using both
14758 portabe dumper and system malloc.
14760 * alloc.c (Fmemory_limit): Conditionalized out.
14761 (pdump): Use OPEN_BINARY for the portable dump file.
14762 (pdump_load): Ditto.
14764 2000-02-02 Mike Alexander <mta@arbortext.com>
14766 * nt.c (convert_time): Set tm_isdst before calling mktime and
14767 avoid calling it at all if the compiler supports 64 bit integers.
14768 Also initialize utc_base_ft before using it.
14770 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14772 * frame.c (change_frame_size_1): Take f->internal_border_width
14773 into consideration when calculating the width of the frame.
14775 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14777 * window.c (frame_min_height):
14778 (frame_size_valid_p):
14779 (frame_pixsize_valid_p): Added.
14780 (check_frame_size): Generalized.
14782 * window.h: Prototyped the above.
14785 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
14786 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
14787 Deleted Vwin32_* and Vbinary_process_* unused variables.
14789 * device-msw.c (msprinter_init_device): Do not get printer font
14790 list; Added DEVMODE functions.
14792 * frame-msw.c: Added lots of printer code.
14794 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
14797 * console-msw.h: Added more msprinter device private slots.
14799 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14801 * event-msw.c (key_needs_default_processing_p): Added.
14802 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
14804 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14806 * glyphs.c (image_instance_layout): Mark image instance as clean
14808 (glyph_dirty_p): Removed redundant function.
14809 (invalidate_glyph_geometry_maybe): Added.
14810 (update_glyph_cachel_data): Call it.
14812 * glyphs.h: Prototyped it.
14814 * redisplay.c (add_glyph_rune): Call it.
14815 (redisplay_window): Reset glyphs cachels when frame faces have
14816 changed, thus forcing recomputation of built-in border glyphs.
14818 2000-01-30 Martin Buchholz <martin@xemacs.org>
14820 * Makefile.in.in: Make portable dumper and purify play well together.
14821 Add imperfect, but better than nothing, support for pdump.
14822 Remove xemacs.dmp when temacs is re-generated.
14823 Don't ignore errors when dumping xemacs.
14825 * symbols.c (maybe_call_magic_handler): Remove one magic number.
14827 2000-01-28 Andy Piper <andy@xemacs.org>
14829 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
14830 (setup_normal_frame): ditto.
14831 (setup_frame_without_minibuffer): ditto.
14832 (setup_minibuffer_frame): ditto.
14833 (delete_frame_internal): ditto.
14834 (Fmake_frame_invisible): ditto.
14835 (Ficonify_frame): ditto.
14837 * window.h: change Fset_window_buffer signature.
14839 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
14840 (Fset_window_buffer): allow recording of buffer if the window is
14841 the selected window.
14842 (window_loop): Use new Fset_window signature.
14844 2000-01-23 Daniel Pittman <daniel@danann.net>
14846 * config.h.in: Added template for `HAVE_ATHENA_3D'
14848 2000-01-29 Andy Piper <andy@xemacs.org>
14850 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
14852 * gutter.c (output_gutter): Don't output if the window isn't live.
14854 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14856 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
14857 of 01/12/00: Moved SetFocus back here where it belongs.
14859 2000-01-23 Andy Piper <andy@xemacs.org>
14861 * s/cygwin32.h: declare printer things.
14863 2000-01-26 Andy Piper <andy@xemacs.org>
14865 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
14868 2000-01-24 Andy Piper <andy@xemacs.org>
14870 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
14871 (mswindows_button_instantiate): Make sure glyph is a pixmap.
14873 * glyphs-widget.c (widget_instantiate): Avoid shadows.
14875 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
14877 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
14879 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
14880 (mswindows_output_display_block): Avoid local shadows.
14882 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
14883 (mswindows_enqueue_mouse_button_event): ditto.
14884 (mswindows_handle_gui_wm_command): remove declaration.
14886 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
14889 * console-msw.h: Avoid shadows.
14890 (mswindows_get_toolbar_button_text):
14891 (emacs_mswindows_create_stream_pair):
14892 (emacs_mswindows_delete_stream_pair):
14893 (mswindows_handle_toolbar_wm_command): declare.
14895 * device-msw.c (build_syscolor_string): Avoid shadows.
14897 2000-01-23 Andy Piper <andy@xemacs.org>
14899 * glyphs-widget.c (widget_instantiate): reverse the items for
14900 layouts so that children are in the expected order.
14902 2000-01-28 Martin Buchholz <martin@xemacs.org>
14904 * ralloc.c: safe_bcopy ==> memmove
14905 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
14906 * s/msdos.h: Remove BCOPY macros.
14907 * insdel.c (gap_right): Remove BCOPY conditional code.
14908 * insdel.c (gap_left): Remove BCOPY conditional code.
14909 XEmacs demands a working ANSI C compiler - hence memmove.
14911 * regex.c (regex_compile): Remove accidental use of trigraphs.
14913 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14915 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
14918 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14920 * event-msw.c (mswindows_drain_windows_queue): Added the
14922 (mswindows_need_event): Commented the call to
14923 mswindows_drain_windows_queue().
14924 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
14927 * console-msw.h: Moved a few function prototypes here from
14930 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
14931 parameter from unsigned short to unsigned long.
14932 (Fmswindows_shell_execute): Added return value.
14934 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
14936 * sysdep.c (init_system_name):
14937 process-unix.c (unix_canonicalized_host_name):
14938 Don't call freeaddrinfo() if getaddrinfo() fails.
14940 * process-unix.c (unix_open_unix_network_stream):
14941 Moved the code to get a port # into address loop.
14943 2000-01-27 Martin Buchholz <martin@xemacs.org>
14945 * buffer.c (reinit_vars_of_buffer):
14946 The right place to initialize conversion_in_dynarr and
14947 conversion_out_dynarr.
14949 * alloc.c (pdump): Use the real open() till sys_open() is functional.
14951 * process-unix.c (unix_canonicalize_host_name): Muleize.
14952 (unix_open_network_stream): Muleize.
14954 * buffer.h: Fix up prototypes for ralloc.c functions.
14956 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
14957 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
14958 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
14959 instead of gethostbyname()
14960 * process-unix.c: In unix_canonicalize_host_name() and
14961 unix_open_network_stream(), add code to use getaddrinfo()
14962 instead of gethostbyname().
14964 2000-01-27 Daniel Pittman <daniel@danann.net>
14966 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
14967 libs when built with flat Athena.
14969 2000-01-27 Martin Buchholz <martin@xemacs.org>
14971 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
14972 Use coding standards for function prototypes.
14974 2000-01-25 Martin Buchholz <martin@xemacs.org>
14976 * dialog-msw.c (push_lisp_string_as_unicode):
14977 * doc.c (unparesseuxify_doc_string):
14978 * dired.c (Fuser_name_completion_1):
14979 * dired.c (Fuser_name_all_completions):
14980 * dired.c (free_user_cache):
14981 * dired.c (user_name_completion):
14982 * console-x.c (get_display_arg_connection):
14983 * minibuf.c (clear_echo_area_internal):
14984 * minibuf.c (echo_area_append):
14985 * eldap.c (Fldap_open):
14986 * eldap.c (Fldap_search_internal):
14987 * frame-x.c (x_set_frame_text_value):
14988 * frame-x.c (x_set_frame_properties):
14989 * frame-x.c (x_create_widgets):
14990 * redisplay-tty.c (term_get_fkeys_1):
14991 * objects-x.c (x_parse_nearest_color):
14992 * objects-x.c (x_valid_color_name_p):
14993 * objects-x.c (x_initialize_font_instance):
14994 * objects-x.c (x_list_fonts):
14995 * objects-x.c (x_find_charset_font):
14996 * tooltalk.c (Fadd_tooltalk_message_arg):
14997 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
14998 * tooltalk.c (Fadd_tooltalk_pattern_arg):
14999 * process-unix.c (unix_create_process):
15000 * ntproc.c (sys_spawnve):
15001 * sound.c (Fplay_sound_file):
15002 * sound.c (Fplay_sound):
15003 * buffer.c (init_initial_directory):
15004 * buffer.c (init_buffer):
15005 * editfns.c (init_editfns):
15006 * editfns.c (Ftemp_directory):
15007 * editfns.c (Fuser_full_name):
15008 * editfns.c (uncache_home_directory):
15009 * editfns.c (get_home_directory):
15010 * editfns.c (Fuser_home_directory):
15011 * editfns.c (Fformat_time_string):
15012 * editfns.c (Fcurrent_time_string):
15013 * gui-x.c (button_item_to_widget_value):
15014 * database.c (Fopen_database):
15015 * event-Xt.c (x_to_emacs_keysym):
15016 * event-Xt.c (x_event_to_emacs_event):
15017 * event-Xt.c (describe_event_window):
15018 * event-msw.c (mswindows_wnd_proc):
15019 * glyphs-eimage.c (jpeg_instantiate):
15020 * glyphs-eimage.c (gif_instantiate):
15021 * glyphs-eimage.c (png_instantiate):
15022 * glyphs-eimage.c (tiff_instantiate):
15023 * glyphs-x.c (xbm_instantiate_1):
15024 * glyphs-x.c (x_xbm_instantiate):
15025 * glyphs-x.c (x_xface_instantiate):
15026 * glyphs-x.c (autodetect_instantiate):
15027 * glyphs-x.c (cursor_font_instantiate):
15028 * glyphs-x.c (x_widget_instantiate):
15029 * glyphs-x.c (x_widget_set_property):
15030 * glyphs-x.c (x_widget_property):
15031 * glyphs-x.c (BUILD_GLYPH_INST):
15032 * print.c (write_string_to_stdio_stream):
15033 * print.c (output_string):
15034 * print.c (Falternate_debugging_output):
15035 * print.c (Fexternal_debugging_output):
15036 * glyphs-msw.c (extract_xpm_color_names):
15037 * glyphs-msw.c (mswindows_xpm_instantiate):
15038 * glyphs-msw.c (bmp_instantiate):
15039 * glyphs-msw.c (resource_name_to_resource):
15040 * glyphs-msw.c (mswindows_resource_instantiate):
15041 * glyphs-msw.c (xbm_instantiate_1):
15042 * glyphs-msw.c (mswindows_xbm_instantiate):
15043 * glyphs-msw.c (mswindows_xface_instantiate):
15044 * glyphs-msw.c (mswindows_widget_instantiate):
15045 * glyphs-msw.c (add_tree_item):
15046 * glyphs-msw.c (add_tab_item):
15047 * glyphs-msw.c (mswindows_combo_box_instantiate):
15048 * glyphs-msw.c (mswindows_widget_property):
15049 * glyphs-msw.c (mswindows_combo_box_property):
15050 * glyphs-msw.c (mswindows_widget_set_property):
15051 * console.c (stuff_buffered_input):
15052 * objects-msw.c (mswindows_initialize_color_instance):
15053 * objects-msw.c (mswindows_valid_color_name_p):
15054 * objects-msw.c (mswindows_list_fonts):
15055 * objects-msw.c (mswindows_font_instance_truename):
15056 * bytecode.c (optimize_compiled_function):
15057 * select-x.c (symbol_to_x_atom):
15058 * select-x.c (x_atom_to_symbol):
15059 * select-x.c (hack_motif_clipboard_selection):
15060 * select-x.c (selection_data_to_lisp_data):
15061 * select-x.c (lisp_data_to_selection_data):
15062 * select-x.c (Fx_get_cutbuffer_internal):
15063 * select-x.c (Fx_store_cutbuffer_internal):
15064 * buffer.h (TO_EXTERNAL_FORMAT): New function.
15065 * buffer.h (TO_INTERNAL_FORMAT): New function.
15066 * emacs.c (make_arg_list_1):
15067 * emacs.c (make_argc_argv):
15068 * emacs.c (main_1):
15069 * emacs.c (Fdump_emacs):
15070 * emacs.c (split_string_by_emchar_1):
15075 * device-x.c (x_init_device):
15076 * device-x.c (Fx_valid_keysym_name_p):
15077 * device-x.c (Fx_get_font_path):
15078 * device-x.c (Fx_set_font_path):
15079 * glyphs.c (bitmap_to_lisp_data):
15080 * glyphs.c (pixmap_to_lisp_data):
15081 * alloc.c (make_ext_string): Use coding system arguments. Update
15083 * alloc.c (build_string):
15084 * callproc.c (child_setup):
15085 * callproc.c (init_callproc):
15086 * fileio.c (lisp_strerror):
15087 * fileio.c (directory_file_name):
15088 * fileio.c (Fexpand_file_name):
15089 * fileio.c (Ffile_truename):
15090 * fileio.c (Fsysnetunam):
15091 * fileio.c (Fdo_auto_save):
15092 * sysdep.c (sys_readdir):
15093 * tests.c: New file. Allow adding C tests.
15094 Replace GET_* macros with a more comprehensible and flexible
15095 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
15097 Any coding system can be used to do format conversion.
15098 Eliminate enum external_data_format.
15099 Eliminate convert_to_external_format.
15100 Eliminate convert_to_internal_format.
15101 Make sure file-name, keyboard, terminal, and ctext are always
15102 defined as coding systems or aliases. Make
15103 file-name-coding-system, terminal-coding-system, and
15104 keyboard-coding-system magical variables that are equivalent to
15105 defining the corresponding coding system aliases.
15107 * file-coding.c (Fcoding_system_canonical_name_p): New function.
15108 * file-coding.c (Fcoding_system_alias_p): New function.
15109 * file-coding.c (Fcoding_system_aliasee): New function.
15110 * file-coding.c (append_suffix_to_symbol): New function.
15111 * file-coding.c (dangling_coding_system_alias_p): New function.
15112 * file-coding.c (Ffind_coding_system):
15113 * file-coding.c (Fcopy_coding_system):
15114 * file-coding.c (encode_coding_no_conversion):
15115 * file-coding.c (syms_of_file_coding):
15116 * file-coding.c (vars_of_file_coding):
15117 Rewrite coding system alias code.
15118 Allow nested aliases, like symbolic links.
15119 Allow redefinition of coding system aliases.
15120 Prevent existence of dangling coding system aliases.
15122 * dired.c (Fuser_name_completion_1):
15123 * dired.c (Fuser_name_all_completions):
15124 A crash would happen if user did QUIT in the middle of building
15125 user_name_cache. Remove redundant code in mainline and unwind_protect.
15128 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
15130 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
15131 an unsigned char *. Update all callers.
15133 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15135 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
15137 2000-01-25 Martin Buchholz <martin@xemacs.org>
15139 * elhash.c (hentry_description): Use more portable definition.
15140 (resize_hash_table): Initialize new hentries using
15141 xnew_array_and_zero, thereby simplifying the code.
15143 * mule-charset.c (make_charset): Make sure entire object is
15144 initialized, to avoid Purify warnings.
15146 * alloc.c (resize_string): Fix unlikely crash with big strings.
15148 2000-01-24 Martin Buchholz <martin@xemacs.org>
15150 * realpath.c (xrealpath):
15151 Don't call getwd().
15153 2000-01-25 Martin Buchholz <martin@xemacs.org>
15155 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
15157 1999-12-28 Max Matveev <max@melbourne.sgi.com>
15159 * unexelfsgi.c (unexec): Change the way we decide which segment
15160 should be extended.
15162 Assumption that .bss section should be outside the PT_LOADable
15163 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
15164 it's present) is inside the 'data' segment. This would fail the
15165 test which was used to find a segment to grow and cover new
15166 heap. Instead of this assumption, I created another one - on IRIX
15167 the segment to grow should start below .bss and it's address
15168 should extent above the end of .bss. Once this segment is
15169 identified, it's grown to accommodate the new heap and new
15170 zero-length .bss section is added at the end of .data2.
15172 2000-01-25 Martin Buchholz <martin@xemacs.org>
15174 * eval.c (Feval): Wrong number of arguments should use original
15175 function, not the indirect_function version of it.
15177 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
15179 * glyphs-x.c (x_button_instantiate): Don't add image if
15180 it is not a pixmap.
15181 (x_locate_pixmap_file): Call Fexpand_file_name when file name
15184 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
15186 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
15188 (DEFVAR_INT_MAGIC): Ditto.
15189 (DEFVAR_BOOL_MAGIC): Ditto.
15190 * glyphs.h: Reindent backslash.
15192 2000-01-24 Martin Buchholz <martin@xemacs.org>
15194 * glyphs-widget.c (layout_query_geometry):
15195 (layout_layout): Use correct types for gheight, gwidth.
15197 2000-01-24 Martin Buchholz <martin@xemacs.org>
15199 * EmacsManager.c (QueryGeometry): Purified.
15201 2000-01-23 Martin Buchholz <martin@xemacs.org>
15203 * alloc.c (make_float): Make sure entire object is initialized, to
15204 avoid Purify warnings.
15205 (pdump_register_sub): Remove useless assignment.
15206 (pdump): Use xmalloc, not malloc.
15207 (pdump_load): Use xmalloc, not malloc.
15209 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15216 * sysdep.c: Removed redundant #include <windows.h>
15218 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15220 * frame.c (delete_frame_internal): Do not delete device when its
15221 implementation so declares.
15222 (delete_frame_internal): Set device selected frame to nil when
15223 last frame goes away.
15225 * device-msw.c (msprinter_device_system_metrics): Implemented.
15226 (mswindows_device_system_metrics): Added 'device-dpi property.
15228 * device.c: (Fdevice_printer_p): Added.
15229 Added 'offset-workspace device metric.
15231 * console.h (device_metrics): Declared DM_offset_workspace.
15233 2000-01-23 Martin Buchholz <martin@xemacs.org>
15235 * fileio.c (Ffile_truename): Remove pointless and confusing
15236 initialization of elen.
15238 * glyphs-widget.c: Compiler warning fixes.
15240 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
15242 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
15243 instead of a Lisp_Object as argument to make it consistent with
15244 the other LIVE_P macros.
15245 (CHECK_LIVE_PROCESS): New macro.
15247 * process.c: Declare Qprocess_live_p.
15248 (Fprocess_live_p): New function.
15249 (create_process): Use PROCESS_LIVE_P.
15250 (read_process_output): Ditto.
15251 (set_process_filter): Ditto.
15252 (Fdelete_process): Ditto.
15253 (kill_buffer_processes): Ditto
15254 (process_send_signal): Use CHECK_LIVE_PROCESS.
15255 (Fprocess_input_coding_system): Check whether process is still
15256 alive (fix PR#1061).
15257 (Fprocess_output_coding_system): Ditto.
15258 (Fprocess_coding_system): Ditto.
15259 (Fset_process_input_coding_system): Ditto.
15260 (Fset_process_output_coding_system): Ditto.
15262 2000-01-23 Andy Piper <andy@xemacs.org>
15264 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
15267 * glyphs.c (mark_image_instance): take into account changed
15268 image_instance format.
15269 (image_instance_equal): ditto.
15270 (image_instance_hash): ditto.
15272 * glyphs-widget.c (widget_instantiate): Incorporate layout
15273 instantiation here. Delay layout of the layout until later.
15274 (layout_instantiate): deleted.
15275 (layout_query_geometry): new function. get the geometry of a
15277 (layout_layout): layout a layout dynamically.
15278 (image_instantiator_widget): New function - splitting up
15279 image_instantiator_format_create_glyphs_widget for netwinder
15281 (image_instantiator_buttons):
15282 (image_instantiator_edit_fields):
15283 (image_instantiator_combo_box):
15284 (image_instantiator_scrollbar):
15285 (image_instantiator_progress_guage):
15286 (image_instantiator_tree_view):
15287 (image_instantiator_tab_control):
15288 (image_instantiator_labels):
15289 (image_instantiator_layout): ditto.
15290 (image_instantiator_format_create_glyphs_widget): Call preceding
15293 2000-01-22 Martin Buchholz <martin@xemacs.org>
15295 * process.c (Fset_process_coding_system):
15296 * device-x.c (Fx_keysym_hash_table):
15299 * lstream.c (Lstream_write): Return documented value, not 0.
15301 * fileio.c (directory_file_name):
15302 (Fsubstitute_in_file_name):
15303 (Fsubstitute_insert_file_contents_internal):
15304 (Fwrite_region_internal):
15309 Remove vestigial APOLLO-conditional code.
15311 2000-01-21 Martin Buchholz <martin@xemacs.org>
15313 * getpagesize.h: Add guard macros.
15314 * libsst.h: Add guard macros.
15315 * libst.h: Add guard macros.
15316 * line-number.h: Add guard macros.
15317 * ndir.h: Add guard macros.
15318 * sysfloat.h: Add guard macros.
15319 * sysfile.h: Add guard macros.
15320 * sysproc.h: Add guard macros.
15321 * syswait.h: Add guard macros.
15322 * xintrinsic.h: Add guard macros.
15323 * xintrinsicp.h: Add guard macros.
15324 * xmmanager.h: Add guard macros.
15325 * xmmanagerp.h: Add guard macros.
15326 * xmprimitive.h: Add guard macros.
15327 * xmu.h: Add guard macros.
15328 * gpmevent.h: Add copyright statement. Add guard macros.
15329 * miscplay.h: Add guard macros.
15330 * *.h: Use consistent C-standards-approved guard macro names.
15332 * opaque.c (make_opaque): Switch parameter order.
15333 * opaque.h (make_opaque): Switch parameter order.
15334 Update all callers.
15335 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
15337 * config.h.in (type_checking_assert): Added.
15338 (bufpos_checking_assert): Added.
15340 2000-01-21 Martin Buchholz <martin@xemacs.org>
15342 * alloc.c: Harmless pdump changes.
15344 - spell alignment correctly.
15345 * sysdep.c: Use countof()
15347 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15349 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
15350 initially_selected_for_input() console method, default to 0.
15351 (semi_canonicalize_console_connection): Try to delegate to
15352 canonicalize_console_connection if no such console method.
15353 (canonicalize_console_connection): Vice versa.
15354 (print_console): Do not print nil connection.
15356 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
15357 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
15358 (XDEVIMPF_FRAMELESS_OK): Added.
15359 (CONSOLE_INHERITS_METHOD): Added.
15361 * console-msw.c (mswindows_canonicalize_console_connection):
15363 (mswindows_canonicalize_device_connection): Added.
15365 * console-msw.h (struct msprinter_device): Added this struct and
15367 (mswindows_device): Made fontlist a lisp object.
15369 * device.c (semi_canonicalize_device_connection): Try to delegate
15370 to canonicalize_device_connection if no such console method.
15371 (canonicalize_device_connection): Vice versa.
15372 (print_device): Do not print nil connection.
15374 * device-msw.c (mswindows_init_device): Call InitCommonControls
15376 (mswindows_delete_device): Removed fontlist deallocation.
15377 (mswindows_mark_device): Added.
15379 * events.c (event_equal): Added abort() at unreached code.
15380 (event_hash): Ditto.
15382 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
15383 fallback tags of Windows devices.
15385 * general.c (syms_of_general): Initialized Qmsprinter.
15387 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
15388 of fallback tags of Windows devices.
15390 * lisp.h: Declared Qmsprinter.
15392 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
15394 (mswindows_list_fonts): Ditto.
15395 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
15396 that it can be used by both mswindows and msprinter devices.
15397 (initialize_font_instance): Added.
15398 (mswindows_initialize_font_instance): Use it.
15399 (msprinter_initialize_font_instance): Added.
15401 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
15402 and implementation flags check.
15403 (redisplay_without_hooks): Changed the call to the above.
15404 (Fredraw_device): Ditto.
15405 (Fredisplay_device): Ditto.
15407 * redisplay-msw.c (get_frame_dc): Implemented.
15408 (get_frame_compdc): Implemented.
15409 (many functions): Use the two functions above to get device
15410 contexts, ether for a window or a printer.
15412 2000-01-21 Olivier Galibert <galibert@pobox.com>
15414 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
15415 initialization here.
15416 (init_symbols_once_early): Call it.
15417 * emacs.c (main_1): Call it.
15418 * symsinit.h: Declare it.
15420 2000-01-19 Olivier Galibert <galibert@pobox.com>
15422 * alloc.c: Use a lrecord_header * in the backtrace instead of a
15424 (pdump_backtrace): Ditto.
15425 (pdump_register_object): Ditto. Cleanup use of the pointers.
15426 (pdump_get_entry): Abort if trying to register a null pointer.
15427 (pdump_dump_data): Cleanup types when relocating.
15428 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
15429 (pdump_dump_rtables): Remove bad casts.
15430 (pdump_load): Cleanup relocation w.r.t union type. Use a
15431 Lisp_Object instead of a EMACS_INT for the hashtable
15434 2000-01-20 Martin Buchholz <martin@xemacs.org>
15436 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
15438 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
15440 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
15442 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
15444 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15446 * faces.h (FACE_STRIKETHRU_P): Added.
15448 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
15451 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
15452 (mswindows_set_dc_font): New function, aware of font variants,
15453 separated from mswindows_update_dc.
15455 * objects-msw.h (struct mswindows_font_instance_data): Added
15458 * objects-msw.c (mswindows_finalize_font_instance): Delete all
15459 cached fonts and the data structure.
15460 (mswindows_initialize_font_instance): Added creation of font data
15462 (mswindows_print_font_instance): Print at least something.
15463 (mswindows_create_font_variant): Implemented.
15464 (mswindows_get_hfont): Implemented.
15466 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
15468 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
15469 prototyping problem with msvc.
15471 * emacs.c (main_1): added syms_of_gui_mswindows() call
15473 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
15474 syms_of_gui_mswindows() function
15476 * symsinit.h: added the prototype for syms_of_gui_mswindows()
15478 2000-01-18 Martin Buchholz <martin@xemacs.org>
15480 * XEmacs 21.2.27 is released.
15482 2000-01-18 Martin Buchholz <martin@xemacs.org>
15484 * glyphs-eimage.c (struct tiff_error_struct):
15486 (tiff_warning_func):
15487 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
15492 * unexec.c: Remove vestigial Lucid C code.
15496 * libsst.c: Ansify.
15497 Remove declarations of errno and strerror().
15499 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
15501 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
15503 2000-01-16 Martin Buchholz <martin@xemacs.org>
15505 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
15508 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15513 Change enum eol_type to eol_type_t.
15515 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15517 * gui.c (get_gui_callback): Check cons before accessing car.
15519 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15521 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
15522 (XSETSPECIFIER_TYPE): Ditto.
15524 2000-01-17 Didier Verna <didier@xemacs.org>
15526 * redisplay.c (generate_fstring_runes): compute string size in
15527 characters, not bytes.
15529 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15531 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
15533 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
15535 * print.c (print_error_message): Call print_prepare().
15537 2000-01-14 Martin Buchholz <martin@xemacs.org>
15539 * .dbxrc: Renamed from dbxrc.
15541 * events.c (event_to_character):
15542 Use `assert (foo)' instead of `if (!foo) abort()'
15544 * .gdbinit (xtype): Add documentation.
15545 * .gdbinit (check-temacs): New function.
15546 * .gdbinit (check-xemacs): New function.
15547 * dbxrc (check-xemacs): New function.
15548 * dbxrc (check-xemacs): New function.
15550 2000-01-14 Andy Piper <andy@xemacs.org>
15552 * glyphs-widget.c (widget_query_geometry): Make sure that we
15553 calculate default dimensions correctly.
15555 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15557 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
15559 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
15560 pdump_wire'd variable.
15562 * emacs.c: (main_1): Conditionalized calls to
15563 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
15565 2000-01-13 Martin Buchholz <martin@xemacs.org>
15567 * window.c (Fset_window_configuration):
15568 * sysdep.c (_start):
15569 * input-method-motif.c (res):
15570 * event-Xt.c (Xt_process_to_emacs_event):
15571 Simple compiler warning fixes.
15573 * bytecode.c (funcall_compiled_function): Use the original
15574 function symbol on the backtrace list in preference to the
15575 compiled_function object in error messages.
15577 2000-01-13 Andy Piper <andy@xemacs.org>
15579 * glyphs-x.c (update_widget_face): Make sure we update the widget
15580 background as well as foreground.
15582 2000-01-13 Andy Piper <andy@xemacs.org>
15584 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
15585 fields to subwindow.
15586 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
15587 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
15588 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15589 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15591 * glyphs-widget.c (check_valid_tab_orientation): new function.
15592 (initialize_widget_image_instance): zero orientation and
15594 (widget_instantiate): pick up orientation.
15595 (tab_control_query_geometry): return appropriate values for
15598 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
15599 appropriate creation flags for left, right and bottom tabs.
15601 * s/cygwin32.h: add tab definitions.
15603 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15605 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
15606 frame upon hiding a subwindow.
15607 (mswindows_button_instantiate): Changed the push button style to
15609 (mswindows_button_instantiate): Removed button BS_NOTIFY
15611 (mswindows_button_instantiate): Removed redundant check for
15612 a disabled gui item.
15613 (mswindows_button_instantiate): Made use of WS_TABSTOP
15614 consistent: "operable" controls (edit, button, tree, scroll) have
15615 this style, "display-only" ones (static, progress gauge) do
15616 not. This style is currently ignored by XEmacs though. Also,
15617 removed the WS_EX_CONTROLPARENT style - it is not for children,
15618 it is for their parents!
15619 (mswindows_edit_field_instantiate): Ditto.
15620 (mswindows_progress_gauge_instantiate): Ditto.
15621 (mswindows_tree_view_instantiate): Ditto.
15622 (mswindows_tab_control_instantiate): Ditto.
15623 (mswindows_scrollbar_instantiate): Ditto.
15624 (mswindows_combo_box_instantiate): Ditto.
15625 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
15626 style to the "clip" window.
15627 (mswindows_button_instantiate): Removed compilation warning by
15628 equally typing terms of the ?: operator.
15630 2000-01-12 Didier Verna <didier@xemacs.org>
15632 * redisplay.c (generate_fstring_runes): new parameter holding the
15633 last modeline-format extent.
15634 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
15635 extent, fill the glyph block with it.
15636 (generate_fstring_runes): handle these parameters.
15637 (generate_formatted_string_db): ditto.
15639 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
15640 glyphs'extents in the modeline.
15642 1999-01-11 Mike Woolley <mike@bulsara.com>
15644 * ntheap.c: Reduced the reserved heap space from 1Gb down to
15645 256Mb, as a workaround for the non-starting problem many people
15648 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15650 * console-tty.c (Fset_console_tty_output_coding_system):
15651 Force redrawing tty frame.
15653 2000-01-10 Didier Verna <didier@xemacs.org>
15655 * redisplay.c (generate_fstring_runes): fix size computation bug.
15657 2000-01-09 William M. Perry <wmperry@aventail.com>
15659 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
15661 2000-01-09 Andy Piper <andy@xemacs.org>
15663 * glyphs-msw.c: index -> i to avoid shadows.
15664 (xbm_create_bitmap_from_data): make static.
15665 (check_valid_string_or_int): deleted.
15666 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
15668 * glyphs-x.c (x_update_subwindow): remove unused args.
15670 * glyphs.c (glyph_image_instance): return the thing. Don't set the
15671 back pointer - this is done in allocate_image_instance.
15672 (query_string_font): return Qnil to make the compiler happy.
15673 (unmap_subwindow): set to ~0 to make the compiler happy.
15674 (glyph_query_geometry): comment out until used.
15675 (glyph_layout): ditto.
15677 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15679 * insdel.c (signal_after_change): Remove extraneous unbind_to().