1 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
4 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
6 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
9 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
11 * mule-charset.c (Qmap_jis_x0212): Renamed from
13 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
15 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
18 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
20 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
22 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
23 of `japanese-jisx0208'.
24 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
27 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
29 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
30 `Qjapanese_jisx0208_1978'.
31 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
32 of `japanese-jisx0208-1978'.
33 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
36 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
38 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
39 only for XEmacs CHISE.
41 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
43 * char-ucs.h: Compact non-ISO-IR charset-ids.
44 (LEADING_BYTE_UCS): Changed to -177.
45 (LEADING_BYTE_CONTROL_1): Changed to -77.
46 (LEADING_BYTE_UCS_BMP): Changed to -176.
47 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
49 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
51 * mule-charset.c (Qiso_ir): New variable.
52 (Fmake_charset): Recognise new property `iso-ir'.
53 (syms_of_mule_charset): Add new symbol `iso-ir'.
55 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
57 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
58 n to -n; charset-id of non ISO-IR sets are changed to positive
61 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
63 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
65 (Qmap_ucs): New variable.
66 (syms_of_mule_charset): Add new symbol `=ucs'.
67 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
69 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
71 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
73 * char-ucs.h (Qmap_ucs): New extern variable.
75 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
77 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
78 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
79 don't define it when UTF2000 is not defined.
80 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
81 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
82 when UTF2000 is not defined.
83 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
84 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
86 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
88 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
90 * mule-charset.c (Vcharset_ucs_gb): Deleted.
92 (syms_of_mule_charset): Delete `ucs-gb'.
93 (complex_vars_of_mule_charset): Likewise.
95 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
97 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
99 * mule-charset.c (Vcharset_ucs_cns): Deleted.
101 (syms_of_mule_charset): Delete `ucs-cns'.
102 (complex_vars_of_mule_charset): Likewise.
104 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
106 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
108 * mule-charset.c (Vcharset_ucs_jis): Deleted.
110 (syms_of_mule_charset): Delete `ucs-jis'.
111 (complex_vars_of_mule_charset): Likewise.
113 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
115 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
117 * mule-charset.c (Vcharset_ucs_ks): Deleted.
119 (syms_of_mule_charset): Delete `ucs-ks'.
120 (complex_vars_of_mule_charset): Likewise.
122 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
124 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
125 (Qideograph_daikanwa_2): Deleted.
126 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
127 (complex_vars_of_mule_charset): Likewise.
129 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
130 (LEADING_BYTE_DAIKANWA_1): Deleted.
131 (LEADING_BYTE_DAIKANWA_2): Deleted.
132 (MIN_CHAR_DAIKANWA): Deleted.
133 (MAX_CHAR_DAIKANWA): Deleted.
135 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
137 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
138 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
139 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
141 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
142 (Vcharset_ideograph_daikanwa): Deleted.
143 (Qideograph_hanziku_{1..12}): Deleted.
144 (Qideograph_daikanwa): Deleted.
145 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
146 Vcharset_ideograph_daikanwa.
147 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
148 `ideograph-hanziku-{1..12}'.
149 (complex_vars_of_mule_charset): Likewise.
151 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
153 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
155 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
156 (Qideograph_gt_pj_{1..11}): Deleted.
157 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
158 (complex_vars_of_mule_charset): Likewise.
160 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
162 * mule-charset.c (Vcharset_ucs_big5): Deleted.
163 (Vcharset_ideograph_gt): Deleted.
164 (Qucs_big5): Deleted.
165 (Qideograph_gt): Deleted.
166 (syms_of_mule_charset): Delete symbol `ucs-big5' and
168 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
171 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
172 (LEADING_BYTE_GT): Deleted.
173 (GC_CHARSETP): Deleted.
174 (MIN_CHAR_GT): Deleted.
175 (MAX_CHAR_GT): Deleted.
177 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
179 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
181 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
183 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
184 (Qideograph_cbeta): Deleted.
185 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
186 (complex_vars_of_mule_charset): Likewise.
188 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
189 (MIN_CHAR_CBETA): Comment out.
190 (MAX_CHAR_CBETA): Likewise.
192 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
194 * mule-charset.c (charset_lookup_description_1): Use
195 `NUM_LEADING_BYTES' in UTF-2000.
197 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
199 * mule-charset.c (Vcharset_china3_jef): Deleted.
200 (Qchina3_jef): Deleted.
201 (syms_of_mule_charset): Don't define `china3-jef'.
202 (complex_vars_of_mule_charset): Likewise.
204 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
205 (MIN_CHAR_CHINA3_JEF): Comment out.
206 (MAX_CHAR_CHINA3_JEF): Comment out.
208 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
210 * mule-charset.c (Vcharset_ucs_gb): New variable.
211 (Qucs_gb): New variable.
212 (syms_of_mule_charset): Add new symbol `ucs-gb'.
213 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
215 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
217 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
219 * mule-charset.c (charset_code_point): if a coded-charset has a
220 final-byte, don't inherit the builtin range of the mother CCS.
222 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
224 * mule-charset.c (charset_code_point): Fix problem about
227 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
229 * mule-charset.c (decode_builtin_char): Reorganized.
231 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
233 * text-coding.c (char_encode_shift_jis): Modify for
234 `charset_code_point'.
235 (char_encode_big5): Likewise.
236 (char_encode_utf8): Likewise.
237 (char_encode_iso2022): Likewise.
239 * mule-charset.c (charset_code_point): Add new argument
241 (Fencode_char): Add new optional argument `defined_only'.
243 * chartab.c (put_char_table): Modify for `charset_code_point'.
244 (map_char_table): Likewise.
246 * char-ucs.h (charset_code_point): Add new argument
248 (encode_char_1): Modify for `charset_code_point'.
250 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
252 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
253 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
255 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
257 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
258 (Qjis_x0208): Likewise.
259 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
260 XCHARSET_FINAL(charset).
261 (charset_code_point): Modify condition for final-byte based
263 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
264 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
265 in UTF-2000; specify `=jis-x0208' as the mother of
266 `japanese-jisx0208-1978', `japanese-jisx0208' and
267 `japanese-jisx0208-1990' in UTF-2000.
269 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
271 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
273 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
275 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
276 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
277 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
278 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
279 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
280 CONVERSION_96x96x96x96 are introduced.
281 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
282 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
283 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
285 * char-ucs.h (CONVERSION_94): New macro.
286 (CONVERSION_96): New macro.
287 (CONVERSION_94x94): New macro.
288 (CONVERSION_96x96): New macro.
289 (CONVERSION_94x94x94): New macro.
290 (CONVERSION_96x96x96): New macro.
291 (CONVERSION_94x94x94x60): New macro.
292 (CONVERSION_94x94x94x94): New macro.
293 (CONVERSION_96x96x96x96): New macro.
295 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
297 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
299 * fns.c (Qideographic_structure): New variable.
300 (Qkeyword_char): New variable.
301 (ids_format_unit): New function.
302 (Fideographic_structure_to_ids): New function.
303 (syms_of_fns): Add new symbols `ideographic-structure' and
304 `:char'; add new builtin function `ideographic-structure-to-ids'.
306 * data.c (Fchar_ref_p): New function.
307 (syms_of_data): Add new builtin function `char-ref-p'.
309 * chartab.h: Add an EXFUN for `Ffind_char'.
311 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
313 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
314 and `COMPOSE_ADD_CHAR'.
315 (decode_coding_iso2022): Use `decode_flush_er_chars'.
317 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
319 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
320 instead of `DECODE_ADD_UCS_CHAR'.
321 (COMPOSE_ADD_CHAR): Likewise.
323 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
325 * text-coding.c (decode_flush_er_chars): New inline function.
326 (decode_add_er_char): New function.
327 (decode_coding_utf8): Use `decode_flush_er_chars' and
328 `decode_add_er_char'.
330 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
332 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
333 done before `decode_output_utf8_partial_char'.
335 * mule-charset.c (complex_vars_of_mule_charset): Specify
336 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
337 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
339 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
341 * mule-charset.c (decode_defined_char): New function; search
343 (decode_builtin_char): Don't search mother if
344 XCHARSET_MAX_CODE(charset) == 0.
345 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
346 == 0 even if code >= XCHARSET_MAX_CODE(charset).
347 (Fdecode_char): Use `decode_defined_char' instead of
348 `DECODE_DEFINED_CHAR'.
349 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
350 mother of `Vcharset_ucs_jis'.
352 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
353 instead of `DECODE_DEFINED_CHAR'.
355 * char-ucs.h (decode_defined_char): Renamed from
356 `DECODE_DEFINED_CHAR'; changed to normal function.
357 (DECODE_CHAR): Use `decode_defined_char' instead of
358 `DECODE_DEFINED_CHAR'.
360 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
362 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
364 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
366 * text-coding.c (Vcoded_charset_entity_reference_alist): New
368 (Quse_entity_reference): New variable.
372 (coding_system_description): Add description for
374 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
375 (allocate_coding_system): Initialize `ccs_priority_list' in
377 (Fmake_coding_system): Add description about
378 'use-entity-reference; setup
379 CODING_SYSTEM_USE_ENTITY_REFERENCE(codesys).
380 (Fcoding_system_property): Accept `disable-composition' and
381 `use-entity-reference' in UTF-2000.
382 (struct decoding_stream): Add new member `er_counter' and `er_buf'
384 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
385 (decode_coding_utf8): Decode entity-reference if
386 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
387 (char_encode_utf8): Encode non-Unicode characters as
388 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
390 (syms_of_file_coding): Add new symbols `use-entity-reference',
392 (vars_of_file_coding): Add new variable
393 `coded-charset-entity-reference-alist'.
394 (complex_vars_of_file_coding): Declare `disable-composition' and
395 `use-entity-reference' to be coding-system-properties in UTF-2000.
397 * file-coding.h (struct Lisp_Coding_System): Add new member
398 `use_entity_reference' and `ccs_priority_list'.
399 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
400 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
401 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
403 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
405 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
407 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
409 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
410 `XCHARSET_GRAPHIC(ccs)'.
412 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
414 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
417 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
419 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
420 instead of `XCHARSET_CHARS'.
422 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
424 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
425 (XCHARSET_BYTE_SIZE): Likewise.
427 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
429 (XCHARSET_BYTE_SIZE): Likewise.
431 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
433 * char-ucs.h (decoding_table_check_elements): Delete prototype.
434 (get_ccs_octet_table): New inline function.
435 (put_ccs_octet_table): Likewise.
436 (decoding_table_put_char): Use `get_ccs_octet_table' and
437 `put_ccs_octet_table'.
438 (decoding_table_remove_char): Use `decoding_table_put_char'.
439 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
441 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
443 (make_charset): Use Qunbound instead Qnil as initial value of
446 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
448 * mule-charset.c (put_char_ccs_code_point): Modify for
449 `decoding_table_remove_char' and `decoding_table_put_char'.
450 (remove_char_ccs): Modify for `decoding_table_remove_char'.
452 * char-ucs.h (decoding_table_remove_char): Change arguments to
453 hide decoding_table vector.
454 (decoding_table_put_char): Likewise.
456 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
458 * mule-charset.c (decoding_table_remove_char): Moved to
460 (decoding_table_put_char): Likewise.
462 * char-ucs.h (decoding_table_check_elements): New prototype [moved
463 from mule-charset.c].
464 (decoding_table_remove_char): New inline function [moved from
466 (decoding_table_put_char): Likewise.
468 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
470 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
471 instead of `DECODE_CHAR' for mother; don't use special code for
472 chinese-big5 to use code space of chinese-big5-1 and
474 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
475 `MAX_CHAR_BIG5_CDP' for chinese-big5.
477 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
478 (MAX_CHAR_BIG5_CDP): Revival.
480 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
482 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
483 the XLFD registry-encoding name of `chinese-big5'.
485 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
487 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
488 (Qchinese_big5_cdp): Deleted.
489 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
490 (complex_vars_of_mule_charset): Delete coded-charset
493 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
494 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
495 `CHARSET_ID_OFFSET - n' for private CCS.
496 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
497 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
498 of `MIN_LEADING_BYTE'.
499 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
500 `(CHARSET_ID_OFFSET - 97)'.
501 (MIN_CHAR_BIG5_CDP): Deleted.
502 (MAX_CHAR_BIG5_CDP): Deleted.
504 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
506 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
509 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
511 * mule-charset.c (decode_builtin_char): Support mother charsets.
513 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
515 * mule-charset.c (Q94x94x60): New variable.
516 (charset_code_point): Support conversion `94x94x60'.
517 (Fmake_charset): Likewise.
518 (syms_of_mule_charset): Add new symbol `94x94x60'.
520 * char-ucs.h (CONVERSION_94x94x60): New macro.
522 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
524 * mule-charset.c (charset_code_point): Unify code about
527 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
529 * mule-charset.c (charset_code_point): Merge code about builtin
530 characters into code about mother charsets; don't use
531 `range_charset_code_point'.
532 (range_charset_code_point): Deleted.
534 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
536 * mule-charset.c (Qcode_offset): New variable.
537 (Fmake_charset): Use `XUINT' to get value of `min-code' and
538 `max-code'; accept new property `code-offset'.
539 (syms_of_mule_charset): Add new symbol `code-offset'.
541 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
543 * mule-charset.c (range_charset_code_point): Fixed.
545 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
547 * mule-charset.c (decode_builtin_char): Change semantics of
548 code-offset of coded-charset.
549 (charset_code_point): Likewise.
550 (range_charset_code_point): Likewise.
551 (complex_vars_of_mule_charset): Modify for the change.
553 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
555 * mule-charset.c (Fencode_char): Reverse arguments.
557 * mule-charset.c (charset_code_point): Fixed.
559 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
561 * mule-charset.c (Vcharset_mojikyo): Deleted.
562 (Vcharset_mojikyo_2022_1): Deleted.
563 (Vcharset_mojikyo_pj_{1..21}): Deleted.
564 (Qmin_code): New variable in UTF-2000.
565 (Qmax_code): Likewise.
567 (Qconversion): Likewise.
570 (Qmojikyo_2022_1): Deleted.
571 (Qmojikyo_pj_{1..22}): Deleted.
572 (mark_charset): Mark `cs->mother'.
573 (charset_description): Add description for `mother'.
574 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
575 new arguments `mother' and `conversion'; use
576 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
577 (charset_code_point): Moved from char-ucs.h; support `mother'
579 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
580 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
581 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
582 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
583 allow 2 as the value of `graphic' in UTF-2000; add new properties
584 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
585 require `final' in UTF-2000; modify for `make_charset'.
586 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
587 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
588 (Fcharset_property): Support `mother', `min-code' and `max-code'.
589 (Fencode_char): New function.
590 (syms_of_mule_charset): Add new builtin function `encode-char' in
591 UTF-2000; add new symbols `min-code', `max-code', `mother',
592 `conversion' and `94x60'; delete symbols `mojikyo',
593 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
594 (complex_vars_of_mule_charset): Modify for `make_charset' change;
595 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
596 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
598 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
599 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
601 * char-ucs.h (Vcharset_mojikyo): Deleted.
602 (Vcharset_mojikyo_2022_1): Deleted.
603 (LEADING_BYTE_MOJIKYO): Deleted.
604 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
605 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
606 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
607 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
608 add new member `mother'; add new member `conversion'.
609 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
610 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
611 (CHARSET_MOTHER): New macro.
612 (CHARSET_CONVERSION): New macro.
613 (CONVERSION_IDENTICAL): New macro.
614 (CONVERSION_94x60): New macro.
615 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
616 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
617 (XCHARSET_MOTHER): New macro.
618 (XCHARSET_CONVERSION): New macro.
619 (MIN_CHAR_MOJIKYO): Deleted.
620 (MAX_CHAR_MOJIKYO): Deleted.
621 (DECODE_MOJIKYO_2022): Deleted.
622 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
623 (charset_code_point): Changed to non-inline function.
624 (encode_char_1): Use `charset_code_point'.
625 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
627 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
629 * lread.c (read_compiled_function): Fix prototype.
630 (read_vector): Likewise.
632 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
634 * lrecord.h (struct lrecord_header): Delete `older'.
635 (set_lheader_implementation): Delete code for `older'.
636 (set_lheader_older_implementation): Deleted.
637 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
638 (OLDER_RECORD_P): Deleted.
639 (OLDER_RECORD_HEADER_P): Deleted.
640 (alloc_older_lcrecord): Deleted.
641 (alloc_older_lcrecord_type): Deleted.
643 * alloc.c (all_older_lcrecords): Deleted.
644 (alloc_older_lcrecord): Deleted.
645 (disksave_object_finalization_1): Delete code for older objects.
646 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
647 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
649 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
651 * mule-charset.c (decoding_table_put_char): Use `make_vector'
652 instead of `make_older_vector'.
653 (put_char_ccs_code_point): Likewise.
654 (mark_charset): Mark `cs->decoding_table'.
655 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
657 * lisp.h (make_older_vector): Deleted.
658 (make_vector_newer): Deleted.
660 * config.h.in (HAVE_GGC): Deleted.
662 * alloc.c (make_older_vector): Deleted.
663 (make_vector_newer_1): Deleted.
664 (make_vector_newer): Deleted.
666 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
668 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
669 (Qideograph_daikanwa_2): New variable.
670 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
671 (complex_vars_of_mule_charset): Add new coded-charset
672 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
673 `LEADING_BYTE_DAIKANWA'.
675 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
676 (LEADING_BYTE_DAIKANWA_1): New macro.
677 (LEADING_BYTE_DAIKANWA_2): New macro.
678 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
680 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
682 * mule-charset.c (complex_vars_of_mule_charset): Change
683 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
684 the second revised version.
686 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
688 * mule-charset.c (Vcharset_ucs_smp): New variable.
689 (Vcharset_ucs_sip): New variable.
690 (Qucs_smp): New variable.
691 (Qucs_sip): New variable.
692 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
693 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
694 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
695 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
696 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
697 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
699 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
700 (LEADING_BYTE_UCS_SIP): New macro.
701 (MIN_CHAR_SMP): New macro.
702 (MAX_CHAR_SMP): New macro.
703 (MIN_CHAR_SIP): New macro.
704 (MAX_CHAR_SIP): New macro.
706 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
708 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
711 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
713 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
714 value; don't store value into `encoding_table' of `Lisp_Charset'.
715 (mark_charset): `encoding_table' was deleted.
716 (charset_description): Likewise.
717 (make_charset): Likewise.
718 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
719 `put_char_ccs_code_point'.
721 * chartab.h (Fput_char_attribute): New EXFUN.
723 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
724 is unified with normal symbol space.
725 (Fget_char_attribute): Likewise.
726 (Fput_char_attribute): Likewise; behavior of
727 `put_char_ccs_code_point' is changed.
729 * char-ucs.h: Include "elhash.h".
730 (Vchar_attribute_hash_table): New external variable.
731 (struct Lisp_Charset): Delete `encoding_table'.
732 (CHARSET_ENCODING_TABLE): New implementation; refer
733 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
736 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
738 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
741 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
743 * text-coding.c (char_encode_big5): Prefer charset-g1 than
746 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
748 * chartab.c (uint8_byte_table_description): New constant.
749 (uint8-byte-table): Use `uint8_byte_table_description'.
750 (uint16_byte_table_description): New constant.
751 (uint16-byte-table): Use `uint16_byte_table_description'.
753 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
755 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
756 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
758 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
760 * mule-charset.c (Vcharset_ucs_ks): New variable.
761 (Qucs_ks): New variable.
762 (syms_of_mule_charset): Add new symbol `ucs-ks'.
763 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
765 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
767 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
769 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
770 (Fdecode_char): Likewise.
772 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
774 (Fdefine_char): Modify for Fdecode_char.
775 (Ffind_char): Likewise.
777 * mule-charset.c (Fdecode_char): Add new optional argument
779 (Fdecode_builtin_char): Modify for `Fdecode_char'.
781 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
783 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
784 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
785 (allocate_coding_system): Initialize initial-charsets of
786 CODESYS_BIG5 in XEmacs UTF-2000.
787 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
788 CODESYS_BIG5 in XEmacs UTF-2000.
789 (decode_coding_big5): Use initial-charset-g0 and -g1 of
790 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
792 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
794 (Qideograph_hanziku_{1 .. 12}): Likewise.
795 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
797 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
798 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
799 `ideograph-hanziku-{1 .. 12}'.
801 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
802 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
803 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
804 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
805 (DECODE_DEFINED_CHAR): New inline function.
806 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
808 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
810 * mule-charset.c (Vcharset_china3_jef): Renamed from
811 `Vcharset_japanese_jef_china3'.
812 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
813 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
814 `{MIN|MAX}_CHAR_JEF_CHINA3'..
815 (syms_of_mule_charset): Rename `china3-jef' from
816 `japanese-jef-china3'.
817 (complex_vars_of_mule_charset): Likewise; rename
818 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
820 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
821 `LEADING_BYTE_JEF_CHINA3'.
822 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
823 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
825 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
827 * mule-charset.c (encode_builtin_char_1): Comment out special code
828 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
830 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
831 (MAX_CHAR_MOJIKYO_0): Comment out.
832 (MIN_CHAR_CBETA): Changed to 0x00E20000.
833 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
834 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
835 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
837 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
839 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
840 (Qideograph_cbeta): New variable.
841 (encode_builtin_char_1): Comment out special code for
842 coded-charset `mojikyo' and `japanese-jef-china3'.
843 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
844 (complex_vars_of_mule_charset): Add new coded-charset
847 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
848 (MIN_CHAR_CBETA): New macro.
849 (MAX_CHAR_CBETA): New macro.
851 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
853 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
854 (LEADING_BYTE_JEF_CHINA3): New macro.
855 (MIN_CHAR_JEF_CHINA3): New macro.
856 (MAX_CHAR_JEF_CHINA3): Likewise.
857 (DECODE_CHAR): Fixed.
859 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
861 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
862 (Qjapanese_jef_china3): New variable.
863 (encode_builtin_char_1): Support `japanese-jef-china3'.
864 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
865 (complex_vars_of_mule_charset): Add new coded-charset
866 `japanese-jef-china3'.
868 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
870 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
871 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
872 94^4, 96^3, 96^4, 128^n and 256^n set.
873 (put_char_table): Use `XCHARSET_CELL_RANGE'.
874 (map_char_table): Likewise.
876 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
878 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
881 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
883 * chartab.h (get_char_id_table): New inline function.
885 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
888 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
890 * chartab.h (decode_char_table_range): New prototype in XEmacs
892 (put_char_id_table): New inline function in XEmacs UTF-2000.
894 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
896 (decode_char_table_range): Delete static declaration in XEmacs
899 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
901 * chartab.c (put_char_id_table): Use `put_char_table'.
903 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
905 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
906 (map_over_uint16_byte_table): Likewise.
907 (map_over_byte_table): Likewise.
908 (map_char_table): Modify for `map_over_uint8_byte_table',
909 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
912 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
914 * chartab.c (struct map_char_table_for_charset_arg): New
916 (map_char_table_for_charset_fun): New function.
917 (map_char_table): Use `map_char_table' for encoding_table of
920 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
922 * chartab.c (map_char_table): Check a character is found in
923 range->charset instead of non default value is defined in
924 char-table when range is CHARTAB_RANGE_ROW.
926 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
928 * chartab.c (map_char_id_table): Deleted.
929 (Fmap_char_attribute): Use `map_char_table' instead of
932 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
934 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
936 (update_syntax_table): Deleted in XEmacs UTF-2000.
938 * syntax.c (find_defun_start): Use `syntax_table' instead of
939 `mirror_syntax_table' in XEmacs UTF-2000.
940 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
942 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
944 (Fmatching_paren): Likewise.
945 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
947 (find_start_of_comment): Likewise.
948 (find_end_of_comment): Likewise.
949 (Fforward_comment): Likewise.
950 (scan_lists): Likewise.
951 (char_quoted): Likewise.
952 (Fbackward_prefix_chars): Likewise.
953 (scan_sexps_forward): Likewise.
954 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
955 (update_syntax_table): Likewise.
957 * search.c (skip_chars): Use `syntax_table' instead of
958 `mirror_syntax_table' in XEmacs UTF-2000.
960 (Freplace_match): Likewise.
962 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
963 `mirror_syntax_table' in XEmacs UTF-2000.
964 (WORDCHAR_P_UNSAFE): Likewise.
965 (re_match_2_internal): Likewise.
967 * font-lock.c (find_context): Use `buf->syntax_table' instead of
968 `buf->mirror_syntax_table' in XEmacs UTF-2000.
970 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
971 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
973 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
976 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
978 (print_char_table): Print `default_value' in XEmacs UTF-2000.
979 (char_table_description): Delete `mirror_table' in XEmacs
981 (fill_char_table): Don't call `update_syntax_table' in XEmacs
983 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
984 (Fcopy_char_table): Likewise.
985 (put_char_table): Don't call `update_syntax_table' in XEmacs
988 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
989 `buf->mirror_syntax_table' in XEmacs UTF-2000.
990 (casify_region_internal): Likewise.
992 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
994 * buffer.c (common_init_complex_vars_of_buffer): Don't use
995 `mirror_syntax_table' in XEmacs UTF-2000.
997 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
998 `buf->mirror_syntax_table' in XEmacs UTF-2000.
999 (Fexpand_abbrev): Likewise.
1001 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1003 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
1005 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1007 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
1008 (map_over_uint16_byte_table): Likewise.
1009 (map_over_byte_table): Likewise.
1010 (get_char_id_table): Refer `cit->default_value'.
1011 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1012 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
1013 of character-id ranges.
1014 (mark_char_table): Mark `ct->default_value'.
1015 (char_table_description): Add `default_value'.
1016 (fill_char_table): Use `default_value'.
1017 (decode_char_table_range): Decode `nil' as
1018 `CHARTAB_RANGE_DEFAULT'.
1019 (get_char_id_table): Refer `cit->default_value'.
1020 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1021 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
1022 temporary hack; check value of char-table is bound or not.
1023 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
1025 * chartab.h (struct Lisp_Char_Table): Add new member
1026 `default_value' in XEmacs UTF-2000.
1027 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
1028 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
1031 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1033 * chartab.h (Lisp_Char_ID_Table): Deleted.
1035 * chartab.c (char_table_description): Fix typo.
1036 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
1037 `Lisp_Char_ID_Table'.
1039 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1041 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
1044 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
1047 * chartab.h (XCHAR_ID_TABLE): Deleted.
1048 (XSETCHAR_ID_TABLE): Deleted.
1049 (CHAR_ID_TABLE_P): Deleted.
1051 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
1053 (Fget_composite_char): Likewise.
1054 (put_char_table): Likewise.
1055 (add_char_attribute_alist_mapper): Fixed.
1056 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
1058 (Fget_char_attribute): Likewise.
1059 (Fget_char_attribute): Likewise.
1060 (Fmap_char_attribute): Likewise.
1062 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
1064 (encode_char_1): Likewise.
1066 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1068 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
1071 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
1072 instead of `XCHAR_ID_TABLE'.
1073 (remove_char_ccs): Likewise.
1075 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
1077 (Fget_composite_char): Likewise.
1078 (Fchar_variants): Likewise.
1079 (put_char_table): Likewise.
1080 (add_char_attribute_alist_mapper): Likewise.
1081 (Fchar_attribute_alist): Likewise.
1082 (Fget_char_attribute): Likewise.
1083 (Fput_char_attribute): Likewise.
1084 (Fmap_char_attribute): Likewise.
1085 (Fmap_char_attribute): Likewise.
1087 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
1089 (encode_char_1): Likewise.
1091 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1093 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
1094 `Lisp_Char_ID_Table'.
1095 (mark_char_id_table): Deleted.
1096 (print_char_id_table): Likewise.
1097 (char_id_table_equal): Likewise.
1098 (char_id_table_hash): Likewise.
1099 (char_id_table_description): Likewise.
1100 (char_id_table): Likewise.
1101 (make_char_id_table): Use `Fmake_char_table' and
1103 (get_char_id_table): Use `Lisp_Char_Table' instead of
1104 `Lisp_Char_ID_Table'.
1105 (put_char_id_table): Likewise.
1106 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
1108 (Fremove_char_attribute): Likewise.
1109 (syms_of_chartab): Don't define type `char-id-table'.
1111 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
1112 (char_id_table): Likewise.
1113 (GC_CHAR_ID_TABLE_P): Likewise.
1114 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
1115 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
1116 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
1117 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
1118 (get_char_id_table): Use `Lisp_Char_Table' instead of
1119 `Lisp_Char_ID_Table'.
1120 (put_char_id_table_0): Likewise.
1121 (put_char_id_table): Likewise.
1123 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1125 * chartab.h: Lisp_Byte_Table related codes are moved from
1128 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
1130 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1132 * chartab.h: Don't include "chartab.h".
1133 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
1134 (Lisp_Char_ID_Table): Likewise.
1135 (char_id_table): Likewise.
1136 (XCHAR_ID_TABLE): Likewise.
1137 (XSETCHAR_ID_TABLE): Likewise.
1138 (CHAR_ID_TABLE_P): Likewise.
1139 (GC_CHAR_ID_TABLE_P): Likewise.
1140 (get_char_id_table): Likewise.
1142 * char-ucs.h: Include "chartab.h".
1143 (struct Lisp_Char_ID_Table): Moved to chartab.h.
1144 (Lisp_Char_ID_Table): Likewise.
1145 (char_id_table): Likewise.
1146 (XCHAR_ID_TABLE): Likewise.
1147 (XSETCHAR_ID_TABLE): Likewise.
1148 (CHAR_ID_TABLE_P): Likewise.
1149 (GC_CHAR_ID_TABLE_P): Likewise.
1150 (get_char_id_table): Likewise.
1152 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1154 * chartab.c (copy_uint8_byte_table): New function.
1155 (copy_uint16_byte_table): New function.
1156 (copy_byte_table): New function.
1157 (map_over_uint8_byte_table): Modify to avoid huge numbers of
1159 (map_over_uint16_byte_table): Likewise.
1160 (map_over_byte_table): Likewise.
1161 (get_byte_table): Move prototype to chartab.h.
1162 (put_byte_table): Likewise.
1163 (put_char_id_table_0): Moved to chartab.h.
1164 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
1165 (char_table_entry_equal): Likewise.
1166 (char_table_entry_hash): Likewise.
1167 (char_table_entry_description): Likewise.
1168 (char_table_entry): Likewise.
1169 (make_char_table_entry): Likewise.
1170 (copy_char_table_entry): Likewise.
1171 (get_non_ascii_char_table_value): Likewise.
1172 (map_over_charset_ascii): Likewise.
1173 (map_over_charset_control_1): Likewise.
1174 (map_over_charset_row): Likewise.
1175 (map_over_other_charset): Likewise.
1176 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
1177 (print_char_table): Likewise.
1178 (char_table_equal): Likewise.
1179 (char_table_hash): Likewise.
1180 (char_table_description): Likewise.
1181 (fill_char_table): Likewise.
1182 (Fcopy_char_table): Likewise.
1183 (get_char_table): Likewise.
1184 (Fget_range_char_table): Likewise.
1185 (put_char_table): Likewise.
1186 (map_char_table): Likewise.
1187 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
1190 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1192 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
1193 `Vauto_fill_chars' in XEmacs UTF-2000.
1195 * chartab.h (get_byte_table): New prototype [moved from
1197 (put_byte_table): Likewise [moved from chartab.c].
1198 (put_char_id_table_0): New inline function [moved from chartab.c].
1199 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
1200 (Lisp_Char_Table_Entry): Likewise.
1201 (char_table_entry): Likewise.
1202 (XCHAR_TABLE_ENTRY): Likewise.
1203 (XSETCHAR_TABLE_ENTRY): Likewise.
1204 (CHAR_TABLE_ENTRYP): Likewise.
1205 (CHECK_CHAR_TABLE_ENTRY): Likewise.
1206 (NUM_ASCII_CHARS): Likewise.
1207 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
1208 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
1210 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1212 * chartab.c (get_char_id_table): Change interface.
1213 (put_char_id_table_0): New function.
1214 (put_char_id_table): Change interface; new implementation.
1215 (Fget_composite_char): Modify for interface change of
1216 `get_char_id_table'.
1217 (Fchar_variants): Likewise.
1218 (add_char_attribute_alist_mapper): Likewise.
1219 (Fchar_attribute_alist): Likewise.
1220 (Fget_char_attribute): Likewise.
1221 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
1222 as same as character as the first argument like `put-char-table';
1223 modify for interface change of `put_char_id_table'.
1224 (Fremove_char_attribute): Modify for interface change of
1225 `put_char_id_table'.
1227 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1229 * text-coding.c: Sync up with XEmacs 21.2.41.
1230 (COMPOSE_ADD_CHAR): Modify for interface change of
1231 `get_char_id_table'.
1233 * mule-charset.c (put_char_ccs_code_point): Modify for interface
1234 change of `put_char_id_table'.
1235 (remove_char_ccs): Likewise.
1237 * chartab.h (put_char_id_table): Change interface.
1239 * char-ucs.h (get_char_id_table): Change interface.
1240 (charset_code_point): Modify for interface change of
1241 `get_char_id_table'.
1242 (encode_char_1): Likewise.
1244 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1246 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
1248 (map_over_uint16_byte_table): Likewise.
1249 (map_over_byte_table): Likewise.
1250 (map_char_id_table): Add new argument `range' like
1252 (Fmap_char_attribute): Add new argument `range' like
1255 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1257 * chartab.c (map_over_uint8_byte_table): Change interface of
1258 mapping function to use struct chartab_range instead of Emchar.
1259 (map_over_uint16_byte_table): Likewise.
1260 (map_over_byte_table): Likewise.
1261 (map_char_id_table): Likewise.
1262 (struct slow_map_char_id_table_arg): Deleted.
1263 (slow_map_char_id_table_fun): Deleted.
1264 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1265 function `slow_map_char_table_fun' instead of struct
1266 `slow_map_char_id_table_arg' and function
1267 `slow_map_char_id_table_fun'.
1269 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1271 * mule-charset.c: Move char-it-table related codes to chartab.c.
1272 (Vutf_2000_version): Moved to chartab.c.
1273 (Fdefine_char): Likewise.
1274 (Ffind_char): Likewise.
1275 (syms_of_mule_charset): Move types `uint8-byte-table',
1276 `uint16-byte-table', `byte-table' and `char-id-table' to
1277 chartab.c; move functions `char_attribute_list,
1278 `find_char_attribute_table, `char_attribute_alist,
1279 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1280 `map_char_attribute, `define_char, `find_char, `char_variants and
1281 `get_composite_char to chartab.c; move symbols `=>ucs',
1282 `->decomposition', `compat', `isolated', `initial', `medial',
1283 `final', `vertical', `noBreak', `fraction', `super', `sub',
1284 `circle', `square', `wide', `narrow', `small' and `font' to
1286 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1287 setting codes for `Vcharacter_composition_table' and
1288 `Vcharacter_variant_table' to chartab.c.
1289 (complex_vars_of_mule_charset): Move setting code for
1290 `Vchar_attribute_hash_table' to chartab.c.
1292 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1293 (make_char_id_table): New prototype.
1294 (put_char_id_table): Likewise.
1295 (Fget_char_attribute): Likewise.
1297 * chartab.c: Move char-id-table related code from mule-charset.c.
1298 (Vutf_2000_version): Moved from mule-charset.c.
1300 * char-ucs.h (Qucs): New external variable.
1301 (put_char_ccs_code_point): New prototype.
1302 (remove_char_ccs): Likewise.
1304 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1306 * mule-charset.c (Vcharset_ucs_jis): New variable.
1307 (Qucs_jis): Likewise.
1308 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1309 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1311 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1313 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1315 * mule-charset.c (map_over_uint8_byte_table): New function.
1316 (map_over_uint16_byte_table): Likewise.
1317 (map_over_byte_table): Likewise.
1318 (map_char_id_table): Likewise.
1319 (slow_map_char_id_table_fun): Likewise.
1320 (Fmap_char_attribute): Likewise.
1321 (syms_of_mule_charset): Add new function `map-char-attribute'.
1323 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1325 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1326 (syms_of_mule_charset): Add new function `find-char'.
1328 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1330 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1332 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1333 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1335 (complex_vars_of_mule_charset): Add new coded-charset
1336 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1337 `ideograph-gt-pj-*'.
1339 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1341 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1343 * mule-charset.c (encode_builtin_char_1): Purge codes about
1344 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1345 {MIN|MAX}_CHAR_HEBREW.
1346 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1347 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1349 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1350 (MAX_CHAR_GREEK): Purged.
1351 (MIN_CHAR_CYRILLIC): Purged.
1352 (MAX_CHAR_CYRILLIC): Purged.
1353 (MIN_CHAR_HEBREW): Commented out.
1354 (MAX_CHAR_HEBREW): Likewise.
1356 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1358 * mule-charset.c (Qto_ucs): New variable.
1359 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1360 (Fdefine_char): Likewise.
1361 (syms_of_mule_charset): Add new symbol `=>ucs'.
1363 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1365 * mule-charset.c (Fdecode_char): Fixed.
1367 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1369 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1370 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1373 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1375 * mule-charset.c (Vcharset_ucs_big5): New variable.
1376 (Qucs_big5): Likewise.
1377 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1378 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1380 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1382 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1384 * mule-charset.c (decode_builtin_char): Check Big5 code range
1385 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1387 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1389 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1390 (Qchinese_gb12345): Likewise.
1391 (Fdecode_builtin_char): Fixed.
1392 (syms_of_mule_charset): Add `chinese-gb12345'.
1393 (complex_vars_of_mule_charset): Add coded-charset
1396 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1397 (LEADING_BYTE_CHINESE_GB12345): New macro.
1399 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1401 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
1402 and `latin-viscii-upper' for `latin-viscii'.
1404 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1406 * mule-charset.c (Fdecode_builtin_char): Comment out
1407 regularization code for ISO-IR GR representation.
1409 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1411 * mule-charset.c (decode_builtin_char): New function; renamed from
1412 `make_builtin_char'; return -1 instead of signal.
1413 (Fdecode_builtin_char): Use `decode_builtin_char'.
1415 * char-ucs.h (decode_builtin_char): New prototype; renamed from
1416 `make_builtin_char'.
1417 (DECODE_CHAR): Use `decode_builtin_char' instead of
1418 `make_builtin_char'; use mapping table of `chinese-big5' for
1419 `chinese-big5-{1,2}'.
1421 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1423 * text-coding.c (char_encode_big5): New function.
1424 (char_finish_big5): Likewise.
1425 (reset_encoding_stream): Use `char_encode_big5' and
1426 `char_finish_big5' for CODESYS_BIG5.
1427 (mule_encode): Don't use `encode_coding_big5'.
1428 (encode_coding_big5): Deleted.
1430 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1432 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
1433 0x81- in XEmacs UTF-2000.
1434 (detect_coding_big5): Likewise.
1436 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1438 * mule-charset.c (Fdefine_char): Don't use a CCS property to
1439 generate character-id if the CCS property does not have
1440 corresponding predefined character.
1441 (make_builtin_char): Return -1 if corresponding predefined
1442 character is not found.
1443 (Fdecode_char): Return nil if corresponding character is not
1445 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
1446 don't map to builtin ucs space.
1448 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1450 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
1451 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
1453 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1455 * mule-charset.c (Vcharset_ideograph_gt): New variable.
1456 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
1457 (Qideograph_gt): Likewise.
1458 (Qideograph_gt_pj_{1..11}): Likewise.
1459 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
1460 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
1461 `ideograph-gt-pj-11'.
1462 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
1463 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
1464 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
1466 * char-ucs.h (LEADING_BYTE_GT): New macro.
1467 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
1468 (MIN_CHAR_GT): Likewise.
1469 (MAX_CHAR_GT): Likewise.
1471 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1473 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
1474 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
1476 * doprnt.c (unsigned_int_converters): Add `c'.
1477 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
1479 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
1480 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
1482 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
1483 (MAX_CHAR_MOJIKYO_0): New macro.
1484 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
1486 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1488 * mule-charset.c (Fdefine_char): Delete cemented out code.
1489 (encode_builtin_char_1): Modify for new allocation of builtin
1492 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
1494 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1496 * mule-charset.c (Vcharset_ucs_cns): New variable.
1497 (Qucs_cns): New variable.
1498 (syms_of_mule_charset): Add new symbol `ucs-cns'.
1499 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
1501 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1503 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
1505 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1507 * search.c (search_buffer): Make `charset_base_code' as
1508 character-id >> 6 to eliminate the corresponding last byte in
1509 UTF-8 representation [I'm not sure it is right thing].
1510 (boyer_moore): Likewise.
1512 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1514 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
1515 representation in MULE.
1517 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1519 * text-coding.c (Fmake_coding_system): Use
1520 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
1521 `EXTERNAL_PROPERTY_LIST_LOOP'.
1523 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1525 * text-coding.c (decode_output_utf8_partial_char): New function.
1526 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
1528 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1530 * text-coding.c (decode_coding_utf8): Output original byte
1531 sequence if it is broken; change order of conditions.
1533 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
1536 * mb-multibyte.h (BYTE_ASCII_P):
1537 Use bit ops for char-signedness safety.
1538 (BYTE_C0_P): Use bit ops for char-signedness safety.
1539 (BYTE_C1_P): Use bit ops for char-signedness safety.
1541 * character.h: (XCHAR_OR_CHAR_INT):
1542 Always use inline function.
1543 Remove redundant type checking assert() - XINT will abort quite
1546 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1548 * text-coding.c: (Fencode_shift_jis_char):
1549 (Fencode_big5_char):
1550 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
1551 Replace 0 with '\0' when working with bytes.
1552 Replace initial "(" with "\(" in docstrings.
1554 (Fmake_coding_system):
1555 When type is ccl and value is vector, register it with a proper
1556 symbol. And checks whether the given ccl program is valid.
1557 (mule_decode): When calling ccl_driver, if src indicates
1558 NULL pointer, set an empty string instead.
1559 (mule_encode): Likewise.
1562 (detect_coding_sjis):
1563 (decode_coding_sjis):
1564 (detect_coding_big5):
1565 (decode_coding_big5):
1566 (detect_coding_ucs4):
1567 (decode_coding_ucs4):
1568 (detect_coding_utf8):
1569 (decode_coding_utf8):
1570 (detect_coding_iso2022):
1571 (decode_coding_iso2022):
1572 (decode_coding_no_conversion):
1574 Make all detecting and decoding functions take an Extbyte * arg.
1575 (text_encode_generic):
1576 (encode_coding_big5):
1577 (encode_coding_no_conversion):
1579 Make all encoding functions take a Bufbyte * arg.
1580 Use size_t instead of unsigned int for memory sizes.
1581 Only cast to unsigned char whenever dereferencing Extbyte *.
1583 (struct lrecord_description fcd_description_1): Use countof.
1584 (complex_vars_of_file_coding):
1585 Use countof instead of sizeof.
1586 Use CHECK_NATNUM instead of CHECK_INT.
1588 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1590 * mule-charset.c (Fget_char_attribute): Add new optional argument
1592 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
1593 (remove_char_ccs): Likewise.
1595 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1597 * text-coding.c (char_encode_shift_jis): New implementation in
1599 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
1602 * mule-charset.c (Vcharset_chinese_big5): New variable in
1604 (Qchinese_big5): New variable in UTF-2000.
1605 (BIG5_SAME_ROW): New macro in UTF-2000.
1606 (make_builtin_char): Use builtin characters of
1607 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
1608 characters of `Vcharset_chinese_big5'.
1609 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
1610 (complex_vars_of_mule_charset): Add new coded-charset
1611 `chinese-big5' in UTF-2000.
1613 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
1614 (Vcharset_chinese_big5): New external variable declaration.
1615 (Vcharset_japanese_jisx0208_1990): Likewise.
1617 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1619 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
1621 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
1623 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1625 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
1626 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
1627 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
1630 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1632 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
1634 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1636 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1639 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1641 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
1642 for `CHARSET_BY_ATTRIBUTES'.
1643 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1644 `CHARSET_BY_ATTRIBUTES'.
1646 * text-coding.c (struct decoding_stream): Rename member `CH' to
1648 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
1649 (decode_coding_sjis): Likewise.
1650 (decode_coding_big5): Likewise.
1651 (decode_coding_ucs4): Likewise.
1652 (decode_coding_utf8): Likewise.
1653 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1654 `CHARSET_BY_ATTRIBUTES'.
1655 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
1656 `str->counter'; decode 3, 4 bytes sets.
1657 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
1659 (decode_coding_no_conversion): Use `str->cpos' instead of
1662 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
1663 (Qmojikyo_2022_1): New variable.
1664 (make_charset): Don't use `CHARSET_TYPE_*'.
1665 (range_charset_code_point): Support coded-charset
1667 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
1668 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
1669 `CHARSET_BY_ATTRIBUTES'.
1670 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
1671 `CHARSET_BY_ATTRIBUTES'.
1672 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
1673 (complex_vars_of_mule_charset): Add new coded-charset
1676 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
1677 interface; changed to inline function.
1679 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
1680 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
1681 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
1682 (CHARSET_TYPE_94): Deleted.
1683 (CHARSET_TYPE_94X94): Deleted.
1684 (CHARSET_TYPE_96): Deleted.
1685 (CHARSET_TYPE_96X96): Deleted.
1686 (CHARSET_TYPE_128): Deleted.
1687 (CHARSET_TYPE_128X128): Deleted.
1688 (CHARSET_TYPE_256): Deleted.
1689 (CHARSET_TYPE_256X256): Deleted.
1690 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
1692 (DECODE_MOJIKYO_2022): New inline function.
1693 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
1694 `Vcharset_mojikyo_2022_1'.
1696 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1698 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
1700 (put_byte_table): Likewise.
1701 (char_id_table_equal): Use `get_byte_table' [new implementation].
1703 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1705 * mule-charset.c: Include <limits.h> in UTF-2000.
1706 (BT_UINT8_MIN): New macro in UTF-2000.
1707 (BT_UINT8_MAX): New macro in UTF-2000.
1708 (BT_UINT8_t): New macro in UTF-2000.
1709 (BT_UINT8_nil): New macro in UTF-2000.
1710 (BT_UINT8_unbound): New macro in UTF-2000.
1711 (INT_UINT8_P): New inline function in UTF-2000.
1712 (UINT8_VALUE_P): New inline function in UTF-2000.
1713 (UINT8_ENCODE): New inline function in UTF-2000.
1714 (UINT8_DECODE): New inline function in UTF-2000.
1715 (mark_uint8_byte_table): New function in UTF-2000.
1716 (print_uint8_byte_table): New function in UTF-2000.
1717 (uint8_byte_table_equal): New function in UTF-2000.
1718 (uint8_byte_table_hash): New function in UTF-2000.
1719 (make_uint8_byte_table): New function in UTF-2000.
1720 (uint8_byte_table_same_value_p): New function in UTF-2000.
1721 (BT_UINT16_MIN): New macro in UTF-2000.
1722 (BT_UINT16_MAX): New macro in UTF-2000.
1723 (BT_UINT16_t): New macro in UTF-2000.
1724 (BT_UINT16_nil): New macro in UTF-2000.
1725 (BT_UINT16_unbound): New macro in UTF-2000.
1726 (INT_UINT16_P): New inline function in UTF-2000.
1727 (UINT16_VALUE_P): New inline function in UTF-2000.
1728 (UINT16_ENCODE): New inline function in UTF-2000.
1729 (UINT16_DECODE): New inline function in UTF-2000.
1730 (UINT8_TO_UINT16): New inline function in UTF-2000.
1731 (mark_uint16_byte_table): New function in UTF-2000.
1732 (print_uint16_byte_table): New function in UTF-2000.
1733 (uint16_byte_table_equal): New function in UTF-2000.
1734 (uint16_byte_table_hash): New function in UTF-2000.
1735 (make_uint16_byte_table): New function in UTF-2000.
1736 (uint16_byte_table_same_value_p): New function in UTF-2000.
1737 (print_byte_table): New function in UTF-2000.
1738 (byte-table): Use `print_byte_table' as printer.
1739 (make_byte_table): Delete second argument `older'.
1740 (byte_table_same_value_p): New function in UTF-2000.
1741 (copy_byte_table): Deleted.
1742 (get_byte_table): New function in UTF-2000.
1743 (put_byte_table): New function in UTF-2000.
1744 (print_char_id_table): New function in UTF-2000.
1745 (char-id-table): Use `print_char_id_table' as printer.
1746 (make_char_id_table): Delete second argument `older'.
1747 (get_char_id_table): Use `get_byte_table [new implementation].
1748 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
1750 (Ffind_char_attribute_table): New function in UTF-2000.
1751 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1752 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
1753 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
1754 (syms_of_mule_charset): Add new function
1755 `find-char-attribute-table' in UTF-2000.
1757 * lrecord.h (enum lrecord_type): Add
1758 `lrecord_type_uint16_byte_table' and
1759 `lrecord_type_uint8_byte_table'.
1761 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
1762 (Lisp_Uint8_Byte_Table): New type.
1763 (XUINT8_BYTE_TABLE): New macro.
1764 (XSETUINT8_BYTE_TABLE): New macro.
1765 (UINT8_BYTE_TABLE_P): New macro.
1766 (GC_UINT8_BYTE_TABLE_P): New macro.
1767 (struct Lisp_Uint16_Byte_Table): New structure.
1768 (Lisp_Uint16_Byte_Table): New type.
1769 (XUINT16_BYTE_TABLE): New macro.
1770 (XSETUINT16_BYTE_TABLE): New macro.
1771 (UINT16_BYTE_TABLE_P): New macro.
1772 (GC_UINT16_BYTE_TABLE_P): New macro.
1774 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1776 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
1777 (Vcharacter_ideographic_strokes_table): Deleted.
1778 (Vcharacter_total_strokes_table): Deleted.
1779 (Vcharacter_morohashi_daikanwa_table): Deleted.
1780 (Vcharacter_decomposition_table): Deleted.
1781 (Qname): Deleted because it is duplicated.
1782 (Qideographic_radical): Deleted.
1783 (Qideographic_strokes): Deleted.
1784 (Qtotal_strokes): Deleted.
1785 (Qmorohashi_daikanwa): Deleted.
1786 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
1787 `ideographic-radical', `ideographic-strokes', `total-strokes',
1788 `morohashi-daikanwa' and `->decomposition'.
1789 (Fget_char_attribute): Likewise.
1790 (Fput_char_attribute): Likewise; use `make-vector' instead of
1791 `make_older_vector' for `->decomposition' value.
1792 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
1793 `ideograph-daikanwa'.
1794 (syms_of_mule_charset): Delete builtin symbols `name',
1795 `ideographic-radical', `ideographic-strokes', `total-strokes' and
1796 `morohashi-daikanwa'.
1797 (vars_of_mule_charset): Don't setup
1798 `Vcharacter_ideographic_radical_table',
1799 `Vcharacter_ideographic_strokes_table',
1800 `Vcharacter_total_strokes_table',
1801 `Vcharacter_morohashi_daikanwa_table' and
1802 `Vcharacter_decomposition_table'.
1804 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1806 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
1807 `make_older_vector', `make_vector_newer_1' and
1808 `make_vector_newer'.
1810 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
1811 `make_older_vector' and `make_vector_newer'.
1813 * config.h.in (HAVE_GGC): New macro.
1815 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1817 * mule-charset.c (struct char_attribute_list_closure): New
1818 structure in UTF-2000.
1819 (add_char_attribute_to_list_mapper): New function in UTF-2000.
1820 (Fchar_attribute_list): Likewise.
1821 (Fset_charset_mapping_table): Use `make_vector_newer'.
1822 (Fdecode_builtin_char): New function in UTF-2000.
1823 (syms_of_mule_charset): Add new function `char-attribute-list' and
1824 `decode-builtin-char' in UTF-2000.
1826 * lisp.h (make_vector_newer): New prototype.
1828 * alloc.c (make_vector_newer_1): New function.
1829 (make_vector_newer): New function.
1831 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1833 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
1836 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1838 * mule-charset.c (Vchar_attribute_hash_table): New variable.
1839 (Vcharacter_attribute_table): Deleted.
1840 (Vcharacter_name_table): Deleted.
1841 (put_char_attribute): Deleted.
1842 (remove_char_attribute): Deleted.
1843 (struct char_attribute_alist_closure): New structure.
1844 (add_char_attribute_alist_mapper): New function.
1845 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
1846 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
1847 (Fget_char_attribute): Likewise.
1848 (Fput_char_attribute): Likewise.
1849 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
1850 of `remove_char_attribute'.
1851 (Fdefine_char): Return character.
1852 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
1853 and `Vcharacter_name_table'.
1854 (complex_vars_of_mule_charset): Likewise
1855 `Vchar_attribute_hash_table'.
1857 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1859 * character.h (CHARC_CHARSET): New macro.
1860 (CHARC_CHARSET_ID): New macro.
1861 (CHARC_CODE_POINT): New macro.
1862 (CHARC_COLUMNS): New macro.
1863 (CHARC_TO_CHAR): New inline function.
1864 (CHARC_EQ): New inline function.
1865 (CHARC_ASCII_EQ): New inline function.
1866 (CHARC_IS_SPACE): New inline function.
1867 (ASCII_TO_CHARC): New inline function.
1869 * char-ucs.h (encode_char_2): Deleted.
1870 (ENCODE_CHAR): Use `encode_char_1' again.
1871 (breakup_char_1): Likewise.
1872 (CHAR_TO_CHARC): New inline function.
1874 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
1876 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1878 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
1879 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
1880 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
1881 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
1882 (create_string_text_block): Use `CHARC_ASCII_EQ' and
1884 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
1886 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
1888 (x_output_display_block): Use `CHARC_CHARSET' and
1891 * redisplay-tty.c (tty_output_display_block): Use
1893 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
1895 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
1897 * insdel.c (find_charsets_in_charc_string): Use
1899 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
1900 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
1901 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
1902 (convert_charc_string_into_malloced_string): Likewise.
1904 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1906 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
1907 instead of <Emchar_dynarr *> for buf; use
1908 `convert_bufbyte_string_into_charc_dynarr' instead of
1909 `convert_bufbyte_string_into_emchar_dynarr'; use
1910 `find_charsets_in_charc_string' instead of
1911 `find_charsets_in_emchar_string'.
1914 - Include "character.h".
1915 (struct rune): New member `cglyph'; delete member `chr'.
1917 * redisplay.c (redisplay_text_width_charc_string): New function;
1918 delete `redisplay_text_width_emchar_string'.
1919 (rtw_charc_dynarr): New variable; renamed from
1920 `rtw_emchar_dynarr'.
1921 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
1922 `rtw_emchar_dynarr'; use
1923 `convert_bufbyte_string_into_charc_dynarr' instead of
1924 `convert_bufbyte_string_into_emchar_dynarr'; use
1925 `redisplay_text_width_charc_string' instead of
1926 `redisplay_text_width_emchar_string'.
1927 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
1928 instead of `rtw_emchar_dynarr'; use
1929 `convert_bufbyte_string_into_charc_dynarr' instead of
1930 `convert_bufbyte_string_into_emchar_dynarr'.
1931 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
1932 `redisplay_text_width_charc_string' instead of
1933 `redisplay_text_width_emchar_string'.
1934 (create_text_block): Modify for <struct rune> change.
1935 (generate_formatted_string_db): Likewise.
1936 (create_string_text_block): Likewise.
1937 (pixel_to_glyph_translation): Likewise.
1939 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
1940 instead of <const Emchar *>.
1941 (x_text_width): Likewise.
1942 (x_output_display_block): Use <Charc_dynarr *> instead
1943 <Emchar_dynarr *>; modify for <structure rune> change.
1944 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
1947 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
1948 <const Emchar *>; use `charc_string_displayed_columns' instead of
1949 `emchar_string_displayed_columns'.
1950 (tty_output_display_block): Use <Charc_dynarr *> instead of
1951 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
1952 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
1953 (tty_output_charc_dynarr_dynarr): New variable; renamed from
1954 `tty_output_emchar_dynarr_dynarr'.
1955 (tty_output_charc_dynarr): New function; delete
1956 `tty_output_charc_dynarr'.
1958 * redisplay-output.c (compare_runes): Modify for `struct rune'.
1959 (redisplay_output_layout): Use <Charc_dynarr *> instead of
1960 <Emchar_dynarr *> for buf; use
1961 `convert_bufbyte_string_into_charc_dynarr' instead of
1962 `convert_bufbyte_string_into_emchar_dynarr'.
1964 * frame.c (title_string_charc_dynarr): New variable; renamed from
1965 `title_string_emchar_dynarr'.
1966 (generate_title_string): Use `title_string_charc_dynarr' instead
1967 of `title_string_emchar_dynarr'; use
1968 `convert_charc_string_into_malloced_string' instead of
1969 `convert_emchar_string_into_malloced_string'.
1970 (init_frame): Use `title_string_charc_dynarr' instead of
1971 `title_string_emchar_dynarr'.
1974 - Include "character.h".
1975 (struct console_methods): Use <const Charc *> instead of <const
1976 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
1977 <Emchar_dynarr *> in output_string_method.
1979 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
1982 * console-stream.c (stream_text_width): Use <const Charc *>
1983 instead of <const Emchar *>.
1985 * character.h (Charc_dynarr): New type.
1987 * char-ucs.h (structure Charc): New structure; define new type
1990 * char-lb.h (DECODE_CHAR): New inline function.
1991 (encode_char_1): New inline function.
1992 (ENCODE_CHAR): New macro.
1993 (structure Charc): New structure; define new type `Charc'.
1995 * char-1byte.h (Vcharset_control_1): New macro.
1996 (Vcharset_latin_iso8859_1): New macro.
1997 (DECODE_CHAR): New inline function.
1998 (encode_char_1): New inline function.
1999 (ENCODE_CHAR): New macro.
2000 (structure Charc): New structure; define new type `Charc'.
2002 * insdel.c (find_charsets_in_charc_string): New function; delete
2003 `find_charsets_in_emchar_string'.
2004 (charc_string_displayed_columns): New function; delete
2005 `emchar_string_displayed_columns'.
2006 (convert_bufbyte_string_into_charc_dynarr): New function; delete
2007 `convert_bufbyte_string_into_emchar_dynarr'.
2008 (convert_charc_string_into_bufbyte_dynarr): New function; delete
2009 `convert_charc_string_into_bufbyte_dynarr'.
2010 (convert_charc_string_into_malloced_string): New function; delete
2011 `convert_charc_string_into_malloced_string'.
2013 * buffer.h (find_charsets_in_charc_string): New prototype; delete
2014 `find_charsets_in_emchar_string'.
2015 (charc_string_displayed_columns): New prototype; delete
2016 `emchar_string_displayed_columns'.
2017 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
2018 `convert_charc_string_into_bufbyte_dynarr'.
2019 (convert_charc_string_into_malloced_string): New prototype; delete
2020 `convert_charc_string_into_malloced_string'.
2022 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2024 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
2026 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2028 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
2030 * char-ucs.h: Use <short> for <Charset_ID>.
2032 * mule-charset.h, char-1byte.h: Use <unsigned char> for
2035 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2037 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2040 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2042 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
2044 (Qmorohashi_daikanwa): New variable.
2045 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
2046 for `morohashi-daikanwa' attribute.
2047 (Fget_char_attribute): Likewise.
2048 (Fput_char_attribute): Likewise.
2049 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
2050 has the same value of `ideograph-daikanwa'.
2051 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
2052 (vars_of_mule_charset): Setup
2053 `Vcharacter_morohashi_daikanwa_table'.
2055 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2057 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
2059 (add_charset_to_list_mapper): Add `key' instead of
2060 `XCHARSET_NAME (value)' to return aliases.
2062 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2064 * mule-charset.c (Vcharacter_ideographic_radical_table): New
2066 (Vcharacter_ideographic_strokes_table): New variable.
2067 (Qideographic_radical): New variable.
2068 (Qideographic_strokes): New variable.
2069 (Fchar_attribute_alist): Use
2070 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
2071 attribute; use `Vcharacter_ideographic_strokes_table' for
2072 `ideographic-strokes' attribute.
2073 (Fget_char_attribute): Likewise.
2074 (Fput_char_attribute): Likewise.
2075 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
2076 `ideographic-strokes'.
2077 (vars_of_mule_charset): Setup
2078 `Vcharacter_ideographic_radical_table' and
2079 `Vcharacter_ideographic_strokes_table'.
2081 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2083 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
2084 (Qtotal_strokes): New variable.
2085 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
2086 `total-strokes' attribute.
2087 (Fget_char_attribute): Likewise.
2088 (Fput_char_attribute): Likewise.
2089 (syms_of_mule_charset): Add new symbol `total-strokes'.
2090 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
2092 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2094 * mule-charset.c (Vcharacter_decomposition_table): New variable.
2095 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
2097 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
2098 `->decomposition' attribute.
2099 (Fput_char_attribute): Likewise.
2100 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
2102 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2104 * mule-charset.c (decoding_table_check_elements): New function.
2105 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
2107 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2109 * mule-charset.c (Fset_charset_mapping_table): Use
2110 `put_char_ccs_code_point'.
2112 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2114 * mule-charset.c (decoding_table_put_char): New inline function.
2115 (put_char_ccs_code_point): Use `decoding_table_put_char'.
2117 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2119 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
2120 (XCHARSET_BYTE_SIZE): New macro.
2121 (decoding_table_remove_char): New inline function.
2122 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
2123 `decoding_table_remove_char'.
2124 (remove_char_ccs): Use `decoding_table_remove_char'.
2125 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
2127 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2129 * mule-charset.c (Vcharacter_name_table): New variable.
2130 (Qname): New variable.
2131 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
2133 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
2134 `Vcharacter_name_table' for `name' attribute.
2135 (Fremove_char_attribute): Use function `remove_char_ccs'.
2136 (put_char_ccs_code_point): New function.
2137 (remove_char_ccs): New function.
2138 (syms_of_mule_charset): Add new symbol `name'.
2139 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
2141 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2143 * mule-charset.c (make_byte_table): Add new argument `older'.
2144 (make_char_id_table): Likewise.
2145 (copy_char_id_table): Comment out because it is not used.
2146 (put_char_id_table): Modify for `make_byte_table'.
2147 (Fput_char_attribute): Make encoding_table as older object;
2148 inherit older bit of `Vcharacter_composition_table'.
2149 (mark_charset): Don't mark `cs->encoding_table'.
2150 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
2151 normal object; make `Vcharacter_composition_table' as an older
2152 object; delete staticpro for `Vcharacter_composition_table'; make
2153 `Vcharacter_variant_table' as a normal object.
2155 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
2156 (mark_object): Don't check older object in UTF-2000.
2158 * lrecord.h (struct lrecord_header): Add new member `older' in
2160 (set_lheader_implementation): Setup `SLI_header->older' in
2162 (set_lheader_older_implementation): New macro in UTF-2000.
2163 (OLDER_RECORD_P): New macro in UTF-2000.
2164 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
2165 (alloc_older_lcrecord): New prototype in UTF-2000.
2166 (alloc_older_lcrecord_type): New macro in UTF-2000.
2168 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2170 * mule-charset.c (byte_table_description): Use
2171 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
2172 (char_id_table_description): Delete bogus `, 1'.
2173 (Fget_char_attribute): Refer encoding_table of each coded-charset
2174 to get value of coded-charset attribute of a character.
2175 (Fput_char_attribute): Use `make_older_vector' instead of
2176 `make_vector'; use encoding_table of each coded-charset to store
2177 value of coded-charset attribute of a character.
2178 (Fremove_char_attribute): Use encoding_table of each coded-charset
2179 to store value of coded-charset attribute of a character.
2180 (mark_charset): Mark `cs->encoding_table'; don't mark
2181 `cs->decoding_table'.
2182 (charset_description): Add description of new member
2184 (make_charset): Initialize `encoding_table'.
2186 * char-ucs.h (struct Lisp_Charset): Add new member
2188 (CHARSET_ENCODING_TABLE): New macro.
2189 (XCHARSET_ENCODING_TABLE): New macro.
2190 (charset_code_point): New implementation.
2191 (encode_char_1): Likewise.
2193 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
2194 (disksave_object_finalization_1): Call finalizers of
2195 `all_older_lcrecords' in UTF-2000.
2196 (make_older_vector): New function in UTF-2000.
2197 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
2200 * lisp.h (make_older_vector): New prototype in UTF-2000.
2202 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2204 * lrecord.h (enum lrecord_type): Rename
2205 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
2207 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
2208 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
2209 `get_char_code_table'.
2211 * mule-charset.c (mark_char_id_table): Renamed from
2212 `mark_char_code_table'.
2213 (char_id_table_equal): Renamed from `char_code_table_equal'.
2214 (char_id_table_hash): Renamed from `char_code_table_hash'.
2215 (make_char_id_table): Renamed from `make_char_code_table'.
2216 (copy_char_id_table): Renamed from `copy_char_code_table'.
2217 (get_char_id_table): Renamed from `get_char_code_table'.
2218 (put_char_id_table): Renamed from `put_char_code_table'.
2219 (to_char_id): Renamed from `to_char_code'.
2221 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
2222 `Lisp_Char_Code_Table'.
2223 (char_id_table): Renamed from `char_code_table'.
2224 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
2225 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
2226 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
2227 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
2228 (get_char_id_table): Renamed from `get_char_code_table'.
2230 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2232 * lrecord.h (enum lrecord_type): Rename
2233 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
2235 * mule-charset.c (mark_byte_table): Renamed from
2236 `mark_char_byte_table'.
2237 (byte_table_equal): Renamed from `char_byte_table_equal'.
2238 (byte_table_hash): Renamed from `byte_table_hash'.
2239 (make_byte_table): Renamed from `make_byte_table'.
2240 (copy_byte_table): Renamed from `copy_char_byte_table'.
2242 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
2243 `Lisp_Char_Byte_Table'.
2244 (byte_table): Renamed from `char_byte_table'.
2245 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
2246 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
2247 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
2248 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
2250 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2252 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
2253 (dfc_convert_to_internal_format): Likewise.
2255 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2256 * text-coding.c (Fcoding_system_alias_p): New function.
2257 * text-coding.c (Fcoding_system_aliasee): New function.
2258 * text-coding.c (append_suffix_to_symbol): New function.
2259 * text-coding.c (dangling_coding_system_alias_p): New function.
2260 * text-coding.c (Ffind_coding_system):
2261 * text-coding.c (Fcopy_coding_system):
2262 * text-coding.c (encode_coding_no_conversion):
2263 * text-coding.c (syms_of_file_coding):
2264 * text-coding.c (vars_of_file_coding):
2265 Rewrite coding system alias code.
2266 Allow nested aliases, like symbolic links.
2267 Allow redefinition of coding system aliases.
2268 Prevent existence of dangling coding system aliases.
2269 Eliminate convert_to_external_format.
2270 Eliminate convert_to_internal_format.
2272 * text-coding.c: Change enum eol_type to eol_type_t.
2274 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2276 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2277 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2279 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2280 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2282 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2284 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2285 `ideograph-daikanwa'.
2287 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2288 (Vcharset_ucs_bmp): Likewise.
2289 (Vcharset_mojikyo): Add new extern variable definition.
2290 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2291 (Vcharset_latin_iso8859_3): Likewise.
2292 (Vcharset_latin_iso8859_4): Likewise.
2293 (Vcharset_latin_iso8859_9): Likewise.
2294 (Vcharset_latin_viscii_lower): Likewise.
2295 (Vcharset_latin_viscii_upper): Likewise.
2296 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2297 `mojikyo' code-point is used to decode.
2298 (encode_char_2): New function [to convert `mojikyo' code-point to
2299 Mojikyo font encoding].
2300 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2301 (breakup_char_1): Likewise.
2302 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2304 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2306 * text-coding.c (Fmake_coding_system): Add document about
2307 `disable-composition' property.
2309 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2311 * text-coding.c (Qdisable_composition): New variable; delete
2313 (Fmake_coding_system): Add new property `disable-composite';
2314 delete property `composite'.
2315 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2316 instead of `!CODING_SYSTEM_COMPOSITE'.
2317 (syms_of_file_coding): Add new symbol `disable-composition';
2318 delete symbol `composite'.
2320 * file-coding.h (struct Lisp_Coding_System): Add
2321 `disable_composition'; delete `enable_composition'.
2322 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2323 `CODING_SYSTEM_COMPOSITE'.
2324 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2325 `XCODING_SYSTEM_COMPOSITE'.
2327 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2329 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2332 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2334 * text-coding.c (Qcomposite): New variable.
2335 (Fmake_coding_system): Add new property `composite'.
2336 (struct decoding_stream): Add `combined_char_count',
2337 `combined_chars' and `combining_table' in UTF-2000.
2338 (COMPOSE_FLUSH_CHARS): New macro.
2339 (COMPOSE_ADD_CHAR): New macro.
2340 (reset_decoding_stream): Reset `str->combined_char_count' and
2341 `str->combining_table' in UTF-2000.
2342 (decode_coding_iso2022): Modify for character-decomposition.
2343 (syms_of_file_coding): Add new symbol `composite'.
2345 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2347 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2348 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2349 of `Vcharacter_composition_table' if `->decomposition' property
2351 (Qlatin_tcvn5712): New variable.
2352 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2353 (complex_vars_of_mule_charset): Add new coded-charset
2356 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2358 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2360 * file-coding.h (struct Lisp_Coding_System): Add
2361 `enable_composition'.
2362 (CODING_SYSTEM_COMPOSITE): New macro.
2363 (XCODING_SYSTEM_COMPOSITE): New macro.
2365 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2367 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2369 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2371 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2372 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2374 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2376 * mule-charset.c (Vcharset_mojikyo): New variable.
2377 (Fdefine_char): Don't use coded-charset which does not have
2378 non-builtin character range to allocate character-id.
2379 (Qmojikyo): New variable.
2380 (syms_of_mule_charset): Add new symbol `mojikyo'.
2381 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2383 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2384 (LEADING_BYTE_MOJIKYO): New macro.
2385 (MIN_CHAR_MOJIKYO): New macro.
2386 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2387 (MAX_CHAR_MOJIKYO): New macro.
2389 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2391 * mule-charset.c (remove_char_attribute): Fixed.
2393 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2395 * mule-charset.c (remove_char_attribute): New function.
2396 (Fremove_char_attribute): New function.
2397 (encode_builtin_char_1): Comment out builtin-support for
2398 greek-iso8859-7 and cyrillic-iso8859-5.
2399 (Fdecode_char): Check `code' is an integer.
2400 (syms_of_mule_charset): Add `remove-char-attribute'.
2401 (MIN_CHAR_GREEK): Deleted.
2402 (MAX_CHAR_GREEK): Likewise.
2403 (MIN_CHAR_CYRILLIC): Likewise.
2404 (MAX_CHAR_CYRILLIC): Likewise.
2405 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
2406 MAX_CHAR_GREEK for `greek-iso8859-7'.
2408 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
2409 (MAX_CHAR_GREEK): Likewise.
2410 (MIN_CHAR_CYRILLIC): Likewise.
2411 (MAX_CHAR_CYRILLIC): Likewise.
2413 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
2415 * mule-charset.c (Fdefine_char): Fix problem when new code-point
2416 format is used without `ucs' property.
2417 (Fdecode_char): Fix problem with GR representation.
2418 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
2419 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
2421 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2423 * mule-charset.c (make_builtin_char): New function.
2424 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
2425 (Fset_charset_mapping_table): Modify for new representation of
2427 (Fdecode_char): New function.
2428 (syms_of_mule_charset): Add new builtin function `decode-char' in
2431 * char-ucs.h (make_builtin_char): New prototype.
2432 (DECODE_CHAR): New inline function.
2433 (MAKE_CHAR): Use `DECODE_CHAR'.
2435 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
2437 * text-coding.c (parse_charset_conversion_specs): Use
2438 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
2440 (iso2022_designate): Likewise.
2442 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
2443 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
2445 * mule-charset.c (Vcharset_ucs): New variable.
2446 (print_charset): Change design; use `CHARSET_CHARS' and
2447 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
2448 (make_charset): Change signature to specify `chars' and
2449 `dimension' instead of `type'.
2450 (range_charset_code_point): Modify for 256^n-set.
2451 (encode_builtin_char_1): Encode as `ucs' in default.
2452 (Fmake_charset): Modify for `make_charset'.
2453 (Fmake_reverse_direction_charset): Likewise.
2454 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
2456 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
2459 * char-ucs.h (Vcharset_ucs): New variable.
2460 (LEADING_BYTE_UCS): New macro.
2461 (struct Lisp_Charset): Delete `type'; change type of `dimension'
2462 and `chars' to `unsigned short' from `unsigned int'.
2463 (CHARSET_TYPE): Deleted.
2464 (XCHARSET_TYPE): Deleted.
2466 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
2468 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
2470 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
2471 (ENCODE_CHAR): New macro.
2473 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2475 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2476 to 0.14 (Kawachi-Katakami).
2478 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2480 * text-coding.c (char_encode_shift_jis): Modify for
2481 `charset_code_point'.
2482 (char_encode_iso2022): Likewise.
2484 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
2485 (integer) instead of list of <Lisp_Object>s (integers) as the
2486 format of code-point of a coded-charset.
2487 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2488 (encode_builtin_char_1): New function; delete
2489 `split_builtin_char'.
2490 (charset_code_point): Return <int> instead of <Lisp_Object>.
2491 (Fsplit_char): Don't use `SPLIT_CHAR'.
2493 * char-ucs.h (encode_builtin_char_1): New prototype; delete
2494 prototype for `split_builtin_char'.
2495 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2496 (charset_code_point): Likewise.
2497 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
2498 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
2500 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
2502 * mule-charset.c (complex_vars_of_mule_charset): Don't define
2503 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
2505 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2507 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
2509 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
2510 (MAX_CHAR_OBS_94x94): Deleted.
2512 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2514 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
2516 * char-ucs.h (MAX_CHAR_BMP): New macro.
2518 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2520 * text-coding.c: Sync with r21-2-24.
2522 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2524 * file-coding.c: Modify for UTF-2000.
2526 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2528 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2531 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2533 * mule-charset.c (split_builtin_char): Delete builtin support for
2534 `katakana-jisx0201'.
2535 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
2536 BMP area in builtin representation.
2538 * char-ucs.h (MAKE_CHAR): Delete builtin support for
2539 `Vcharset_katakana_jisx0201'.
2541 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2543 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
2544 (Qisolated): New variable.
2545 (Qinitial): New variable.
2546 (Qmedial): New variable.
2547 (Qfinal): New variable.
2548 (Qvertical): New variable.
2549 (Qsmall): New variable.
2550 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
2551 `Qvertical' and `Qsmall'.
2552 (Qmojikyo_pj_[1 .. 21]): New variable.
2553 (syms_of_mule_charset): Add new symbols `isolated', `initial',
2554 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
2555 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
2558 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2560 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
2561 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
2562 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
2564 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2566 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
2567 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
2569 (Qjapanese_jisx0208_1990): New variable.
2570 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
2571 (complex_vars_of_mule_charset): Add new coded-charset
2572 `japanese-jisx0208-1990'.
2574 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
2575 (MIN_CHAR_JIS_X0208_1990): New macro.
2576 (MAX_CHAR_JIS_X0208_1990): New macro.
2578 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2580 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
2581 coded-charset is not found.
2583 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2585 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
2586 (Fdefine_char): Use `Fmake_char'.
2588 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2590 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
2591 (Vcharset_hiragana_jisx0208): Deleted.
2592 (Vcharset_katakana_jisx0208): Deleted.
2593 (Qideograph_daikanwa): New variable.
2594 (Qhiragana_jisx0208): Deleted.
2595 (Qkatakana_jisx0208): Deleted.
2596 (split_builtin_char): Split `ideograph-daikanwa'.
2597 (Fsplit_char): New implementation for UTF-2000.
2598 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
2599 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
2600 (complex_vars_of_mule_charset): Add new coded-charset
2601 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
2602 `katakana-jisx0208'.
2604 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
2605 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
2606 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
2607 (MIN_CHAR_DAIKANWA): New macro.
2608 (MAX_CHAR_DAIKANWA): New macro.
2610 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2612 * data.c (Fstring_to_number): Don't recognize floating point if
2615 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2617 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
2619 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2621 * mule-charset.c (Qsquare): New variable.
2622 (to_char_code): Add `Qsquare'.
2623 (syms_of_mule_charset): Add new symbol `square'.
2625 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2627 * mule-charset.c (Qcircle): New variable.
2628 (to_char_code): Add `Qcircle'.
2629 (syms_of_mule_charset): Add new symbol `circle'.
2631 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2633 * mule-charset.c (Qfont): New variable.
2634 (to_char_code): Add `Qfont'.
2635 (syms_of_mule_charset): Add new symbol `font'.
2637 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2639 * mule-charset.c (Qsub): New variable.
2640 (to_char_code): Add `Qsub'.
2641 (syms_of_mule_charset): Add new symbol `sub'.
2643 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2645 * mule-charset.c (Fput_char_attribute): Convert each element of
2646 VALUE to GL position if ATTRIBUTE is a GR-set,
2648 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2650 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
2651 coded-charset is a GR-set.
2653 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2655 * mule-charset.c (Fput_char_attribute): Check each element of
2656 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
2658 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2660 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
2662 (Qethiopic_ucs): New variable in UTF-2000.
2663 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
2664 (complex_vars_of_mule_charset): Add new coded-charset
2665 `ethiopic-ucs' in UTF-2000.
2667 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
2668 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2670 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2672 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
2674 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2676 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
2679 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2681 * mule-charset.c (Vcharacter_variant_table): New variable.
2682 (Q_ucs): New variable.
2683 (Fchar_variants): New function.
2684 (Fput_char_attribute): Register `->ucs' value to
2685 `Vcharacter_variant_table'.
2686 (syms_of_mule_charset): Add new function `char-variants' and new
2688 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
2690 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2692 * mule-charset.c (get_char_code_table): Allow negative character
2694 (put_char_code_table): Likewise.
2695 (Vcharacter_composition_table): New variable.
2696 (Q_decomposition): New variable.
2697 (Qwide): New variable.
2698 (Qnarrow): New variable.
2699 (Qcompat): New variable.
2700 (QnoBreak): New variable.
2701 (Qsuper): New variable.
2702 (Qfraction): New variable.
2703 (to_char_code): New function.
2704 (Fget_composite_char): New function.
2705 (Fput_char_attribute): Register `->decomposition' value to
2706 `Vcharacter_composition_table'.
2707 (syms_of_mule_charset): Add new function `get-composite-char', new
2708 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
2709 `super' and `fraction'.
2710 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
2712 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2714 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
2715 character; copy the return value.
2717 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2719 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
2721 * mule-charset.c (range_charset_code_point): Must use make_int.
2722 (split_builtin_char): New function.
2724 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2726 * mule-charset.c (char_byte_table): Change name from
2727 "char-code-table" to "char-byte-table".
2728 (mark_char_code_table): New function.
2729 (char_code_table_equal): New function.
2730 (char_code_table_hash): New function.
2731 (char_code_table_description): New constant.
2732 (char_code_table): New type.
2733 (make_char_code_table): New function.
2734 (copy_char_code_table): New function.
2735 (get_char_code_table): Modify for `char_code_table' type.
2736 (put_char_code_table): Likewise.
2737 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
2740 * char-ucs.h (char_code_table): New type.
2741 (XCHAR_CODE_TABLE): New macro.
2742 (XSETCHAR_CODE_TABLE): New macro.
2743 (CHAR_CODE_TABLE_P): New macro.
2744 (GC_CHAR_CODE_TABLE_P): New macro.
2745 (struct Lisp_Char_Code_Table): New structure.
2747 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2749 * mule-charset.c (Fmake_charset): Setup byte_offset for
2752 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
2754 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
2757 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2759 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
2762 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2764 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
2765 charset, it is regarded as a charset.
2766 (put_char_attribute): New function in UTF-2000.
2767 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
2768 charset, mapping-table of the charset is modified.
2769 (Fdefine_char): New function in UTF-2000.
2770 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
2771 `Fput_char_attribute'.
2772 (syms_of_mule_charset): Add new function `define-char' and new
2773 symbol `ucs' in UTF-2000.
2774 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
2776 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2778 * mule-charset.c (Fcharset_name): Define `byte_offset' in
2779 non-UTF-2000 configuration.
2781 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2783 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
2784 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
2786 * mule-charset.c (mark_charset): `cs->encoding_table' has been
2788 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
2789 (Fset_charset_mapping_table): Likewise.
2791 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
2792 (CHARSET_ENCODING_TABLE): Delete.
2793 (XCHARSET_ENCODING_TABLE): Delete.
2794 (charset_code_point): New interface.
2796 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2798 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
2799 instead of `charset_get_byte1' and `charset_get_byte2'.
2801 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
2802 (charset_get_byte2): Deleted.
2804 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2806 * char-ucs.h (SPLIT_CHAR): New inline function.
2807 (breakup_char_1): Use `SPLIT_CHAR'.
2809 * mule-charset.c (range_charset_code_point): New function.
2810 (charset_code_point): New function.
2812 * char-ucs.h (range_charset_code_point): New interface.
2813 (breakup_char_1): Use `range_charset_code_point'.
2815 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2817 * mule-charset.c (Fmake_charset): Delete unused local variable
2820 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
2821 (breakup_char_1): Find a charset and code-point in
2822 `Vcharacter_attribute_table'.
2824 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2826 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2829 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2831 * mule-charset.c (Vcharacter_attribute_table): New variable.
2832 (Fchar_attribute_alist): New function.
2833 (Fget_char_attribute): New function.
2834 (Fput_char_attribute): New function.
2835 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
2837 (syms_of_mule_charset): Add new function `char-attribute-alist',
2838 `get-char-attribute' and `put-char-attribute'.
2839 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
2841 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
2843 * mule-charset.c (Fmake_charset): Just use
2844 `get_unallocated_leading_byte'.
2846 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
2847 sets; don't use final-byte based number for private sets.
2849 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2851 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
2854 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2856 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2859 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2861 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
2862 of `CHAR_LEADING_BYTE' in UTF-2000.
2864 * insdel.c (find_charsets_in_bufbyte_string): Use
2865 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2866 (find_charsets_in_emchar_string): Likewise.
2868 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
2869 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2871 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
2872 (CHAR_CHARSET_ID): New macro.
2874 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2876 * chartab.c (get_char_table): Don't use type `Charset_ID' for
2877 charset-id - MIN_LEADING_BYTE.
2878 (put_char_table): Likewise.
2880 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2882 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
2883 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
2884 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
2885 (CHARSET_ID_OFFSET): New macro.
2886 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
2887 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
2888 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
2889 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2891 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2893 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
2894 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
2895 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
2896 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
2897 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
2899 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2901 * mule-charset.c (next_allocated_leading_byte): New variable in
2903 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
2904 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
2905 (get_unallocated_leading_byte): Simply use
2906 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
2907 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
2910 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
2911 (MAX_LEADING_BYTE_PRIVATE): New macro.
2912 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
2913 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
2915 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2917 * mule-charset.c (Fmake_charset): Allocate final-byte based
2918 charset-id for 94-set, 96-set and 94x94-set.
2920 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2922 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
2924 (Fmake_charset): Likewise.
2925 (complex_vars_of_mule_charset): Modify the font registry of
2926 `ucs-bmp' not to match `Ethiopic-Unicode'.
2928 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2930 * mule-charset.c (complex_vars_of_mule_charset): Add font
2931 registory of `ucs-bmp'.
2933 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2935 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
2936 coded-charsets in `default-coded-charset-priority-list' when
2937 breaking up a character.
2939 * mule-charset.c (Vcharset_latin_viscii): New variable.
2940 (Qlatin_viscii): New variable.
2941 (make_charset): Don't use `decoding_table'.
2942 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
2944 (Fset_charset_mapping_table): New implementation.
2945 (syms_of_mule_charset): Add new symbol `latin-viscii'.
2946 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
2947 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
2948 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
2949 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
2950 charset `latin_viscii'.
2952 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
2953 (CHARSET_TYPE_94X94): Change to 1 from 2.
2954 (CHARSET_TYPE_96): Change to 2 from 1.
2955 (CHARSET_TYPE_128): New macro.
2956 (CHARSET_TYPE_128X128): Change to 5 from 4.
2957 (CHARSET_TYPE_256): New macro.
2958 (CHARSET_TYPE_256X256): Change to 7 from 5.
2959 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
2961 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2963 * text-coding.c (char_encode_shift_jis): Refer
2964 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
2965 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
2967 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
2968 (char_byte_table_equal): New function in UTF-2000.
2969 (char_byte_table_hash): New function in UTF-2000.
2970 (char_byte_table_description): New constant in UTF-2000.
2971 (char_byte_table): New type in UTF-2000.
2972 (make_char_byte_table): New function in UTF-2000.
2973 (copy_char_byte_table): New function in UTF-2000.
2974 (make_char_code_table): New macro in UTF-2000.
2975 (get_char_code_table): New function in UTF-2000.
2976 (put_char_code_table): New function in UTF-2000.
2977 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2978 (charset_description): Add setting in UTF-2000.
2979 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
2980 `CHARSET_TO_BYTE1_TABLE(cs)'.
2981 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
2982 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
2983 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
2984 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
2985 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
2986 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
2987 `CHARSET_TO_BYTE2_TABLE(cs)'.
2989 * char-ucs.h (char_byte_table): New type.
2990 (XCHAR_BYTE_TABLE): New macro.
2991 (XSETCHAR_BYTE_TABLE): New macro.
2992 (CHAR_BYTE_TABLE_P): New macro.
2993 (GC_CHAR_BYTE_TABLE_P): New macro.
2994 (struct Lisp_Char_Byte_Table): New structure.
2995 (get_char_code_table): New interface.
2996 (Emchar_to_byte_table): Deleted.
2997 (get_byte_from_character_table): Deleted.
2998 (struct Lisp_Charset): Add `encoding_table'; delete
2999 `to_byte1_table' and `to_byte2_table'.
3000 (CHARSET_ENCODING_TABLE): New macro.
3001 (CHARSET_TO_BYTE1_TABLE): Deleted.
3002 (CHARSET_TO_BYTE2_TABLE): Deleted.
3003 (XCHARSET_ENCODING_TABLE): New macro.
3004 (XCHARSET_TO_BYTE1_TABLE): Deleted.
3005 (XCHARSET_TO_BYTE2_TABLE): Deleted.
3007 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3009 * mule-charset.c (syms_of_mule_charset): Delete charset alias
3010 `vietnamese-viscii-*'.
3012 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3014 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
3015 (Qvietnamese_viscii_upper): New variable.
3016 (Fdefine_charset_alias): New function.
3017 (syms_of_mule_charset): Add new function `define-charset-alias'.
3018 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
3019 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
3022 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
3024 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
3025 (MAX_CHAR_OBS_94x94): New macro.
3026 (breakup_char_1): Support obsolete XEmacs-UCS private code space
3029 * mule-charset.c (put_byte_from_character_table): Change unit size
3031 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
3033 (Fmake_reverse_direction_charset): Modify dummy argument of
3034 `make_charset' for non-UTF-2000 environment.
3036 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3038 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
3040 * mule-charset.c (destroy_byte_from_character_table): New macro.
3041 (latin_jisx0201_to_ucs): Deleted.
3042 (latin_iso8859_2_to_ucs): Deleted.
3043 (latin_iso8859_3_to_ucs): Deleted.
3044 (latin_iso8859_4_to_ucs): Deleted.
3045 (latin_iso8859_9_to_ucs): Deleted.
3046 (latin_viscii_lower_to_ucs): Deleted.
3047 (latin_viscii_upper_to_ucs): Deleted.
3048 (mark_charset): Mark `cs->decoding_table'.
3049 (Fcharset_mapping_table): Fix DOC-string.
3050 (Fset_charset_mapping_table): New function.
3051 (syms_of_mule_charset): Add nwe function
3052 `set-charset-mapping-table'.
3053 (complex_vars_of_mule_charset): Don't setup and use
3056 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
3058 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
3061 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
3063 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
3064 (Vcharset_katakana_jisx0208): New variable.
3065 (Qhiragana_jisx0208): New variable.
3066 (Qkatakana_jisx0208): New variable.
3067 (make_charset): Add new argument `byte_offset'.
3068 (charset_get_byte1): Modify for new coded-charset definition; use
3069 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3070 `XCHARSET_BYTE_OFFSET'.
3071 (Fmake_charset): Modify for `make_charset'.
3072 (Fmake_reverse_direction_charset): Likewise.
3073 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
3074 `katakana-jisx0208'.
3075 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
3076 `.' in font registry of charset `katakana-jisx0201',
3077 `latin-jisx0201', `vietnamese-viscii-lower' and
3078 `vietnamese-viscii-upper'; modify DOC-string of charset
3079 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
3080 registry of charset `japanese-jisx0208' not to use font for JIS
3081 X0208:1990; add new charset `hiragana-jisx0208' and
3082 `katakana-jisx0208'.
3084 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
3085 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
3086 (struct Lisp_Charset): Add `byte_offset'.
3087 (CHARSET_BYTE_OFFSET): New macro.
3088 (XCHARSET_UCS_MIN): New macro.
3089 (XCHARSET_UCS_MAX): New macro.
3090 (XCHARSET_CODE_OFFSET): New macro.
3091 (XCHARSET_BYTE_OFFSET): New macro.
3092 (MIN_CHAR_HIRAGANA): New macro.
3093 (MAX_CHAR_HIRAGANA): New macro.
3094 (MIN_CHAR_KATAKANA): New macro.
3095 (MAX_CHAR_KATAKANA): New macro.
3096 (MAKE_CHAR): Modify for new coded-charset definition; use
3097 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3098 `XCHARSET_BYTE_OFFSET'.
3100 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3102 * mule-charset.c (CHAR96): Deleted.
3103 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
3105 (latin_iso8859_2_to_ucs): Likewise.
3106 (latin_iso8859_3_to_ucs): Likewise.
3107 (latin_iso8859_4_to_ucs): Likewise.
3108 (latin_iso8859_9_to_ucs): Likewise.
3109 (latin_viscii_lower_to_ucs): Likewise.
3110 (latin_viscii_upper_to_ucs): Likewise.
3111 (latin_tcvn5712_to_ucs): Commented out.
3112 (make_charset): Change type of argument `decoding_table' from
3113 <Emchar*> to <Lisp_Object> [vector of characters].
3114 (Fmake_charset): Modify for `make_charset'.
3115 (Fmake_reverse_direction_charset): Likewise.
3116 (Fcharset_mapping_table): New function in UTF-2000.
3117 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
3119 (complex_vars_of_mule_charset): Modify for type change of
3120 `*_to_ucs'; modify for `make_charset'.
3122 * char-ucs.h (struct Lisp_Charset): Change type of
3123 `decoding_table' from <Emchar*> to <Lisp_Object>.
3124 (MAKE_CHAR): Modify for new specification of `decoding_table'.
3126 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3128 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
3129 error with non-UTF-2000-Mule.
3131 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
3133 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
3135 (Vcharset_chinese_cns11643_4): Likewise.
3136 (Vcharset_chinese_cns11643_5): Likewise.
3137 (Vcharset_chinese_cns11643_6): Likewise.
3138 (Vcharset_chinese_cns11643_7): Likewise.
3139 (Qchinese_cns11643_3): Likewise.
3140 (Qchinese_cns11643_4): Likewise.
3141 (Qchinese_cns11643_5): Likewise.
3142 (Qchinese_cns11643_6): Likewise.
3143 (Qchinese_cns11643_7): Likewise.
3144 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
3145 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3146 and `chinese-cns11643-7' to lisp/mule/chinese.el.
3147 (complex_vars_of_mule_charset): Likewise.
3149 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3151 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
3153 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
3154 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
3156 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3158 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
3160 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
3161 (breakup_char_1): Likewise.
3163 * text-coding.c (char_encode_iso2022): Keep designated charsets if
3164 one of them includes the specified character.
3166 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3168 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
3170 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3172 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
3174 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3176 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
3177 definition for non-UTF-2000 Mule.
3178 (latin_iso8859_3_to_ucs): Likewise.
3179 (latin_iso8859_4_to_ucs): Likewise.
3180 (latin_iso8859_9_to_ucs): Likewise.
3181 (latin_jisx0201_to_ucs): Likewise.
3182 (MIN_CHAR_THAI): Likewise.
3183 (MAX_CHAR_THAI): Likewise.
3184 (MIN_CHAR_GREEK): Likewise.
3185 (MAX_CHAR_GREEK): Likewise.
3186 (MIN_CHAR_HEBREW): Likewise.
3187 (MAX_CHAR_HEBREW): Likewise.
3188 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
3189 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
3190 (MIN_CHAR_CYRILLIC): Likewise.
3191 (MAX_CHAR_CYRILLIC): Likewise.
3193 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3195 * char-ucs.h (breakup_char_1): Use
3196 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
3197 thai-tis620 and katakana-jisx0201 area.
3199 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3201 * char-ucs.h (breakup_char_1): Use
3202 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
3205 * text-coding.c (reset_encoding_stream): Fixed.
3206 (char_encode_ucs4): Delete `& 255'.
3208 * char-ucs.h (breakup_char_1): Use
3209 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
3211 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3213 * file-coding.c (Fmake_coding_system): Don't set up
3214 `codesys->fixed.size'.
3215 (encode_coding_no_conversion): Don't refer
3216 `str->codesys->fixed.size'.
3218 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3220 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
3221 (latin_a_char_to_byte1): Deleted.
3222 (latin_a_char_to_byte2): Deleted.
3224 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3226 * mule-charset.c (make_charset): Add new argument `ucs_min',
3227 `ucs_max' and `code_offset'.
3228 (charset_get_byte1): New implementation [delete specific charset
3229 depended implementations].
3230 (Fmake_charset): Modify for `make_charset'.
3231 (Fmake_reverse_direction_charset): Likewise.
3232 (complex_vars_of_mule_charset): Likewise.
3234 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
3236 (CHARSET_UCS_MIN): New macro.
3237 (CHARSET_UCS_MAX): New macro.
3238 (CHARSET_CODE_OFFSET): New macro.
3239 (MAKE_CHAR): Delete charset depended definitions [except
3242 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3244 * char-ucs.h (breakup_char_1): Use
3245 `Vdefault_coded_charset_priority_list' for C0-Controls,
3246 Basic-Latin, C1-Controls and Latin-1-Supplement area.
3248 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3250 * char-ucs.h (charset_get_byte1): New function.
3251 (XCHARSET_GET_BYTE1): Deleted.
3252 (charset_get_byte2): New function.
3253 (XCHARSET_GET_BYTE2): Deleted.
3254 (Vdefault_coded_charset_priority_list): New external variable.
3255 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3256 `Vdefault_preferred_coded_charset_list'.
3258 * mule-charset.c (charset_get_byte1): New function.
3259 (charset_get_byte2): New function.
3260 (Vdefault_coded_charset_priority_list): New variable.
3261 (vars_of_mule_charset): Add new variable
3262 `default-coded-charset-priority-list'.
3264 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3266 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3267 (XCHARSET_GET_BYTE2): New inline function.
3268 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3269 `XCHARSET_GET_BYTE2'.
3271 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3273 * mule-charset.c (make_charset): Initialize
3274 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3275 NULL if table is not defined.
3277 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3279 * text-coding.c (char_encode_shift_jis): Use
3280 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3281 `ucs_to_latin_jisx0201'.
3283 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3284 (ucs_to_latin_iso8859_2): Deleted.
3285 (ucs_to_latin_iso8859_3): Deleted.
3286 (ucs_to_latin_iso8859_4): Deleted.
3287 (ucs_to_latin_iso8859_9): Deleted.
3288 (ucs_to_latin_viscii_lower): Deleted.
3289 (ucs_to_latin_viscii_upper): Deleted.
3290 (ucs_to_latin_tcvn5712): Deleted.
3291 (make_charset): Add new argument `decoding_table'; set up
3292 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3293 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3294 `decoding_table' is defined in UTF-2000.
3295 (Fmake_charset): Modify for `make_charset'.
3296 (Fmake_reverse_direction_charset): Likewise.
3297 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3298 and `GENERATE_96_SET'.
3300 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3301 (ucs_to_latin_jisx0201): Deleted.
3302 (latin_iso8859_2_to_ucs): Deleted.
3303 (ucs_to_latin_iso8859_2): Deleted.
3304 (latin_iso8859_3_to_ucs): Deleted.
3305 (ucs_to_latin_iso8859_3): Deleted.
3306 (latin_iso8859_4_to_ucs): Deleted.
3307 (ucs_to_latin_iso8859_4): Deleted.
3308 (latin_iso8859_9_to_ucs): Deleted.
3309 (ucs_to_latin_iso8859_9): Deleted.
3310 (latin_viscii_lower_to_ucs): Deleted.
3311 (ucs_to_latin_viscii_lower): Deleted.
3312 (latin_viscii_upper_to_ucs): Deleted.
3313 (ucs_to_latin_viscii_upper): Deleted.
3314 (struct Lisp_Charset): Renamed `encoding_table' to
3315 `to_byte1_table'; add `to_byte2_table'.
3316 (CHARSET_DECODING_TABLE): New macro.
3317 (CHARSET_TO_BYTE1_TABLE): New macro.
3318 (CHARSET_TO_BYTE2_TABLE): New macro.
3319 (XCHARSET_DECODING_TABLE): New macro.
3320 (XCHARSET_TO_BYTE1_TABLE): New macro.
3321 (XCHARSET_TO_BYTE2_TABLE): New macro.
3322 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3324 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3325 don't use `ucs_to_*' tables.
3327 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3329 * text-coding.c (Fmake_coding_system): Don't set up
3330 `codesys->fixed.size'.
3331 (encode_coding_no_conversion): Use `if' instead of `switch'.
3333 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3335 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3337 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3338 (Fmake_charset): Modify for `make_charset'.
3339 (Fmake_reverse_direction_charset): Likewise.
3340 (complex_vars_of_mule_charset): Likewise.
3342 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3344 * text-coding.c (char_encode_shift_jis): Use table
3345 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3347 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3349 * text-coding.c (text_encode_generic): Use `if' instead of
3351 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3354 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3356 * text-coding.c (encode_coding_sjis): Deleted.
3357 (char_encode_shift_jis): New function.
3358 (char_finish_shift_jis): New function.
3359 (reset_encoding_stream): Set up `encode_char' and `finish' for
3360 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3361 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3362 (char_encode_utf8): Treat `eol_type'.
3364 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3366 * file-coding.c (decode_coding_iso2022): Use
3367 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3369 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3371 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3374 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3376 * char-lb.h (CHAR_COLUMNS): New macro.
3378 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3380 * text-coding.c (char_encode_ucs4): New function.
3381 (char_finish_ucs4): New function.
3382 (encode_coding_ucs4): Deleted.
3383 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3384 (text_encode_generic): Delete local variable `charset' and `half'.
3385 (ucs_to_mule_table): Deleted.
3386 (mule_to_ucs_table): Deleted.
3387 (Fset_ucs_char): Deleted.
3388 (ucs_to_char): Deleted.
3389 (Fucs_char): Deleted.
3390 (Fset_char_ucs): Deleted.
3391 (Fchar_ucs): Deleted.
3392 (decode_ucs4): Deleted.
3393 (mule_char_to_ucs4): Deleted.
3394 (encode_ucs4): Deleted.
3395 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3396 (decode_coding_utf8): Likewise.
3397 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3398 (char_encode_iso2022): Fixed.
3399 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3400 `Fset_char_ucs' and `Fchar_ucs'.
3401 (complex_vars_of_file_coding): Don't initialize
3402 `ucs_to_mule_table'.
3404 * objects-tty.c (tty_initialize_font_instance): Don't use
3407 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
3410 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
3411 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3413 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
3414 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3415 (emchar_string_displayed_columns): Likewise.
3417 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
3418 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3419 (string_column_at_point): Likewise.
3420 (Fmove_to_column): Likewise.
3422 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
3423 `encoding_table' and `decoding_table'.
3424 (CHARSET_REP_BYTES): Deleted.
3425 (XCHARSET_REP_BYTES): Deleted.
3426 (XCHARSET_COLUMNS): Deleted.
3427 (CHAR_COLUMNS): New macro.
3428 (lookup_composite_char): Deleted unconditionally.
3429 (composite_char_string): Likewise.
3431 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3433 * char-ucs.h (Emchar_to_byte_table): New type.
3434 (get_byte_from_character_table): New function interface.
3435 (Vcharset_latin_jisx0201): New variable.
3436 (latin_jisx0201_to_ucs): New variable.
3437 (ucs_to_latin_jisx0201): New variable.
3438 (Vcharset_latin_iso8859_2): New variable.
3439 (latin_iso8859_2_to_ucs): New variable.
3440 (ucs_to_latin_iso8859_2): New variable.
3441 (Vcharset_latin_iso8859_3): New variable.
3442 (latin_iso8859_3_to_ucs): New variable.
3443 (ucs_to_latin_iso8859_3): New variable.
3444 (Vcharset_latin_iso8859_4): New variable.
3445 (latin_iso8859_4_to_ucs): New variable.
3446 (ucs_to_latin_iso8859_4): New variable.
3447 (Vcharset_latin_iso8859_9): New variable.
3448 (latin_iso8859_9_to_ucs): New variable.
3449 (ucs_to_latin_iso8859_9): New variable.
3450 (Vcharset_latin_viscii_lower): New variable.
3451 (latin_viscii_lower_to_ucs): New variable.
3452 (ucs_to_latin_viscii_lower): New variable.
3453 (Vcharset_latin_viscii_upper): New variable.
3454 (latin_viscii_upper_to_ucs): New variable.
3455 (ucs_to_latin_viscii_upper): New variable.
3456 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
3457 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
3458 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
3459 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
3460 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
3461 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
3462 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
3463 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
3464 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
3465 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
3467 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
3468 (Vcharset_latin_viscii_upper): New variable.
3469 (make_byte_from_character_table): New function.
3470 (put_byte_from_character_table): New function.
3471 (get_byte_from_character_table): New function.
3472 (CHAR96): New macro.
3473 (ucs_to_latin_jisx0201): New variable.
3474 (latin_jisx0201_to_ucs): New variable.
3475 (ucs_to_latin_iso8859_2): New variable.
3476 (latin_iso8859_2_to_ucs): New variable.
3477 (ucs_to_latin_iso8859_3): New variable.
3478 (latin_iso8859_3_to_ucs): New variable.
3479 (ucs_to_latin_iso8859_4): New variable.
3480 (latin_iso8859_4_to_ucs): New variable.
3481 (ucs_to_latin_iso8859_9): New variable.
3482 (latin_iso8859_9_to_ucs): New variable.
3483 (ucs_to_latin_viscii_lower): New variable.
3484 (latin_viscii_lower_to_ucs): New variable.
3485 (ucs_to_latin_viscii_upper): New variable.
3486 (latin_viscii_upper_to_ucs): New variable.
3487 (ucs_to_latin_tcvn5712): New variable.
3488 (latin_tcvn5712_to_ucs): New variable.
3489 (Qlatin_viscii_lower): New variable.
3490 (Qlatin_viscii_upper): New variable.
3491 (syms_of_mule_charset): Set up new symbol
3492 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
3493 (complex_vars_of_mule_charset): Set up new charset
3494 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
3495 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
3496 `ucs_to_<CHARSET>' tables.
3498 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3500 * text-coding.c: New file.
3502 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3504 * mule-charset.c (Fmake_char): Fix problem of 256-set.
3506 * char-ucs.h (Vcharset_ucs_bmp): New variable.
3507 (MAKE_CHAR): Modify for `ucs-bmp'.
3508 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
3509 non-MULE characters of BMP.
3511 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
3513 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3516 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
3519 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
3520 - Include character.h for `CHAR_ASCII_P'.
3522 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
3524 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
3525 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
3527 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
3528 (BYTE_C0_P): Likewise.
3529 (BYTE_C1_P): Likewise.
3530 (Lstream_get_emchar_1): Likewise.
3531 (Lstream_fput_emchar): Likewise.
3532 (Lstream_funget_emchar): Likewise.
3533 (copy_internal_to_external): Likewise.
3534 (copy_external_to_internal): Likewise.
3536 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
3537 (BYTE_C0_P): Likewise.
3538 (BYTE_C1_P): Likewise.
3539 (Lstream_get_emchar_1): Likewise.
3540 (Lstream_fput_emchar): Likewise.
3541 (Lstream_funget_emchar): Likewise.
3542 (copy_internal_to_external): Likewise.
3543 (copy_external_to_internal): Likewise.
3545 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
3546 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3548 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
3549 (BYTE_ASCII_P): Moved to mb-1byte.h.
3551 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
3553 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
3555 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
3556 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
3557 (VALID_CHARPTR_P): Moved to mb-*byte.h.
3558 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3559 (VALIDATE_CHARPTR_FORWARD): Likewise.
3560 (simple_charptr_emchar): Moved to mb-multibyte.h.
3561 (simple_set_charptr_emchar): Likewise.
3562 (simple_charptr_copy_char): Likewise.
3563 (non_ascii_charptr_emchar): Likewise.
3564 (non_ascii_set_charptr_emchar): Likewise.
3565 (non_ascii_charptr_copy_char): Likewise.
3566 (charptr_emchar): Moved to mb-*byte.h.
3567 (set_charptr_emchar): Likewise.
3568 (charptr_copy_char): Likewise.
3570 * mb-1byte.h, mb-multibyte.h: New files.
3572 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3574 * mb-utf-8.h (MULTIBYTE): New macro.
3575 (MAX_EMCHAR_LEN): Moved from buffer.h.
3576 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
3578 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
3580 * mb-lb.h, multibyte.h: New files.
3582 * char-1byte.h (Charset_ID): Moved from buffer.h.
3583 (MIN_LEADING_BYTE): Likewise.
3584 (LEADING_BYTE_ASCII): Likewise.
3585 (NUM_LEADING_BYTES): Likewise.
3586 (CHARSETP): Likewise.
3587 (CHARSET_BY_LEADING_BYTE): Likewise.
3588 (XCHARSET_LEADING_BYTE): Likewise.
3589 (XCHARSET_GRAPHIC): Likewise.
3590 (XCHARSET_COLUMNS): Likewise.
3591 (XCHARSET_DIMENSION): Likewise.
3592 (CHAR_CHARSET): Likewise.
3593 (CHAR_LEADING_BYTE): Likewise.
3594 (BREAKUP_CHAR): Likewise.
3595 (Vcharset_ascii): Likewise.
3597 * buffer.h: Include multibyte.h unconditionally.
3598 (VALID_CHARPTR_P): Moved to multibyte.h.
3599 (ASSERT_VALID_CHARPTR): Likewise.
3600 (REAL_INC_CHARPTR): Likewise.
3601 (REAL_INC_CHARBYTIND): Likewise.
3602 (REAL_DEC_CHARPTR): Likewise.
3603 (INC_CHARPTR): Likewise.
3604 (INC_CHARBYTIND): Likewise.
3605 (DEC_CHARPTR): Likewise.
3606 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3607 (VALIDATE_CHARPTR_FORWARD): Likewise.
3608 (charptr_n_addr): Likewise.
3609 (MAX_EMCHAR_LEN): Moved to mb-*.h.
3610 (simple_charptr_emchar): Moved to multibyte.h.
3611 (simple_set_charptr_emchar): Likewise.
3612 (simple_charptr_copy_char): Likewise.
3613 (non_ascii_charptr_emchar): Likewise.
3614 (non_ascii_set_charptr_emchar): Likewise.
3615 (non_ascii_charptr_copy_char): Likewise.
3616 (charptr_emchar): Likewise.
3617 (set_charptr_emchar): Likewise.
3618 (charptr_copy_char): Likewise.
3619 (charptr_emchar_n): Likewise.
3620 (Charset_ID): Moved to char-1byte.h.
3621 (Vcharset_ascii): Likewise.
3622 (CHAR_CHARSET): Likewise.
3623 (CHAR_LEADING_BYTE): Likewise.
3624 (LEADING_BYTE_ASCII): Likewise.
3625 (NUM_LEADING_BYTES): Likewise.
3626 (MIN_LEADING_BYTE): Likewise.
3627 (CHARSETP): Likewise.
3628 (CHARSET_BY_LEADING_BYTE): Likewise.
3629 (XCHARSET_LEADING_BYTE): Likewise.
3630 (XCHARSET_GRAPHIC): Likewise.
3631 (XCHARSET_COLUMNS): Likewise.
3632 (XCHARSET_DIMENSION): Likewise.
3633 (BREAKUP_CHAR): Likewise.
3635 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3637 * character.h: Add document about interface for characters.
3639 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
3640 (MAKE_CHAR): Delete comment about
3641 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
3642 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
3643 (BREAKUP_CHAR): Modify name of arguments.
3644 (CHAR_CHARSET): Modify name of argument.
3646 * buffer.h: Delete document about Emchar accessors.
3648 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3650 * character.h (CHAR_INTP): Moved from buffer.h
3651 (CHAR_OR_CHAR_INTP): Likewise.
3652 (XCHAR_OR_CHAR_INT): Likewise.
3653 (CHECK_CHAR_COERCE_INT): Likewise.
3655 * buffer.h (CHAR_INTP): Moved to character.h
3656 (CHAR_OR_CHAR_INTP): Likewise.
3657 (XCHAR_OR_CHAR_INT): Likewise.
3658 (CHECK_CHAR_COERCE_INT): Likewise.
3660 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3663 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
3664 - Include char-1byte.h, char-lb.h or char-ucs.h.
3666 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
3668 * buffer.h: Include character unconditionally.
3669 (valid_char_p): Moved to char-*.h.
3670 (non_ascii_valid_char_p): Moved to char-lb.h.
3672 * char-1byte.h, char-lb.h, char-ucs.h: New files.
3674 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3676 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
3677 in UTF-2000 because it is not ported yet and not to use
3678 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
3679 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
3680 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
3682 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
3683 (CHAR_ASCII_P): Moved from character.h.
3685 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
3686 (CHAR_ASCII_P): Likewise.
3687 (CHAR_FIELD1_MASK): Deleted.
3688 (CHAR_FIELD2_MASK): Deleted.
3689 (CHAR_FIELD3_MASK): Deleted.
3690 (MAX_CHAR_BASIC_LATIN): New macro.
3691 (CHAR_FIELD1): Deleted.
3692 (CHAR_FIELD2_INTERNAL): Deleted.
3693 (CHAR_FIELD3_INTERNAL): Deleted.
3694 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
3695 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
3696 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
3697 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
3698 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
3699 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
3700 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
3701 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
3702 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
3703 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
3704 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
3705 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
3706 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
3707 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
3708 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
3709 (MIN_CHAR_COMPOSITION): Deleted.
3710 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
3711 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
3713 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
3715 * buffer.h: Include mb-utf-8.h in UTF-2000.
3717 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
3719 * mb-utf-8.h: New file.
3721 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
3723 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
3726 * mule-charset.h, buffer.h (Charset_ID): New type.
3728 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3730 * mule-canna.c (c2mu): Use `MAKE_CHAR',
3731 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
3732 instead of `MULE_CHAR_PRIVATE_OFFSET',
3733 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
3734 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
3735 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
3737 * character.h (Vcharset_japanese_jisx0212): New variable
3740 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3742 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
3743 (charset_by_attributes): Delete array about direction.
3744 (latin_a_char_to_charset): New variable in UTF-2000.
3745 (latin_a_char_to_byte1): New variable in UTF-2000.
3746 (latin_a_char_to_byte2): New variable in UTF-2000.
3747 (Qucs_bmp): New variable.
3748 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
3750 (next_allocated_2_byte_leading_byte): Likewise.
3751 (non_ascii_set_charptr_emchar): Likewise.
3752 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
3753 `CHARSET_TYPE_256X256' in UTF-2000; modify for
3754 `charset_by_attributes'.
3755 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
3756 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
3757 and `CHARSET_BY_LEADING_BYTE'.
3758 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
3759 `utf-2000-version' to `vars_of_mule_charset'.
3760 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
3761 define `leading-code-private-11' in UTF-2000; move setting of
3762 `utf-2000-version' from `syms_of_mule_charset'.
3763 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
3766 * character.h (Charset_ID): New type.
3767 (LEADING_BYTE_UCS_BMP): New macro.
3768 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
3769 (CHARSET_ID_OFFSET_94): New macro.
3770 (MIN_CHARSET_ID_PRIVATE_94): New macro.
3771 (MAX_CHARSET_ID_PRIVATE_94): New macro.
3772 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
3774 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
3775 (LEADING_BYTE_LATIN_JISX0201): Likewise.
3776 (CHARSET_ID_OFFSET_96): New macro.
3777 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
3778 CHARSET_ID_OFFSET_96 and final-byte.
3779 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
3780 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
3781 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
3782 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
3783 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
3784 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
3785 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
3786 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
3787 (LEADING_BYTE_THAI_TIS620): Likewise.
3788 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
3789 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
3790 (CHARSET_ID_OFFSET_94x94): New macro.
3791 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
3792 CHARSET_ID_OFFSET_94x94 and final-byte.
3793 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
3794 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
3795 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
3796 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
3797 (LEADING_BYTE_CHINESE_GB2312): Likewise.
3798 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
3799 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
3800 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
3801 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
3802 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
3803 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
3804 (CHARSET_TYPE_128X128): New macro.
3805 (CHARSET_TYPE_256X256): New macro.
3806 (XCHARSET_PRIVATE_P): Delete unconditionally.
3807 (charset_by_attributes): Delete array about direction.
3808 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
3809 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
3810 (MIN_CHAR_94): New macro.
3811 (MAX_CHAR_94): New macro.
3812 (MIN_CHAR_96): New macro.
3813 (MAX_CHAR_96): New macro.
3814 (MIN_CHAR_94x94): New macro.
3815 (MAX_CHAR_94x94): New macro.
3816 (MIN_CHAR_96x96): New macro.
3817 (MAX_CHAR_96x96): New macro.
3818 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
3819 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3820 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
3822 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
3823 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
3824 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
3825 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
3826 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
3827 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
3828 `XCHARSET_LEADING_BYTE' to make code-point.
3829 (latin_a_char_to_charset): New variable.
3830 (latin_a_char_to_byte1): New variable.
3831 (latin_a_char_to_byte2): New variable.
3832 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
3833 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
3834 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
3836 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
3837 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
3838 (find_charsets_in_emchar_string): Likewise.
3839 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
3841 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
3843 (decode_coding_iso2022): Likewise.
3845 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
3848 * redisplay.c (redisplay_text_width_emchar_string): Use
3849 `Charset_ID' instead of `unsigned char'.
3850 (redisplay_frame_text_width_string): Likewise.
3852 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
3855 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
3856 instead of `unsigned char'.
3857 (face_cachel_charset_font_metric_info): Likewise.
3859 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
3860 (get_non_ascii_char_table_value): Likewise.
3861 (get_char_table): Likewise.
3862 (put_char_table): Likewise.
3863 (map_over_other_charset): Likewise.
3864 (map_char_table): Likewise.
3866 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
3867 instead of `unsigned char'.
3869 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
3871 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
3872 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
3874 * mule-charset.c (leading_code_private_11): Don't define in
3877 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
3878 in UTF-2000 because it is not ported yet and not to use
3879 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
3881 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
3883 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
3885 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3887 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
3890 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
3891 of unsigned char to store leading-byte.
3893 * chartab.c (get_non_ascii_char_table_value): Don't use
3894 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
3896 * file-coding.c (encode_coding_big5): Delete bogus implementation
3899 * character.h (LEADING_BYTE_*): Delete definition for
3901 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
3902 (LEADING_BYTE_PREFIX_P): Deleted.
3903 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
3904 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
3905 (BUFBYTE_LEADING_BYTE_P): Deleted.
3906 (CHARSET_PRIVATE_P): Deleted unconditionally.
3907 (rep_bytes_by_first_byte): Deleted unconditionally.
3908 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
3909 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
3910 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3911 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
3912 (CHAR_FIELD2): Deleted.
3913 (CHAR_FIELD3): Deleted.
3914 (MAKE_CHAR): Delete definition for non-UTF-2000.
3915 (BREAKUP_CHAR_1_UNSAFE): Deleted.
3916 (breakup_char_1): New implementation.
3917 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
3918 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
3920 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3922 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
3925 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3927 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
3928 (CHARSET_PRIVATE_P): Likewise.
3929 (XCHARSET_PRIVATE_P): Likewise.
3930 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
3932 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
3934 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
3936 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3938 * character.h (LEADING_BYTE_*): Changed in UTF2000.
3939 (NUM_LEADING_BYTES): Changed from 128 to 256.
3940 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3941 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
3943 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3945 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
3947 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
3948 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
3949 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
3950 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
3951 (Qchinese_cns11643_3): New variable in UTF2000.
3952 (Qchinese_cns11643_4): New variable in UTF2000.
3953 (Qchinese_cns11643_5): New variable in UTF2000.
3954 (Qchinese_cns11643_6): New variable in UTF2000.
3955 (Qchinese_cns11643_7): New variable in UTF2000.
3956 (syms_of_mule_charset): Define `chinese-cns11643-3',
3957 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3958 and `chinese-cns11643-7' in UTF2000.
3959 (vars_of_mule_charset): Initialize
3960 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
3962 (complex_vars_of_mule_charset): Setup charset
3963 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
3964 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
3966 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3968 * mule-charset.c: Move setting for `leading-code-private-11' from
3969 `syms_of_mule_charset' to `vars_of_mule_charset'.
3971 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3973 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
3974 and `NUM_LEADING_BYTES' in assert.
3976 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3978 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
3980 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
3981 `NUM_LEADING_BYTES' instead of 128.
3983 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3985 * mule-charset.h (charset_by_leading_byte): Use
3986 `NUM_LEADING_BYTES' instead of 128.
3987 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
3989 * mule-charset.c (charset_by_leading_byte): Use
3990 `NUM_LEADING_BYTES' instead of 128.
3991 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
3993 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
3996 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3998 * mule-charset.c (syms_of_mule_charset): Update to
4001 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4003 * file-coding.c (encode_coding_sjis): New implementation for
4004 UTF2000. (decode_coding_sjis): Ditto.
4006 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4008 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
4009 Don't define in UTF2000.
4011 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
4014 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4015 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
4018 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4020 * config.h.in (CHAR_IS_UCS4): New macro.
4022 * mule-charset.c (rep_bytes_by_first_byte): Modify for
4023 conventional MULE representation.
4024 (syms_of_mule_charset): Update to 0.3 (Imamiya).
4026 * mule-charset.h: Reverted to original.
4028 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4029 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
4030 "mule-charset.h" if CHAR_IS_UCS4 is defined.
4032 * character.h: New file.
4034 * file-coding.c (Fmake_coding_system): Set 1 to
4035 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
4037 (encode_coding_no_conversion): New implementation for UTF2000.
4039 * file-coding.h (struct Lisp_Coding_System): Add new member
4042 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
4044 * file-coding.c (decode_coding_iso2022): Code-point arguments of
4045 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
4046 (encode_coding_iso2022): New implementation for UTF2000.
4048 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4050 * mule-canna.c (c2mu): New implementation for UTF2000.
4053 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4055 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
4057 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4059 * file-coding.c (reset_encoding_stream): Set 0 to
4060 `str->iso2022.current_char_boundary' in UTF2000.
4061 (encode_utf8): Don't define in UTF2000.
4062 (encode_coding_utf8): New implementation for UTF-8 representation
4064 (complex_vars_of_file_coding): Define coding-system `utf-8'.
4066 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4068 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
4070 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
4072 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4074 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
4076 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
4077 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
4078 as UTF-8 in UTF2000.
4079 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
4080 (non_ascii_valid_char_p): Don't define in UTF2000.
4081 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
4082 (Lstream_get_emchar_1): Likewise.
4083 (utf-2000-version): New variable in UTF2000.
4085 * lread.c (read_escape): Add new reader `u'.
4087 * insdel.c (three_to_one_table): Don't define in UTF2000.
4088 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
4089 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4091 (bytind_to_bufpos_func): Likewise.
4092 (buffer_mule_signal_inserted_region): Likewise.
4093 (vars_of_insdel): Don't initialize `three_to_one_table'.
4094 (init_buffer_text): Use `buf->text->mule_size' instead of
4095 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4098 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
4099 UTF-8 representation in UTF2000.
4100 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
4101 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
4102 (decode_coding_iso2022): Don't define local variable `lb' in
4103 UTF2000; don't use LEADING_BYTE in UTF2000; use
4104 `DECODE_ADD_UCS_CHAR' in UTF2000.
4105 (convert_to_external_format): Decode as UTF-8 in UTF2000.
4107 * config.h.in (UTF2000): New macro.
4109 * buffer.h (struct buffer_text): Add new member `mule_size' and
4110 don't add `mule_shifter' and `mule_three_p' in UTF2000.
4111 (valid_char_p): Return always 1 in UTF2000.
4112 (MAX_EMCHAR_LEN): 6 in UTF2000.
4113 (three_to_one_table): Don't define in UTF2000.
4114 (real_bufpos_to_bytind): Modify for UTF-8 representation in
4116 (real_bytind_to_bufpos): Likewise.
4118 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
4120 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4122 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
4123 representation change.
4124 (Vutf_2000_version): New variable.
4125 (leading_code_private_11): New variable.
4126 (syms_of_mule_charset): Add new variables `utf-2000-version' and
4127 `leading-code-private-11'.
4129 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
4130 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
4131 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
4132 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
4133 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
4134 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
4135 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
4136 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
4137 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
4138 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
4139 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
4140 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
4141 (MIN_CHAR_GREEK): New macro.
4142 (MAX_CHAR_GREEK): New macro.
4143 (MIN_CHAR_CYRILLIC): New macro.
4144 (MAX_CHAR_CYRILLIC): New macro.
4145 (MIN_CHAR_HEBREW): New macro.
4146 (MAX_CHAR_HEBREW): New macro.
4147 (MIN_CHAR_THAI): New macro.
4148 (MAX_CHAR_THAI): New macro.
4149 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
4150 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
4151 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
4152 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
4153 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
4154 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
4155 (CHAR_FIELD2): New inline function.
4156 (CHAR_FIELD3): New inline function.
4157 (MULE_CHAR_PRIVATE_OFFSET): New macro.
4158 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
4159 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
4160 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
4161 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
4162 (MIN_CHAR_COMPOSITION): Likewise.
4163 (CHAR_LEADING_BYTE): Modified for character representation change.
4164 (MAKE_CHAR): Likewise.
4166 * lisp.h (Vcharset_latin_iso8859_1): New variable.
4167 (Vcharset_greek_iso8859_7): Likewise.
4168 (Vcharset_cyrillic_iso8859_5): Likewise.
4169 (Vcharset_hebrew_iso8859_8): Likewise.
4170 (Vcharset_thai_tis620): Likewise.
4171 (Vcharset_katakana_jisx0201): Likewise.
4173 2001-02-08 Martin Buchholz <martin@xemacs.org>
4175 * XEmacs 21.2.44 "Thalia" is released.
4177 2001-02-06 Martin Buchholz <martin@xemacs.org>
4179 Fixes crashes in kill-emacs on some systems.
4180 * process-unix.c (unix_kill_child_process):
4181 It's OK for kill() to fail with ESRCH.
4183 2001-02-07 Martin Buchholz <martin@xemacs.org>
4185 Contortions to make .gdbinit tricks work on most systems.
4186 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
4187 * alloc.c (dbg_valmask): Make non-const.
4188 * alloc.c (dbg_typemask): Make non-const.
4189 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
4190 * alloc.c (dbg_valbits): Make non-const.
4191 * alloc.c (dbg_gctypebits): Make non-const.
4192 * .gdbinit (decode_object): Make it work with AIX cc.
4194 2001-02-06 Martin Buchholz <martin@xemacs.org>
4196 * elhash.c (make_general_lisp_hash_table):
4197 Use simpler and more efficient calloc to clear entries.
4199 2001-02-07 Martin Buchholz <martin@xemacs.org>
4201 * window.c (window_scroll): Work around an AIX C compiler bug.
4202 Fixes 'scroll-up' does nothing problem with xlC.
4204 2001-02-05 Martin Buchholz <martin@xemacs.org>
4206 * .gdbinit: Remove obsolete comment.
4208 2001-01-31 Mike Alexander <mta@arbortext.com>
4210 * select.c (Fown_selection_internal): Set owned_p for device
4213 2001-02-01 Martin Buchholz <martin@xemacs.org>
4216 "not" cannot be used as a macro name as it is an operator in C++
4217 * config.h.in: Stop #defining `not'.
4218 * chartab.c (check_category_char): not ==> not_p
4219 * chartab.h: Likewise.
4220 * regex.c (re_match_2_internal): Likewise.
4222 2001-02-02 Martin Buchholz <martin@xemacs.org>
4224 * lisp-disunion.h: Fix up comments.
4226 2001-01-31 Martin Buchholz <martin@xemacs.org>
4228 * keymap.c (define_key_check_and_coerce_keysym):
4230 Support mouse-6 and mouse-7 bindings in the obvious way.
4232 2001-02-01 Martin Buchholz <martin@xemacs.org>
4234 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
4236 2001-01-30 Martin Buchholz <martin@xemacs.org>
4238 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
4239 Previous patch missed DEFVAR_INT_MAGIC.
4240 Make sure future DEFVAR_foo use correct types.
4241 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
4242 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
4243 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
4244 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
4245 * (DEFVAR_INT): Likewise.
4246 * redisplay.c (vertical_clip): Should be of type Fixnum.
4247 * redisplay.c (horizontal_clip): Likewise.
4248 * lisp.h (dump_add_opaque_int): New.
4249 (dump_add_opaque_fixnum): New.
4251 2001-01-29 Andy Piper <andy@xemacs.org>
4253 * glyphs-widget.c (check_valid_int_or_function): allow symbols
4254 since they can be eval'ed
4256 2001-01-29 Martin Buchholz <martin@xemacs.org>
4258 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
4259 Oops, XEmacs redefines `class'. Use `typename' instead.
4261 2001-01-28 Martin Buchholz <martin@xemacs.org>
4263 * dumper.c: Fix C++ compile errors.
4265 2001-01-29 Martin Buchholz <martin@xemacs.org>
4267 * tparam.c: Use correct prototypes.
4269 2001-01-28 Martin Buchholz <martin@xemacs.org>
4271 * sysproc.h: #include util.h for NetBSD's openpty.
4273 2001-01-27 Martin Buchholz <martin@xemacs.org>
4275 More 64-bit correctness.
4276 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
4277 Use a typedef `fixnum' for the type used for DEFVAR_INT.
4279 This finally finishes the 64-bit SGI port.
4280 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
4281 * symbols.c: Fix up comments and type casts.
4282 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
4283 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
4284 * symeval.h (Fixnum): New type.
4285 * symeval.h (symbol_value_type): Fix up comment.
4301 * mule-canna.c: A million DEFVAR_INTs here...
4302 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
4315 s/int/Fixnum/g in DEFVAR_INT declarations.
4317 2001-01-26 Martin Buchholz <martin@xemacs.org>
4319 Port pdump to SGI alignment-sensitive environment.
4320 Lisp Object sizeof methods now return aligned sizes. Rely on that.
4321 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
4323 Define and use aligned reading and writing macros.
4324 Use buffered stdio instead of posix i/o for faster dumping.
4325 Eliminate kludgy 256 byte space for header.
4326 Read and write from dump file using structs for alignment safety.
4327 * dumper.c (pdump_align_stream): New.
4328 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
4329 * dumper.c (PDUMP_READ_ALIGNED): New.
4330 * dumper.c (PDUMP_WRITE_ALIGNED): New.
4331 * dumper.c (pdump_static_Lisp_Object): New struct.
4332 * dumper.c (pdump_static_pointer): New struct.
4333 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
4334 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
4335 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
4336 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
4338 * dumper.c (pdump_backtrace):
4339 * dumper.c (pdump_get_indirect_count):
4340 * dumper.c (pdump_register_object):
4341 * dumper.c (pdump_register_struct):
4342 * dumper.c (pdump_reloc_one):
4343 * dumper.c (pdump_scan_by_alignment):
4344 * dumper.c (pdump_dump_from_root_struct_ptrs):
4345 * dumper.c (pdump_dump_opaques):
4346 * dumper.c (pdump_dump_rtables):
4347 * dumper.c (pdump_dump_from_root_objects):
4349 * dumper.c (pdump_load_finish):
4350 Use aligned reading and writing.
4352 * dumper.c (pdump_free): Make static.
4353 * dumper.c (pdump_hFile): Likewise.
4354 * dumper.c (pdump_hMap): Likewise.
4356 2001-01-26 Martin Buchholz <martin@xemacs.org>
4358 * XEmacs 21.2.43 "Terspichore" is released.
4360 2001-01-25 Martin Buchholz <martin@xemacs.org>
4362 Type fiddling for window_config.saved_windows_count
4363 * window.c (struct window_config):
4364 Make saved_windows_count member unsigned.
4365 * window.c (sizeof_window_config_for_n_windows):
4366 Make parameter unsigned.
4367 * window.c (mark_window_config):
4368 * window.c (window_config_equal):
4369 * window.c (free_window_configuration):
4370 * window.c (Fset_window_configuration):
4371 * window.c (count_windows):
4372 * window.c (Fcurrent_window_configuration):
4373 * window.c (reinit_vars_of_window):
4374 Update all callers and users.
4376 2001-01-25 Martin Buchholz <martin@xemacs.org>
4378 Alignment correctness for flexible arrays.
4379 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
4380 Make alignment-correct. Add interesting comments.
4381 * alloc.c (size_vector):
4382 * alloc.c (make_vector_internal):
4383 * alloc.c (make_bit_vector_internal):
4384 * alloc.c (sweep_bit_vectors_1):
4385 * fns.c (size_bit_vector):
4386 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
4387 * window.c (sizeof_window_config_for_n_windows):
4388 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
4390 2001-01-24 Martin Buchholz <martin@xemacs.org>
4392 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
4394 2001-01-23 Andy Piper <andy@xemacs.org>
4396 * select.c (Fown_selection_internal): pass owned_p
4398 * select-msw.c (mswindows_own_selection): New Signature.
4400 * console.h (struct console_methods): add owned_p to
4403 * select-x.c (x_own_selection): pass owned_p
4404 (hack_motif_clipboard_selection): use owned_p
4405 (vars_of_select_x): new variable -
4406 x_selection_strict_motif_ownership.
4408 2001-01-23 Martin Buchholz <martin@xemacs.org>
4410 * specifier.h (specifier_data_offset): Remove pointless parens.
4411 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
4413 2001-01-24 Martin Buchholz <martin@xemacs.org>
4415 Make Lisp_Object sizeof methods be alignment-correct.
4416 pdump must restore objects to the same alignment as the C compiler
4417 assumes. It really matters on SGIs.
4418 * lstream.c (aligned_sizeof_lstream): New.
4419 (sizeof_lstream): Use aligned_sizeof_lstream.
4420 (Lstream_new): Likewise.
4421 * opaque.c (aligned_sizeof_opaque): New.
4422 (sizeof_opaque): Use aligned_sizeof_opaque.
4423 (make_opaque): Likewise.
4424 * specifier.c (aligned_sizeof_specifier): New.
4425 (sizeof_specifier): Use aligned_sizeof_specifier.
4426 (make_specifier_internal): Likewise.
4428 2001-01-23 Martin Buchholz <martin@xemacs.org>
4430 * lstream.h (struct lstream): Use max_align_t for trailing data.
4431 * specifier.h (struct Lisp_Specifier): Likewise.
4433 2001-01-22 Martin Buchholz <martin@xemacs.org>
4435 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
4436 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
4437 (CCL_SUSPEND): Likewise.
4438 (CCL_INVALID_CMD): Likewise.
4439 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
4440 (ccl_driver): Likewise.
4441 (CCL_WRITE_CHAR): Macro hygiene.
4442 (CCL_WRITE_STRING): Macro hygiene.
4444 2001-01-22 Martin Buchholz <martin@xemacs.org>
4446 Port "portable" dumper to SunOS 4 and HP-UX.
4447 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
4448 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
4449 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
4451 2001-01-22 Martin Buchholz <martin@xemacs.org>
4453 * lisp.h (ALIGNOF): A better definition for C++.
4455 2001-01-20 Martin Buchholz <martin@xemacs.org>
4458 Fix printf warnings: int format, long int arg.
4459 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
4460 (PUSH_FAILURE_POINT): Use correct printf formats.
4461 (POP_FAILURE_POINT): Use correct printf formats.
4462 Use do {...} while (0)
4464 2001-01-20 Martin Buchholz <martin@xemacs.org>
4466 * XEmacs 21.2.42 "Poseidon" is released.
4468 2001-01-20 Martin Buchholz <martin@xemacs.org>
4470 * console-x.h: typo fix du jour. Remove #if 0'ed code.
4472 2001-01-19 Martin Buchholz <martin@xemacs.org>
4474 De-kludgify FIXED_TYPE free list frobbing.
4475 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
4476 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
4477 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
4478 * alloc.c (Lisp_Free): New pseudo lisp object definition.
4479 * alloc.c (LRECORD_FREE_P): New.
4480 * alloc.c (MARK_LRECORD_AS_FREE): New.
4481 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
4482 * alloc.c (STRUCT_FREE_P): Deleted.
4483 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
4484 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
4485 * alloc.c (STRING_CHARS_FREE_P): New.
4486 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
4487 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
4488 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
4489 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
4490 * alloc.c (resize_string): Use new definitions.
4491 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
4492 * alloc.c (verify_string_chars_integrity): Use new definitions.
4493 * alloc.c (compact_string_chars): Use new definitions.
4494 * alloc.c: Update monster comments.
4495 * lrecord.h (lrecord_type): Add some new lrecord types for
4498 2001-01-18 Martin Buchholz <martin@xemacs.org>
4500 Improve alignment hackery.
4501 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
4502 (max_align_t): Moved from opaque.h - general purpose.
4503 (ALIGN_PTR): Use size_t, not long.
4504 * opaque.h (max_align_t): Move to lisp.h.
4506 2001-01-18 Norbert Koch <nk@LF.net>
4508 * gui.h: Fix and add prototypes to fix build problems.
4510 2001-01-18 Martin Buchholz <martin@xemacs.org>
4512 temacs is going away, so `dump-temacs' is now a bad name.
4513 * .dbxrc (dump-temacs): Rename to `dmp'.
4514 * .gdbinit (dump-temacs): Rename to `dmp'.
4516 2001-01-17 Andy Piper <andy@xemacs.org>
4518 * glyphs.c (print_image_instance): comment to make martin happy.
4520 * glyphs-x.c (x_redisplay_widget): update faces after a frame
4523 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
4525 (mswindows_tab_control_redisplay): warning suppression.
4527 * glyphs-widget.c (widget_update): re-write to cope with updated
4529 (widget_instantiate): use new gui_item functions.
4530 (tab_control_update): deleted.
4531 (progress_gauge_update): deleted.
4532 (image_instantiator_progress_guage): take out update reference.
4533 (image_instantiator_tree_view): ditto.
4534 (image_instantiator_tab_control): ditto.
4536 * gui.c (widget_gui_parse_item_keywords): new function. Do things
4538 (gui_item_add_keyval_pair): re-write to cope with descriptors and
4539 return whether anything was changed.
4540 (update_gui_item_keywords): as it sounds.
4542 * gui.h: declare widget_gui_parse_item_keywords.
4544 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
4545 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
4547 2001-01-17 Martin Buchholz <martin@xemacs.org>
4549 * XEmacs 21.2.41 "Polyhymnia" is released.
4551 2001-01-16 Didier Verna <didier@xemacs.org>
4553 * glyphs.c (image_instantiate): don't use fallbacks when
4554 instantiating a face's background pixmap by inheritance.
4556 2001-01-14 Mike Sperber <mike@xemacs.org>
4558 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
4559 Conditionalize accordingly.
4561 2001-01-16 Martin Buchholz <martin@xemacs.org>
4563 * dumper.c (pdump_file_get): Fix a compiler warning.
4565 2001-01-15 Martin Buchholz <martin@xemacs.org>
4567 Make Purify happy when pdumping.
4568 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
4569 iniitalizing all bits of new lisp object memory.
4570 * symbols.c (Fmake_local_variable): Likewise.
4571 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
4572 * symbols.c (Fdefvaralias): Likewise.
4573 * mule-charset.c (vars_of_mule_charset): Likewise.
4575 2001-01-15 Martin Buchholz <martin@xemacs.org>
4576 Add the `-nd' flag when running pre-dump operations under the debugger.
4577 * .dbxrc (run-temacs): Add `-nd'.
4578 * .dbxrc (update-elc): Likewise.
4579 * .dbxrc (dump-temacs): Likewise.
4580 * .gdbinit (run-temacs): Likewise.
4581 * .gdbinit (check-temacs): Likewise.
4582 * .gdbinit (update-elc): Likewise.
4583 * .gdbinit (dump-temacs): Likewise.
4585 2001-01-14 Martin Buchholz <martin@xemacs.org>
4587 Allow building 64-bit executables on AIX with GNU malloc, e.g.
4588 export OBJECT_MODE=64
4589 configure --pdump --use-union-type=no
4590 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
4591 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
4593 * miscplay.c (sndcnv8U_2mono):
4594 Avoid two uses of `++' in the same expression.
4595 Suppresses a GCC warning.
4597 2001-01-13 Martin Buchholz <martin@xemacs.org>
4599 Make sure future compilers don't miscompile alloc.c.
4601 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
4602 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
4604 2001-01-12 Martin Buchholz <martin@xemacs.org>
4606 * dumper.c: A little post-pdump-rename comment fixup.
4608 2001-01-09 Jerry James <james@eecs.ku.edu>
4610 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
4612 2001-01-13 Martin Buchholz <martin@xemacs.org>
4614 * *.[ch]: Globally rename symbols using the following `pdump-rename'
4618 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
4621 replace_symbol pdump_wire_lists pdump_weak_object_chains
4622 replace_symbol pdump_wire_list dump_add_weak_object_chain
4624 replace_symbol pdump_wires pdump_root_objects
4625 replace_symbol pdump_wire dump_add_root_object
4627 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
4628 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
4630 replace_symbol dumpstructinfos pdump_root_struct_ptrs
4631 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
4632 replace_symbol dumpstructinfo pdump_root_struct_ptr
4633 replace_symbol dumpstruct dump_add_root_struct_ptr
4635 replace_symbol dumpopaque dump_add_opaque
4636 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
4637 replace_symbol dumpopaqueinfos pdump_opaques
4638 replace_symbol dumpopaqueinfo pdump_opaque
4640 replace_symbol nb_structdump nb_root_struct_ptrs
4641 replace_symbol nb_opaquedump nb_opaques
4643 replace_symbol align_table pdump_align_table
4644 replace_symbol dump_header pdump_header
4646 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
4647 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
4650 2001-01-12 Martin Buchholz <martin@xemacs.org>
4652 * s/aix4.h: Keep the C for AIX compiler from overaggressively
4653 optimizing bytecount_to_charcount().
4655 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4658 (HAVE_DLFCN_H): Removed.
4659 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
4661 2001-01-06 Martin Buchholz <martin@xemacs.org>
4663 Portable dumper maintainability improvements.
4664 * alloc.c (staticpro):
4665 * alloc.c (staticpro_nodump):
4666 * alloc.c (garbage_collect_1):
4667 * alloc.c (reinit_alloc_once_early):
4668 * alloc.c (init_alloc_once_early):
4669 * alloc.c: Move dumper functions to alloc.c.
4670 * dumper.c (pdump_backtrace):
4671 * dumper.c (pdump_dump_structs):
4672 * dumper.c (pdump_dump_opaques):
4673 * dumper.c (pdump_dump_rtables):
4674 * dumper.c (pdump_dump_wired):
4676 * dumper.c (pdump_load_check):
4677 * dumper.c (pdump_load_finish):
4678 * dumper.c (pdump_file_unmap):
4679 * dumper.c (pdump_file_get):
4680 * dumper.c (pdump_resource_free):
4681 * dumper.c (pdump_resource_get):
4682 * dumper.c (pdump_file_free):
4683 * dumper.c (pdump_file_try):
4684 * dumper.c (pdump_load):
4685 Remove fixed size limits on staticpro(), staticpro_nodump(),
4686 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
4687 Remove custom code for dumping lrecord_implementations_table - use
4689 Remove (most of the) custom code for dumping staticpros - dump it
4690 like any other dynarr.
4692 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
4693 * dumper.c: Moved functions from alloc.c.
4694 * alloc.c (dumpstruct): Moved to dumper.c.
4695 * alloc.c (dumpopaque): Likewise.
4696 * alloc.c (pdump_wire): Likewise.
4697 * alloc.c (pdump_wire_list): Likewise.
4699 * lisp.h (Dynarr_sizeof): New.
4700 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
4701 * lisp.h (Dynarr_end): New. Very slightly C++oid.
4702 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
4704 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
4705 * lisp.h (dumpopaque): ditto.
4706 * lisp.h (pdump_wire): ditto.
4707 * lisp.h (pdump_wire_list): ditto.
4709 2001-01-09 Martin Buchholz <martin@xemacs.org>
4711 * make-src-depend (PrintPatternDeps):
4712 Use `sort' to make output independent of perl version.
4714 2001-01-08 Martin Buchholz <martin@xemacs.org>
4717 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
4718 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
4720 2001-01-03 Didier Verna <didier@xemacs.org>
4722 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
4723 that `focus_frame' is alive before thinking of calling
4724 `redisplay_redraw_cursor' on it.
4726 2001-01-08 Martin Buchholz <martin@xemacs.org>
4728 * XEmacs 21.2.40 is released.
4730 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4732 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
4734 2001-01-06 Martin Buchholz <martin@xemacs.org>
4736 * alloc.c (dbg_valmask): Make const.
4737 * alloc.c (dbg_typemask): Make const.
4738 * alloc.c (dbg_USE_UNION_TYPE): Make const.
4739 * alloc.c (dbg_valbits): Make const.
4740 * alloc.c (dbg_gctypebits): Make const.
4742 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
4744 * redisplay-x.c (x_bevel_area):
4745 redisplay.h (struct rune):
4746 Typo fixes in comments.
4748 2001-01-05 Andy Piper <andy@xemacs.org>
4750 * glyphs-x.c (x_redisplay_widget): use size changed for offset
4753 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
4755 2001-01-05 Martin Buchholz <martin@xemacs.org>
4757 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
4759 * mule-ccl.c (stack_idx_of_map_multiple):
4760 Non const global data must not be initialized!
4761 Found by MIYASHITA Hisashi.
4763 2001-01-02 Andy Piper <andy@xemacs.org>
4765 * frame.c (change_frame_size): make sure frame size is always
4768 * glyphs.c (image_instance_layout): minor code reuse.
4770 * window.c (Fcurrent_window_configuration): revert previous
4773 2001-01-02 Martin Buchholz <martin@xemacs.org>
4776 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
4778 2000-12-31 Andy Piper <andy@xemacs.org>
4780 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
4781 when widget gets unmapped.
4783 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
4784 function. Make sure widgets losing focus don't just drop it.
4785 (handle_focus_event_1): record the widget with focus.
4787 2000-12-31 Andy Piper <andy@xemacs.org>
4789 * window.c (allocate_window): use
4790 make_image_instance_cache_hash_table.
4791 (make_dummy_parent): ditto.
4792 (Fset_window_configuration): ditto.
4794 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
4796 * glyphs.c (process_image_string_instantiator): use
4798 (get_image_instantiator_governing_domain): ditto.
4799 (normalize_image_instantiator): ditto.
4800 (instantiate_image_instantiator): ditto.
4801 (make_image_instance_1): ditto.
4802 (image_instantiate): ditto. Key on glyph *and* instantiator type.
4803 (instantiator_eq_equal): new function for use with instance hash
4805 (instantiator_eq_hash): ditto.
4806 (make_image_instance_cache_hash_table): create a suitable hash
4807 table for storing image instances.
4809 * elhash.h (hash_table_weakness): new internal weakness type
4810 HASH_TABLE_KEY_CAR_VALUE_WEAK.
4811 declare new functions.
4813 * elhash.c (finish_marking_weak_hash_tables): introduce yet
4814 another weakness type for glyphs.
4815 (make_standard_lisp_hash_table): new function split out from
4816 make_general_lisp_hash_table.
4817 (make_lisp_hash_table): call make_standard_lisp_hash_table.
4818 (hash_table_instantiate): ditto.
4819 (Fmake_hash_table): ditto.
4821 2000-12-31 Martin Buchholz <martin@xemacs.org>
4823 * XEmacs 21.2.39 is released.
4825 2000-12-29 Andy Piper <andy@xemacs.org>
4827 * menubar.c (menubar_visible_p_changed): signal the frame changed.
4829 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
4830 the frame has changed so that we pick up geometry changes such as
4833 2000-12-28 Andy Piper <andy@xemacs.org>
4835 * lastfile.c (my_ebss): make a char array so we can pad the
4836 bss. Fixes cygwin unexec.
4838 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
4840 2000-12-26 Andy Piper <andy@xemacs.org>
4842 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
4843 comments and try and be more precise about a non-/SIGIO world.
4844 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
4847 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
4848 we don't normalize to zero width or height.
4850 2000-12-24 Andy Piper <andy@xemacs.org>
4852 * Makefile.in.in (ldflags): add -mwindows when appropriate.
4854 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
4856 * s/sco5.h: SCO 5 has pty support.
4858 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
4860 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
4861 input-method-xlib.c contains whole contents of input-method-xfs.c,
4862 so we can use input-method-xlib.c's code for USE_XFONTSET
4864 * input-method-xfs.c: removed.
4866 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
4868 * file-coding.h (enum coding_category_type): reorder enumerators to
4869 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
4870 (now one greater than largest real coding_category_type enumerator).
4871 * file-coding.c (coding_category_symbol, coding_category_by_priority,
4872 coding_category_system, fcd_descriptihon_1, decode_coding_category,
4873 Fcoding_category_list, Fset_coding_priority_list,
4874 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
4875 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
4877 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4879 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
4880 * redisplay-output.c (redisplay_output_window): Clear top of window
4881 when face is changed.
4882 * redisplay-x.c (x_redraw_exposed_window): Call
4883 redisplay_clear_top_of_window.
4884 * redisplay.h: Publish redisplay_clear_top_of_window.
4886 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4888 * buffer.c (Fkill_buffer): Map over all devices.
4889 * window.c (window_loop): Remove UNSHOW_BUFFER code.
4890 (list_windows): New function.
4891 (list_all_windows): Ditto.
4892 (Freplace_buffer_in_windows): Use them.
4894 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4896 * database.c (berkdb_subtype): Recognize new subtype `queue'.
4897 (Fopen_database): Use `db_create' instead of `db_open'.
4898 (syms_of_database): Initialize Qqueue.
4900 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
4902 * buffer.c (common_init_complex_vars_of_buffer): Initialize
4903 buffer_local_face_property.
4904 * buffer.h (struct buffer): New member buffer_local_face_property.
4905 * window.c (Fset_window_buffer): Mark window's face as changed
4906 when buffer has buffer local face.
4907 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
4908 * objects.c (color_after_change): Set buffer_local_face_property
4909 when locale of face specifier is buffer.
4910 * objects.c (font_after_change): Ditto.
4911 * objects.c (face_boolean_after_change): Ditto.
4912 * glyphs.c (image_after_change): Ditto.
4914 2000-12-09 Dan Holmsand <dan@eyebee.com>
4916 * nt.c (mswindows_fstat): Report file permissions, volume serial
4917 number, etc. Code adapted from FSF Emacs 20.7.
4919 2000-12-09 Dan Holmsand <dan@eyebee.com>
4921 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
4922 of stat when we don't have symbolic links, to make sure
4923 mswindows_stat is called on mswindows.
4925 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
4927 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
4929 2000-12-12 Martin Buchholz <martin@xemacs.org>
4931 * doprnt.c (emacs_doprnt_1): More printing fixes.
4932 Make printing of numbers compatible with libc and FSF Emacs.
4933 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
4934 Use the system printf to do most of the hard work of formatting,
4935 instead of doprnt_1().
4936 Calculate memory to allocate for format string.
4937 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
4938 (doprnt_1): Cleaner code and documentation.
4940 2000-12-01 Jerry James <james@eecs.ukans.edu>
4942 * Makefile.in.in: Use the loop variable to install headers.
4944 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4946 * window.c (Fsplit_window): Don't invalidate face cache.
4948 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4950 * minibuf.c (Fall_completions): Undo the previous change
4951 which removed checking elements start with space.
4953 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4955 * mule-canna.c: Didier suppression.
4957 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4959 * mule-canna.c: rename static unsigned char buf[] to key_buffer
4960 (warning suppression). Add English comment translations.
4962 2000-12-05 Martin Buchholz <martin@xemacs.org>
4964 * unexelfsgi.c (unexec): Better test for mmap failure.
4966 2000-12-05 Martin Buchholz <martin@xemacs.org>
4968 * XEmacs 21.2.38 is released.
4970 2000-12-05 Martin Buchholz <martin@xemacs.org>
4972 * redisplay.c (bar-cursor): Make a user variable.
4974 * symsinit.h: Add init_postgresql_from_environment.
4976 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4978 * regex.c: Convert to clean C.
4980 2000-12-05 Dan Holmsand <dan@eyebee.com>
4983 Don't #include sysfile.h. Revert to duplicating PATH_MAX
4985 (sys_readlink): renamed to system_readlink to avoid conflict with
4986 the other sys_readlink.
4988 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
4990 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
4992 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
4994 * postgresql.c (init_postgresql_from_environment): new function.
4995 (vars_of_postgresql): Move code initializing Lisp variables out and
4996 into init_postgresql_from_environment.
4997 emacs.c (main_1): Call init_postgresql_from_environment if and only
4998 if running a dumped XEmacs.
5000 2000-08-31 Dan Holmsand <dan@eyebee.com>
5002 * buffer.c: Make find-file-compare-truenames default to true on
5005 * realpath.c (win32_abs_start):
5007 (win32_readlink): New functions.
5008 (xrealpath): Return really real filenames on windows.
5010 * fileio.c (Ffile_truename): Make file-truename work on windows.
5012 2000-11-29 Didier Verna <didier@xemacs.org>
5014 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
5015 * faces.c (update_face_cachel_data): use it.
5016 * faces.c (add_face_cachel): use it. Complete background pixmap
5017 frobbing in face cache if `update_face_cachel_data' has not done so.
5019 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
5021 * search.c (string_match_1): Don't set last_thing_searched
5024 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
5026 * buffer.c: Include casetab.h
5027 (common_init_complex_vars_of_buffer): Use new case-table object.
5028 * buffer.h: Include casetab.h
5029 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
5030 (DOWNCASE_TABLE_OF): Ditto.
5031 * bufslots.h: Remove char-tables and add case-table.
5032 * casetab.c: Include casetab.h
5033 (CASE_TABLE_P): Removed.
5034 (mark_case_table): New function.
5035 (allocate_case_table): New function.
5036 (Fcase_table_p): Use new case-table.
5037 (case_table_char): New function.
5038 (Fget_case_table): Ditto.
5039 (Fput_case_table): Ditto.
5040 (Fput_case_table_pair): Ditto.
5041 (Fcopy_case_table): Ditto.
5042 (Fcurrent_case_table): Return case-table.
5043 (Fstandard_case_table): Return case-table.
5044 (Fset_case_table): Fix doc-string.
5045 (set_case_table): Use case-table
5046 (syms_of_casetab): DEFSUBR new functions.
5047 (complex_vars_of_casetab): Set up standard case-table.
5048 * casetab.h: New file.
5049 * editfns.c: Include casetab.h
5050 (Fcompare_buffer_substrings): Use case-table.
5051 * inline.c: Include casetab.h
5052 * lisp.h: Remove bogus extern.
5053 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
5054 * search.c: Include casetab.h
5055 (TRANSLATE_ASCII): Removed.
5056 (TRANSLATE): Unconditionally translate character.
5057 (looking_at_1): Use case-table.
5058 (string_match_1): Ditto.
5059 (fast_string_match): Ditto.
5060 (search_command): Ditto.
5061 (search_buffer): Separate boyer_moore. Check whether
5062 boyer_moore is possible.
5063 (simple_search): New function.
5064 (boyer_moore): Separated from search_buffer. Translate char.
5066 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
5068 * regex.c (RE_TR_ASCII): Removed.
5069 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
5070 (PATFETCH): Call PATFETCH_RAW.
5071 (PATFETCH_RAW): Fetch Emchar.
5072 (PATUNFETCH): Decrement charptr.
5073 (GET_BUFFER_SPACE): Rename b to buf_end.
5075 (BUF_PUSH_2): Ditto.
5076 (BUF_PUSH_3): Ditto.
5077 (EXTEND_BUFFER): Ditto.
5078 (SET_LIST_BIT): Ditto.
5079 (regex_compile): Ditto. Translate non ASCII char.
5080 (compile_range): Ditto.
5081 (re_search_2): Ditto.
5082 (re_match_2_internal): Compare Emchar.
5083 (bcmp_translate): Ditto.
5085 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
5087 * lisp.h (basic char/int typedefs): comment improvement.
5089 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
5091 * emacs.c (main_1): unconditional pdump unstomping; don't save and
5092 unstomp inhibit_site_lisp. Improve comments.
5094 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
5096 * mule-charset.c (Fcharset_property): improve type checking, comments.
5098 2000-11-28 Andy Piper <andy@xemacs.org>
5100 * redisplay-output.c (redisplay_output_subwindow): make sure we do
5101 clipped display for windows in the gutter also.
5102 (redisplay_display_boxes_in_window_p): change semantics of return
5103 codes to be more intuitive.
5105 * gutter.h: declare display_boxes_in_gutter_p.
5107 * gutter.c (display_boxes_in_gutter_p): new function for
5110 2000-11-22 Andy Piper <andy@xemacs.org>
5112 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
5115 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
5117 * callproc.c (Fold_call_process_internal):
5118 * gpm.c (Freceive_gpm_event):
5119 (tty_get_foreign_selection): Might be just warning supression.
5120 * fileio.c (Fwrite_region_internal):
5121 (Fset_visited_file_modtime):
5122 * keymap.c (event_matches_key_specifier_p):
5123 Initialize GCPROed variable.
5125 * menubar-x.c (command_builder_find_menu_accelerator):
5126 Initialize before use.
5128 2000-11-23 Andy Piper <andy@xemacs.org>
5130 * unexcw.c (unexec): make the resulting executable executable.
5132 2000-11-21 Martin Buchholz <martin@xemacs.org>
5134 * doc.c (get_doc_string):
5135 Use size_t, not int, for result of XSTRING_LENGTH.
5137 * cmds.c (Fdelete_char):
5138 * cmds.c (Fpoint_at_eol):
5139 * cmds.c (Fself_insert_command):
5140 Use EMACS_INT, not int, for result of XINT.
5141 Someday, someone will want to insert more than 2**31 identical characters.
5143 * cmds.c (Fdelete_char):
5144 * cmds.c (Fdelete_backward_char):
5145 * syntax.c (Fforward_word):
5146 * syntax.c (Fforward_comment):
5147 Make COUNT argument optional, for consistency with forward-char et al.
5149 2000-11-22 Martin Buchholz <martin@xemacs.org>
5152 * print.c (long_to_string):
5153 Return a useful value: the pointer at end of data written.
5156 Use `static const char * const' for constant strings.
5157 (union printf_arg): Delete `i', `ui' members.
5160 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
5161 Do all printf-ing via the `l' specifier.
5162 Use EMACS_INT instead of int.
5165 2000-11-20 Didier Verna <didier@xemacs.org>
5167 * faces.c (update_face_cachel_data): don't frob the background
5168 pixmap when the window is being created. The face is needed but
5171 2000-11-20 Andy Piper <andy@xemacs.org>
5173 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
5174 messing with a debug environment.
5176 2000-11-20 Martin Buchholz <martin@xemacs.org>
5178 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
5180 2000-11-20 Martin Buchholz <martin@xemacs.org>
5182 * casetab.c (Fcase_table_p): Fix compile error and crash.
5184 2000-11-18 Philip Aston <philipa@mail.com>
5186 * s/cygwin32.h: Cygwin has SVR4-like pty support.
5188 2000-11-18 Martin Buchholz <martin@xemacs.org>
5190 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
5191 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
5193 2000-11-17 Martin Buchholz <martin@xemacs.org>
5195 * config.h.in: Define HAVE_ELF_H if elf.h exists.
5196 * unexelf.c: Use HAVE_ELF_H.
5197 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
5198 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
5199 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
5200 Greg Harrington <greg_harrington@hotmail.com> provided a machine
5202 So this is an unexelfsgi.c from a different line of development.
5204 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5206 * regex.c (RE_TR_ASCII): New function.
5207 (RE_TRANSLATE): Call it.
5209 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5211 * buffer.h (TRT_TABLE_OF): Remove assert.
5212 (IN_TRT_TABLE_DOMAIN): Removed.
5214 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
5216 * free-hook.c (log_gcpro):
5217 (show_gcprohist): Add support for GCPRO5.
5219 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
5221 * emacs.c (main_1): Improve -sd error message when --pdump=no.
5223 2000-11-16 Olivier Galibert <galibert@xemacs.org>
5225 * symeval.h: Declare flush_all_buffer_local_cache.
5227 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
5228 (flush_buffer_local_cache): Added.
5229 (flush_all_buffer_local_cache): Added.
5231 * lrecord.h: Remove unused XD_LO_RESET_NIL.
5233 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
5234 (pdump_dump_data): Ditto.
5235 (pdump_reloc_one): Ditto.
5236 (pdump): Remove unused pdump_qnil. Flush buffer local caches
5240 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5242 * buffer.c: Remove if 0'ed entry.
5243 * buffer.h: Rewrite TRT to use char-table.
5244 * bufslots.h: Remove mirror tables.
5245 * casetab.c: Remove mirror tables.
5246 (CASE_TABLE_P): New macro.
5247 (Fcase_table_p): Element of a case table is string or char-table.
5248 (make_mirror_trt_table): Removed.
5249 (set_case_table): Setup char-table from strings for backward
5251 * dired.c (Fdirectory_files):
5252 * dired-msw.c: (mswindows_get_files):
5253 * lisp.h: Change prototype of re_pattern_buffer.
5254 * regex.c: (RE_TRANSLATE): New macro.
5255 (TRANSLATE_P): Ditto.
5256 Change translate to type RE_TRANSLATE_TYPE.
5257 * regex.h: Define RE_TRANSLATE_TYPE
5258 * search.c (TRANSLATE): New macro.
5259 (TRANSLATE_ASCII): New macro.
5260 Translate table is changed to Lisp_Object.
5261 (signal_failure): Inhibit return.
5263 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5270 Do UNGCPRO before return.
5272 2000-11-14 Martin Buchholz <martin@xemacs.org>
5274 * XEmacs 21.2.37 is released.
5276 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
5278 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
5279 Add comments about discarded return value.
5281 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
5284 * event-stream.c: Fix comments. Remove some #if 0'ed part.
5286 2000-10-27 Andy Piper <andy@xemacs.org>
5288 * gutter.c (Fset_default_gutter_position): default left and right
5290 (calculate_gutter_size): calculate resonable heuristic for left
5291 and right gutter sizes.
5292 (specifier_vars_of_gutter): change left and right gutter sizes to
5294 (calculate_gutter_size_from_display_lines): new function.
5295 (output_gutter): check for resizing on left and right gutters.
5296 (clear_gutter): don't special case top and left gutters.
5297 (specifier_vars_of_gutter): use new signature for
5298 set_specifier_caching.
5300 * glyphs-x.c (x_redisplay_widget): spelling fix.
5301 * glyphs.c (specifier_vars_of_glyphs):
5302 * menubar.c (specifier_vars_of_menubar):
5303 * redisplay.c (specifier_vars_of_redisplay):
5304 * toolbar.c (specifier_vars_of_toolbar):
5305 * window.c (specifier_vars_of_window):
5306 * scrollbar.c (specifier_vars_of_scrollbar):
5307 (complex_vars_of_scrollbar): use new signature for
5308 set_specifier_caching.
5310 * specifier.c (set_specifier_caching): include recompute flag.
5311 (recompute_one_cached_specifier_in_window): always recompute if
5313 (recompute_one_cached_specifier_in_frame): ditto.
5315 * specifier.h (struct specifier_caching): add recompute flag.
5317 2000-10-24 Andy Piper <andy@xemacs.org>
5319 * unexcw.c (copy_executable_and_dump_data_section): add new
5320 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
5323 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5325 * console-x.h (x_device): New member modifier_release_time.
5326 * event-Xt.c (x_handle_sticky_modifiers):
5327 Bound interval modifier keys are sticky.
5328 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
5329 * events.h: extern it.
5331 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5333 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
5335 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5337 * event-stream.c (execute_command_event): Preserve current_events
5338 and the like when event is misc-user-event.
5339 Inhibit quit during the call to maybe_echo_keys.
5341 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
5343 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
5344 symlink when buffer is killed.
5345 (inhibit_clash_detection): New variable.
5347 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5349 * console.c (Fset_input_method): Trigger redisplay on tty.
5351 2000-11-07 Martin Buchholz <martin@xemacs.org>
5353 * process.c (Fprocess_status): Revert to previous behavior:
5354 (process-status "nosuchprocess") ==> nil
5356 2000-11-06 Martin Buchholz <martin@xemacs.org>
5358 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
5359 Work around another GCC 2.95.2 optimizer bug.
5361 2000-11-02 Martin Buchholz <martin@xemacs.org>
5363 * process.c (Fget_process): Use LIST_LOOP_2.
5364 (kill_buffer_processes): Use LIST_LOOP_2.
5366 * minibuf.c (Fall_completions):
5367 Delete old non-functional code for FSF fourth argument.
5369 * frame.c (frame_matches_frame_spec):
5370 Renamed from `frame_matches_frametype'. Update all callers.
5371 (device_matches_device_spec):
5372 Renamed from 'device_matches_console_spec'. Update all callers.
5374 * doc.c (Fsubstitute_command_keys):
5375 Remove buffer overflow crash. Small code cleanups.
5377 * casetab.c (check_case_table): Simpler code.
5379 * window.c (Freplace_buffer_in_windows):
5380 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
5381 (and similar implementation) as Fdelete_windows_on.
5384 * alloc.c (Fmake_list):
5385 * alloc.c (make_vector):
5386 * alloc.c (Fmake_vector):
5387 * alloc.c (make_bit_vector):
5388 * alloc.c (Fmake_bit_vector):
5389 * alloc.c (Fbit_vector):
5390 * alloc.c (Fmake_string):
5391 * alloc.c (Fpurecopy):
5392 * alloc.c (Fmemory_limit):
5394 * buffer.c (Fget_buffer):
5395 * buffer.c (Fkill_buffer):
5396 * buffer.c (complex_vars_of_buffer):
5397 * bytecode.c (Fcompiled_function_stack_depth):
5398 * callint.c (Fprefix_numeric_value):
5400 * event-stream.c (Fread_key_sequence):
5402 * casetab.c (Fcase_table_p):
5403 * casetab.c (check_case_table):
5404 * casetab.c (Fset_case_table):
5405 * casetab.c (Fset_standard_case_table):
5407 * chartab.c (Fchar_table_type):
5408 * chartab.c (Freset_char_table):
5409 * chartab.c (Fget_char_table):
5410 * chartab.c (Fget_range_char_table):
5411 * chartab.c (Fput_char_table):
5412 * chartab.c (Fmap_char_table):
5413 * chartab.c (Fcategory_table_p):
5414 * chartab.c (Fcheck_category_at):
5415 * chartab.c (Fchar_in_category_p):
5416 * chartab.c (Fcategory_table):
5417 * chartab.c (Fcopy_category_table):
5418 * chartab.c (Fset_category_table):
5419 * chartab.c (Fcategory_designator_p):
5420 * chartab.c (Fcategory_table_value_p):
5421 * cmds.c (Fdelete_char):
5422 * cmds.c (Fdelete_backward_char):
5423 * cmds.c (Fself_insert_command):
5424 * cmds.c (Fself_insert_internal):
5425 * console.c (Fvalid_console_type_p):
5426 * console.c (Fcdfw_console):
5427 * console.c (Fconsole_type):
5428 * console.c (Fconsole_name):
5429 * console.c (Fconsole_device_list):
5430 * console.c (Fconsole_on_window_system_p):
5434 * data.c (Fsubr_interactive):
5435 * data.c (Fchar_to_int):
5436 * data.c (Fint_to_char):
5439 * data.c (Fnumber_to_string):
5440 * data.c (Fstring_to_number):
5442 * database.c (mark_database):
5443 * database.c (finalize_database):
5444 * database.c (Fdatabase_live_p):
5445 * database.c (Fdatabasep):
5446 * device-x.c (Fx_get_resource):
5447 * device.c (Fdfw_device):
5449 * dired.c (Ffile_name_completion):
5450 * dired.c (Ffile_name_all_completions):
5451 * dired.c (Fuser_name_completion):
5452 * dired.c (Fuser_name_completion_1):
5453 * dired.c (Fuser_name_all_completions):
5454 * doc.c (Fdocumentation):
5455 * doc.c (Fdocumentation_property):
5456 * doc.c (Fsubstitute_command_keys):
5458 * editfns.c (Fchar_to_string):
5459 * editfns.c (Fstring_to_char):
5460 * editfns.c (Ftemp_directory):
5461 * editfns.c (Finsert_char):
5462 * editfns.c (Fbuffer_substring_no_properties):
5463 * editfns.c (Fnarrow_to_region):
5464 * editfns.c (Fchar_equal):
5465 * editfns.c (Fchar_Equal):
5466 * editfns.c (Ftranspose_regions):
5467 * emacs.c (Fdump_emacs):
5469 * eval.c (Fcommand_execute):
5470 * eval.c (Fautoload):
5471 * eval.c (Fbacktrace):
5472 * eval.c (Fbacktrace_frame):
5474 * events.c (Fcopy_event):
5475 * events.c (Fcharacter_to_event):
5476 * events.c (Fevent_button):
5477 * events.c (Fevent_process):
5479 * extents.c (Fnext_extent_change):
5480 * extents.c (Fextent_property):
5482 * faces.c (Fmake_face):
5484 * file-coding.c (Fencode_shift_jis_char):
5485 * file-coding.c (Fencode_big5_char):
5486 * fileio.c (Ffile_name_directory):
5487 * fileio.c (Ffile_name_nondirectory):
5488 * fileio.c (Ffile_name_as_directory):
5489 * fileio.c (Fdirectory_file_name):
5490 * fileio.c (Ffile_truename):
5491 * fileio.c (Fsubstitute_in_file_name):
5492 * fileio.c (Ffile_modes):
5493 * fileio.c (Fset_file_modes):
5494 * fileio.c (Fset_default_file_modes):
5495 * fileio.c (Fverify_visited_file_modtime):
5496 * floatfns.c (Facos):
5497 * floatfns.c (Fasin):
5498 * floatfns.c (Fatan):
5499 * floatfns.c (Fcos):
5500 * floatfns.c (Fsin):
5501 * floatfns.c (Ftan):
5502 * floatfns.c (Fbessel_j0):
5503 * floatfns.c (Fbessel_j1):
5504 * floatfns.c (Fbessel_jn):
5505 * floatfns.c (Fbessel_y0):
5506 * floatfns.c (Fbessel_y1):
5507 * floatfns.c (Fbessel_yn):
5508 * floatfns.c (Ferf):
5509 * floatfns.c (Ferfc):
5510 * floatfns.c (Flog_gamma):
5511 * floatfns.c (Fexp):
5512 * floatfns.c (Fexpt):
5513 * floatfns.c (Flog):
5514 * floatfns.c (Flog10):
5515 * floatfns.c (Fsqrt):
5516 * floatfns.c (Fcube_root):
5517 * floatfns.c (Facosh):
5518 * floatfns.c (Fasinh):
5519 * floatfns.c (Fatanh):
5520 * floatfns.c (Fcosh):
5521 * floatfns.c (Fsinh):
5522 * floatfns.c (Ftanh):
5523 * floatfns.c (Fabs):
5524 * floatfns.c (Ffloat):
5525 * floatfns.c (Flogb):
5526 * floatfns.c (Fceiling):
5527 * floatfns.c (Ffloor):
5528 * floatfns.c (Fround):
5529 * floatfns.c (Ftruncate):
5530 * floatfns.c (Ffceiling):
5531 * floatfns.c (Fffloor):
5532 * floatfns.c (Ffround):
5533 * floatfns.c (Fftruncate):
5534 * fns.c (Fstring_equal):
5535 * fns.c (Fstring_lessp):
5540 * fns.c (Fsubstring):
5542 * fns.c (Fold_assoc):
5543 * fns.c (assoc_no_quit):
5545 * fns.c (Fold_assq):
5546 * fns.c (assq_no_quit):
5548 * fns.c (Fold_rassoc):
5550 * fns.c (Fold_rassq):
5551 * fns.c (rassq_no_quit):
5552 * fns.c (Fremassoc):
5553 * fns.c (remassoc_no_quit):
5555 * fns.c (remassq_no_quit):
5556 * fns.c (Fremrassoc):
5557 * fns.c (Fremrassq):
5558 * fns.c (remrassq_no_quit):
5560 * fns.c (Fplist_get):
5561 * fns.c (Fplist_put):
5562 * fns.c (Fplist_remprop):
5563 * fns.c (Fplist_member):
5564 * fns.c (Flax_plist_get):
5565 * fns.c (Flax_plist_put):
5566 * fns.c (Flax_plist_remprop):
5567 * fns.c (Flax_plist_member):
5569 * fns.c (Fold_equal):
5571 * fns.c (Fbase64_encode_region):
5572 * fns.c (Fbase64_encode_string):
5573 * fns.c (Fbase64_decode_region):
5575 * frame.c (frame_matches_frame_spec):
5576 * frame.c (device_matches_device_spec):
5577 * frame.c (next_frame):
5578 * frame.c (previous_frame):
5579 * frame.c (Fnext_frame):
5580 * frame.c (Fprevious_frame):
5581 * frame.c (Fframe_property):
5582 * frame.c (Fset_frame_height):
5583 * frame.c (Fset_frame_size):
5587 * glyphs.c (decode_error_behavior_flag):
5588 * glyphs.c (Fmake_image_instance):
5589 * indent.c (Findent_to):
5590 * intl.c (Fignore_defer_gettext):
5591 * keymap.c (Fkeymapp):
5592 * keymap.c (Flookup_key):
5594 * lread.c (Fload_internal):
5595 * lread.c (Feval_buffer):
5596 * lread.c (Feval_region):
5597 * macros.c (Fexecute_kbd_macro):
5598 * marker.c (set_marker_internal):
5599 * marker.c (Fset_marker):
5600 * marker.c (set_marker_restricted):
5601 * marker.c (Fcopy_marker):
5602 * marker.c (noseeum_copy_marker):
5604 * menubar.c (Fpopup_menu):
5606 * mule-charset.c (Fcharset_name):
5607 * mule-charset.c (Fchar_charset):
5608 * mule-charset.c (Fchar_octet):
5609 * mule-charset.c (Fsplit_char):
5610 * mule-wnnfns.c (Fwnn_open):
5611 * mule-wnnfns.c (Fwnn_dict_comment):
5612 * mule-wnnfns.c (Fwnn_quit_henkan):
5613 * mule-wnnfns.c (Fwnn_word_toroku):
5614 * mule-wnnfns.c (Fwnn_word_sakujo):
5615 * mule-wnnfns.c (Fwnn_word_use):
5616 * mule-wnnfns.c (Fwnn_hindo_set):
5618 * objects.c (Fmake_color_instance):
5619 * objects.c (Fmake_font_instance):
5620 * print.c (Fwrite_char):
5622 * process.c (mark_process):
5623 * process.c (print_process):
5624 * process.c (get_process_from_usid):
5625 * process.c (Fprocessp):
5626 * process.c (Fprocess_live_p):
5627 * process.c (Fget_process):
5628 * process.c (Fget_buffer_process):
5629 * process.c (get_process):
5630 * process.c (Fprocess_id):
5631 * process.c (Fprocess_name):
5632 * process.c (Fprocess_command):
5633 * process.c (init_process_io_handles):
5634 * process.c (start_process_unwind):
5635 * process.c (Fstart_process_internal):
5636 * process.c (Fopen_multicast_group_internal):
5637 * process.c (Fset_process_window_size):
5638 * process.c (read_process_output):
5639 * process.c (send_process):
5640 * process.c (Fprocess_tty_name):
5641 * process.c (Fset_process_buffer):
5642 * process.c (Fprocess_buffer):
5643 * process.c (Fprocess_mark):
5644 * process.c (set_process_filter):
5645 * process.c (Fset_process_filter):
5646 * process.c (Fprocess_filter):
5647 * process.c (Fprocess_send_region):
5648 * process.c (Fprocess_send_string):
5649 * process.c (exec_sentinel):
5650 * process.c (Fset_process_sentinel):
5651 * process.c (Fprocess_sentinel):
5652 * process.c (status_notify):
5653 * process.c (Fprocess_status):
5654 * process.c (Fprocess_exit_status):
5655 * process.c (process_send_signal):
5656 * process.c (Fprocess_send_eof):
5657 * process.c (deactivate_process):
5658 * process.c (remove_process):
5659 * process.c (Fdelete_process):
5660 * process.c (kill_buffer_processes):
5661 * process.c (Fprocess_kill_without_query):
5662 * process.c (Fprocess_kill_without_query_p):
5664 * rangetab.c (Fget_range_table):
5665 * rangetab.c (Fput_range_table):
5666 * rangetab.c (Fremove_range_table):
5667 * rangetab.c (Fclear_range_table):
5669 * search.c (Fskip_chars_forward):
5670 * search.c (Fskip_chars_backward):
5671 * search.c (Fskip_syntax_forward):
5672 * search.c (Fskip_syntax_backward):
5673 * search.c (search_command):
5674 * search.c (Freplace_match):
5675 * search.c (Fregexp_quote):
5676 * select.c (Fown_selection_internal):
5677 * select.c (Fselection_owner_p):
5678 * select.c (Fselection_exists_p):
5679 * select.c (Fget_selection_internal):
5682 * symbols.c (Fintern):
5683 * symbols.c (Fintern_soft):
5684 * symbols.c (Funintern):
5685 * symbols.c (Fapropos_internal):
5686 * symbols.c (Fset_default):
5688 * syntax.c (Fsyntax_table_p):
5689 * syntax.c (Fcopy_syntax_table):
5690 * syntax.c (Fset_syntax_table):
5691 * syntax.c (Fchar_syntax):
5692 * syntax.c (syntax_match):
5693 * syntax.c (Fmatching_paren):
5694 * syntax.c (Fforward_word):
5695 * syntax.c (scan_lists):
5696 * syntax.c (Fscan_lists):
5697 * syntax.c (Fscan_sexps):
5698 * syntax.c (Fparse_partial_sexp):
5699 * toolbar.c (Fcheck_toolbar_button_syntax):
5702 * window.c (Fwindowp):
5703 * window.c (Fwindow_live_p):
5704 * window.c (Fwindow_point):
5705 * window.c (Fdelete_window):
5706 * window.c (Fnext_window):
5707 * window.c (Fprevious_window):
5708 * window.c (Fother_window):
5709 * window.c (window_loop):
5710 * window.c (Fget_lru_window):
5711 * window.c (Fsplit_window):
5712 * window.c (Fenlarge_window):
5713 * window.c (Fenlarge_window_pixels):
5714 * window.c (Fshrink_window):
5715 * window.c (Fshrink_window_pixels):
5716 * window.c (change_window_height):
5717 * window.c (Fwindow_configuration_p):
5718 * window.c (Fcurrent_window_configuration):
5720 * casefiddle.c (casify_object):
5721 * casefiddle.c (Fupcase):
5722 * casefiddle.c (Fdowncase):
5723 * casefiddle.c (Fcapitalize):
5724 * casefiddle.c (Fupcase_initials):
5725 * casefiddle.c (casify_region_internal):
5726 * casefiddle.c (casify_region):
5727 * casefiddle.c (Fupcase_region):
5728 * casefiddle.c (Fdowncase_region):
5729 * casefiddle.c (Fcapitalize_region):
5730 * casefiddle.c (Fupcase_initials_region):
5731 * casefiddle.c (Fupcase_word):
5732 * casefiddle.c (Fdowncase_word):
5733 * casefiddle.c (Fcapitalize_word):
5734 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
5735 Replace 0 with '\0' when working with bytes.
5736 Replace initial "(" with "\(" in docstrings.
5738 2000-11-01 Martin Buchholz <martin@xemacs.org>
5740 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
5742 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
5744 2000-10-31 Martin Buchholz <martin@xemacs.org>
5746 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
5748 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5750 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
5753 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5755 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
5756 (inhibit_auto_save_session): New variable.
5757 (vars_of_fileio): Declare and initialize them.
5758 * fileio.c (Fdo_auto_save): Don't create session file if
5759 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
5761 2000-10-31 Martin Buchholz <martin@xemacs.org>
5763 * sgiplay.c (play_internal): C++ compilability.
5764 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
5765 * callproc.c (Fold_call_process_internal):
5766 Remove unused vars `env', `first'.
5767 * scrollbar.c (update_scrollbar_instance):
5768 #### unused var `current_window'.
5769 * redisplay-tty.c: Put currently unused vars insert_mode_on,
5770 etc. within #ifdef NOT_YET.
5771 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
5772 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
5773 * specifier.c (specifier_instance):
5774 #### unused var `tag'.
5775 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
5777 2000-10-27 Martin Buchholz <martin@xemacs.org>
5780 * fns.c (list_sort):
5781 * fns.c (Ffillarray):
5782 * fns.c (bytecode_nconc2):
5785 * fns.c (Fmapconcat):
5786 Be pedantically 64-bit correct. For the time when someone will
5787 want to have a list with length > 2**32.
5789 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
5790 Work around MIPSpro compiler bug.
5792 * process-unix.c (unix_kill_child_process): Add snarky comment.
5793 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
5795 * config.h.in: Oops, _getpt ==> _getpty
5797 2000-10-26 Martin Buchholz <martin@xemacs.org>
5801 Use void*, not char*, as return type of alloca().
5803 * alloc.c (free_marker): Side effect inside assert expression!
5805 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
5807 * mule-charset.c (Fset_charset_ccl_program): To check
5808 if the given ccl program is valid, use setup_ccl_program()
5809 instead of CHECK_VECTOR().
5810 (Fmake_charset): Likewise.
5812 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
5814 * faces.c (get_extent_fragment_face_cache_index):
5815 Fix cachel.merged_faces memory leak.
5817 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
5819 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
5820 Reset MSB of octets obtained by DECODE_SJIS
5821 because of the incompatibility with Emacs.
5822 (ccl_driver)<CCL_ENCODE_SJIS>:
5823 Set MSB of octets before passing them to
5824 ENCODE_SJIS because of the incompatibility
5827 2000-10-18 Daiki Ueno <ueno@unixuser.org>
5829 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
5830 (DECLARE_LRECORD): Undo the last change.
5831 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
5833 2000-10-17 Daiki Ueno <ueno@unixuser.org>
5835 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
5836 the implementation to lrecord_implementations_table.
5838 2000-10-14 Daiki Ueno <ueno@unixuser.org>
5840 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
5841 initial value of `lrecord_type_##c_name' and
5842 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
5843 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
5844 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
5845 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
5846 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
5848 2000-10-17 Martin Buchholz <martin@xemacs.org>
5850 * miscplay.c (sndcnv8S_2mono):
5851 (sndcnv2monounsigned):
5852 (sndcnvULaw_2linear):
5854 Remove implementation-defined behavior.
5856 2000-10-12 Martin Buchholz <martin@xemacs.org>
5858 * input-method-xlib.c: Warning suppression.
5860 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
5862 * mule-ccl.c: Sync up with Emacs 21.0.90.
5863 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
5865 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
5867 (ccl_driver[WriteMultibyteChar2]): Bug fix.
5868 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
5869 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
5870 leading char belongs to official 2-dimensional charset.
5871 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
5872 write the given character as is. Otherwise,
5873 if it is a multibyte char, convert it by
5874 non_ascii_set_charptr_emchar, then write it.
5875 (CCL_WRITE_STRING): Likewise.
5876 (ccl_get_compiled_code): New function.
5877 (setup_ccl_program): When ccl_prog is invalid,
5879 (Fregister_code_conversion_map): New function.
5880 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
5882 * mule-ccl.h: Sync up with Emacs 21.0.90.
5883 (Fregister_ccl_program): export it.
5885 * redisplay-msw.c (separate_textual_runs):
5886 If ccl program is not valid, don't do ccl conversion.
5888 * redisplay-x.c (separate_textual_runs): Ditto.
5890 * file-coding.c (Fmake_coding_system):
5891 When type is ccl and value is vector, register it
5892 with a proper symbol. And checks whether the
5893 given ccl program is valid.
5894 (mule_decode): When calling ccl_driver, if src indicates
5895 NULL pointer, set an empty string instead.
5896 (mule_encode): Likewise.
5898 2000-10-11 Martin Buchholz <martin@xemacs.org>
5900 The following large batch of changes gets us back to a state of
5901 C++ compilability. Extbyte is now a char, which means that
5902 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
5904 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
5906 * sound.c (Fplay_sound): Type correctness.
5908 * select-x.c (hack_motif_clipboard_selection): Type correctness.
5909 (x_get_window_property): Type correctness.
5910 (receive_incremental_selection): unsigned char ==> Extbyte
5911 (selection_data_to_lisp_data): unsigned char ==> Extbyte
5912 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
5913 (Fx_store_cutbuffer_internal): Type correctness.
5915 * process-unix.c (try_to_initialize_subtty): Type correctness.
5917 * objects-x.c (x_print_color_instance): Type correctness.
5918 (x_print_font_instance): Type correctness.
5919 (x_list_fonts): SExtbyte ==> Extbyte.
5920 (valid_x_font_name_p): SExtbyte ==> Extbyte.
5921 (x_find_charset_font): SExtbyte ==> Extbyte.
5922 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
5923 (truename_via_XListFonts): SExtbyte ==> Extbyte.
5924 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
5927 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
5928 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
5929 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
5930 (BYTE_C0_P): Use bit ops for char-signedness safety.
5931 (BYTE_C1_P): Use bit ops for char-signedness safety.
5932 (CHARSET_BY_LEADING_BYTE):
5933 (CHARSET_BY_ATTRIBUTES):
5934 Always use inline function.
5935 Use type_checking_assert.
5938 * mule-charset.c (non_ascii_charptr_copy_char):
5939 Modify to work with both ASCII and non-ASCII characters.
5940 Improve docs and variable names.
5941 Replace over-clever fall-through switch with a simple loop.
5942 (Lstream_get_emchar_1):
5943 Replace over-clever fall-through switch with a simple loop.
5945 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5946 Warning suppression.
5948 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
5949 the return value of Lstream_getc, which could be EOF as well.
5951 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
5953 * lisp.h: Make Extbyte a char, not unsigned char, so that external
5954 APIs can be used on Extbytes without casts. Risky!
5958 * input-method-xlib.c (XIM_init_device):
5959 Use Xlib.h instead of IntrinsicP.h.
5960 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
5961 which will break in X11R7.
5962 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
5963 to call XRegisterIMInstantiateCallback with correct types.
5965 * gui-x.c (button_item_to_widget_value): Type correctness.
5967 * glyphs.c (bitmap_to_lisp_data): Type correctness.
5969 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
5970 (xbm_instantiate_1): Type correctness.
5971 (BUILD_GLYPH_INST): Type correctness.
5973 * fileio.c (Fsubstitute_in_file_name): Type correctness.
5976 (decode_coding_sjis):
5977 (decode_coding_big5):
5978 (decode_coding_ucs4):
5979 (decode_coding_utf8):
5980 (decode_coding_iso2022):
5981 (decode_coding_no_conversion):
5982 Make all decoding functions take an Extbyte * arg.
5983 (encode_coding_sjis):
5984 (encode_coding_big5):
5985 (encode_coding_ucs4):
5986 (encode_coding_utf8):
5987 (encode_coding_iso2022):
5988 (encode_coding_no_conversion):
5989 Make all encoding functions take a Bufbyte * arg.
5990 Use size_t instead of unsigned int for memory sizes.
5991 Only cast to unsigned char whenever dereferencing Extbyte *.
5993 * doc.c (unparesseuxify_doc_string): Type correctness.
5995 * console-x.c (split_up_display_spec):
5996 Rewrite without using details of internal string representation.
5997 (x_semi_canonicalize_device_connection): Type correctness.
6000 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
6001 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
6002 (HAVE_XFREE386): Removed.
6004 * buffer.h (DEC_CHARPTR): `const' correctness.
6005 (bufbyte_strcmp): New.
6006 (bufbyte_memcmp): New.
6008 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
6010 * buffer.h (XCHAR_OR_CHAR_INT):
6011 Always use inline function.
6012 Remove redundant type checking assert() - XINT will abort quite nicely.
6014 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6016 * search.c (Freplace_match): Set newtext to an empty string.
6018 2000-10-10 Martin Buchholz <martin@xemacs.org>
6020 * s/decosf1-3.h: Remove #include of stropts.h
6021 * s/ptx.h: Remove #include of stropts.h
6022 * s/usg5-4.h: Remove #include of stropts.h
6025 Use stropts.h, not sys/stropts.h.
6026 Use strtio.h, not sys/strtio.h.
6028 2000-10-04 Martin Buchholz <martin@xemacs.org>
6030 * XEmacs 21.2.36 is released.
6032 2000-09-21 Andy Piper <andy@xemacs.org>
6034 * glyphs-x.c (x_redisplay_widget): make sure non-structural
6035 changes still involve copying the widget tree.
6036 (update_widget_face): make sure a change is register in the widget
6037 tree. Call update_tab_widget_face appropriately.
6038 (update_tab_widget_face): ditto.
6039 (x_tab_control_redisplay): make sure non-structural changes still
6040 involve copying the widget tree.
6042 2000-08-31 Daiki Ueno <ueno@unixuser.org>
6044 * lread.c (locate_file): Check the path element is non-nil.
6046 2000-10-02 Martin Buchholz <martin@xemacs.org>
6048 * lisp.h: Warning suppression for SCO compilers.
6050 * redisplay-tty.c (reset_tty_modes): Fix crash.
6051 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
6053 2000-09-27 Martin Buchholz <martin@xemacs.org>
6055 Big signal/process handling overhaul. Bugs fixed:
6056 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
6057 M-x comint-kill-subjob should work for both values nil and t of
6058 process-connection-type. It was broken on most platforms.
6059 Testing on Irix and Cygwin still needed. Other plaforms tested.
6060 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
6061 * process-unix.c: Signal/Process handling overhaul.
6062 (pty_name): make 64 bytes, as `expect' does, for paranoia.
6063 (allocate_pty): Use all available modern methods of allocating
6064 ptys, falling back to old style BSD allocation as a last resort.
6065 Use allegedly more secure Unix98 pty allocation by default.
6066 (allocate_pty_the_old_fashioned_way): New. the last resort.
6067 (unix_create_process): Push ptem, ldterm, ttcompat where
6068 available. Autoconfiscate.
6069 (try_to_initialize_subtty): New.
6070 (unix_kill_child_process): Proper signal handling for ptys on most
6071 platforms, using special knowledge of AIX, BSD, etc...
6072 (unix_create_process): Always disconnect_controlling_terminal() for
6073 subprocesses, whether using ptys or not.
6074 * process.h: Remove old getpt-dependent PTY code.
6075 * process.c (Fprocess_send_signal): New, obvious generic function.
6076 (decode_signal): New.
6077 (Finterrupt_process):
6081 (Fcontinue_process):
6082 (Fsignal_process): Use decode_signal.
6083 (process_send_signal):
6084 Many docstring corrections.
6085 Allow any signal to be sent to a process object.
6086 * config.h.in: Add symbols for big signal/process overhaul.
6087 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
6088 * sysproc.h: Include process-related headers, where available:
6089 sys/stropts.h sys/strtio.h pty.h libutil.h
6097 Remove old S&M pty stuff.
6098 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
6099 * systty.h: Simplify cpp hackery, improve comments.
6100 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
6102 * editfns.c (Fformat_time_string):
6103 Be a little more paranoid with the return value of ctime.
6105 * fileio.c (check_executable):
6107 Use symbolic constants X_OK, W_OK.
6109 * console-x.c (split_up_display_spec): Fix a warning.
6111 2000-10-02 Martin Buchholz <martin@xemacs.org>
6113 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
6114 * ntproc.c (sys_spawnve): make_string ==> build_string
6115 Small clarity improvements.
6117 2000-09-30 Martin Buchholz <martin@xemacs.org>
6119 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
6121 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
6123 * config.h.in (HAVE_STRCASECMP): Remove.
6125 2000-09-29 Martin Buchholz <martin@xemacs.org>
6127 * redisplay-output.c (redisplay_output_pixmap):
6128 Cleaner and possibly more 64-bit correct code.
6130 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
6132 * dumper.c (pdump_load_finish): move restoration of
6133 `noninteractive1' to emacs.c (main_1).
6134 * emacs.c (main_1): protect LISP-visible command-line flags
6137 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
6139 * Makefile.in.in (versionclean): Use EXE_TARGET and
6140 DUMP_TARGET instead of literal program names.
6142 2000-09-20 Martin Buchholz <martin@xemacs.org>
6144 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
6146 2000-09-19 Martin Buchholz <martin@xemacs.org>
6148 * *: Spelling mega-patch
6150 2000-09-19 Martin Buchholz <martin@xemacs.org>
6152 * fns.c (bad_bad_turtle):
6153 Delete "Eek!" comment, since we fixed the bug to which it refers.
6155 2000-09-16 Martin Buchholz <martin@xemacs.org>
6157 * alloca.c: Replace REGISTER with register.
6159 2000-09-16 Daiki Ueno <ueno@unixuser.org>
6161 * file-coding.c (ucs_to_char): Use countof.
6163 2000-09-16 Martin Buchholz <martin@xemacs.org>
6165 * file-coding.c: (ucs_to_char):
6166 (complex_vars_of_file_coding):
6167 Use countof instead of sizeof.
6168 Use CHECK_NATNUM instead of CHECK_INT.
6170 * sysdep.c (strcasecmp): Remove.
6171 * device-x.c (ascii_strcasecmp): New.
6172 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
6173 Avoid using non-standard non-portable strcasecmp.
6175 2000-09-16 Martin Buchholz <martin@xemacs.org>
6177 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
6178 * font-lock.c: remove reference to emacsfns.h.
6179 * search.c: small doc improvement.
6180 * event-Xt.c: correct file names in comments.
6181 * console-x.h Correct file names in comments.
6182 * frame.c: Correct file names in comments.
6183 * event-stream.c: remove Energize from comments.
6185 2000-09-15 Martin Buchholz <martin@xemacs.org>
6187 * symeval.h (DEFERROR_STANDARD):
6190 (DEFSYMBOL_NO_DUMP):
6191 (DEFSYMBOL_MULTIWORD_PREDICATE):
6192 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
6194 The construct &##name is not sensible C.
6195 Fixes compilation errors with Unixware native compiler.
6197 2000-09-14 Martin Buchholz <martin@xemacs.org>
6199 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
6200 (next_frame_internal): Removed. We now just have next_frame.
6202 Write a simpler and cleaner one-pass algorithm.
6203 Remove called_from_delete_device arg and #ifdefed-out code.
6205 Renamed from prev_frame. Update callers.
6206 Cleaned up to have an analogous implementation to next_frame.
6207 (other_visible_frames_internal): Remove the
6208 called_from_delete_device bogus arg, and hence, remove this
6209 function. Just use other_visible_frames().
6211 * window.c (Fnext_window):
6213 Since next_frame() is guaranteed to return a frame, remove check
6214 for nil inserted in previous patch.
6217 Make code look more like Fnext_window.
6219 Respect the `console' arg when iterating through windows.
6220 Fixes bug: (get-buffer-window buffer t device) not respecting
6222 This function needs more work, as others have pointed out.
6224 * frame.h: Rename prev_frame to previous_frame.
6225 device_matches_console_spec no longer takes a `frame' arg.
6230 Use EMACS_BLOCK_SIGNAL instead of sigblock.
6231 From "Golubev I. N." <gin@mo.msk.ru>.
6233 * make-src-depend: Fix typo.
6235 2000-09-13 Martin Buchholz <martin@xemacs.org>
6237 * window.c (Fnext_window):
6238 next_frame() might return nil, not a frame.
6240 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6242 * frame.c (next_frame_internal):
6243 We've passed a frame if we've passed its device.
6245 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6246 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
6248 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6250 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6251 Allow option to suppress accelerators in menu/dialog items.
6252 (populate_or_checksum_helper): Pass dialog title through above.
6254 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
6256 * event-msw.c (mswindows_key_to_emacs_keysym):
6257 Add "pause" key, fix "menu" key.
6259 2000-09-09 Martin Buchholz <martin@xemacs.org>
6261 * eval.c (reinit_vars_of_eval):
6262 Increase max_lisp_eval_depth to 1000,
6263 required for thai-xtis.el to byte-compile under some circumstances.
6265 2000-09-04 Martin Buchholz <martin@xemacs.org>
6267 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
6270 2000-09-01 Martin Buchholz <martin@xemacs.org>
6272 * make-src-depend: Make the generated Makefiles smaller.
6274 * s/hpux.h (SETUP_SLAVE_PTY):
6275 Provide a %d in the format string for the errno argument.
6277 * editfns.c (Ftemp_directory):
6279 Avoid buffer overrun on very long file name.
6281 * input-method-xlib.c (XIM_init_device):
6282 6th parameter of XRegisterIMInstantiateCallback has different
6283 pointer types on different OSes, so simply cast to (void *).
6285 * unexhp9k800.c: Warning fixes. Fiddly changes.
6287 * sysdll.c (dll_open):
6288 shl_load will hang hard if passed a NULL filename.
6289 Simply return NULL for compatibility with dlopen.
6290 * sysdll.c: Conform to XEmacs coding standards.
6292 * sysdep.c (get_pty_max_bytes):
6293 Support pty input lines longer than 512 bytes on HP-UX 10.20.
6295 2000-08-31 Martin Buchholz <martin@xemacs.org>
6297 * tooltalk.c: Add #include <syssignal.h>
6299 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
6301 * s/hpux.h: Don't use undefined function sigunblock().
6303 2000-08-31 Martin Buchholz <martin@xemacs.org>
6305 * config.h.in: Add HAVE_BALLOON_HELP.
6306 * emacs.c: Use HAVE_BALLOON_HELP.
6307 * Makefile.in.in (x_objs):
6308 Make Balloon Help conditional on finding shape.h.
6310 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
6312 * syntax.c (regex_emacs_buffer_p): New variable.
6313 * syntax.h (regex_emacs_buffer_p): extern.
6314 * search.c (looking_at_1):
6316 (fast_string_match):
6317 (search_buffer): Set regex_emacs_buffer_p.
6318 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
6319 when before_dot, at_dot, after_dot.
6321 2000-08-23 Andy Piper <andy@xemacs.org>
6323 * gui-x.c (popup_selection_callback): Only set action_occurred
6324 when we really have an image instance.
6325 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
6327 2000-08-23 Andy Piper <andy@xemacs.org>
6329 * gui-msw.c (mswindows_handle_gui_wm_command): set
6331 * gui-x.c (popup_selection_callback): ditto.
6333 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
6334 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
6335 (struct Lisp_Image_Instance): add action_occurred flag.
6337 * glyphs.c (redisplay_subwindow): use action_occurred flag.
6338 (image_instance_changed): ditto.
6339 (reset_frame_subwindow_instance_cache): only unmap windows - do
6340 not remove them from the cache also.
6342 * glyphs-widget.c (tab_control_update): better debug.
6343 (progress_gauge_update): ditto.
6344 (layout_update): ditto.
6345 (layout_instantiate): ditto.
6346 (tab_control_order_only_changed): cope with null pending items.
6348 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
6349 debug. Force selection of an item when an action occurred. Cope
6350 with null pending_items.
6351 (mswindows_progress_gauge_redisplay): better debug.
6352 * glyphs-x.c (x_tab_control_redisplay): ditto.
6354 * redisplay.c (redisplay_frame): reset the frame cache if the
6357 * window.c (Fset_window_configuration): potentially re-enable
6359 (window_unmap_subwindows): need to finalize instances here since
6360 it is only used in mark_window_as_deleted.
6362 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
6364 * nas.c (SndOpenDataForReading):
6365 nas.c (WaveOpenDataForReading):
6366 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
6367 Somehow escaped from the 2000-08-14 patch.
6369 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6371 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
6372 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
6374 2000-08-21 Andy Piper <andy@xemacs.org>
6376 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
6377 window if it is not already displayed.
6379 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
6380 it is not already displayed.
6382 * window.c (Fset_window_configuration): don't reset the frame
6385 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
6386 instances from the frame cache if we are actually finalizing them.
6387 (reset_frame_subwindow_instance_cache): reset frame cache only
6388 after unmapping everything.
6389 (map_subwindow): set displayed flag after mapping.
6391 2000-08-21 Martin Buchholz <martin@xemacs.org>
6393 * data.c (indirect_function):
6394 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
6396 * eval.c (function_argcount):
6397 Use original function when signaling errors.
6399 2000-08-18 Andy Piper <andy@xemacs.org>
6401 * frame.c (delete_frame_internal): use new
6402 free_frame_subwindow_instances name.
6404 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
6405 (add_tab_item): make return type correct.
6406 (mswindows_tab_control_instantiate): assert index of tab.
6407 (mswindows_tab_control_redisplay): Re-code to use
6408 gui_item_equal_sans_selected and gui_item_list_find_selected.
6410 * glyphs-widget.c (tab_control_update): Correct comment.
6412 * window.c (window_unmap_subwindows): use new
6413 unmap_subwindow_instance_cache_mapper.
6414 (window_unmap_subwindows_cache_mapper): deleted.
6415 (Fset_window_configuration): comparisons should now be with
6416 EQ. Preserve the subwindow instance cache across configuration
6418 (allocate_window): ditto.
6419 (make_dummy_parent): ditto.
6421 * glyphs.c (free_frame_subwindow_instances): rename from
6422 free_frame_subwindow_instance_cache. finalize all instances rather
6423 than just those in the display cache.
6424 (finalize_all_subwindow_instances): walk windows unmapping and
6425 finalizing subwindows.
6426 (unmap_subwindow_instance_cache_mapper): moved from
6427 window.c. Allow finalization as well as unmapping.
6429 * gui.c (gui_item_list_find_selected): new function.
6431 * gui.h (gui_item_list_find_selected): declare.
6433 * glyphs-x.c (x_tab_control_redisplay): pick tab
6434 explicitly. Re-code to use gui_item_equal_sans_selected and
6435 gui_item_list_find_selected.
6437 * glyphs-x.h: add lwlib-utils.h
6439 * buffer.c (Frecord_buffer): undo previous change.
6441 2000-08-09 Vin Shelton <acs@xemacs.org>
6443 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
6444 possible. Create temporary files more securely. The patch was
6445 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
6446 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
6447 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
6450 2000-08-07 Ben Wing <ben@xemacs.org>
6452 * getloadavg.c: remove duplicate (and windows-breaking)
6453 includes of fcntl.h and sys/file.h.
6455 * nt.c: remove duplicate getloadavg() definition.
6457 * sysdll.h (Qdll_filename_encoding): add missing stand-in
6460 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
6462 * eval.c (function_argcount): If function needs to be autoloaded
6463 actually use the loaded definition.
6466 2000-08-05 Ben Wing <ben@xemacs.org>
6468 * getloadavg.c: add prototype for getloadavg(). remove
6469 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
6470 of the code). remove duplicate header includes.
6472 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
6474 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
6475 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
6476 useful load average.
6478 * alloc.c (reinit_alloc_once_early): removed references to
6479 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
6480 the lisp vars are the only things referencing the malloc_sbrk_*
6481 vars, and they were already if 0'd out. these vars only exist
6482 in the older malloc.c, which is basically unused, and they're
6483 only for informational purposes.
6485 * m\*.h: removed useless VIRT_ADDR_VARIES.
6487 * m\powerpc.h: removed stray NO_ARG_ARRAY.
6489 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
6491 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
6492 color if the image is a mono pixmap.
6494 2000-07-30 Ben Wing <ben@xemacs.org>
6496 * Makefile.in.in (release):
6499 * buffer.c (directory_is_current_directory):
6500 * dired-msw.c (mswindows_get_files):
6502 * dired.c (Fdirectory_files):
6503 * dired.c (file_name_completion_stat):
6504 * dired.c (Ffile_attributes):
6505 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
6506 preprocessor tricks, to avoid problems on some machines
6509 * callproc.c (egetenv): GC docs.
6512 * console-msw.h (struct mswindows_dialog_id):
6513 * lrecord.h (lrecord_type):
6514 New object for use with MSW dialogs.
6516 * console.h (struct console_methods):
6517 New enable/disable frame methods, for proper modal dialogs.
6519 * device-msw.c (msprinter_default_printer): Fix to follow
6520 proper Mule conventions.
6523 * device-msw.c (signal_open_printer_error):
6524 * device-msw.c (msprinter_init_device):
6525 * device-msw.c (ensure_not_printing):
6526 * device-msw.c (plist_get_margin):
6527 * device-msw.c (Fmsprinter_select_settings):
6528 * device-msw.c (finalize_devmode):
6529 * device-msw.c (Fmsprinter_settings_despecialize):
6530 * device-msw.c (signal_enum_priner_error):
6531 * extents.c (decode_extent):
6532 * extents.c (decode_map_extents_flags):
6533 * extents.c (decode_extent_at_flag):
6534 * extents.c (Fextent_at):
6535 * extents.c (Fextents_at):
6536 * extents.c (symbol_to_glyph_layout):
6537 [[[[2]]]] Use structured errors.
6540 * dialog-msw.c (mswindows_is_dialog_msg):
6541 * dialog-msw.c (mark_mswindows_dialog_id):
6542 * dialog-msw.c (dialog_proc):
6543 * dialog-msw.c (handle_question_dialog_box):
6544 * dialog-msw.c (syms_of_dialog_mswindows):
6545 Define new object to clean up marking; use it as a dialog identifier.
6546 Call new delete-dialog-box-hook.
6548 * dialog-x.c (dbox_selection_callback):
6549 * dialog-x.c (dbox_descriptor_to_widget_value):
6550 * dialog-x.c (x_make_dialog_box_internal):
6551 Call new delete-dialog-box-hook.
6555 * dialog.c (syms_of_dialog):
6556 * dialog.c (vars_of_dialog):
6557 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
6560 * eval.c (signal_call_debugger):
6561 when noninteractive, output stack traces on the console instead
6562 of in a (never-seen) buffer.
6564 * eval.c (signal_type_error):
6565 * eval.c (invalid_argument_2):
6567 new funs for use w/structured errors.
6570 * event-Xt.c (x_to_emacs_keysym):
6571 * event-Xt.c (describe_event):
6572 * event-Xt.c (emacs_Xt_event_handler):
6573 * event-Xt.c (vars_of_event_Xt):
6575 * event-msw.c (mswindows_wnd_proc):
6576 * event-msw.c (vars_of_event_mswindows):
6577 rename {x,mswindows}-debug-events to debug-{}-events for
6578 consistency with other debug-foo variables.
6581 document next-event more clearly.
6583 * fileio.c (Ffile_name_directory):
6584 * fileio.c (Ffile_name_nondirectory):
6585 * fileio.c (Funhandled_file_name_directory):
6586 * fileio.c (file_name_as_directory):
6587 * fileio.c (Ffile_name_as_directory):
6588 * fileio.c (directory_file_name):
6589 * fileio.c (Fdirectory_file_name):
6590 * fileio.c (Fmake_temp_name):
6591 * fileio.c (Ffile_truename):
6592 * fileio.c (Fsubstitute_in_file_name):
6593 * fileio.c (expand_and_dir_to_file):
6594 * fileio.c (barf_or_query_if_file_exists):
6595 * fileio.c (check_executable):
6596 * fileio.c (Ffile_exists_p):
6597 * fileio.c (Ffile_writable_p):
6598 * fileio.c (Ffile_directory_p):
6599 * fileio.c (Ffile_regular_p):
6600 * fileio.c (Ffile_modes):
6601 * fileio.c (Ffile_newer_than_file_p):
6602 * fileio.c (Fverify_visited_file_modtime):
6603 * fileio.c (Fset_visited_file_modtime):
6604 * fileio.c (auto_save_1):
6609 * frame-msw.c (mswindows_init_frame_1):
6610 * frame-msw.c (mswindows_enable_frame):
6611 * frame-msw.c (error_frame_unsizable):
6612 * frame-msw.c (msprinter_init_frame_1):
6613 * frame-msw.c (msprinter_init_frame_3):
6614 * frame-msw.c (console_type_create_frame_mswindows):
6616 implement new enable/disable frame methods.
6619 * frame-x.c (x_enable_frame):
6620 * frame-x.c (console_type_create_frame_x):
6621 implement new enable/disable frame methods.
6624 * frame.c (Fdisable_frame):
6625 * frame.c (syms_of_frame):
6626 * frame.h (struct frame):
6627 implement new enable/disable frame methods/functions.
6632 * glyphs-msw.c (mswindows_widget_instantiate):
6633 comment that initial-focus should be implemented.
6636 * glyphs-widget.c (check_valid_instantiator):
6637 * glyphs-widget.c (check_valid_orientation):
6638 * glyphs-widget.c (check_valid_tab_orientation):
6639 * glyphs-widget.c (check_valid_justification):
6640 * glyphs-widget.c (check_valid_border):
6641 * glyphs-widget.c (check_valid_callback):
6642 * glyphs-widget.c (check_valid_int_or_function):
6643 * glyphs-widget.c (check_valid_string_or_vector):
6644 * glyphs-widget.c (check_valid_item_list_1):
6645 * glyphs-widget.c (widget_validate):
6646 * glyphs-widget.c (combo_box_validate):
6647 * glyphs-widget.c (widget_instantiate):
6648 * glyphs-widget.c (syms_of_glyphs_widget):
6649 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
6650 * glyphs-widget.c (image_instantiator_combo_box):
6651 * glyphs-widget.c (image_instantiator_scrollbar):
6652 * glyphs-widget.c (image_instantiator_tab_control):
6653 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
6655 support (unimplemented) keyword initial-focus.
6656 reindent long macros.
6658 * glyphs-x.c (x_redisplay_widget):
6659 * glyphs-x.c (x_button_instantiate):
6660 * glyphs-x.c (x_button_redisplay):
6661 * glyphs-x.c (x_progress_gauge_instantiate):
6662 * glyphs-x.c (x_edit_field_instantiate):
6663 * glyphs-x.c (x_combo_box_instantiate):
6664 * glyphs-x.c (x_tab_control_instantiate):
6665 * glyphs-x.c (x_label_instantiate):
6667 * gui-x.c (button_item_to_widget_value):
6668 * gui-x.c (gui_items_to_widget_values_1):
6669 * gui-x.c (gui_item_children_to_widget_values):
6670 * gui-x.c (gui_items_to_widget_values):
6672 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6673 add new flag to gui-parsing routines to indicate whether
6674 accelerator specs should be supported.
6676 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
6678 * glyphs.h (struct Lisp_Image_Instance):
6679 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
6680 add initial-focus flag.
6683 * gui.c (syms_of_gui):
6684 * gui.c (vars_of_gui):
6685 clean up menu-no-selection-hook.
6688 support delete-dialog-box-hook.
6690 * lread.c (Fload_internal):
6691 * lread.c (locate_file_in_directory_mapper):
6695 * lrecord.h (struct toolbar_button):
6696 * lrecord.h (syms_of_toolbar):
6697 document how to create a new object.
6699 * menubar-msw.c (mswindows_char_is_accelerator):
6700 may be called on frames w/o menus.
6702 * menubar.c (vars_of_menubar):
6703 clean up :filter docs.
6710 * process-nt.c (validate_signal_number):
6711 * process-nt.c (signal_cannot_launch):
6712 * process-nt.c (nt_create_process):
6713 * process-nt.c (nt_send_process):
6714 * process-nt.c (nt_kill_child_process):
6715 * process-nt.c (nt_open_network_stream):
6716 * process-nt.c (syms_of_process_nt):
6718 delete quote-handling. call new lisp code that does it better.
6720 * process-unix.c (connect_to_file_descriptor):
6721 * process-unix.c (allocate_pty):
6722 * process-unix.c (unix_send_process):
6723 * process-unix.c (unix_kill_child_process):
6724 * process-unix.c (unix_open_network_stream):
6725 * process-unix.c (unix_open_multicast_group):
6729 * process.c (Fstart_process_internal):
6730 (2). need to canonicalize process path even if absolute.
6732 * select-msw.c (symbol_to_ms_cf):
6733 * select-msw.c (ms_cf_to_symbol):
6734 * select-msw.c (cf_is_autofreed):
6735 * select-msw.c (mswindows_destroy_selection):
6737 * select.c (syms_of_select):
6739 support dibv5, fix bugs. (from Mike Alexander)
6741 * select.c (Fget_selection_internal):
6742 * select.c (select_convert_out):
6745 * sysdep.c (xemacs_stat):
6750 but keep original stat() here because we provide encapsulation
6754 * sysfile.h (fstat):
6755 remove stat garbage.
6759 don't include tchar.h. it's inappropriate because it makes
6760 compile-time distinctions when we want runtime distinctions.
6761 (we provide our own tchar replacements)
6764 use default object printer for toolbar-button.
6767 make sure we don't encapsulate.
6769 * window.c (vars_of_window):
6770 emphasize that temp-buffer-show-hook is obsolete.
6772 2000-08-05 Martin Buchholz <martin@xemacs.org>
6774 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
6775 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
6777 * events.c (Fevent_timestamp_lessp):
6778 Not 64-bit clean. Use EMACS_INT, not int.
6780 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
6782 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
6783 unsigned int and changed the last enum to
6784 lrecord_type_last_built_in_type.
6785 (lrecord_implementations_table): changed prototype to know how
6786 long the array is supposed to be.
6787 (lrecord_type_count): new unsigned int to keep track of the
6788 current number of lisp lrecord types.
6789 (DEFINE_EXTERNAL_LRECORD):
6790 (DECLARE_EXTERNAL_LRECORD): Added these two for external
6791 dynamic-modules to declare new lisp types. They are the same
6792 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
6793 int for each new type, and increment lrecord_type_count by 1.
6795 * alloc.c (lrecord_implementations_table): Changed to reference
6796 lrecord_type_last_built_in_type for the size of the array.
6797 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
6799 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6801 * glyphs.h (check_valid_item_list): Renamed from
6802 check_valid_item_list_1.
6804 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
6806 * select.c (Qselect_coerce): New.
6807 * select.c (Vselection_coercion_alist): New.
6808 * select.c (syms_of_select): Declare.
6809 * select.c (get-selection-internal): Use it.
6810 Use the new select-coerce functionality.
6812 * select.c (select_coerce): New.
6813 * select.h (select_coerce): Declare.
6814 New function to coerce one type of data into another.
6816 2000-08-03 Martin Buchholz <martin@xemacs.org>
6818 * callproc.c (Fcall_process_internal):
6819 (Fcall_process_internal):
6820 * process-unix.c (unix_create_process):
6821 Save and restore the value of errno, so that error messages are accurate.
6823 2000-08-01 Martin Buchholz <martin@xemacs.org>
6825 * elhash.c (print_hash_table):
6826 Fix printing of hash tables to also use `key-and-value' instead of `t'.
6827 Prettify docstrings and indentation.
6829 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
6831 * window.c (Fwindow_pixel_edges): Subtract frame border and
6834 2000-07-31 Andy Piper <andy@xemacs.org>
6836 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
6837 will acknowledge the change.
6839 * glyphs.h: declare tab_control_order_only_changed.
6841 * glyphs-x.c (x_tab_control_redisplay): use
6842 tab_control_order_only_changed.
6844 * glyphs-widget.c (tab_control_order_only_changed): new function.
6846 * glyphs-msw.c (mswindows_tab_control_redisplay): use
6847 tab_control_order_only_changed.
6849 * gui.c (gui_item_equal_sans_selected): new function.
6850 (gui_item_equal): use it.
6852 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
6853 :properties in favor of :items..
6855 * glyphs-widget.c (check_valid_item_list): rename from
6856 check_valid_item_list_1.
6857 (check_valid_item_list_1): renamed.
6858 (combo_box_validate): deprecate :properties in favor of :items.
6859 (widget_instantiate): ditto.
6860 (tab_control_update): ditto.
6861 (image_instantiator_combo_box): ditto.
6862 (image_instantiator_tree_view): ditto.
6863 (image_instantiator_tab_control): ditto.
6864 (layout_post_instantiate): remove dead code.
6866 * print.c (debug_print_no_newline): only write to debugger if in
6869 * elhash.c (Fmake_hash_table): update doc string.
6871 * event-msw.c (mswindows_wnd_proc): don't allow processing of
6872 messages whilst in GC. This at least stops XEmacs crashing but has
6873 the potential for wierd behaviour.
6875 2000-07-31 Martin Buchholz <martin@xemacs.org>
6878 Make existence of s&m files optional.
6880 * s/bsd386.h: Remove HAVE_GETLOADAVG.
6881 * s/freebsd.h: Remove HAVE_GETLOADAVG.
6882 * s/gnu.h: Remove HAVE_GETLOADAVG.
6883 * s/netbsd.h: Remove HAVE_GETLOADAVG.
6884 * s/sol2.h: Remove HAVE_GETLOADAVG.
6885 * lisp.h: Remove getloadavg() declaration.
6887 Include <sys/loadavg.h> if available.
6888 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
6889 * config.h.in: Group together getloadavg()-related macros.
6890 Use only configure-time tests to detect getloadavg().
6892 2000-07-30 Martin Buchholz <martin@xemacs.org>
6894 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
6896 2000-07-25 Andy Piper <andy@xemacs.org>
6898 * syswindows.h: add tchar.h for native builds.
6900 * frame.c (syms_of_frame): remove set-glyph-image.
6902 * general-slots.h: add Qset_glyph_image.
6904 * glyphs-widget.c (layout_update): add domain arg to
6906 (syms_of_glyphs_widget): remove set-glyph-image.
6908 2000-07-23 Ben Wing <ben@xemacs.org>
6910 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
6913 2000-07-22 Andy Piper <andy@xemacs.org>
6915 * symsinit.h: add syms_of_win32().
6917 * gui-msw.c (syms_of_gui_mswindows): remove
6918 Fmswindows_shell_execute.
6919 (Fmswindows_shell_execute): moved to win32.c.
6921 * emacs.c (main_1): add syms_of_win32 ().
6923 * win32.c (init_potentially_nonexistent_functions): rewrite in
6924 compiler-friendly terms.
6925 (Fmswindows_shell_execute): move here from gui-msw.c.
6926 (syms_of_win32): new.
6928 * device-msw.c (Fmswindows_printer_list): clean up args to
6930 Don't include tchar under cygwin or mingw.
6931 (msprinter_default_printer): make cygwin-friendly.
6933 2000-07-21 Andy Piper <andy@xemacs.org>
6935 * glyphs-widget.c (image_instantiator_tree_view): use tab
6936 control's update function.
6937 (layout_property): new function. Retrieve items.
6939 * glyphs-msw.c (mswindows_tree_view_redisplay): new
6940 function. Re-populate the tree view from the pending items.
6942 * glyphs.c (instantiate_image_instantiator): Make sure the domain
6943 is designated the parent if the domain is an image instance. This
6944 is needed so that dirtiness can be cascade up the hierarchy and
6945 thus for layout children to be redisplayed correctly.
6946 (allocate_image_instance): rename glyph -> parent.
6948 * redisplay.h: change redisplay_output_layout signature.
6950 * redisplay-msw.c (mswindows_output_display_block): use domain
6953 * redisplay-x.c (x_output_display_block): use domain arg.
6955 2000-07-10 Andy Piper <andy@xemacs.org>
6957 * window.c (Fset_window_configuration): add comment.
6959 * redisplay-output.c (compare_runes):
6960 (redisplay_output_subwindow): redisplay rather than update subwindow.
6961 (redisplay_output_layout): ditto.
6963 * redisplay-msw.c (mswindows_frame_output_end):
6964 (mswindows_frame_output_end): make defer window pos optional.
6966 * lisp.h: add Flast.
6968 * glyphs.h (struct image_instantiator_methods): add dest_mask top
6969 normalize method. Change update method to be for changed
6970 instantiators. Add redisplay method. Change signature of layout
6972 (struct Lisp_Image_Instance): add instantiator.
6973 (IMAGE_INSTANCE_INSTANTIATOR): new.
6974 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
6975 (XIMAGE_INSTANCE_INSTANTIATOR): new.
6976 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
6979 (find_instantiator_differences): new function.
6980 (Fset_instantiator_property): new convenience function.
6981 (check_image_instance_structure): strictly check for vector
6983 (normalize_image_instantiator): make non-static.
6984 (instantiate_image_instantiator): pass on dest_mask and use new
6985 signatures for image_instance_layout and friends.
6986 (mark_image_instance): mark the instantiator. Mark the subwindow
6987 face not the widget face.
6988 (image_instance_equal): add instantiator.
6989 (image_instance_hash): ditto.
6990 (allocate_image_instance): ditto.
6991 (Fset_image_instance_property): removed.
6992 (Fimage_instance_file_name): ditto.
6993 (Fcolorize_image_instance): ditto.
6994 (image_instance_layout): add offsets to be set.
6995 (update_image_instance): new function. update an image instance
6996 from its changed instantiator.
6997 (inherit_normalize): add dest_mask.
6998 (xbm_normalize): ditto.
6999 (xface_normalize): ditto.
7000 (xpm_normalize): ditto.
7001 (text_update): set_property -> update.
7002 (image_instantiate): use the glyph identity as a hash key, not the
7004 (glyph_width): use new image_instance_layout signature.
7005 (glyph_ascent): ditto.
7006 (glyph_descent): ditto.
7007 (glyph_height): ditto.
7008 (glyph_query_geometry): ressurrect.
7009 (glyph_layout): ditto.
7010 (redisplay_subwindow): update -> redisplay.
7011 (syms_of_glyphs): add Fset_instantiator_property.
7012 (image_instantiator_format_create): set_property -> update.
7015 (autodetect_normalize): add dest_maks to signature.
7016 (x_redisplay_subwindow): update -> redisplay.
7017 (x_redisplay_widget): ditto.
7018 (x_button_redisplay): ditto.
7019 (x_progress_gauge_redisplay): ditto.
7020 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
7022 (console_type_create_glyphs_x): update -> redisplay.
7023 (image_instantiator_format_create_glyphs_x): ditto.
7026 (check_valid_instantiator): disallow glyphs in the instantiator,
7027 they must now be vectors.
7028 (check_valid_instantiator_list): ditto.
7029 (glyph_instantiator_to_glyph): use internal symbol rather than
7031 (widget_update): renamed from widget_set_property. Call cascaded
7033 (redisplay_widget): renamed from update_widget.
7034 (widget_layout): image_instance_layout now takes position as well
7036 (widget_normalize): ditto.
7037 (widget_instantiate): ditto.
7038 (tab_control_query_geometry) ditto.:
7039 (tab_control_update): renamed from tab_control_set_property.
7040 (progress_gauge_update): set_property -> update.
7041 (layout_normalize): rewrite so that child instantiators are
7043 (layout_update): new function. Create glyphs from the normalized
7044 children and cope with any other layout keywords. We do not
7045 instantiate children here that will be take care of by
7046 redisplay_output_layout.
7047 (layout_instantiate): call layout_update and not much else.
7048 (layout_post_instantiate): not sure whether this is needed
7050 (layout_query_geometry): query glyph geometry rather than
7051 image_instance geometry.
7052 (layout_layout): set offsets from pass in parameters. Use glyph
7053 geometry and layout functions rather than image instance ones.
7054 (native_layout_layout): ditto.
7055 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
7056 (image_instantiator_widget): set_property -> update.
7057 (image_instantiator_buttons): ditto.
7058 (image_instantiator_progress_guage): ditto.
7059 (image_instantiator_tab_control): ditto.
7060 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
7061 (image_instantiator_layout): add update method.
7063 * glyphs-msw.c (bmp_normalize):
7064 (mswindows_resource_normalize): add dest_mask so that it can be
7065 proprogated by layout_normalize.
7066 (begin_defer_window_pos): make optional because it may not be the
7067 right thing to do and it introduces differences with X.
7068 (mswindows_unmap_subwindow): ditto.
7069 (mswindows_map_subwindow): ditto.
7070 (mswindows_redisplay_subwindow): renamed from
7071 mswindows_update_subwindow.
7072 (mswindows_redisplay_widget): ditto.
7073 (mswindows_button_redisplay): renamed from
7074 mswindows_button_update. Update is now what the instantiation
7075 function does for a changed instantiator.
7076 (mswindows_progress_gauge_instantiate): set the progress value
7077 here if appropriate.
7078 (mswindows_tab_control_redisplay): cope with re-ordering of the
7079 members of the tab widget by simply selecting the new top
7080 widget. This makes things appear ok if you click on a tab.
7081 (mswindows_combo_box_instantiate): image_instance_layout now takes
7082 position as well as size.
7083 (mswindows_progress_gauge_redisplay): renamed from
7084 mswindows_progress_gauge_update.
7085 (console_type_create_glyphs_mswindows): fix update -> redisplay.
7086 (image_instantiator_format_create_glyphs_mswindows): ditto.
7088 * glyphs-eimage.c (jpeg_normalize):
7091 (tiff_normalize): add dest_mask so that it can be proprogated by
7096 (hash_table_weakness_validate):
7097 (decode_hash_table_weakness):
7098 (Fhash_table_weakness):
7100 (syms_of_elhash): use Ben's naming scheme for hashtable types..
7102 * console.h (struct console_methods): move update_* to
7105 2000-07-20 Ben Wing <ben@xemacs.org>
7107 * *.[ch] (XSETOBJ): remove unused middle argument.
7108 lisp-disunion.h: correct wrap_object() to one argument.
7110 2000-07-15 Ben Wing <ben@xemacs.org>
7113 * s/cygwin32.h (CYGWIN_CONV_PATH):
7114 Add missing logb prototype for v1.1.
7115 Use post-b20 names and alias to pre-b20 names when pre-b20.
7117 * s/windowsnt.h: [5].
7119 2000-07-15 Ben Wing <ben@xemacs.org>
7121 * Makefile.in.in (x_objs):
7122 * Makefile.in.in (sheap_objs):
7123 * Makefile.in.in (objs):
7124 added win32.o, cosmetic cleanups.
7126 * alloc.c (Fmake_byte_code):
7127 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
7128 etc. macros which declare their own args now.
7130 * alloc.c (syms_of_alloc):
7131 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
7134 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
7136 * buffer.c (Fget_file_buffer):
7137 Fixed GCPRO problem.
7139 * buffer.c (get_truename_buffer):
7140 Fixed comment about GC checking.
7142 * buffer.c (syms_of_buffer):
7143 Undeclared those dedicated frame funs.
7147 Define convenience macros for internal/external conversions.
7148 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
7149 and Qenvironment_variable_encoding for cleaner code.
7152 Remove dedicated-frame; in lisp.
7154 * bytecode.c (funcall_compiled_function):
7157 * bytecode.c (syms_of_bytecode):
7161 * console-msw.c (mswindows_show_console): Rewrote.
7163 * console-msw.c (Fmswindows_debugging_output): New.
7164 Sends to OutputDebugString (special MSWin debugger interface).
7166 * console-msw.c (Fmswindows_message_box):
7167 Fixed stupid bugs so it works when called from kill-emacs.
7169 * console-msw.c (syms_of_console_mswindows):
7170 Declare Fmswindows_debugging_output.
7173 New MSWin prototypes.
7175 * console-msw.h (struct mswindows_frame):
7176 New entry last-click-mods for improved button-modifier support.
7178 * console-msw.h (FRAME_MSWINDOWS_POPUP):
7179 New struct entry `popup' with corresponding accessor.
7182 * console-x.c (split_up_display_spec):
7183 * console-x.c (get_display_arg_connection):
7184 * console-x.c (x_semi_canonicalize_console_connection):
7185 * console-x.c (x_canonicalize_device_connection):
7186 [[[6]]]: Change char to more specific type.
7187 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
7189 * console-x.c (x_semi_canonicalize_console_connection):
7190 * console-x.c (x_canonicalize_device_connection):
7191 [[[9]]]: Fix up error signalling to use new structured error system.
7194 [[[4]]]: Define codesys aliases:
7195 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
7196 Qx_color_name_encoding, Qx_display_name_encoding.
7198 * console.h (struct console_methods):
7199 New method make_dialog_box_internal supersedes older
7200 popup_dialog_box method.
7203 Define many new errors, part of new structured errors.
7205 * data.c (init_errors_once_early):
7206 * data.c (syms_of_data):
7209 * device-msw.c (mswindows_init_device):
7210 [[[5]]]: Cleanup to support NT 3.51.
7212 * device-msw.c (decode_devmode): Cleanup.
7214 * device-msw.c (mswindows_handle_print_setup_dialog_box):
7215 * device-msw.c (mswindows_handle_print_dialog_box):
7216 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7217 * device-msw.c (syms_of_device_mswindows):
7218 Delete the dialog box primitives recently introduced by Kirill and
7219 instead interface to general dialog box interface.
7222 * device-x.c (compute_x_app_name):
7223 * device-x.c (x_init_device):
7224 * device-x.c (Fx_valid_keysym_name_p):
7225 * device-x.c (Fx_set_font_path):
7229 * device.h (wrap_device): New.
7230 First of its kind; meant to replace XSETDEVICE.
7232 * dialog-msw.c: Many file-dialog symbols.
7234 * dialog-msw.c (mswindows_register_popup_frame): New.
7235 * dialog-msw.c (mswindows_is_dialog_msg): New.
7236 For supporting kbd traversal in dialog boxes.
7238 * dialog-msw.c (dialog_proc):
7239 Support hitting ESC in dialogs.
7241 * dialog-msw.c (struct):
7242 Common dialog box errors.
7244 * dialog-msw.c (handle_file_dialog_box): New.
7245 Add file dialog code.
7247 * dialog-msw.c (handle_question_dialog_box):
7248 Redo existing code to support new question dialog syntax.
7250 * dialog-msw.c (console_type_create_dialog_mswindows):
7251 We support new dialog console method.
7253 * dialog-msw.c (syms_of_dialog_mswindows):
7254 * dialog-msw.c (vars_of_dialog_mswindows):
7255 New file dialog symbols, vars.
7258 * dialog-x.c (maybe_run_dbox_text_callback):
7259 * dialog-x.c (dbox_descriptor_to_widget_value):
7260 * dialog-x.c (x_make_dialog_box_internal):
7261 * dialog-x.c (console_type_create_dialog_x):
7262 Mule-ize entire file.
7263 Redo to support question dialog syntax.
7267 * dialog.c (Fmake_dialog_box_internal):
7268 * dialog.c (syms_of_dialog):
7269 Kill old popup-dialog-box, replace with new primitive.
7270 Just call device method or signal error.
7272 * eldap.c (Fldap_open):
7273 * eldap.c (Fldap_search_basic):
7274 * eldap.c (Fldap_add):
7275 * eldap.c (Fldap_modify):
7280 * emacs.c (make_arg_list_1):
7281 * emacs.c (make_arg_list):
7282 Mule-ize call to dll_init().
7286 * emacs.c (make_argc_argv):
7287 * emacs.c (free_argc_argv):
7288 * emacs.c (init_cmdargs):
7290 * emacs.c (Fkill_emacs):
7291 * emacs.c (Fdump_emacs):
7292 Update comments about what can be used in syms_* etc.
7293 Call init_win32() when necessary.
7294 Fix up MS Win dialog box in kill-buffer to actually work right.
7305 * eval.c (condition_case_3):
7307 * eval.c (function_argcount):
7308 * eval.c (funcall_lambda):
7311 * eval.c (type_error): New.
7312 * eval.c (maybe_type_error): New.
7313 * eval.c (continuable_type_error): New.
7314 * eval.c (maybe_continuable_type_error): New.
7315 * eval.c (type_error_with_frob): New.
7316 * eval.c (maybe_type_error_with_frob): New.
7317 * eval.c (continuable_type_error_with_frob): New.
7318 * eval.c (maybe_continuable_type_error_with_frob): New.
7319 New functions for use with structured errors.
7322 * event-Xt.c (x_event_to_emacs_event):
7323 Buttons are now modifiers too.
7325 * event-Xt.c (emacs_Xt_current_event_timestamp):
7326 Implement new event method.
7327 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
7330 * event-msw.c (ntpipe_shove_writer): [5].
7331 * event-msw.c (mswindows_enqueue_mouse_button_event):
7332 * event-msw.c (mswindows_drain_windows_queue):
7333 * event-msw.c (mswindows_wnd_proc): [7].
7334 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
7335 * event-msw.c (mswindows_modifier_state):
7336 Throughout: support new button modifiers.
7338 * event-msw.c (emacs_mswindows_current_event_timestamp):
7339 Implement new event method.
7340 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
7343 * event-stream.c (event_stream_current_event_timestamp): New.
7344 * event-stream.c (maybe_kbd_translate): New functionality.
7345 * event-stream.c (vars_of_event_stream):
7346 Document new kbd-translate-table functionality.
7348 * event-stream.c (Fcurrent_event_timestamp): New.
7349 New primitive for use in fabricated events.
7350 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
7352 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
7355 * events.c (Fmake_event):
7356 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
7360 * events.c (format_event_object): fix gcc warnings.
7362 * events.c (Fevent_timestamp): Document new primitives.
7364 * events.c (TIMESTAMP_HALFSPACE): New.
7366 * events.c (Fevent_timestamp_lessp): New. New primitive for
7367 comparing timestamps correctly (half-space algorithm).
7369 * events.c (Fevent_modifier_bits): Doc fix.
7371 * events.c (Fevent_modifiers): Major doc addition.
7372 * events.c (event_x_y_pixel_internal): Typo fix.
7373 * events.c (syms_of_events): Declare new primitives.
7376 Update long comment for button modifiers, timestamps.
7378 * events.h (struct event_stream):
7379 New current_event_timestamp method.
7382 * extents.c (extent_in_region_p):
7383 * extents.c (decode_extent):
7384 * extents.c (Fset_extent_parent):
7385 * extents.c (decode_map_extents_flags):
7389 * extents.c (struct extent_at_arg):
7390 * extents.c (decode_extent_at_flag):
7391 * extents.c (extent_at_mapper):
7392 * extents.c (extent_at_bytind):
7393 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
7394 * extents.c (Fextents_at): New primitive. [9].
7395 * extents.c (symbol_to_glyph_layout): [9].
7396 Support new primitive `extents-at'.
7399 * extents.c (get_text_property_bytind):
7400 extent_at_bytind has another arg.
7403 * extents.c (syms_of_extents): New primitive.
7405 * file-coding.c (Fmake_coding_system): [1].
7406 * file-coding.c (subsidiary_coding_system): fix gcc warning
7407 * file-coding.c (syms_of_file_coding): [2].
7409 * fileio.c (Fexpand_file_name):
7410 * fileio.c (Fsysnetunam):
7411 * fileio.c (Ffile_exists_p):
7412 * fileio.c (Ffile_executable_p):
7413 * fileio.c (Fverify_visited_file_modtime):
7416 * fileio.c (syms_of_fileio): [2].
7418 * filelock.c (lock_file_1):
7419 * filelock.c (current_lock_owner):
7420 * filelock.c (lock_if_free):
7421 * filelock.c (lock_file):
7422 * filelock.c (unlock_file):
7425 * fns.c (concat): Fix gcc warning.
7428 * fns.c (Fold_member):
7430 * fns.c (Fold_memq):
7431 * fns.c (memq_no_quit):
7433 * fns.c (Fold_assoc):
7435 * fns.c (Fold_assq):
7436 * fns.c (assq_no_quit):
7438 * fns.c (Fold_rassoc):
7440 * fns.c (Fold_rassq):
7441 * fns.c (rassq_no_quit):
7443 * fns.c (Fold_delete):
7445 * fns.c (Fold_delq):
7446 * fns.c (delq_no_quit):
7447 * fns.c (Fremassoc):
7449 * fns.c (remassq_no_quit):
7450 * fns.c (Fremrassoc):
7451 * fns.c (Fremrassq):
7452 * fns.c (remrassq_no_quit):
7457 * frame-msw.c (mswindows_init_frame_1):
7458 * frame-msw.c (mswindows_delete_frame):
7459 Register popups with dialog code so keyboard traversing works.
7461 * frame-tty.c (tty_raise_frame_no_select): [1].
7464 * frame-x.c (x_set_frame_text_value):
7465 * frame-x.c (x_set_frame_properties):
7466 * frame-x.c (x_create_widgets):
7470 * frame.c (Fmouse_pixel_position): Minor doc fixes.
7472 * frame.h (wrap_frame): New.
7473 Macro like wrap_device.
7476 * general.c (SYMBOL):
7477 * general.c (syms_of_general):
7478 Major reorg. This is now just a wrapper and symbols themselves
7479 are listed in general-slots.h.
7481 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
7482 * glyphs-msw.c (mswindows_resource_instantiate): [5].
7484 * glyphs-msw.c (mswindows_native_layout_instantiate):
7485 Add DS_CONTROL so keyboard traversal will work.
7488 * glyphs-widget.c (syms_of_glyphs_widget):
7489 Move some symbols to general-slots.h.
7492 * glyphs-x.c (xbm_instantiate_1):
7493 * glyphs-x.c (x_xbm_instantiate):
7494 * glyphs-x.c (x_xface_instantiate):
7495 * glyphs-x.c (autodetect_instantiate):
7496 * glyphs-x.c (cursor_font_instantiate):
7497 * glyphs-x.c (x_update_widget):
7498 * glyphs-x.c (x_widget_instantiate):
7499 * glyphs.c (bitmap_to_lisp_data):
7500 * glyphs.c (pixmap_to_lisp_data):
7503 * glyphs.c (syms_of_glyphs):
7507 * gui-x.c (print_widget_value):
7508 * gui-x.c (menu_separator_style_and_to_external):
7509 * gui-x.c (add_accel_and_to_external):
7510 * gui-x.c (button_item_to_widget_value):
7511 * gui-x.c (gui_items_to_widget_values_1):
7512 * gui-x.c (gui_items_to_widget_values):
7513 * gui-x.c (syms_of_gui_x):
7514 * gui-x.c (vars_of_gui_x):
7515 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
7519 Muleize, prototype changes matching gui-x.c.
7522 * gui.c (separator_string_p):
7523 * gui.c (gui_item_add_keyval_pair):
7524 * gui.c (make_gui_item_from_keywords_internal):
7525 * gui.c (signal_too_long_error):
7526 * gui.c (parse_gui_item_tree_item):
7527 * gui.c (syms_of_gui):
7528 * gui.c (vars_of_gui):
7530 menu-no-selection-hook moved here (used by MSWin).
7531 Move some symbols to general-slots.h.
7535 * insdel.c (get_buffer_pos_char):
7536 * insdel.c (get_buffer_range_char):
7539 * keymap.c (keymap_lookup_directly):
7540 * keymap.c (keymap_store):
7541 * keymap.c (ensure_meta_prefix_char_keymapp):
7542 * keymap.c (describe_map):
7544 Support new button modifiers.
7546 * lisp-disunion.h (wrap_object):
7547 * lisp-disunion.h (XSETOBJ):
7548 Rename make_obj to wrap_object.
7551 * lisp-union.h (make_int):
7552 * lisp-union.h (make_char):
7553 Support wrap_object.
7556 * lisp.h (LIST_LOOP):
7557 * lisp.h (EXTERNAL_LIST_LOOP):
7558 * lisp.h (LIST_LOOP_2):
7559 * lisp.h (EXTERNAL_LIST_LOOP_1):
7560 * lisp.h (EXTERNAL_LIST_LOOP_2):
7561 * lisp.h (EXTERNAL_LIST_LOOP_3):
7562 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
7563 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
7564 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
7565 * lisp.h (EXTERNAL_ALIST_LOOP_5):
7566 * lisp.h (EXTERNAL_ALIST_LOOP_6):
7567 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
7568 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
7569 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
7570 * lisp.h (struct Lisp_Symbol):
7571 * lisp.h (maybe_continuable_error_with_frob):
7572 Fix up section comments.
7573 Add new types for char to indicate usage.
7574 Delete symbols auto-generated from general-slots.h.
7575 Add prototypes for structured error functions.
7576 Add long comments describing looping macros and change interface
7577 so that lvalues are automatically declared.
7578 Add NO_DECLARE macro in case callers want to declare lvalues
7581 * lread.c (read_syntax_error):
7582 * lread.c (continuable_read_syntax_error):
7583 * lread.c (read_structure):
7584 * lread.c (sequence_reader):
7585 * lread.c (read_list_conser):
7586 * lread.c (read_compiled_function):
7587 Rename syntax_error and continuable_syntax_error to avoid clash
7588 with same-named structured error functions.
7590 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7591 * menubar-msw.c (populate_menu_add_item):
7592 * menubar-msw.c (populate_or_checksum_helper):
7597 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7598 Mule-ize whole file.
7600 * menubar.c (Fnormalize_menu_item_name): Add optimization.
7602 * mule-charset.c (Fmake_charset):
7603 * mule-wnnfns.c (Fwnn_set_param):
7606 * ntproc.c (create_child):
7607 * ntproc.c (Fwin32_set_current_locale):
7608 Add comments portending doom.
7611 * objects-msw.c (old_font_enum_callback_2):
7612 * objects-msw.c (font_enum_callback_1):
7613 * objects-msw.c (mswindows_enumerate_fonts):
7617 * objects-x.c (allocate_nearest_color):
7618 * objects-x.c (x_parse_nearest_color):
7619 * objects-x.c (x_initialize_color_instance):
7620 * objects-x.c (x_print_color_instance):
7621 * objects-x.c (x_finalize_color_instance):
7622 * objects-x.c (x_valid_color_name_p):
7623 * objects-x.c (x_initialize_font_instance):
7624 * objects-x.c (x_print_font_instance):
7625 * objects-x.c (valid_x_font_name_p):
7626 * objects-x.c (truename_via_FONT_prop):
7627 * objects-x.c (truename_via_random_props):
7628 * objects-x.c (truename_via_XListFonts):
7629 * objects-x.c (x_font_truename):
7630 * objects-x.c (x_font_instance_truename):
7631 * objects-x.c (x_font_instance_properties):
7632 * objects-x.c (x_list_fonts):
7633 * objects-x.c (x_find_charset_font):
7634 Mule-ize entire file.
7641 * print.c (std_handle_out_external):
7642 * print.c (debug_print_no_newline):
7643 * print.c (syms_of_print):
7644 Output to all debugger kinds in debug-print.
7645 Fix console-output code under MSWin to actually work.
7647 * process-nt.c (send_signal):
7648 * process-nt.c (nt_create_process):
7649 Use newer Unicode macros.
7651 * process-unix.c (unix_create_process):
7652 * process-unix.c (unix_canonicalize_host_name):
7653 * process-unix.c (unix_open_network_stream):
7659 * search.c (syms_of_search):
7662 * select-msw.c (mswindows_destroy_selection):
7665 * select-x.c (symbol_to_x_atom):
7668 * select.c (syms_of_select):
7671 * sound.c (Fplay_sound_file):
7675 * specifier.c (decode_specifier_type):
7676 * specifier.c (Fvalid_specifier_locale_type_p):
7677 * specifier.c (check_valid_locale_or_locale_type):
7678 * specifier.c (decode_locale):
7679 * specifier.c (decode_locale_type):
7680 * specifier.c (decode_locale_list):
7681 * specifier.c (check_valid_domain):
7682 * specifier.c (decode_specifier_tag_set):
7683 * specifier.c (Fcanonicalize_tag_set):
7684 * specifier.c (Fdefine_specifier_tag):
7685 * specifier.c (Fspecifier_tag_predicate):
7686 * specifier.c (check_valid_inst_list):
7687 * specifier.c (check_valid_spec_list):
7688 * specifier.c (decode_how_to_add_specification):
7689 * specifier.c (check_modifiable_specifier):
7690 * specifier.c (specifier_add_spec):
7691 * specifier.c (boolean_validate):
7692 * specifier.c (display_table_validate):
7695 * specifier.c (syms_of_specifier):
7696 Move some symbols to general-slots.h.
7700 * symbols.c (Fmapatoms):
7701 * symbols.c (Fapropos_internal):
7704 * symbols.c (set_default_buffer_slot_variable):
7705 * symbols.c (set_default_console_slot_variable):
7708 * symbols.c (defsymbol_massage_name_1):
7709 * symbols.c (defkeyword_massage_name):
7710 * symbols.c (deferror_1):
7711 * symbols.c (deferror):
7712 * symbols.c (deferror_massage_name_and_message):
7714 * symeval.h (DEFSYMBOL):
7715 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
7717 * symbols.c (syms_of_symbols):
7721 * symsinit.h (init_win32): New.
7722 Also new is syms_of_dialog_mswindows.
7725 Add new Unicode macros, missing Cygwin wide-char functions,
7726 convenience conversion macros for Qmswindows_tstr, macros for
7727 encapsulating required MSWin <-> Cygwin filename conversions,
7728 prototype for dynamically-extracted (not in NT 3.51) functions.
7733 * tooltalk.c (Fadd_tooltalk_message_arg):
7734 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
7735 * tooltalk.c (Fadd_tooltalk_pattern_arg):
7738 * tooltalk.c (syms_of_tooltalk):
7742 * unexnt.c (unexec):
7743 Fix up headers, declaration of unexec() to be more standard.
7745 2000-07-20 Martin Buchholz <martin@xemacs.org>
7747 * offix.h: Revert change to guard macros - they're used in offix.c!
7749 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7751 * lisp.h: Defsubred Fdelete.
7753 * console-msw.h: (msprinter_default_printer): Added.
7755 * console-msw.c (msprinter_canonicalize_console_connection):
7756 (msprinter_canonicalize_device_connection): Added.
7758 * device-msw.c (msprinter_default_printer):
7759 (Fmswingows_get_default_printer):
7760 (signal_enum_priner_error):
7761 (Fmswingows_printer_list): Added.
7763 2000-07-19 Martin Buchholz <martin@xemacs.org>
7765 * XEmacs 21.2.35 is released.
7767 2000-07-19 Martin Buchholz <martin@xemacs.org>
7769 * select-x.c (x_handle_selection_request):
7770 Text selected in xemacs and pasted into xterm failed to appear.
7771 Spelling fixes and cosmetic changes.
7773 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7775 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
7776 XEmacs frame (fix for doubling chars in dialog boxes).
7778 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7780 * select.c (select_convert_in, select_convert_out):
7781 Don't call intern() every time.
7783 * select.c (Qselect_convert_in, Qselect_convert_out): New.
7784 * select.c (vars_of_select): Initialise them.
7786 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7788 * select.c (selection-coercible-types): New.
7790 * select.c (own-selection-internal):
7791 * select.c (get-selection-internal):
7792 MULE bug fix - these should default to COMPOUND_TEXT and not
7793 STRING for MULE. I think.
7795 * select.c (select_convert_out): Use selection-coercible-types
7796 to find types that we can attempt to perform coercions on.
7798 2000-07-18 Martin Buchholz <martin@xemacs.org>
7802 Add coding: cookie to identify encoding.
7804 * mule-canna.c (CANNA_mode_keys): make static.
7805 Use proper prototypes, even for functions of no arguments.
7806 Remove external prototype for Fding().
7808 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
7810 * select.c (syms_of_select): Add missing DEFSUBR.
7812 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7814 * select.c (get_selection_internal, own_selection_internal):
7815 Make the type default to STRING, rather than placing a nil type
7816 into Vselection_alist.
7818 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7820 * gpmevent.c (tty_selection_exists_p):
7821 * gpmevent.c (tty_own_selection):
7822 Updated parameter lists.
7824 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
7826 * select.h (selection-alist): Removed declaration.
7828 * select.h (get_local_selection):
7829 * select.c (get_local_selection):
7832 * select.h (convert_selection): Removed declaration.
7833 * select.c (convert_selection): Removed.
7834 This function belongs in Lisp.
7836 * select.h (select_convert_in): Declare.
7837 * select.h (select_convert_out): Declare.
7838 * select.c (select_convert_in): New.
7839 * select.c (select_convert_out): New.
7840 New conversion functions for other files to call.
7842 * select.h (select_notify_buffer_kill): Declare.
7843 * select.c (select_notify_buffer_kill): New.
7844 New functions that get called from kill-buffer.
7846 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
7847 X-specific lisp code.
7849 * select.h: Declare some of the lisp-visible functions for
7852 * select.c (clean_local_selection_data): Removed. This was
7853 a disgusting function, and previously should have been in
7854 select-x.c in any case. The functionality is now provided
7855 in select-convert-from-integer (select.el).
7857 * select.c (available-selection-types): Fixed stupidity where
7858 INTEGER and ATOM got added twice. Also add STRING when we see an
7861 * select.c (get-selection-internal): Removed symbol stripping. No
7862 longer causes conversion when data comes from the internal cache.
7864 * select.c (syms_of_select): Added new functions.
7866 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
7867 error checking - previously this called abort!
7869 * select-x.c (x_own_selection): Changed comment.
7871 * select-x.c (x_handle_selection_request): Use select_convert_out.
7872 Don't mess with selection-alist; it's an internal variable of select.c.
7874 * select-x.c (x_get_foreign_selection): Use select_convert_in.
7876 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
7877 rather than messing with selection-alist.
7879 * select-msw.c (mswindows_get_foreign_selection):
7880 Use TO_INTERNAL_FORMAT rather than hacking.
7882 2000-07-14 Martin Buchholz <martin@xemacs.org>
7884 * process-unix.c (unix_open_multicast_group):
7885 (unix_open_multicast_group): Remove useless casts.
7887 2000-07-13 Martin Buchholz <martin@xemacs.org>
7889 * sound.c (Fplay_sound): Fix `unused variable' warning.
7891 * emacs.c (main): Use correct type for _environ on SCO5.
7893 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
7895 * console.h (own_selection_method):
7896 * console.h (selection_exists_p_method):
7897 * console.h (available_selection_types_method): New.
7898 * console.h (register_selection_data_type_method): New.
7899 * console.h (selection_data_type_name): New.
7901 * console-msw.h (mswindows_destroy_selection): Declare it. New
7902 function & alist to track GlobalAlloc()'d handles that need
7903 releasing when the clipboard data gets replaced or emptied.
7905 * event-msw.c (mswindows_wnd_proc): Call it.
7907 * lisp.h, general.c (Qappend): New symbol representing a
7910 * select.c (own-selection-internal):
7911 * select.c (selection-exists-p):
7912 * select.c (available-selection-types): New.
7913 * select.c (register-selection-data-type): New.
7914 * select.c (selection-data-type-name): New. New functions to deal
7915 with device-specific selection data formats.
7916 * select.c (selection-converter-out-alist): Renamed.
7917 * select.c (selection-converter-in-alist): New.
7918 * select.c (selection-appender-alist): New. Added new alists.
7919 * select.c (syms_of_select, vars_of_select): Added new symbols &
7921 * select.c (get_local_selection): Split.
7922 * select.c: Removed spurious type checking - selections may now be
7923 of any type, not just strings.
7924 * select.c (own-selection-internal):
7926 * select.h, select.c (convert_selection): New. Created
7927 convert_selection() function based on get_local_selection().
7928 * select.h, select.c (QCF_*): New symbols representing mswindows
7930 * select.h, select.c (Qreplace_all, Qreplace_existing): New
7931 symbols representing `how-to-add' modes.
7933 * select-msw.c (x_sym_p): New.
7934 * select-msw.c (symbol_to_ms_cf): New.
7935 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
7936 symbols & clipboard formats. Can also handle string names.
7937 * select-msw.c (mswindows_own_selection):
7938 * select-msw.c (mswindows_selection_exists_p):
7939 Added `data-type' parameter. Use it.
7940 * select-msw.c (mswindows_available_selection_types): New.
7941 * select-msw.c (mswindows_register_selection_data_type): New.
7942 * select-msw.c (mswindows_selection_data_type_name): New.
7943 * select-msw.c (mswindows_own_selection):
7944 * select-msw.c (mswindows_get_foreign_selection):
7945 * select-msw.c (mswindows_selection_exists_p): Rewrote.
7946 * select-msw.c (console_create_select_mswindows): Added new methods.
7947 * select-msw.c (mswindows_destroy_selection): New.
7948 * select-msw.c (Vhandle_alist): New list.
7949 * select-msw.c (mswindows_own_selection):
7951 * select-x.c (x_own_selection):
7952 * select-x.c (x_selection_exists_p):
7953 * select-x.c: Added some comments about maybe using new
7955 * select-x.c (x_own_selection):
7957 * specifier.c: Remove definition of Qappend (now in general.c)
7958 * specifier.c (syms_of_specifier): Remove Qappend.
7960 2000-07-12 Martin Buchholz <martin@xemacs.org>
7962 * config.h.in: Add socklen_t.
7964 * s/decosf4-0.h: No special compiler flags needed or desired.
7965 In particular, undefine _BSD for DEC OSF 4.0.
7967 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7969 * redisplay-msw.c (msprinter_frame_output_end): Added.
7970 (console_type_create_redisplay_mswindows): Referred the above.
7972 * frame.c (setup_frame_without_minibuffer): Do not create a
7973 default minibuffer frame on a printer device.
7975 * frame-msw.c (apply_dc_geometry): Added.
7976 (msprinter_start_page):
7977 (msprinter_init_frame_3):
7978 (msprinter_eject_page): Use it.
7980 * console-msw.h (struct msprinter_frame): Added pix_left and top,
7981 and removed residual duplex and orientation properties.
7983 2000-07-11 Martin Buchholz <martin@xemacs.org>
7985 * eval.c (function_argcount): Work around a DEC CC compiler bug.
7987 * unexalpha.c: Remove system prototypes from C sources!
7989 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
7991 * eval.c: Remove references to M-x edit-options in DEFUNs for
7992 `defvar' and `defconst'.
7994 2000-07-09 Martin Buchholz <martin@xemacs.org>
7996 * config.h.in: Remove SMART_INCLUDE hackery.
7999 * config.h.in: Don't use SMART_INCLUDE.
8001 * postgresql.h: Include libpq-fe.h here. Fix typo.
8002 * inline.c: Simply #include "postgresql.h"
8004 - Don't use SMART_INCLUDE
8005 - Use simply "const".
8006 - Use standard doc string conventions.
8007 - Use correct type for result of PQstatus.
8009 2000-07-09 Martin Buchholz <martin@xemacs.org>
8011 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
8013 C++ compilation changes.
8014 * config.h.in (EXTERN_C): Define.
8015 * config.h.in (not): This is also a C++ keyword.
8016 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
8017 * cm.c: Use EXTERN_C.
8018 * redisplay-tty.c: Use EXTERN_C.
8019 * sysdep.c: Use EXTERN_C. Remove Gould support.
8021 2000-07-09 Martin Buchholz <martin@xemacs.org>
8023 * general.c: Remove duplicate definition for Qfunction.
8025 2000-07-08 Ben Wing <ben@xemacs.org>
8027 * device-msw.c (msprinter_init_device):
8028 * device-msw.c (sync_printer_with_devmode):
8029 * device-msw.c (handle_devmode_changes):
8030 * device-msw.c (print_dialog_worker):
8031 * device-msw.c (Fmsprinter_apply_settings):
8032 * device-msw.c (hash_devmode):
8033 * device-msw.c (Fmsprinter_settings_despecialize):
8034 use Qmswindows_tstr, not Qctext.
8036 * vm-limit.c (check_memory_limits):
8037 avoid infinite loop printing warning messages.
8039 2000-07-05 Craig Lanning <lanning@scra.org>
8041 * Makefile.in.in: Add support for including the Windows resources
8042 when building with the cygwin and mingw targets.
8044 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
8045 not set or not correct.
8046 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
8047 (init_initial_directory): Don't try to use $PWD on the
8048 WIN32_NATIVE target.
8051 [[Add -mwindows to eliminate console window.]] not required --ben
8052 (HAVE_NATIVE_SOUND): removed; now handled by configure.
8053 (MAIL_USE_POP): removed; now handled by configure.
8055 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
8056 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
8057 (HAVE_NATIVE_SOUND): removed; now handled by configure.
8058 (MAIL_USE_POP): removed; now handled by configure.
8059 (ENCAPSULATE_STAT): from Dan Holmsand, added.
8060 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
8061 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
8063 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
8064 up from <winsock.h> via systime.h.
8065 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
8066 (getpagesize): from Dan Holmsand, added.
8067 Added #endif which was left dangling by Ben's mega patch; added
8068 comment to help prevent this in the future.
8070 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
8072 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8074 * console-msw.h (struct mswindows_device): Removed unnecessary
8075 cached device geometry values.
8076 Added update_tick and an accessor macro.
8077 (Lisp_Devmode): Added lrecord declaration.
8078 (struct msprinter_device): Contain devmode as a Lisp object.
8079 Added mswindows_get_selected_frame_hwnd();
8081 * console.h (struct console_methods): Indentation nitpicking.
8083 * device-msw.c (mswindows_init_device): Do not initialize geometry
8084 cache. Initialize update tick.
8085 (mswindows_device_system_metrics): Ask the device for its geometry.
8086 (global_free_2_maybe):
8087 (devmode_to_hglobal):
8088 (handle_printer_changes):
8089 (ensure_not_printing):
8090 (print_dialog_worker):
8091 (Fmsprinter_print_setup_dialog):
8092 (Fmsprinter_print_dialog):
8095 (Fmsprinter_page_setup_dialog): Added functions.
8096 (sync_printer_with_devmode):
8097 (handle_devmode_changes):
8098 (Fmsprinter_get_settings):
8099 (Fmsprinter_select_settings):
8100 (Fmsprinter_apply_settings):
8102 (Fmsprinter_settings_copy):
8103 (Fmsprinter_settings_despecialize):
8107 (hash_devmode): Added functions
8108 (syms_of_device_mswindows): Init devmode lrecord class.
8110 * device.h: Added an exfun for find-device.
8112 * event-msw.c (mswindows_wnd_proc): Do not update the cached
8113 geometry; although, recreate the device compatible DC.
8115 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
8116 (msprinter_init_frame_3):
8117 (msprinter_frame_property):
8118 (msprinter_internal_frame_property_p):
8119 (msprinter_frame_properties):
8120 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
8121 print job properties (will move to device settings).
8123 * lisp.h: Added symbols.
8125 * general.c (syms_of_general): Declared them.
8127 * hash.c (string_hash): Added.
8129 * lrecord.h (lrecord_type): Added devmode lrecord type.
8131 2000-07-02 Mike Sperber <mike@xemacs.org>
8133 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
8136 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
8138 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
8141 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
8143 * data.c (Fstring_to_number): Don't recognize floating point if
8146 2000-06-22 Martin Buchholz <martin@xemacs.org>
8148 * glyphs-widget.c (tab_control_query_geometry):
8149 (widget_query_geometry):
8150 (button_query_geometry):
8151 * glyphs.c (text_query_geometry):
8152 Enforce type correctness.
8154 2000-06-18 Martin Buchholz <martin@xemacs.org>
8156 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
8157 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
8159 2000-06-17 Martin Buchholz <martin@xemacs.org>
8161 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
8162 conflicts with gcc's fixincluded version of FOO.h.
8164 * glyphs.h (image_instance_geometry): Remove trailing `,'
8166 2000-06-08 Mike Alexander <mta@arbortext.com>
8168 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
8169 (shove_thread): Don't write the same output twice
8170 (make_ntpipe_output_stream): Increase priority of shove thread
8171 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
8173 (ntpipe_shove_closer): Don't delete the pipe until we're done with
8176 2000-06-12 Ben Wing <ben@xemacs.org>
8178 * s\mingw32.h (sigset):
8179 * s\windowsnt.h (sigset):
8180 rename msw_ to mswindows_ for consistency with general convention.
8182 2000-06-12 Ben Wing <ben@xemacs.org>
8185 * console-msw.c (mswindows_get_console_hwnd):
8186 * console-msw.c (mswindows_ensure_console_allocated):
8187 * console-msw.c (mswindows_hide_console):
8188 * console-msw.c (mswindows_show_console):
8189 * console-msw.c (mswindows_ensure_console_buffered):
8190 * console-msw.c (mswindows_output_console_string):
8191 * console-msw.c (mswindows_windows9x_p):
8193 * device-msw.c (mswindows_get_workspace_coords):
8194 * device-msw.c (mswindows_device_system_metrics):
8195 * dialog-msw.c (mswindows_popup_dialog_box):
8196 * event-msw.c (mswindows_wnd_proc):
8197 * frame-msw.c (mswindows_size_frame_internal):
8198 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
8199 * menubar-msw.c (displayable_menu_item):
8200 * menubar-msw.c (mswindows_char_is_accelerator):
8202 * nt.c (mswindows_sigset):
8203 * nt.c (mswindows_sigrelse):
8204 * nt.c (mswindows_sigpause):
8205 * nt.c (mswindows_raise):
8206 * nt.c (timer_proc):
8208 * ntproc.c (find_child_console):
8209 * ntproc.c (sys_kill):
8211 * print.c (std_handle_out_external):
8212 * process-nt.c (find_child_console):
8213 * process-nt.c (send_signal_the_95_way):
8214 * process-nt.c (ensure_console_window_exists):
8215 * process-nt.c (nt_create_process):
8217 rename msw_ to mswindows_ for consistency with general convention.
8221 include nt.h, not syswindows.h.
8223 * nt.c (mswindows_fstat):
8224 * nt.c (mswindows_stat):
8225 prefix mswindows_ instead of attempting to directly override the
8226 library functions. fix declarations.
8229 include syswindows.h. move some sysdep.h stuff here.
8232 include syswindows.h, not <windows.h>.
8240 * sysdep.c (sys_fstat):
8241 * sysdep.c (sys_stat):
8242 call mswindows versions when appropriate.
8245 move mswin decls to nt.h.
8248 add long comment describing appropriate use of the various windows
8251 2000-06-11 Ben Wing <ben@xemacs.org>
8253 * device-x.c: Correct doc string for sixth arg of x-get-resource.
8255 2000-06-10 Ben Wing <ben@xemacs.org>
8257 * Makefile.in.in (release):
8258 Correction to make sure xemacs.exe always dumped when correct.
8262 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
8264 * buffer.c (set_buffer_internal):
8265 [[[[2]]]]: Remove HAVE_FEP code.
8267 * buffer.c (init_initial_directory):
8271 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
8275 * callproc.c (call_process_cleanup):
8276 * callproc.c (Fold_call_process_internal):
8277 * callproc.c (child_setup):
8278 * callproc.c (getenv_internal):
8279 * callproc.c (init_callproc):
8280 * callproc.c (vars_of_callproc):
8281 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
8282 __CYGWIN32__ -> CYGWIN.
8283 DOS_NT -> WIN32_NATIVE.
8284 Remove MSDOS support/references, converting to WIN32_NATIVE
8286 __MINGW32__ -> MINGW.
8287 Fix windows.h includes.
8288 Remove bogus HAVE_NTGUI.
8294 mswindows_message_outputted added for use in allowing startup
8295 errors on the console to be seen.
8297 * console-msw.c (msw_ensure_console_allocated):
8298 * console-msw.c (msw_output_console_string):
8299 * console-msw.c (DHEADER):
8300 * console-msw.c (DOPAQUE_DATA):
8301 * console-msw.c (DEVENT):
8302 * console-msw.c (DCONS):
8303 * console-msw.c (DCONSCDR):
8304 * console-msw.c (DSTRING):
8305 * console-msw.c (DVECTOR):
8306 * console-msw.c (DSYMBOL):
8307 * console-msw.c (DSYMNAME):
8310 * console-stream.c (stream_init_console):
8311 Fix text/binary problems.
8314 * device-msw.c (mswindows_finish_init_device):
8315 * device-msw.c (mswindows_delete_device):
8318 * device.c (handle_asynch_device_change):
8322 * dgif_lib.c (DGifOpenFileName):
8323 * dgif_lib.c (DGifOpenFileHandle):
8324 * dgif_lib.c (DGifGetLine):
8325 * dgif_lib.c (DGifGetPixel):
8326 Added config.h/lisp.h, fix up includes.
8333 * dired.c (file_name_completion):
8334 * dired.c (Ffile_attributes):
8335 * dired.c (syms_of_dired):
8339 * dumper.c (pdump_file_unmap):
8340 * dumper.c (pdump_load):
8344 * editfns.c (Ftemp_directory):
8345 * editfns.c (user_login_name):
8346 * editfns.c (Fuser_real_login_name):
8347 * editfns.c (get_home_directory):
8350 * elhash.c (finish_marking_weak_hash_tables):
8351 [[[[5]]]]: Fix GCC warnings.
8354 * emacs.c (mswindows_handle_hardware_exceptions):
8355 * emacs.c (make_arg_list_1):
8357 * emacs.c (Fkill_emacs):
8358 * emacs.c (Fdump_emacs):
8360 Fix problems with nested crashes, add long comment.
8362 * event-Xt.c (init_event_Xt_late):
8366 * event-msw.c (mswindows_dde_callback):
8367 * event-msw.c (mswindows_handle_sticky_modifiers):
8368 * event-msw.c (mswindows_wnd_proc):
8372 * events.c (character_to_event):
8376 * fileio.c (Ffile_name_directory):
8377 * fileio.c (Ffile_name_nondirectory):
8378 * fileio.c (directory_file_name):
8379 * fileio.c (Fexpand_file_name):
8380 * fileio.c (Fsubstitute_in_file_name):
8381 * fileio.c (Ffile_name_absolute_p):
8382 * fileio.c (check_executable):
8383 * fileio.c (Ffile_readable_p):
8384 * fileio.c (Ffile_accessible_directory_p):
8385 * fileio.c (Ffile_modes):
8386 * fileio.c (Funix_sync):
8387 * fileio.c (vars_of_fileio):
8390 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
8392 Expand getdefdir defn.
8393 Fix bogus rename() comment.
8395 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
8396 to use standard XEmacs include files, e.g. sysfile.h, rather
8397 than system-specific includes.
8403 * frame.c (vars_of_frame):
8407 * getloadavg.c (getloadavg):
8409 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
8410 (We don't use it elsewhere in the code; just add a comment.)
8417 * glyphs-msw.c (mswindows_resource_instantiate):
8420 * glyphs-x.c (x_native_layout_instantiate):
8423 * gui-msw.c (Fmswindows_shell_execute):
8432 * lread.c (locate_file_in_directory_mapper):
8439 * mem-limits.h (get_lim_data):
8451 * nt.c (rva_to_section):
8452 * nt.c (mswindows_executable_type):
8454 Fix closedir() defn.
8457 [[[[8]]]]: *_OK defs moved to sysfile.h.
8466 * print.c (std_handle_out_external):
8470 * process-nt.c (nt_create_process):
8472 try to fix process quoting somewhat.
8474 * process-unix.c (unix_create_process):
8478 * process.c (vars_of_process):
8485 * realpath.c (xrealpath):
8488 * redisplay-tty.c (init_tty_for_redisplay):
8498 * sheap.c (more_static_core):
8499 * sheap.c (report_sheap_usage):
8503 * signal.c (alarm_signal):
8510 * strftime.c (zone_name):
8513 * symsinit.h (init_sunpro):
8517 commctrl.h not in Cygwin b20.1.
8521 * sysdep.c (sys_subshell):
8522 * sysdep.c (init_baud_rate):
8523 * sysdep.c (emacs_get_tty):
8524 * sysdep.c (emacs_set_tty):
8525 * sysdep.c (tty_init_sys_modes_on_device):
8526 * sysdep.c (init_system_name):
8527 * sysdep.c (sys_open):
8528 * sysdep.c (interruptible_open):
8529 * sysdep.c (sys_fopen):
8530 * sysdep.c (sys_mkdir):
8531 * sysdep.c (sys_rename):
8532 * sysdep.c (get_process_times_1):
8539 * sysdir.h (DIRENTRY_NONEMPTY):
8542 * sysdll.c (dll_init):
8548 added text/binary defs.
8554 * sysproc.h (EDESTADDRREQ):
8555 * sysproc.h (poll_fds_for_input):
8572 Always define WIN32_LEAN_AND_MEAN.
8574 * unexcw.c (unexec):
8578 * unexec.c (copy_text_and_data):
8579 * unexec.c (adjust_lnnoptrs):
8583 * unexnt.c (_start):
8586 2000-06-07 Ben Wing <ben@xemacs.org>
8588 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
8589 was used only as a model. We've long since extracted any useful
8590 logic or code out of this. (I just did an exhaustive search.)
8592 * s\msdos.h: Removed.
8594 * s\windows95.h: Removed.
8596 2000-06-10 Ben Wing <ben@xemacs.org>
8600 Don't use extern with fun defs.
8604 Remove nt\inc include.
8605 Remove getdisk, getdefdir. (The former is unused, the latter
8606 expanded in fileio.h.)
8609 * s\windowsnt.h (WIN32_NATIVE):
8610 * s\windowsnt.h (HAVE_STRCASECMP):
8612 Add long comment about preprocessor changes.
8613 Remove getdisk, getdefdir. (The former is unused, the latter
8614 expanded in fileio.h.)
8616 2000-06-10 Ben Wing <ben@xemacs.org>
8625 Remove bogus/unused NO_SOCK_SIGIO.
8627 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
8629 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
8632 2000-06-04 Mike Sperber <mike@xemacs.org>
8634 * casetab.c (set_case_table): For `set-standard-case-table',
8635 actually deposit the new case tables where the rest of XEmacs can
8638 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
8640 * data.c (Faset): Don't cast XCHAR() to unsigned char.
8642 2000-06-05 Ben Wing <ben@xemacs.org>
8644 * callproc.c (child_setup): Don't do close_load_descs() under
8645 MS Windows. Put in a comment explaining why.
8647 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
8649 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
8650 Toolkit shell" which breaks `kill-compilation' on Windows NT
8651 native, retaining STDERR handling improvements.
8653 2000-06-01 Andreas Jaeger <aj@suse.de>
8655 * s/s390.h: Support for S390, based on a patch by Martin
8656 Schwidefsky <schwidefsky@de.ibm.com>.
8658 2000-05-30 Andy Piper <andy@xemacs.org>
8660 * window.c (allocate_window):
8661 (make_dummy_parent):
8662 (Fset_window_configuration): use new hashtable type.
8664 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
8665 (struct image_instantiator_methods):
8666 (struct Lisp_Image_Instance): make instance geometry signed.
8668 * glyphs.c (instantiate_image_instantiator):
8669 (image_instance_query_geometry):
8670 (image_instance_layout):
8671 (image_instance_layout):
8672 (query_string_geometry):
8673 (text_query_geometry):
8674 (image_instantiate):
8675 (image_instantiate):
8676 (cache_subwindow_instance_in_frame_maybe):
8677 (subwindow_query_geometry): make instance geometry signed.
8679 * glyphs-widget.c (widget_query_geometry):
8681 (button_query_geometry):
8682 (tree_view_query_geometry):
8683 (tab_control_query_geometry):
8684 (layout_query_geometry):
8686 (native_layout_layout): make instance geometry signed.
8688 2000-05-29 Olivier Galibert <galibert@pobox.com>
8690 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
8693 * general.c (syms_of_general): Add Qfull_assoc symbol.
8695 * data.c (finish_marking_weak_lists): Mark full-assoc lists
8697 (decode_weak_list_type): Decode full-assoc type.
8698 (encode_weak_list_type): Encode full-assoc type.
8699 (Fmake_weak_list): Update doc string.
8701 2000-05-30 Andy Piper <andy@xemacs.org>
8703 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
8705 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
8706 (decode_hash_table_weakness): ditto.
8707 (Fhash_table_weakness): ditto.
8708 (Fhash_table_type): ditto.
8709 (finish_marking_weak_hash_tables): ditto.
8710 (hash_table_weakness_validate): ditto.
8711 (syms_of_elhash): ditto.
8713 2000-05-28 Martin Buchholz <martin@xemacs.org>
8715 * XEmacs 21.2.34 is released.
8717 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8719 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
8721 (updating_line_start_cache): Gone.
8722 (regenerate_window): Replace resetting of VERTICAL_CLIP by
8723 generic code to force a minimum of 1 line laid out in the
8726 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8728 * glyphs.c (instantiate_image_instantiator): Check for initialized
8729 height & width no longer special cases IMAGE_NOTHING.
8730 (nothing_instantiate): Set height and width of instance.
8732 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8734 * unexelf.c (unexec): Search for ".data" section.
8735 Initialize new_data2_offset from old_data_index.
8736 Remove redundant check for ElfW.
8738 2000-05-23 Andy Piper <andy@xemacs.org>
8740 * glyphs.c (get_image_instantiator_governing_domain): allow more
8741 specific domains as the governing domain rather than expecting an
8742 exact match. This fixes problems with layouts.
8744 2000-05-22 Andy Piper <andy@xemacs.org>
8746 * redisplay-output.c (compare_runes): check for non-images
8748 * glyphs.c (set_glyph_dirty_p): ditto.
8749 (update_glyph_cachel_data): ditto.
8751 * glyphs-widget.c (layout_post_instantiate): ditto.
8752 (layout_post_instantiate): ditto.
8754 * event-msw.c (mswindows_wnd_proc): warning removal.
8756 2000-05-12 Craig Lanning <CraigL@DyCon.com>
8758 * s\mingw32.h: Added #undef for CLASH_DETECTION.
8760 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
8762 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
8764 * nt.c (rva_to_section): mingw32 needs rva_to_section.
8765 (mswindows_executable_type): mingw32 now has enough headers for
8768 2000-05-20 Andy Piper <andy@xemacs.org>
8770 * console-msw.c (mswindows_output_last_error): ; -> ,
8772 2000-05-12 Andy Piper <andy@xemacs.org>
8774 * console-msw.c (FROB): compare ints with ints.
8776 2000-05-11 Andy Piper <andy@xemacs.org>
8778 * glyphs-x.c (x_finalize_image_instance): make minimal build
8781 2000-05-20 Ben Wing <ben@xemacs.org>
8784 * event-Xt.c (vars_of_event_Xt):
8785 move modifier-keys-are-sticky to event-stream.c.
8788 * event-msw.c (mswindows_enqueue_mouse_button_event):
8789 * event-msw.c (key_needs_default_processing_p):
8790 * event-msw.c (XEMSW_LCONTROL):
8791 * event-msw.c (mswindows_handle_sticky_modifiers):
8792 * event-msw.c (FROB):
8793 * event-msw.c (clear_sticky_modifiers):
8794 * event-msw.c (output_modifier_keyboard_state):
8795 * event-msw.c (output_alt_keyboard_state):
8796 * event-msw.c (mswindows_wnd_proc):
8797 * event-msw.c (mswindows_modifier_state):
8798 * event-msw.c (emacs_mswindows_handle_magic_event):
8799 implement sticky modifiers.
8802 * event-stream.c (vars_of_event_stream):
8803 move modifier-keys-are-sticky here.
8809 implement map-range-table.
8812 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
8814 * redisplay-tty.c (reset_tty_modes):
8815 (tty_redisplay_shutdown): Adjust argument type to
8816 tty_frame_output_end.
8818 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8820 * eval.c (Fbacktrace): Don't output a line with only right
8823 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
8825 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
8826 (Fpq_reset_poll): Ditto.
8828 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
8830 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
8832 2000-05-16 Ben Wing <ben@xemacs.org>
8835 * buffer.c (dfc_convert_to/from_internal_format):
8836 * buffer.c (reinit_vars_of_buffer):
8837 Fix conversion functions to allow reentrancy.
8840 * console-msw.c (mswindows_output_last_error):
8841 New fun, generally useful -- output a human-readable
8842 version of GetLastError() on the console.
8845 * console-msw.h (struct mswindows_frame):
8846 Changes for DeferWindowPos. Declare mswindows_output_last_error().
8848 * console-stream.c (stream_output_begin):
8849 * console-stream.c (stream_output_end):
8850 * console-stream.c (stream_output_vertical_divider):
8851 * console-stream.c (stream_clear_region):
8852 * console-stream.c (stream_flash):
8853 * console-stream.c (console_type_create_stream):
8854 Delete blank stream methods, not needed.
8856 * console.h (struct console_methods):
8857 Split begin/end methods into window and frame.
8860 * event-msw.c (mswindows_handle_paint):
8861 * event-msw.c (output_alt_keyboard_state):
8862 * event-msw.c (mswindows_wnd_proc):
8863 * event-msw.c (vars_of_event_mswindows):
8864 Comment about problems with ignored-expose.
8865 Define mswindows-debug-events; not really implemented.
8867 * frame-msw.c (mswindows_init_frame_1):
8871 * glyphs-msw.c (begin_defer_window_pos):
8872 * glyphs-msw.c (mswindows_unmap_subwindow):
8873 * glyphs-msw.c (mswindows_map_subwindow):
8874 * glyphs-msw.c (mswindows_resize_subwindow):
8875 Use DeferWindowPos to reduce flashing when mapping/unmapping.
8877 * glyphs.c (make_image_instance_1):
8880 * gutter.c (Fredisplay_gutter_area):
8881 Use new begin/end methods.
8883 * lisp.h (Dynarr_new2):
8887 * redisplay-msw.c (mswindows_frame_output_begin):
8888 * redisplay-msw.c (mswindows_frame_output_end):
8889 * redisplay-msw.c (console_type_create_redisplay_mswindows):
8890 New begin/end methods -- handle DeferWindowPos.
8892 * redisplay-output.c (redisplay_move_cursor):
8893 * redisplay-output.c (redraw_cursor_in_window):
8894 * redisplay-output.c (redisplay_update_line):
8895 * redisplay-output.c (redisplay_output_window):
8896 New begin/end methods.
8899 * redisplay-tty.c (tty_frame_output_begin):
8900 * redisplay-tty.c (tty_frame_output_end):
8901 * redisplay-tty.c (console_type_create_redisplay_tty):
8902 New begin/end methods.
8905 * redisplay-x.c (x_window_output_begin):
8906 * redisplay-x.c (x_window_output_end):
8907 * redisplay-x.c (console_type_create_redisplay_x):
8908 New begin/end methods.
8910 * redisplay.c (redisplay_frame):
8911 * redisplay.c (Fredisplay_echo_area):
8912 New begin/end methods.
8913 use MAYBE_DEVMETH for clear_frame; it may not exist.
8915 * window.h (WINDOW_XFRAME):
8916 WINDOW_XFOO macros -- get locale and decode struct pointer.
8919 2000-05-12 Ben Wing <ben@xemacs.org>
8922 * emacs.c (ensure_no_quitting_from_now_on):
8923 * emacs.c (fatal_error_signal):
8924 * emacs.c (mswindows_handle_hardware_exceptions):
8926 * emacs.c (Fkill_emacs):
8927 * emacs.c (shut_down_emacs):
8928 * emacs.c (assert_failed):
8929 various improvements in fatal error handling.
8932 move preparing_for_armageddon to emacs.c.
8935 declare fatal_error_in_progress.
8938 * print.c (std_handle_out_external):
8939 * print.c (std_handle_out_va):
8940 * print.c (stderr_out):
8941 * print.c (stdout_out):
8942 use console under mswin when no standard output.
8943 don't do code conversion during fatal error.
8945 * scrollbar.c (Fscrollbar_page_up):
8946 * scrollbar.c (Fscrollbar_page_down):
8947 fix missing else. reindent.
8949 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
8953 * glyphs.h (GLYPH_CACHEL_DESCENT):
8954 (GLYPH_CACHEL_DESCENT):
8955 (GLYPH_CACHEL_DESCENT):
8956 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
8957 used in case these are inline functions.
8958 Use more absurd values to error check.
8960 include window.h for error check functions.
8962 2000-05-11 Ben Wing <ben@xemacs.org>
8964 * cmdloop.c (Freally_early_error_handler):
8965 Display message box under windows; otherwise, message will disappear
8966 before it can be viewed.
8969 * console-msw.c (Fmswindows_message_box):
8970 * console-msw.c (FROB):
8971 * console-msw.c (syms_of_console_mswindows):
8972 Define new fun `mswindows-message-box'.
8973 #### I will merge this into `popup-dialog-box'; just give me
8977 * general.c (syms_of_general):
8978 Some new symbols used in `mswindows-message-box'.
8981 * glyphs.c (Fset_image_instance_property):
8982 put warning in this fun.
8985 * glyphs.h (GLYPH_CACHEL_WIDTH):
8986 * glyphs.h (GLYPH_CACHEL_ASCENT):
8987 * glyphs.h (GLYPH_CACHEL):
8988 * glyphs.h (GLYPH_CACHEL_GLYPH):
8989 define error-checking versions to try to catch a bug i've seen --
8990 redisplay gets in an infinite loop because the glyph width of the
8991 continuation glyph is 65535.
8994 Extern message-box stuff.
8996 * window.c (allocate_window):
8997 * window.c (make_dummy_parent):
8998 * window.c (Fset_window_configuration):
8999 Use EQUAL not EQ for subwindow caches to make them work a bit
9000 better. (Something is still very broken.)
9003 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
9005 * glyphs.c (image_instantiate): Suppress gcc warnings.
9006 (Fmake_image_instance): Fix doc string.
9007 * specifier.c (Fmake_specifier): Ditto.
9009 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
9011 * paths.h.in (PATH_LOCK): Removed.
9012 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
9013 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
9015 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
9017 * fns.c (Ffeaturep): Update e-mail address in doc-string.
9018 Document (featurep '(and xemacs 21.02)).
9020 2000-05-09 Ben Wing <ben@xemacs.org>
9022 * buffer.c (complex_vars_of_buffer):
9023 update modeline-format doc.
9026 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
9029 timeline of all released versions of Emacs, for use in creating
9030 authorship comments and in synching up.
9032 * glyphs-widget.c (image_instantiator_buttons):
9033 * glyphs-widget.c (image_instantiator_edit_fields):
9034 * glyphs-widget.c (image_instantiator_combo_box):
9035 * glyphs-widget.c (image_instantiator_scrollbar):
9036 * glyphs-widget.c (image_instantiator_progress_guage):
9037 * glyphs-widget.c (image_instantiator_tree_view):
9038 * glyphs-widget.c (image_instantiator_tab_control):
9039 * glyphs-widget.c (image_instantiator_labels):
9040 * glyphs-widget.c (image_instantiator_layout):
9041 * glyphs-widget.c (image_instantiator_native_layout):
9042 rename decode_domain method to governing_domain.
9045 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
9046 * glyphs.c (add_entry_to_device_ii_format_list):
9047 make sure we don't put an entry more than once into the list.
9048 * glyphs.c (check_instance_cache_mapper):
9049 *************************************************************
9050 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
9052 *************************************************************
9053 * glyphs.c (get_image_instantiator_governing_domain):
9054 clean up, expand on new concept of governing domain.
9055 * glyphs.c (instantiate_image_instantiator):
9056 * glyphs.c (allocate_image_instance):
9057 use governing_domain instead of cache_domain in naming.
9058 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
9059 * glyphs.c (make_image_instance_1):
9060 * glyphs.c (Fmake_image_instance):
9061 allow for any domain (not just device), and process the
9062 governing domain correctly. very big doc fix.
9063 * glyphs.c (Fimage_instance_domain):
9064 new primitive, to retrieve the governing domain of an image instance.
9065 * glyphs.c (image_instantiate):
9066 use new governing_domain stuff. this fixes a crash you could get
9067 by instantiating certain widget glyphs in frame locales. (should
9068 signal an error instead of crashing.)
9069 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
9070 * glyphs.c (Fglyphp): clean up doc.
9071 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
9072 * glyphs.c (syms_of_glyphs):
9073 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
9074 * glyphs.c (image_instantiator_format_create): add some comments about
9076 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
9077 for current-display-table. (Apparently Hrjove implemented in 1998 a
9078 design I wrote up in 1996, but didn't update the doc string.)
9080 * glyphs.h: clean up a doc string.
9081 * glyphs.h (governing_domain):
9082 * glyphs.h (struct image_instantiator_methods):
9083 changes for governing_domain stuff.
9086 * gutter.c (Fgutter_specifier_p):
9087 * gutter.c (Fgutter_size_specifier_p):
9088 * gutter.c (Fgutter_visible_specifier_p):
9090 * objects.c (Fcolor_specifier_p):
9091 * objects.c (Ffont_specifier_p):
9092 * objects.c (Fface_boolean_specifier_p):
9093 doc strings moved to make-*-specifier.
9095 * redisplay.c (add_disp_table_entry_runes_1):
9096 * redisplay.c (generate_fstring_runes):
9097 * redisplay.c (screen):
9098 add random comments and doc strings.
9101 * specifier.c (Fmake_specifier):
9102 major overhaul of this doc string.
9104 * specifier.c (Fvalid_specifier_domain_p):
9105 comment about the bogosity of image instances being domains.
9106 * specifier.c (decode_domain):
9107 now non-static, used in glyphs.c.
9108 * specifier.c (specifier_instance):
9109 comment about the bogosity of image instances being domains.
9110 * specifier.c (Fgeneric_specifier_p):
9111 move doc string to make-generic-specifier.
9112 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
9116 * specifier.h (DOMAIN_FRAME):
9117 * specifier.h (DOMAIN_LIVE_P):
9118 * specifier.h (DOMAIN_XDEVICE):
9120 add comments about problems with these macros.
9121 prototype for decode_domain.
9124 * toolbar.c (Ftoolbar_specifier_p):
9125 move doc string to `make-toolbar-specifier'.
9127 * window.c (window_unmap_subwindows_cache_mapper):
9128 *************************************************************
9129 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
9131 *************************************************************
9133 2000-05-09 Andy Piper <andy@xemacs.org>
9135 * glyphs.h: declare reset_frame_subwindow_instance_cache.
9137 * window.c (Fset_window_configuration): reset the frame subwindow
9138 cache and re-initialize the window subwindow caches.
9140 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
9142 2000-05-09 Ben Wing <ben@xemacs.org>
9144 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
9147 2000-04-26 Mike Woolley <mike@bulsara.com>
9149 * ntheap.c: Changed recreate_heap to limit the amount reserved
9150 for the heap to that which is actually available. Also now
9151 displays a message box (with some dignostics) in the event that
9152 it still can't start.
9154 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
9156 * callproc.c (Fold_call_process_internal): GCPRO path
9158 2000-05-08 Jan Vroonhof <jan@xemacs.org>
9160 Patch by Bill Perry.
9162 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
9163 back data instead of #ifdef.
9164 (Fscrollbar_page_down): ditto.
9166 2000-05-07 Ben Wing <ben@xemacs.org>
9169 Kludge for defining Qmswindows_tstr.
9172 * nt.c (open_input_file):
9173 * nt.c (open_output_file):
9174 * nt.c (rva_to_section):
9175 * nt.c (mswindows_executable_type):
9176 Move all memory-mapped-file routines here (some were in unexnt.c,
9177 which is bad because they are used by process-nt.c, and unexnt
9178 won't be around when portable dumping). Synched the above routines
9182 Removed ifdef'd out bogus code.
9183 Fixed some prototypes.
9186 * nt.h (OFFSET_TO_RVA):
9187 * nt.h (RVA_TO_OFFSET):
9188 * nt.h (RVA_TO_PTR):
9189 Moved the memory-mapped-file structures, macros and prototypes
9190 here, to parallel nt.c. ntheap.h should really be removed
9191 entirely, and it's a non-portable-dumper specific file.
9193 * ntheap.h (round_to_next):
9194 Moved the memory-mapped-file structures, macros and prototypes
9197 * ntproc.c (compare_env):
9198 Moved rva_to_section and mswindows_executable_type to nt.c.
9199 Moved compare_env to process-nt.c.
9200 ntproc.c will die, one day.
9202 * ntproc.c (sys_spawnve):
9203 Account for win32_ -> mswindows_.
9206 * process-nt.c (struct nt_process_data):
9207 * process-nt.c (ensure_console_window_exists):
9208 * process-nt.c (compare_env):
9209 * process-nt.c (nt_create_process):
9210 * process-nt.c (nt_kill_process_by_pid):
9211 * process-nt.c (syms_of_process_nt):
9212 * process-nt.c (vars_of_process_nt):
9213 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
9214 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
9215 changes). Eliminate our old `nt-quote-process-args' mechanism.
9216 Synch up nt_create_process with FSF 20.6 sys_spawnve.
9217 Move compare_env here from ntproc.c.
9219 * process.c (Fprocess_send_region):
9220 Takes an optional fourth argument, BUFFER, which should fix some
9221 problems with call-process.
9224 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
9227 Move ICC_BAR_CLASSES to syscommctrl.h.
9228 Add preliminary macros for MSWindows/Mule. More to come.
9231 * unexnt.c (unexec):
9232 open_output_file moved to nt.c.
9235 2000-05-05 Andy Piper <andy@xemacs.org>
9237 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
9238 instance from the frame cache also since GC may catch up too late
9239 to make frame deletion sane.
9241 2000-05-04 Andy Piper <andy@xemacs.org>
9243 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
9244 (x_finalize_image_instance): ungcpro on deletion.
9246 * glyphs.c (image_instantiator_format_create): give pointers a
9247 query geometry method so that the geometry is at least set.
9249 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
9250 initialize layouts if using widgets.
9252 2000-05-03 Andy Piper <andy@xemacs.org>
9254 * nt.c: remove bogus reference to sysmmsystem.h
9256 * gui-x.c (popup_selection_callback): fix no selection abort.
9258 2000-05-02 Andy Piper <andy@xemacs.org>
9260 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
9261 (mswindows_widget_instantiate): ditto.
9263 * glyphs-widget.c (initialize_widget_image_instance): initialize
9265 (widget_instantiate): cope with children and items in the same
9268 * glyphs.c (mark_image_instance): cope with children as a first
9270 (image_instance_equal): ditto.
9271 (image_instance_hash): ditto.
9272 (image_instance_changed): ditto.
9274 2000-04-30 Andy Piper <andy@xemacs.org>
9276 * glyphs.c (subwindow_query_geometry): new function. Return some
9278 (subwindow_instantiate): don't assign dimensions if none have been
9280 (image_instantiator_format_create): add subwindow_query_geometry.
9281 (print_image_instance): cope with layouts as widgets.
9283 2000-04-29 Andy Piper <andy@xemacs.org>
9285 * frame.c (delete_frame_internal): call
9286 free_frame_subwindow_instance_cache so that all subwindows are
9287 finalized before their parent.
9288 (mark_frame): remove subwindow_cachels.
9289 (Fmake_frame): remove subwindow_cachel manipulation.
9290 (allocate_frame_core): subwindow_instance_cache is a weak list.
9291 (delete_frame_internal): set subwindow_instance_cache to nil.
9293 * glyphs-msw.c (mswindows_finalize_image_instance): make double
9295 (mswindows_finalize_image_instance): use the device
9296 not the domain as the domain may have died already.
9298 * glyphs-x.c (x_finalize_image_instance): ditto.
9299 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
9302 * redisplay-output.c (redisplay_unmap_subwindows): update for
9303 subwindow instance cache as a weak list.
9304 (redisplay_unmap_subwindows_maybe): ditto.
9305 (redisplay_unmap_subwindows_except_us): ditto.
9307 * glyphs.c (unmap_subwindow): error checking will check the domain
9308 so don't deal with it here. Don't use cachels anymore.
9309 (map_subwindow): ditto.
9310 (update_subwindow_cachel_data): remove old accessor names.
9311 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
9312 (Fresize_subwindow): don't update cachel.
9313 (mark_subwindow_cachels):
9314 (update_subwindow_cachel_data):
9315 (add_subwindow_cachel):
9316 (get_subwindow_cachel_index):
9317 (update_subwindow_cachel):
9318 (reset_subwindow_cachels):
9319 (mark_subwindow_cachels_as_not_updated): deleted.
9320 (cache_subwindow_instance_in_frame_maybe): new function. Add a
9321 subwindow instance to the frame cache.
9322 (find_matching_subwindow): update for subwindow instance cache as
9324 (update_widget_instances): ditto.
9325 (image_instance_type_to_mask):inlined.
9326 (free_frame_subwindow_instance_cache): new function. finalize all
9327 subwindows that are instantiated.
9329 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
9330 of cachel information.
9331 (IMAGE_INSTANCE_DISPLAY_X):
9332 (IMAGE_INSTANCE_DISPLAY_Y):
9333 (IMAGE_INSTANCE_DISPLAY_WIDTH):
9334 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
9335 (XIMAGE_INSTANCE_DISPLAY_X):
9336 (XIMAGE_INSTANCE_DISPLAY_Y):
9337 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
9338 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
9339 remove subwindow_cachel structure and function references.
9340 (image_instance_type_to_mask): inline from glyphs.c
9342 * redisplay.c (redisplay_frame): remove subwindow_cachel
9345 * frame.h (struct frame): remove subwindow_cachels.
9346 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
9348 * frameslots.h: add subwindow_instance_cache.
9350 * window.c (replace_window): check subwindow cache of replacement.
9351 (window_unmap_subwindows_cache_mapper):
9352 (window_unmap_subwindows): new functions. Unmap all subwindows
9353 cached on this window.
9354 (mark_window_as_deleted): unmap all subwindows.
9356 2000-04-27 Andy Piper <andy@xemacs.org>
9358 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
9360 * glyphs-widget.c (widget_layout): return something.
9361 (layout_layout): return something. Fail if not initialized.
9362 (layout_query_geometry): ditto.
9363 (image_instantiator_native_layout): new function. Initialized the
9365 (widget_instantiate): don't do layout stuff here.
9367 * glyphs.c (instantiate_image_instantiator): reorded calling or
9368 instantiate and post_instantiate with layout in between.
9369 (image_instance_layout): be more selective about deciding whether
9370 the layout has been done or not.
9372 * glyphs.h (struct image_instantiator_methods): return a value
9375 2000-04-26 Andy Piper <andy@xemacs.org>
9377 * glyphs.c (allocate_image_instance): make initial width and
9378 height unspecified. Set initialized to 0.
9380 * syscommctrl.h new file. Encapsulates commctrl.h.
9382 * syswindows.h new file. Encapsulates windows.h.
9384 * ntplay.c: use new syswindows.h and syscommctrl.h header.
9386 * console-msw.h: ditto.
9388 * redisplay-tty.c (tty_output_display_block): remove layout references.
9390 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
9391 window handle rather than just the frame.
9393 * glyphs.c (mark_image_instance): remove layout references.
9394 (print_image_instance): ditto.
9395 (image_instance_equal): ditto.
9396 (image_instance_hash): ditto.
9397 (decode_image_instance_type): ditto.
9398 (encode_image_instance_type): ditto.
9399 (image_instantiate): ditto.
9400 (allocate_glyph): ditto.
9401 (Fimage_instance_height): ditto.
9402 (Fimage_instance_width): ditto.
9403 (update_subwindow): ditto.
9405 * redisplay-x.c (x_output_display_block): recode for layouts as
9408 * redisplay-output.c (redisplay_output_layout): recode for layouts
9410 (compare_runes): remove layout references.
9412 * redisplay-msw.c (mswindows_output_display_block): recode for
9415 * glyphs-widget.c (image_instantiator_layout): remove
9416 layout_possible_dest_types.
9417 (layout_possible_dest_types): deleted.
9419 * glyphs.h (image_instance_type): remove layout references.
9420 (struct Lisp_Image_Instance): ditto. Add initialized flag.
9421 (IMAGE_INSTANCE_INITIALIZED): new accessor.
9422 (XIMAGE_INSTANCE_INITIALIZED): ditto.
9424 2000-04-25 Andy Piper <andy@xemacs.org>
9426 * glyphs-widget.c (image_instantiator_buttons):
9427 (image_instantiator_edit_fields):
9428 (image_instantiator_combo_box):
9429 (image_instantiator_scrollbar):
9430 (image_instantiator_progress_guage):
9431 (image_instantiator_tree_view):
9432 (image_instantiator_tab_control):
9433 (image_instantiator_labels):
9434 (image_instantiator_layout): call default post_instantiate method.
9435 (widget_post_instantiate): new function. Simply lays out the
9438 * glyphs.h (struct image_instantiator_methods): add
9439 post_instantiate method.
9441 * glyphs.c (instantiate_image_instantiator): add post_instantiate
9444 2000-04-23 Andy Piper <andy@xemacs.org>
9446 * glyphs.h (struct image_instantiator_methods): add
9447 decode_domain_method.
9448 (struct Lisp_Image_Instance): remove subwindow frame - it can be
9449 derived from the domain.
9450 (IMAGE_INSTANCE_FRAME): new accessor.
9451 (XIMAGE_INSTANCE_FRAME): ditto.
9453 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
9454 instead of _SUBWINDOW_FRAME.
9455 (finalize_image_instance): ditto.
9456 (Fimage_instance_foreground): ditto.
9457 (Fimage_instance_background): ditto.
9458 (image_instantiate): ditto.
9459 (update_subwindow_cachel): ditto.
9460 (update_subwindow): ditto.
9461 (unmap_subwindow): ditto.
9462 (map_subwindow): ditto
9463 (subwindow_instantiate): ditto.
9464 * glyphs-msw.c (mswindows_update_widget): ditto.
9465 (mswindows_progress_gauge_instantiate): ditto.
9466 (mswindows_tab_control_update): ditto.
9467 * glyphs-x.c (x_update_widget): ditto.
9468 (x_widget_instantiate): ditto.
9469 (x_tab_control_instantiate): ditto.
9470 (x_tab_control_update): ditto.
9471 * event-msw.c (mswindows_wnd_proc): ditto
9473 * glyphs-widget.c (image_instantiator_layout): use
9474 subwindow_decode_domain.
9475 (image_instantiator_buttons): ditto.
9476 (image_instantiator_edit_fields): ditto.
9477 (image_instantiator_combo_box): ditto.
9478 (image_instantiator_scrollbar): ditto.
9479 (image_instantiator_progress_guage): ditto.
9480 (image_instantiator_tree_view): ditto.
9481 (image_instantiator_tab_control): ditto.
9482 (image_instantiator_labels): ditto.
9483 (image_instantiator_layout): ditto.
9485 * glyphs.c: add instance error checking to many functions.
9486 (instantiate_image_instantiator): decode device from cache_domain.
9487 (image_instantiate): partially rewrite by using
9488 decode_image_instantiator_domain to determine what domain the
9489 instance needs to be cached in.
9490 (decode_image_instantiator_domain): new function. Determine what
9491 domain the image needs to be cached in.
9492 (check_window_subwindow_cache): new error checking function.
9493 (check_instance_cache_mapper): ditto.
9494 (check_image_instance_structure): ditto.
9495 (subwindow_decode_domain): new function. Encodes a window as a
9496 subwindow's cache domain.
9497 (image_instantiator_format_create): use it for text and
9500 2000-04-21 Andy Piper <andy@xemacs.org>
9502 * glyphs.c (image_instance_device): new function.
9503 (image_instance_frame): new function.
9504 (image_instance_window): new function.
9505 (image_instance_live_p): new function.
9507 * window.c (mark_window_as_deleted): reset the subwindow_instance_
9510 * glyphs.h (struct Lisp_Image_Instance): device->domain.
9511 (IMAGE_INSTANCE_DOMAIN): new accessor.
9512 (XIMAGE_INSTANCE_DOMAIN): ditto.
9514 * glyphs-x.c (x_finalize_image_instance): device->domain.
9516 * glyphs-msw.c (init_image_instance_geometry): device->domain.
9517 (mswindows_finalize_image_instance): ditto.
9519 * glyphs-eimage.c (jpeg_instantiate): device->domain.
9520 (gif_instantiate): ditto.
9521 (png_instantiate): ditto.
9522 (tiff_instantiate): ditto.
9524 * glyphs.c (instantiate_image_instantiator): use domain rather
9526 (mark_image_instance): device -> domain.
9527 (print_image_instance): ditto.
9528 (finalize_image_instance): ditto.
9529 (image_instance_equal): ditto.
9530 (allocate_image_instance): ditto.
9531 (Fcolorize_image_instance): ditto.
9532 (query_string_geometry): ditto.
9533 (image_instantiate): ditto
9534 (query_string_font): ditto.
9535 (image_instantiate): ditto.
9536 (update_subwindow): ditto.
9537 (unmap_subwindow): ditto.
9538 (map_subwindow): ditto.
9539 (subwindow_instantiate): ditto.
9541 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
9542 (DOMAIN_FRAME): ditto.
9543 (DOMAIN_WINDOW): ditto.
9544 (DOMAIN_LIVE_P): ditto.
9545 (XDOMAIN_DEVICE): ditto.
9546 (XDOMAIN_FRAME): ditto.
9547 (XDOMAIN_WINDOW): ditto.
9549 * specifier.c (Fvalid_specifier_domain_p): add image instances as
9550 a valid specifier domain.
9552 2000-04-19 Andy Piper <andy@xemacs.org>
9554 * glyphs-widget.c (syms_of_glyphs_widget): remove
9555 widget-callback-current-channel.
9556 (vars_of_glyphs_widget): ditto.
9559 * gui.c (get_gui_callback): revert to previous behaviour.
9561 2000-04-18 Andy Piper <andy@xemacs.org>
9563 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
9564 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
9565 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
9567 * glyphs.c (image_instance_equal): add margin_width.
9568 (image_instance_hash): ditto.
9570 * glyphs-widget.c (widget_instantiate): deal with margin-width.
9571 (layout_query_geometry): ditto.
9572 (layout_layout): ditto.
9573 (syms_of_glyphs_widget): add margin-width.
9574 (image_instantiator_layout): allow margin-width.
9576 * glyphs.c (update_widget_instances): make a normal function.
9577 (syms_of_glyphs): remove Qupdate_widget_instances.
9580 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
9581 so that we don't corrupt ideas about the last event or
9582 command. Remove widget-callback-current-channel fiddling.
9583 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9585 2000-05-01 Martin Buchholz <martin@xemacs.org>
9587 * XEmacs 21.2.33 is released.
9589 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
9591 * make-src-depend: Allow dots in header file name.
9593 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
9595 * mule-charset.h (struct charset_lookup): Add
9596 next_allocated_1_byte_leading_byte and
9597 next_allocated_2_byte_leading_byte.
9598 * mule-charset.c: Move above two variables so that those values
9601 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
9603 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
9604 when string length is zero.
9605 (find_charsets_in_emchar_string): Ditto.
9607 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
9609 * lisp.h: extern Qdialog and Qmenubar.
9611 * gui-x.c: added events.h.
9612 also fixed typo which made the file uncompilable.
9614 * general.c: Added Qmenubar and Qdialog
9616 2000-04-28 Ben Wing <ben@xemacs.org>
9618 * frame-msw.c (mswindows_init_frame_1):
9619 * frame-msw.c (mswindows_mark_frame):
9620 * event-msw.c (mswindows_enqueue_dispatch_event):
9622 * console-msw.h (struct mswindows_frame):
9623 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
9624 there are now three hash tables for callbacks.
9625 mswindows_enqueue_dispatch_event is no longer static.
9627 * dialog-x.c (maybe_run_dbox_text_callback):
9628 * dialog-x.c (dbox_descriptor_to_widget_value):
9629 switch to new cons3 form for callbacks.
9631 * glyphs-msw.c (mswindows_register_gui_item):
9632 * glyphs-msw.c (mswindows_widget_instantiate):
9633 * glyphs-msw.c (add_tree_item):
9634 * glyphs-msw.c (add_tab_item):
9635 new image instance parameter, so it can be passed to callback-ex.
9636 respect :callback-ex as well as :callback.
9638 * glyphs-widget.c (VALID_GUI_KEYWORDS):
9641 * glyphs.c (print_image_instance):
9642 prettify, e.g. now prints widget type.
9645 certain funs have new image instance parameter.
9648 * gui.c (get_gui_callback):
9649 * gui.c (gui_item_add_keyval_pair):
9650 * gui.c (gui_item_init):
9651 * gui.c (gui_add_item_keywords_to_plist):
9652 * gui.c (mark_gui_item):
9653 * gui.c (gui_item_hash):
9654 * gui.c (gui_item_equal):
9655 * gui.c (copy_gui_item):
9656 * gui.c (syms_of_gui):
9657 recognize callback-ex in a number of places.
9658 also, fix the annoying "can't get out of yes-no dialog" bug.
9661 * gui.h (struct Lisp_Gui_Item):
9662 recognize callback-ex in a number of places.
9664 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9665 new parameter in button_item_to_widget_value.
9667 * glyphs-x.c (x_update_widget):
9668 * glyphs-x.c (x_button_instantiate):
9669 * glyphs-x.c (x_button_update):
9670 * glyphs-x.c (x_progress_gauge_instantiate):
9671 * glyphs-x.c (x_edit_field_instantiate):
9672 * glyphs-x.c (x_combo_box_instantiate):
9673 * glyphs-x.c (x_tab_control_instantiate):
9674 * glyphs-x.c (x_label_instantiate):
9675 new image instance parameter in various places.
9678 * event-Xt.c (enqueue_Xt_dispatch_event):
9679 this fun gets exported.
9682 * gui-msw.c (mswindows_handle_gui_wm_command):
9683 handle both :callback and :callback-ex, and generate our own
9684 event because it's one of the callback-ex arguments.
9687 * gui-x.c (popup_selection_callback):
9688 handle both :callback and :callback-ex, and generate our own
9689 event because it's one of the callback-ex arguments.
9690 * gui-x.c (button_item_to_widget_value):
9691 * gui-x.c (gui_items_to_widget_values_1):
9692 * gui-x.c (gui_item_children_to_widget_values):
9693 * gui-x.c (gui_items_to_widget_values):
9694 new image instance parameter in various places.
9696 * fns.c (Freplace_list):
9697 fix small typo in doc string.
9700 declare enqueue_Xt_dispatch_event.
9702 2000-04-28 Ben Wing <ben@xemacs.org>
9705 * buffer.c (Frecord_buffer):
9706 * buffer.c (syms_of_buffer):
9707 delete record-buffer-hook.
9710 * fns.c (Freplace_list):
9711 * fns.c (syms_of_fns):
9712 new primitive replace-list.
9715 slot for old buffer-alist.
9721 * redisplay.c (redisplay_frame):
9722 * redisplay.c (syms_of_redisplay):
9723 * redisplay.c (vars_of_redisplay):
9724 new hook buffer-list-changed-hook.
9727 2000-04-27 Ben Wing <ben@xemacs.org>
9729 * extents.h: extern in_modeline_generation.
9731 * redisplay.c (generate_formatted_string_db): set
9732 in_modeline_generation.
9734 * extents.c (extent_changed_for_redisplay): don't mark redisplay
9735 flags if in modeline generation. otherwise frame-modified-tick
9736 is ticked far too often.
9737 Declare in_modeline_generation.
9739 2000-04-26 Ben Wing <ben@xemacs.org>
9741 * emacs.c (vars_of_emacs): document quick-build "error-checking"
9743 (vars_of_emacs): add quick-build as an error-checking option.
9744 A bit kludgy, but there doesn't seem much point in creating
9745 a real var for this.
9747 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
9749 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
9751 * redisplay.h (struct display_line): Add a new variable,
9754 * redisplay.c (create_text_block): Set dl->line_continuation if
9756 (create_string_text_block): Ditto.
9757 (regenerate_window_incrementally): Use line_continuation instead
9758 of searching continuation glyph.
9759 (add_margin_runes): Call add_glyph_rune.
9760 (add_glyph_rune): Handle margin glyph.
9762 2000-04-20 Martin Buchholz <martin@xemacs.org>
9764 * filelock.c (fill_in_lock_file_name):
9766 Check for IS_ANY_SEP instead of '/'.
9768 Avoid generating gratuitous garbage. Call user_login_name() directly.
9769 Never check errno without first seeing that system call failed.
9770 (unlock_file): Add GCPRO.
9771 (Flock_buffer): Fix docstring.
9772 (Ffile_locked_p): Fix docstring. Add GCPRO.
9774 2000-04-19 Martin Buchholz <martin@xemacs.org>
9776 * sysdep.c (get_pty_max_bytes):
9777 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
9778 strings longer than 252 bytes.
9780 * md5.c: Unconditionally include ANSI header <limits.h>
9782 * glyphs-x.c (convert_EImage_to_XImage):
9783 * lisp-union.h (union Lisp_Object):
9784 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
9786 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9788 * filelock.c (current_lock_owner): Remove unused variable o, p.
9790 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
9792 * callint.c: Remove multiply defined symbol Qlet
9793 (syms_of_callint): ditto.
9795 2000-04-14 Andy Piper <andy@xemacs.org>
9797 * general.c (syms_of_general): add last-command, this-command, let
9800 * lisp.h: declare various symbols.
9802 * glyphs.h: declare Qwidget_callback_current_channel;
9804 * glyphs-widget.c (syms_of_glyphs_widget): add
9805 Qgui_callback_current_channel.
9806 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
9808 * gui-msw.c (mswindows_handle_gui_wm_command): bind
9809 widget-callback-current-channel when invoking the interactive
9810 arg. Also bind last-command and next-command when invoking the
9812 * gui-x.c (popup_selection_callback): ditto.
9814 * gui.c (get_gui_callback): massage args so that we are always
9815 calling eval. This allows us to add our own variable bindings
9818 * glyphs-x.c (x_button_instantiate): use
9819 gui_items_to_widget_values since this is GC safe.
9820 (x_progress_gauge_instantiate): ditto.
9821 (x_edit_field_instantiate): ditto.
9822 (x_label_instantiate): ditto.
9824 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
9825 (emacs_Xt_event_widget_focus_out): new function
9826 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
9828 (emacs_Xt_event_add_widget_actions): new function. add focus
9829 functions as actions.
9830 (init_event_Xt_late): use it.
9832 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
9834 * event-stream.c (Fdispatch_event): Doc fix.
9836 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
9838 * postgresql.c: Remove all references to PQsetenv*.
9840 * postgresql.h: Remove references to PGsetenvHandler object.
9841 * lrecord.h (lrecord_type): Ditto.
9843 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9845 * glyphs-msw.h (struct mswindows_image_instance_data): Added
9846 real_heigh and real_width members, and accessor macros for these.
9848 * glyphs-msw.c (init_image_instance_geometry): New function.
9849 (init_image_instance_from_dibitmap): Use it.
9850 (mswindows_resource_instantiate): Use it.
9851 (init_image_instance_from_xbm_inline): Use it.
9852 (mswindows_initialize_image_instance_mask): Use real bitmap
9854 (mswindows_create_resized_bitmap): Ditto.
9855 (mswindows_create_resized_mask): Ditto.
9857 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
9858 and bitmap to their surface size.
9860 2000-04-11 Jan Vroonhof <jan@xemacs.org>
9862 * process-unix.c (unix_send_process): Guard against process MIA
9863 after Faccept_process_output.
9865 2000-04-11 Ben Wing <ben@xemacs.org>
9867 * eval.c (unbind_to_hairy): fix brokenness introduced by
9868 nanosecond speed improvements.
9870 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
9872 * sunplay.c (init_device): To play sounds correctly, the device
9873 apparently needs to be initialized at least once by XEmacs. Make
9876 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
9878 * redisplay.c (add_margin_runes): Add text image glyph
9881 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9883 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
9884 gcc is newer than 2.5.
9886 2000-04-06 Colin Rafferty <colin@xemacs.org>
9888 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
9890 * fns.c (size_bit_vector):
9891 * alloc.c (size_vector):
9892 (make_vector_internal):
9893 (make_bit_vector_internal):
9894 (sweep_bit_vectors_1):
9895 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
9897 2000-04-06 Andy Piper <andy@xemacs.org>
9899 * gmalloc.c (malloc): undo previous change.
9904 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
9906 * line-number.c (buffer_line_number): Revert to former version.
9908 2000-04-06 Andy Piper <andy@xemacs.org>
9910 * gmalloc.c (malloc): add error checking.
9915 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
9916 button_item_to_widget_value arg.
9918 * glyphs-x.c (x_button_instantiate): add extra
9919 button_item_to_widget_value arg.
9920 (x_progress_gauge_instantiate): ditto.
9921 (x_edit_field_instantiate): ditto.
9922 (x_label_instantiate): ditto.
9924 * gui-x.c (gui_items_to_widget_values_1): add extra
9925 button_item_to_widget_value arg.
9926 (button_item_to_widget_value): add extra menu_item_p arg.
9928 * gui-x.h: change signature of button_item_to_widget_value.
9930 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
9931 button_item_to_widget_value arg.
9933 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9935 * buffer.h (struct buffer): auto_save_modified should be long.
9937 2000-04-05 Andy Piper <andy@xemacs.org>
9939 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
9941 (button_query_geometry): give a little more room so that athena
9944 2000-04-05 Andy Piper <andy@xemacs.org>
9946 * faces.c (complex_vars_of_faces): The widget face should inherit
9947 the font of the gui-element face.
9949 2000-04-04 Andy Piper <andy@xemacs.org>
9951 * glyphs-x.c (x_button_update): new function. unconditionally
9952 update a button's state when the instance is dirty.
9953 (image_instantiator_format_create_glyphs_x): add x_button_update.
9954 (x_widget_instantiate): remove old resize cruft.
9956 2000-04-02 Andy Piper <andy@xemacs.org>
9958 * frame.c (change_frame_size_1): The introduction of gutters means
9959 that we need to allow 0 as a potential frame dimension.
9961 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
9963 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
9964 image glyph if allow_cursor.
9965 (add_hscroll_rune): Don't allow cursor to border glyph.
9966 (create_text_block): Ditto.
9968 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
9970 (redisplay_output_layout): Call ensure_face_cachel_complete for
9974 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
9976 * redisplay.c (add_glyph_rune): Adding text image as text runes.
9978 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
9981 * redisplay-tty.c (tty_output_display_block): Delete the routine
9982 for text image glyph
9983 * redisplay-x.c (x_output_display_block): ditto
9984 * redisplay-msw.c (mswindows_output_display_block): ditto
9986 2000-02-02 Mike Alexander <mta@arbortext.com>
9988 Note: Some of these were committed by accident as part of other
9991 * regex.c (regex_compile): Avoid compiler warnings.
9993 * ntproc.c (sys_spawnve): Avoid compiler warnings.
9995 * nt.h: Declare term_ntproc correctly.
9997 * nt.c: Remove incorrect declaration of get_home_directory which
9998 is declared correctly in lisp.h.
10000 * keymap.c (get_keyelt): Avoid compiler warnings.
10001 (raw_lookup_key_mapper): Avoid compiler warnings.
10003 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
10005 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
10007 * filemode.c (mode_string): Avoid compiler warnings.
10009 * file-coding.c (Fcoding_system_aliasee): Add return statement to
10012 * events-mod.h: Undef some things that winuser.h defines differently.
10014 * data.c (Faset): Avoid compiler warnings.
10016 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
10018 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
10020 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
10021 Fall through to simple beep on error.
10022 Replace "extern" by real header file.
10024 * linuxplay.c: Use nativesound.h
10025 (play_sound_data): Return error code. Be less verbose on error.
10027 * sunplay.c: Use nativesound.h
10028 (play_sound_data): Return error code. Be less verbose on error.
10030 * ntplay.c: Use nativesound.h
10031 (play_sound_data): Return fake error code
10033 * sgiplay.c: Use nativesound.h
10034 (play_sound_data): Return error code
10036 * hpplay.c: Use nativesound.h, partially implement
10037 new error code. Break compilation until finished.
10038 (play_sound_data): error code.
10040 * nativesound.h (play_sound_file):
10041 (play_sound_data): Prototype in new header.
10043 2000-03-31 Andy Piper <andy@xemacs.org>
10045 * glyphs-widget.c: (button_query_geometry): new function. Adjust
10046 for toggle and radio buttons.
10047 (image_instantiator_buttons): use it.
10049 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
10051 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
10052 (x_update_horizontal_scrollbar_callback): Return if no mirror was
10053 found. Scrollbar event probably belonged to some old config.
10055 2000-03-31 Andy Piper <andy@xemacs.org>
10057 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
10059 (initialize_widget_image_instance): default layout to
10060 LAYOUT_HORIZONTAL rather than 0.
10061 (widget_instantiate): reverse the item list at the end rather than
10063 (layout_layout): re-code for the border text at the front of the
10064 item list rather than at the end.
10065 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
10066 provided by the user.
10067 (widget_query_geometry): comment.
10069 2000-03-30 Andy Piper <andy@xemacs.org>
10071 * glyphs-widget.c (image_instantiator_layout): allow standard
10072 widget keywords in layouts.
10074 * gutter.c (output_gutter): cope with nil gutter contents.
10076 * frame.c (Fset_frame_properties): add gutter docs.
10078 2000-03-29 Andy Piper <andy@xemacs.org>
10080 * toolbar-msw.c (TBSTYLE_FLAT): add.
10081 (mswindows_output_toolbar): minor fiddling.
10083 2000-03-29 Andy Piper <andy@xemacs.org>
10085 * gutter.c (output_gutter): force gutter size recalculation if
10086 what we are trying to display won't fit.
10087 (update_gutter_geometry): new function. A per-gutter version of
10088 update_frame_gutter_geometry.
10089 (update_frame_gutter_geometry): use it.
10090 (redraw_exposed_gutter): add extra debugging output.
10092 2000-03-28 Mike Alexander <mta@arbortext.com>
10094 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
10095 (pdump_file_unmap): Implement it on Windows
10096 (pdump_file_get): Save alocated handles for pdump_file_unmap
10098 2000-03-28 Andy Piper <andy@xemacs.org>
10100 * gui.c (get_gui_callback): treat Quit specially.
10102 2000-03-27 Andy Piper <andy@xemacs.org>
10104 * glyphs.c (image_instantiate): be careful to check in the same
10107 2000-03-27 Didier Verna <didier@xemacs.org>
10109 * config.h.in: define the proper SMART_INCLUDE macro.
10110 handle renaming of `foo_h_path' to `foo_h_file'.
10112 * database.c: ditto.
10116 * linuxplay.c: ditto.
10118 * terminfo.c: ditto.
10120 * tooltalk.h: ditto.
10122 2000-03-27 Andy Piper <andy@xemacs.org>
10124 * glyphs-msw.c (mswindows_update_widget): make sure the widget
10125 gets updated whenever the face might have changed.
10127 2000-03-26 Mike Alexander <mta@arbortext.com>
10129 * dumper.c (pdump_resource_free): Fix the comment.
10131 2000-03-21 Olivier Galibert <galibert@pobox.com>
10133 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
10135 2000-03-22 Mike Alexander <mta@arbortext.com>
10137 * dumper.c: Include Windows headers on Windows
10138 (pdump_resource_free): Add a body to the function
10139 (pdump_load): exe_name -> exe_path and add some comments.
10141 2000-03-25 Mike Alexander <mta@arbortext.com>
10143 * gui.c (copy_gui_item_tree): Return a value in all cases
10145 2000-03-21 Didier Verna <didier@xemacs.org>
10147 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
10149 (SMART_INCLUDE): new macro.
10150 (POSTGRES_INCLUDE): new macro to include postgresql headers from
10151 the proper location.
10153 * postgresql.c: use it.
10157 2000-03-24 Andy Piper <andy@xemacs.org>
10159 * gutter.c (redraw_exposed_gutters): must be "in display" when we
10162 2000-03-24 Andy Piper <andy@xemacs.org>
10164 * redisplay-output.c (compare_runes): use image_instance_changed
10165 to detect changes. Do not depend on glyphs_changed, only depend on
10167 (redisplay_output_layout): add debug messages.
10168 (compare_runes): ditto.
10170 * glyphs.h: declare new functions.
10171 (struct Lisp_Image_Instance): remove percent and associated
10174 * gui.h: declare new copying functions.
10176 * gui.c (copy_gui_item_tree): new function.
10177 (copy_gui_item): new function.
10178 (gui_item_id_hash): revert to standard hash.
10179 (gui_item_hash): ditto.
10180 (gui_item_hash_internal): deleted.
10181 (mark_gui_item): mark value.
10182 (gui_item_add_keyval_pair): add value.
10183 (gui_item_init): ditto.
10184 (gui_add_item_keywords_to_plist): ditto.
10185 (gui_item_equal): ditto.
10186 (syms_of_gui): add Q_value.
10188 * glyphs-x.c (x_progress_gauge_update): use pending items and
10189 value for setting the state.
10190 (x_update_widget): don't set items from pending here.
10192 * glyphs-widget.c (update_widget): update items here.
10193 (progress_gauge_set_property): use items for storing value. Put
10194 new value in pending items.
10196 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
10197 items for new value. Convert percent -> value.
10198 (mswindows_tab_control_update): don't update items here.
10200 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
10201 (update_subwindow): ditto.
10202 (image_instance_changed): new function. Compare hash values and
10203 past and present widget items.
10204 (image_instantiate): We more careful about where we instantiate
10206 (image_instantiate): add error checking.
10208 * gutter.c (syms_of_gutter): use -hook.
10210 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
10212 * console-tty.c (Fset_console_tty_input_coding_system): Use
10214 (Fset_console_tty_output_coding_system): Use Qterminal.
10215 (tty_init_console): Use Qkeyboard and Qterminal.
10217 2000-03-21 Ben Wing <ben@xemacs.org>
10219 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
10220 From Mike Alexander <mta@arbortext.com>.
10222 2000-03-21 Ben Wing <ben@xemacs.org>
10224 * event-msw.c (mswindows_need_event): Horrible kludge to fix
10225 process brokenness. Proper implementation to come.
10227 Rename call-process-internal to old-call-process-internal.
10228 New impl. in process.el.
10230 2000-03-21 Martin Buchholz <martin@xemacs.org>
10232 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
10234 2000-03-20 Andy Piper <andy@xemacs.org>
10236 * glyphs.c (full_list_hash): make hashes of the same elements in
10237 different orders return different values.
10239 2000-03-20 Martin Buchholz <martin@xemacs.org>
10241 * XEmacs 21.2.32 is released.
10243 2000-03-20 Martin Buchholz <martin@xemacs.org>
10245 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
10246 (DFC_MALLOC_USE_CONVERTED_DATA):
10247 Add aliasing-safe casts to allow use with char* or unsigned char*
10250 * eldap.c (Fldap_open):
10251 (Fldap_search_basic):
10254 Make C++-compilable.
10255 Make sure GCPRO'ed variables are initialized.
10256 Use temp variables to avoid repeated calls to Flength.
10258 2000-03-16 Martin Buchholz <martin@xemacs.org>
10261 Make sure PATH_MAX is always defined.
10262 Include limits.h for PATH_MAX.
10263 Deprecate use of MAXPATHLEN.
10265 2000-03-10 Martin Buchholz <martin@xemacs.org>
10267 * emacs.c: Add reinit_vars_of_fileio.
10268 * symsinit.h: Add reinit_vars_of_fileio.
10269 * fileio.c (reinit_vars_of_fileio): New.
10270 * fileio.c (Fmake_temp_name):
10271 Initialize temp_name random number from microseconds to make
10272 collisions even less likely. Initialize always at process startup
10273 time. (make-temp-name) used to return the same file name twice in
10275 Random stylistic fiddling.
10278 2000-03-20 Andy Piper <andy@xemacs.org>
10280 * glyphs.c (image_instantiate): allow text glyphs to be
10281 instantiated in the minibuffer window.
10283 2000-03-19 Andy Piper <andy@xemacs.org>
10285 * glyphs.c (image_instance_hash): be careful about which items we
10288 * glyphs-widget.c (tab_control_set_property): record into pending
10289 items rather than the actual items.
10291 * glyphs-x.c (x_update_widget): use pending items to update with.
10293 * glyphs-msw.c (mswindows_tab_control_update): use pending items
10296 * glyphs.c (mark_image_instance): mark pending items.
10298 * window.c (Fset_window_configuration): record the buffer.
10299 (Fselect_window): totally revert previous change which breaks many
10302 2000-03-18 Andy Piper <andy@xemacs.org>
10304 * glyphs-msw.c (mswindows_tab_control_update): force selected
10307 * glyphs.c (image_instantiate): don't allow the minibuffer as a
10308 window domain cache, otherwise we get inconsistencies at
10309 startup. There is something fishy at startup which can lead to the
10310 minibuffer being the selected window when the gutter content is
10313 * gui.c (parse_gui_item_tree_list): add probably unnecessary
10315 (parse_gui_item_tree_children): ditto.
10316 (parse_gui_item_tree_item): ditto.
10318 * glyphs.c (Fupdate_widget_instances): return something.
10320 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10322 * window.c (Fselect_window): Undo 2000-03-17 change.
10324 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
10326 * postgresql.c (Fpq_setenv): Remove this turkey when linking
10327 against v7.0 libraries. Insta-coredump city until the postgres
10330 2000-03-17 Andy Piper <andy@xemacs.org>
10332 * faces.c (complex_vars_of_faces): don't give the widget face an
10333 inherited background pixmap.
10335 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
10338 * event-stream.c (Fdispatch_non_command_events): return something.
10340 * gutter.c (output_gutter): use widget face.
10341 (clear_gutter): ditto.
10343 * NEWS: adjust again.
10345 * window.c (Fselect_window): make sure this runs to completion to
10346 avoid oddities with Fset_window_configuration.
10347 (Fcurrent_window_configuration): in general do not save the
10348 minibuffer as the selected window.
10350 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
10352 2000-03-16 Olivier Galibert <galibert@pobox.com>
10354 * emacs.c (Frunning_temacs_p): Revert previous patch.
10355 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
10357 2000-03-16 Andy Piper <andy@xemacs.org>
10359 * glyphs-x.c (x_tab_control_update): if no widget values then
10362 * NEWS: update for new features.
10364 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
10365 synthetic event to the native system.
10366 (reinit_vars_of_event_Xt): set force_event_pending to
10367 emacs_Xt_force_event_pending.
10369 * events.h (struct event_stream): add force_event_pending.
10371 * specifier.c (recompute_one_cached_specifier_in_window): add
10374 * redisplay.c (redisplay_frame): don't call
10375 update_frame_subwindows. Reset subwindow cachels when
10376 subwindows_changed, removing this was an optimization too far.
10378 * redisplay-output.c (compare_runes): reorganize so that we catch
10379 glyph changes when we want them. Set optimize_output when this
10380 would help layouts.
10381 (redisplay_output_layout): remove frame_really_changed, use
10382 optimize_output instead.
10384 * redisplay-msw.c (mswindows_output_display_block): reset
10385 optimize_output after outputting a glyph.
10386 * redisplay-x.c (x_output_display_block): ditto.
10387 * redisplay-tty.c (tty_output_display_block): ditto.
10389 * gutter.c: (specifier_vars_of_gutter): use new spec changed
10391 (gutter_specs_changed): do specific gutter positions.
10392 (top_gutter_specs_changed): new function. Only update the
10393 specified gutter specs.
10394 (bottom_gutter_specs_changed): ditto.
10395 (left_gutter_specs_changed): ditto.
10396 (right_gutter_specs_changed): ditto.
10398 * gui.c (gui_item_hash_internal): new function, does a real hash.
10399 (gui_item_id_hash): use it.
10400 (gui_item_hash): hash the eval'ed gui_item.
10402 * gui-x.c (popup_selection_callback): send an eval event to call
10403 Fupdate_widget_instances.
10405 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
10406 to call Fupdate_widget_instances.
10408 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
10409 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
10411 * glyphs.c: (update_frame_subwindows): deleted.
10412 (Fupdate_widget_instances): new function for updating the dirty
10413 state of widgets that might have changed.
10414 (syms_of_glyphs): add Qupdate_widget_instances.
10415 (full_list_hash): hash a list completely.
10416 (image_instance_hash): use it for items and properties.
10418 * frame-msw.c (mswindows_size_frame_internal): remove unused
10421 * faces.h (struct face_cachel): fix comment.
10423 * event-stream.c (Fdispatch_non_command_events): new
10424 function. Process non-command events, forcing an event cycle
10426 (syms_of_event_stream): declare.
10427 (event_stream_force_event_pending): new function. Force an event
10428 on the native event queue so that an event cycle will occur next
10432 (struct ntpipe_shove_stream):
10433 (mswindows_enqueue_dispatch_event):
10434 (mswindows_dequeue_dispatch_event):
10435 (mswindows_cancel_dispatch_event):
10436 (mswindows_pump_outstanding_events):
10437 (mswindows_drain_windows_queue):
10438 (mswindows_handle_paint):
10439 (mswindows_wnd_proc):
10440 (mswindows_key_to_emacs_keysym):
10441 (get_process_input_waitable):
10442 (emacs_mswindows_delete_stream_pair): re-indent file.
10443 (mswindows_need_event): do not process further fds if the windows
10444 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
10445 fixes the 100% cpu problem.
10446 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
10448 2000-03-15 Olivier Galibert <galibert@pobox.com>
10454 * emacs.c: Moved dump file searching to dumper.c.
10455 (Frunning_temacs_p): Fixed.
10457 * alloc.c: Moved everything pdump-related to dumper.c. Removed
10458 last_lrecord_type_index_assigned.
10460 2000-02-20 Olivier Galibert <galibert@pobox.com>
10462 * symsinit.h: Added reinit parameter to init_console_stream
10465 * lisp.h: Added file parameter to pdump_load declaration.
10467 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
10468 support. Added dump file searching.
10470 * config.h.in: Added EMACS_PROGNAME.
10472 * console-stream.c (init_console_stream): Fix reinitialisation
10473 when running from temacs.
10475 * alloc.c (pdump): Add id support.
10476 (pdump_load): Add file parameter and signature/id support.
10478 * Makefile.in.in: Add full pdump support.
10480 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
10482 * postgresql.c: Update documentation to reflect latest code
10484 (print_result): Show tuple counts in printed representation when
10486 (Fpq_put_nbytes): MULE-ize.
10487 (Fpq_get_line_async): Ditto.
10489 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10491 * postgresql.c (Fpq_lo_import): Fix return value.
10492 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
10494 2000-03-13 Ben Wing <ben@xemacs.org>
10496 * alloc.c (pdump_load):
10497 Fix compile warning under mswin.
10499 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10501 * postgresql.c: Mule-ization, bug fixes.
10502 Use PG_CODING to encapsulate coding system name changes.
10503 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
10504 (pg-coding-system): Create.
10506 (Fpq_conn_defaults): Mule-ize.
10507 (Fpq_connectdb): Mule-ize & bug fix.
10508 (Fpq_connect_start): Mule-ize.
10509 (Fpq_set_client_encoding): Mule-ize.
10510 (Fpq_finish): Document `DEAD' connection status.
10511 (Fpq_clear): Ditto.
10512 (Fpq_pgconn): Mule-ize.
10513 (Fpq_exec): Mule-ize & bug fix.
10514 (Fpq_send_query): Ditto.
10515 (Fpq_get_result): Ditto.
10516 (Fpq_res_status): Mule-ize.
10517 (Fpq_result_error_message): Mule-ize.
10518 (Fpq_ntuples): fix comments.
10519 (Fpq_fname): Mule-ize.
10520 (Fpq_fnumber): Mule-ize.
10521 (Fpq_ftype): fix comments.
10522 (Fpq_get_value): Mule-ize.
10523 (Fpq_cmd_status): Ditto.
10524 (Fpq_cmd_tuples): Ditto.
10525 (Fpq_oid_value): Ditto.
10526 (Fpq_notifies): Ditto.
10527 (Fpq_lo_import): Ditto.
10528 (Fpq_lo_export): Ditto.
10529 (Fpq_get_line): Ditto.
10530 (Fpq_put_line): Mule-ize and bug fix.
10531 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
10533 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10535 * postgresql.c (vars_of_postgresql): Mule-ize.
10536 (Fpq_conn_defaults): Ditto.
10538 2000-03-12 Ben Wing <ben@xemacs.org>
10540 * alloc.c (Fmake_byte_code):
10541 * alloc.c (debug_string_purity_print):
10542 * alloc.c (pdump_backtrace):
10543 * alloc.c (pdump_get_indirect_count):
10544 * alloc.c (pdump_register_sub):
10545 * alloc.c (pdump_register_object):
10546 * alloc.c (pdump_register_struct):
10547 * alloc.c (pdump_dump_data):
10548 * alloc.c (pdump_reloc_one):
10552 * console-msw.c (GetConsoleHwnd):
10553 * console-msw.c (msw_hide_console):
10554 * console-msw.c (msw_show_console):
10555 * console-msw.c (msw_ensure_console_buffered):
10556 * console-msw.c (msw_output_console_string):
10557 * console-msw.c (console_type_create_mswindows):
10559 a) Added functions to manipulate the console window for use with
10562 b) Added support for writing text to the console, which is now
10563 used under Windows when xemacs is not being run non-interactively,
10564 to write text that would otherwise be destined for stdout because
10565 under these circumstances, text written to stdout tends to
10566 disappear and not be seen.
10570 * event-Xt.c (x_event_to_emacs_event):
10571 * event-Xt.c (describe_event_window):
10572 * events-mod.h (XEMACS_MOD_CONTROL):
10574 * events.c (Fmake_event):
10575 * events.c (character_to_event):
10576 * events.c (event_to_character):
10577 * events.c (format_event_object):
10578 * events.c (Fevent_modifiers):
10580 * events.h (struct key_data):
10581 * events.h (struct button_data):
10582 * events.h (struct misc_user_data):
10583 * frame-x.c (Fcde_start_drag_internal):
10584 * frame-x.c (Foffix_start_drag_internal):
10585 * gpmevent.c (Freceive_gpm_event):
10587 * keymap.c (bucky_sym_to_bucky_bit):
10588 * keymap.c (control_meta_superify):
10589 * keymap.c (make_key_description):
10590 * keymap.c (keymap_lookup_directly):
10591 * keymap.c (create_bucky_submap):
10592 * keymap.c (keymap_store):
10593 * keymap.c (define_key_check_and_coerce_keysym):
10594 * keymap.c (define_key_parser):
10595 * keymap.c (define_key_alternate_name):
10596 * keymap.c (Fdefine_key):
10597 * keymap.c (raw_lookup_key_mapper):
10598 * keymap.c (struct map_keymap_unsorted_closure):
10599 * keymap.c (map_keymap_unsorted_mapper):
10600 * keymap.c (map_keymap_sort_predicate):
10601 * keymap.c (map_keymap_sorted):
10602 * keymap.c (accessible_keymaps_mapper_1):
10603 * keymap.c (where_is_recursive_mapper):
10604 * keymap.c (describe_map_mapper):
10605 * keymap.c (describe_map_sort_predicate):
10606 * keymap.c (describe_map):
10607 * keymap.c (complex_vars_of_keymap):
10608 And a number of other files, the key modifier preprocessor
10609 constants that xemacs uses have names that conflict with constants
10610 defined under MS Windows for other purposes, so they were renamed
10611 to begin with the prefix XEMACS_. The variables that hold such
10612 modifiers were changed to consistently be of type int to fix
10613 various compile warnings.
10615 * console.c (complex_vars_of_console):
10618 * device-msw.c (mswindows_finish_init_device):
10619 * device-msw.c (msw_get_workspace_coords):
10620 * device-msw.c (mswindows_device_system_metrics):
10621 and various other files, added support for a new
10622 device property called offset-workspace which returns the position
10623 of the upper left corner of the workspace area and goes along with
10624 the existing size-workspace property.
10627 * dialog-msw.c (push_bufbyte_string_as_unicode):
10628 * dialog-msw.c (mswindows_popup_dialog_box):
10629 Added support for XEmacs-style accelerator specifications in
10630 button text. Note: I didn't add support for this under X Windows,
10631 and somebody needs to do this.
10634 * dialog.c (Fpopup_dialog_box):
10635 Documented the support for accelerators that was just mentioned.
10637 editfns.c (get_home_directory): Changed behavior under Windows
10638 when HOME not defined; former behavior was irretrievably broken.
10641 * emacs.c (main_1):
10643 * minibuf.c (clear_echo_area_internal):
10644 * minibuf.c (echo_area_append):
10646 * print.c (std_handle_out_external):
10647 * print.c (std_handle_out_va):
10649 * print.c (write_string_to_stdio_stream):
10650 * print.c (output_string):
10651 * print.c (debug_print):
10652 * print.c (debug_backtrace):
10653 * print.c (debug_short_backtrace):
10654 Cleaned up the code that prints text to stdout so that this can be
10655 changed to output into a console window instead under MS Windows,
10656 as described above.
10659 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
10660 * eval.c (internal_catch):
10661 * eval.c (unwind_to_catch):
10662 * eval.c (throw_or_bomb_out):
10663 * eval.c (condition_case_1):
10664 * eval.c (signal_1):
10665 * eval.c (check_error_state_sanity):
10666 * eval.c (call_with_suspended_errors_1):
10667 * eval.c (call_with_suspended_errors):
10668 * eval.c (reinit_vars_of_eval):
10669 Added code to catch throw loops and check for a pesky bug that may
10673 * event-msw.c (key_needs_default_processing_p):
10674 * event-msw.c (mswindows_wnd_proc):
10675 * event-msw.c (mswindows_modifier_state):
10676 * event-msw.c (emacs_mswindows_quit_p):
10677 * event-msw.c (vars_of_event_mswindows):
10678 a) Added support for using the alt key to select menu items as is
10679 standard under MS Windows. This is controlled using the variable
10680 menu-accelerator-enabled, just like under X Windows. There is an
10681 option on the options menu to turn this support on. I really
10682 think that it should be on by default under Windows, but I'm not
10683 going to make this change yet.
10685 b) Added support for dynamic display size changes under Windows.
10688 * event-stream.c (maybe_echo_keys):
10689 * event-stream.c (Fnext_event):
10690 * event-stream.c (command_builder_find_leaf):
10691 * event-stream.c (lookup_command_event):
10692 * event-stream.c (execute_command_event):
10693 * event-stream.c (pre_command_hook):
10694 * event-stream.c (post_command_hook):
10695 * event-stream.c (syms_of_event_stream):
10696 * event-stream.c (vars_of_event_stream):
10697 * event-stream.c (complex_vars_of_event_stream):
10698 * events.h (struct command_builder):
10700 a) Tried to clean up a little bit the horribly written x-specific
10701 accelerator code that crept into this file. I moved this code
10702 into menubar-x.c where it belongs. I also needed to move the
10703 command builder structure into the file events.h because it is
10704 accessed directly by this accelerator code. What I didn't do, but
10705 which should be done at some point, is to properly abstract this
10706 code using device methods instead of the kludgy way that it
10707 currently hooks into the event code.
10709 b) Added the lisp variables this-command-properties and
10710 last-command- properties, which should be used to synchronize two
10711 adjacent commands in preference to playing games with the variable
10712 this-command, which is typically what happens.
10714 c) Added some slightly nasty code to hook into the lisp support
10715 for shifted- motion-key selection. This is actually necessary for
10716 somewhat complicated reasons, which are described in
10717 simple.el. (NB: I think the proper thing would be to have the code
10718 that calls the pre and post command hooks also call out to generic
10719 lisp functions in simple.el, where all built-in stuff could be
10720 added. I will think about this more.)
10722 * event-unixoid.c (poll_fds_for_input):
10723 * lread.c (readchar):
10724 * redisplay-tty.c (tty_clear_frame):
10725 * redisplay-x.c (x_get_gc):
10726 * signal.c (interrupt_signal):
10727 And a whole bunch of other files: fixed up places that printed
10728 directly to stderr to instead call the function stderr_out so that
10729 the changes I made under Windows work correctly.
10731 * filemode.c (mode_string):
10735 * frame-msw.c (mswindows_size_frame_internal):
10736 Fixed the computation of frame size and position to keep the frame
10737 within the workspace area, rather than within the physical
10738 dimensions of the screen, so that the frame doesn't overlap window
10739 manager decorations, such as the start menu and toolbar, typically
10740 at the bottom of the screen.
10742 * frame.c (vars_of_frame):
10743 Changed the default frame title format under MS Windows to consist
10744 of buffername-XEmacs, which is standard under MS Windows. I think
10745 it might be a good idea to change this everywhere because I think
10746 it is superior to the current frame title format, but this is the
10747 kind of change that is likely to cause some people to get annoyed,
10748 so I'm not making it.
10750 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
10752 * gui-msw.c (mswindows_handle_gui_wm_command):
10753 Fixed compile warnings.
10756 * gui-x.c (strdup_and_add_accel):
10757 * gui-x.c (button_item_to_widget_value):
10759 Added code to automatically put an accelerator onto the beginning
10760 of menu items that don't have one as is now the standard, and is
10761 described more later. Also fixed things so that the menu item
10762 name can be an evaluated expression, again a new standard.
10765 * gui.c (gui_item_add_keyval_pair):
10766 * gui.c (make_gui_item_from_keywords_internal):
10767 * gui.c (gui_add_item_keywords_to_plist):
10768 * gui.c (gui_item_accelerator):
10769 * gui.c (gui_name_accelerator):
10770 * gui.c (gui_item_included_p):
10771 * gui.c (gui_item_display_flush_left):
10772 * gui.c (gui_item_display_flush_right):
10773 * gui.c (parse_gui_item_tree_item):
10774 * gui.c (parse_gui_item_tree_children):
10775 * gui.c (parse_gui_item_tree_list):
10776 Mule-ized. Cleanup. GCPRO addition.
10778 * line-number.c (buffer_line_number):
10780 * lisp.h (EMACS_INT_MAX):
10781 Added the manifest constant EMACS_INT_MIN corresponding to the
10782 existing constant EMACS_INT_MAX. This is partially to fix compile
10783 warnings under Windows, and partly for cleanliness.
10786 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
10787 * menubar-msw.c (msw_translate_menu_or_dialog_item):
10788 * menubar-msw.c (displayable_menu_item):
10789 * menubar-msw.c (populate_menu_add_item):
10790 * menubar-msw.c (populate_or_checksum_helper):
10791 * menubar-msw.c (populate_menu):
10792 * menubar-msw.c (update_frame_menubar_maybe):
10793 * menubar-msw.c (prune_menubar):
10794 * menubar-msw.c (msw_char_is_accelerator):
10795 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
10796 * menubar-msw.c (mswindows_handle_wm_command):
10797 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
10798 * menubar-msw.c (mswindows_handle_wm_initmenu):
10799 * menubar-msw.c (mswindows_update_frame_menubars):
10800 * menubar-msw.c (mswindows_free_frame_menubars):
10801 * menubar-msw.c (mswindows_popup_menu):
10802 Fixed a bug in handling accelerators where an extra character
10803 would be displayed in the menu item. Also generalized the
10804 function displayable_menu_item because it is now used by the
10805 dialog box code as well. And finally, added code in the functions
10806 that create the menubar to extract a list of accelerators for the
10807 top level menubar, which is used in the event code to determine
10808 whether a particular alt-key combination should be used to invoke
10809 a menu item, or should be passed through to access the standard
10810 XEmacs keymap binding for this key combination.
10812 Much needed GCPROing.
10815 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10816 * menubar-x.c (menu_item_descriptor_to_widget_value):
10817 * menubar-x.c (restore_in_menu_callback):
10818 * menubar-x.c (x_popup_menu):
10819 * menubar-x.c (menu_move_up):
10820 * menubar-x.c (menu_move_down):
10821 * menubar-x.c (menu_move_left):
10822 * menubar-x.c (menu_move_right):
10823 * menubar-x.c (menu_select_item):
10824 * menubar-x.c (command_builder_operate_menu_accelerator):
10825 * menubar-x.c (menu_accelerator_junk_on_error):
10826 * menubar-x.c (command_builder_find_menu_accelerator):
10827 * menubar-x.c (Faccelerate_menu):
10829 Moved a whole bunch of code here that was previously in
10830 event-stream.c as described above. There is also code connected
10831 to the new standard of adding an accelerator to the beginning of
10832 menu items that don't have one as described above and below.
10835 * menubar.c (menu_parse_submenu_keywords):
10836 * menubar.c (Fmenu_find_real_submenu):
10837 * menubar.c (Fnormalize_menu_item_name):
10838 * menubar.c (syms_of_menubar):
10839 * menubar.c (vars_of_menubar):
10840 * menubar.c (complex_vars_of_menubar):
10842 a) Cleaned up a bunch of documentation and improved it.
10844 b) XEmacs now automatically adds an accelerator onto the beginning
10845 of any menu items that don't have one. I did this because there
10846 will inevitably be some menu items on the main menubar that don't
10847 have accelerators on them because the package that adds that
10848 particular menu item hasn't yet been fixed up to have accelerators
10849 in them and it looked rather strange to have some items with and
10850 some items without accelerators, especially since even in items
10851 without accelerators, you can, at least under windows, still
10852 access the item through an accelerator corresponding to the first
10853 character in the item's name. If people don't like this behavior,
10854 I can add a variable to turn it off optionally, but I'm not sure
10855 this is a good idea because we really do need to have accelerators
10856 on all of the menu items, and if a package doesn't like the
10857 accelerators being put on the first character, then it should put
10858 the accelerators where they belong.
10860 c) I made a behavior change, which is that the descriptor that
10861 specifies the text of the menu item, which formerly was just a
10862 string, can now also be an evaluated expression. This makes this
10863 descriptor parallel with all of the others, which could also be
10864 evaluated expressions. This also obviates the need for the
10865 keyword :label, which was previously listed in the documentation
10866 as unimplemented, and which was for the same purpose.
10871 * ntproc.c (new_child):
10872 * ntproc.c (sys_spawnve):
10873 * ntproc.c (find_child_console):
10874 * ntproc.c (sys_kill):
10875 Fixed compile warnings. By the way, this file should really go
10876 away entirely, and this will happen as soon as Kirill makes his
10877 final round of process cleanups, which affect the function
10881 * process-nt.c (struct nt_process_data):
10882 * process-nt.c (find_process_from_pid):
10883 * process-nt.c (send_signal_the_nt_way):
10884 * process-nt.c (enable_child_signals):
10885 * process-nt.c (find_child_console):
10886 * process-nt.c (send_signal_the_95_way):
10887 * process-nt.c (nt_finalize_process_data):
10888 * process-nt.c (ensure_console_window_exists):
10889 * process-nt.c (nt_create_process):
10890 * process-nt.c (nt_kill_child_process):
10891 * process-nt.c (nt_kill_process_by_pid):
10892 * process-nt.c (nt_open_network_stream):
10893 * process-nt.c (vars_of_process_nt):
10894 Copied over code from Emacs 20.5 to correctly send signals to sub-
10895 processes under Windows 95. Also added code to automatically
10896 create and hide console window when a sub-process is created under
10897 Windows 95, which obviates the need for the separate runemacs.exe
10898 executable, and finally implemented some variables that were
10899 implemented in Emacs 20.5, but previously not in XEmacs. These
10900 include mswindows- start-process-share-console and
10901 mswindows-start-process-inherit-error-mode. (Both of these only
10902 apply to Windows 95.)
10904 * regex.c (regex_compile): Fixed a compile warning.
10907 * select-msw.c (mswindows_own_selection):
10908 * select-msw.c (mswindows_get_foreign_selection):
10909 * select-msw.c (mswindows_disown_selection):
10910 * select-msw.c (console_type_create_select_mswindows):
10911 * select-msw.c (syms_of_select_mswindows):
10912 Cleaned up the file and implemented the device method
10913 selection_exists_p, which had accidentally been left out. Also
10914 removed four lisp functions that were remnants from before the
10915 time when the selection code was properly device abstracted.
10916 These functions are no longer needed because there are generic
10917 equivalents, and because they were added recently and don't exist
10918 in FSF Emacs, I don't think there's any problem with just deleting
10922 * sysdep.c (sys_subshell):
10923 Fixed a compile warning, although in this case there's probably
10924 something wrong with this code, and it ought to be looked into
10925 more thoroughly by somebody who understands it.
10928 * window.c (Fwindow_text_area_height):
10929 * window.c (Fwindow_width):
10930 * window.c (Fwindow_full_width):
10931 * window.c (Fwindow_pixel_width):
10932 * window.c (debug_print_window):
10933 * window.c (syms_of_window):
10934 Added functions window-text-area-height and window-full-width,
10935 which are functions for returning various width and height
10936 characteristics of a window. (One of these functions is necessary
10937 for making the file dialog box work correctly, and the other one
10938 was added for completeness.) Also added a table to the
10939 documentation for window-height which describes the entire scheme
10940 for accessing width and height characteristics of a window.
10942 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10944 * nt.c (fstat): Added a comment for another problem with
10945 non-encapsulated [f]stat(), reported by Adrian Aichner
10946 <aichner@ecf.teradyne.com>.
10948 2000-03-11 Andy Piper <andy@xemacs.org>
10950 * window.c (make_dummy_parent): initialize subwindow instance
10952 (Fset_window_configuration): zero extent_modiff.
10954 2000-03-10 Andy Piper <andy@xemacs.org>
10956 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
10957 more changes can be triggered.
10958 (Fredisplay_frame): ditto.
10959 (Fredraw_device): ditto.
10960 (Fredisplay_device): ditto.
10961 (redisplay_frame): make non-static.
10962 (redisplay_frame): call update_frame_gutter_geometry outside of
10965 * gutter.h: declare update_frame_gutter_geometry.
10967 * redisplay.h: declare redisplay_frame.
10969 * gutter.c (update_frame_gutter_geometry): move geometry changes
10970 in update_frame_gutters here. Geometry changes can only occur
10971 outside of redisplay.
10972 (update_frame_gutters): remove geometry change code.
10973 (Fredisplay_gutter_area): make sure that we are in display when we
10974 update and that we have flushed any size changes.
10976 2000-03-11 Andy Piper <andy@xemacs.org>
10978 * alloc.c (pdump_dump_data): remove i & count shadows.
10980 2000-02-27 Mike Alexander <mta@arbortext.com>
10982 * sysdep.h: Declare pdump_read_file
10984 * sysdep.c (pdump_read_file): New function
10986 * alloc.c (pdump_load): Call pdump_read_file to get the portable
10989 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10991 * lrecord.h: add `lrecord_type_pgsetenv'.
10993 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
10995 * symsinit.h: declare (vars|syms)_of* functions.
10996 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
10998 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
11000 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
11002 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
11005 * emacs.c (main_1): Call postgres initialization code.
11007 * postgresql.h: New file. PostgreSQL RDBMS support.
11008 * postgresql.c: New file.
11010 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
11012 * redisplay-output.c (redisplay_output_display_block): Disable
11015 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11017 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
11018 (Fcanna_henkan_next): Ditto.
11019 (Fcanna_bunsetu_henkou): Ditto.
11020 (Fcanna_henkan_kakutei): Ditto.
11021 (Fcanna_henkan_end): Ditto.
11022 (Fcanna_henkan_quit): Ditto.
11023 (Fcanna_henkan_next): Set retun value correctly.
11024 (c2mu): Use unsigned char instead of signed char.
11026 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11028 * emacs.c (main_1): Always call syms_of_gui.
11029 * inline.c: include gui.h
11031 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11033 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
11034 converted to Lisp_Object.
11035 (Qtop_bottom): New variable.
11036 (syms_of_redisplay): Initialize it.
11037 * redisplay.h (Vvisible_bell): Ditto.
11038 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
11039 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
11040 only flash top and bottom.
11042 2000-03-08 Andy Piper <andy@xemacs.org>
11044 * buffer.c (Frename_buffer): record new buffer name the right way.
11046 2000-03-08 Andy Piper <andy@xemacs.org>
11048 * glyphs.c (update_subwindow): increase hash depth so that widget
11049 items get picked up properly.
11051 * redisplay-output.c (compare_runes): increase hash depth so that
11052 widget items get picked up properly.
11054 2000-03-08 Andy Piper <andy@xemacs.org>
11056 * gutter.c (output_gutter): add some debug.
11058 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
11059 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
11060 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
11062 * redisplay-output.c (compare_runes): use display_hash to
11063 determine if glyphs really are not the same.
11065 * glyphs.c (update_subwindow): check display_hash to see if
11066 anything really needs to be updated. If not then do
11067 nothing. Record the display_hash after updating.
11068 (image_instance_equal): compare the image_instance face also.
11070 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
11072 * redisplay.h: Fix comment style.
11074 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
11076 * consle-msw.h (struct mswindows_frame):
11077 Added new member paint_pending to indicate whether a WM_PAINT
11078 magic event has been queued for this frame.
11080 * event-msw.c (mswindows_drain_windows_queue):
11081 Don't queue a WM_PAINT magic event if one is already queued.
11082 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
11084 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
11086 2000-03-07 Didier Verna <didier@xemacs.org>
11088 * dired.c: #include `regex.h' after `sysfile.h'.
11090 2000-03-06 Martin Buchholz <martin@xemacs.org>
11092 * sound.c (init_nas_sound): Fix compiler warning.
11094 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
11096 (MARK_STRUCT_AS_FREE):
11097 (MARK_STRUCT_AS_NOT_FREE):
11098 Make `gcc -fstrict-aliasing' work properly.
11100 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
11102 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
11103 (mswindows_delete_device): Call CoUnnitialize().
11105 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
11107 2000-02-25 <CraigL@DyCon.com>
11109 * process-nt.c: MinGW now has <shellapi.h>, but still needs
11112 * sysdep.c: This extern declaration for environ prevents MinGW
11113 from finding the variable in CRTDLL.DLL.
11115 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
11117 (SHGFI_EXETYPE): ..
11118 (WM_MOUSEWHEEL): ..
11119 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
11121 (MMRESULT): Removed, now defined in cygwin's windows headers.
11123 (uid_t,gid_t,pid_t,ssize_t): ..
11124 (_timeb): Removed, MinGW defines both _timeb and timeb.
11125 (HAVE_H_ERRNO): Added.
11126 (HAVE_TZNAME): Added, configure is not detecting this.
11128 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
11130 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
11131 * syntax.c (syntax_match): Use it.
11133 * cmds.c: Import auto-fill-chars from FSF Emacs.
11134 (Vauto_fill_chars): New variables.
11135 (internal_self_insert): Check Vauto_fill_chars.
11137 Declare auto-fill-chars as a Lisp variable and initialize it.
11139 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
11141 * fileio.c (Fmake_symbolic_link):
11143 Run handlers even if local machine doesn't have symlinks.
11145 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
11147 * event-msw.c (mswindows_drain_windows_queue):
11148 Don't generate paint magic events for non-XEmacs frames.
11150 2000-03-05 Andy Piper <andy@xemacs.org>
11152 * redisplay.c (redisplay_frame): generate_displayable_area and
11153 friends assumes that we are not in GC, we therefore have to make
11154 sure that this doesn't happen.
11156 * gutter.c (calculate_gutter_size): generate_displayable_area
11157 assumes that we are not in GC, we therefore have to make sure that
11158 this doesn't happen.
11160 2000-03-05 Martin Buchholz <martin@xemacs.org>
11162 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
11164 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
11166 * redisplay.c (regenerate_window): Make sure we set a sane value
11167 for end_pos even if we jump out of the loop.
11168 (regenerate_window): Answer Ben's question :-).
11169 (start_end_of_last_line): Add may_error argument.
11170 (start_of_last_line):
11171 (end_of_last_line): Pass may_error = 0.
11172 (end_of_last_line_may_error): New function.
11173 (pixel_to_glyph_translation): Use it, so we don't crash in
11176 2000-03-04 Andy Piper <andy@xemacs.org>
11178 * window.h (struct window): add gutter_extent_modiff.
11180 * window.c (allocate_window): zero out gutter_extent_modiff.
11182 * redisplay.h: declare sync_display_line_structs.
11184 * redisplay.c (add_glyph_rune): add a better comment.
11186 * redisplay-output.c (sync_display_line_structs): made non-static.
11187 (compare_runes): remove unneccesary glyph cachel access.
11189 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
11191 * gutter.c (output_gutter): don't output the gutter if extent
11192 changes only involve extents in buffers. use 4 sets of display
11194 (gutter_extent_signal_changed_region_maybe): new function. Mark
11195 extents in gutters as changed.
11196 (update_frame_gutters): use 4 sets of display lines.
11197 (reset_gutter_display_lines): ditto.
11198 (free_frame_gutters): ditto.
11199 (redraw_exposed_gutter): force output of gutters.
11201 * frame.h (struct frame): add 4 sets of gutter display lines.
11203 * extents.c: (extent_changed_for_redisplay): signal changes to
11204 extents in strings in the gutter as well as extents in buffers.
11206 2000-03-02 Andy Piper <andy@xemacs.org>
11208 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
11210 * frame.c (Fmake_frame): make sure the gutters get initialized
11211 after the frame is visible.
11212 (set_frame_selected_window): re-arrange compilation macros a
11214 (change_frame_size_1): mark gutters changed.
11216 * device.c (Fset_device_class): mark gutters changed.
11218 2000-03-01 Andy Piper <andy@xemacs.org>
11220 * window.c (window_top_frame_gutter_height): deleted.
11221 (window_bottom_frame_gutter_height): ditto.
11222 (window_left_frame_gutter_height): ditto.
11223 (window_right_frame_gutter_height): ditto.
11224 (window_top_gutter_height): don't use them.
11225 (window_bottom_gutter_height): ditto.
11226 (window_left_gutter_width): ditto.
11227 (window_right_gutter_width): ditto.
11228 (Fsplit_window): ditto.
11229 (Fwindow_pixel_edges): don't use border dimensions here.
11231 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
11232 (update_scrollbar_instance): ditto.
11234 * redisplay.c (generate_modeline): don't take gutters into account.
11235 (generate_modeline): ditto.
11236 (redisplay_frame): small gutter display optimization.
11238 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
11240 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
11241 gutters into account.
11243 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
11244 for window position and type.
11246 * gutter.c (get_gutter_coords): fix for frame gutters.
11247 (update_frame_gutters): update frame geometry if the gutters have
11249 (init_frame_gutters): record current gutter geometries.
11251 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
11253 (mswindows_widget_instantiate): ditto.
11255 * frame.h (struct frame): add current_gutter_bounds.
11257 * frame.c (change_frame_size_1): position window and minibuffer
11258 appropriately taking into account the frame gutters.
11260 * frame-x.c: (x_initialize_frame_size): take into account the
11263 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11265 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
11267 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11269 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
11271 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11273 * file-coding.c (reset_decoding_stream): Clear previous
11274 detection state when autodetect.
11276 2000-02-29 Didier Verna <didier@xemacs.org>
11278 * extents.c (set_extent_glyph_1): don't require extents to be
11281 2000-02-27 Andy Piper <andy@xemacs.org>
11283 * gutter.c (Fset_default_gutter_position): don't default left and
11284 right gutter visibility to t.
11285 (Fset_default_gutter_position): run
11286 default-gutter-position-changed-hook.
11287 (syms_of_gutter): add default-gutter-position-changed-hook.
11289 2000-02-26 Andy Piper <andy@xemacs.org>
11291 * specifier.c (Fmake_specifier): add gutter references.
11293 * gutter.h (RAW_WINDOW_GUTTER): new macro.
11295 * lisp.h: declare Fvalid_plist_p.
11297 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
11299 (default_gutter_visible_p_changed_in_window): invalidate gutter as
11300 well as its visibility so that it gets reconstructed.
11301 (construct_window_gutter_spec): new function. Construct a string
11302 to be displayed in the gutter from a plist of strings. Take care
11303 to only use elements that are declared as visible.
11304 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
11306 (gutter_validate): allow plists of strings in the specifier.
11307 (gutter_specs_changed): construct the real_gutter from the gutter
11308 specs using construct_window_gutter_spec.
11309 (gutter_visible_validate): gutter-visible is a new specifier type.
11310 (Fgutter_visible_specifier_p): new function for the new specifier.
11311 (syms_of_gutter): declare gutter-visible and
11312 Fgutter_visible_specifier_p.
11313 (specifier_type_create_gutter): intitalize new gutter-visible
11315 (reinit_specifier_type_create_gutter): ditto.
11316 (specifier_vars_of_gutter): use new specifier type for gutter
11318 (init_frame_gutters): construct real_gutter correctly.
11319 (Fgutter_specifier_p): beef up documentation.
11320 (Fgutter_size_specifier_p): ditto.
11322 * winslots.h: add real_gutter slots.
11324 2000-02-25 Andy Piper <andy@xemacs.org>
11326 * device-msw.c: Be kind to older cygwin versions. From Raymond
11327 Toy <toy@rtp.ericsson.se>.
11329 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
11330 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
11332 2000-02-25 Martin Buchholz <martin@xemacs.org>
11334 * elhash.c (MARK_OBJ): Practice macro hygiene.
11336 2000-02-24 Martin Buchholz <martin@xemacs.org>
11338 * miscplay.c: s/__inline__/inline/g;
11339 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
11340 (get_device_compdc): INLINE ==> static inline
11341 * *.[ch]: Change INLINE to INLINE_HEADER globally.
11342 find -name '*.h' | \
11343 xargs global-replace \
11344 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
11346 2000-02-25 Andy Piper <andy@xemacs.org>
11348 * window.c (window_top_frame_gutter_height): new function.
11349 (window_top_window_gutter_height): ditto.
11350 (window_top_gutter_height): use them.
11351 (window_bottom_frame_gutter_height): new function.
11352 (window_bottom_window_gutter_height): ditto.
11353 (window_bottom_gutter_height): use them.
11354 (window_left_window_gutter_width): new function.
11355 (window_left_frame_gutter_width): ditto.
11356 (window_left_gutter_width): use them.
11357 (window_right_window_gutter_width): new function.
11358 (window_right_frame_gutter_width): ditto.
11359 (window_right_gutter_width): use them.
11360 (window_pixel_height): new function. calulate window pixel height
11361 with frame gutter involvement.
11362 (Fsplit_window): calculate new sizes taking frame gutters into
11364 (window_char_height_to_pixel_height): don't include frame gutters.
11365 (window_char_height): use window_pixel_height.
11366 (window_pixheight): rename from window_pixel_height.
11367 (change_window_height): use it.
11368 (window_pixel_height_to_char_height): don't include frame gutters.
11369 (window_char_width_to_pixel_width): ditto.
11371 2000-02-25 Andy Piper <andy@xemacs.org>
11373 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
11376 2000-02-24 Martin Buchholz <martin@xemacs.org>
11378 * alloc.c (staticpro):
11379 (staticpro_nodump):
11384 (compact_string_chars):
11385 (pdump_dump_wired):
11386 Convert: if (foo) abort(); ==> assert (! foo);
11388 * eldap.c (Fldap_search_basic):
11392 Fix compiler warnings, and possible crashes if (random) return
11393 value were to be used.
11395 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11397 * device-msw.c: Workaround ResetDC failure.
11399 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
11400 applying a devmode.
11402 * redisplay-msw.c (get_frame_dc): Added start_page_p.
11403 (mswindows_text_width): Do not start printer page.
11405 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
11407 * glyphs-msw.c: Added image methods to msprinter console and
11408 msprinter-specific image instantiation.
11410 2000-02-20 Mike Alexander <mta@arbortext.com>
11412 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
11413 to avoid crashes when selection-sets-clipboard is on
11414 (mswindows_own_selection): ditto
11416 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11419 * redisplay-msw.c (get_frame_dc):
11420 (get_frame_compdc):
11422 * device-msw.c (mswindows_init_device):
11423 (mswindows_delete_device):
11424 (msprinter_init_device):
11425 (msprinter_delete_device):
11426 * frame-msw.c (mswindows_init_frame_1):
11427 (mswindows_delete_frame):
11428 (msprinter_init_frame_3):
11429 (msprinter_delete_frame): Move compatible DC to device object from
11430 frame object, for both mswindows and msprinter. Only one at a time
11431 is needed, it is a real waste to have one per frame!
11433 2000-02-23 Andy Piper <andy@xemacs.org>
11435 * glyphs.c: add dynamic width and height elements.
11436 (image_instance_equal): ditto.
11438 * glyphs-widget.c (widget_query_geometry): calculate width and
11439 height dynamically if required.
11440 (initialize_widget_image_instance): initialize dynamic dimensions.
11441 (widget_instantiate): pick-up dynamic dimensions.
11443 * glyphs.h (struct Lisp_Image_Instance): add width and height for
11444 dynamic determination. Add appropriate macros.
11446 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
11448 (WINDOW_GUTTER_SIZE): ditto.
11449 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
11451 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
11453 (get_frame_dc): ditto.
11455 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
11458 2000-02-23 Martin Buchholz <martin@xemacs.org>
11460 * XEmacs 21.2.31 is released.
11462 2000-02-22 Ben Wing <ben@xemacs.org>
11464 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
11466 2000-02-22 Andy Piper <andy@xemacs.org>
11468 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
11470 2000-02-21 Mike Sperber <mike@xemacs.org>
11474 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
11477 2000-02-21 Mike Sperber <mike@xemacs.org>
11479 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
11481 2000-02-21 Martin Buchholz <martin@xemacs.org>
11483 * XEmacs 21.2.30 is released.
11485 2000-02-20 Martin Buchholz <martin@xemacs.org>
11487 Performance hacking.
11489 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
11490 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
11491 * emacs.c (main_1):
11493 * console.c (DEFVAR_CONSOLE_LOCAL_1):
11494 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
11495 * symeval.h (DEFVAR_SYMVAL_FWD):
11496 * symbols.c (guts_of_unbound_marker):
11497 Make all c_readonly objects also lisp_readonly and marked for life.
11498 * lrecord.h (struct lrecord_implementation):
11499 Document flags better.
11500 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
11501 * lrecord.h (DECLARE_LRECORD):
11502 * lrecord.h (XSETRECORD):
11503 * lrecord.h (RECORDP):
11504 * lrecord.h (RECORD_TYPEP):
11505 * lrecord.h (RECORD_MARKER): New.
11506 * lrecord.h (error_check_*):
11507 * lrecord.h (CONCHECK_NONRECORD):
11508 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
11509 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
11510 * lrecord.h (set_lheader_implementation):
11511 * lrecord.h (enum lrecord_type): New.
11512 * symeval.h (SYMBOL_VALUE_MAGIC_P):
11513 * alloc.c (disksave_object_finalization_1):
11514 * alloc.c (mark_object):
11515 * alloc.c (lrecord_type_index):
11516 * alloc.c (tick_lcrecord_stats):
11517 * alloc.c (Fgarbage_collect):
11518 * alloc.c (init_alloc_once_early):
11519 * alloc.c (pdump_load):
11520 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
11521 * alloc.c (lrecord_type_index): Delete.
11522 Make lisp object type indexes be constant.
11523 Makes (byte-compile) 5% faster.
11524 Put all marker functions into their own array.
11525 Makes (garbage-collect) 5% faster.
11526 Optimize SYMBOL_VALUE_MAGIC_P.
11527 Makes (byte-compile) 2-3% faster.
11528 * config.h.in (gc_checking_assert): New.
11529 * alloc.c: Use gc_checking_assert().
11530 * .dbxrc: Make compatible with new object type implementation.
11531 * .gdbinit: Make compatible with new object type implementation.
11532 * alloc.c: Delete all symbols defined only for debugging, such as
11533 Lisp_Type_Vector and lrecord_charset.
11535 2000-02-21 Andy Piper <andy@xemacs.org>
11537 * gui-msw.c (Fmswindows_shell_execute): fix file location
11540 * buffer.c (Fkill_buffer): remove buffer from alist buffer
11541 unshowing so that set_window_buffer doesn't undo
11542 kill_buffer_hook's hard work.
11544 * glyphs-widget.c (tab_control_query_geometry): don't count the
11545 first item when calculating geometry.
11547 * glyphs.c (map_subwindow): remove redundant code.
11548 (update_frame_subwindows): be more circumspect about when to
11551 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
11552 when items haven't changed. Update faces if faces have changed as
11553 well as just the widget face.
11554 (x_tab_control_update): Update faces if faces have changed as well
11555 as just the widget face.
11557 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11559 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
11561 (build_syscolor_string): Use mswindows_color_to_string to try to
11563 (mswindows_device_system_metrics): Reverse the foreground and
11564 background colors so that they match the documentation.
11566 * objects-msw.c: (mswindows_X_color_map): tweak some values so
11567 they match the default Windows palette.
11568 (mswindows_color_to_string): New function.
11570 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11572 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
11574 2000-02-18 Olivier Galibert <galibert@pobox.com>
11576 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
11577 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
11579 * symbols.c (init_symbols_once_early): Removed obsolete
11580 DATA_SEG_BITS related kludge.
11581 (defvar_magic): Ditto.
11583 * malloc.c: Removed obsolete DATA_SEG_BITS
11585 * mem-limits.h: Ditto.
11587 * Makefile.in.in: Removed obsolete HAVE_SHM
11590 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11592 * device-msw.c (mswindows_delete_device): Free DDE string
11595 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11597 * keymap.c (get_keyelt):
11598 * unexnt.c (unexec):
11599 * vm-limit.c (memory_warnings):
11600 * ntheap.c (recreate_heap):
11601 * ntheap.h (UNINIT_PTR):
11602 * select-msw.c (Fmswindows_get_clipboard):
11603 (Fmswindows_set_clipboard):
11604 * objects-msw.h (MSWINDOWS_BAD_HFONT):
11606 * menubar-msw.c (displayable_menu_item):
11608 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
11609 * sysdep.c (sys_subshell):
11610 * process-nt.c (nt_create_process):
11611 * nt.c (normalize_filename):
11612 (dostounix_filename):
11613 (unixtodos_filename):
11614 * ntproc.c (win32_executable_type):
11615 * ntplay.c (play_sound_data_1):
11617 * editfns.c (get_home_directory):
11618 * event-msw.c (struct winsock_stream):
11619 (mswindows_dde_callback):
11620 * device-msw.c (msprinter_init_device):
11621 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
11623 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
11624 mswindows_clear_toolbar were swapped!
11626 * objects-msw.c:(colormap_t):
11628 * emacs.c (struct standard_args): Fixed const jumble.
11630 * glyphs-widget.c (update_widget): Fixed comparison notation.
11632 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
11634 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
11635 __declspec(noreturn) syntax.
11637 2000-02-19 Martin Buchholz <martin@xemacs.org>
11639 * eldap.c (Fldap_open):
11640 (Fldap_search_basic):
11643 Use new coding system conversion macros.
11645 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11647 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
11649 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
11651 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
11652 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11654 * eldap.c (Qadd, Qreplace): New constant symbols
11655 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
11656 interruptions by XEmacs signals
11657 Remove unnecessary calls to slow_down_interrupts and
11658 speed_up_interrupts
11659 (Fldap_search_basic): Renamed from Fldap_search_internal
11660 Added new optional parameter VERBOSE that triggers the
11661 display of progress messages
11662 Remove unnecessary calls to slow_down_interrupts and
11663 speed_up_interrupts
11664 LDAP result code analysis rewritten
11665 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11666 (syms_of_eldap): Define the new symbols and functions
11669 2000-02-17 Martin Buchholz <martin@xemacs.org>
11671 * realpath.c: Determine PATH_MAX maximally portably.
11673 * insdel.c (bytecount_to_charcount): Optimize.
11674 The function used to be optimized for entirely ASCII sequences.
11675 Now it is optimized for successive characters from the same
11676 charset. This also wins big for _mostly_ ASCII sequences.
11678 * fileio.c (Ffile_truename): convert return from realpath() using
11679 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
11680 - Rewrite GCPROing slightly.
11682 * sysdep.c (sys_open): Do filename conversion, like all other
11683 sys_* functions. Fixes bug:
11684 (let ((file-name-coding-system 'iso-8859-2))
11685 (write-region x y latin2-name))
11686 ==> writes filename using internal encoding.
11688 2000-02-18 Martin Buchholz <martin@xemacs.org>
11690 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
11691 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
11692 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
11693 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
11694 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
11695 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
11696 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
11697 (CONST_IF_NOT_DEBUG): Delete.
11698 * alloc.c (this_one_is_unmarkable): Delete.
11699 (mark_object): Don't check for this_one_is_unmarkable. Use the
11700 c_readonly flag instead.
11701 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
11703 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
11705 * event-msw.c (mswindows_drain_windows_queue):
11706 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
11707 away redundant repaint events.
11709 2000-02-17 Andy Piper <andy@xemacs.org>
11711 * redisplay.h: declare mark_redisplay_structs.
11713 * redisplay.c (redisplay_window):
11714 (redisplay_frame): don't check subwindows_state_changed.
11715 (mark_redisplay): mark gutters here.
11717 * glyphs.c: (instantiate_image_instantiator): always layout if we
11718 haven't done so already.
11719 (allocate_image_instance): don't mark as dirty.
11720 (update_subwindow): bind inhibit_quit.
11722 * gutter.c (mark_gutters): new function.
11724 * glyphs-x.c (x_update_widget): Always resize to get round a
11727 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
11728 breaking absolutely everything.
11730 * gutter.h: declare mark_gutters.
11732 2000-02-16 Martin Buchholz <martin@xemacs.org>
11734 * XEmacs 21.2.29 is released.
11736 2000-02-15 Olivier Galibert <galibert@pobox.com>
11738 * fns.c (size_bit_vector): Fix computation of the size.
11740 2000-02-15 Martin Buchholz <martin@xemacs.org>
11742 * *.[ch]: Change CONST to const globally.
11743 find -name '*.[ch]' | \
11744 xargs global-replace \
11745 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
11746 - Remove vestigial references to CONST_IS_LOSING
11748 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11750 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
11751 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
11752 events instead of dispatching them directly.
11753 (mswindows_handle_paint): New function to do repainting.
11754 (mswindows_wnd_proc):
11755 (emacs_mswindows_handle_magic_event): Call above function.
11757 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11759 * objects-msw.c (mswindows_create_font_variant): Return the new
11761 (initialize_font_instance): Get font metrics from the underlined
11762 variant of the font to cope with the case where the underlined
11763 font has a bigger descent.
11765 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11767 * gui.c (gui_item_accelerator): Return the first underlined
11768 character in item name.
11770 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11772 * lisp.h: Added Qprinter.
11774 * general.c (syms_of_general): Initialized it.
11776 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
11778 (get_frame_compdc): Made inline.
11780 * console.h (struct console_methods): Added eject_page method.
11782 * frame.h: Added FRAME_DISPLAY_P and friends.
11783 Aligned backslahes in many macros in more readable fashion.
11784 Added page_number to struct frame, and an accessor macro
11787 * defice.h: Added DEVICE_DISPLAY_P and friends.
11789 * device.c (Fdevice_printer_p): Used these.
11791 * frame.c (allocate_frame_core): Initialize page number.
11792 (Fprint_job_page_number):
11793 (Fprint_job_eject_page): Implemented.
11795 * frame-msw.c (msprinter_eject_page): Added method.
11796 (msprinter_start_page): Added.
11798 * window.c (Fwindow_truncated_p): Fixed docstring.
11799 (Fwindow_last_line_visible_height): Implemented.
11801 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11803 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
11805 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11807 * syntax.c (scan_words): Always advance at least one character.
11809 2000-02-13 Andy Piper <andy@xemacs.org>
11811 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
11812 to make sure the glyph is in the cachels.
11814 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
11815 global image instance flag.
11816 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
11817 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
11819 * glyphs.c (allocate_image_instance): set dirty bits correctly.
11820 (Fset_image_instance_property): mark layout as changed.
11821 (invalidate_glyph_geometry_maybe): mark layout as changed.
11822 (glyph_width): use new NEEDS_LAYOUT macro.
11823 (glyph_ascent): ditto.
11824 (glyph_descent): ditto.
11825 (glyph_height): ditto.
11826 (image_instance_layout): mark layout as clean after laying out.
11827 (update_subwindow): don't mark layout as clean here.
11829 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
11830 should no longer be needed.
11832 * glyphs-x.c (x_update_widget): sanitize asserts.
11833 (x_finalize_image_instance): sanitize assignment to widgets.
11835 * glyphs-widget.c (widget_instantiate): don't need to clear the
11838 2000-02-13 Martin Buchholz <martin@xemacs.org>
11840 * sysdep.c (getcwd): Use standard prototype.
11841 * sysdep.h (getcwd): Use standard prototype.
11843 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
11844 (sequence, start, end).
11845 Remove redundant type checking.
11846 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
11847 view of `caller-protects') to avoid a crash where the real fix was
11850 2000-02-12 Martin Buchholz <martin@xemacs.org>
11852 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
11854 * s/sol2.h: Remove feature macro initialization.
11856 * alloc.c (alloc_lcrecord): Add more type checking assertions.
11857 (vector_hash): New. Code from internal_hash.
11859 Fix up allocation subsystem comments.
11861 * config.h.in: Add __EXTENSIONS__ for Solaris.
11863 * systime.h (EMACS_GETTIMEOFDAY): New.
11864 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
11865 Remove Solaris-specific code.
11866 Use void* for the (ignored) second arg for gettimeofday().
11868 * elhash.c (hash_table_hash): Implement it, finally.
11869 * elhash.c: Use hashcode_t.
11871 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
11872 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
11874 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
11875 * fns.c (size_bit_vector):
11876 * alloc.c (size_vector):
11877 (make_vector_internal):
11878 (make_bit_vector_internal):
11879 (sweep_bit_vectors_1):
11880 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
11882 2000-02-10 Martin Buchholz <martin@xemacs.org>
11884 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
11885 Include strings.h to avoid warnings for bzero and strcasecmp.
11887 2000-02-10 Olivier Galibert <galibert@pobox.com>
11889 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
11890 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
11892 * fns.c (size_bit_vector): New. Declare bit vectors as a
11895 2000-02-10 Olivier Galibert <galibert@pobox.com>
11897 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
11898 use a value field instead.
11899 (symbol_value_forward_forward): Use value field.
11900 (DEFVAR_SYMVAL_FWD): Use value field.
11901 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
11902 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
11903 (DEFVAR_CONST_INT): Ditto.
11904 (DEFVAR_BOOL): Ditto.
11905 (DEFVAR_CONST_BOOL): Ditto.
11906 (DEFVAR_INT_MAGIC): Ditto.
11907 (DEFVAR_BOOL_MAGIC): Ditto.
11909 * symbols.c (guts_of_unbound_marker): Use value field.
11910 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
11911 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
11913 * lisp.h: Declare dumpopaque and noninteractive1.
11915 * alloc.c (dumpopaque): Added.
11916 (pdump_dump_opaquevec): Added.
11917 (pdump): Call pdump_dump_opaquevec to dump opaque data.
11918 (pdump_load): Reload opaque data. Sync noninteractive1 with
11921 2000-02-10 Andy Piper <andy@xemacs.org>
11923 * glyphs.c (image_instance_layout): if the size changes, mark it
11926 * redisplay-output.c (redisplay_output_layout): Update the
11928 (redisplay_output_subwindow): ditto.
11930 * glyphs.c (update_subwindow): make sure we reset flags for
11931 layouts as well as everything else.
11933 * glyphs-widget.c (layout_layout): don't need to set the instances
11936 2000-02-09 Martin Buchholz <martin@xemacs.org>
11938 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
11939 not HAVE_DLOPEN, which is a lower-level thing.
11941 * .cvsignore: Ignore gmon.out
11943 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
11945 * .cvsignore: Ignore portable dumper xemacs.dmp file
11947 2000-02-09 Andy Piper <andy@xemacs.org>
11949 * redisplay-output.c (redisplay_output_layout): be more clever
11950 about when we output based on the changed flags.
11952 * glyphs.h (struct image_instantiator_methods): add update_method.
11953 (struct Lisp_Image_Instance): add changed flags. Declare new
11954 macros for manipulating them.
11956 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
11957 (image_instance_parent_glyph): find an image_instance's parent
11958 glyph or image_instance.
11959 (image_instance_layout): mark the size as changed.
11960 (set_image_instance_dirty_p): new function. mark an image
11961 instance, plus all of its parents, as dirty.
11962 (Fset_image_instance_property): use it.
11963 (Fglyph_animated_timeout_handler): use it.
11964 (update_subwindow): call update_widget and device methods for
11965 update_subwindow. Mark all changed flags as clean.
11966 (Fresize_subwindow): mark size as changed.
11968 * glyphs-x.c (x_finalize_image_instance): try and detect gc
11970 (x_update_subwindow): only resize subwindows here.
11971 (x_update_widget): new function. Update all changed properties of
11973 (x_resize_subwindow): deleted.
11974 (x_widget_set_property): deleted.
11975 (x_progress_gauge_set_property): deleted.
11976 (x_progress_gauge_update): new function. Implement recorded
11978 (x_tab_control_update): ditto.
11979 (x_tab_control_set_property): deleted.
11980 (console_type_create_glyphs_x): declare new functions.
11981 (image_instantiator_format_create_glyphs_x): ditto.
11983 * glyphs-widget.c (widget_set_property): mark text changed.
11984 (update_widget): new function. Update properties of a widget.
11985 (widget_instantiate): for layouts make sure we set their
11986 children's parent correctly.
11987 (tab_control_set_property): new function. Record changes that will
11988 take place under redisplay's control.
11989 (progress_gauge_set_property): ditto.
11990 (image_instantiator_progress_guage): declare new functions.
11991 (image_instantiator_tab_control): ditto.
11993 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
11995 (mswindows_update_widget): new function. Update all properties on
11996 a widget that have changed.
11997 (mswindows_button_update): new function. Update a button's set
11999 (mswindows_tab_control_update): new function. Update the items in
12001 (mswindows_tab_control_set_property): deleted.
12002 (mswindows_progress_gauge_update): new function. Update the
12003 progress gauge's progress.
12004 (mswindows_widget_set_property): deleted. This is all done
12005 asynchronously now.
12006 (mswindows_progress_gauge_set_property): ditto.
12007 (console_type_create_glyphs_mswindows): declare new methods.
12008 (image_instantiator_format_create_glyphs_mswindows): ditto.
12010 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
12011 (msprinter_set_frame_properties): ditto.
12013 * console.h (struct console_methods): Add update_widget_method.
12015 2000-02-09 Andy Piper <andy@xemacs.org>
12017 * gui-msw.c (Fmswindows_shell_execute): Make
12018 mswindows-shell-execute industrial strength.
12020 2000-02-08 Martin Buchholz <martin@xemacs.org>
12022 * lrecord.h: Make macro argument `props' match member function `plist'.
12025 * fns.c (Fremprop):
12026 * fns.c (Fobject_plist):
12029 Object property list frobbing cleanup.
12030 - Allow any lisp object (compared with `eq'), not just symbols, as
12031 keys in object plists.
12032 - Move symbol plist frobbing into symbols.c, where it belongs.
12033 - Move string plist frobbing into alloc.c, where it belongs.
12034 - Everything's an lrecord now, so no need to test for symbolp, etc.
12035 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
12037 * extents.c: Reorder code to remove declarations.
12039 * frame.h (store_in_alist): Remove useless declaration.
12041 2000-02-07 Martin Buchholz <martin@xemacs.org>
12043 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
12044 * config.h.in: Add HAVE_XCONVERTCASE.
12046 2000-02-07 Andy Piper <andy@xemacs.org>
12048 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
12049 it breaks many things.
12051 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
12053 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
12054 actually can start a common comment type.
12055 * src/syntax.h (SYNTAX_END_P): ditto for end.
12057 2000-02-07 Martin Buchholz <martin@xemacs.org>
12059 * XEmacs 21.2.28 is released.
12061 2000-02-06 Martin Buchholz <martin@xemacs.org>
12063 * event-Xt.c (x_keysym_to_character): New.
12064 (maybe_define_x_key_as_self_inserting_character): New.
12065 (x_has_keysym): New.
12066 Auto-define all keys on the keyboard as self-insert-key.
12068 2000-02-02 Martin Buchholz <martin@xemacs.org>
12070 * menubar.c (vars_of_menubar): A small code simplification.
12072 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
12075 * ExternalClient.c:
12076 * EmacsShell-sub.c:
12079 Use consistent style for specifying X resources.
12081 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
12082 This makes (dontusethis-set-symbol-value-handler) actually usable.
12084 * lrecord.h (lrecord_decription_type):
12085 * alloc.c (pdump_register_sub):
12088 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
12089 Comply with XEmacs coding style.
12090 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
12091 args, and XD_LISP_OBJECT_ARRAY with 3 args.
12093 * keymap.c (Faccessible_keymaps):
12094 Make (accessible-keymaps map "\C-h") do the Right Thing.
12095 Make (accessible-keymaps map []) do the Right Thing.
12096 Make (accessible-keymaps map "") do the Right Thing.
12097 (check_keymap_definition_loop): New function.
12098 (keymap_store_internal): Keep luser from shooting self in foot,
12099 via (define-key ctl-x-4-map "p" global-map).
12100 Remove fullness slot from struct Lisp_Keymap, since hash tables
12102 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
12104 2000-01-30 Martin Buchholz <martin@xemacs.org>
12106 * redisplay.c (init_redisplay): Fix small memory leak.
12108 * elhash.c (pdump_reorganize_hash_table):
12109 Rename from reorganize_hash_table. Change prototype.
12110 Reuse the original memory for hentries. Save 100k.
12111 * alloc.c (PDUMP_READ): new macro.
12112 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
12113 * alloc.c: No need to #ifndef before #undef.
12115 * print.c: Allow debug_print() to print readably by modifying
12116 debug_print_readably. Use consistent variable names.
12118 * .dbxrc: Try to get things to work even if stopped in a function
12119 without source available by explicitly specifying source files.
12120 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12122 * unexnt.c (_start): Removed bogus code which caused loading heap
12123 from differrent executable file.
12124 Removed bogus assignment to _fmode, which caused inconsistencies.
12126 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12128 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
12129 Have spawnve encapsulation regard DONT_ENCAPSULATE.
12130 Do not preliminary `#define signal sigset'.
12132 * systime.h: Do not prototype environ on windows nt and cygwin,
12133 this conflicts with system header.
12135 * syssignal.h: Use correct define for WINDOWSNT
12137 * sysdep.h: Do not prototype environ on windows nt, this conflicts
12138 with system header.
12140 * sysdep.c (near start of file): Fixed commentary and rearranged
12141 ifdefs in readable order.
12142 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
12145 (end_of_data): Do not compile in if using PDUMP.
12147 * symsinit.h: Prototyped vars_of_nt().
12149 * ntproc.c (windows9x_p): Added, instead of os_subtype.
12150 (find_child_console): Use it.
12151 (sys_kill): Use it.
12153 * ntheap.h: Do not extern os_subtype.
12155 * ntheap.c (cache_system_info): Do not cache unneeded:
12156 nt_major_version, nt_minor_version and os_subtype.
12157 (recreate_heap): Do not compile in when PDUMPing.
12159 * nt.c (geteuid and friends): Use the new varibale
12160 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
12161 (init_user_info): Removed the above mentioned hackery.
12162 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
12163 stat has been fixed in the C runtime.
12164 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
12166 * file-coding.c (struct file_coding_dump): Do not define
12167 ucs_to_mule_table in the struct if not MULE.
12168 (struct struct lrecord_description fcd_description_1): Do not dump
12171 * emacs.c (main_1): Call vars_of_nt().
12172 (right before Fdump_emacs_data): Don't need lastfile if using both
12173 portabe dumper and system malloc.
12175 * alloc.c (Fmemory_limit): Conditionalized out.
12176 (pdump): Use OPEN_BINARY for the portable dump file.
12177 (pdump_load): Ditto.
12179 2000-02-02 Mike Alexander <mta@arbortext.com>
12181 * nt.c (convert_time): Set tm_isdst before calling mktime and
12182 avoid calling it at all if the compiler supports 64 bit integers.
12183 Also initialize utc_base_ft before using it.
12185 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
12187 * frame.c (change_frame_size_1): Take f->internal_border_width
12188 into consideration when calculating the width of the frame.
12190 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12192 * window.c (frame_min_height):
12193 (frame_size_valid_p):
12194 (frame_pixsize_valid_p): Added.
12195 (check_frame_size): Generalized.
12197 * window.h: Prototyped the above.
12200 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
12201 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
12202 Deleted Vwin32_* and Vbinary_process_* unused variables.
12204 * device-msw.c (msprinter_init_device): Do not get printer font
12205 list; Added DEVMODE functions.
12207 * frame-msw.c: Added lots of printer code.
12209 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
12212 * console-msw.h: Added more msprinter device private slots.
12214 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12216 * event-msw.c (key_needs_default_processing_p): Added.
12217 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
12219 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12221 * glyphs.c (image_instance_layout): Mark image instance as clean
12223 (glyph_dirty_p): Removed redundant function.
12224 (invalidate_glyph_geometry_maybe): Added.
12225 (update_glyph_cachel_data): Call it.
12227 * glyphs.h: Prototyped it.
12229 * redisplay.c (add_glyph_rune): Call it.
12230 (redisplay_window): Reset glyphs cachels when frame faces have
12231 changed, thus forcing recomputation of built-in border glyphs.
12233 2000-01-30 Martin Buchholz <martin@xemacs.org>
12235 * Makefile.in.in: Make portable dumper and purify play well together.
12236 Add imperfect, but better than nothing, support for pdump.
12237 Remove xemacs.dmp when temacs is re-generated.
12238 Don't ignore errors when dumping xemacs.
12240 * symbols.c (maybe_call_magic_handler): Remove one magic number.
12242 2000-01-28 Andy Piper <andy@xemacs.org>
12244 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
12245 (setup_normal_frame): ditto.
12246 (setup_frame_without_minibuffer): ditto.
12247 (setup_minibuffer_frame): ditto.
12248 (delete_frame_internal): ditto.
12249 (Fmake_frame_invisible): ditto.
12250 (Ficonify_frame): ditto.
12252 * window.h: change Fset_window_buffer signature.
12254 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
12255 (Fset_window_buffer): allow recording of buffer if the window is
12256 the selected window.
12257 (window_loop): Use new Fset_window signature.
12259 2000-01-23 Daniel Pittman <daniel@danann.net>
12261 * config.h.in: Added template for `HAVE_ATHENA_3D'
12263 2000-01-29 Andy Piper <andy@xemacs.org>
12265 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
12267 * gutter.c (output_gutter): Don't output if the window isn't live.
12269 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12271 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
12272 of 01/12/00: Moved SetFocus back here where it belongs.
12274 2000-01-23 Andy Piper <andy@xemacs.org>
12276 * s/cygwin32.h: declare printer things.
12278 2000-01-26 Andy Piper <andy@xemacs.org>
12280 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
12283 2000-01-24 Andy Piper <andy@xemacs.org>
12285 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
12286 (mswindows_button_instantiate): Make sure glyph is a pixmap.
12288 * glyphs-widget.c (widget_instantiate): Avoid shadows.
12290 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
12292 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
12294 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
12295 (mswindows_output_display_block): Avoid local shadows.
12297 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
12298 (mswindows_enqueue_mouse_button_event): ditto.
12299 (mswindows_handle_gui_wm_command): remove declaration.
12301 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
12304 * console-msw.h: Avoid shadows.
12305 (mswindows_get_toolbar_button_text):
12306 (emacs_mswindows_create_stream_pair):
12307 (emacs_mswindows_delete_stream_pair):
12308 (mswindows_handle_toolbar_wm_command): declare.
12310 * device-msw.c (build_syscolor_string): Avoid shadows.
12312 2000-01-23 Andy Piper <andy@xemacs.org>
12314 * glyphs-widget.c (widget_instantiate): reverse the items for
12315 layouts so that children are in the expected order.
12317 2000-01-28 Martin Buchholz <martin@xemacs.org>
12319 * ralloc.c: safe_bcopy ==> memmove
12320 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
12321 * s/msdos.h: Remove BCOPY macros.
12322 * insdel.c (gap_right): Remove BCOPY conditional code.
12323 * insdel.c (gap_left): Remove BCOPY conditional code.
12324 XEmacs demands a working ANSI C compiler - hence memmove.
12326 * regex.c (regex_compile): Remove accidental use of trigraphs.
12328 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12330 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
12333 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12335 * event-msw.c (mswindows_drain_windows_queue): Added the
12337 (mswindows_need_event): Commented the call to
12338 mswindows_drain_windows_queue().
12339 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
12342 * console-msw.h: Moved a few function prototypes here from
12345 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
12346 parameter from unsigned short to unsigned long.
12347 (Fmswindows_shell_execute): Added return value.
12349 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12351 * sysdep.c (init_system_name):
12352 process-unix.c (unix_canonicalized_host_name):
12353 Don't call freeaddrinfo() if getaddrinfo() fails.
12355 * process-unix.c (unix_open_unix_network_stream):
12356 Moved the code to get a port # into address loop.
12358 2000-01-27 Martin Buchholz <martin@xemacs.org>
12360 * buffer.c (reinit_vars_of_buffer):
12361 The right place to initialize conversion_in_dynarr and
12362 conversion_out_dynarr.
12364 * alloc.c (pdump): Use the real open() till sys_open() is functional.
12366 * process-unix.c (unix_canonicalize_host_name): Muleize.
12367 (unix_open_network_stream): Muleize.
12369 * buffer.h: Fix up prototypes for ralloc.c functions.
12371 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12372 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
12373 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
12374 instead of gethostbyname()
12375 * process-unix.c: In unix_canonicalize_host_name() and
12376 unix_open_network_stream(), add code to use getaddrinfo()
12377 instead of gethostbyname().
12379 2000-01-27 Daniel Pittman <daniel@danann.net>
12381 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
12382 libs when built with flat Athena.
12384 2000-01-27 Martin Buchholz <martin@xemacs.org>
12386 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
12387 Use coding standards for function prototypes.
12389 2000-01-25 Martin Buchholz <martin@xemacs.org>
12391 * dialog-msw.c (push_lisp_string_as_unicode):
12392 * doc.c (unparesseuxify_doc_string):
12393 * dired.c (Fuser_name_completion_1):
12394 * dired.c (Fuser_name_all_completions):
12395 * dired.c (free_user_cache):
12396 * dired.c (user_name_completion):
12397 * console-x.c (get_display_arg_connection):
12398 * minibuf.c (clear_echo_area_internal):
12399 * minibuf.c (echo_area_append):
12400 * eldap.c (Fldap_open):
12401 * eldap.c (Fldap_search_internal):
12402 * frame-x.c (x_set_frame_text_value):
12403 * frame-x.c (x_set_frame_properties):
12404 * frame-x.c (x_create_widgets):
12405 * redisplay-tty.c (term_get_fkeys_1):
12406 * objects-x.c (x_parse_nearest_color):
12407 * objects-x.c (x_valid_color_name_p):
12408 * objects-x.c (x_initialize_font_instance):
12409 * objects-x.c (x_list_fonts):
12410 * objects-x.c (x_find_charset_font):
12411 * tooltalk.c (Fadd_tooltalk_message_arg):
12412 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12413 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12414 * process-unix.c (unix_create_process):
12415 * ntproc.c (sys_spawnve):
12416 * sound.c (Fplay_sound_file):
12417 * sound.c (Fplay_sound):
12418 * buffer.c (init_initial_directory):
12419 * buffer.c (init_buffer):
12420 * editfns.c (init_editfns):
12421 * editfns.c (Ftemp_directory):
12422 * editfns.c (Fuser_full_name):
12423 * editfns.c (uncache_home_directory):
12424 * editfns.c (get_home_directory):
12425 * editfns.c (Fuser_home_directory):
12426 * editfns.c (Fformat_time_string):
12427 * editfns.c (Fcurrent_time_string):
12428 * gui-x.c (button_item_to_widget_value):
12429 * database.c (Fopen_database):
12430 * event-Xt.c (x_to_emacs_keysym):
12431 * event-Xt.c (x_event_to_emacs_event):
12432 * event-Xt.c (describe_event_window):
12433 * event-msw.c (mswindows_wnd_proc):
12434 * glyphs-eimage.c (jpeg_instantiate):
12435 * glyphs-eimage.c (gif_instantiate):
12436 * glyphs-eimage.c (png_instantiate):
12437 * glyphs-eimage.c (tiff_instantiate):
12438 * glyphs-x.c (xbm_instantiate_1):
12439 * glyphs-x.c (x_xbm_instantiate):
12440 * glyphs-x.c (x_xface_instantiate):
12441 * glyphs-x.c (autodetect_instantiate):
12442 * glyphs-x.c (cursor_font_instantiate):
12443 * glyphs-x.c (x_widget_instantiate):
12444 * glyphs-x.c (x_widget_set_property):
12445 * glyphs-x.c (x_widget_property):
12446 * glyphs-x.c (BUILD_GLYPH_INST):
12447 * print.c (write_string_to_stdio_stream):
12448 * print.c (output_string):
12449 * print.c (Falternate_debugging_output):
12450 * print.c (Fexternal_debugging_output):
12451 * glyphs-msw.c (extract_xpm_color_names):
12452 * glyphs-msw.c (mswindows_xpm_instantiate):
12453 * glyphs-msw.c (bmp_instantiate):
12454 * glyphs-msw.c (resource_name_to_resource):
12455 * glyphs-msw.c (mswindows_resource_instantiate):
12456 * glyphs-msw.c (xbm_instantiate_1):
12457 * glyphs-msw.c (mswindows_xbm_instantiate):
12458 * glyphs-msw.c (mswindows_xface_instantiate):
12459 * glyphs-msw.c (mswindows_widget_instantiate):
12460 * glyphs-msw.c (add_tree_item):
12461 * glyphs-msw.c (add_tab_item):
12462 * glyphs-msw.c (mswindows_combo_box_instantiate):
12463 * glyphs-msw.c (mswindows_widget_property):
12464 * glyphs-msw.c (mswindows_combo_box_property):
12465 * glyphs-msw.c (mswindows_widget_set_property):
12466 * console.c (stuff_buffered_input):
12467 * objects-msw.c (mswindows_initialize_color_instance):
12468 * objects-msw.c (mswindows_valid_color_name_p):
12469 * objects-msw.c (mswindows_list_fonts):
12470 * objects-msw.c (mswindows_font_instance_truename):
12471 * bytecode.c (optimize_compiled_function):
12472 * select-x.c (symbol_to_x_atom):
12473 * select-x.c (x_atom_to_symbol):
12474 * select-x.c (hack_motif_clipboard_selection):
12475 * select-x.c (selection_data_to_lisp_data):
12476 * select-x.c (lisp_data_to_selection_data):
12477 * select-x.c (Fx_get_cutbuffer_internal):
12478 * select-x.c (Fx_store_cutbuffer_internal):
12479 * buffer.h (TO_EXTERNAL_FORMAT): New function.
12480 * buffer.h (TO_INTERNAL_FORMAT): New function.
12481 * emacs.c (make_arg_list_1):
12482 * emacs.c (make_argc_argv):
12483 * emacs.c (main_1):
12484 * emacs.c (Fdump_emacs):
12485 * emacs.c (split_string_by_emchar_1):
12490 * device-x.c (x_init_device):
12491 * device-x.c (Fx_valid_keysym_name_p):
12492 * device-x.c (Fx_get_font_path):
12493 * device-x.c (Fx_set_font_path):
12494 * glyphs.c (bitmap_to_lisp_data):
12495 * glyphs.c (pixmap_to_lisp_data):
12496 * alloc.c (make_ext_string): Use coding system arguments. Update
12498 * alloc.c (build_string):
12499 * callproc.c (child_setup):
12500 * callproc.c (init_callproc):
12501 * fileio.c (lisp_strerror):
12502 * fileio.c (directory_file_name):
12503 * fileio.c (Fexpand_file_name):
12504 * fileio.c (Ffile_truename):
12505 * fileio.c (Fsysnetunam):
12506 * fileio.c (Fdo_auto_save):
12507 * sysdep.c (sys_readdir):
12508 * tests.c: New file. Allow adding C tests.
12509 Replace GET_* macros with a more comprehensible and flexible
12510 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
12512 Any coding system can be used to do format conversion.
12513 Eliminate enum external_data_format.
12514 Eliminate convert_to_external_format.
12515 Eliminate convert_to_internal_format.
12516 Make sure file-name, keyboard, terminal, and ctext are always
12517 defined as coding systems or aliases. Make
12518 file-name-coding-system, terminal-coding-system, and
12519 keyboard-coding-system magical variables that are equivalent to
12520 defining the corresponding coding system aliases.
12522 * file-coding.c (Fcoding_system_canonical_name_p): New function.
12523 * file-coding.c (Fcoding_system_alias_p): New function.
12524 * file-coding.c (Fcoding_system_aliasee): New function.
12525 * file-coding.c (append_suffix_to_symbol): New function.
12526 * file-coding.c (dangling_coding_system_alias_p): New function.
12527 * file-coding.c (Ffind_coding_system):
12528 * file-coding.c (Fcopy_coding_system):
12529 * file-coding.c (encode_coding_no_conversion):
12530 * file-coding.c (syms_of_file_coding):
12531 * file-coding.c (vars_of_file_coding):
12532 Rewrite coding system alias code.
12533 Allow nested aliases, like symbolic links.
12534 Allow redefinition of coding system aliases.
12535 Prevent existence of dangling coding system aliases.
12537 * dired.c (Fuser_name_completion_1):
12538 * dired.c (Fuser_name_all_completions):
12539 A crash would happen if user did QUIT in the middle of building
12540 user_name_cache. Remove redundant code in mainline and unwind_protect.
12543 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
12545 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
12546 an unsigned char *. Update all callers.
12548 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12550 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
12552 2000-01-25 Martin Buchholz <martin@xemacs.org>
12554 * elhash.c (hentry_description): Use more portable definition.
12555 (resize_hash_table): Initialize new hentries using
12556 xnew_array_and_zero, thereby simplifying the code.
12558 * mule-charset.c (make_charset): Make sure entire object is
12559 initialized, to avoid Purify warnings.
12561 * alloc.c (resize_string): Fix unlikely crash with big strings.
12563 2000-01-24 Martin Buchholz <martin@xemacs.org>
12565 * realpath.c (xrealpath):
12566 Don't call getwd().
12568 2000-01-25 Martin Buchholz <martin@xemacs.org>
12570 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
12572 1999-12-28 Max Matveev <max@melbourne.sgi.com>
12574 * unexelfsgi.c (unexec): Change the way we decide which segment
12575 should be extended.
12577 Assumption that .bss section should be outside the PT_LOADable
12578 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
12579 it's present) is inside the 'data' segment. This would fail the
12580 test which was used to find a segment to grow and cover new
12581 heap. Instead of this assumption, I created another one - on IRIX
12582 the segment to grow should start below .bss and it's address
12583 should extent above the end of .bss. Once this segment is
12584 identified, it's grown to accommodate the new heap and new
12585 zero-length .bss section is added at the end of .data2.
12587 2000-01-25 Martin Buchholz <martin@xemacs.org>
12589 * eval.c (Feval): Wrong number of arguments should use original
12590 function, not the indirect_function version of it.
12592 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12594 * glyphs-x.c (x_button_instantiate): Don't add image if
12595 it is not a pixmap.
12596 (x_locate_pixmap_file): Call Fexpand_file_name when file name
12599 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
12601 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
12603 (DEFVAR_INT_MAGIC): Ditto.
12604 (DEFVAR_BOOL_MAGIC): Ditto.
12605 * glyphs.h: Reindent backslash.
12607 2000-01-24 Martin Buchholz <martin@xemacs.org>
12609 * glyphs-widget.c (layout_query_geometry):
12610 (layout_layout): Use correct types for gheight, gwidth.
12612 2000-01-24 Martin Buchholz <martin@xemacs.org>
12614 * EmacsManager.c (QueryGeometry): Purified.
12616 2000-01-23 Martin Buchholz <martin@xemacs.org>
12618 * alloc.c (make_float): Make sure entire object is initialized, to
12619 avoid Purify warnings.
12620 (pdump_register_sub): Remove useless assignment.
12621 (pdump): Use xmalloc, not malloc.
12622 (pdump_load): Use xmalloc, not malloc.
12624 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12631 * sysdep.c: Removed redundant #include <windows.h>
12633 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12635 * frame.c (delete_frame_internal): Do not delete device when its
12636 implementation so declares.
12637 (delete_frame_internal): Set device selected frame to nil when
12638 last frame goes away.
12640 * device-msw.c (msprinter_device_system_metrics): Implemented.
12641 (mswindows_device_system_metrics): Added 'device-dpi property.
12643 * device.c: (Fdevice_printer_p): Added.
12644 Added 'offset-workspace device metric.
12646 * console.h (device_metrics): Declared DM_offset_workspace.
12648 2000-01-23 Martin Buchholz <martin@xemacs.org>
12650 * fileio.c (Ffile_truename): Remove pointless and confusing
12651 initialization of elen.
12653 * glyphs-widget.c: Compiler warning fixes.
12655 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
12657 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
12658 instead of a Lisp_Object as argument to make it consistent with
12659 the other LIVE_P macros.
12660 (CHECK_LIVE_PROCESS): New macro.
12662 * process.c: Declare Qprocess_live_p.
12663 (Fprocess_live_p): New function.
12664 (create_process): Use PROCESS_LIVE_P.
12665 (read_process_output): Ditto.
12666 (set_process_filter): Ditto.
12667 (Fdelete_process): Ditto.
12668 (kill_buffer_processes): Ditto
12669 (process_send_signal): Use CHECK_LIVE_PROCESS.
12670 (Fprocess_input_coding_system): Check whether process is still
12671 alive (fix PR#1061).
12672 (Fprocess_output_coding_system): Ditto.
12673 (Fprocess_coding_system): Ditto.
12674 (Fset_process_input_coding_system): Ditto.
12675 (Fset_process_output_coding_system): Ditto.
12677 2000-01-23 Andy Piper <andy@xemacs.org>
12679 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
12682 * glyphs.c (mark_image_instance): take into account changed
12683 image_instance format.
12684 (image_instance_equal): ditto.
12685 (image_instance_hash): ditto.
12687 * glyphs-widget.c (widget_instantiate): Incorporate layout
12688 instantiation here. Delay layout of the layout until later.
12689 (layout_instantiate): deleted.
12690 (layout_query_geometry): new function. get the geometry of a
12692 (layout_layout): layout a layout dynamically.
12693 (image_instantiator_widget): New function - splitting up
12694 image_instantiator_format_create_glyphs_widget for netwinder
12696 (image_instantiator_buttons):
12697 (image_instantiator_edit_fields):
12698 (image_instantiator_combo_box):
12699 (image_instantiator_scrollbar):
12700 (image_instantiator_progress_guage):
12701 (image_instantiator_tree_view):
12702 (image_instantiator_tab_control):
12703 (image_instantiator_labels):
12704 (image_instantiator_layout): ditto.
12705 (image_instantiator_format_create_glyphs_widget): Call preceding
12708 2000-01-22 Martin Buchholz <martin@xemacs.org>
12710 * process.c (Fset_process_coding_system):
12711 * device-x.c (Fx_keysym_hash_table):
12714 * lstream.c (Lstream_write): Return documented value, not 0.
12716 * fileio.c (directory_file_name):
12717 (Fsubstitute_in_file_name):
12718 (Fsubstitute_insert_file_contents_internal):
12719 (Fwrite_region_internal):
12724 Remove vestigial APOLLO-conditional code.
12726 2000-01-21 Martin Buchholz <martin@xemacs.org>
12728 * getpagesize.h: Add guard macros.
12729 * libsst.h: Add guard macros.
12730 * libst.h: Add guard macros.
12731 * line-number.h: Add guard macros.
12732 * ndir.h: Add guard macros.
12733 * sysfloat.h: Add guard macros.
12734 * sysfile.h: Add guard macros.
12735 * sysproc.h: Add guard macros.
12736 * syswait.h: Add guard macros.
12737 * xintrinsic.h: Add guard macros.
12738 * xintrinsicp.h: Add guard macros.
12739 * xmmanager.h: Add guard macros.
12740 * xmmanagerp.h: Add guard macros.
12741 * xmprimitive.h: Add guard macros.
12742 * xmu.h: Add guard macros.
12743 * gpmevent.h: Add copyright statement. Add guard macros.
12744 * miscplay.h: Add guard macros.
12745 * *.h: Use consistent C-standards-approved guard macro names.
12747 * opaque.c (make_opaque): Switch parameter order.
12748 * opaque.h (make_opaque): Switch parameter order.
12749 Update all callers.
12750 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
12752 * config.h.in (type_checking_assert): Added.
12753 (bufpos_checking_assert): Added.
12755 2000-01-21 Martin Buchholz <martin@xemacs.org>
12757 * alloc.c: Harmless pdump changes.
12759 - spell alignment correctly.
12760 * sysdep.c: Use countof()
12762 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12764 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
12765 initially_selected_for_input() console method, default to 0.
12766 (semi_canonicalize_console_connection): Try to delegate to
12767 canonicalize_console_connection if no such console method.
12768 (canonicalize_console_connection): Vice versa.
12769 (print_console): Do not print nil connection.
12771 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
12772 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
12773 (XDEVIMPF_FRAMELESS_OK): Added.
12774 (CONSOLE_INHERITS_METHOD): Added.
12776 * console-msw.c (mswindows_canonicalize_console_connection):
12778 (mswindows_canonicalize_device_connection): Added.
12780 * console-msw.h (struct msprinter_device): Added this struct and
12782 (mswindows_device): Made fontlist a lisp object.
12784 * device.c (semi_canonicalize_device_connection): Try to delegate
12785 to canonicalize_device_connection if no such console method.
12786 (canonicalize_device_connection): Vice versa.
12787 (print_device): Do not print nil connection.
12789 * device-msw.c (mswindows_init_device): Call InitCommonControls
12791 (mswindows_delete_device): Removed fontlist deallocation.
12792 (mswindows_mark_device): Added.
12794 * events.c (event_equal): Added abort() at unreached code.
12795 (event_hash): Ditto.
12797 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
12798 fallback tags of Windows devices.
12800 * general.c (syms_of_general): Initialized Qmsprinter.
12802 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
12803 of fallback tags of Windows devices.
12805 * lisp.h: Declared Qmsprinter.
12807 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
12809 (mswindows_list_fonts): Ditto.
12810 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
12811 that it can be used by both mswindows and msprinter devices.
12812 (initialize_font_instance): Added.
12813 (mswindows_initialize_font_instance): Use it.
12814 (msprinter_initialize_font_instance): Added.
12816 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
12817 and implementation flags check.
12818 (redisplay_without_hooks): Changed the call to the above.
12819 (Fredraw_device): Ditto.
12820 (Fredisplay_device): Ditto.
12822 * redisplay-msw.c (get_frame_dc): Implemented.
12823 (get_frame_compdc): Implemented.
12824 (many functions): Use the two functions above to get device
12825 contexts, ether for a window or a printer.
12827 2000-01-21 Olivier Galibert <galibert@pobox.com>
12829 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
12830 initialization here.
12831 (init_symbols_once_early): Call it.
12832 * emacs.c (main_1): Call it.
12833 * symsinit.h: Declare it.
12835 2000-01-19 Olivier Galibert <galibert@pobox.com>
12837 * alloc.c: Use a lrecord_header * in the backtrace instead of a
12839 (pdump_backtrace): Ditto.
12840 (pdump_register_object): Ditto. Cleanup use of the pointers.
12841 (pdump_get_entry): Abort if trying to register a null pointer.
12842 (pdump_dump_data): Cleanup types when relocating.
12843 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
12844 (pdump_dump_rtables): Remove bad casts.
12845 (pdump_load): Cleanup relocation w.r.t union type. Use a
12846 Lisp_Object instead of a EMACS_INT for the hashtable
12849 2000-01-20 Martin Buchholz <martin@xemacs.org>
12851 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
12853 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
12855 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
12857 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
12859 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12861 * faces.h (FACE_STRIKETHRU_P): Added.
12863 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
12866 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
12867 (mswindows_set_dc_font): New function, aware of font variants,
12868 separated from mswindows_update_dc.
12870 * objects-msw.h (struct mswindows_font_instance_data): Added
12873 * objects-msw.c (mswindows_finalize_font_instance): Delete all
12874 cached fonts and the data structure.
12875 (mswindows_initialize_font_instance): Added creation of font data
12877 (mswindows_print_font_instance): Print at least something.
12878 (mswindows_create_font_variant): Implemented.
12879 (mswindows_get_hfont): Implemented.
12881 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
12883 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
12884 prototyping problem with msvc.
12886 * emacs.c (main_1): added syms_of_gui_mswindows() call
12888 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
12889 syms_of_gui_mswindows() function
12891 * symsinit.h: added the prototype for syms_of_gui_mswindows()
12893 2000-01-18 Martin Buchholz <martin@xemacs.org>
12895 * XEmacs 21.2.27 is released.
12897 2000-01-18 Martin Buchholz <martin@xemacs.org>
12899 * glyphs-eimage.c (struct tiff_error_struct):
12901 (tiff_warning_func):
12902 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
12907 * unexec.c: Remove vestigial Lucid C code.
12911 * libsst.c: Ansify.
12912 Remove declarations of errno and strerror().
12914 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
12916 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
12918 2000-01-16 Martin Buchholz <martin@xemacs.org>
12920 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
12923 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12928 Change enum eol_type to eol_type_t.
12930 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12932 * gui.c (get_gui_callback): Check cons before accessing car.
12934 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12936 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
12937 (XSETSPECIFIER_TYPE): Ditto.
12939 2000-01-17 Didier Verna <didier@xemacs.org>
12941 * redisplay.c (generate_fstring_runes): compute string size in
12942 characters, not bytes.
12944 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12946 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
12948 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
12950 * print.c (print_error_message): Call print_prepare().
12952 2000-01-14 Martin Buchholz <martin@xemacs.org>
12954 * .dbxrc: Renamed from dbxrc.
12956 * events.c (event_to_character):
12957 Use `assert (foo)' instead of `if (!foo) abort()'
12959 * .gdbinit (xtype): Add documentation.
12960 * .gdbinit (check-temacs): New function.
12961 * .gdbinit (check-xemacs): New function.
12962 * dbxrc (check-xemacs): New function.
12963 * dbxrc (check-xemacs): New function.
12965 2000-01-14 Andy Piper <andy@xemacs.org>
12967 * glyphs-widget.c (widget_query_geometry): Make sure that we
12968 calculate default dimensions correctly.
12970 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12972 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
12974 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
12975 pdump_wire'd variable.
12977 * emacs.c: (main_1): Conditionalized calls to
12978 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
12980 2000-01-13 Martin Buchholz <martin@xemacs.org>
12982 * window.c (Fset_window_configuration):
12983 * sysdep.c (_start):
12984 * input-method-motif.c (res):
12985 * event-Xt.c (Xt_process_to_emacs_event):
12986 Simple compiler warning fixes.
12988 * bytecode.c (funcall_compiled_function): Use the original
12989 function symbol on the backtrace list in preference to the
12990 compiled_function object in error messages.
12992 2000-01-13 Andy Piper <andy@xemacs.org>
12994 * glyphs-x.c (update_widget_face): Make sure we update the widget
12995 background as well as foreground.
12997 2000-01-13 Andy Piper <andy@xemacs.org>
12999 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
13000 fields to subwindow.
13001 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
13002 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
13003 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
13004 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
13006 * glyphs-widget.c (check_valid_tab_orientation): new function.
13007 (initialize_widget_image_instance): zero orientation and
13009 (widget_instantiate): pick up orientation.
13010 (tab_control_query_geometry): return appropriate values for
13013 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
13014 appropriate creation flags for left, right and bottom tabs.
13016 * s/cygwin32.h: add tab definitions.
13018 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13020 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
13021 frame upon hiding a subwindow.
13022 (mswindows_button_instantiate): Changed the push button style to
13024 (mswindows_button_instantiate): Removed button BS_NOTIFY
13026 (mswindows_button_instantiate): Removed redundant check for
13027 a disabled gui item.
13028 (mswindows_button_instantiate): Made use of WS_TABSTOP
13029 consistent: "operable" controls (edit, button, tree, scroll) have
13030 this style, "display-only" ones (static, progress gauge) do
13031 not. This style is currently ignored by XEmacs though. Also,
13032 removed the WS_EX_CONTROLPARENT style - it is not for children,
13033 it is for their parents!
13034 (mswindows_edit_field_instantiate): Ditto.
13035 (mswindows_progress_gauge_instantiate): Ditto.
13036 (mswindows_tree_view_instantiate): Ditto.
13037 (mswindows_tab_control_instantiate): Ditto.
13038 (mswindows_scrollbar_instantiate): Ditto.
13039 (mswindows_combo_box_instantiate): Ditto.
13040 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
13041 style to the "clip" window.
13042 (mswindows_button_instantiate): Removed compilation warning by
13043 equally typing terms of the ?: operator.
13045 2000-01-12 Didier Verna <didier@xemacs.org>
13047 * redisplay.c (generate_fstring_runes): new parameter holding the
13048 last modeline-format extent.
13049 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
13050 extent, fill the glyph block with it.
13051 (generate_fstring_runes): handle these parameters.
13052 (generate_formatted_string_db): ditto.
13054 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
13055 glyphs'extents in the modeline.
13057 1999-01-11 Mike Woolley <mike@bulsara.com>
13059 * ntheap.c: Reduced the reserved heap space from 1Gb down to
13060 256Mb, as a workaround for the non-starting problem many people
13063 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13065 * console-tty.c (Fset_console_tty_output_coding_system):
13066 Force redrawing tty frame.
13068 2000-01-10 Didier Verna <didier@xemacs.org>
13070 * redisplay.c (generate_fstring_runes): fix size computation bug.
13072 2000-01-09 William M. Perry <wmperry@aventail.com>
13074 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
13076 2000-01-09 Andy Piper <andy@xemacs.org>
13078 * glyphs-msw.c: index -> i to avoid shadows.
13079 (xbm_create_bitmap_from_data): make static.
13080 (check_valid_string_or_int): deleted.
13081 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
13083 * glyphs-x.c (x_update_subwindow): remove unused args.
13085 * glyphs.c (glyph_image_instance): return the thing. Don't set the
13086 back pointer - this is done in allocate_image_instance.
13087 (query_string_font): return Qnil to make the compiler happy.
13088 (unmap_subwindow): set to ~0 to make the compiler happy.
13089 (glyph_query_geometry): comment out until used.
13090 (glyph_layout): ditto.
13092 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
13094 * insdel.c (signal_after_change): Remove extraneous unbind_to().