1 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
5 * mule-charset.c (Vcharset_ucs_gb): Deleted.
7 (syms_of_mule_charset): Delete `ucs-gb'.
8 (complex_vars_of_mule_charset): Likewise.
10 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
12 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
14 * mule-charset.c (Vcharset_ucs_cns): Deleted.
16 (syms_of_mule_charset): Delete `ucs-cns'.
17 (complex_vars_of_mule_charset): Likewise.
19 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
21 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
23 * mule-charset.c (Vcharset_ucs_jis): Deleted.
25 (syms_of_mule_charset): Delete `ucs-jis'.
26 (complex_vars_of_mule_charset): Likewise.
28 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
30 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
32 * mule-charset.c (Vcharset_ucs_ks): Deleted.
34 (syms_of_mule_charset): Delete `ucs-ks'.
35 (complex_vars_of_mule_charset): Likewise.
37 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
39 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
40 (Qideograph_daikanwa_2): Deleted.
41 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
42 (complex_vars_of_mule_charset): Likewise.
44 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
45 (LEADING_BYTE_DAIKANWA_1): Deleted.
46 (LEADING_BYTE_DAIKANWA_2): Deleted.
47 (MIN_CHAR_DAIKANWA): Deleted.
48 (MAX_CHAR_DAIKANWA): Deleted.
50 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
52 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
53 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
54 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
56 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
57 (Vcharset_ideograph_daikanwa): Deleted.
58 (Qideograph_hanziku_{1..12}): Deleted.
59 (Qideograph_daikanwa): Deleted.
60 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
61 Vcharset_ideograph_daikanwa.
62 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
63 `ideograph-hanziku-{1..12}'.
64 (complex_vars_of_mule_charset): Likewise.
66 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
68 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
70 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
71 (Qideograph_gt_pj_{1..11}): Deleted.
72 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
73 (complex_vars_of_mule_charset): Likewise.
75 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
77 * mule-charset.c (Vcharset_ucs_big5): Deleted.
78 (Vcharset_ideograph_gt): Deleted.
80 (Qideograph_gt): Deleted.
81 (syms_of_mule_charset): Delete symbol `ucs-big5' and
83 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
86 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
87 (LEADING_BYTE_GT): Deleted.
88 (GC_CHARSETP): Deleted.
89 (MIN_CHAR_GT): Deleted.
90 (MAX_CHAR_GT): Deleted.
92 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
94 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
96 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
98 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
99 (Qideograph_cbeta): Deleted.
100 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
101 (complex_vars_of_mule_charset): Likewise.
103 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
104 (MIN_CHAR_CBETA): Comment out.
105 (MAX_CHAR_CBETA): Likewise.
107 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
109 * mule-charset.c (charset_lookup_description_1): Use
110 `NUM_LEADING_BYTES' in UTF-2000.
112 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
114 * mule-charset.c (Vcharset_china3_jef): Deleted.
115 (Qchina3_jef): Deleted.
116 (syms_of_mule_charset): Don't define `china3-jef'.
117 (complex_vars_of_mule_charset): Likewise.
119 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
120 (MIN_CHAR_CHINA3_JEF): Comment out.
121 (MAX_CHAR_CHINA3_JEF): Comment out.
123 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
125 * mule-charset.c (Vcharset_ucs_gb): New variable.
126 (Qucs_gb): New variable.
127 (syms_of_mule_charset): Add new symbol `ucs-gb'.
128 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
130 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
132 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
134 * mule-charset.c (charset_code_point): if a coded-charset has a
135 final-byte, don't inherit the builtin range of the mother CCS.
137 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
139 * mule-charset.c (charset_code_point): Fix problem about
142 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
144 * mule-charset.c (decode_builtin_char): Reorganized.
146 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
148 * text-coding.c (char_encode_shift_jis): Modify for
149 `charset_code_point'.
150 (char_encode_big5): Likewise.
151 (char_encode_utf8): Likewise.
152 (char_encode_iso2022): Likewise.
154 * mule-charset.c (charset_code_point): Add new argument
156 (Fencode_char): Add new optional argument `defined_only'.
158 * chartab.c (put_char_table): Modify for `charset_code_point'.
159 (map_char_table): Likewise.
161 * char-ucs.h (charset_code_point): Add new argument
163 (encode_char_1): Modify for `charset_code_point'.
165 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
167 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
168 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
170 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
172 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
173 (Qjis_x0208): Likewise.
174 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
175 XCHARSET_FINAL(charset).
176 (charset_code_point): Modify condition for final-byte based
178 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
179 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
180 in UTF-2000; specify `=jis-x0208' as the mother of
181 `japanese-jisx0208-1978', `japanese-jisx0208' and
182 `japanese-jisx0208-1990' in UTF-2000.
184 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
186 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
188 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
190 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
191 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
192 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
193 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
194 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
195 CONVERSION_96x96x96x96 are introduced.
196 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
197 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
198 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
200 * char-ucs.h (CONVERSION_94): New macro.
201 (CONVERSION_96): New macro.
202 (CONVERSION_94x94): New macro.
203 (CONVERSION_96x96): New macro.
204 (CONVERSION_94x94x94): New macro.
205 (CONVERSION_96x96x96): New macro.
206 (CONVERSION_94x94x94x60): New macro.
207 (CONVERSION_94x94x94x94): New macro.
208 (CONVERSION_96x96x96x96): New macro.
210 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
212 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
214 * fns.c (Qideographic_structure): New variable.
215 (Qkeyword_char): New variable.
216 (ids_format_unit): New function.
217 (Fideographic_structure_to_ids): New function.
218 (syms_of_fns): Add new symbols `ideographic-structure' and
219 `:char'; add new builtin function `ideographic-structure-to-ids'.
221 * data.c (Fchar_ref_p): New function.
222 (syms_of_data): Add new builtin function `char-ref-p'.
224 * chartab.h: Add an EXFUN for `Ffind_char'.
226 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
228 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
229 and `COMPOSE_ADD_CHAR'.
230 (decode_coding_iso2022): Use `decode_flush_er_chars'.
232 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
234 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
235 instead of `DECODE_ADD_UCS_CHAR'.
236 (COMPOSE_ADD_CHAR): Likewise.
238 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
240 * text-coding.c (decode_flush_er_chars): New inline function.
241 (decode_add_er_char): New function.
242 (decode_coding_utf8): Use `decode_flush_er_chars' and
243 `decode_add_er_char'.
245 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
247 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
248 done before `decode_output_utf8_partial_char'.
250 * mule-charset.c (complex_vars_of_mule_charset): Specify
251 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
252 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
254 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
256 * mule-charset.c (decode_defined_char): New function; search
258 (decode_builtin_char): Don't search mother if
259 XCHARSET_MAX_CODE(charset) == 0.
260 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
261 == 0 even if code >= XCHARSET_MAX_CODE(charset).
262 (Fdecode_char): Use `decode_defined_char' instead of
263 `DECODE_DEFINED_CHAR'.
264 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
265 mother of `Vcharset_ucs_jis'.
267 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
268 instead of `DECODE_DEFINED_CHAR'.
270 * char-ucs.h (decode_defined_char): Renamed from
271 `DECODE_DEFINED_CHAR'; changed to normal function.
272 (DECODE_CHAR): Use `decode_defined_char' instead of
273 `DECODE_DEFINED_CHAR'.
275 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
277 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
279 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
281 * text-coding.c (Vcoded_charset_entity_reference_alist): New
283 (Quse_entity_reference): New variable.
287 (coding_system_description): Add description for
289 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
290 (allocate_coding_system): Initialize `ccs_priority_list' in
292 (Fmake_coding_system): Add description about
293 'use-entity-reference; setup
294 CODING_SYSTEM_USE_ENTITY_REFERENCE(codesys).
295 (Fcoding_system_property): Accept `disable-composition' and
296 `use-entity-reference' in UTF-2000.
297 (struct decoding_stream): Add new member `er_counter' and `er_buf'
299 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
300 (decode_coding_utf8): Decode entity-reference if
301 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
302 (char_encode_utf8): Encode non-Unicode characters as
303 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
305 (syms_of_file_coding): Add new symbols `use-entity-reference',
307 (vars_of_file_coding): Add new variable
308 `coded-charset-entity-reference-alist'.
309 (complex_vars_of_file_coding): Declare `disable-composition' and
310 `use-entity-reference' to be coding-system-properties in UTF-2000.
312 * file-coding.h (struct Lisp_Coding_System): Add new member
313 `use_entity_reference' and `ccs_priority_list'.
314 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
315 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
316 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
318 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
320 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
322 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
324 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
325 `XCHARSET_GRAPHIC(ccs)'.
327 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
329 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
332 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
334 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
335 instead of `XCHARSET_CHARS'.
337 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
339 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
340 (XCHARSET_BYTE_SIZE): Likewise.
342 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
344 (XCHARSET_BYTE_SIZE): Likewise.
346 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
348 * char-ucs.h (decoding_table_check_elements): Delete prototype.
349 (get_ccs_octet_table): New inline function.
350 (put_ccs_octet_table): Likewise.
351 (decoding_table_put_char): Use `get_ccs_octet_table' and
352 `put_ccs_octet_table'.
353 (decoding_table_remove_char): Use `decoding_table_put_char'.
354 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
356 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
358 (make_charset): Use Qunbound instead Qnil as initial value of
361 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
363 * mule-charset.c (put_char_ccs_code_point): Modify for
364 `decoding_table_remove_char' and `decoding_table_put_char'.
365 (remove_char_ccs): Modify for `decoding_table_remove_char'.
367 * char-ucs.h (decoding_table_remove_char): Change arguments to
368 hide decoding_table vector.
369 (decoding_table_put_char): Likewise.
371 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
373 * mule-charset.c (decoding_table_remove_char): Moved to
375 (decoding_table_put_char): Likewise.
377 * char-ucs.h (decoding_table_check_elements): New prototype [moved
378 from mule-charset.c].
379 (decoding_table_remove_char): New inline function [moved from
381 (decoding_table_put_char): Likewise.
383 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
385 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
386 instead of `DECODE_CHAR' for mother; don't use special code for
387 chinese-big5 to use code space of chinese-big5-1 and
389 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
390 `MAX_CHAR_BIG5_CDP' for chinese-big5.
392 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
393 (MAX_CHAR_BIG5_CDP): Revival.
395 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
397 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
398 the XLFD registry-encoding name of `chinese-big5'.
400 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
402 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
403 (Qchinese_big5_cdp): Deleted.
404 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
405 (complex_vars_of_mule_charset): Delete coded-charset
408 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
409 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
410 `CHARSET_ID_OFFSET - n' for private CCS.
411 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
412 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
413 of `MIN_LEADING_BYTE'.
414 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
415 `(CHARSET_ID_OFFSET - 97)'.
416 (MIN_CHAR_BIG5_CDP): Deleted.
417 (MAX_CHAR_BIG5_CDP): Deleted.
419 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
421 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
424 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
426 * mule-charset.c (decode_builtin_char): Support mother charsets.
428 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
430 * mule-charset.c (Q94x94x60): New variable.
431 (charset_code_point): Support conversion `94x94x60'.
432 (Fmake_charset): Likewise.
433 (syms_of_mule_charset): Add new symbol `94x94x60'.
435 * char-ucs.h (CONVERSION_94x94x60): New macro.
437 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
439 * mule-charset.c (charset_code_point): Unify code about
442 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
444 * mule-charset.c (charset_code_point): Merge code about builtin
445 characters into code about mother charsets; don't use
446 `range_charset_code_point'.
447 (range_charset_code_point): Deleted.
449 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
451 * mule-charset.c (Qcode_offset): New variable.
452 (Fmake_charset): Use `XUINT' to get value of `min-code' and
453 `max-code'; accept new property `code-offset'.
454 (syms_of_mule_charset): Add new symbol `code-offset'.
456 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
458 * mule-charset.c (range_charset_code_point): Fixed.
460 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
462 * mule-charset.c (decode_builtin_char): Change semantics of
463 code-offset of coded-charset.
464 (charset_code_point): Likewise.
465 (range_charset_code_point): Likewise.
466 (complex_vars_of_mule_charset): Modify for the change.
468 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
470 * mule-charset.c (Fencode_char): Reverse arguments.
472 * mule-charset.c (charset_code_point): Fixed.
474 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
476 * mule-charset.c (Vcharset_mojikyo): Deleted.
477 (Vcharset_mojikyo_2022_1): Deleted.
478 (Vcharset_mojikyo_pj_{1..21}): Deleted.
479 (Qmin_code): New variable in UTF-2000.
480 (Qmax_code): Likewise.
482 (Qconversion): Likewise.
485 (Qmojikyo_2022_1): Deleted.
486 (Qmojikyo_pj_{1..22}): Deleted.
487 (mark_charset): Mark `cs->mother'.
488 (charset_description): Add description for `mother'.
489 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
490 new arguments `mother' and `conversion'; use
491 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
492 (charset_code_point): Moved from char-ucs.h; support `mother'
494 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
495 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
496 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
497 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
498 allow 2 as the value of `graphic' in UTF-2000; add new properties
499 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
500 require `final' in UTF-2000; modify for `make_charset'.
501 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
502 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
503 (Fcharset_property): Support `mother', `min-code' and `max-code'.
504 (Fencode_char): New function.
505 (syms_of_mule_charset): Add new builtin function `encode-char' in
506 UTF-2000; add new symbols `min-code', `max-code', `mother',
507 `conversion' and `94x60'; delete symbols `mojikyo',
508 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
509 (complex_vars_of_mule_charset): Modify for `make_charset' change;
510 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
511 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
513 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
514 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
516 * char-ucs.h (Vcharset_mojikyo): Deleted.
517 (Vcharset_mojikyo_2022_1): Deleted.
518 (LEADING_BYTE_MOJIKYO): Deleted.
519 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
520 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
521 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
522 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
523 add new member `mother'; add new member `conversion'.
524 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
525 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
526 (CHARSET_MOTHER): New macro.
527 (CHARSET_CONVERSION): New macro.
528 (CONVERSION_IDENTICAL): New macro.
529 (CONVERSION_94x60): New macro.
530 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
531 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
532 (XCHARSET_MOTHER): New macro.
533 (XCHARSET_CONVERSION): New macro.
534 (MIN_CHAR_MOJIKYO): Deleted.
535 (MAX_CHAR_MOJIKYO): Deleted.
536 (DECODE_MOJIKYO_2022): Deleted.
537 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
538 (charset_code_point): Changed to non-inline function.
539 (encode_char_1): Use `charset_code_point'.
540 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
542 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
544 * lread.c (read_compiled_function): Fix prototype.
545 (read_vector): Likewise.
547 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
549 * lrecord.h (struct lrecord_header): Delete `older'.
550 (set_lheader_implementation): Delete code for `older'.
551 (set_lheader_older_implementation): Deleted.
552 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
553 (OLDER_RECORD_P): Deleted.
554 (OLDER_RECORD_HEADER_P): Deleted.
555 (alloc_older_lcrecord): Deleted.
556 (alloc_older_lcrecord_type): Deleted.
558 * alloc.c (all_older_lcrecords): Deleted.
559 (alloc_older_lcrecord): Deleted.
560 (disksave_object_finalization_1): Delete code for older objects.
561 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
562 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
564 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
566 * mule-charset.c (decoding_table_put_char): Use `make_vector'
567 instead of `make_older_vector'.
568 (put_char_ccs_code_point): Likewise.
569 (mark_charset): Mark `cs->decoding_table'.
570 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
572 * lisp.h (make_older_vector): Deleted.
573 (make_vector_newer): Deleted.
575 * config.h.in (HAVE_GGC): Deleted.
577 * alloc.c (make_older_vector): Deleted.
578 (make_vector_newer_1): Deleted.
579 (make_vector_newer): Deleted.
581 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
583 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
584 (Qideograph_daikanwa_2): New variable.
585 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
586 (complex_vars_of_mule_charset): Add new coded-charset
587 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
588 `LEADING_BYTE_DAIKANWA'.
590 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
591 (LEADING_BYTE_DAIKANWA_1): New macro.
592 (LEADING_BYTE_DAIKANWA_2): New macro.
593 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
595 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
597 * mule-charset.c (complex_vars_of_mule_charset): Change
598 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
599 the second revised version.
601 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
603 * mule-charset.c (Vcharset_ucs_smp): New variable.
604 (Vcharset_ucs_sip): New variable.
605 (Qucs_smp): New variable.
606 (Qucs_sip): New variable.
607 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
608 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
609 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
610 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
611 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
612 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
614 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
615 (LEADING_BYTE_UCS_SIP): New macro.
616 (MIN_CHAR_SMP): New macro.
617 (MAX_CHAR_SMP): New macro.
618 (MIN_CHAR_SIP): New macro.
619 (MAX_CHAR_SIP): New macro.
621 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
623 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
626 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
628 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
629 value; don't store value into `encoding_table' of `Lisp_Charset'.
630 (mark_charset): `encoding_table' was deleted.
631 (charset_description): Likewise.
632 (make_charset): Likewise.
633 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
634 `put_char_ccs_code_point'.
636 * chartab.h (Fput_char_attribute): New EXFUN.
638 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
639 is unified with normal symbol space.
640 (Fget_char_attribute): Likewise.
641 (Fput_char_attribute): Likewise; behavior of
642 `put_char_ccs_code_point' is changed.
644 * char-ucs.h: Include "elhash.h".
645 (Vchar_attribute_hash_table): New external variable.
646 (struct Lisp_Charset): Delete `encoding_table'.
647 (CHARSET_ENCODING_TABLE): New implementation; refer
648 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
651 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
653 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
656 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
658 * text-coding.c (char_encode_big5): Prefer charset-g1 than
661 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
663 * chartab.c (uint8_byte_table_description): New constant.
664 (uint8-byte-table): Use `uint8_byte_table_description'.
665 (uint16_byte_table_description): New constant.
666 (uint16-byte-table): Use `uint16_byte_table_description'.
668 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
670 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
671 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
673 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
675 * mule-charset.c (Vcharset_ucs_ks): New variable.
676 (Qucs_ks): New variable.
677 (syms_of_mule_charset): Add new symbol `ucs-ks'.
678 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
680 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
682 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
684 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
685 (Fdecode_char): Likewise.
687 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
689 (Fdefine_char): Modify for Fdecode_char.
690 (Ffind_char): Likewise.
692 * mule-charset.c (Fdecode_char): Add new optional argument
694 (Fdecode_builtin_char): Modify for `Fdecode_char'.
696 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
698 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
699 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
700 (allocate_coding_system): Initialize initial-charsets of
701 CODESYS_BIG5 in XEmacs UTF-2000.
702 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
703 CODESYS_BIG5 in XEmacs UTF-2000.
704 (decode_coding_big5): Use initial-charset-g0 and -g1 of
705 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
707 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
709 (Qideograph_hanziku_{1 .. 12}): Likewise.
710 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
712 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
713 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
714 `ideograph-hanziku-{1 .. 12}'.
716 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
717 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
718 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
719 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
720 (DECODE_DEFINED_CHAR): New inline function.
721 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
723 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
725 * mule-charset.c (Vcharset_china3_jef): Renamed from
726 `Vcharset_japanese_jef_china3'.
727 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
728 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
729 `{MIN|MAX}_CHAR_JEF_CHINA3'..
730 (syms_of_mule_charset): Rename `china3-jef' from
731 `japanese-jef-china3'.
732 (complex_vars_of_mule_charset): Likewise; rename
733 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
735 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
736 `LEADING_BYTE_JEF_CHINA3'.
737 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
738 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
740 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
742 * mule-charset.c (encode_builtin_char_1): Comment out special code
743 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
745 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
746 (MAX_CHAR_MOJIKYO_0): Comment out.
747 (MIN_CHAR_CBETA): Changed to 0x00E20000.
748 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
749 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
750 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
752 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
754 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
755 (Qideograph_cbeta): New variable.
756 (encode_builtin_char_1): Comment out special code for
757 coded-charset `mojikyo' and `japanese-jef-china3'.
758 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
759 (complex_vars_of_mule_charset): Add new coded-charset
762 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
763 (MIN_CHAR_CBETA): New macro.
764 (MAX_CHAR_CBETA): New macro.
766 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
768 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
769 (LEADING_BYTE_JEF_CHINA3): New macro.
770 (MIN_CHAR_JEF_CHINA3): New macro.
771 (MAX_CHAR_JEF_CHINA3): Likewise.
772 (DECODE_CHAR): Fixed.
774 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
776 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
777 (Qjapanese_jef_china3): New variable.
778 (encode_builtin_char_1): Support `japanese-jef-china3'.
779 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
780 (complex_vars_of_mule_charset): Add new coded-charset
781 `japanese-jef-china3'.
783 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
785 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
786 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
787 94^4, 96^3, 96^4, 128^n and 256^n set.
788 (put_char_table): Use `XCHARSET_CELL_RANGE'.
789 (map_char_table): Likewise.
791 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
793 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
796 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
798 * chartab.h (get_char_id_table): New inline function.
800 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
803 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
805 * chartab.h (decode_char_table_range): New prototype in XEmacs
807 (put_char_id_table): New inline function in XEmacs UTF-2000.
809 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
811 (decode_char_table_range): Delete static declaration in XEmacs
814 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
816 * chartab.c (put_char_id_table): Use `put_char_table'.
818 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
820 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
821 (map_over_uint16_byte_table): Likewise.
822 (map_over_byte_table): Likewise.
823 (map_char_table): Modify for `map_over_uint8_byte_table',
824 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
827 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
829 * chartab.c (struct map_char_table_for_charset_arg): New
831 (map_char_table_for_charset_fun): New function.
832 (map_char_table): Use `map_char_table' for encoding_table of
835 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
837 * chartab.c (map_char_table): Check a character is found in
838 range->charset instead of non default value is defined in
839 char-table when range is CHARTAB_RANGE_ROW.
841 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
843 * chartab.c (map_char_id_table): Deleted.
844 (Fmap_char_attribute): Use `map_char_table' instead of
847 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
849 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
851 (update_syntax_table): Deleted in XEmacs UTF-2000.
853 * syntax.c (find_defun_start): Use `syntax_table' instead of
854 `mirror_syntax_table' in XEmacs UTF-2000.
855 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
857 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
859 (Fmatching_paren): Likewise.
860 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
862 (find_start_of_comment): Likewise.
863 (find_end_of_comment): Likewise.
864 (Fforward_comment): Likewise.
865 (scan_lists): Likewise.
866 (char_quoted): Likewise.
867 (Fbackward_prefix_chars): Likewise.
868 (scan_sexps_forward): Likewise.
869 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
870 (update_syntax_table): Likewise.
872 * search.c (skip_chars): Use `syntax_table' instead of
873 `mirror_syntax_table' in XEmacs UTF-2000.
875 (Freplace_match): Likewise.
877 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
878 `mirror_syntax_table' in XEmacs UTF-2000.
879 (WORDCHAR_P_UNSAFE): Likewise.
880 (re_match_2_internal): Likewise.
882 * font-lock.c (find_context): Use `buf->syntax_table' instead of
883 `buf->mirror_syntax_table' in XEmacs UTF-2000.
885 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
886 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
888 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
891 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
893 (print_char_table): Print `default_value' in XEmacs UTF-2000.
894 (char_table_description): Delete `mirror_table' in XEmacs
896 (fill_char_table): Don't call `update_syntax_table' in XEmacs
898 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
899 (Fcopy_char_table): Likewise.
900 (put_char_table): Don't call `update_syntax_table' in XEmacs
903 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
904 `buf->mirror_syntax_table' in XEmacs UTF-2000.
905 (casify_region_internal): Likewise.
907 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
909 * buffer.c (common_init_complex_vars_of_buffer): Don't use
910 `mirror_syntax_table' in XEmacs UTF-2000.
912 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
913 `buf->mirror_syntax_table' in XEmacs UTF-2000.
914 (Fexpand_abbrev): Likewise.
916 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
918 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
920 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
922 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
923 (map_over_uint16_byte_table): Likewise.
924 (map_over_byte_table): Likewise.
925 (get_char_id_table): Refer `cit->default_value'.
926 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
927 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
928 of character-id ranges.
929 (mark_char_table): Mark `ct->default_value'.
930 (char_table_description): Add `default_value'.
931 (fill_char_table): Use `default_value'.
932 (decode_char_table_range): Decode `nil' as
933 `CHARTAB_RANGE_DEFAULT'.
934 (get_char_id_table): Refer `cit->default_value'.
935 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
936 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
937 temporary hack; check value of char-table is bound or not.
938 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
940 * chartab.h (struct Lisp_Char_Table): Add new member
941 `default_value' in XEmacs UTF-2000.
942 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
943 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
946 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
948 * chartab.h (Lisp_Char_ID_Table): Deleted.
950 * chartab.c (char_table_description): Fix typo.
951 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
952 `Lisp_Char_ID_Table'.
954 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
956 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
959 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
962 * chartab.h (XCHAR_ID_TABLE): Deleted.
963 (XSETCHAR_ID_TABLE): Deleted.
964 (CHAR_ID_TABLE_P): Deleted.
966 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
968 (Fget_composite_char): Likewise.
969 (put_char_table): Likewise.
970 (add_char_attribute_alist_mapper): Fixed.
971 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
973 (Fget_char_attribute): Likewise.
974 (Fget_char_attribute): Likewise.
975 (Fmap_char_attribute): Likewise.
977 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
979 (encode_char_1): Likewise.
981 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
983 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
986 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
987 instead of `XCHAR_ID_TABLE'.
988 (remove_char_ccs): Likewise.
990 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
992 (Fget_composite_char): Likewise.
993 (Fchar_variants): Likewise.
994 (put_char_table): Likewise.
995 (add_char_attribute_alist_mapper): Likewise.
996 (Fchar_attribute_alist): Likewise.
997 (Fget_char_attribute): Likewise.
998 (Fput_char_attribute): Likewise.
999 (Fmap_char_attribute): Likewise.
1000 (Fmap_char_attribute): Likewise.
1002 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
1004 (encode_char_1): Likewise.
1006 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1008 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
1009 `Lisp_Char_ID_Table'.
1010 (mark_char_id_table): Deleted.
1011 (print_char_id_table): Likewise.
1012 (char_id_table_equal): Likewise.
1013 (char_id_table_hash): Likewise.
1014 (char_id_table_description): Likewise.
1015 (char_id_table): Likewise.
1016 (make_char_id_table): Use `Fmake_char_table' and
1018 (get_char_id_table): Use `Lisp_Char_Table' instead of
1019 `Lisp_Char_ID_Table'.
1020 (put_char_id_table): Likewise.
1021 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
1023 (Fremove_char_attribute): Likewise.
1024 (syms_of_chartab): Don't define type `char-id-table'.
1026 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
1027 (char_id_table): Likewise.
1028 (GC_CHAR_ID_TABLE_P): Likewise.
1029 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
1030 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
1031 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
1032 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
1033 (get_char_id_table): Use `Lisp_Char_Table' instead of
1034 `Lisp_Char_ID_Table'.
1035 (put_char_id_table_0): Likewise.
1036 (put_char_id_table): Likewise.
1038 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1040 * chartab.h: Lisp_Byte_Table related codes are moved from
1043 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
1045 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1047 * chartab.h: Don't include "chartab.h".
1048 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
1049 (Lisp_Char_ID_Table): Likewise.
1050 (char_id_table): Likewise.
1051 (XCHAR_ID_TABLE): Likewise.
1052 (XSETCHAR_ID_TABLE): Likewise.
1053 (CHAR_ID_TABLE_P): Likewise.
1054 (GC_CHAR_ID_TABLE_P): Likewise.
1055 (get_char_id_table): Likewise.
1057 * char-ucs.h: Include "chartab.h".
1058 (struct Lisp_Char_ID_Table): Moved to chartab.h.
1059 (Lisp_Char_ID_Table): Likewise.
1060 (char_id_table): Likewise.
1061 (XCHAR_ID_TABLE): Likewise.
1062 (XSETCHAR_ID_TABLE): Likewise.
1063 (CHAR_ID_TABLE_P): Likewise.
1064 (GC_CHAR_ID_TABLE_P): Likewise.
1065 (get_char_id_table): Likewise.
1067 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1069 * chartab.c (copy_uint8_byte_table): New function.
1070 (copy_uint16_byte_table): New function.
1071 (copy_byte_table): New function.
1072 (map_over_uint8_byte_table): Modify to avoid huge numbers of
1074 (map_over_uint16_byte_table): Likewise.
1075 (map_over_byte_table): Likewise.
1076 (get_byte_table): Move prototype to chartab.h.
1077 (put_byte_table): Likewise.
1078 (put_char_id_table_0): Moved to chartab.h.
1079 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
1080 (char_table_entry_equal): Likewise.
1081 (char_table_entry_hash): Likewise.
1082 (char_table_entry_description): Likewise.
1083 (char_table_entry): Likewise.
1084 (make_char_table_entry): Likewise.
1085 (copy_char_table_entry): Likewise.
1086 (get_non_ascii_char_table_value): Likewise.
1087 (map_over_charset_ascii): Likewise.
1088 (map_over_charset_control_1): Likewise.
1089 (map_over_charset_row): Likewise.
1090 (map_over_other_charset): Likewise.
1091 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
1092 (print_char_table): Likewise.
1093 (char_table_equal): Likewise.
1094 (char_table_hash): Likewise.
1095 (char_table_description): Likewise.
1096 (fill_char_table): Likewise.
1097 (Fcopy_char_table): Likewise.
1098 (get_char_table): Likewise.
1099 (Fget_range_char_table): Likewise.
1100 (put_char_table): Likewise.
1101 (map_char_table): Likewise.
1102 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
1105 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1107 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
1108 `Vauto_fill_chars' in XEmacs UTF-2000.
1110 * chartab.h (get_byte_table): New prototype [moved from
1112 (put_byte_table): Likewise [moved from chartab.c].
1113 (put_char_id_table_0): New inline function [moved from chartab.c].
1114 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
1115 (Lisp_Char_Table_Entry): Likewise.
1116 (char_table_entry): Likewise.
1117 (XCHAR_TABLE_ENTRY): Likewise.
1118 (XSETCHAR_TABLE_ENTRY): Likewise.
1119 (CHAR_TABLE_ENTRYP): Likewise.
1120 (CHECK_CHAR_TABLE_ENTRY): Likewise.
1121 (NUM_ASCII_CHARS): Likewise.
1122 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
1123 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
1125 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1127 * chartab.c (get_char_id_table): Change interface.
1128 (put_char_id_table_0): New function.
1129 (put_char_id_table): Change interface; new implementation.
1130 (Fget_composite_char): Modify for interface change of
1131 `get_char_id_table'.
1132 (Fchar_variants): Likewise.
1133 (add_char_attribute_alist_mapper): Likewise.
1134 (Fchar_attribute_alist): Likewise.
1135 (Fget_char_attribute): Likewise.
1136 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
1137 as same as character as the first argument like `put-char-table';
1138 modify for interface change of `put_char_id_table'.
1139 (Fremove_char_attribute): Modify for interface change of
1140 `put_char_id_table'.
1142 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1144 * text-coding.c: Sync up with XEmacs 21.2.41.
1145 (COMPOSE_ADD_CHAR): Modify for interface change of
1146 `get_char_id_table'.
1148 * mule-charset.c (put_char_ccs_code_point): Modify for interface
1149 change of `put_char_id_table'.
1150 (remove_char_ccs): Likewise.
1152 * chartab.h (put_char_id_table): Change interface.
1154 * char-ucs.h (get_char_id_table): Change interface.
1155 (charset_code_point): Modify for interface change of
1156 `get_char_id_table'.
1157 (encode_char_1): Likewise.
1159 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1161 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
1163 (map_over_uint16_byte_table): Likewise.
1164 (map_over_byte_table): Likewise.
1165 (map_char_id_table): Add new argument `range' like
1167 (Fmap_char_attribute): Add new argument `range' like
1170 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1172 * chartab.c (map_over_uint8_byte_table): Change interface of
1173 mapping function to use struct chartab_range instead of Emchar.
1174 (map_over_uint16_byte_table): Likewise.
1175 (map_over_byte_table): Likewise.
1176 (map_char_id_table): Likewise.
1177 (struct slow_map_char_id_table_arg): Deleted.
1178 (slow_map_char_id_table_fun): Deleted.
1179 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1180 function `slow_map_char_table_fun' instead of struct
1181 `slow_map_char_id_table_arg' and function
1182 `slow_map_char_id_table_fun'.
1184 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1186 * mule-charset.c: Move char-it-table related codes to chartab.c.
1187 (Vutf_2000_version): Moved to chartab.c.
1188 (Fdefine_char): Likewise.
1189 (Ffind_char): Likewise.
1190 (syms_of_mule_charset): Move types `uint8-byte-table',
1191 `uint16-byte-table', `byte-table' and `char-id-table' to
1192 chartab.c; move functions `char_attribute_list,
1193 `find_char_attribute_table, `char_attribute_alist,
1194 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1195 `map_char_attribute, `define_char, `find_char, `char_variants and
1196 `get_composite_char to chartab.c; move symbols `=>ucs',
1197 `->decomposition', `compat', `isolated', `initial', `medial',
1198 `final', `vertical', `noBreak', `fraction', `super', `sub',
1199 `circle', `square', `wide', `narrow', `small' and `font' to
1201 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1202 setting codes for `Vcharacter_composition_table' and
1203 `Vcharacter_variant_table' to chartab.c.
1204 (complex_vars_of_mule_charset): Move setting code for
1205 `Vchar_attribute_hash_table' to chartab.c.
1207 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1208 (make_char_id_table): New prototype.
1209 (put_char_id_table): Likewise.
1210 (Fget_char_attribute): Likewise.
1212 * chartab.c: Move char-id-table related code from mule-charset.c.
1213 (Vutf_2000_version): Moved from mule-charset.c.
1215 * char-ucs.h (Qucs): New external variable.
1216 (put_char_ccs_code_point): New prototype.
1217 (remove_char_ccs): Likewise.
1219 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1221 * mule-charset.c (Vcharset_ucs_jis): New variable.
1222 (Qucs_jis): Likewise.
1223 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1224 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1226 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1228 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1230 * mule-charset.c (map_over_uint8_byte_table): New function.
1231 (map_over_uint16_byte_table): Likewise.
1232 (map_over_byte_table): Likewise.
1233 (map_char_id_table): Likewise.
1234 (slow_map_char_id_table_fun): Likewise.
1235 (Fmap_char_attribute): Likewise.
1236 (syms_of_mule_charset): Add new function `map-char-attribute'.
1238 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1240 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1241 (syms_of_mule_charset): Add new function `find-char'.
1243 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1245 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1247 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1248 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1250 (complex_vars_of_mule_charset): Add new coded-charset
1251 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1252 `ideograph-gt-pj-*'.
1254 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1256 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1258 * mule-charset.c (encode_builtin_char_1): Purge codes about
1259 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1260 {MIN|MAX}_CHAR_HEBREW.
1261 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1262 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1264 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1265 (MAX_CHAR_GREEK): Purged.
1266 (MIN_CHAR_CYRILLIC): Purged.
1267 (MAX_CHAR_CYRILLIC): Purged.
1268 (MIN_CHAR_HEBREW): Commented out.
1269 (MAX_CHAR_HEBREW): Likewise.
1271 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1273 * mule-charset.c (Qto_ucs): New variable.
1274 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1275 (Fdefine_char): Likewise.
1276 (syms_of_mule_charset): Add new symbol `=>ucs'.
1278 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1280 * mule-charset.c (Fdecode_char): Fixed.
1282 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1284 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1285 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1288 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1290 * mule-charset.c (Vcharset_ucs_big5): New variable.
1291 (Qucs_big5): Likewise.
1292 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1293 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1295 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1297 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1299 * mule-charset.c (decode_builtin_char): Check Big5 code range
1300 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1302 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1304 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1305 (Qchinese_gb12345): Likewise.
1306 (Fdecode_builtin_char): Fixed.
1307 (syms_of_mule_charset): Add `chinese-gb12345'.
1308 (complex_vars_of_mule_charset): Add coded-charset
1311 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1312 (LEADING_BYTE_CHINESE_GB12345): New macro.
1314 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1316 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
1317 and `latin-viscii-upper' for `latin-viscii'.
1319 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1321 * mule-charset.c (Fdecode_builtin_char): Comment out
1322 regularization code for ISO-IR GR representation.
1324 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1326 * mule-charset.c (decode_builtin_char): New function; renamed from
1327 `make_builtin_char'; return -1 instead of signal.
1328 (Fdecode_builtin_char): Use `decode_builtin_char'.
1330 * char-ucs.h (decode_builtin_char): New prototype; renamed from
1331 `make_builtin_char'.
1332 (DECODE_CHAR): Use `decode_builtin_char' instead of
1333 `make_builtin_char'; use mapping table of `chinese-big5' for
1334 `chinese-big5-{1,2}'.
1336 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1338 * text-coding.c (char_encode_big5): New function.
1339 (char_finish_big5): Likewise.
1340 (reset_encoding_stream): Use `char_encode_big5' and
1341 `char_finish_big5' for CODESYS_BIG5.
1342 (mule_encode): Don't use `encode_coding_big5'.
1343 (encode_coding_big5): Deleted.
1345 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1347 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
1348 0x81- in XEmacs UTF-2000.
1349 (detect_coding_big5): Likewise.
1351 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1353 * mule-charset.c (Fdefine_char): Don't use a CCS property to
1354 generate character-id if the CCS property does not have
1355 corresponding predefined character.
1356 (make_builtin_char): Return -1 if corresponding predefined
1357 character is not found.
1358 (Fdecode_char): Return nil if corresponding character is not
1360 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
1361 don't map to builtin ucs space.
1363 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1365 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
1366 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
1368 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1370 * mule-charset.c (Vcharset_ideograph_gt): New variable.
1371 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
1372 (Qideograph_gt): Likewise.
1373 (Qideograph_gt_pj_{1..11}): Likewise.
1374 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
1375 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
1376 `ideograph-gt-pj-11'.
1377 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
1378 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
1379 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
1381 * char-ucs.h (LEADING_BYTE_GT): New macro.
1382 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
1383 (MIN_CHAR_GT): Likewise.
1384 (MAX_CHAR_GT): Likewise.
1386 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1388 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
1389 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
1391 * doprnt.c (unsigned_int_converters): Add `c'.
1392 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
1394 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
1395 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
1397 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
1398 (MAX_CHAR_MOJIKYO_0): New macro.
1399 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
1401 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1403 * mule-charset.c (Fdefine_char): Delete cemented out code.
1404 (encode_builtin_char_1): Modify for new allocation of builtin
1407 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
1409 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1411 * mule-charset.c (Vcharset_ucs_cns): New variable.
1412 (Qucs_cns): New variable.
1413 (syms_of_mule_charset): Add new symbol `ucs-cns'.
1414 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
1416 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1418 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
1420 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1422 * search.c (search_buffer): Make `charset_base_code' as
1423 character-id >> 6 to eliminate the corresponding last byte in
1424 UTF-8 representation [I'm not sure it is right thing].
1425 (boyer_moore): Likewise.
1427 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1429 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
1430 representation in MULE.
1432 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1434 * text-coding.c (Fmake_coding_system): Use
1435 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
1436 `EXTERNAL_PROPERTY_LIST_LOOP'.
1438 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1440 * text-coding.c (decode_output_utf8_partial_char): New function.
1441 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
1443 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1445 * text-coding.c (decode_coding_utf8): Output original byte
1446 sequence if it is broken; change order of conditions.
1448 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
1451 * mb-multibyte.h (BYTE_ASCII_P):
1452 Use bit ops for char-signedness safety.
1453 (BYTE_C0_P): Use bit ops for char-signedness safety.
1454 (BYTE_C1_P): Use bit ops for char-signedness safety.
1456 * character.h: (XCHAR_OR_CHAR_INT):
1457 Always use inline function.
1458 Remove redundant type checking assert() - XINT will abort quite
1461 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1463 * text-coding.c: (Fencode_shift_jis_char):
1464 (Fencode_big5_char):
1465 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
1466 Replace 0 with '\0' when working with bytes.
1467 Replace initial "(" with "\(" in docstrings.
1469 (Fmake_coding_system):
1470 When type is ccl and value is vector, register it with a proper
1471 symbol. And checks whether the given ccl program is valid.
1472 (mule_decode): When calling ccl_driver, if src indicates
1473 NULL pointer, set an empty string instead.
1474 (mule_encode): Likewise.
1477 (detect_coding_sjis):
1478 (decode_coding_sjis):
1479 (detect_coding_big5):
1480 (decode_coding_big5):
1481 (detect_coding_ucs4):
1482 (decode_coding_ucs4):
1483 (detect_coding_utf8):
1484 (decode_coding_utf8):
1485 (detect_coding_iso2022):
1486 (decode_coding_iso2022):
1487 (decode_coding_no_conversion):
1489 Make all detecting and decoding functions take an Extbyte * arg.
1490 (text_encode_generic):
1491 (encode_coding_big5):
1492 (encode_coding_no_conversion):
1494 Make all encoding functions take a Bufbyte * arg.
1495 Use size_t instead of unsigned int for memory sizes.
1496 Only cast to unsigned char whenever dereferencing Extbyte *.
1498 (struct lrecord_description fcd_description_1): Use countof.
1499 (complex_vars_of_file_coding):
1500 Use countof instead of sizeof.
1501 Use CHECK_NATNUM instead of CHECK_INT.
1503 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1505 * mule-charset.c (Fget_char_attribute): Add new optional argument
1507 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
1508 (remove_char_ccs): Likewise.
1510 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1512 * text-coding.c (char_encode_shift_jis): New implementation in
1514 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
1517 * mule-charset.c (Vcharset_chinese_big5): New variable in
1519 (Qchinese_big5): New variable in UTF-2000.
1520 (BIG5_SAME_ROW): New macro in UTF-2000.
1521 (make_builtin_char): Use builtin characters of
1522 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
1523 characters of `Vcharset_chinese_big5'.
1524 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
1525 (complex_vars_of_mule_charset): Add new coded-charset
1526 `chinese-big5' in UTF-2000.
1528 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
1529 (Vcharset_chinese_big5): New external variable declaration.
1530 (Vcharset_japanese_jisx0208_1990): Likewise.
1532 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1534 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
1536 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
1538 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1540 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
1541 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
1542 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
1545 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1547 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
1549 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1551 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1554 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1556 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
1557 for `CHARSET_BY_ATTRIBUTES'.
1558 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1559 `CHARSET_BY_ATTRIBUTES'.
1561 * text-coding.c (struct decoding_stream): Rename member `CH' to
1563 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
1564 (decode_coding_sjis): Likewise.
1565 (decode_coding_big5): Likewise.
1566 (decode_coding_ucs4): Likewise.
1567 (decode_coding_utf8): Likewise.
1568 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1569 `CHARSET_BY_ATTRIBUTES'.
1570 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
1571 `str->counter'; decode 3, 4 bytes sets.
1572 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
1574 (decode_coding_no_conversion): Use `str->cpos' instead of
1577 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
1578 (Qmojikyo_2022_1): New variable.
1579 (make_charset): Don't use `CHARSET_TYPE_*'.
1580 (range_charset_code_point): Support coded-charset
1582 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
1583 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
1584 `CHARSET_BY_ATTRIBUTES'.
1585 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
1586 `CHARSET_BY_ATTRIBUTES'.
1587 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
1588 (complex_vars_of_mule_charset): Add new coded-charset
1591 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
1592 interface; changed to inline function.
1594 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
1595 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
1596 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
1597 (CHARSET_TYPE_94): Deleted.
1598 (CHARSET_TYPE_94X94): Deleted.
1599 (CHARSET_TYPE_96): Deleted.
1600 (CHARSET_TYPE_96X96): Deleted.
1601 (CHARSET_TYPE_128): Deleted.
1602 (CHARSET_TYPE_128X128): Deleted.
1603 (CHARSET_TYPE_256): Deleted.
1604 (CHARSET_TYPE_256X256): Deleted.
1605 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
1607 (DECODE_MOJIKYO_2022): New inline function.
1608 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
1609 `Vcharset_mojikyo_2022_1'.
1611 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1613 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
1615 (put_byte_table): Likewise.
1616 (char_id_table_equal): Use `get_byte_table' [new implementation].
1618 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1620 * mule-charset.c: Include <limits.h> in UTF-2000.
1621 (BT_UINT8_MIN): New macro in UTF-2000.
1622 (BT_UINT8_MAX): New macro in UTF-2000.
1623 (BT_UINT8_t): New macro in UTF-2000.
1624 (BT_UINT8_nil): New macro in UTF-2000.
1625 (BT_UINT8_unbound): New macro in UTF-2000.
1626 (INT_UINT8_P): New inline function in UTF-2000.
1627 (UINT8_VALUE_P): New inline function in UTF-2000.
1628 (UINT8_ENCODE): New inline function in UTF-2000.
1629 (UINT8_DECODE): New inline function in UTF-2000.
1630 (mark_uint8_byte_table): New function in UTF-2000.
1631 (print_uint8_byte_table): New function in UTF-2000.
1632 (uint8_byte_table_equal): New function in UTF-2000.
1633 (uint8_byte_table_hash): New function in UTF-2000.
1634 (make_uint8_byte_table): New function in UTF-2000.
1635 (uint8_byte_table_same_value_p): New function in UTF-2000.
1636 (BT_UINT16_MIN): New macro in UTF-2000.
1637 (BT_UINT16_MAX): New macro in UTF-2000.
1638 (BT_UINT16_t): New macro in UTF-2000.
1639 (BT_UINT16_nil): New macro in UTF-2000.
1640 (BT_UINT16_unbound): New macro in UTF-2000.
1641 (INT_UINT16_P): New inline function in UTF-2000.
1642 (UINT16_VALUE_P): New inline function in UTF-2000.
1643 (UINT16_ENCODE): New inline function in UTF-2000.
1644 (UINT16_DECODE): New inline function in UTF-2000.
1645 (UINT8_TO_UINT16): New inline function in UTF-2000.
1646 (mark_uint16_byte_table): New function in UTF-2000.
1647 (print_uint16_byte_table): New function in UTF-2000.
1648 (uint16_byte_table_equal): New function in UTF-2000.
1649 (uint16_byte_table_hash): New function in UTF-2000.
1650 (make_uint16_byte_table): New function in UTF-2000.
1651 (uint16_byte_table_same_value_p): New function in UTF-2000.
1652 (print_byte_table): New function in UTF-2000.
1653 (byte-table): Use `print_byte_table' as printer.
1654 (make_byte_table): Delete second argument `older'.
1655 (byte_table_same_value_p): New function in UTF-2000.
1656 (copy_byte_table): Deleted.
1657 (get_byte_table): New function in UTF-2000.
1658 (put_byte_table): New function in UTF-2000.
1659 (print_char_id_table): New function in UTF-2000.
1660 (char-id-table): Use `print_char_id_table' as printer.
1661 (make_char_id_table): Delete second argument `older'.
1662 (get_char_id_table): Use `get_byte_table [new implementation].
1663 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
1665 (Ffind_char_attribute_table): New function in UTF-2000.
1666 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1667 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
1668 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
1669 (syms_of_mule_charset): Add new function
1670 `find-char-attribute-table' in UTF-2000.
1672 * lrecord.h (enum lrecord_type): Add
1673 `lrecord_type_uint16_byte_table' and
1674 `lrecord_type_uint8_byte_table'.
1676 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
1677 (Lisp_Uint8_Byte_Table): New type.
1678 (XUINT8_BYTE_TABLE): New macro.
1679 (XSETUINT8_BYTE_TABLE): New macro.
1680 (UINT8_BYTE_TABLE_P): New macro.
1681 (GC_UINT8_BYTE_TABLE_P): New macro.
1682 (struct Lisp_Uint16_Byte_Table): New structure.
1683 (Lisp_Uint16_Byte_Table): New type.
1684 (XUINT16_BYTE_TABLE): New macro.
1685 (XSETUINT16_BYTE_TABLE): New macro.
1686 (UINT16_BYTE_TABLE_P): New macro.
1687 (GC_UINT16_BYTE_TABLE_P): New macro.
1689 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1691 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
1692 (Vcharacter_ideographic_strokes_table): Deleted.
1693 (Vcharacter_total_strokes_table): Deleted.
1694 (Vcharacter_morohashi_daikanwa_table): Deleted.
1695 (Vcharacter_decomposition_table): Deleted.
1696 (Qname): Deleted because it is duplicated.
1697 (Qideographic_radical): Deleted.
1698 (Qideographic_strokes): Deleted.
1699 (Qtotal_strokes): Deleted.
1700 (Qmorohashi_daikanwa): Deleted.
1701 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
1702 `ideographic-radical', `ideographic-strokes', `total-strokes',
1703 `morohashi-daikanwa' and `->decomposition'.
1704 (Fget_char_attribute): Likewise.
1705 (Fput_char_attribute): Likewise; use `make-vector' instead of
1706 `make_older_vector' for `->decomposition' value.
1707 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
1708 `ideograph-daikanwa'.
1709 (syms_of_mule_charset): Delete builtin symbols `name',
1710 `ideographic-radical', `ideographic-strokes', `total-strokes' and
1711 `morohashi-daikanwa'.
1712 (vars_of_mule_charset): Don't setup
1713 `Vcharacter_ideographic_radical_table',
1714 `Vcharacter_ideographic_strokes_table',
1715 `Vcharacter_total_strokes_table',
1716 `Vcharacter_morohashi_daikanwa_table' and
1717 `Vcharacter_decomposition_table'.
1719 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1721 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
1722 `make_older_vector', `make_vector_newer_1' and
1723 `make_vector_newer'.
1725 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
1726 `make_older_vector' and `make_vector_newer'.
1728 * config.h.in (HAVE_GGC): New macro.
1730 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1732 * mule-charset.c (struct char_attribute_list_closure): New
1733 structure in UTF-2000.
1734 (add_char_attribute_to_list_mapper): New function in UTF-2000.
1735 (Fchar_attribute_list): Likewise.
1736 (Fset_charset_mapping_table): Use `make_vector_newer'.
1737 (Fdecode_builtin_char): New function in UTF-2000.
1738 (syms_of_mule_charset): Add new function `char-attribute-list' and
1739 `decode-builtin-char' in UTF-2000.
1741 * lisp.h (make_vector_newer): New prototype.
1743 * alloc.c (make_vector_newer_1): New function.
1744 (make_vector_newer): New function.
1746 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1748 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
1751 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1753 * mule-charset.c (Vchar_attribute_hash_table): New variable.
1754 (Vcharacter_attribute_table): Deleted.
1755 (Vcharacter_name_table): Deleted.
1756 (put_char_attribute): Deleted.
1757 (remove_char_attribute): Deleted.
1758 (struct char_attribute_alist_closure): New structure.
1759 (add_char_attribute_alist_mapper): New function.
1760 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
1761 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
1762 (Fget_char_attribute): Likewise.
1763 (Fput_char_attribute): Likewise.
1764 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
1765 of `remove_char_attribute'.
1766 (Fdefine_char): Return character.
1767 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
1768 and `Vcharacter_name_table'.
1769 (complex_vars_of_mule_charset): Likewise
1770 `Vchar_attribute_hash_table'.
1772 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1774 * character.h (CHARC_CHARSET): New macro.
1775 (CHARC_CHARSET_ID): New macro.
1776 (CHARC_CODE_POINT): New macro.
1777 (CHARC_COLUMNS): New macro.
1778 (CHARC_TO_CHAR): New inline function.
1779 (CHARC_EQ): New inline function.
1780 (CHARC_ASCII_EQ): New inline function.
1781 (CHARC_IS_SPACE): New inline function.
1782 (ASCII_TO_CHARC): New inline function.
1784 * char-ucs.h (encode_char_2): Deleted.
1785 (ENCODE_CHAR): Use `encode_char_1' again.
1786 (breakup_char_1): Likewise.
1787 (CHAR_TO_CHARC): New inline function.
1789 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
1791 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1793 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
1794 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
1795 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
1796 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
1797 (create_string_text_block): Use `CHARC_ASCII_EQ' and
1799 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
1801 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
1803 (x_output_display_block): Use `CHARC_CHARSET' and
1806 * redisplay-tty.c (tty_output_display_block): Use
1808 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
1810 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
1812 * insdel.c (find_charsets_in_charc_string): Use
1814 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
1815 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
1816 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
1817 (convert_charc_string_into_malloced_string): Likewise.
1819 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1821 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
1822 instead of <Emchar_dynarr *> for buf; use
1823 `convert_bufbyte_string_into_charc_dynarr' instead of
1824 `convert_bufbyte_string_into_emchar_dynarr'; use
1825 `find_charsets_in_charc_string' instead of
1826 `find_charsets_in_emchar_string'.
1829 - Include "character.h".
1830 (struct rune): New member `cglyph'; delete member `chr'.
1832 * redisplay.c (redisplay_text_width_charc_string): New function;
1833 delete `redisplay_text_width_emchar_string'.
1834 (rtw_charc_dynarr): New variable; renamed from
1835 `rtw_emchar_dynarr'.
1836 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
1837 `rtw_emchar_dynarr'; use
1838 `convert_bufbyte_string_into_charc_dynarr' instead of
1839 `convert_bufbyte_string_into_emchar_dynarr'; use
1840 `redisplay_text_width_charc_string' instead of
1841 `redisplay_text_width_emchar_string'.
1842 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
1843 instead of `rtw_emchar_dynarr'; use
1844 `convert_bufbyte_string_into_charc_dynarr' instead of
1845 `convert_bufbyte_string_into_emchar_dynarr'.
1846 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
1847 `redisplay_text_width_charc_string' instead of
1848 `redisplay_text_width_emchar_string'.
1849 (create_text_block): Modify for <struct rune> change.
1850 (generate_formatted_string_db): Likewise.
1851 (create_string_text_block): Likewise.
1852 (pixel_to_glyph_translation): Likewise.
1854 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
1855 instead of <const Emchar *>.
1856 (x_text_width): Likewise.
1857 (x_output_display_block): Use <Charc_dynarr *> instead
1858 <Emchar_dynarr *>; modify for <structure rune> change.
1859 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
1862 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
1863 <const Emchar *>; use `charc_string_displayed_columns' instead of
1864 `emchar_string_displayed_columns'.
1865 (tty_output_display_block): Use <Charc_dynarr *> instead of
1866 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
1867 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
1868 (tty_output_charc_dynarr_dynarr): New variable; renamed from
1869 `tty_output_emchar_dynarr_dynarr'.
1870 (tty_output_charc_dynarr): New function; delete
1871 `tty_output_charc_dynarr'.
1873 * redisplay-output.c (compare_runes): Modify for `struct rune'.
1874 (redisplay_output_layout): Use <Charc_dynarr *> instead of
1875 <Emchar_dynarr *> for buf; use
1876 `convert_bufbyte_string_into_charc_dynarr' instead of
1877 `convert_bufbyte_string_into_emchar_dynarr'.
1879 * frame.c (title_string_charc_dynarr): New variable; renamed from
1880 `title_string_emchar_dynarr'.
1881 (generate_title_string): Use `title_string_charc_dynarr' instead
1882 of `title_string_emchar_dynarr'; use
1883 `convert_charc_string_into_malloced_string' instead of
1884 `convert_emchar_string_into_malloced_string'.
1885 (init_frame): Use `title_string_charc_dynarr' instead of
1886 `title_string_emchar_dynarr'.
1889 - Include "character.h".
1890 (struct console_methods): Use <const Charc *> instead of <const
1891 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
1892 <Emchar_dynarr *> in output_string_method.
1894 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
1897 * console-stream.c (stream_text_width): Use <const Charc *>
1898 instead of <const Emchar *>.
1900 * character.h (Charc_dynarr): New type.
1902 * char-ucs.h (structure Charc): New structure; define new type
1905 * char-lb.h (DECODE_CHAR): New inline function.
1906 (encode_char_1): New inline function.
1907 (ENCODE_CHAR): New macro.
1908 (structure Charc): New structure; define new type `Charc'.
1910 * char-1byte.h (Vcharset_control_1): New macro.
1911 (Vcharset_latin_iso8859_1): New macro.
1912 (DECODE_CHAR): New inline function.
1913 (encode_char_1): New inline function.
1914 (ENCODE_CHAR): New macro.
1915 (structure Charc): New structure; define new type `Charc'.
1917 * insdel.c (find_charsets_in_charc_string): New function; delete
1918 `find_charsets_in_emchar_string'.
1919 (charc_string_displayed_columns): New function; delete
1920 `emchar_string_displayed_columns'.
1921 (convert_bufbyte_string_into_charc_dynarr): New function; delete
1922 `convert_bufbyte_string_into_emchar_dynarr'.
1923 (convert_charc_string_into_bufbyte_dynarr): New function; delete
1924 `convert_charc_string_into_bufbyte_dynarr'.
1925 (convert_charc_string_into_malloced_string): New function; delete
1926 `convert_charc_string_into_malloced_string'.
1928 * buffer.h (find_charsets_in_charc_string): New prototype; delete
1929 `find_charsets_in_emchar_string'.
1930 (charc_string_displayed_columns): New prototype; delete
1931 `emchar_string_displayed_columns'.
1932 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
1933 `convert_charc_string_into_bufbyte_dynarr'.
1934 (convert_charc_string_into_malloced_string): New prototype; delete
1935 `convert_charc_string_into_malloced_string'.
1937 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1939 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
1941 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1943 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
1945 * char-ucs.h: Use <short> for <Charset_ID>.
1947 * mule-charset.h, char-1byte.h: Use <unsigned char> for
1950 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1952 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1955 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1957 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
1959 (Qmorohashi_daikanwa): New variable.
1960 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
1961 for `morohashi-daikanwa' attribute.
1962 (Fget_char_attribute): Likewise.
1963 (Fput_char_attribute): Likewise.
1964 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
1965 has the same value of `ideograph-daikanwa'.
1966 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
1967 (vars_of_mule_charset): Setup
1968 `Vcharacter_morohashi_daikanwa_table'.
1970 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1972 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
1974 (add_charset_to_list_mapper): Add `key' instead of
1975 `XCHARSET_NAME (value)' to return aliases.
1977 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1979 * mule-charset.c (Vcharacter_ideographic_radical_table): New
1981 (Vcharacter_ideographic_strokes_table): New variable.
1982 (Qideographic_radical): New variable.
1983 (Qideographic_strokes): New variable.
1984 (Fchar_attribute_alist): Use
1985 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
1986 attribute; use `Vcharacter_ideographic_strokes_table' for
1987 `ideographic-strokes' attribute.
1988 (Fget_char_attribute): Likewise.
1989 (Fput_char_attribute): Likewise.
1990 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
1991 `ideographic-strokes'.
1992 (vars_of_mule_charset): Setup
1993 `Vcharacter_ideographic_radical_table' and
1994 `Vcharacter_ideographic_strokes_table'.
1996 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1998 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
1999 (Qtotal_strokes): New variable.
2000 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
2001 `total-strokes' attribute.
2002 (Fget_char_attribute): Likewise.
2003 (Fput_char_attribute): Likewise.
2004 (syms_of_mule_charset): Add new symbol `total-strokes'.
2005 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
2007 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2009 * mule-charset.c (Vcharacter_decomposition_table): New variable.
2010 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
2012 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
2013 `->decomposition' attribute.
2014 (Fput_char_attribute): Likewise.
2015 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
2017 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2019 * mule-charset.c (decoding_table_check_elements): New function.
2020 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
2022 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2024 * mule-charset.c (Fset_charset_mapping_table): Use
2025 `put_char_ccs_code_point'.
2027 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2029 * mule-charset.c (decoding_table_put_char): New inline function.
2030 (put_char_ccs_code_point): Use `decoding_table_put_char'.
2032 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2034 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
2035 (XCHARSET_BYTE_SIZE): New macro.
2036 (decoding_table_remove_char): New inline function.
2037 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
2038 `decoding_table_remove_char'.
2039 (remove_char_ccs): Use `decoding_table_remove_char'.
2040 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
2042 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2044 * mule-charset.c (Vcharacter_name_table): New variable.
2045 (Qname): New variable.
2046 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
2048 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
2049 `Vcharacter_name_table' for `name' attribute.
2050 (Fremove_char_attribute): Use function `remove_char_ccs'.
2051 (put_char_ccs_code_point): New function.
2052 (remove_char_ccs): New function.
2053 (syms_of_mule_charset): Add new symbol `name'.
2054 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
2056 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2058 * mule-charset.c (make_byte_table): Add new argument `older'.
2059 (make_char_id_table): Likewise.
2060 (copy_char_id_table): Comment out because it is not used.
2061 (put_char_id_table): Modify for `make_byte_table'.
2062 (Fput_char_attribute): Make encoding_table as older object;
2063 inherit older bit of `Vcharacter_composition_table'.
2064 (mark_charset): Don't mark `cs->encoding_table'.
2065 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
2066 normal object; make `Vcharacter_composition_table' as an older
2067 object; delete staticpro for `Vcharacter_composition_table'; make
2068 `Vcharacter_variant_table' as a normal object.
2070 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
2071 (mark_object): Don't check older object in UTF-2000.
2073 * lrecord.h (struct lrecord_header): Add new member `older' in
2075 (set_lheader_implementation): Setup `SLI_header->older' in
2077 (set_lheader_older_implementation): New macro in UTF-2000.
2078 (OLDER_RECORD_P): New macro in UTF-2000.
2079 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
2080 (alloc_older_lcrecord): New prototype in UTF-2000.
2081 (alloc_older_lcrecord_type): New macro in UTF-2000.
2083 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2085 * mule-charset.c (byte_table_description): Use
2086 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
2087 (char_id_table_description): Delete bogus `, 1'.
2088 (Fget_char_attribute): Refer encoding_table of each coded-charset
2089 to get value of coded-charset attribute of a character.
2090 (Fput_char_attribute): Use `make_older_vector' instead of
2091 `make_vector'; use encoding_table of each coded-charset to store
2092 value of coded-charset attribute of a character.
2093 (Fremove_char_attribute): Use encoding_table of each coded-charset
2094 to store value of coded-charset attribute of a character.
2095 (mark_charset): Mark `cs->encoding_table'; don't mark
2096 `cs->decoding_table'.
2097 (charset_description): Add description of new member
2099 (make_charset): Initialize `encoding_table'.
2101 * char-ucs.h (struct Lisp_Charset): Add new member
2103 (CHARSET_ENCODING_TABLE): New macro.
2104 (XCHARSET_ENCODING_TABLE): New macro.
2105 (charset_code_point): New implementation.
2106 (encode_char_1): Likewise.
2108 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
2109 (disksave_object_finalization_1): Call finalizers of
2110 `all_older_lcrecords' in UTF-2000.
2111 (make_older_vector): New function in UTF-2000.
2112 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
2115 * lisp.h (make_older_vector): New prototype in UTF-2000.
2117 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2119 * lrecord.h (enum lrecord_type): Rename
2120 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
2122 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
2123 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
2124 `get_char_code_table'.
2126 * mule-charset.c (mark_char_id_table): Renamed from
2127 `mark_char_code_table'.
2128 (char_id_table_equal): Renamed from `char_code_table_equal'.
2129 (char_id_table_hash): Renamed from `char_code_table_hash'.
2130 (make_char_id_table): Renamed from `make_char_code_table'.
2131 (copy_char_id_table): Renamed from `copy_char_code_table'.
2132 (get_char_id_table): Renamed from `get_char_code_table'.
2133 (put_char_id_table): Renamed from `put_char_code_table'.
2134 (to_char_id): Renamed from `to_char_code'.
2136 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
2137 `Lisp_Char_Code_Table'.
2138 (char_id_table): Renamed from `char_code_table'.
2139 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
2140 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
2141 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
2142 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
2143 (get_char_id_table): Renamed from `get_char_code_table'.
2145 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2147 * lrecord.h (enum lrecord_type): Rename
2148 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
2150 * mule-charset.c (mark_byte_table): Renamed from
2151 `mark_char_byte_table'.
2152 (byte_table_equal): Renamed from `char_byte_table_equal'.
2153 (byte_table_hash): Renamed from `byte_table_hash'.
2154 (make_byte_table): Renamed from `make_byte_table'.
2155 (copy_byte_table): Renamed from `copy_char_byte_table'.
2157 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
2158 `Lisp_Char_Byte_Table'.
2159 (byte_table): Renamed from `char_byte_table'.
2160 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
2161 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
2162 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
2163 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
2165 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2167 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
2168 (dfc_convert_to_internal_format): Likewise.
2170 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2171 * text-coding.c (Fcoding_system_alias_p): New function.
2172 * text-coding.c (Fcoding_system_aliasee): New function.
2173 * text-coding.c (append_suffix_to_symbol): New function.
2174 * text-coding.c (dangling_coding_system_alias_p): New function.
2175 * text-coding.c (Ffind_coding_system):
2176 * text-coding.c (Fcopy_coding_system):
2177 * text-coding.c (encode_coding_no_conversion):
2178 * text-coding.c (syms_of_file_coding):
2179 * text-coding.c (vars_of_file_coding):
2180 Rewrite coding system alias code.
2181 Allow nested aliases, like symbolic links.
2182 Allow redefinition of coding system aliases.
2183 Prevent existence of dangling coding system aliases.
2184 Eliminate convert_to_external_format.
2185 Eliminate convert_to_internal_format.
2187 * text-coding.c: Change enum eol_type to eol_type_t.
2189 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2191 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2192 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2194 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2195 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2197 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2199 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2200 `ideograph-daikanwa'.
2202 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2203 (Vcharset_ucs_bmp): Likewise.
2204 (Vcharset_mojikyo): Add new extern variable definition.
2205 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2206 (Vcharset_latin_iso8859_3): Likewise.
2207 (Vcharset_latin_iso8859_4): Likewise.
2208 (Vcharset_latin_iso8859_9): Likewise.
2209 (Vcharset_latin_viscii_lower): Likewise.
2210 (Vcharset_latin_viscii_upper): Likewise.
2211 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2212 `mojikyo' code-point is used to decode.
2213 (encode_char_2): New function [to convert `mojikyo' code-point to
2214 Mojikyo font encoding].
2215 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2216 (breakup_char_1): Likewise.
2217 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2219 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2221 * text-coding.c (Fmake_coding_system): Add document about
2222 `disable-composition' property.
2224 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2226 * text-coding.c (Qdisable_composition): New variable; delete
2228 (Fmake_coding_system): Add new property `disable-composite';
2229 delete property `composite'.
2230 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2231 instead of `!CODING_SYSTEM_COMPOSITE'.
2232 (syms_of_file_coding): Add new symbol `disable-composition';
2233 delete symbol `composite'.
2235 * file-coding.h (struct Lisp_Coding_System): Add
2236 `disable_composition'; delete `enable_composition'.
2237 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2238 `CODING_SYSTEM_COMPOSITE'.
2239 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2240 `XCODING_SYSTEM_COMPOSITE'.
2242 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2244 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2247 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2249 * text-coding.c (Qcomposite): New variable.
2250 (Fmake_coding_system): Add new property `composite'.
2251 (struct decoding_stream): Add `combined_char_count',
2252 `combined_chars' and `combining_table' in UTF-2000.
2253 (COMPOSE_FLUSH_CHARS): New macro.
2254 (COMPOSE_ADD_CHAR): New macro.
2255 (reset_decoding_stream): Reset `str->combined_char_count' and
2256 `str->combining_table' in UTF-2000.
2257 (decode_coding_iso2022): Modify for character-decomposition.
2258 (syms_of_file_coding): Add new symbol `composite'.
2260 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2262 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2263 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2264 of `Vcharacter_composition_table' if `->decomposition' property
2266 (Qlatin_tcvn5712): New variable.
2267 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2268 (complex_vars_of_mule_charset): Add new coded-charset
2271 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2273 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2275 * file-coding.h (struct Lisp_Coding_System): Add
2276 `enable_composition'.
2277 (CODING_SYSTEM_COMPOSITE): New macro.
2278 (XCODING_SYSTEM_COMPOSITE): New macro.
2280 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2282 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2284 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2286 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2287 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2289 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2291 * mule-charset.c (Vcharset_mojikyo): New variable.
2292 (Fdefine_char): Don't use coded-charset which does not have
2293 non-builtin character range to allocate character-id.
2294 (Qmojikyo): New variable.
2295 (syms_of_mule_charset): Add new symbol `mojikyo'.
2296 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2298 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2299 (LEADING_BYTE_MOJIKYO): New macro.
2300 (MIN_CHAR_MOJIKYO): New macro.
2301 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2302 (MAX_CHAR_MOJIKYO): New macro.
2304 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2306 * mule-charset.c (remove_char_attribute): Fixed.
2308 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2310 * mule-charset.c (remove_char_attribute): New function.
2311 (Fremove_char_attribute): New function.
2312 (encode_builtin_char_1): Comment out builtin-support for
2313 greek-iso8859-7 and cyrillic-iso8859-5.
2314 (Fdecode_char): Check `code' is an integer.
2315 (syms_of_mule_charset): Add `remove-char-attribute'.
2316 (MIN_CHAR_GREEK): Deleted.
2317 (MAX_CHAR_GREEK): Likewise.
2318 (MIN_CHAR_CYRILLIC): Likewise.
2319 (MAX_CHAR_CYRILLIC): Likewise.
2320 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
2321 MAX_CHAR_GREEK for `greek-iso8859-7'.
2323 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
2324 (MAX_CHAR_GREEK): Likewise.
2325 (MIN_CHAR_CYRILLIC): Likewise.
2326 (MAX_CHAR_CYRILLIC): Likewise.
2328 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
2330 * mule-charset.c (Fdefine_char): Fix problem when new code-point
2331 format is used without `ucs' property.
2332 (Fdecode_char): Fix problem with GR representation.
2333 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
2334 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
2336 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2338 * mule-charset.c (make_builtin_char): New function.
2339 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
2340 (Fset_charset_mapping_table): Modify for new representation of
2342 (Fdecode_char): New function.
2343 (syms_of_mule_charset): Add new builtin function `decode-char' in
2346 * char-ucs.h (make_builtin_char): New prototype.
2347 (DECODE_CHAR): New inline function.
2348 (MAKE_CHAR): Use `DECODE_CHAR'.
2350 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
2352 * text-coding.c (parse_charset_conversion_specs): Use
2353 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
2355 (iso2022_designate): Likewise.
2357 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
2358 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
2360 * mule-charset.c (Vcharset_ucs): New variable.
2361 (print_charset): Change design; use `CHARSET_CHARS' and
2362 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
2363 (make_charset): Change signature to specify `chars' and
2364 `dimension' instead of `type'.
2365 (range_charset_code_point): Modify for 256^n-set.
2366 (encode_builtin_char_1): Encode as `ucs' in default.
2367 (Fmake_charset): Modify for `make_charset'.
2368 (Fmake_reverse_direction_charset): Likewise.
2369 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
2371 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
2374 * char-ucs.h (Vcharset_ucs): New variable.
2375 (LEADING_BYTE_UCS): New macro.
2376 (struct Lisp_Charset): Delete `type'; change type of `dimension'
2377 and `chars' to `unsigned short' from `unsigned int'.
2378 (CHARSET_TYPE): Deleted.
2379 (XCHARSET_TYPE): Deleted.
2381 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
2383 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
2385 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
2386 (ENCODE_CHAR): New macro.
2388 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2390 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2391 to 0.14 (Kawachi-Katakami).
2393 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2395 * text-coding.c (char_encode_shift_jis): Modify for
2396 `charset_code_point'.
2397 (char_encode_iso2022): Likewise.
2399 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
2400 (integer) instead of list of <Lisp_Object>s (integers) as the
2401 format of code-point of a coded-charset.
2402 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2403 (encode_builtin_char_1): New function; delete
2404 `split_builtin_char'.
2405 (charset_code_point): Return <int> instead of <Lisp_Object>.
2406 (Fsplit_char): Don't use `SPLIT_CHAR'.
2408 * char-ucs.h (encode_builtin_char_1): New prototype; delete
2409 prototype for `split_builtin_char'.
2410 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2411 (charset_code_point): Likewise.
2412 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
2413 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
2415 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
2417 * mule-charset.c (complex_vars_of_mule_charset): Don't define
2418 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
2420 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2422 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
2424 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
2425 (MAX_CHAR_OBS_94x94): Deleted.
2427 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2429 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
2431 * char-ucs.h (MAX_CHAR_BMP): New macro.
2433 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2435 * text-coding.c: Sync with r21-2-24.
2437 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2439 * file-coding.c: Modify for UTF-2000.
2441 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2443 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2446 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2448 * mule-charset.c (split_builtin_char): Delete builtin support for
2449 `katakana-jisx0201'.
2450 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
2451 BMP area in builtin representation.
2453 * char-ucs.h (MAKE_CHAR): Delete builtin support for
2454 `Vcharset_katakana_jisx0201'.
2456 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2458 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
2459 (Qisolated): New variable.
2460 (Qinitial): New variable.
2461 (Qmedial): New variable.
2462 (Qfinal): New variable.
2463 (Qvertical): New variable.
2464 (Qsmall): New variable.
2465 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
2466 `Qvertical' and `Qsmall'.
2467 (Qmojikyo_pj_[1 .. 21]): New variable.
2468 (syms_of_mule_charset): Add new symbols `isolated', `initial',
2469 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
2470 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
2473 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2475 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
2476 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
2477 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
2479 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2481 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
2482 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
2484 (Qjapanese_jisx0208_1990): New variable.
2485 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
2486 (complex_vars_of_mule_charset): Add new coded-charset
2487 `japanese-jisx0208-1990'.
2489 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
2490 (MIN_CHAR_JIS_X0208_1990): New macro.
2491 (MAX_CHAR_JIS_X0208_1990): New macro.
2493 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2495 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
2496 coded-charset is not found.
2498 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2500 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
2501 (Fdefine_char): Use `Fmake_char'.
2503 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2505 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
2506 (Vcharset_hiragana_jisx0208): Deleted.
2507 (Vcharset_katakana_jisx0208): Deleted.
2508 (Qideograph_daikanwa): New variable.
2509 (Qhiragana_jisx0208): Deleted.
2510 (Qkatakana_jisx0208): Deleted.
2511 (split_builtin_char): Split `ideograph-daikanwa'.
2512 (Fsplit_char): New implementation for UTF-2000.
2513 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
2514 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
2515 (complex_vars_of_mule_charset): Add new coded-charset
2516 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
2517 `katakana-jisx0208'.
2519 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
2520 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
2521 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
2522 (MIN_CHAR_DAIKANWA): New macro.
2523 (MAX_CHAR_DAIKANWA): New macro.
2525 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2527 * data.c (Fstring_to_number): Don't recognize floating point if
2530 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2532 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
2534 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2536 * mule-charset.c (Qsquare): New variable.
2537 (to_char_code): Add `Qsquare'.
2538 (syms_of_mule_charset): Add new symbol `square'.
2540 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2542 * mule-charset.c (Qcircle): New variable.
2543 (to_char_code): Add `Qcircle'.
2544 (syms_of_mule_charset): Add new symbol `circle'.
2546 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2548 * mule-charset.c (Qfont): New variable.
2549 (to_char_code): Add `Qfont'.
2550 (syms_of_mule_charset): Add new symbol `font'.
2552 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2554 * mule-charset.c (Qsub): New variable.
2555 (to_char_code): Add `Qsub'.
2556 (syms_of_mule_charset): Add new symbol `sub'.
2558 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2560 * mule-charset.c (Fput_char_attribute): Convert each element of
2561 VALUE to GL position if ATTRIBUTE is a GR-set,
2563 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2565 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
2566 coded-charset is a GR-set.
2568 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2570 * mule-charset.c (Fput_char_attribute): Check each element of
2571 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
2573 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2575 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
2577 (Qethiopic_ucs): New variable in UTF-2000.
2578 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
2579 (complex_vars_of_mule_charset): Add new coded-charset
2580 `ethiopic-ucs' in UTF-2000.
2582 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
2583 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2585 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2587 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
2589 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2591 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
2594 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2596 * mule-charset.c (Vcharacter_variant_table): New variable.
2597 (Q_ucs): New variable.
2598 (Fchar_variants): New function.
2599 (Fput_char_attribute): Register `->ucs' value to
2600 `Vcharacter_variant_table'.
2601 (syms_of_mule_charset): Add new function `char-variants' and new
2603 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
2605 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2607 * mule-charset.c (get_char_code_table): Allow negative character
2609 (put_char_code_table): Likewise.
2610 (Vcharacter_composition_table): New variable.
2611 (Q_decomposition): New variable.
2612 (Qwide): New variable.
2613 (Qnarrow): New variable.
2614 (Qcompat): New variable.
2615 (QnoBreak): New variable.
2616 (Qsuper): New variable.
2617 (Qfraction): New variable.
2618 (to_char_code): New function.
2619 (Fget_composite_char): New function.
2620 (Fput_char_attribute): Register `->decomposition' value to
2621 `Vcharacter_composition_table'.
2622 (syms_of_mule_charset): Add new function `get-composite-char', new
2623 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
2624 `super' and `fraction'.
2625 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
2627 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2629 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
2630 character; copy the return value.
2632 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2634 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
2636 * mule-charset.c (range_charset_code_point): Must use make_int.
2637 (split_builtin_char): New function.
2639 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2641 * mule-charset.c (char_byte_table): Change name from
2642 "char-code-table" to "char-byte-table".
2643 (mark_char_code_table): New function.
2644 (char_code_table_equal): New function.
2645 (char_code_table_hash): New function.
2646 (char_code_table_description): New constant.
2647 (char_code_table): New type.
2648 (make_char_code_table): New function.
2649 (copy_char_code_table): New function.
2650 (get_char_code_table): Modify for `char_code_table' type.
2651 (put_char_code_table): Likewise.
2652 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
2655 * char-ucs.h (char_code_table): New type.
2656 (XCHAR_CODE_TABLE): New macro.
2657 (XSETCHAR_CODE_TABLE): New macro.
2658 (CHAR_CODE_TABLE_P): New macro.
2659 (GC_CHAR_CODE_TABLE_P): New macro.
2660 (struct Lisp_Char_Code_Table): New structure.
2662 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2664 * mule-charset.c (Fmake_charset): Setup byte_offset for
2667 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
2669 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
2672 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2674 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
2677 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2679 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
2680 charset, it is regarded as a charset.
2681 (put_char_attribute): New function in UTF-2000.
2682 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
2683 charset, mapping-table of the charset is modified.
2684 (Fdefine_char): New function in UTF-2000.
2685 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
2686 `Fput_char_attribute'.
2687 (syms_of_mule_charset): Add new function `define-char' and new
2688 symbol `ucs' in UTF-2000.
2689 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
2691 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2693 * mule-charset.c (Fcharset_name): Define `byte_offset' in
2694 non-UTF-2000 configuration.
2696 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2698 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
2699 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
2701 * mule-charset.c (mark_charset): `cs->encoding_table' has been
2703 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
2704 (Fset_charset_mapping_table): Likewise.
2706 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
2707 (CHARSET_ENCODING_TABLE): Delete.
2708 (XCHARSET_ENCODING_TABLE): Delete.
2709 (charset_code_point): New interface.
2711 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2713 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
2714 instead of `charset_get_byte1' and `charset_get_byte2'.
2716 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
2717 (charset_get_byte2): Deleted.
2719 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2721 * char-ucs.h (SPLIT_CHAR): New inline function.
2722 (breakup_char_1): Use `SPLIT_CHAR'.
2724 * mule-charset.c (range_charset_code_point): New function.
2725 (charset_code_point): New function.
2727 * char-ucs.h (range_charset_code_point): New interface.
2728 (breakup_char_1): Use `range_charset_code_point'.
2730 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2732 * mule-charset.c (Fmake_charset): Delete unused local variable
2735 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
2736 (breakup_char_1): Find a charset and code-point in
2737 `Vcharacter_attribute_table'.
2739 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2741 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2744 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2746 * mule-charset.c (Vcharacter_attribute_table): New variable.
2747 (Fchar_attribute_alist): New function.
2748 (Fget_char_attribute): New function.
2749 (Fput_char_attribute): New function.
2750 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
2752 (syms_of_mule_charset): Add new function `char-attribute-alist',
2753 `get-char-attribute' and `put-char-attribute'.
2754 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
2756 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
2758 * mule-charset.c (Fmake_charset): Just use
2759 `get_unallocated_leading_byte'.
2761 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
2762 sets; don't use final-byte based number for private sets.
2764 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2766 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
2769 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2771 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2774 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2776 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
2777 of `CHAR_LEADING_BYTE' in UTF-2000.
2779 * insdel.c (find_charsets_in_bufbyte_string): Use
2780 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2781 (find_charsets_in_emchar_string): Likewise.
2783 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
2784 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2786 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
2787 (CHAR_CHARSET_ID): New macro.
2789 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2791 * chartab.c (get_char_table): Don't use type `Charset_ID' for
2792 charset-id - MIN_LEADING_BYTE.
2793 (put_char_table): Likewise.
2795 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2797 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
2798 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
2799 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
2800 (CHARSET_ID_OFFSET): New macro.
2801 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
2802 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
2803 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
2804 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2806 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2808 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
2809 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
2810 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
2811 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
2812 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
2814 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2816 * mule-charset.c (next_allocated_leading_byte): New variable in
2818 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
2819 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
2820 (get_unallocated_leading_byte): Simply use
2821 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
2822 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
2825 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
2826 (MAX_LEADING_BYTE_PRIVATE): New macro.
2827 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
2828 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
2830 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2832 * mule-charset.c (Fmake_charset): Allocate final-byte based
2833 charset-id for 94-set, 96-set and 94x94-set.
2835 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2837 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
2839 (Fmake_charset): Likewise.
2840 (complex_vars_of_mule_charset): Modify the font registry of
2841 `ucs-bmp' not to match `Ethiopic-Unicode'.
2843 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2845 * mule-charset.c (complex_vars_of_mule_charset): Add font
2846 registory of `ucs-bmp'.
2848 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2850 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
2851 coded-charsets in `default-coded-charset-priority-list' when
2852 breaking up a character.
2854 * mule-charset.c (Vcharset_latin_viscii): New variable.
2855 (Qlatin_viscii): New variable.
2856 (make_charset): Don't use `decoding_table'.
2857 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
2859 (Fset_charset_mapping_table): New implementation.
2860 (syms_of_mule_charset): Add new symbol `latin-viscii'.
2861 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
2862 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
2863 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
2864 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
2865 charset `latin_viscii'.
2867 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
2868 (CHARSET_TYPE_94X94): Change to 1 from 2.
2869 (CHARSET_TYPE_96): Change to 2 from 1.
2870 (CHARSET_TYPE_128): New macro.
2871 (CHARSET_TYPE_128X128): Change to 5 from 4.
2872 (CHARSET_TYPE_256): New macro.
2873 (CHARSET_TYPE_256X256): Change to 7 from 5.
2874 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
2876 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2878 * text-coding.c (char_encode_shift_jis): Refer
2879 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
2880 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
2882 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
2883 (char_byte_table_equal): New function in UTF-2000.
2884 (char_byte_table_hash): New function in UTF-2000.
2885 (char_byte_table_description): New constant in UTF-2000.
2886 (char_byte_table): New type in UTF-2000.
2887 (make_char_byte_table): New function in UTF-2000.
2888 (copy_char_byte_table): New function in UTF-2000.
2889 (make_char_code_table): New macro in UTF-2000.
2890 (get_char_code_table): New function in UTF-2000.
2891 (put_char_code_table): New function in UTF-2000.
2892 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2893 (charset_description): Add setting in UTF-2000.
2894 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
2895 `CHARSET_TO_BYTE1_TABLE(cs)'.
2896 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
2897 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
2898 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
2899 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
2900 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
2901 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
2902 `CHARSET_TO_BYTE2_TABLE(cs)'.
2904 * char-ucs.h (char_byte_table): New type.
2905 (XCHAR_BYTE_TABLE): New macro.
2906 (XSETCHAR_BYTE_TABLE): New macro.
2907 (CHAR_BYTE_TABLE_P): New macro.
2908 (GC_CHAR_BYTE_TABLE_P): New macro.
2909 (struct Lisp_Char_Byte_Table): New structure.
2910 (get_char_code_table): New interface.
2911 (Emchar_to_byte_table): Deleted.
2912 (get_byte_from_character_table): Deleted.
2913 (struct Lisp_Charset): Add `encoding_table'; delete
2914 `to_byte1_table' and `to_byte2_table'.
2915 (CHARSET_ENCODING_TABLE): New macro.
2916 (CHARSET_TO_BYTE1_TABLE): Deleted.
2917 (CHARSET_TO_BYTE2_TABLE): Deleted.
2918 (XCHARSET_ENCODING_TABLE): New macro.
2919 (XCHARSET_TO_BYTE1_TABLE): Deleted.
2920 (XCHARSET_TO_BYTE2_TABLE): Deleted.
2922 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2924 * mule-charset.c (syms_of_mule_charset): Delete charset alias
2925 `vietnamese-viscii-*'.
2927 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2929 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
2930 (Qvietnamese_viscii_upper): New variable.
2931 (Fdefine_charset_alias): New function.
2932 (syms_of_mule_charset): Add new function `define-charset-alias'.
2933 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
2934 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
2937 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
2939 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
2940 (MAX_CHAR_OBS_94x94): New macro.
2941 (breakup_char_1): Support obsolete XEmacs-UCS private code space
2944 * mule-charset.c (put_byte_from_character_table): Change unit size
2946 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
2948 (Fmake_reverse_direction_charset): Modify dummy argument of
2949 `make_charset' for non-UTF-2000 environment.
2951 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
2953 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
2955 * mule-charset.c (destroy_byte_from_character_table): New macro.
2956 (latin_jisx0201_to_ucs): Deleted.
2957 (latin_iso8859_2_to_ucs): Deleted.
2958 (latin_iso8859_3_to_ucs): Deleted.
2959 (latin_iso8859_4_to_ucs): Deleted.
2960 (latin_iso8859_9_to_ucs): Deleted.
2961 (latin_viscii_lower_to_ucs): Deleted.
2962 (latin_viscii_upper_to_ucs): Deleted.
2963 (mark_charset): Mark `cs->decoding_table'.
2964 (Fcharset_mapping_table): Fix DOC-string.
2965 (Fset_charset_mapping_table): New function.
2966 (syms_of_mule_charset): Add nwe function
2967 `set-charset-mapping-table'.
2968 (complex_vars_of_mule_charset): Don't setup and use
2971 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
2973 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
2976 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
2978 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
2979 (Vcharset_katakana_jisx0208): New variable.
2980 (Qhiragana_jisx0208): New variable.
2981 (Qkatakana_jisx0208): New variable.
2982 (make_charset): Add new argument `byte_offset'.
2983 (charset_get_byte1): Modify for new coded-charset definition; use
2984 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2985 `XCHARSET_BYTE_OFFSET'.
2986 (Fmake_charset): Modify for `make_charset'.
2987 (Fmake_reverse_direction_charset): Likewise.
2988 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
2989 `katakana-jisx0208'.
2990 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
2991 `.' in font registry of charset `katakana-jisx0201',
2992 `latin-jisx0201', `vietnamese-viscii-lower' and
2993 `vietnamese-viscii-upper'; modify DOC-string of charset
2994 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
2995 registry of charset `japanese-jisx0208' not to use font for JIS
2996 X0208:1990; add new charset `hiragana-jisx0208' and
2997 `katakana-jisx0208'.
2999 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
3000 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
3001 (struct Lisp_Charset): Add `byte_offset'.
3002 (CHARSET_BYTE_OFFSET): New macro.
3003 (XCHARSET_UCS_MIN): New macro.
3004 (XCHARSET_UCS_MAX): New macro.
3005 (XCHARSET_CODE_OFFSET): New macro.
3006 (XCHARSET_BYTE_OFFSET): New macro.
3007 (MIN_CHAR_HIRAGANA): New macro.
3008 (MAX_CHAR_HIRAGANA): New macro.
3009 (MIN_CHAR_KATAKANA): New macro.
3010 (MAX_CHAR_KATAKANA): New macro.
3011 (MAKE_CHAR): Modify for new coded-charset definition; use
3012 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3013 `XCHARSET_BYTE_OFFSET'.
3015 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3017 * mule-charset.c (CHAR96): Deleted.
3018 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
3020 (latin_iso8859_2_to_ucs): Likewise.
3021 (latin_iso8859_3_to_ucs): Likewise.
3022 (latin_iso8859_4_to_ucs): Likewise.
3023 (latin_iso8859_9_to_ucs): Likewise.
3024 (latin_viscii_lower_to_ucs): Likewise.
3025 (latin_viscii_upper_to_ucs): Likewise.
3026 (latin_tcvn5712_to_ucs): Commented out.
3027 (make_charset): Change type of argument `decoding_table' from
3028 <Emchar*> to <Lisp_Object> [vector of characters].
3029 (Fmake_charset): Modify for `make_charset'.
3030 (Fmake_reverse_direction_charset): Likewise.
3031 (Fcharset_mapping_table): New function in UTF-2000.
3032 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
3034 (complex_vars_of_mule_charset): Modify for type change of
3035 `*_to_ucs'; modify for `make_charset'.
3037 * char-ucs.h (struct Lisp_Charset): Change type of
3038 `decoding_table' from <Emchar*> to <Lisp_Object>.
3039 (MAKE_CHAR): Modify for new specification of `decoding_table'.
3041 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3043 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
3044 error with non-UTF-2000-Mule.
3046 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
3048 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
3050 (Vcharset_chinese_cns11643_4): Likewise.
3051 (Vcharset_chinese_cns11643_5): Likewise.
3052 (Vcharset_chinese_cns11643_6): Likewise.
3053 (Vcharset_chinese_cns11643_7): Likewise.
3054 (Qchinese_cns11643_3): Likewise.
3055 (Qchinese_cns11643_4): Likewise.
3056 (Qchinese_cns11643_5): Likewise.
3057 (Qchinese_cns11643_6): Likewise.
3058 (Qchinese_cns11643_7): Likewise.
3059 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
3060 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3061 and `chinese-cns11643-7' to lisp/mule/chinese.el.
3062 (complex_vars_of_mule_charset): Likewise.
3064 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3066 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
3068 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
3069 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
3071 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3073 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
3075 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
3076 (breakup_char_1): Likewise.
3078 * text-coding.c (char_encode_iso2022): Keep designated charsets if
3079 one of them includes the specified character.
3081 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3083 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
3085 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3087 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
3089 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3091 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
3092 definition for non-UTF-2000 Mule.
3093 (latin_iso8859_3_to_ucs): Likewise.
3094 (latin_iso8859_4_to_ucs): Likewise.
3095 (latin_iso8859_9_to_ucs): Likewise.
3096 (latin_jisx0201_to_ucs): Likewise.
3097 (MIN_CHAR_THAI): Likewise.
3098 (MAX_CHAR_THAI): Likewise.
3099 (MIN_CHAR_GREEK): Likewise.
3100 (MAX_CHAR_GREEK): Likewise.
3101 (MIN_CHAR_HEBREW): Likewise.
3102 (MAX_CHAR_HEBREW): Likewise.
3103 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
3104 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
3105 (MIN_CHAR_CYRILLIC): Likewise.
3106 (MAX_CHAR_CYRILLIC): Likewise.
3108 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3110 * char-ucs.h (breakup_char_1): Use
3111 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
3112 thai-tis620 and katakana-jisx0201 area.
3114 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3116 * char-ucs.h (breakup_char_1): Use
3117 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
3120 * text-coding.c (reset_encoding_stream): Fixed.
3121 (char_encode_ucs4): Delete `& 255'.
3123 * char-ucs.h (breakup_char_1): Use
3124 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
3126 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3128 * file-coding.c (Fmake_coding_system): Don't set up
3129 `codesys->fixed.size'.
3130 (encode_coding_no_conversion): Don't refer
3131 `str->codesys->fixed.size'.
3133 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3135 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
3136 (latin_a_char_to_byte1): Deleted.
3137 (latin_a_char_to_byte2): Deleted.
3139 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3141 * mule-charset.c (make_charset): Add new argument `ucs_min',
3142 `ucs_max' and `code_offset'.
3143 (charset_get_byte1): New implementation [delete specific charset
3144 depended implementations].
3145 (Fmake_charset): Modify for `make_charset'.
3146 (Fmake_reverse_direction_charset): Likewise.
3147 (complex_vars_of_mule_charset): Likewise.
3149 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
3151 (CHARSET_UCS_MIN): New macro.
3152 (CHARSET_UCS_MAX): New macro.
3153 (CHARSET_CODE_OFFSET): New macro.
3154 (MAKE_CHAR): Delete charset depended definitions [except
3157 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3159 * char-ucs.h (breakup_char_1): Use
3160 `Vdefault_coded_charset_priority_list' for C0-Controls,
3161 Basic-Latin, C1-Controls and Latin-1-Supplement area.
3163 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3165 * char-ucs.h (charset_get_byte1): New function.
3166 (XCHARSET_GET_BYTE1): Deleted.
3167 (charset_get_byte2): New function.
3168 (XCHARSET_GET_BYTE2): Deleted.
3169 (Vdefault_coded_charset_priority_list): New external variable.
3170 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3171 `Vdefault_preferred_coded_charset_list'.
3173 * mule-charset.c (charset_get_byte1): New function.
3174 (charset_get_byte2): New function.
3175 (Vdefault_coded_charset_priority_list): New variable.
3176 (vars_of_mule_charset): Add new variable
3177 `default-coded-charset-priority-list'.
3179 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3181 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3182 (XCHARSET_GET_BYTE2): New inline function.
3183 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3184 `XCHARSET_GET_BYTE2'.
3186 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3188 * mule-charset.c (make_charset): Initialize
3189 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3190 NULL if table is not defined.
3192 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3194 * text-coding.c (char_encode_shift_jis): Use
3195 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3196 `ucs_to_latin_jisx0201'.
3198 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3199 (ucs_to_latin_iso8859_2): Deleted.
3200 (ucs_to_latin_iso8859_3): Deleted.
3201 (ucs_to_latin_iso8859_4): Deleted.
3202 (ucs_to_latin_iso8859_9): Deleted.
3203 (ucs_to_latin_viscii_lower): Deleted.
3204 (ucs_to_latin_viscii_upper): Deleted.
3205 (ucs_to_latin_tcvn5712): Deleted.
3206 (make_charset): Add new argument `decoding_table'; set up
3207 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3208 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3209 `decoding_table' is defined in UTF-2000.
3210 (Fmake_charset): Modify for `make_charset'.
3211 (Fmake_reverse_direction_charset): Likewise.
3212 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3213 and `GENERATE_96_SET'.
3215 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3216 (ucs_to_latin_jisx0201): Deleted.
3217 (latin_iso8859_2_to_ucs): Deleted.
3218 (ucs_to_latin_iso8859_2): Deleted.
3219 (latin_iso8859_3_to_ucs): Deleted.
3220 (ucs_to_latin_iso8859_3): Deleted.
3221 (latin_iso8859_4_to_ucs): Deleted.
3222 (ucs_to_latin_iso8859_4): Deleted.
3223 (latin_iso8859_9_to_ucs): Deleted.
3224 (ucs_to_latin_iso8859_9): Deleted.
3225 (latin_viscii_lower_to_ucs): Deleted.
3226 (ucs_to_latin_viscii_lower): Deleted.
3227 (latin_viscii_upper_to_ucs): Deleted.
3228 (ucs_to_latin_viscii_upper): Deleted.
3229 (struct Lisp_Charset): Renamed `encoding_table' to
3230 `to_byte1_table'; add `to_byte2_table'.
3231 (CHARSET_DECODING_TABLE): New macro.
3232 (CHARSET_TO_BYTE1_TABLE): New macro.
3233 (CHARSET_TO_BYTE2_TABLE): New macro.
3234 (XCHARSET_DECODING_TABLE): New macro.
3235 (XCHARSET_TO_BYTE1_TABLE): New macro.
3236 (XCHARSET_TO_BYTE2_TABLE): New macro.
3237 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3239 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3240 don't use `ucs_to_*' tables.
3242 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3244 * text-coding.c (Fmake_coding_system): Don't set up
3245 `codesys->fixed.size'.
3246 (encode_coding_no_conversion): Use `if' instead of `switch'.
3248 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3250 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3252 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3253 (Fmake_charset): Modify for `make_charset'.
3254 (Fmake_reverse_direction_charset): Likewise.
3255 (complex_vars_of_mule_charset): Likewise.
3257 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3259 * text-coding.c (char_encode_shift_jis): Use table
3260 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3262 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3264 * text-coding.c (text_encode_generic): Use `if' instead of
3266 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3269 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3271 * text-coding.c (encode_coding_sjis): Deleted.
3272 (char_encode_shift_jis): New function.
3273 (char_finish_shift_jis): New function.
3274 (reset_encoding_stream): Set up `encode_char' and `finish' for
3275 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3276 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3277 (char_encode_utf8): Treat `eol_type'.
3279 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3281 * file-coding.c (decode_coding_iso2022): Use
3282 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3284 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3286 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3289 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3291 * char-lb.h (CHAR_COLUMNS): New macro.
3293 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3295 * text-coding.c (char_encode_ucs4): New function.
3296 (char_finish_ucs4): New function.
3297 (encode_coding_ucs4): Deleted.
3298 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3299 (text_encode_generic): Delete local variable `charset' and `half'.
3300 (ucs_to_mule_table): Deleted.
3301 (mule_to_ucs_table): Deleted.
3302 (Fset_ucs_char): Deleted.
3303 (ucs_to_char): Deleted.
3304 (Fucs_char): Deleted.
3305 (Fset_char_ucs): Deleted.
3306 (Fchar_ucs): Deleted.
3307 (decode_ucs4): Deleted.
3308 (mule_char_to_ucs4): Deleted.
3309 (encode_ucs4): Deleted.
3310 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3311 (decode_coding_utf8): Likewise.
3312 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3313 (char_encode_iso2022): Fixed.
3314 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3315 `Fset_char_ucs' and `Fchar_ucs'.
3316 (complex_vars_of_file_coding): Don't initialize
3317 `ucs_to_mule_table'.
3319 * objects-tty.c (tty_initialize_font_instance): Don't use
3322 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
3325 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
3326 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3328 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
3329 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3330 (emchar_string_displayed_columns): Likewise.
3332 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
3333 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3334 (string_column_at_point): Likewise.
3335 (Fmove_to_column): Likewise.
3337 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
3338 `encoding_table' and `decoding_table'.
3339 (CHARSET_REP_BYTES): Deleted.
3340 (XCHARSET_REP_BYTES): Deleted.
3341 (XCHARSET_COLUMNS): Deleted.
3342 (CHAR_COLUMNS): New macro.
3343 (lookup_composite_char): Deleted unconditionally.
3344 (composite_char_string): Likewise.
3346 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3348 * char-ucs.h (Emchar_to_byte_table): New type.
3349 (get_byte_from_character_table): New function interface.
3350 (Vcharset_latin_jisx0201): New variable.
3351 (latin_jisx0201_to_ucs): New variable.
3352 (ucs_to_latin_jisx0201): New variable.
3353 (Vcharset_latin_iso8859_2): New variable.
3354 (latin_iso8859_2_to_ucs): New variable.
3355 (ucs_to_latin_iso8859_2): New variable.
3356 (Vcharset_latin_iso8859_3): New variable.
3357 (latin_iso8859_3_to_ucs): New variable.
3358 (ucs_to_latin_iso8859_3): New variable.
3359 (Vcharset_latin_iso8859_4): New variable.
3360 (latin_iso8859_4_to_ucs): New variable.
3361 (ucs_to_latin_iso8859_4): New variable.
3362 (Vcharset_latin_iso8859_9): New variable.
3363 (latin_iso8859_9_to_ucs): New variable.
3364 (ucs_to_latin_iso8859_9): New variable.
3365 (Vcharset_latin_viscii_lower): New variable.
3366 (latin_viscii_lower_to_ucs): New variable.
3367 (ucs_to_latin_viscii_lower): New variable.
3368 (Vcharset_latin_viscii_upper): New variable.
3369 (latin_viscii_upper_to_ucs): New variable.
3370 (ucs_to_latin_viscii_upper): New variable.
3371 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
3372 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
3373 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
3374 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
3375 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
3376 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
3377 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
3378 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
3379 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
3380 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
3382 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
3383 (Vcharset_latin_viscii_upper): New variable.
3384 (make_byte_from_character_table): New function.
3385 (put_byte_from_character_table): New function.
3386 (get_byte_from_character_table): New function.
3387 (CHAR96): New macro.
3388 (ucs_to_latin_jisx0201): New variable.
3389 (latin_jisx0201_to_ucs): New variable.
3390 (ucs_to_latin_iso8859_2): New variable.
3391 (latin_iso8859_2_to_ucs): New variable.
3392 (ucs_to_latin_iso8859_3): New variable.
3393 (latin_iso8859_3_to_ucs): New variable.
3394 (ucs_to_latin_iso8859_4): New variable.
3395 (latin_iso8859_4_to_ucs): New variable.
3396 (ucs_to_latin_iso8859_9): New variable.
3397 (latin_iso8859_9_to_ucs): New variable.
3398 (ucs_to_latin_viscii_lower): New variable.
3399 (latin_viscii_lower_to_ucs): New variable.
3400 (ucs_to_latin_viscii_upper): New variable.
3401 (latin_viscii_upper_to_ucs): New variable.
3402 (ucs_to_latin_tcvn5712): New variable.
3403 (latin_tcvn5712_to_ucs): New variable.
3404 (Qlatin_viscii_lower): New variable.
3405 (Qlatin_viscii_upper): New variable.
3406 (syms_of_mule_charset): Set up new symbol
3407 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
3408 (complex_vars_of_mule_charset): Set up new charset
3409 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
3410 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
3411 `ucs_to_<CHARSET>' tables.
3413 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3415 * text-coding.c: New file.
3417 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3419 * mule-charset.c (Fmake_char): Fix problem of 256-set.
3421 * char-ucs.h (Vcharset_ucs_bmp): New variable.
3422 (MAKE_CHAR): Modify for `ucs-bmp'.
3423 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
3424 non-MULE characters of BMP.
3426 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
3428 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3431 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
3434 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
3435 - Include character.h for `CHAR_ASCII_P'.
3437 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
3439 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
3440 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
3442 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
3443 (BYTE_C0_P): Likewise.
3444 (BYTE_C1_P): Likewise.
3445 (Lstream_get_emchar_1): Likewise.
3446 (Lstream_fput_emchar): Likewise.
3447 (Lstream_funget_emchar): Likewise.
3448 (copy_internal_to_external): Likewise.
3449 (copy_external_to_internal): Likewise.
3451 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
3452 (BYTE_C0_P): Likewise.
3453 (BYTE_C1_P): Likewise.
3454 (Lstream_get_emchar_1): Likewise.
3455 (Lstream_fput_emchar): Likewise.
3456 (Lstream_funget_emchar): Likewise.
3457 (copy_internal_to_external): Likewise.
3458 (copy_external_to_internal): Likewise.
3460 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
3461 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3463 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
3464 (BYTE_ASCII_P): Moved to mb-1byte.h.
3466 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
3468 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
3470 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
3471 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
3472 (VALID_CHARPTR_P): Moved to mb-*byte.h.
3473 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3474 (VALIDATE_CHARPTR_FORWARD): Likewise.
3475 (simple_charptr_emchar): Moved to mb-multibyte.h.
3476 (simple_set_charptr_emchar): Likewise.
3477 (simple_charptr_copy_char): Likewise.
3478 (non_ascii_charptr_emchar): Likewise.
3479 (non_ascii_set_charptr_emchar): Likewise.
3480 (non_ascii_charptr_copy_char): Likewise.
3481 (charptr_emchar): Moved to mb-*byte.h.
3482 (set_charptr_emchar): Likewise.
3483 (charptr_copy_char): Likewise.
3485 * mb-1byte.h, mb-multibyte.h: New files.
3487 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3489 * mb-utf-8.h (MULTIBYTE): New macro.
3490 (MAX_EMCHAR_LEN): Moved from buffer.h.
3491 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
3493 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
3495 * mb-lb.h, multibyte.h: New files.
3497 * char-1byte.h (Charset_ID): Moved from buffer.h.
3498 (MIN_LEADING_BYTE): Likewise.
3499 (LEADING_BYTE_ASCII): Likewise.
3500 (NUM_LEADING_BYTES): Likewise.
3501 (CHARSETP): Likewise.
3502 (CHARSET_BY_LEADING_BYTE): Likewise.
3503 (XCHARSET_LEADING_BYTE): Likewise.
3504 (XCHARSET_GRAPHIC): Likewise.
3505 (XCHARSET_COLUMNS): Likewise.
3506 (XCHARSET_DIMENSION): Likewise.
3507 (CHAR_CHARSET): Likewise.
3508 (CHAR_LEADING_BYTE): Likewise.
3509 (BREAKUP_CHAR): Likewise.
3510 (Vcharset_ascii): Likewise.
3512 * buffer.h: Include multibyte.h unconditionally.
3513 (VALID_CHARPTR_P): Moved to multibyte.h.
3514 (ASSERT_VALID_CHARPTR): Likewise.
3515 (REAL_INC_CHARPTR): Likewise.
3516 (REAL_INC_CHARBYTIND): Likewise.
3517 (REAL_DEC_CHARPTR): Likewise.
3518 (INC_CHARPTR): Likewise.
3519 (INC_CHARBYTIND): Likewise.
3520 (DEC_CHARPTR): Likewise.
3521 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3522 (VALIDATE_CHARPTR_FORWARD): Likewise.
3523 (charptr_n_addr): Likewise.
3524 (MAX_EMCHAR_LEN): Moved to mb-*.h.
3525 (simple_charptr_emchar): Moved to multibyte.h.
3526 (simple_set_charptr_emchar): Likewise.
3527 (simple_charptr_copy_char): Likewise.
3528 (non_ascii_charptr_emchar): Likewise.
3529 (non_ascii_set_charptr_emchar): Likewise.
3530 (non_ascii_charptr_copy_char): Likewise.
3531 (charptr_emchar): Likewise.
3532 (set_charptr_emchar): Likewise.
3533 (charptr_copy_char): Likewise.
3534 (charptr_emchar_n): Likewise.
3535 (Charset_ID): Moved to char-1byte.h.
3536 (Vcharset_ascii): Likewise.
3537 (CHAR_CHARSET): Likewise.
3538 (CHAR_LEADING_BYTE): Likewise.
3539 (LEADING_BYTE_ASCII): Likewise.
3540 (NUM_LEADING_BYTES): Likewise.
3541 (MIN_LEADING_BYTE): Likewise.
3542 (CHARSETP): Likewise.
3543 (CHARSET_BY_LEADING_BYTE): Likewise.
3544 (XCHARSET_LEADING_BYTE): Likewise.
3545 (XCHARSET_GRAPHIC): Likewise.
3546 (XCHARSET_COLUMNS): Likewise.
3547 (XCHARSET_DIMENSION): Likewise.
3548 (BREAKUP_CHAR): Likewise.
3550 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3552 * character.h: Add document about interface for characters.
3554 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
3555 (MAKE_CHAR): Delete comment about
3556 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
3557 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
3558 (BREAKUP_CHAR): Modify name of arguments.
3559 (CHAR_CHARSET): Modify name of argument.
3561 * buffer.h: Delete document about Emchar accessors.
3563 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3565 * character.h (CHAR_INTP): Moved from buffer.h
3566 (CHAR_OR_CHAR_INTP): Likewise.
3567 (XCHAR_OR_CHAR_INT): Likewise.
3568 (CHECK_CHAR_COERCE_INT): Likewise.
3570 * buffer.h (CHAR_INTP): Moved to character.h
3571 (CHAR_OR_CHAR_INTP): Likewise.
3572 (XCHAR_OR_CHAR_INT): Likewise.
3573 (CHECK_CHAR_COERCE_INT): Likewise.
3575 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3578 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
3579 - Include char-1byte.h, char-lb.h or char-ucs.h.
3581 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
3583 * buffer.h: Include character unconditionally.
3584 (valid_char_p): Moved to char-*.h.
3585 (non_ascii_valid_char_p): Moved to char-lb.h.
3587 * char-1byte.h, char-lb.h, char-ucs.h: New files.
3589 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3591 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
3592 in UTF-2000 because it is not ported yet and not to use
3593 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
3594 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
3595 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
3597 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
3598 (CHAR_ASCII_P): Moved from character.h.
3600 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
3601 (CHAR_ASCII_P): Likewise.
3602 (CHAR_FIELD1_MASK): Deleted.
3603 (CHAR_FIELD2_MASK): Deleted.
3604 (CHAR_FIELD3_MASK): Deleted.
3605 (MAX_CHAR_BASIC_LATIN): New macro.
3606 (CHAR_FIELD1): Deleted.
3607 (CHAR_FIELD2_INTERNAL): Deleted.
3608 (CHAR_FIELD3_INTERNAL): Deleted.
3609 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
3610 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
3611 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
3612 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
3613 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
3614 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
3615 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
3616 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
3617 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
3618 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
3619 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
3620 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
3621 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
3622 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
3623 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
3624 (MIN_CHAR_COMPOSITION): Deleted.
3625 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
3626 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
3628 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
3630 * buffer.h: Include mb-utf-8.h in UTF-2000.
3632 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
3634 * mb-utf-8.h: New file.
3636 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
3638 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
3641 * mule-charset.h, buffer.h (Charset_ID): New type.
3643 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3645 * mule-canna.c (c2mu): Use `MAKE_CHAR',
3646 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
3647 instead of `MULE_CHAR_PRIVATE_OFFSET',
3648 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
3649 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
3650 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
3652 * character.h (Vcharset_japanese_jisx0212): New variable
3655 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3657 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
3658 (charset_by_attributes): Delete array about direction.
3659 (latin_a_char_to_charset): New variable in UTF-2000.
3660 (latin_a_char_to_byte1): New variable in UTF-2000.
3661 (latin_a_char_to_byte2): New variable in UTF-2000.
3662 (Qucs_bmp): New variable.
3663 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
3665 (next_allocated_2_byte_leading_byte): Likewise.
3666 (non_ascii_set_charptr_emchar): Likewise.
3667 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
3668 `CHARSET_TYPE_256X256' in UTF-2000; modify for
3669 `charset_by_attributes'.
3670 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
3671 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
3672 and `CHARSET_BY_LEADING_BYTE'.
3673 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
3674 `utf-2000-version' to `vars_of_mule_charset'.
3675 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
3676 define `leading-code-private-11' in UTF-2000; move setting of
3677 `utf-2000-version' from `syms_of_mule_charset'.
3678 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
3681 * character.h (Charset_ID): New type.
3682 (LEADING_BYTE_UCS_BMP): New macro.
3683 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
3684 (CHARSET_ID_OFFSET_94): New macro.
3685 (MIN_CHARSET_ID_PRIVATE_94): New macro.
3686 (MAX_CHARSET_ID_PRIVATE_94): New macro.
3687 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
3689 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
3690 (LEADING_BYTE_LATIN_JISX0201): Likewise.
3691 (CHARSET_ID_OFFSET_96): New macro.
3692 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
3693 CHARSET_ID_OFFSET_96 and final-byte.
3694 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
3695 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
3696 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
3697 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
3698 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
3699 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
3700 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
3701 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
3702 (LEADING_BYTE_THAI_TIS620): Likewise.
3703 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
3704 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
3705 (CHARSET_ID_OFFSET_94x94): New macro.
3706 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
3707 CHARSET_ID_OFFSET_94x94 and final-byte.
3708 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
3709 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
3710 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
3711 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
3712 (LEADING_BYTE_CHINESE_GB2312): Likewise.
3713 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
3714 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
3715 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
3716 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
3717 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
3718 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
3719 (CHARSET_TYPE_128X128): New macro.
3720 (CHARSET_TYPE_256X256): New macro.
3721 (XCHARSET_PRIVATE_P): Delete unconditionally.
3722 (charset_by_attributes): Delete array about direction.
3723 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
3724 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
3725 (MIN_CHAR_94): New macro.
3726 (MAX_CHAR_94): New macro.
3727 (MIN_CHAR_96): New macro.
3728 (MAX_CHAR_96): New macro.
3729 (MIN_CHAR_94x94): New macro.
3730 (MAX_CHAR_94x94): New macro.
3731 (MIN_CHAR_96x96): New macro.
3732 (MAX_CHAR_96x96): New macro.
3733 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
3734 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3735 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
3737 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
3738 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
3739 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
3740 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
3741 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
3742 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
3743 `XCHARSET_LEADING_BYTE' to make code-point.
3744 (latin_a_char_to_charset): New variable.
3745 (latin_a_char_to_byte1): New variable.
3746 (latin_a_char_to_byte2): New variable.
3747 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
3748 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
3749 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
3751 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
3752 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
3753 (find_charsets_in_emchar_string): Likewise.
3754 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
3756 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
3758 (decode_coding_iso2022): Likewise.
3760 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
3763 * redisplay.c (redisplay_text_width_emchar_string): Use
3764 `Charset_ID' instead of `unsigned char'.
3765 (redisplay_frame_text_width_string): Likewise.
3767 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
3770 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
3771 instead of `unsigned char'.
3772 (face_cachel_charset_font_metric_info): Likewise.
3774 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
3775 (get_non_ascii_char_table_value): Likewise.
3776 (get_char_table): Likewise.
3777 (put_char_table): Likewise.
3778 (map_over_other_charset): Likewise.
3779 (map_char_table): Likewise.
3781 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
3782 instead of `unsigned char'.
3784 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
3786 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
3787 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
3789 * mule-charset.c (leading_code_private_11): Don't define in
3792 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
3793 in UTF-2000 because it is not ported yet and not to use
3794 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
3796 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
3798 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
3800 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3802 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
3805 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
3806 of unsigned char to store leading-byte.
3808 * chartab.c (get_non_ascii_char_table_value): Don't use
3809 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
3811 * file-coding.c (encode_coding_big5): Delete bogus implementation
3814 * character.h (LEADING_BYTE_*): Delete definition for
3816 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
3817 (LEADING_BYTE_PREFIX_P): Deleted.
3818 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
3819 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
3820 (BUFBYTE_LEADING_BYTE_P): Deleted.
3821 (CHARSET_PRIVATE_P): Deleted unconditionally.
3822 (rep_bytes_by_first_byte): Deleted unconditionally.
3823 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
3824 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
3825 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3826 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
3827 (CHAR_FIELD2): Deleted.
3828 (CHAR_FIELD3): Deleted.
3829 (MAKE_CHAR): Delete definition for non-UTF-2000.
3830 (BREAKUP_CHAR_1_UNSAFE): Deleted.
3831 (breakup_char_1): New implementation.
3832 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
3833 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
3835 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3837 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
3840 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3842 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
3843 (CHARSET_PRIVATE_P): Likewise.
3844 (XCHARSET_PRIVATE_P): Likewise.
3845 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
3847 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
3849 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
3851 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3853 * character.h (LEADING_BYTE_*): Changed in UTF2000.
3854 (NUM_LEADING_BYTES): Changed from 128 to 256.
3855 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3856 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
3858 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3860 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
3862 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
3863 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
3864 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
3865 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
3866 (Qchinese_cns11643_3): New variable in UTF2000.
3867 (Qchinese_cns11643_4): New variable in UTF2000.
3868 (Qchinese_cns11643_5): New variable in UTF2000.
3869 (Qchinese_cns11643_6): New variable in UTF2000.
3870 (Qchinese_cns11643_7): New variable in UTF2000.
3871 (syms_of_mule_charset): Define `chinese-cns11643-3',
3872 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3873 and `chinese-cns11643-7' in UTF2000.
3874 (vars_of_mule_charset): Initialize
3875 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
3877 (complex_vars_of_mule_charset): Setup charset
3878 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
3879 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
3881 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3883 * mule-charset.c: Move setting for `leading-code-private-11' from
3884 `syms_of_mule_charset' to `vars_of_mule_charset'.
3886 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3888 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
3889 and `NUM_LEADING_BYTES' in assert.
3891 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3893 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
3895 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
3896 `NUM_LEADING_BYTES' instead of 128.
3898 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3900 * mule-charset.h (charset_by_leading_byte): Use
3901 `NUM_LEADING_BYTES' instead of 128.
3902 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
3904 * mule-charset.c (charset_by_leading_byte): Use
3905 `NUM_LEADING_BYTES' instead of 128.
3906 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
3908 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
3911 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3913 * mule-charset.c (syms_of_mule_charset): Update to
3916 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
3918 * file-coding.c (encode_coding_sjis): New implementation for
3919 UTF2000. (decode_coding_sjis): Ditto.
3921 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3923 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
3924 Don't define in UTF2000.
3926 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
3929 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3930 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
3933 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3935 * config.h.in (CHAR_IS_UCS4): New macro.
3937 * mule-charset.c (rep_bytes_by_first_byte): Modify for
3938 conventional MULE representation.
3939 (syms_of_mule_charset): Update to 0.3 (Imamiya).
3941 * mule-charset.h: Reverted to original.
3943 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3944 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
3945 "mule-charset.h" if CHAR_IS_UCS4 is defined.
3947 * character.h: New file.
3949 * file-coding.c (Fmake_coding_system): Set 1 to
3950 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
3952 (encode_coding_no_conversion): New implementation for UTF2000.
3954 * file-coding.h (struct Lisp_Coding_System): Add new member
3957 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
3959 * file-coding.c (decode_coding_iso2022): Code-point arguments of
3960 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
3961 (encode_coding_iso2022): New implementation for UTF2000.
3963 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3965 * mule-canna.c (c2mu): New implementation for UTF2000.
3968 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3970 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
3972 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3974 * file-coding.c (reset_encoding_stream): Set 0 to
3975 `str->iso2022.current_char_boundary' in UTF2000.
3976 (encode_utf8): Don't define in UTF2000.
3977 (encode_coding_utf8): New implementation for UTF-8 representation
3979 (complex_vars_of_file_coding): Define coding-system `utf-8'.
3981 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3983 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
3985 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
3987 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3989 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
3991 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
3992 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
3993 as UTF-8 in UTF2000.
3994 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
3995 (non_ascii_valid_char_p): Don't define in UTF2000.
3996 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
3997 (Lstream_get_emchar_1): Likewise.
3998 (utf-2000-version): New variable in UTF2000.
4000 * lread.c (read_escape): Add new reader `u'.
4002 * insdel.c (three_to_one_table): Don't define in UTF2000.
4003 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
4004 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4006 (bytind_to_bufpos_func): Likewise.
4007 (buffer_mule_signal_inserted_region): Likewise.
4008 (vars_of_insdel): Don't initialize `three_to_one_table'.
4009 (init_buffer_text): Use `buf->text->mule_size' instead of
4010 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4013 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
4014 UTF-8 representation in UTF2000.
4015 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
4016 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
4017 (decode_coding_iso2022): Don't define local variable `lb' in
4018 UTF2000; don't use LEADING_BYTE in UTF2000; use
4019 `DECODE_ADD_UCS_CHAR' in UTF2000.
4020 (convert_to_external_format): Decode as UTF-8 in UTF2000.
4022 * config.h.in (UTF2000): New macro.
4024 * buffer.h (struct buffer_text): Add new member `mule_size' and
4025 don't add `mule_shifter' and `mule_three_p' in UTF2000.
4026 (valid_char_p): Return always 1 in UTF2000.
4027 (MAX_EMCHAR_LEN): 6 in UTF2000.
4028 (three_to_one_table): Don't define in UTF2000.
4029 (real_bufpos_to_bytind): Modify for UTF-8 representation in
4031 (real_bytind_to_bufpos): Likewise.
4033 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
4035 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4037 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
4038 representation change.
4039 (Vutf_2000_version): New variable.
4040 (leading_code_private_11): New variable.
4041 (syms_of_mule_charset): Add new variables `utf-2000-version' and
4042 `leading-code-private-11'.
4044 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
4045 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
4046 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
4047 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
4048 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
4049 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
4050 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
4051 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
4052 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
4053 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
4054 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
4055 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
4056 (MIN_CHAR_GREEK): New macro.
4057 (MAX_CHAR_GREEK): New macro.
4058 (MIN_CHAR_CYRILLIC): New macro.
4059 (MAX_CHAR_CYRILLIC): New macro.
4060 (MIN_CHAR_HEBREW): New macro.
4061 (MAX_CHAR_HEBREW): New macro.
4062 (MIN_CHAR_THAI): New macro.
4063 (MAX_CHAR_THAI): New macro.
4064 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
4065 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
4066 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
4067 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
4068 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
4069 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
4070 (CHAR_FIELD2): New inline function.
4071 (CHAR_FIELD3): New inline function.
4072 (MULE_CHAR_PRIVATE_OFFSET): New macro.
4073 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
4074 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
4075 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
4076 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
4077 (MIN_CHAR_COMPOSITION): Likewise.
4078 (CHAR_LEADING_BYTE): Modified for character representation change.
4079 (MAKE_CHAR): Likewise.
4081 * lisp.h (Vcharset_latin_iso8859_1): New variable.
4082 (Vcharset_greek_iso8859_7): Likewise.
4083 (Vcharset_cyrillic_iso8859_5): Likewise.
4084 (Vcharset_hebrew_iso8859_8): Likewise.
4085 (Vcharset_thai_tis620): Likewise.
4086 (Vcharset_katakana_jisx0201): Likewise.
4088 2001-02-08 Martin Buchholz <martin@xemacs.org>
4090 * XEmacs 21.2.44 "Thalia" is released.
4092 2001-02-06 Martin Buchholz <martin@xemacs.org>
4094 Fixes crashes in kill-emacs on some systems.
4095 * process-unix.c (unix_kill_child_process):
4096 It's OK for kill() to fail with ESRCH.
4098 2001-02-07 Martin Buchholz <martin@xemacs.org>
4100 Contortions to make .gdbinit tricks work on most systems.
4101 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
4102 * alloc.c (dbg_valmask): Make non-const.
4103 * alloc.c (dbg_typemask): Make non-const.
4104 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
4105 * alloc.c (dbg_valbits): Make non-const.
4106 * alloc.c (dbg_gctypebits): Make non-const.
4107 * .gdbinit (decode_object): Make it work with AIX cc.
4109 2001-02-06 Martin Buchholz <martin@xemacs.org>
4111 * elhash.c (make_general_lisp_hash_table):
4112 Use simpler and more efficient calloc to clear entries.
4114 2001-02-07 Martin Buchholz <martin@xemacs.org>
4116 * window.c (window_scroll): Work around an AIX C compiler bug.
4117 Fixes 'scroll-up' does nothing problem with xlC.
4119 2001-02-05 Martin Buchholz <martin@xemacs.org>
4121 * .gdbinit: Remove obsolete comment.
4123 2001-01-31 Mike Alexander <mta@arbortext.com>
4125 * select.c (Fown_selection_internal): Set owned_p for device
4128 2001-02-01 Martin Buchholz <martin@xemacs.org>
4131 "not" cannot be used as a macro name as it is an operator in C++
4132 * config.h.in: Stop #defining `not'.
4133 * chartab.c (check_category_char): not ==> not_p
4134 * chartab.h: Likewise.
4135 * regex.c (re_match_2_internal): Likewise.
4137 2001-02-02 Martin Buchholz <martin@xemacs.org>
4139 * lisp-disunion.h: Fix up comments.
4141 2001-01-31 Martin Buchholz <martin@xemacs.org>
4143 * keymap.c (define_key_check_and_coerce_keysym):
4145 Support mouse-6 and mouse-7 bindings in the obvious way.
4147 2001-02-01 Martin Buchholz <martin@xemacs.org>
4149 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
4151 2001-01-30 Martin Buchholz <martin@xemacs.org>
4153 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
4154 Previous patch missed DEFVAR_INT_MAGIC.
4155 Make sure future DEFVAR_foo use correct types.
4156 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
4157 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
4158 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
4159 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
4160 * (DEFVAR_INT): Likewise.
4161 * redisplay.c (vertical_clip): Should be of type Fixnum.
4162 * redisplay.c (horizontal_clip): Likewise.
4163 * lisp.h (dump_add_opaque_int): New.
4164 (dump_add_opaque_fixnum): New.
4166 2001-01-29 Andy Piper <andy@xemacs.org>
4168 * glyphs-widget.c (check_valid_int_or_function): allow symbols
4169 since they can be eval'ed
4171 2001-01-29 Martin Buchholz <martin@xemacs.org>
4173 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
4174 Oops, XEmacs redefines `class'. Use `typename' instead.
4176 2001-01-28 Martin Buchholz <martin@xemacs.org>
4178 * dumper.c: Fix C++ compile errors.
4180 2001-01-29 Martin Buchholz <martin@xemacs.org>
4182 * tparam.c: Use correct prototypes.
4184 2001-01-28 Martin Buchholz <martin@xemacs.org>
4186 * sysproc.h: #include util.h for NetBSD's openpty.
4188 2001-01-27 Martin Buchholz <martin@xemacs.org>
4190 More 64-bit correctness.
4191 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
4192 Use a typedef `fixnum' for the type used for DEFVAR_INT.
4194 This finally finishes the 64-bit SGI port.
4195 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
4196 * symbols.c: Fix up comments and type casts.
4197 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
4198 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
4199 * symeval.h (Fixnum): New type.
4200 * symeval.h (symbol_value_type): Fix up comment.
4216 * mule-canna.c: A million DEFVAR_INTs here...
4217 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
4230 s/int/Fixnum/g in DEFVAR_INT declarations.
4232 2001-01-26 Martin Buchholz <martin@xemacs.org>
4234 Port pdump to SGI alignment-sensitive environment.
4235 Lisp Object sizeof methods now return aligned sizes. Rely on that.
4236 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
4238 Define and use aligned reading and writing macros.
4239 Use buffered stdio instead of posix i/o for faster dumping.
4240 Eliminate kludgy 256 byte space for header.
4241 Read and write from dump file using structs for alignment safety.
4242 * dumper.c (pdump_align_stream): New.
4243 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
4244 * dumper.c (PDUMP_READ_ALIGNED): New.
4245 * dumper.c (PDUMP_WRITE_ALIGNED): New.
4246 * dumper.c (pdump_static_Lisp_Object): New struct.
4247 * dumper.c (pdump_static_pointer): New struct.
4248 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
4249 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
4250 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
4251 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
4253 * dumper.c (pdump_backtrace):
4254 * dumper.c (pdump_get_indirect_count):
4255 * dumper.c (pdump_register_object):
4256 * dumper.c (pdump_register_struct):
4257 * dumper.c (pdump_reloc_one):
4258 * dumper.c (pdump_scan_by_alignment):
4259 * dumper.c (pdump_dump_from_root_struct_ptrs):
4260 * dumper.c (pdump_dump_opaques):
4261 * dumper.c (pdump_dump_rtables):
4262 * dumper.c (pdump_dump_from_root_objects):
4264 * dumper.c (pdump_load_finish):
4265 Use aligned reading and writing.
4267 * dumper.c (pdump_free): Make static.
4268 * dumper.c (pdump_hFile): Likewise.
4269 * dumper.c (pdump_hMap): Likewise.
4271 2001-01-26 Martin Buchholz <martin@xemacs.org>
4273 * XEmacs 21.2.43 "Terspichore" is released.
4275 2001-01-25 Martin Buchholz <martin@xemacs.org>
4277 Type fiddling for window_config.saved_windows_count
4278 * window.c (struct window_config):
4279 Make saved_windows_count member unsigned.
4280 * window.c (sizeof_window_config_for_n_windows):
4281 Make parameter unsigned.
4282 * window.c (mark_window_config):
4283 * window.c (window_config_equal):
4284 * window.c (free_window_configuration):
4285 * window.c (Fset_window_configuration):
4286 * window.c (count_windows):
4287 * window.c (Fcurrent_window_configuration):
4288 * window.c (reinit_vars_of_window):
4289 Update all callers and users.
4291 2001-01-25 Martin Buchholz <martin@xemacs.org>
4293 Alignment correctness for flexible arrays.
4294 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
4295 Make alignment-correct. Add interesting comments.
4296 * alloc.c (size_vector):
4297 * alloc.c (make_vector_internal):
4298 * alloc.c (make_bit_vector_internal):
4299 * alloc.c (sweep_bit_vectors_1):
4300 * fns.c (size_bit_vector):
4301 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
4302 * window.c (sizeof_window_config_for_n_windows):
4303 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
4305 2001-01-24 Martin Buchholz <martin@xemacs.org>
4307 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
4309 2001-01-23 Andy Piper <andy@xemacs.org>
4311 * select.c (Fown_selection_internal): pass owned_p
4313 * select-msw.c (mswindows_own_selection): New Signature.
4315 * console.h (struct console_methods): add owned_p to
4318 * select-x.c (x_own_selection): pass owned_p
4319 (hack_motif_clipboard_selection): use owned_p
4320 (vars_of_select_x): new variable -
4321 x_selection_strict_motif_ownership.
4323 2001-01-23 Martin Buchholz <martin@xemacs.org>
4325 * specifier.h (specifier_data_offset): Remove pointless parens.
4326 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
4328 2001-01-24 Martin Buchholz <martin@xemacs.org>
4330 Make Lisp_Object sizeof methods be alignment-correct.
4331 pdump must restore objects to the same alignment as the C compiler
4332 assumes. It really matters on SGIs.
4333 * lstream.c (aligned_sizeof_lstream): New.
4334 (sizeof_lstream): Use aligned_sizeof_lstream.
4335 (Lstream_new): Likewise.
4336 * opaque.c (aligned_sizeof_opaque): New.
4337 (sizeof_opaque): Use aligned_sizeof_opaque.
4338 (make_opaque): Likewise.
4339 * specifier.c (aligned_sizeof_specifier): New.
4340 (sizeof_specifier): Use aligned_sizeof_specifier.
4341 (make_specifier_internal): Likewise.
4343 2001-01-23 Martin Buchholz <martin@xemacs.org>
4345 * lstream.h (struct lstream): Use max_align_t for trailing data.
4346 * specifier.h (struct Lisp_Specifier): Likewise.
4348 2001-01-22 Martin Buchholz <martin@xemacs.org>
4350 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
4351 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
4352 (CCL_SUSPEND): Likewise.
4353 (CCL_INVALID_CMD): Likewise.
4354 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
4355 (ccl_driver): Likewise.
4356 (CCL_WRITE_CHAR): Macro hygiene.
4357 (CCL_WRITE_STRING): Macro hygiene.
4359 2001-01-22 Martin Buchholz <martin@xemacs.org>
4361 Port "portable" dumper to SunOS 4 and HP-UX.
4362 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
4363 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
4364 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
4366 2001-01-22 Martin Buchholz <martin@xemacs.org>
4368 * lisp.h (ALIGNOF): A better definition for C++.
4370 2001-01-20 Martin Buchholz <martin@xemacs.org>
4373 Fix printf warnings: int format, long int arg.
4374 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
4375 (PUSH_FAILURE_POINT): Use correct printf formats.
4376 (POP_FAILURE_POINT): Use correct printf formats.
4377 Use do {...} while (0)
4379 2001-01-20 Martin Buchholz <martin@xemacs.org>
4381 * XEmacs 21.2.42 "Poseidon" is released.
4383 2001-01-20 Martin Buchholz <martin@xemacs.org>
4385 * console-x.h: typo fix du jour. Remove #if 0'ed code.
4387 2001-01-19 Martin Buchholz <martin@xemacs.org>
4389 De-kludgify FIXED_TYPE free list frobbing.
4390 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
4391 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
4392 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
4393 * alloc.c (Lisp_Free): New pseudo lisp object definition.
4394 * alloc.c (LRECORD_FREE_P): New.
4395 * alloc.c (MARK_LRECORD_AS_FREE): New.
4396 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
4397 * alloc.c (STRUCT_FREE_P): Deleted.
4398 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
4399 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
4400 * alloc.c (STRING_CHARS_FREE_P): New.
4401 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
4402 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
4403 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
4404 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
4405 * alloc.c (resize_string): Use new definitions.
4406 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
4407 * alloc.c (verify_string_chars_integrity): Use new definitions.
4408 * alloc.c (compact_string_chars): Use new definitions.
4409 * alloc.c: Update monster comments.
4410 * lrecord.h (lrecord_type): Add some new lrecord types for
4413 2001-01-18 Martin Buchholz <martin@xemacs.org>
4415 Improve alignment hackery.
4416 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
4417 (max_align_t): Moved from opaque.h - general purpose.
4418 (ALIGN_PTR): Use size_t, not long.
4419 * opaque.h (max_align_t): Move to lisp.h.
4421 2001-01-18 Norbert Koch <nk@LF.net>
4423 * gui.h: Fix and add prototypes to fix build problems.
4425 2001-01-18 Martin Buchholz <martin@xemacs.org>
4427 temacs is going away, so `dump-temacs' is now a bad name.
4428 * .dbxrc (dump-temacs): Rename to `dmp'.
4429 * .gdbinit (dump-temacs): Rename to `dmp'.
4431 2001-01-17 Andy Piper <andy@xemacs.org>
4433 * glyphs.c (print_image_instance): comment to make martin happy.
4435 * glyphs-x.c (x_redisplay_widget): update faces after a frame
4438 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
4440 (mswindows_tab_control_redisplay): warning suppression.
4442 * glyphs-widget.c (widget_update): re-write to cope with updated
4444 (widget_instantiate): use new gui_item functions.
4445 (tab_control_update): deleted.
4446 (progress_gauge_update): deleted.
4447 (image_instantiator_progress_guage): take out update reference.
4448 (image_instantiator_tree_view): ditto.
4449 (image_instantiator_tab_control): ditto.
4451 * gui.c (widget_gui_parse_item_keywords): new function. Do things
4453 (gui_item_add_keyval_pair): re-write to cope with descriptors and
4454 return whether anything was changed.
4455 (update_gui_item_keywords): as it sounds.
4457 * gui.h: declare widget_gui_parse_item_keywords.
4459 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
4460 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
4462 2001-01-17 Martin Buchholz <martin@xemacs.org>
4464 * XEmacs 21.2.41 "Polyhymnia" is released.
4466 2001-01-16 Didier Verna <didier@xemacs.org>
4468 * glyphs.c (image_instantiate): don't use fallbacks when
4469 instantiating a face's background pixmap by inheritance.
4471 2001-01-14 Mike Sperber <mike@xemacs.org>
4473 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
4474 Conditionalize accordingly.
4476 2001-01-16 Martin Buchholz <martin@xemacs.org>
4478 * dumper.c (pdump_file_get): Fix a compiler warning.
4480 2001-01-15 Martin Buchholz <martin@xemacs.org>
4482 Make Purify happy when pdumping.
4483 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
4484 iniitalizing all bits of new lisp object memory.
4485 * symbols.c (Fmake_local_variable): Likewise.
4486 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
4487 * symbols.c (Fdefvaralias): Likewise.
4488 * mule-charset.c (vars_of_mule_charset): Likewise.
4490 2001-01-15 Martin Buchholz <martin@xemacs.org>
4491 Add the `-nd' flag when running pre-dump operations under the debugger.
4492 * .dbxrc (run-temacs): Add `-nd'.
4493 * .dbxrc (update-elc): Likewise.
4494 * .dbxrc (dump-temacs): Likewise.
4495 * .gdbinit (run-temacs): Likewise.
4496 * .gdbinit (check-temacs): Likewise.
4497 * .gdbinit (update-elc): Likewise.
4498 * .gdbinit (dump-temacs): Likewise.
4500 2001-01-14 Martin Buchholz <martin@xemacs.org>
4502 Allow building 64-bit executables on AIX with GNU malloc, e.g.
4503 export OBJECT_MODE=64
4504 configure --pdump --use-union-type=no
4505 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
4506 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
4508 * miscplay.c (sndcnv8U_2mono):
4509 Avoid two uses of `++' in the same expression.
4510 Suppresses a GCC warning.
4512 2001-01-13 Martin Buchholz <martin@xemacs.org>
4514 Make sure future compilers don't miscompile alloc.c.
4516 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
4517 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
4519 2001-01-12 Martin Buchholz <martin@xemacs.org>
4521 * dumper.c: A little post-pdump-rename comment fixup.
4523 2001-01-09 Jerry James <james@eecs.ku.edu>
4525 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
4527 2001-01-13 Martin Buchholz <martin@xemacs.org>
4529 * *.[ch]: Globally rename symbols using the following `pdump-rename'
4533 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
4536 replace_symbol pdump_wire_lists pdump_weak_object_chains
4537 replace_symbol pdump_wire_list dump_add_weak_object_chain
4539 replace_symbol pdump_wires pdump_root_objects
4540 replace_symbol pdump_wire dump_add_root_object
4542 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
4543 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
4545 replace_symbol dumpstructinfos pdump_root_struct_ptrs
4546 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
4547 replace_symbol dumpstructinfo pdump_root_struct_ptr
4548 replace_symbol dumpstruct dump_add_root_struct_ptr
4550 replace_symbol dumpopaque dump_add_opaque
4551 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
4552 replace_symbol dumpopaqueinfos pdump_opaques
4553 replace_symbol dumpopaqueinfo pdump_opaque
4555 replace_symbol nb_structdump nb_root_struct_ptrs
4556 replace_symbol nb_opaquedump nb_opaques
4558 replace_symbol align_table pdump_align_table
4559 replace_symbol dump_header pdump_header
4561 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
4562 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
4565 2001-01-12 Martin Buchholz <martin@xemacs.org>
4567 * s/aix4.h: Keep the C for AIX compiler from overaggressively
4568 optimizing bytecount_to_charcount().
4570 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4573 (HAVE_DLFCN_H): Removed.
4574 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
4576 2001-01-06 Martin Buchholz <martin@xemacs.org>
4578 Portable dumper maintainability improvements.
4579 * alloc.c (staticpro):
4580 * alloc.c (staticpro_nodump):
4581 * alloc.c (garbage_collect_1):
4582 * alloc.c (reinit_alloc_once_early):
4583 * alloc.c (init_alloc_once_early):
4584 * alloc.c: Move dumper functions to alloc.c.
4585 * dumper.c (pdump_backtrace):
4586 * dumper.c (pdump_dump_structs):
4587 * dumper.c (pdump_dump_opaques):
4588 * dumper.c (pdump_dump_rtables):
4589 * dumper.c (pdump_dump_wired):
4591 * dumper.c (pdump_load_check):
4592 * dumper.c (pdump_load_finish):
4593 * dumper.c (pdump_file_unmap):
4594 * dumper.c (pdump_file_get):
4595 * dumper.c (pdump_resource_free):
4596 * dumper.c (pdump_resource_get):
4597 * dumper.c (pdump_file_free):
4598 * dumper.c (pdump_file_try):
4599 * dumper.c (pdump_load):
4600 Remove fixed size limits on staticpro(), staticpro_nodump(),
4601 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
4602 Remove custom code for dumping lrecord_implementations_table - use
4604 Remove (most of the) custom code for dumping staticpros - dump it
4605 like any other dynarr.
4607 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
4608 * dumper.c: Moved functions from alloc.c.
4609 * alloc.c (dumpstruct): Moved to dumper.c.
4610 * alloc.c (dumpopaque): Likewise.
4611 * alloc.c (pdump_wire): Likewise.
4612 * alloc.c (pdump_wire_list): Likewise.
4614 * lisp.h (Dynarr_sizeof): New.
4615 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
4616 * lisp.h (Dynarr_end): New. Very slightly C++oid.
4617 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
4619 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
4620 * lisp.h (dumpopaque): ditto.
4621 * lisp.h (pdump_wire): ditto.
4622 * lisp.h (pdump_wire_list): ditto.
4624 2001-01-09 Martin Buchholz <martin@xemacs.org>
4626 * make-src-depend (PrintPatternDeps):
4627 Use `sort' to make output independent of perl version.
4629 2001-01-08 Martin Buchholz <martin@xemacs.org>
4632 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
4633 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
4635 2001-01-03 Didier Verna <didier@xemacs.org>
4637 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
4638 that `focus_frame' is alive before thinking of calling
4639 `redisplay_redraw_cursor' on it.
4641 2001-01-08 Martin Buchholz <martin@xemacs.org>
4643 * XEmacs 21.2.40 is released.
4645 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4647 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
4649 2001-01-06 Martin Buchholz <martin@xemacs.org>
4651 * alloc.c (dbg_valmask): Make const.
4652 * alloc.c (dbg_typemask): Make const.
4653 * alloc.c (dbg_USE_UNION_TYPE): Make const.
4654 * alloc.c (dbg_valbits): Make const.
4655 * alloc.c (dbg_gctypebits): Make const.
4657 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
4659 * redisplay-x.c (x_bevel_area):
4660 redisplay.h (struct rune):
4661 Typo fixes in comments.
4663 2001-01-05 Andy Piper <andy@xemacs.org>
4665 * glyphs-x.c (x_redisplay_widget): use size changed for offset
4668 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
4670 2001-01-05 Martin Buchholz <martin@xemacs.org>
4672 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
4674 * mule-ccl.c (stack_idx_of_map_multiple):
4675 Non const global data must not be initialized!
4676 Found by MIYASHITA Hisashi.
4678 2001-01-02 Andy Piper <andy@xemacs.org>
4680 * frame.c (change_frame_size): make sure frame size is always
4683 * glyphs.c (image_instance_layout): minor code reuse.
4685 * window.c (Fcurrent_window_configuration): revert previous
4688 2001-01-02 Martin Buchholz <martin@xemacs.org>
4691 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
4693 2000-12-31 Andy Piper <andy@xemacs.org>
4695 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
4696 when widget gets unmapped.
4698 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
4699 function. Make sure widgets losing focus don't just drop it.
4700 (handle_focus_event_1): record the widget with focus.
4702 2000-12-31 Andy Piper <andy@xemacs.org>
4704 * window.c (allocate_window): use
4705 make_image_instance_cache_hash_table.
4706 (make_dummy_parent): ditto.
4707 (Fset_window_configuration): ditto.
4709 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
4711 * glyphs.c (process_image_string_instantiator): use
4713 (get_image_instantiator_governing_domain): ditto.
4714 (normalize_image_instantiator): ditto.
4715 (instantiate_image_instantiator): ditto.
4716 (make_image_instance_1): ditto.
4717 (image_instantiate): ditto. Key on glyph *and* instantiator type.
4718 (instantiator_eq_equal): new function for use with instance hash
4720 (instantiator_eq_hash): ditto.
4721 (make_image_instance_cache_hash_table): create a suitable hash
4722 table for storing image instances.
4724 * elhash.h (hash_table_weakness): new internal weakness type
4725 HASH_TABLE_KEY_CAR_VALUE_WEAK.
4726 declare new functions.
4728 * elhash.c (finish_marking_weak_hash_tables): introduce yet
4729 another weakness type for glyphs.
4730 (make_standard_lisp_hash_table): new function split out from
4731 make_general_lisp_hash_table.
4732 (make_lisp_hash_table): call make_standard_lisp_hash_table.
4733 (hash_table_instantiate): ditto.
4734 (Fmake_hash_table): ditto.
4736 2000-12-31 Martin Buchholz <martin@xemacs.org>
4738 * XEmacs 21.2.39 is released.
4740 2000-12-29 Andy Piper <andy@xemacs.org>
4742 * menubar.c (menubar_visible_p_changed): signal the frame changed.
4744 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
4745 the frame has changed so that we pick up geometry changes such as
4748 2000-12-28 Andy Piper <andy@xemacs.org>
4750 * lastfile.c (my_ebss): make a char array so we can pad the
4751 bss. Fixes cygwin unexec.
4753 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
4755 2000-12-26 Andy Piper <andy@xemacs.org>
4757 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
4758 comments and try and be more precise about a non-/SIGIO world.
4759 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
4762 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
4763 we don't normalize to zero width or height.
4765 2000-12-24 Andy Piper <andy@xemacs.org>
4767 * Makefile.in.in (ldflags): add -mwindows when appropriate.
4769 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
4771 * s/sco5.h: SCO 5 has pty support.
4773 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
4775 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
4776 input-method-xlib.c contains whole contents of input-method-xfs.c,
4777 so we can use input-method-xlib.c's code for USE_XFONTSET
4779 * input-method-xfs.c: removed.
4781 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
4783 * file-coding.h (enum coding_category_type): reorder enumerators to
4784 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
4785 (now one greater than largest real coding_category_type enumerator).
4786 * file-coding.c (coding_category_symbol, coding_category_by_priority,
4787 coding_category_system, fcd_descriptihon_1, decode_coding_category,
4788 Fcoding_category_list, Fset_coding_priority_list,
4789 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
4790 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
4792 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4794 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
4795 * redisplay-output.c (redisplay_output_window): Clear top of window
4796 when face is changed.
4797 * redisplay-x.c (x_redraw_exposed_window): Call
4798 redisplay_clear_top_of_window.
4799 * redisplay.h: Publish redisplay_clear_top_of_window.
4801 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4803 * buffer.c (Fkill_buffer): Map over all devices.
4804 * window.c (window_loop): Remove UNSHOW_BUFFER code.
4805 (list_windows): New function.
4806 (list_all_windows): Ditto.
4807 (Freplace_buffer_in_windows): Use them.
4809 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4811 * database.c (berkdb_subtype): Recognize new subtype `queue'.
4812 (Fopen_database): Use `db_create' instead of `db_open'.
4813 (syms_of_database): Initialize Qqueue.
4815 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
4817 * buffer.c (common_init_complex_vars_of_buffer): Initialize
4818 buffer_local_face_property.
4819 * buffer.h (struct buffer): New member buffer_local_face_property.
4820 * window.c (Fset_window_buffer): Mark window's face as changed
4821 when buffer has buffer local face.
4822 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
4823 * objects.c (color_after_change): Set buffer_local_face_property
4824 when locale of face specifier is buffer.
4825 * objects.c (font_after_change): Ditto.
4826 * objects.c (face_boolean_after_change): Ditto.
4827 * glyphs.c (image_after_change): Ditto.
4829 2000-12-09 Dan Holmsand <dan@eyebee.com>
4831 * nt.c (mswindows_fstat): Report file permissions, volume serial
4832 number, etc. Code adapted from FSF Emacs 20.7.
4834 2000-12-09 Dan Holmsand <dan@eyebee.com>
4836 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
4837 of stat when we don't have symbolic links, to make sure
4838 mswindows_stat is called on mswindows.
4840 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
4842 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
4844 2000-12-12 Martin Buchholz <martin@xemacs.org>
4846 * doprnt.c (emacs_doprnt_1): More printing fixes.
4847 Make printing of numbers compatible with libc and FSF Emacs.
4848 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
4849 Use the system printf to do most of the hard work of formatting,
4850 instead of doprnt_1().
4851 Calculate memory to allocate for format string.
4852 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
4853 (doprnt_1): Cleaner code and documentation.
4855 2000-12-01 Jerry James <james@eecs.ukans.edu>
4857 * Makefile.in.in: Use the loop variable to install headers.
4859 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4861 * window.c (Fsplit_window): Don't invalidate face cache.
4863 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4865 * minibuf.c (Fall_completions): Undo the previous change
4866 which removed checking elements start with space.
4868 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4870 * mule-canna.c: Didier suppression.
4872 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4874 * mule-canna.c: rename static unsigned char buf[] to key_buffer
4875 (warning suppression). Add English comment translations.
4877 2000-12-05 Martin Buchholz <martin@xemacs.org>
4879 * unexelfsgi.c (unexec): Better test for mmap failure.
4881 2000-12-05 Martin Buchholz <martin@xemacs.org>
4883 * XEmacs 21.2.38 is released.
4885 2000-12-05 Martin Buchholz <martin@xemacs.org>
4887 * redisplay.c (bar-cursor): Make a user variable.
4889 * symsinit.h: Add init_postgresql_from_environment.
4891 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4893 * regex.c: Convert to clean C.
4895 2000-12-05 Dan Holmsand <dan@eyebee.com>
4898 Don't #include sysfile.h. Revert to duplicating PATH_MAX
4900 (sys_readlink): renamed to system_readlink to avoid conflict with
4901 the other sys_readlink.
4903 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
4905 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
4907 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
4909 * postgresql.c (init_postgresql_from_environment): new function.
4910 (vars_of_postgresql): Move code initializing Lisp variables out and
4911 into init_postgresql_from_environment.
4912 emacs.c (main_1): Call init_postgresql_from_environment if and only
4913 if running a dumped XEmacs.
4915 2000-08-31 Dan Holmsand <dan@eyebee.com>
4917 * buffer.c: Make find-file-compare-truenames default to true on
4920 * realpath.c (win32_abs_start):
4922 (win32_readlink): New functions.
4923 (xrealpath): Return really real filenames on windows.
4925 * fileio.c (Ffile_truename): Make file-truename work on windows.
4927 2000-11-29 Didier Verna <didier@xemacs.org>
4929 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
4930 * faces.c (update_face_cachel_data): use it.
4931 * faces.c (add_face_cachel): use it. Complete background pixmap
4932 frobbing in face cache if `update_face_cachel_data' has not done so.
4934 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
4936 * search.c (string_match_1): Don't set last_thing_searched
4939 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
4941 * buffer.c: Include casetab.h
4942 (common_init_complex_vars_of_buffer): Use new case-table object.
4943 * buffer.h: Include casetab.h
4944 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
4945 (DOWNCASE_TABLE_OF): Ditto.
4946 * bufslots.h: Remove char-tables and add case-table.
4947 * casetab.c: Include casetab.h
4948 (CASE_TABLE_P): Removed.
4949 (mark_case_table): New function.
4950 (allocate_case_table): New function.
4951 (Fcase_table_p): Use new case-table.
4952 (case_table_char): New function.
4953 (Fget_case_table): Ditto.
4954 (Fput_case_table): Ditto.
4955 (Fput_case_table_pair): Ditto.
4956 (Fcopy_case_table): Ditto.
4957 (Fcurrent_case_table): Return case-table.
4958 (Fstandard_case_table): Return case-table.
4959 (Fset_case_table): Fix doc-string.
4960 (set_case_table): Use case-table
4961 (syms_of_casetab): DEFSUBR new functions.
4962 (complex_vars_of_casetab): Set up standard case-table.
4963 * casetab.h: New file.
4964 * editfns.c: Include casetab.h
4965 (Fcompare_buffer_substrings): Use case-table.
4966 * inline.c: Include casetab.h
4967 * lisp.h: Remove bogus extern.
4968 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
4969 * search.c: Include casetab.h
4970 (TRANSLATE_ASCII): Removed.
4971 (TRANSLATE): Unconditionally translate character.
4972 (looking_at_1): Use case-table.
4973 (string_match_1): Ditto.
4974 (fast_string_match): Ditto.
4975 (search_command): Ditto.
4976 (search_buffer): Separate boyer_moore. Check whether
4977 boyer_moore is possible.
4978 (simple_search): New function.
4979 (boyer_moore): Separated from search_buffer. Translate char.
4981 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
4983 * regex.c (RE_TR_ASCII): Removed.
4984 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
4985 (PATFETCH): Call PATFETCH_RAW.
4986 (PATFETCH_RAW): Fetch Emchar.
4987 (PATUNFETCH): Decrement charptr.
4988 (GET_BUFFER_SPACE): Rename b to buf_end.
4990 (BUF_PUSH_2): Ditto.
4991 (BUF_PUSH_3): Ditto.
4992 (EXTEND_BUFFER): Ditto.
4993 (SET_LIST_BIT): Ditto.
4994 (regex_compile): Ditto. Translate non ASCII char.
4995 (compile_range): Ditto.
4996 (re_search_2): Ditto.
4997 (re_match_2_internal): Compare Emchar.
4998 (bcmp_translate): Ditto.
5000 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
5002 * lisp.h (basic char/int typedefs): comment improvement.
5004 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
5006 * emacs.c (main_1): unconditional pdump unstomping; don't save and
5007 unstomp inhibit_site_lisp. Improve comments.
5009 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
5011 * mule-charset.c (Fcharset_property): improve type checking, comments.
5013 2000-11-28 Andy Piper <andy@xemacs.org>
5015 * redisplay-output.c (redisplay_output_subwindow): make sure we do
5016 clipped display for windows in the gutter also.
5017 (redisplay_display_boxes_in_window_p): change semantics of return
5018 codes to be more intuitive.
5020 * gutter.h: declare display_boxes_in_gutter_p.
5022 * gutter.c (display_boxes_in_gutter_p): new function for
5025 2000-11-22 Andy Piper <andy@xemacs.org>
5027 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
5030 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
5032 * callproc.c (Fold_call_process_internal):
5033 * gpm.c (Freceive_gpm_event):
5034 (tty_get_foreign_selection): Might be just warning supression.
5035 * fileio.c (Fwrite_region_internal):
5036 (Fset_visited_file_modtime):
5037 * keymap.c (event_matches_key_specifier_p):
5038 Initialize GCPROed variable.
5040 * menubar-x.c (command_builder_find_menu_accelerator):
5041 Initialize before use.
5043 2000-11-23 Andy Piper <andy@xemacs.org>
5045 * unexcw.c (unexec): make the resulting executable executable.
5047 2000-11-21 Martin Buchholz <martin@xemacs.org>
5049 * doc.c (get_doc_string):
5050 Use size_t, not int, for result of XSTRING_LENGTH.
5052 * cmds.c (Fdelete_char):
5053 * cmds.c (Fpoint_at_eol):
5054 * cmds.c (Fself_insert_command):
5055 Use EMACS_INT, not int, for result of XINT.
5056 Someday, someone will want to insert more than 2**31 identical characters.
5058 * cmds.c (Fdelete_char):
5059 * cmds.c (Fdelete_backward_char):
5060 * syntax.c (Fforward_word):
5061 * syntax.c (Fforward_comment):
5062 Make COUNT argument optional, for consistency with forward-char et al.
5064 2000-11-22 Martin Buchholz <martin@xemacs.org>
5067 * print.c (long_to_string):
5068 Return a useful value: the pointer at end of data written.
5071 Use `static const char * const' for constant strings.
5072 (union printf_arg): Delete `i', `ui' members.
5075 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
5076 Do all printf-ing via the `l' specifier.
5077 Use EMACS_INT instead of int.
5080 2000-11-20 Didier Verna <didier@xemacs.org>
5082 * faces.c (update_face_cachel_data): don't frob the background
5083 pixmap when the window is being created. The face is needed but
5086 2000-11-20 Andy Piper <andy@xemacs.org>
5088 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
5089 messing with a debug environment.
5091 2000-11-20 Martin Buchholz <martin@xemacs.org>
5093 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
5095 2000-11-20 Martin Buchholz <martin@xemacs.org>
5097 * casetab.c (Fcase_table_p): Fix compile error and crash.
5099 2000-11-18 Philip Aston <philipa@mail.com>
5101 * s/cygwin32.h: Cygwin has SVR4-like pty support.
5103 2000-11-18 Martin Buchholz <martin@xemacs.org>
5105 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
5106 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
5108 2000-11-17 Martin Buchholz <martin@xemacs.org>
5110 * config.h.in: Define HAVE_ELF_H if elf.h exists.
5111 * unexelf.c: Use HAVE_ELF_H.
5112 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
5113 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
5114 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
5115 Greg Harrington <greg_harrington@hotmail.com> provided a machine
5117 So this is an unexelfsgi.c from a different line of development.
5119 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5121 * regex.c (RE_TR_ASCII): New function.
5122 (RE_TRANSLATE): Call it.
5124 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5126 * buffer.h (TRT_TABLE_OF): Remove assert.
5127 (IN_TRT_TABLE_DOMAIN): Removed.
5129 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
5131 * free-hook.c (log_gcpro):
5132 (show_gcprohist): Add support for GCPRO5.
5134 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
5136 * emacs.c (main_1): Improve -sd error message when --pdump=no.
5138 2000-11-16 Olivier Galibert <galibert@xemacs.org>
5140 * symeval.h: Declare flush_all_buffer_local_cache.
5142 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
5143 (flush_buffer_local_cache): Added.
5144 (flush_all_buffer_local_cache): Added.
5146 * lrecord.h: Remove unused XD_LO_RESET_NIL.
5148 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
5149 (pdump_dump_data): Ditto.
5150 (pdump_reloc_one): Ditto.
5151 (pdump): Remove unused pdump_qnil. Flush buffer local caches
5155 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5157 * buffer.c: Remove if 0'ed entry.
5158 * buffer.h: Rewrite TRT to use char-table.
5159 * bufslots.h: Remove mirror tables.
5160 * casetab.c: Remove mirror tables.
5161 (CASE_TABLE_P): New macro.
5162 (Fcase_table_p): Element of a case table is string or char-table.
5163 (make_mirror_trt_table): Removed.
5164 (set_case_table): Setup char-table from strings for backward
5166 * dired.c (Fdirectory_files):
5167 * dired-msw.c: (mswindows_get_files):
5168 * lisp.h: Change prototype of re_pattern_buffer.
5169 * regex.c: (RE_TRANSLATE): New macro.
5170 (TRANSLATE_P): Ditto.
5171 Change translate to type RE_TRANSLATE_TYPE.
5172 * regex.h: Define RE_TRANSLATE_TYPE
5173 * search.c (TRANSLATE): New macro.
5174 (TRANSLATE_ASCII): New macro.
5175 Translate table is changed to Lisp_Object.
5176 (signal_failure): Inhibit return.
5178 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5185 Do UNGCPRO before return.
5187 2000-11-14 Martin Buchholz <martin@xemacs.org>
5189 * XEmacs 21.2.37 is released.
5191 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
5193 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
5194 Add comments about discarded return value.
5196 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
5199 * event-stream.c: Fix comments. Remove some #if 0'ed part.
5201 2000-10-27 Andy Piper <andy@xemacs.org>
5203 * gutter.c (Fset_default_gutter_position): default left and right
5205 (calculate_gutter_size): calculate resonable heuristic for left
5206 and right gutter sizes.
5207 (specifier_vars_of_gutter): change left and right gutter sizes to
5209 (calculate_gutter_size_from_display_lines): new function.
5210 (output_gutter): check for resizing on left and right gutters.
5211 (clear_gutter): don't special case top and left gutters.
5212 (specifier_vars_of_gutter): use new signature for
5213 set_specifier_caching.
5215 * glyphs-x.c (x_redisplay_widget): spelling fix.
5216 * glyphs.c (specifier_vars_of_glyphs):
5217 * menubar.c (specifier_vars_of_menubar):
5218 * redisplay.c (specifier_vars_of_redisplay):
5219 * toolbar.c (specifier_vars_of_toolbar):
5220 * window.c (specifier_vars_of_window):
5221 * scrollbar.c (specifier_vars_of_scrollbar):
5222 (complex_vars_of_scrollbar): use new signature for
5223 set_specifier_caching.
5225 * specifier.c (set_specifier_caching): include recompute flag.
5226 (recompute_one_cached_specifier_in_window): always recompute if
5228 (recompute_one_cached_specifier_in_frame): ditto.
5230 * specifier.h (struct specifier_caching): add recompute flag.
5232 2000-10-24 Andy Piper <andy@xemacs.org>
5234 * unexcw.c (copy_executable_and_dump_data_section): add new
5235 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
5238 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5240 * console-x.h (x_device): New member modifier_release_time.
5241 * event-Xt.c (x_handle_sticky_modifiers):
5242 Bound interval modifier keys are sticky.
5243 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
5244 * events.h: extern it.
5246 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5248 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
5250 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5252 * event-stream.c (execute_command_event): Preserve current_events
5253 and the like when event is misc-user-event.
5254 Inhibit quit during the call to maybe_echo_keys.
5256 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
5258 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
5259 symlink when buffer is killed.
5260 (inhibit_clash_detection): New variable.
5262 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5264 * console.c (Fset_input_method): Trigger redisplay on tty.
5266 2000-11-07 Martin Buchholz <martin@xemacs.org>
5268 * process.c (Fprocess_status): Revert to previous behavior:
5269 (process-status "nosuchprocess") ==> nil
5271 2000-11-06 Martin Buchholz <martin@xemacs.org>
5273 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
5274 Work around another GCC 2.95.2 optimizer bug.
5276 2000-11-02 Martin Buchholz <martin@xemacs.org>
5278 * process.c (Fget_process): Use LIST_LOOP_2.
5279 (kill_buffer_processes): Use LIST_LOOP_2.
5281 * minibuf.c (Fall_completions):
5282 Delete old non-functional code for FSF fourth argument.
5284 * frame.c (frame_matches_frame_spec):
5285 Renamed from `frame_matches_frametype'. Update all callers.
5286 (device_matches_device_spec):
5287 Renamed from 'device_matches_console_spec'. Update all callers.
5289 * doc.c (Fsubstitute_command_keys):
5290 Remove buffer overflow crash. Small code cleanups.
5292 * casetab.c (check_case_table): Simpler code.
5294 * window.c (Freplace_buffer_in_windows):
5295 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
5296 (and similar implementation) as Fdelete_windows_on.
5299 * alloc.c (Fmake_list):
5300 * alloc.c (make_vector):
5301 * alloc.c (Fmake_vector):
5302 * alloc.c (make_bit_vector):
5303 * alloc.c (Fmake_bit_vector):
5304 * alloc.c (Fbit_vector):
5305 * alloc.c (Fmake_string):
5306 * alloc.c (Fpurecopy):
5307 * alloc.c (Fmemory_limit):
5309 * buffer.c (Fget_buffer):
5310 * buffer.c (Fkill_buffer):
5311 * buffer.c (complex_vars_of_buffer):
5312 * bytecode.c (Fcompiled_function_stack_depth):
5313 * callint.c (Fprefix_numeric_value):
5315 * event-stream.c (Fread_key_sequence):
5317 * casetab.c (Fcase_table_p):
5318 * casetab.c (check_case_table):
5319 * casetab.c (Fset_case_table):
5320 * casetab.c (Fset_standard_case_table):
5322 * chartab.c (Fchar_table_type):
5323 * chartab.c (Freset_char_table):
5324 * chartab.c (Fget_char_table):
5325 * chartab.c (Fget_range_char_table):
5326 * chartab.c (Fput_char_table):
5327 * chartab.c (Fmap_char_table):
5328 * chartab.c (Fcategory_table_p):
5329 * chartab.c (Fcheck_category_at):
5330 * chartab.c (Fchar_in_category_p):
5331 * chartab.c (Fcategory_table):
5332 * chartab.c (Fcopy_category_table):
5333 * chartab.c (Fset_category_table):
5334 * chartab.c (Fcategory_designator_p):
5335 * chartab.c (Fcategory_table_value_p):
5336 * cmds.c (Fdelete_char):
5337 * cmds.c (Fdelete_backward_char):
5338 * cmds.c (Fself_insert_command):
5339 * cmds.c (Fself_insert_internal):
5340 * console.c (Fvalid_console_type_p):
5341 * console.c (Fcdfw_console):
5342 * console.c (Fconsole_type):
5343 * console.c (Fconsole_name):
5344 * console.c (Fconsole_device_list):
5345 * console.c (Fconsole_on_window_system_p):
5349 * data.c (Fsubr_interactive):
5350 * data.c (Fchar_to_int):
5351 * data.c (Fint_to_char):
5354 * data.c (Fnumber_to_string):
5355 * data.c (Fstring_to_number):
5357 * database.c (mark_database):
5358 * database.c (finalize_database):
5359 * database.c (Fdatabase_live_p):
5360 * database.c (Fdatabasep):
5361 * device-x.c (Fx_get_resource):
5362 * device.c (Fdfw_device):
5364 * dired.c (Ffile_name_completion):
5365 * dired.c (Ffile_name_all_completions):
5366 * dired.c (Fuser_name_completion):
5367 * dired.c (Fuser_name_completion_1):
5368 * dired.c (Fuser_name_all_completions):
5369 * doc.c (Fdocumentation):
5370 * doc.c (Fdocumentation_property):
5371 * doc.c (Fsubstitute_command_keys):
5373 * editfns.c (Fchar_to_string):
5374 * editfns.c (Fstring_to_char):
5375 * editfns.c (Ftemp_directory):
5376 * editfns.c (Finsert_char):
5377 * editfns.c (Fbuffer_substring_no_properties):
5378 * editfns.c (Fnarrow_to_region):
5379 * editfns.c (Fchar_equal):
5380 * editfns.c (Fchar_Equal):
5381 * editfns.c (Ftranspose_regions):
5382 * emacs.c (Fdump_emacs):
5384 * eval.c (Fcommand_execute):
5385 * eval.c (Fautoload):
5386 * eval.c (Fbacktrace):
5387 * eval.c (Fbacktrace_frame):
5389 * events.c (Fcopy_event):
5390 * events.c (Fcharacter_to_event):
5391 * events.c (Fevent_button):
5392 * events.c (Fevent_process):
5394 * extents.c (Fnext_extent_change):
5395 * extents.c (Fextent_property):
5397 * faces.c (Fmake_face):
5399 * file-coding.c (Fencode_shift_jis_char):
5400 * file-coding.c (Fencode_big5_char):
5401 * fileio.c (Ffile_name_directory):
5402 * fileio.c (Ffile_name_nondirectory):
5403 * fileio.c (Ffile_name_as_directory):
5404 * fileio.c (Fdirectory_file_name):
5405 * fileio.c (Ffile_truename):
5406 * fileio.c (Fsubstitute_in_file_name):
5407 * fileio.c (Ffile_modes):
5408 * fileio.c (Fset_file_modes):
5409 * fileio.c (Fset_default_file_modes):
5410 * fileio.c (Fverify_visited_file_modtime):
5411 * floatfns.c (Facos):
5412 * floatfns.c (Fasin):
5413 * floatfns.c (Fatan):
5414 * floatfns.c (Fcos):
5415 * floatfns.c (Fsin):
5416 * floatfns.c (Ftan):
5417 * floatfns.c (Fbessel_j0):
5418 * floatfns.c (Fbessel_j1):
5419 * floatfns.c (Fbessel_jn):
5420 * floatfns.c (Fbessel_y0):
5421 * floatfns.c (Fbessel_y1):
5422 * floatfns.c (Fbessel_yn):
5423 * floatfns.c (Ferf):
5424 * floatfns.c (Ferfc):
5425 * floatfns.c (Flog_gamma):
5426 * floatfns.c (Fexp):
5427 * floatfns.c (Fexpt):
5428 * floatfns.c (Flog):
5429 * floatfns.c (Flog10):
5430 * floatfns.c (Fsqrt):
5431 * floatfns.c (Fcube_root):
5432 * floatfns.c (Facosh):
5433 * floatfns.c (Fasinh):
5434 * floatfns.c (Fatanh):
5435 * floatfns.c (Fcosh):
5436 * floatfns.c (Fsinh):
5437 * floatfns.c (Ftanh):
5438 * floatfns.c (Fabs):
5439 * floatfns.c (Ffloat):
5440 * floatfns.c (Flogb):
5441 * floatfns.c (Fceiling):
5442 * floatfns.c (Ffloor):
5443 * floatfns.c (Fround):
5444 * floatfns.c (Ftruncate):
5445 * floatfns.c (Ffceiling):
5446 * floatfns.c (Fffloor):
5447 * floatfns.c (Ffround):
5448 * floatfns.c (Fftruncate):
5449 * fns.c (Fstring_equal):
5450 * fns.c (Fstring_lessp):
5455 * fns.c (Fsubstring):
5457 * fns.c (Fold_assoc):
5458 * fns.c (assoc_no_quit):
5460 * fns.c (Fold_assq):
5461 * fns.c (assq_no_quit):
5463 * fns.c (Fold_rassoc):
5465 * fns.c (Fold_rassq):
5466 * fns.c (rassq_no_quit):
5467 * fns.c (Fremassoc):
5468 * fns.c (remassoc_no_quit):
5470 * fns.c (remassq_no_quit):
5471 * fns.c (Fremrassoc):
5472 * fns.c (Fremrassq):
5473 * fns.c (remrassq_no_quit):
5475 * fns.c (Fplist_get):
5476 * fns.c (Fplist_put):
5477 * fns.c (Fplist_remprop):
5478 * fns.c (Fplist_member):
5479 * fns.c (Flax_plist_get):
5480 * fns.c (Flax_plist_put):
5481 * fns.c (Flax_plist_remprop):
5482 * fns.c (Flax_plist_member):
5484 * fns.c (Fold_equal):
5486 * fns.c (Fbase64_encode_region):
5487 * fns.c (Fbase64_encode_string):
5488 * fns.c (Fbase64_decode_region):
5490 * frame.c (frame_matches_frame_spec):
5491 * frame.c (device_matches_device_spec):
5492 * frame.c (next_frame):
5493 * frame.c (previous_frame):
5494 * frame.c (Fnext_frame):
5495 * frame.c (Fprevious_frame):
5496 * frame.c (Fframe_property):
5497 * frame.c (Fset_frame_height):
5498 * frame.c (Fset_frame_size):
5502 * glyphs.c (decode_error_behavior_flag):
5503 * glyphs.c (Fmake_image_instance):
5504 * indent.c (Findent_to):
5505 * intl.c (Fignore_defer_gettext):
5506 * keymap.c (Fkeymapp):
5507 * keymap.c (Flookup_key):
5509 * lread.c (Fload_internal):
5510 * lread.c (Feval_buffer):
5511 * lread.c (Feval_region):
5512 * macros.c (Fexecute_kbd_macro):
5513 * marker.c (set_marker_internal):
5514 * marker.c (Fset_marker):
5515 * marker.c (set_marker_restricted):
5516 * marker.c (Fcopy_marker):
5517 * marker.c (noseeum_copy_marker):
5519 * menubar.c (Fpopup_menu):
5521 * mule-charset.c (Fcharset_name):
5522 * mule-charset.c (Fchar_charset):
5523 * mule-charset.c (Fchar_octet):
5524 * mule-charset.c (Fsplit_char):
5525 * mule-wnnfns.c (Fwnn_open):
5526 * mule-wnnfns.c (Fwnn_dict_comment):
5527 * mule-wnnfns.c (Fwnn_quit_henkan):
5528 * mule-wnnfns.c (Fwnn_word_toroku):
5529 * mule-wnnfns.c (Fwnn_word_sakujo):
5530 * mule-wnnfns.c (Fwnn_word_use):
5531 * mule-wnnfns.c (Fwnn_hindo_set):
5533 * objects.c (Fmake_color_instance):
5534 * objects.c (Fmake_font_instance):
5535 * print.c (Fwrite_char):
5537 * process.c (mark_process):
5538 * process.c (print_process):
5539 * process.c (get_process_from_usid):
5540 * process.c (Fprocessp):
5541 * process.c (Fprocess_live_p):
5542 * process.c (Fget_process):
5543 * process.c (Fget_buffer_process):
5544 * process.c (get_process):
5545 * process.c (Fprocess_id):
5546 * process.c (Fprocess_name):
5547 * process.c (Fprocess_command):
5548 * process.c (init_process_io_handles):
5549 * process.c (start_process_unwind):
5550 * process.c (Fstart_process_internal):
5551 * process.c (Fopen_multicast_group_internal):
5552 * process.c (Fset_process_window_size):
5553 * process.c (read_process_output):
5554 * process.c (send_process):
5555 * process.c (Fprocess_tty_name):
5556 * process.c (Fset_process_buffer):
5557 * process.c (Fprocess_buffer):
5558 * process.c (Fprocess_mark):
5559 * process.c (set_process_filter):
5560 * process.c (Fset_process_filter):
5561 * process.c (Fprocess_filter):
5562 * process.c (Fprocess_send_region):
5563 * process.c (Fprocess_send_string):
5564 * process.c (exec_sentinel):
5565 * process.c (Fset_process_sentinel):
5566 * process.c (Fprocess_sentinel):
5567 * process.c (status_notify):
5568 * process.c (Fprocess_status):
5569 * process.c (Fprocess_exit_status):
5570 * process.c (process_send_signal):
5571 * process.c (Fprocess_send_eof):
5572 * process.c (deactivate_process):
5573 * process.c (remove_process):
5574 * process.c (Fdelete_process):
5575 * process.c (kill_buffer_processes):
5576 * process.c (Fprocess_kill_without_query):
5577 * process.c (Fprocess_kill_without_query_p):
5579 * rangetab.c (Fget_range_table):
5580 * rangetab.c (Fput_range_table):
5581 * rangetab.c (Fremove_range_table):
5582 * rangetab.c (Fclear_range_table):
5584 * search.c (Fskip_chars_forward):
5585 * search.c (Fskip_chars_backward):
5586 * search.c (Fskip_syntax_forward):
5587 * search.c (Fskip_syntax_backward):
5588 * search.c (search_command):
5589 * search.c (Freplace_match):
5590 * search.c (Fregexp_quote):
5591 * select.c (Fown_selection_internal):
5592 * select.c (Fselection_owner_p):
5593 * select.c (Fselection_exists_p):
5594 * select.c (Fget_selection_internal):
5597 * symbols.c (Fintern):
5598 * symbols.c (Fintern_soft):
5599 * symbols.c (Funintern):
5600 * symbols.c (Fapropos_internal):
5601 * symbols.c (Fset_default):
5603 * syntax.c (Fsyntax_table_p):
5604 * syntax.c (Fcopy_syntax_table):
5605 * syntax.c (Fset_syntax_table):
5606 * syntax.c (Fchar_syntax):
5607 * syntax.c (syntax_match):
5608 * syntax.c (Fmatching_paren):
5609 * syntax.c (Fforward_word):
5610 * syntax.c (scan_lists):
5611 * syntax.c (Fscan_lists):
5612 * syntax.c (Fscan_sexps):
5613 * syntax.c (Fparse_partial_sexp):
5614 * toolbar.c (Fcheck_toolbar_button_syntax):
5617 * window.c (Fwindowp):
5618 * window.c (Fwindow_live_p):
5619 * window.c (Fwindow_point):
5620 * window.c (Fdelete_window):
5621 * window.c (Fnext_window):
5622 * window.c (Fprevious_window):
5623 * window.c (Fother_window):
5624 * window.c (window_loop):
5625 * window.c (Fget_lru_window):
5626 * window.c (Fsplit_window):
5627 * window.c (Fenlarge_window):
5628 * window.c (Fenlarge_window_pixels):
5629 * window.c (Fshrink_window):
5630 * window.c (Fshrink_window_pixels):
5631 * window.c (change_window_height):
5632 * window.c (Fwindow_configuration_p):
5633 * window.c (Fcurrent_window_configuration):
5635 * casefiddle.c (casify_object):
5636 * casefiddle.c (Fupcase):
5637 * casefiddle.c (Fdowncase):
5638 * casefiddle.c (Fcapitalize):
5639 * casefiddle.c (Fupcase_initials):
5640 * casefiddle.c (casify_region_internal):
5641 * casefiddle.c (casify_region):
5642 * casefiddle.c (Fupcase_region):
5643 * casefiddle.c (Fdowncase_region):
5644 * casefiddle.c (Fcapitalize_region):
5645 * casefiddle.c (Fupcase_initials_region):
5646 * casefiddle.c (Fupcase_word):
5647 * casefiddle.c (Fdowncase_word):
5648 * casefiddle.c (Fcapitalize_word):
5649 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
5650 Replace 0 with '\0' when working with bytes.
5651 Replace initial "(" with "\(" in docstrings.
5653 2000-11-01 Martin Buchholz <martin@xemacs.org>
5655 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
5657 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
5659 2000-10-31 Martin Buchholz <martin@xemacs.org>
5661 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
5663 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5665 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
5668 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5670 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
5671 (inhibit_auto_save_session): New variable.
5672 (vars_of_fileio): Declare and initialize them.
5673 * fileio.c (Fdo_auto_save): Don't create session file if
5674 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
5676 2000-10-31 Martin Buchholz <martin@xemacs.org>
5678 * sgiplay.c (play_internal): C++ compilability.
5679 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
5680 * callproc.c (Fold_call_process_internal):
5681 Remove unused vars `env', `first'.
5682 * scrollbar.c (update_scrollbar_instance):
5683 #### unused var `current_window'.
5684 * redisplay-tty.c: Put currently unused vars insert_mode_on,
5685 etc. within #ifdef NOT_YET.
5686 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
5687 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
5688 * specifier.c (specifier_instance):
5689 #### unused var `tag'.
5690 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
5692 2000-10-27 Martin Buchholz <martin@xemacs.org>
5695 * fns.c (list_sort):
5696 * fns.c (Ffillarray):
5697 * fns.c (bytecode_nconc2):
5700 * fns.c (Fmapconcat):
5701 Be pedantically 64-bit correct. For the time when someone will
5702 want to have a list with length > 2**32.
5704 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
5705 Work around MIPSpro compiler bug.
5707 * process-unix.c (unix_kill_child_process): Add snarky comment.
5708 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
5710 * config.h.in: Oops, _getpt ==> _getpty
5712 2000-10-26 Martin Buchholz <martin@xemacs.org>
5716 Use void*, not char*, as return type of alloca().
5718 * alloc.c (free_marker): Side effect inside assert expression!
5720 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
5722 * mule-charset.c (Fset_charset_ccl_program): To check
5723 if the given ccl program is valid, use setup_ccl_program()
5724 instead of CHECK_VECTOR().
5725 (Fmake_charset): Likewise.
5727 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
5729 * faces.c (get_extent_fragment_face_cache_index):
5730 Fix cachel.merged_faces memory leak.
5732 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
5734 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
5735 Reset MSB of octets obtained by DECODE_SJIS
5736 because of the incompatibility with Emacs.
5737 (ccl_driver)<CCL_ENCODE_SJIS>:
5738 Set MSB of octets before passing them to
5739 ENCODE_SJIS because of the incompatibility
5742 2000-10-18 Daiki Ueno <ueno@unixuser.org>
5744 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
5745 (DECLARE_LRECORD): Undo the last change.
5746 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
5748 2000-10-17 Daiki Ueno <ueno@unixuser.org>
5750 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
5751 the implementation to lrecord_implementations_table.
5753 2000-10-14 Daiki Ueno <ueno@unixuser.org>
5755 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
5756 initial value of `lrecord_type_##c_name' and
5757 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
5758 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
5759 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
5760 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
5761 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
5763 2000-10-17 Martin Buchholz <martin@xemacs.org>
5765 * miscplay.c (sndcnv8S_2mono):
5766 (sndcnv2monounsigned):
5767 (sndcnvULaw_2linear):
5769 Remove implementation-defined behavior.
5771 2000-10-12 Martin Buchholz <martin@xemacs.org>
5773 * input-method-xlib.c: Warning suppression.
5775 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
5777 * mule-ccl.c: Sync up with Emacs 21.0.90.
5778 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
5780 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
5782 (ccl_driver[WriteMultibyteChar2]): Bug fix.
5783 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
5784 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
5785 leading char belongs to official 2-dimensional charset.
5786 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
5787 write the given character as is. Otherwise,
5788 if it is a multibyte char, convert it by
5789 non_ascii_set_charptr_emchar, then write it.
5790 (CCL_WRITE_STRING): Likewise.
5791 (ccl_get_compiled_code): New function.
5792 (setup_ccl_program): When ccl_prog is invalid,
5794 (Fregister_code_conversion_map): New function.
5795 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
5797 * mule-ccl.h: Sync up with Emacs 21.0.90.
5798 (Fregister_ccl_program): export it.
5800 * redisplay-msw.c (separate_textual_runs):
5801 If ccl program is not valid, don't do ccl conversion.
5803 * redisplay-x.c (separate_textual_runs): Ditto.
5805 * file-coding.c (Fmake_coding_system):
5806 When type is ccl and value is vector, register it
5807 with a proper symbol. And checks whether the
5808 given ccl program is valid.
5809 (mule_decode): When calling ccl_driver, if src indicates
5810 NULL pointer, set an empty string instead.
5811 (mule_encode): Likewise.
5813 2000-10-11 Martin Buchholz <martin@xemacs.org>
5815 The following large batch of changes gets us back to a state of
5816 C++ compilability. Extbyte is now a char, which means that
5817 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
5819 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
5821 * sound.c (Fplay_sound): Type correctness.
5823 * select-x.c (hack_motif_clipboard_selection): Type correctness.
5824 (x_get_window_property): Type correctness.
5825 (receive_incremental_selection): unsigned char ==> Extbyte
5826 (selection_data_to_lisp_data): unsigned char ==> Extbyte
5827 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
5828 (Fx_store_cutbuffer_internal): Type correctness.
5830 * process-unix.c (try_to_initialize_subtty): Type correctness.
5832 * objects-x.c (x_print_color_instance): Type correctness.
5833 (x_print_font_instance): Type correctness.
5834 (x_list_fonts): SExtbyte ==> Extbyte.
5835 (valid_x_font_name_p): SExtbyte ==> Extbyte.
5836 (x_find_charset_font): SExtbyte ==> Extbyte.
5837 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
5838 (truename_via_XListFonts): SExtbyte ==> Extbyte.
5839 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
5842 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
5843 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
5844 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
5845 (BYTE_C0_P): Use bit ops for char-signedness safety.
5846 (BYTE_C1_P): Use bit ops for char-signedness safety.
5847 (CHARSET_BY_LEADING_BYTE):
5848 (CHARSET_BY_ATTRIBUTES):
5849 Always use inline function.
5850 Use type_checking_assert.
5853 * mule-charset.c (non_ascii_charptr_copy_char):
5854 Modify to work with both ASCII and non-ASCII characters.
5855 Improve docs and variable names.
5856 Replace over-clever fall-through switch with a simple loop.
5857 (Lstream_get_emchar_1):
5858 Replace over-clever fall-through switch with a simple loop.
5860 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5861 Warning suppression.
5863 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
5864 the return value of Lstream_getc, which could be EOF as well.
5866 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
5868 * lisp.h: Make Extbyte a char, not unsigned char, so that external
5869 APIs can be used on Extbytes without casts. Risky!
5873 * input-method-xlib.c (XIM_init_device):
5874 Use Xlib.h instead of IntrinsicP.h.
5875 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
5876 which will break in X11R7.
5877 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
5878 to call XRegisterIMInstantiateCallback with correct types.
5880 * gui-x.c (button_item_to_widget_value): Type correctness.
5882 * glyphs.c (bitmap_to_lisp_data): Type correctness.
5884 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
5885 (xbm_instantiate_1): Type correctness.
5886 (BUILD_GLYPH_INST): Type correctness.
5888 * fileio.c (Fsubstitute_in_file_name): Type correctness.
5891 (decode_coding_sjis):
5892 (decode_coding_big5):
5893 (decode_coding_ucs4):
5894 (decode_coding_utf8):
5895 (decode_coding_iso2022):
5896 (decode_coding_no_conversion):
5897 Make all decoding functions take an Extbyte * arg.
5898 (encode_coding_sjis):
5899 (encode_coding_big5):
5900 (encode_coding_ucs4):
5901 (encode_coding_utf8):
5902 (encode_coding_iso2022):
5903 (encode_coding_no_conversion):
5904 Make all encoding functions take a Bufbyte * arg.
5905 Use size_t instead of unsigned int for memory sizes.
5906 Only cast to unsigned char whenever dereferencing Extbyte *.
5908 * doc.c (unparesseuxify_doc_string): Type correctness.
5910 * console-x.c (split_up_display_spec):
5911 Rewrite without using details of internal string representation.
5912 (x_semi_canonicalize_device_connection): Type correctness.
5915 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
5916 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
5917 (HAVE_XFREE386): Removed.
5919 * buffer.h (DEC_CHARPTR): `const' correctness.
5920 (bufbyte_strcmp): New.
5921 (bufbyte_memcmp): New.
5923 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
5925 * buffer.h (XCHAR_OR_CHAR_INT):
5926 Always use inline function.
5927 Remove redundant type checking assert() - XINT will abort quite nicely.
5929 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
5931 * search.c (Freplace_match): Set newtext to an empty string.
5933 2000-10-10 Martin Buchholz <martin@xemacs.org>
5935 * s/decosf1-3.h: Remove #include of stropts.h
5936 * s/ptx.h: Remove #include of stropts.h
5937 * s/usg5-4.h: Remove #include of stropts.h
5940 Use stropts.h, not sys/stropts.h.
5941 Use strtio.h, not sys/strtio.h.
5943 2000-10-04 Martin Buchholz <martin@xemacs.org>
5945 * XEmacs 21.2.36 is released.
5947 2000-09-21 Andy Piper <andy@xemacs.org>
5949 * glyphs-x.c (x_redisplay_widget): make sure non-structural
5950 changes still involve copying the widget tree.
5951 (update_widget_face): make sure a change is register in the widget
5952 tree. Call update_tab_widget_face appropriately.
5953 (update_tab_widget_face): ditto.
5954 (x_tab_control_redisplay): make sure non-structural changes still
5955 involve copying the widget tree.
5957 2000-08-31 Daiki Ueno <ueno@unixuser.org>
5959 * lread.c (locate_file): Check the path element is non-nil.
5961 2000-10-02 Martin Buchholz <martin@xemacs.org>
5963 * lisp.h: Warning suppression for SCO compilers.
5965 * redisplay-tty.c (reset_tty_modes): Fix crash.
5966 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
5968 2000-09-27 Martin Buchholz <martin@xemacs.org>
5970 Big signal/process handling overhaul. Bugs fixed:
5971 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
5972 M-x comint-kill-subjob should work for both values nil and t of
5973 process-connection-type. It was broken on most platforms.
5974 Testing on Irix and Cygwin still needed. Other plaforms tested.
5975 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
5976 * process-unix.c: Signal/Process handling overhaul.
5977 (pty_name): make 64 bytes, as `expect' does, for paranoia.
5978 (allocate_pty): Use all available modern methods of allocating
5979 ptys, falling back to old style BSD allocation as a last resort.
5980 Use allegedly more secure Unix98 pty allocation by default.
5981 (allocate_pty_the_old_fashioned_way): New. the last resort.
5982 (unix_create_process): Push ptem, ldterm, ttcompat where
5983 available. Autoconfiscate.
5984 (try_to_initialize_subtty): New.
5985 (unix_kill_child_process): Proper signal handling for ptys on most
5986 platforms, using special knowledge of AIX, BSD, etc...
5987 (unix_create_process): Always disconnect_controlling_terminal() for
5988 subprocesses, whether using ptys or not.
5989 * process.h: Remove old getpt-dependent PTY code.
5990 * process.c (Fprocess_send_signal): New, obvious generic function.
5991 (decode_signal): New.
5992 (Finterrupt_process):
5996 (Fcontinue_process):
5997 (Fsignal_process): Use decode_signal.
5998 (process_send_signal):
5999 Many docstring corrections.
6000 Allow any signal to be sent to a process object.
6001 * config.h.in: Add symbols for big signal/process overhaul.
6002 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
6003 * sysproc.h: Include process-related headers, where available:
6004 sys/stropts.h sys/strtio.h pty.h libutil.h
6012 Remove old S&M pty stuff.
6013 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
6014 * systty.h: Simplify cpp hackery, improve comments.
6015 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
6017 * editfns.c (Fformat_time_string):
6018 Be a little more paranoid with the return value of ctime.
6020 * fileio.c (check_executable):
6022 Use symbolic constants X_OK, W_OK.
6024 * console-x.c (split_up_display_spec): Fix a warning.
6026 2000-10-02 Martin Buchholz <martin@xemacs.org>
6028 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
6029 * ntproc.c (sys_spawnve): make_string ==> build_string
6030 Small clarity improvements.
6032 2000-09-30 Martin Buchholz <martin@xemacs.org>
6034 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
6036 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
6038 * config.h.in (HAVE_STRCASECMP): Remove.
6040 2000-09-29 Martin Buchholz <martin@xemacs.org>
6042 * redisplay-output.c (redisplay_output_pixmap):
6043 Cleaner and possibly more 64-bit correct code.
6045 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
6047 * dumper.c (pdump_load_finish): move restoration of
6048 `noninteractive1' to emacs.c (main_1).
6049 * emacs.c (main_1): protect LISP-visible command-line flags
6052 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
6054 * Makefile.in.in (versionclean): Use EXE_TARGET and
6055 DUMP_TARGET instead of literal program names.
6057 2000-09-20 Martin Buchholz <martin@xemacs.org>
6059 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
6061 2000-09-19 Martin Buchholz <martin@xemacs.org>
6063 * *: Spelling mega-patch
6065 2000-09-19 Martin Buchholz <martin@xemacs.org>
6067 * fns.c (bad_bad_turtle):
6068 Delete "Eek!" comment, since we fixed the bug to which it refers.
6070 2000-09-16 Martin Buchholz <martin@xemacs.org>
6072 * alloca.c: Replace REGISTER with register.
6074 2000-09-16 Daiki Ueno <ueno@unixuser.org>
6076 * file-coding.c (ucs_to_char): Use countof.
6078 2000-09-16 Martin Buchholz <martin@xemacs.org>
6080 * file-coding.c: (ucs_to_char):
6081 (complex_vars_of_file_coding):
6082 Use countof instead of sizeof.
6083 Use CHECK_NATNUM instead of CHECK_INT.
6085 * sysdep.c (strcasecmp): Remove.
6086 * device-x.c (ascii_strcasecmp): New.
6087 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
6088 Avoid using non-standard non-portable strcasecmp.
6090 2000-09-16 Martin Buchholz <martin@xemacs.org>
6092 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
6093 * font-lock.c: remove reference to emacsfns.h.
6094 * search.c: small doc improvement.
6095 * event-Xt.c: correct file names in comments.
6096 * console-x.h Correct file names in comments.
6097 * frame.c: Correct file names in comments.
6098 * event-stream.c: remove Energize from comments.
6100 2000-09-15 Martin Buchholz <martin@xemacs.org>
6102 * symeval.h (DEFERROR_STANDARD):
6105 (DEFSYMBOL_NO_DUMP):
6106 (DEFSYMBOL_MULTIWORD_PREDICATE):
6107 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
6109 The construct &##name is not sensible C.
6110 Fixes compilation errors with Unixware native compiler.
6112 2000-09-14 Martin Buchholz <martin@xemacs.org>
6114 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
6115 (next_frame_internal): Removed. We now just have next_frame.
6117 Write a simpler and cleaner one-pass algorithm.
6118 Remove called_from_delete_device arg and #ifdefed-out code.
6120 Renamed from prev_frame. Update callers.
6121 Cleaned up to have an analogous implementation to next_frame.
6122 (other_visible_frames_internal): Remove the
6123 called_from_delete_device bogus arg, and hence, remove this
6124 function. Just use other_visible_frames().
6126 * window.c (Fnext_window):
6128 Since next_frame() is guaranteed to return a frame, remove check
6129 for nil inserted in previous patch.
6132 Make code look more like Fnext_window.
6134 Respect the `console' arg when iterating through windows.
6135 Fixes bug: (get-buffer-window buffer t device) not respecting
6137 This function needs more work, as others have pointed out.
6139 * frame.h: Rename prev_frame to previous_frame.
6140 device_matches_console_spec no longer takes a `frame' arg.
6145 Use EMACS_BLOCK_SIGNAL instead of sigblock.
6146 From "Golubev I. N." <gin@mo.msk.ru>.
6148 * make-src-depend: Fix typo.
6150 2000-09-13 Martin Buchholz <martin@xemacs.org>
6152 * window.c (Fnext_window):
6153 next_frame() might return nil, not a frame.
6155 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6157 * frame.c (next_frame_internal):
6158 We've passed a frame if we've passed its device.
6160 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6161 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
6163 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6165 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6166 Allow option to suppress accelerators in menu/dialog items.
6167 (populate_or_checksum_helper): Pass dialog title through above.
6169 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
6171 * event-msw.c (mswindows_key_to_emacs_keysym):
6172 Add "pause" key, fix "menu" key.
6174 2000-09-09 Martin Buchholz <martin@xemacs.org>
6176 * eval.c (reinit_vars_of_eval):
6177 Increase max_lisp_eval_depth to 1000,
6178 required for thai-xtis.el to byte-compile under some circumstances.
6180 2000-09-04 Martin Buchholz <martin@xemacs.org>
6182 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
6185 2000-09-01 Martin Buchholz <martin@xemacs.org>
6187 * make-src-depend: Make the generated Makefiles smaller.
6189 * s/hpux.h (SETUP_SLAVE_PTY):
6190 Provide a %d in the format string for the errno argument.
6192 * editfns.c (Ftemp_directory):
6194 Avoid buffer overrun on very long file name.
6196 * input-method-xlib.c (XIM_init_device):
6197 6th parameter of XRegisterIMInstantiateCallback has different
6198 pointer types on different OSes, so simply cast to (void *).
6200 * unexhp9k800.c: Warning fixes. Fiddly changes.
6202 * sysdll.c (dll_open):
6203 shl_load will hang hard if passed a NULL filename.
6204 Simply return NULL for compatibility with dlopen.
6205 * sysdll.c: Conform to XEmacs coding standards.
6207 * sysdep.c (get_pty_max_bytes):
6208 Support pty input lines longer than 512 bytes on HP-UX 10.20.
6210 2000-08-31 Martin Buchholz <martin@xemacs.org>
6212 * tooltalk.c: Add #include <syssignal.h>
6214 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
6216 * s/hpux.h: Don't use undefined function sigunblock().
6218 2000-08-31 Martin Buchholz <martin@xemacs.org>
6220 * config.h.in: Add HAVE_BALLOON_HELP.
6221 * emacs.c: Use HAVE_BALLOON_HELP.
6222 * Makefile.in.in (x_objs):
6223 Make Balloon Help conditional on finding shape.h.
6225 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
6227 * syntax.c (regex_emacs_buffer_p): New variable.
6228 * syntax.h (regex_emacs_buffer_p): extern.
6229 * search.c (looking_at_1):
6231 (fast_string_match):
6232 (search_buffer): Set regex_emacs_buffer_p.
6233 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
6234 when before_dot, at_dot, after_dot.
6236 2000-08-23 Andy Piper <andy@xemacs.org>
6238 * gui-x.c (popup_selection_callback): Only set action_occurred
6239 when we really have an image instance.
6240 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
6242 2000-08-23 Andy Piper <andy@xemacs.org>
6244 * gui-msw.c (mswindows_handle_gui_wm_command): set
6246 * gui-x.c (popup_selection_callback): ditto.
6248 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
6249 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
6250 (struct Lisp_Image_Instance): add action_occurred flag.
6252 * glyphs.c (redisplay_subwindow): use action_occurred flag.
6253 (image_instance_changed): ditto.
6254 (reset_frame_subwindow_instance_cache): only unmap windows - do
6255 not remove them from the cache also.
6257 * glyphs-widget.c (tab_control_update): better debug.
6258 (progress_gauge_update): ditto.
6259 (layout_update): ditto.
6260 (layout_instantiate): ditto.
6261 (tab_control_order_only_changed): cope with null pending items.
6263 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
6264 debug. Force selection of an item when an action occurred. Cope
6265 with null pending_items.
6266 (mswindows_progress_gauge_redisplay): better debug.
6267 * glyphs-x.c (x_tab_control_redisplay): ditto.
6269 * redisplay.c (redisplay_frame): reset the frame cache if the
6272 * window.c (Fset_window_configuration): potentially re-enable
6274 (window_unmap_subwindows): need to finalize instances here since
6275 it is only used in mark_window_as_deleted.
6277 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
6279 * nas.c (SndOpenDataForReading):
6280 nas.c (WaveOpenDataForReading):
6281 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
6282 Somehow escaped from the 2000-08-14 patch.
6284 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6286 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
6287 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
6289 2000-08-21 Andy Piper <andy@xemacs.org>
6291 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
6292 window if it is not already displayed.
6294 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
6295 it is not already displayed.
6297 * window.c (Fset_window_configuration): don't reset the frame
6300 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
6301 instances from the frame cache if we are actually finalizing them.
6302 (reset_frame_subwindow_instance_cache): reset frame cache only
6303 after unmapping everything.
6304 (map_subwindow): set displayed flag after mapping.
6306 2000-08-21 Martin Buchholz <martin@xemacs.org>
6308 * data.c (indirect_function):
6309 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
6311 * eval.c (function_argcount):
6312 Use original function when signaling errors.
6314 2000-08-18 Andy Piper <andy@xemacs.org>
6316 * frame.c (delete_frame_internal): use new
6317 free_frame_subwindow_instances name.
6319 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
6320 (add_tab_item): make return type correct.
6321 (mswindows_tab_control_instantiate): assert index of tab.
6322 (mswindows_tab_control_redisplay): Re-code to use
6323 gui_item_equal_sans_selected and gui_item_list_find_selected.
6325 * glyphs-widget.c (tab_control_update): Correct comment.
6327 * window.c (window_unmap_subwindows): use new
6328 unmap_subwindow_instance_cache_mapper.
6329 (window_unmap_subwindows_cache_mapper): deleted.
6330 (Fset_window_configuration): comparisons should now be with
6331 EQ. Preserve the subwindow instance cache across configuration
6333 (allocate_window): ditto.
6334 (make_dummy_parent): ditto.
6336 * glyphs.c (free_frame_subwindow_instances): rename from
6337 free_frame_subwindow_instance_cache. finalize all instances rather
6338 than just those in the display cache.
6339 (finalize_all_subwindow_instances): walk windows unmapping and
6340 finalizing subwindows.
6341 (unmap_subwindow_instance_cache_mapper): moved from
6342 window.c. Allow finalization as well as unmapping.
6344 * gui.c (gui_item_list_find_selected): new function.
6346 * gui.h (gui_item_list_find_selected): declare.
6348 * glyphs-x.c (x_tab_control_redisplay): pick tab
6349 explicitly. Re-code to use gui_item_equal_sans_selected and
6350 gui_item_list_find_selected.
6352 * glyphs-x.h: add lwlib-utils.h
6354 * buffer.c (Frecord_buffer): undo previous change.
6356 2000-08-09 Vin Shelton <acs@xemacs.org>
6358 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
6359 possible. Create temporary files more securely. The patch was
6360 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
6361 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
6362 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
6365 2000-08-07 Ben Wing <ben@xemacs.org>
6367 * getloadavg.c: remove duplicate (and windows-breaking)
6368 includes of fcntl.h and sys/file.h.
6370 * nt.c: remove duplicate getloadavg() definition.
6372 * sysdll.h (Qdll_filename_encoding): add missing stand-in
6375 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
6377 * eval.c (function_argcount): If function needs to be autoloaded
6378 actually use the loaded definition.
6381 2000-08-05 Ben Wing <ben@xemacs.org>
6383 * getloadavg.c: add prototype for getloadavg(). remove
6384 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
6385 of the code). remove duplicate header includes.
6387 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
6389 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
6390 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
6391 useful load average.
6393 * alloc.c (reinit_alloc_once_early): removed references to
6394 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
6395 the lisp vars are the only things referencing the malloc_sbrk_*
6396 vars, and they were already if 0'd out. these vars only exist
6397 in the older malloc.c, which is basically unused, and they're
6398 only for informational purposes.
6400 * m\*.h: removed useless VIRT_ADDR_VARIES.
6402 * m\powerpc.h: removed stray NO_ARG_ARRAY.
6404 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
6406 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
6407 color if the image is a mono pixmap.
6409 2000-07-30 Ben Wing <ben@xemacs.org>
6411 * Makefile.in.in (release):
6414 * buffer.c (directory_is_current_directory):
6415 * dired-msw.c (mswindows_get_files):
6417 * dired.c (Fdirectory_files):
6418 * dired.c (file_name_completion_stat):
6419 * dired.c (Ffile_attributes):
6420 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
6421 preprocessor tricks, to avoid problems on some machines
6424 * callproc.c (egetenv): GC docs.
6427 * console-msw.h (struct mswindows_dialog_id):
6428 * lrecord.h (lrecord_type):
6429 New object for use with MSW dialogs.
6431 * console.h (struct console_methods):
6432 New enable/disable frame methods, for proper modal dialogs.
6434 * device-msw.c (msprinter_default_printer): Fix to follow
6435 proper Mule conventions.
6438 * device-msw.c (signal_open_printer_error):
6439 * device-msw.c (msprinter_init_device):
6440 * device-msw.c (ensure_not_printing):
6441 * device-msw.c (plist_get_margin):
6442 * device-msw.c (Fmsprinter_select_settings):
6443 * device-msw.c (finalize_devmode):
6444 * device-msw.c (Fmsprinter_settings_despecialize):
6445 * device-msw.c (signal_enum_priner_error):
6446 * extents.c (decode_extent):
6447 * extents.c (decode_map_extents_flags):
6448 * extents.c (decode_extent_at_flag):
6449 * extents.c (Fextent_at):
6450 * extents.c (Fextents_at):
6451 * extents.c (symbol_to_glyph_layout):
6452 [[[[2]]]] Use structured errors.
6455 * dialog-msw.c (mswindows_is_dialog_msg):
6456 * dialog-msw.c (mark_mswindows_dialog_id):
6457 * dialog-msw.c (dialog_proc):
6458 * dialog-msw.c (handle_question_dialog_box):
6459 * dialog-msw.c (syms_of_dialog_mswindows):
6460 Define new object to clean up marking; use it as a dialog identifier.
6461 Call new delete-dialog-box-hook.
6463 * dialog-x.c (dbox_selection_callback):
6464 * dialog-x.c (dbox_descriptor_to_widget_value):
6465 * dialog-x.c (x_make_dialog_box_internal):
6466 Call new delete-dialog-box-hook.
6470 * dialog.c (syms_of_dialog):
6471 * dialog.c (vars_of_dialog):
6472 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
6475 * eval.c (signal_call_debugger):
6476 when noninteractive, output stack traces on the console instead
6477 of in a (never-seen) buffer.
6479 * eval.c (signal_type_error):
6480 * eval.c (invalid_argument_2):
6482 new funs for use w/structured errors.
6485 * event-Xt.c (x_to_emacs_keysym):
6486 * event-Xt.c (describe_event):
6487 * event-Xt.c (emacs_Xt_event_handler):
6488 * event-Xt.c (vars_of_event_Xt):
6490 * event-msw.c (mswindows_wnd_proc):
6491 * event-msw.c (vars_of_event_mswindows):
6492 rename {x,mswindows}-debug-events to debug-{}-events for
6493 consistency with other debug-foo variables.
6496 document next-event more clearly.
6498 * fileio.c (Ffile_name_directory):
6499 * fileio.c (Ffile_name_nondirectory):
6500 * fileio.c (Funhandled_file_name_directory):
6501 * fileio.c (file_name_as_directory):
6502 * fileio.c (Ffile_name_as_directory):
6503 * fileio.c (directory_file_name):
6504 * fileio.c (Fdirectory_file_name):
6505 * fileio.c (Fmake_temp_name):
6506 * fileio.c (Ffile_truename):
6507 * fileio.c (Fsubstitute_in_file_name):
6508 * fileio.c (expand_and_dir_to_file):
6509 * fileio.c (barf_or_query_if_file_exists):
6510 * fileio.c (check_executable):
6511 * fileio.c (Ffile_exists_p):
6512 * fileio.c (Ffile_writable_p):
6513 * fileio.c (Ffile_directory_p):
6514 * fileio.c (Ffile_regular_p):
6515 * fileio.c (Ffile_modes):
6516 * fileio.c (Ffile_newer_than_file_p):
6517 * fileio.c (Fverify_visited_file_modtime):
6518 * fileio.c (Fset_visited_file_modtime):
6519 * fileio.c (auto_save_1):
6524 * frame-msw.c (mswindows_init_frame_1):
6525 * frame-msw.c (mswindows_enable_frame):
6526 * frame-msw.c (error_frame_unsizable):
6527 * frame-msw.c (msprinter_init_frame_1):
6528 * frame-msw.c (msprinter_init_frame_3):
6529 * frame-msw.c (console_type_create_frame_mswindows):
6531 implement new enable/disable frame methods.
6534 * frame-x.c (x_enable_frame):
6535 * frame-x.c (console_type_create_frame_x):
6536 implement new enable/disable frame methods.
6539 * frame.c (Fdisable_frame):
6540 * frame.c (syms_of_frame):
6541 * frame.h (struct frame):
6542 implement new enable/disable frame methods/functions.
6547 * glyphs-msw.c (mswindows_widget_instantiate):
6548 comment that initial-focus should be implemented.
6551 * glyphs-widget.c (check_valid_instantiator):
6552 * glyphs-widget.c (check_valid_orientation):
6553 * glyphs-widget.c (check_valid_tab_orientation):
6554 * glyphs-widget.c (check_valid_justification):
6555 * glyphs-widget.c (check_valid_border):
6556 * glyphs-widget.c (check_valid_callback):
6557 * glyphs-widget.c (check_valid_int_or_function):
6558 * glyphs-widget.c (check_valid_string_or_vector):
6559 * glyphs-widget.c (check_valid_item_list_1):
6560 * glyphs-widget.c (widget_validate):
6561 * glyphs-widget.c (combo_box_validate):
6562 * glyphs-widget.c (widget_instantiate):
6563 * glyphs-widget.c (syms_of_glyphs_widget):
6564 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
6565 * glyphs-widget.c (image_instantiator_combo_box):
6566 * glyphs-widget.c (image_instantiator_scrollbar):
6567 * glyphs-widget.c (image_instantiator_tab_control):
6568 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
6570 support (unimplemented) keyword initial-focus.
6571 reindent long macros.
6573 * glyphs-x.c (x_redisplay_widget):
6574 * glyphs-x.c (x_button_instantiate):
6575 * glyphs-x.c (x_button_redisplay):
6576 * glyphs-x.c (x_progress_gauge_instantiate):
6577 * glyphs-x.c (x_edit_field_instantiate):
6578 * glyphs-x.c (x_combo_box_instantiate):
6579 * glyphs-x.c (x_tab_control_instantiate):
6580 * glyphs-x.c (x_label_instantiate):
6582 * gui-x.c (button_item_to_widget_value):
6583 * gui-x.c (gui_items_to_widget_values_1):
6584 * gui-x.c (gui_item_children_to_widget_values):
6585 * gui-x.c (gui_items_to_widget_values):
6587 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6588 add new flag to gui-parsing routines to indicate whether
6589 accelerator specs should be supported.
6591 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
6593 * glyphs.h (struct Lisp_Image_Instance):
6594 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
6595 add initial-focus flag.
6598 * gui.c (syms_of_gui):
6599 * gui.c (vars_of_gui):
6600 clean up menu-no-selection-hook.
6603 support delete-dialog-box-hook.
6605 * lread.c (Fload_internal):
6606 * lread.c (locate_file_in_directory_mapper):
6610 * lrecord.h (struct toolbar_button):
6611 * lrecord.h (syms_of_toolbar):
6612 document how to create a new object.
6614 * menubar-msw.c (mswindows_char_is_accelerator):
6615 may be called on frames w/o menus.
6617 * menubar.c (vars_of_menubar):
6618 clean up :filter docs.
6625 * process-nt.c (validate_signal_number):
6626 * process-nt.c (signal_cannot_launch):
6627 * process-nt.c (nt_create_process):
6628 * process-nt.c (nt_send_process):
6629 * process-nt.c (nt_kill_child_process):
6630 * process-nt.c (nt_open_network_stream):
6631 * process-nt.c (syms_of_process_nt):
6633 delete quote-handling. call new lisp code that does it better.
6635 * process-unix.c (connect_to_file_descriptor):
6636 * process-unix.c (allocate_pty):
6637 * process-unix.c (unix_send_process):
6638 * process-unix.c (unix_kill_child_process):
6639 * process-unix.c (unix_open_network_stream):
6640 * process-unix.c (unix_open_multicast_group):
6644 * process.c (Fstart_process_internal):
6645 (2). need to canonicalize process path even if absolute.
6647 * select-msw.c (symbol_to_ms_cf):
6648 * select-msw.c (ms_cf_to_symbol):
6649 * select-msw.c (cf_is_autofreed):
6650 * select-msw.c (mswindows_destroy_selection):
6652 * select.c (syms_of_select):
6654 support dibv5, fix bugs. (from Mike Alexander)
6656 * select.c (Fget_selection_internal):
6657 * select.c (select_convert_out):
6660 * sysdep.c (xemacs_stat):
6665 but keep original stat() here because we provide encapsulation
6669 * sysfile.h (fstat):
6670 remove stat garbage.
6674 don't include tchar.h. it's inappropriate because it makes
6675 compile-time distinctions when we want runtime distinctions.
6676 (we provide our own tchar replacements)
6679 use default object printer for toolbar-button.
6682 make sure we don't encapsulate.
6684 * window.c (vars_of_window):
6685 emphasize that temp-buffer-show-hook is obsolete.
6687 2000-08-05 Martin Buchholz <martin@xemacs.org>
6689 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
6690 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
6692 * events.c (Fevent_timestamp_lessp):
6693 Not 64-bit clean. Use EMACS_INT, not int.
6695 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
6697 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
6698 unsigned int and changed the last enum to
6699 lrecord_type_last_built_in_type.
6700 (lrecord_implementations_table): changed prototype to know how
6701 long the array is supposed to be.
6702 (lrecord_type_count): new unsigned int to keep track of the
6703 current number of lisp lrecord types.
6704 (DEFINE_EXTERNAL_LRECORD):
6705 (DECLARE_EXTERNAL_LRECORD): Added these two for external
6706 dynamic-modules to declare new lisp types. They are the same
6707 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
6708 int for each new type, and increment lrecord_type_count by 1.
6710 * alloc.c (lrecord_implementations_table): Changed to reference
6711 lrecord_type_last_built_in_type for the size of the array.
6712 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
6714 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6716 * glyphs.h (check_valid_item_list): Renamed from
6717 check_valid_item_list_1.
6719 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
6721 * select.c (Qselect_coerce): New.
6722 * select.c (Vselection_coercion_alist): New.
6723 * select.c (syms_of_select): Declare.
6724 * select.c (get-selection-internal): Use it.
6725 Use the new select-coerce functionality.
6727 * select.c (select_coerce): New.
6728 * select.h (select_coerce): Declare.
6729 New function to coerce one type of data into another.
6731 2000-08-03 Martin Buchholz <martin@xemacs.org>
6733 * callproc.c (Fcall_process_internal):
6734 (Fcall_process_internal):
6735 * process-unix.c (unix_create_process):
6736 Save and restore the value of errno, so that error messages are accurate.
6738 2000-08-01 Martin Buchholz <martin@xemacs.org>
6740 * elhash.c (print_hash_table):
6741 Fix printing of hash tables to also use `key-and-value' instead of `t'.
6742 Prettify docstrings and indentation.
6744 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
6746 * window.c (Fwindow_pixel_edges): Subtract frame border and
6749 2000-07-31 Andy Piper <andy@xemacs.org>
6751 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
6752 will acknowledge the change.
6754 * glyphs.h: declare tab_control_order_only_changed.
6756 * glyphs-x.c (x_tab_control_redisplay): use
6757 tab_control_order_only_changed.
6759 * glyphs-widget.c (tab_control_order_only_changed): new function.
6761 * glyphs-msw.c (mswindows_tab_control_redisplay): use
6762 tab_control_order_only_changed.
6764 * gui.c (gui_item_equal_sans_selected): new function.
6765 (gui_item_equal): use it.
6767 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
6768 :properties in favor of :items..
6770 * glyphs-widget.c (check_valid_item_list): rename from
6771 check_valid_item_list_1.
6772 (check_valid_item_list_1): renamed.
6773 (combo_box_validate): deprecate :properties in favor of :items.
6774 (widget_instantiate): ditto.
6775 (tab_control_update): ditto.
6776 (image_instantiator_combo_box): ditto.
6777 (image_instantiator_tree_view): ditto.
6778 (image_instantiator_tab_control): ditto.
6779 (layout_post_instantiate): remove dead code.
6781 * print.c (debug_print_no_newline): only write to debugger if in
6784 * elhash.c (Fmake_hash_table): update doc string.
6786 * event-msw.c (mswindows_wnd_proc): don't allow processing of
6787 messages whilst in GC. This at least stops XEmacs crashing but has
6788 the potential for wierd behaviour.
6790 2000-07-31 Martin Buchholz <martin@xemacs.org>
6793 Make existence of s&m files optional.
6795 * s/bsd386.h: Remove HAVE_GETLOADAVG.
6796 * s/freebsd.h: Remove HAVE_GETLOADAVG.
6797 * s/gnu.h: Remove HAVE_GETLOADAVG.
6798 * s/netbsd.h: Remove HAVE_GETLOADAVG.
6799 * s/sol2.h: Remove HAVE_GETLOADAVG.
6800 * lisp.h: Remove getloadavg() declaration.
6802 Include <sys/loadavg.h> if available.
6803 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
6804 * config.h.in: Group together getloadavg()-related macros.
6805 Use only configure-time tests to detect getloadavg().
6807 2000-07-30 Martin Buchholz <martin@xemacs.org>
6809 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
6811 2000-07-25 Andy Piper <andy@xemacs.org>
6813 * syswindows.h: add tchar.h for native builds.
6815 * frame.c (syms_of_frame): remove set-glyph-image.
6817 * general-slots.h: add Qset_glyph_image.
6819 * glyphs-widget.c (layout_update): add domain arg to
6821 (syms_of_glyphs_widget): remove set-glyph-image.
6823 2000-07-23 Ben Wing <ben@xemacs.org>
6825 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
6828 2000-07-22 Andy Piper <andy@xemacs.org>
6830 * symsinit.h: add syms_of_win32().
6832 * gui-msw.c (syms_of_gui_mswindows): remove
6833 Fmswindows_shell_execute.
6834 (Fmswindows_shell_execute): moved to win32.c.
6836 * emacs.c (main_1): add syms_of_win32 ().
6838 * win32.c (init_potentially_nonexistent_functions): rewrite in
6839 compiler-friendly terms.
6840 (Fmswindows_shell_execute): move here from gui-msw.c.
6841 (syms_of_win32): new.
6843 * device-msw.c (Fmswindows_printer_list): clean up args to
6845 Don't include tchar under cygwin or mingw.
6846 (msprinter_default_printer): make cygwin-friendly.
6848 2000-07-21 Andy Piper <andy@xemacs.org>
6850 * glyphs-widget.c (image_instantiator_tree_view): use tab
6851 control's update function.
6852 (layout_property): new function. Retrieve items.
6854 * glyphs-msw.c (mswindows_tree_view_redisplay): new
6855 function. Re-populate the tree view from the pending items.
6857 * glyphs.c (instantiate_image_instantiator): Make sure the domain
6858 is designated the parent if the domain is an image instance. This
6859 is needed so that dirtiness can be cascade up the hierarchy and
6860 thus for layout children to be redisplayed correctly.
6861 (allocate_image_instance): rename glyph -> parent.
6863 * redisplay.h: change redisplay_output_layout signature.
6865 * redisplay-msw.c (mswindows_output_display_block): use domain
6868 * redisplay-x.c (x_output_display_block): use domain arg.
6870 2000-07-10 Andy Piper <andy@xemacs.org>
6872 * window.c (Fset_window_configuration): add comment.
6874 * redisplay-output.c (compare_runes):
6875 (redisplay_output_subwindow): redisplay rather than update subwindow.
6876 (redisplay_output_layout): ditto.
6878 * redisplay-msw.c (mswindows_frame_output_end):
6879 (mswindows_frame_output_end): make defer window pos optional.
6881 * lisp.h: add Flast.
6883 * glyphs.h (struct image_instantiator_methods): add dest_mask top
6884 normalize method. Change update method to be for changed
6885 instantiators. Add redisplay method. Change signature of layout
6887 (struct Lisp_Image_Instance): add instantiator.
6888 (IMAGE_INSTANCE_INSTANTIATOR): new.
6889 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
6890 (XIMAGE_INSTANCE_INSTANTIATOR): new.
6891 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
6894 (find_instantiator_differences): new function.
6895 (Fset_instantiator_property): new convenience function.
6896 (check_image_instance_structure): strictly check for vector
6898 (normalize_image_instantiator): make non-static.
6899 (instantiate_image_instantiator): pass on dest_mask and use new
6900 signatures for image_instance_layout and friends.
6901 (mark_image_instance): mark the instantiator. Mark the subwindow
6902 face not the widget face.
6903 (image_instance_equal): add instantiator.
6904 (image_instance_hash): ditto.
6905 (allocate_image_instance): ditto.
6906 (Fset_image_instance_property): removed.
6907 (Fimage_instance_file_name): ditto.
6908 (Fcolorize_image_instance): ditto.
6909 (image_instance_layout): add offsets to be set.
6910 (update_image_instance): new function. update an image instance
6911 from its changed instantiator.
6912 (inherit_normalize): add dest_mask.
6913 (xbm_normalize): ditto.
6914 (xface_normalize): ditto.
6915 (xpm_normalize): ditto.
6916 (text_update): set_property -> update.
6917 (image_instantiate): use the glyph identity as a hash key, not the
6919 (glyph_width): use new image_instance_layout signature.
6920 (glyph_ascent): ditto.
6921 (glyph_descent): ditto.
6922 (glyph_height): ditto.
6923 (glyph_query_geometry): ressurrect.
6924 (glyph_layout): ditto.
6925 (redisplay_subwindow): update -> redisplay.
6926 (syms_of_glyphs): add Fset_instantiator_property.
6927 (image_instantiator_format_create): set_property -> update.
6930 (autodetect_normalize): add dest_maks to signature.
6931 (x_redisplay_subwindow): update -> redisplay.
6932 (x_redisplay_widget): ditto.
6933 (x_button_redisplay): ditto.
6934 (x_progress_gauge_redisplay): ditto.
6935 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
6937 (console_type_create_glyphs_x): update -> redisplay.
6938 (image_instantiator_format_create_glyphs_x): ditto.
6941 (check_valid_instantiator): disallow glyphs in the instantiator,
6942 they must now be vectors.
6943 (check_valid_instantiator_list): ditto.
6944 (glyph_instantiator_to_glyph): use internal symbol rather than
6946 (widget_update): renamed from widget_set_property. Call cascaded
6948 (redisplay_widget): renamed from update_widget.
6949 (widget_layout): image_instance_layout now takes position as well
6951 (widget_normalize): ditto.
6952 (widget_instantiate): ditto.
6953 (tab_control_query_geometry) ditto.:
6954 (tab_control_update): renamed from tab_control_set_property.
6955 (progress_gauge_update): set_property -> update.
6956 (layout_normalize): rewrite so that child instantiators are
6958 (layout_update): new function. Create glyphs from the normalized
6959 children and cope with any other layout keywords. We do not
6960 instantiate children here that will be take care of by
6961 redisplay_output_layout.
6962 (layout_instantiate): call layout_update and not much else.
6963 (layout_post_instantiate): not sure whether this is needed
6965 (layout_query_geometry): query glyph geometry rather than
6966 image_instance geometry.
6967 (layout_layout): set offsets from pass in parameters. Use glyph
6968 geometry and layout functions rather than image instance ones.
6969 (native_layout_layout): ditto.
6970 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
6971 (image_instantiator_widget): set_property -> update.
6972 (image_instantiator_buttons): ditto.
6973 (image_instantiator_progress_guage): ditto.
6974 (image_instantiator_tab_control): ditto.
6975 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
6976 (image_instantiator_layout): add update method.
6978 * glyphs-msw.c (bmp_normalize):
6979 (mswindows_resource_normalize): add dest_mask so that it can be
6980 proprogated by layout_normalize.
6981 (begin_defer_window_pos): make optional because it may not be the
6982 right thing to do and it introduces differences with X.
6983 (mswindows_unmap_subwindow): ditto.
6984 (mswindows_map_subwindow): ditto.
6985 (mswindows_redisplay_subwindow): renamed from
6986 mswindows_update_subwindow.
6987 (mswindows_redisplay_widget): ditto.
6988 (mswindows_button_redisplay): renamed from
6989 mswindows_button_update. Update is now what the instantiation
6990 function does for a changed instantiator.
6991 (mswindows_progress_gauge_instantiate): set the progress value
6992 here if appropriate.
6993 (mswindows_tab_control_redisplay): cope with re-ordering of the
6994 members of the tab widget by simply selecting the new top
6995 widget. This makes things appear ok if you click on a tab.
6996 (mswindows_combo_box_instantiate): image_instance_layout now takes
6997 position as well as size.
6998 (mswindows_progress_gauge_redisplay): renamed from
6999 mswindows_progress_gauge_update.
7000 (console_type_create_glyphs_mswindows): fix update -> redisplay.
7001 (image_instantiator_format_create_glyphs_mswindows): ditto.
7003 * glyphs-eimage.c (jpeg_normalize):
7006 (tiff_normalize): add dest_mask so that it can be proprogated by
7011 (hash_table_weakness_validate):
7012 (decode_hash_table_weakness):
7013 (Fhash_table_weakness):
7015 (syms_of_elhash): use Ben's naming scheme for hashtable types..
7017 * console.h (struct console_methods): move update_* to
7020 2000-07-20 Ben Wing <ben@xemacs.org>
7022 * *.[ch] (XSETOBJ): remove unused middle argument.
7023 lisp-disunion.h: correct wrap_object() to one argument.
7025 2000-07-15 Ben Wing <ben@xemacs.org>
7028 * s/cygwin32.h (CYGWIN_CONV_PATH):
7029 Add missing logb prototype for v1.1.
7030 Use post-b20 names and alias to pre-b20 names when pre-b20.
7032 * s/windowsnt.h: [5].
7034 2000-07-15 Ben Wing <ben@xemacs.org>
7036 * Makefile.in.in (x_objs):
7037 * Makefile.in.in (sheap_objs):
7038 * Makefile.in.in (objs):
7039 added win32.o, cosmetic cleanups.
7041 * alloc.c (Fmake_byte_code):
7042 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
7043 etc. macros which declare their own args now.
7045 * alloc.c (syms_of_alloc):
7046 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
7049 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
7051 * buffer.c (Fget_file_buffer):
7052 Fixed GCPRO problem.
7054 * buffer.c (get_truename_buffer):
7055 Fixed comment about GC checking.
7057 * buffer.c (syms_of_buffer):
7058 Undeclared those dedicated frame funs.
7062 Define convenience macros for internal/external conversions.
7063 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
7064 and Qenvironment_variable_encoding for cleaner code.
7067 Remove dedicated-frame; in lisp.
7069 * bytecode.c (funcall_compiled_function):
7072 * bytecode.c (syms_of_bytecode):
7076 * console-msw.c (mswindows_show_console): Rewrote.
7078 * console-msw.c (Fmswindows_debugging_output): New.
7079 Sends to OutputDebugString (special MSWin debugger interface).
7081 * console-msw.c (Fmswindows_message_box):
7082 Fixed stupid bugs so it works when called from kill-emacs.
7084 * console-msw.c (syms_of_console_mswindows):
7085 Declare Fmswindows_debugging_output.
7088 New MSWin prototypes.
7090 * console-msw.h (struct mswindows_frame):
7091 New entry last-click-mods for improved button-modifier support.
7093 * console-msw.h (FRAME_MSWINDOWS_POPUP):
7094 New struct entry `popup' with corresponding accessor.
7097 * console-x.c (split_up_display_spec):
7098 * console-x.c (get_display_arg_connection):
7099 * console-x.c (x_semi_canonicalize_console_connection):
7100 * console-x.c (x_canonicalize_device_connection):
7101 [[[6]]]: Change char to more specific type.
7102 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
7104 * console-x.c (x_semi_canonicalize_console_connection):
7105 * console-x.c (x_canonicalize_device_connection):
7106 [[[9]]]: Fix up error signalling to use new structured error system.
7109 [[[4]]]: Define codesys aliases:
7110 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
7111 Qx_color_name_encoding, Qx_display_name_encoding.
7113 * console.h (struct console_methods):
7114 New method make_dialog_box_internal supersedes older
7115 popup_dialog_box method.
7118 Define many new errors, part of new structured errors.
7120 * data.c (init_errors_once_early):
7121 * data.c (syms_of_data):
7124 * device-msw.c (mswindows_init_device):
7125 [[[5]]]: Cleanup to support NT 3.51.
7127 * device-msw.c (decode_devmode): Cleanup.
7129 * device-msw.c (mswindows_handle_print_setup_dialog_box):
7130 * device-msw.c (mswindows_handle_print_dialog_box):
7131 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7132 * device-msw.c (syms_of_device_mswindows):
7133 Delete the dialog box primitives recently introduced by Kirill and
7134 instead interface to general dialog box interface.
7137 * device-x.c (compute_x_app_name):
7138 * device-x.c (x_init_device):
7139 * device-x.c (Fx_valid_keysym_name_p):
7140 * device-x.c (Fx_set_font_path):
7144 * device.h (wrap_device): New.
7145 First of its kind; meant to replace XSETDEVICE.
7147 * dialog-msw.c: Many file-dialog symbols.
7149 * dialog-msw.c (mswindows_register_popup_frame): New.
7150 * dialog-msw.c (mswindows_is_dialog_msg): New.
7151 For supporting kbd traversal in dialog boxes.
7153 * dialog-msw.c (dialog_proc):
7154 Support hitting ESC in dialogs.
7156 * dialog-msw.c (struct):
7157 Common dialog box errors.
7159 * dialog-msw.c (handle_file_dialog_box): New.
7160 Add file dialog code.
7162 * dialog-msw.c (handle_question_dialog_box):
7163 Redo existing code to support new question dialog syntax.
7165 * dialog-msw.c (console_type_create_dialog_mswindows):
7166 We support new dialog console method.
7168 * dialog-msw.c (syms_of_dialog_mswindows):
7169 * dialog-msw.c (vars_of_dialog_mswindows):
7170 New file dialog symbols, vars.
7173 * dialog-x.c (maybe_run_dbox_text_callback):
7174 * dialog-x.c (dbox_descriptor_to_widget_value):
7175 * dialog-x.c (x_make_dialog_box_internal):
7176 * dialog-x.c (console_type_create_dialog_x):
7177 Mule-ize entire file.
7178 Redo to support question dialog syntax.
7182 * dialog.c (Fmake_dialog_box_internal):
7183 * dialog.c (syms_of_dialog):
7184 Kill old popup-dialog-box, replace with new primitive.
7185 Just call device method or signal error.
7187 * eldap.c (Fldap_open):
7188 * eldap.c (Fldap_search_basic):
7189 * eldap.c (Fldap_add):
7190 * eldap.c (Fldap_modify):
7195 * emacs.c (make_arg_list_1):
7196 * emacs.c (make_arg_list):
7197 Mule-ize call to dll_init().
7201 * emacs.c (make_argc_argv):
7202 * emacs.c (free_argc_argv):
7203 * emacs.c (init_cmdargs):
7205 * emacs.c (Fkill_emacs):
7206 * emacs.c (Fdump_emacs):
7207 Update comments about what can be used in syms_* etc.
7208 Call init_win32() when necessary.
7209 Fix up MS Win dialog box in kill-buffer to actually work right.
7220 * eval.c (condition_case_3):
7222 * eval.c (function_argcount):
7223 * eval.c (funcall_lambda):
7226 * eval.c (type_error): New.
7227 * eval.c (maybe_type_error): New.
7228 * eval.c (continuable_type_error): New.
7229 * eval.c (maybe_continuable_type_error): New.
7230 * eval.c (type_error_with_frob): New.
7231 * eval.c (maybe_type_error_with_frob): New.
7232 * eval.c (continuable_type_error_with_frob): New.
7233 * eval.c (maybe_continuable_type_error_with_frob): New.
7234 New functions for use with structured errors.
7237 * event-Xt.c (x_event_to_emacs_event):
7238 Buttons are now modifiers too.
7240 * event-Xt.c (emacs_Xt_current_event_timestamp):
7241 Implement new event method.
7242 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
7245 * event-msw.c (ntpipe_shove_writer): [5].
7246 * event-msw.c (mswindows_enqueue_mouse_button_event):
7247 * event-msw.c (mswindows_drain_windows_queue):
7248 * event-msw.c (mswindows_wnd_proc): [7].
7249 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
7250 * event-msw.c (mswindows_modifier_state):
7251 Throughout: support new button modifiers.
7253 * event-msw.c (emacs_mswindows_current_event_timestamp):
7254 Implement new event method.
7255 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
7258 * event-stream.c (event_stream_current_event_timestamp): New.
7259 * event-stream.c (maybe_kbd_translate): New functionality.
7260 * event-stream.c (vars_of_event_stream):
7261 Document new kbd-translate-table functionality.
7263 * event-stream.c (Fcurrent_event_timestamp): New.
7264 New primitive for use in fabricated events.
7265 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
7267 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
7270 * events.c (Fmake_event):
7271 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
7275 * events.c (format_event_object): fix gcc warnings.
7277 * events.c (Fevent_timestamp): Document new primitives.
7279 * events.c (TIMESTAMP_HALFSPACE): New.
7281 * events.c (Fevent_timestamp_lessp): New. New primitive for
7282 comparing timestamps correctly (half-space algorithm).
7284 * events.c (Fevent_modifier_bits): Doc fix.
7286 * events.c (Fevent_modifiers): Major doc addition.
7287 * events.c (event_x_y_pixel_internal): Typo fix.
7288 * events.c (syms_of_events): Declare new primitives.
7291 Update long comment for button modifiers, timestamps.
7293 * events.h (struct event_stream):
7294 New current_event_timestamp method.
7297 * extents.c (extent_in_region_p):
7298 * extents.c (decode_extent):
7299 * extents.c (Fset_extent_parent):
7300 * extents.c (decode_map_extents_flags):
7304 * extents.c (struct extent_at_arg):
7305 * extents.c (decode_extent_at_flag):
7306 * extents.c (extent_at_mapper):
7307 * extents.c (extent_at_bytind):
7308 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
7309 * extents.c (Fextents_at): New primitive. [9].
7310 * extents.c (symbol_to_glyph_layout): [9].
7311 Support new primitive `extents-at'.
7314 * extents.c (get_text_property_bytind):
7315 extent_at_bytind has another arg.
7318 * extents.c (syms_of_extents): New primitive.
7320 * file-coding.c (Fmake_coding_system): [1].
7321 * file-coding.c (subsidiary_coding_system): fix gcc warning
7322 * file-coding.c (syms_of_file_coding): [2].
7324 * fileio.c (Fexpand_file_name):
7325 * fileio.c (Fsysnetunam):
7326 * fileio.c (Ffile_exists_p):
7327 * fileio.c (Ffile_executable_p):
7328 * fileio.c (Fverify_visited_file_modtime):
7331 * fileio.c (syms_of_fileio): [2].
7333 * filelock.c (lock_file_1):
7334 * filelock.c (current_lock_owner):
7335 * filelock.c (lock_if_free):
7336 * filelock.c (lock_file):
7337 * filelock.c (unlock_file):
7340 * fns.c (concat): Fix gcc warning.
7343 * fns.c (Fold_member):
7345 * fns.c (Fold_memq):
7346 * fns.c (memq_no_quit):
7348 * fns.c (Fold_assoc):
7350 * fns.c (Fold_assq):
7351 * fns.c (assq_no_quit):
7353 * fns.c (Fold_rassoc):
7355 * fns.c (Fold_rassq):
7356 * fns.c (rassq_no_quit):
7358 * fns.c (Fold_delete):
7360 * fns.c (Fold_delq):
7361 * fns.c (delq_no_quit):
7362 * fns.c (Fremassoc):
7364 * fns.c (remassq_no_quit):
7365 * fns.c (Fremrassoc):
7366 * fns.c (Fremrassq):
7367 * fns.c (remrassq_no_quit):
7372 * frame-msw.c (mswindows_init_frame_1):
7373 * frame-msw.c (mswindows_delete_frame):
7374 Register popups with dialog code so keyboard traversing works.
7376 * frame-tty.c (tty_raise_frame_no_select): [1].
7379 * frame-x.c (x_set_frame_text_value):
7380 * frame-x.c (x_set_frame_properties):
7381 * frame-x.c (x_create_widgets):
7385 * frame.c (Fmouse_pixel_position): Minor doc fixes.
7387 * frame.h (wrap_frame): New.
7388 Macro like wrap_device.
7391 * general.c (SYMBOL):
7392 * general.c (syms_of_general):
7393 Major reorg. This is now just a wrapper and symbols themselves
7394 are listed in general-slots.h.
7396 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
7397 * glyphs-msw.c (mswindows_resource_instantiate): [5].
7399 * glyphs-msw.c (mswindows_native_layout_instantiate):
7400 Add DS_CONTROL so keyboard traversal will work.
7403 * glyphs-widget.c (syms_of_glyphs_widget):
7404 Move some symbols to general-slots.h.
7407 * glyphs-x.c (xbm_instantiate_1):
7408 * glyphs-x.c (x_xbm_instantiate):
7409 * glyphs-x.c (x_xface_instantiate):
7410 * glyphs-x.c (autodetect_instantiate):
7411 * glyphs-x.c (cursor_font_instantiate):
7412 * glyphs-x.c (x_update_widget):
7413 * glyphs-x.c (x_widget_instantiate):
7414 * glyphs.c (bitmap_to_lisp_data):
7415 * glyphs.c (pixmap_to_lisp_data):
7418 * glyphs.c (syms_of_glyphs):
7422 * gui-x.c (print_widget_value):
7423 * gui-x.c (menu_separator_style_and_to_external):
7424 * gui-x.c (add_accel_and_to_external):
7425 * gui-x.c (button_item_to_widget_value):
7426 * gui-x.c (gui_items_to_widget_values_1):
7427 * gui-x.c (gui_items_to_widget_values):
7428 * gui-x.c (syms_of_gui_x):
7429 * gui-x.c (vars_of_gui_x):
7430 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
7434 Muleize, prototype changes matching gui-x.c.
7437 * gui.c (separator_string_p):
7438 * gui.c (gui_item_add_keyval_pair):
7439 * gui.c (make_gui_item_from_keywords_internal):
7440 * gui.c (signal_too_long_error):
7441 * gui.c (parse_gui_item_tree_item):
7442 * gui.c (syms_of_gui):
7443 * gui.c (vars_of_gui):
7445 menu-no-selection-hook moved here (used by MSWin).
7446 Move some symbols to general-slots.h.
7450 * insdel.c (get_buffer_pos_char):
7451 * insdel.c (get_buffer_range_char):
7454 * keymap.c (keymap_lookup_directly):
7455 * keymap.c (keymap_store):
7456 * keymap.c (ensure_meta_prefix_char_keymapp):
7457 * keymap.c (describe_map):
7459 Support new button modifiers.
7461 * lisp-disunion.h (wrap_object):
7462 * lisp-disunion.h (XSETOBJ):
7463 Rename make_obj to wrap_object.
7466 * lisp-union.h (make_int):
7467 * lisp-union.h (make_char):
7468 Support wrap_object.
7471 * lisp.h (LIST_LOOP):
7472 * lisp.h (EXTERNAL_LIST_LOOP):
7473 * lisp.h (LIST_LOOP_2):
7474 * lisp.h (EXTERNAL_LIST_LOOP_1):
7475 * lisp.h (EXTERNAL_LIST_LOOP_2):
7476 * lisp.h (EXTERNAL_LIST_LOOP_3):
7477 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
7478 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
7479 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
7480 * lisp.h (EXTERNAL_ALIST_LOOP_5):
7481 * lisp.h (EXTERNAL_ALIST_LOOP_6):
7482 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
7483 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
7484 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
7485 * lisp.h (struct Lisp_Symbol):
7486 * lisp.h (maybe_continuable_error_with_frob):
7487 Fix up section comments.
7488 Add new types for char to indicate usage.
7489 Delete symbols auto-generated from general-slots.h.
7490 Add prototypes for structured error functions.
7491 Add long comments describing looping macros and change interface
7492 so that lvalues are automatically declared.
7493 Add NO_DECLARE macro in case callers want to declare lvalues
7496 * lread.c (read_syntax_error):
7497 * lread.c (continuable_read_syntax_error):
7498 * lread.c (read_structure):
7499 * lread.c (sequence_reader):
7500 * lread.c (read_list_conser):
7501 * lread.c (read_compiled_function):
7502 Rename syntax_error and continuable_syntax_error to avoid clash
7503 with same-named structured error functions.
7505 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7506 * menubar-msw.c (populate_menu_add_item):
7507 * menubar-msw.c (populate_or_checksum_helper):
7512 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7513 Mule-ize whole file.
7515 * menubar.c (Fnormalize_menu_item_name): Add optimization.
7517 * mule-charset.c (Fmake_charset):
7518 * mule-wnnfns.c (Fwnn_set_param):
7521 * ntproc.c (create_child):
7522 * ntproc.c (Fwin32_set_current_locale):
7523 Add comments portending doom.
7526 * objects-msw.c (old_font_enum_callback_2):
7527 * objects-msw.c (font_enum_callback_1):
7528 * objects-msw.c (mswindows_enumerate_fonts):
7532 * objects-x.c (allocate_nearest_color):
7533 * objects-x.c (x_parse_nearest_color):
7534 * objects-x.c (x_initialize_color_instance):
7535 * objects-x.c (x_print_color_instance):
7536 * objects-x.c (x_finalize_color_instance):
7537 * objects-x.c (x_valid_color_name_p):
7538 * objects-x.c (x_initialize_font_instance):
7539 * objects-x.c (x_print_font_instance):
7540 * objects-x.c (valid_x_font_name_p):
7541 * objects-x.c (truename_via_FONT_prop):
7542 * objects-x.c (truename_via_random_props):
7543 * objects-x.c (truename_via_XListFonts):
7544 * objects-x.c (x_font_truename):
7545 * objects-x.c (x_font_instance_truename):
7546 * objects-x.c (x_font_instance_properties):
7547 * objects-x.c (x_list_fonts):
7548 * objects-x.c (x_find_charset_font):
7549 Mule-ize entire file.
7556 * print.c (std_handle_out_external):
7557 * print.c (debug_print_no_newline):
7558 * print.c (syms_of_print):
7559 Output to all debugger kinds in debug-print.
7560 Fix console-output code under MSWin to actually work.
7562 * process-nt.c (send_signal):
7563 * process-nt.c (nt_create_process):
7564 Use newer Unicode macros.
7566 * process-unix.c (unix_create_process):
7567 * process-unix.c (unix_canonicalize_host_name):
7568 * process-unix.c (unix_open_network_stream):
7574 * search.c (syms_of_search):
7577 * select-msw.c (mswindows_destroy_selection):
7580 * select-x.c (symbol_to_x_atom):
7583 * select.c (syms_of_select):
7586 * sound.c (Fplay_sound_file):
7590 * specifier.c (decode_specifier_type):
7591 * specifier.c (Fvalid_specifier_locale_type_p):
7592 * specifier.c (check_valid_locale_or_locale_type):
7593 * specifier.c (decode_locale):
7594 * specifier.c (decode_locale_type):
7595 * specifier.c (decode_locale_list):
7596 * specifier.c (check_valid_domain):
7597 * specifier.c (decode_specifier_tag_set):
7598 * specifier.c (Fcanonicalize_tag_set):
7599 * specifier.c (Fdefine_specifier_tag):
7600 * specifier.c (Fspecifier_tag_predicate):
7601 * specifier.c (check_valid_inst_list):
7602 * specifier.c (check_valid_spec_list):
7603 * specifier.c (decode_how_to_add_specification):
7604 * specifier.c (check_modifiable_specifier):
7605 * specifier.c (specifier_add_spec):
7606 * specifier.c (boolean_validate):
7607 * specifier.c (display_table_validate):
7610 * specifier.c (syms_of_specifier):
7611 Move some symbols to general-slots.h.
7615 * symbols.c (Fmapatoms):
7616 * symbols.c (Fapropos_internal):
7619 * symbols.c (set_default_buffer_slot_variable):
7620 * symbols.c (set_default_console_slot_variable):
7623 * symbols.c (defsymbol_massage_name_1):
7624 * symbols.c (defkeyword_massage_name):
7625 * symbols.c (deferror_1):
7626 * symbols.c (deferror):
7627 * symbols.c (deferror_massage_name_and_message):
7629 * symeval.h (DEFSYMBOL):
7630 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
7632 * symbols.c (syms_of_symbols):
7636 * symsinit.h (init_win32): New.
7637 Also new is syms_of_dialog_mswindows.
7640 Add new Unicode macros, missing Cygwin wide-char functions,
7641 convenience conversion macros for Qmswindows_tstr, macros for
7642 encapsulating required MSWin <-> Cygwin filename conversions,
7643 prototype for dynamically-extracted (not in NT 3.51) functions.
7648 * tooltalk.c (Fadd_tooltalk_message_arg):
7649 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
7650 * tooltalk.c (Fadd_tooltalk_pattern_arg):
7653 * tooltalk.c (syms_of_tooltalk):
7657 * unexnt.c (unexec):
7658 Fix up headers, declaration of unexec() to be more standard.
7660 2000-07-20 Martin Buchholz <martin@xemacs.org>
7662 * offix.h: Revert change to guard macros - they're used in offix.c!
7664 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7666 * lisp.h: Defsubred Fdelete.
7668 * console-msw.h: (msprinter_default_printer): Added.
7670 * console-msw.c (msprinter_canonicalize_console_connection):
7671 (msprinter_canonicalize_device_connection): Added.
7673 * device-msw.c (msprinter_default_printer):
7674 (Fmswingows_get_default_printer):
7675 (signal_enum_priner_error):
7676 (Fmswingows_printer_list): Added.
7678 2000-07-19 Martin Buchholz <martin@xemacs.org>
7680 * XEmacs 21.2.35 is released.
7682 2000-07-19 Martin Buchholz <martin@xemacs.org>
7684 * select-x.c (x_handle_selection_request):
7685 Text selected in xemacs and pasted into xterm failed to appear.
7686 Spelling fixes and cosmetic changes.
7688 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7690 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
7691 XEmacs frame (fix for doubling chars in dialog boxes).
7693 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7695 * select.c (select_convert_in, select_convert_out):
7696 Don't call intern() every time.
7698 * select.c (Qselect_convert_in, Qselect_convert_out): New.
7699 * select.c (vars_of_select): Initialise them.
7701 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7703 * select.c (selection-coercible-types): New.
7705 * select.c (own-selection-internal):
7706 * select.c (get-selection-internal):
7707 MULE bug fix - these should default to COMPOUND_TEXT and not
7708 STRING for MULE. I think.
7710 * select.c (select_convert_out): Use selection-coercible-types
7711 to find types that we can attempt to perform coercions on.
7713 2000-07-18 Martin Buchholz <martin@xemacs.org>
7717 Add coding: cookie to identify encoding.
7719 * mule-canna.c (CANNA_mode_keys): make static.
7720 Use proper prototypes, even for functions of no arguments.
7721 Remove external prototype for Fding().
7723 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
7725 * select.c (syms_of_select): Add missing DEFSUBR.
7727 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7729 * select.c (get_selection_internal, own_selection_internal):
7730 Make the type default to STRING, rather than placing a nil type
7731 into Vselection_alist.
7733 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7735 * gpmevent.c (tty_selection_exists_p):
7736 * gpmevent.c (tty_own_selection):
7737 Updated parameter lists.
7739 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
7741 * select.h (selection-alist): Removed declaration.
7743 * select.h (get_local_selection):
7744 * select.c (get_local_selection):
7747 * select.h (convert_selection): Removed declaration.
7748 * select.c (convert_selection): Removed.
7749 This function belongs in Lisp.
7751 * select.h (select_convert_in): Declare.
7752 * select.h (select_convert_out): Declare.
7753 * select.c (select_convert_in): New.
7754 * select.c (select_convert_out): New.
7755 New conversion functions for other files to call.
7757 * select.h (select_notify_buffer_kill): Declare.
7758 * select.c (select_notify_buffer_kill): New.
7759 New functions that get called from kill-buffer.
7761 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
7762 X-specific lisp code.
7764 * select.h: Declare some of the lisp-visible functions for
7767 * select.c (clean_local_selection_data): Removed. This was
7768 a disgusting function, and previously should have been in
7769 select-x.c in any case. The functionality is now provided
7770 in select-convert-from-integer (select.el).
7772 * select.c (available-selection-types): Fixed stupidity where
7773 INTEGER and ATOM got added twice. Also add STRING when we see an
7776 * select.c (get-selection-internal): Removed symbol stripping. No
7777 longer causes conversion when data comes from the internal cache.
7779 * select.c (syms_of_select): Added new functions.
7781 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
7782 error checking - previously this called abort!
7784 * select-x.c (x_own_selection): Changed comment.
7786 * select-x.c (x_handle_selection_request): Use select_convert_out.
7787 Don't mess with selection-alist; it's an internal variable of select.c.
7789 * select-x.c (x_get_foreign_selection): Use select_convert_in.
7791 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
7792 rather than messing with selection-alist.
7794 * select-msw.c (mswindows_get_foreign_selection):
7795 Use TO_INTERNAL_FORMAT rather than hacking.
7797 2000-07-14 Martin Buchholz <martin@xemacs.org>
7799 * process-unix.c (unix_open_multicast_group):
7800 (unix_open_multicast_group): Remove useless casts.
7802 2000-07-13 Martin Buchholz <martin@xemacs.org>
7804 * sound.c (Fplay_sound): Fix `unused variable' warning.
7806 * emacs.c (main): Use correct type for _environ on SCO5.
7808 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
7810 * console.h (own_selection_method):
7811 * console.h (selection_exists_p_method):
7812 * console.h (available_selection_types_method): New.
7813 * console.h (register_selection_data_type_method): New.
7814 * console.h (selection_data_type_name): New.
7816 * console-msw.h (mswindows_destroy_selection): Declare it. New
7817 function & alist to track GlobalAlloc()'d handles that need
7818 releasing when the clipboard data gets replaced or emptied.
7820 * event-msw.c (mswindows_wnd_proc): Call it.
7822 * lisp.h, general.c (Qappend): New symbol representing a
7825 * select.c (own-selection-internal):
7826 * select.c (selection-exists-p):
7827 * select.c (available-selection-types): New.
7828 * select.c (register-selection-data-type): New.
7829 * select.c (selection-data-type-name): New. New functions to deal
7830 with device-specific selection data formats.
7831 * select.c (selection-converter-out-alist): Renamed.
7832 * select.c (selection-converter-in-alist): New.
7833 * select.c (selection-appender-alist): New. Added new alists.
7834 * select.c (syms_of_select, vars_of_select): Added new symbols &
7836 * select.c (get_local_selection): Split.
7837 * select.c: Removed spurious type checking - selections may now be
7838 of any type, not just strings.
7839 * select.c (own-selection-internal):
7841 * select.h, select.c (convert_selection): New. Created
7842 convert_selection() function based on get_local_selection().
7843 * select.h, select.c (QCF_*): New symbols representing mswindows
7845 * select.h, select.c (Qreplace_all, Qreplace_existing): New
7846 symbols representing `how-to-add' modes.
7848 * select-msw.c (x_sym_p): New.
7849 * select-msw.c (symbol_to_ms_cf): New.
7850 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
7851 symbols & clipboard formats. Can also handle string names.
7852 * select-msw.c (mswindows_own_selection):
7853 * select-msw.c (mswindows_selection_exists_p):
7854 Added `data-type' parameter. Use it.
7855 * select-msw.c (mswindows_available_selection_types): New.
7856 * select-msw.c (mswindows_register_selection_data_type): New.
7857 * select-msw.c (mswindows_selection_data_type_name): New.
7858 * select-msw.c (mswindows_own_selection):
7859 * select-msw.c (mswindows_get_foreign_selection):
7860 * select-msw.c (mswindows_selection_exists_p): Rewrote.
7861 * select-msw.c (console_create_select_mswindows): Added new methods.
7862 * select-msw.c (mswindows_destroy_selection): New.
7863 * select-msw.c (Vhandle_alist): New list.
7864 * select-msw.c (mswindows_own_selection):
7866 * select-x.c (x_own_selection):
7867 * select-x.c (x_selection_exists_p):
7868 * select-x.c: Added some comments about maybe using new
7870 * select-x.c (x_own_selection):
7872 * specifier.c: Remove definition of Qappend (now in general.c)
7873 * specifier.c (syms_of_specifier): Remove Qappend.
7875 2000-07-12 Martin Buchholz <martin@xemacs.org>
7877 * config.h.in: Add socklen_t.
7879 * s/decosf4-0.h: No special compiler flags needed or desired.
7880 In particular, undefine _BSD for DEC OSF 4.0.
7882 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7884 * redisplay-msw.c (msprinter_frame_output_end): Added.
7885 (console_type_create_redisplay_mswindows): Referred the above.
7887 * frame.c (setup_frame_without_minibuffer): Do not create a
7888 default minibuffer frame on a printer device.
7890 * frame-msw.c (apply_dc_geometry): Added.
7891 (msprinter_start_page):
7892 (msprinter_init_frame_3):
7893 (msprinter_eject_page): Use it.
7895 * console-msw.h (struct msprinter_frame): Added pix_left and top,
7896 and removed residual duplex and orientation properties.
7898 2000-07-11 Martin Buchholz <martin@xemacs.org>
7900 * eval.c (function_argcount): Work around a DEC CC compiler bug.
7902 * unexalpha.c: Remove system prototypes from C sources!
7904 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
7906 * eval.c: Remove references to M-x edit-options in DEFUNs for
7907 `defvar' and `defconst'.
7909 2000-07-09 Martin Buchholz <martin@xemacs.org>
7911 * config.h.in: Remove SMART_INCLUDE hackery.
7914 * config.h.in: Don't use SMART_INCLUDE.
7916 * postgresql.h: Include libpq-fe.h here. Fix typo.
7917 * inline.c: Simply #include "postgresql.h"
7919 - Don't use SMART_INCLUDE
7920 - Use simply "const".
7921 - Use standard doc string conventions.
7922 - Use correct type for result of PQstatus.
7924 2000-07-09 Martin Buchholz <martin@xemacs.org>
7926 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
7928 C++ compilation changes.
7929 * config.h.in (EXTERN_C): Define.
7930 * config.h.in (not): This is also a C++ keyword.
7931 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
7932 * cm.c: Use EXTERN_C.
7933 * redisplay-tty.c: Use EXTERN_C.
7934 * sysdep.c: Use EXTERN_C. Remove Gould support.
7936 2000-07-09 Martin Buchholz <martin@xemacs.org>
7938 * general.c: Remove duplicate definition for Qfunction.
7940 2000-07-08 Ben Wing <ben@xemacs.org>
7942 * device-msw.c (msprinter_init_device):
7943 * device-msw.c (sync_printer_with_devmode):
7944 * device-msw.c (handle_devmode_changes):
7945 * device-msw.c (print_dialog_worker):
7946 * device-msw.c (Fmsprinter_apply_settings):
7947 * device-msw.c (hash_devmode):
7948 * device-msw.c (Fmsprinter_settings_despecialize):
7949 use Qmswindows_tstr, not Qctext.
7951 * vm-limit.c (check_memory_limits):
7952 avoid infinite loop printing warning messages.
7954 2000-07-05 Craig Lanning <lanning@scra.org>
7956 * Makefile.in.in: Add support for including the Windows resources
7957 when building with the cygwin and mingw targets.
7959 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
7960 not set or not correct.
7961 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
7962 (init_initial_directory): Don't try to use $PWD on the
7963 WIN32_NATIVE target.
7966 [[Add -mwindows to eliminate console window.]] not required --ben
7967 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7968 (MAIL_USE_POP): removed; now handled by configure.
7970 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
7971 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
7972 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7973 (MAIL_USE_POP): removed; now handled by configure.
7974 (ENCAPSULATE_STAT): from Dan Holmsand, added.
7975 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
7976 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
7978 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
7979 up from <winsock.h> via systime.h.
7980 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
7981 (getpagesize): from Dan Holmsand, added.
7982 Added #endif which was left dangling by Ben's mega patch; added
7983 comment to help prevent this in the future.
7985 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
7987 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7989 * console-msw.h (struct mswindows_device): Removed unnecessary
7990 cached device geometry values.
7991 Added update_tick and an accessor macro.
7992 (Lisp_Devmode): Added lrecord declaration.
7993 (struct msprinter_device): Contain devmode as a Lisp object.
7994 Added mswindows_get_selected_frame_hwnd();
7996 * console.h (struct console_methods): Indentation nitpicking.
7998 * device-msw.c (mswindows_init_device): Do not initialize geometry
7999 cache. Initialize update tick.
8000 (mswindows_device_system_metrics): Ask the device for its geometry.
8001 (global_free_2_maybe):
8002 (devmode_to_hglobal):
8003 (handle_printer_changes):
8004 (ensure_not_printing):
8005 (print_dialog_worker):
8006 (Fmsprinter_print_setup_dialog):
8007 (Fmsprinter_print_dialog):
8010 (Fmsprinter_page_setup_dialog): Added functions.
8011 (sync_printer_with_devmode):
8012 (handle_devmode_changes):
8013 (Fmsprinter_get_settings):
8014 (Fmsprinter_select_settings):
8015 (Fmsprinter_apply_settings):
8017 (Fmsprinter_settings_copy):
8018 (Fmsprinter_settings_despecialize):
8022 (hash_devmode): Added functions
8023 (syms_of_device_mswindows): Init devmode lrecord class.
8025 * device.h: Added an exfun for find-device.
8027 * event-msw.c (mswindows_wnd_proc): Do not update the cached
8028 geometry; although, recreate the device compatible DC.
8030 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
8031 (msprinter_init_frame_3):
8032 (msprinter_frame_property):
8033 (msprinter_internal_frame_property_p):
8034 (msprinter_frame_properties):
8035 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
8036 print job properties (will move to device settings).
8038 * lisp.h: Added symbols.
8040 * general.c (syms_of_general): Declared them.
8042 * hash.c (string_hash): Added.
8044 * lrecord.h (lrecord_type): Added devmode lrecord type.
8046 2000-07-02 Mike Sperber <mike@xemacs.org>
8048 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
8051 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
8053 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
8056 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
8058 * data.c (Fstring_to_number): Don't recognize floating point if
8061 2000-06-22 Martin Buchholz <martin@xemacs.org>
8063 * glyphs-widget.c (tab_control_query_geometry):
8064 (widget_query_geometry):
8065 (button_query_geometry):
8066 * glyphs.c (text_query_geometry):
8067 Enforce type correctness.
8069 2000-06-18 Martin Buchholz <martin@xemacs.org>
8071 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
8072 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
8074 2000-06-17 Martin Buchholz <martin@xemacs.org>
8076 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
8077 conflicts with gcc's fixincluded version of FOO.h.
8079 * glyphs.h (image_instance_geometry): Remove trailing `,'
8081 2000-06-08 Mike Alexander <mta@arbortext.com>
8083 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
8084 (shove_thread): Don't write the same output twice
8085 (make_ntpipe_output_stream): Increase priority of shove thread
8086 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
8088 (ntpipe_shove_closer): Don't delete the pipe until we're done with
8091 2000-06-12 Ben Wing <ben@xemacs.org>
8093 * s\mingw32.h (sigset):
8094 * s\windowsnt.h (sigset):
8095 rename msw_ to mswindows_ for consistency with general convention.
8097 2000-06-12 Ben Wing <ben@xemacs.org>
8100 * console-msw.c (mswindows_get_console_hwnd):
8101 * console-msw.c (mswindows_ensure_console_allocated):
8102 * console-msw.c (mswindows_hide_console):
8103 * console-msw.c (mswindows_show_console):
8104 * console-msw.c (mswindows_ensure_console_buffered):
8105 * console-msw.c (mswindows_output_console_string):
8106 * console-msw.c (mswindows_windows9x_p):
8108 * device-msw.c (mswindows_get_workspace_coords):
8109 * device-msw.c (mswindows_device_system_metrics):
8110 * dialog-msw.c (mswindows_popup_dialog_box):
8111 * event-msw.c (mswindows_wnd_proc):
8112 * frame-msw.c (mswindows_size_frame_internal):
8113 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
8114 * menubar-msw.c (displayable_menu_item):
8115 * menubar-msw.c (mswindows_char_is_accelerator):
8117 * nt.c (mswindows_sigset):
8118 * nt.c (mswindows_sigrelse):
8119 * nt.c (mswindows_sigpause):
8120 * nt.c (mswindows_raise):
8121 * nt.c (timer_proc):
8123 * ntproc.c (find_child_console):
8124 * ntproc.c (sys_kill):
8126 * print.c (std_handle_out_external):
8127 * process-nt.c (find_child_console):
8128 * process-nt.c (send_signal_the_95_way):
8129 * process-nt.c (ensure_console_window_exists):
8130 * process-nt.c (nt_create_process):
8132 rename msw_ to mswindows_ for consistency with general convention.
8136 include nt.h, not syswindows.h.
8138 * nt.c (mswindows_fstat):
8139 * nt.c (mswindows_stat):
8140 prefix mswindows_ instead of attempting to directly override the
8141 library functions. fix declarations.
8144 include syswindows.h. move some sysdep.h stuff here.
8147 include syswindows.h, not <windows.h>.
8155 * sysdep.c (sys_fstat):
8156 * sysdep.c (sys_stat):
8157 call mswindows versions when appropriate.
8160 move mswin decls to nt.h.
8163 add long comment describing appropriate use of the various windows
8166 2000-06-11 Ben Wing <ben@xemacs.org>
8168 * device-x.c: Correct doc string for sixth arg of x-get-resource.
8170 2000-06-10 Ben Wing <ben@xemacs.org>
8172 * Makefile.in.in (release):
8173 Correction to make sure xemacs.exe always dumped when correct.
8177 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
8179 * buffer.c (set_buffer_internal):
8180 [[[[2]]]]: Remove HAVE_FEP code.
8182 * buffer.c (init_initial_directory):
8186 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
8190 * callproc.c (call_process_cleanup):
8191 * callproc.c (Fold_call_process_internal):
8192 * callproc.c (child_setup):
8193 * callproc.c (getenv_internal):
8194 * callproc.c (init_callproc):
8195 * callproc.c (vars_of_callproc):
8196 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
8197 __CYGWIN32__ -> CYGWIN.
8198 DOS_NT -> WIN32_NATIVE.
8199 Remove MSDOS support/references, converting to WIN32_NATIVE
8201 __MINGW32__ -> MINGW.
8202 Fix windows.h includes.
8203 Remove bogus HAVE_NTGUI.
8209 mswindows_message_outputted added for use in allowing startup
8210 errors on the console to be seen.
8212 * console-msw.c (msw_ensure_console_allocated):
8213 * console-msw.c (msw_output_console_string):
8214 * console-msw.c (DHEADER):
8215 * console-msw.c (DOPAQUE_DATA):
8216 * console-msw.c (DEVENT):
8217 * console-msw.c (DCONS):
8218 * console-msw.c (DCONSCDR):
8219 * console-msw.c (DSTRING):
8220 * console-msw.c (DVECTOR):
8221 * console-msw.c (DSYMBOL):
8222 * console-msw.c (DSYMNAME):
8225 * console-stream.c (stream_init_console):
8226 Fix text/binary problems.
8229 * device-msw.c (mswindows_finish_init_device):
8230 * device-msw.c (mswindows_delete_device):
8233 * device.c (handle_asynch_device_change):
8237 * dgif_lib.c (DGifOpenFileName):
8238 * dgif_lib.c (DGifOpenFileHandle):
8239 * dgif_lib.c (DGifGetLine):
8240 * dgif_lib.c (DGifGetPixel):
8241 Added config.h/lisp.h, fix up includes.
8248 * dired.c (file_name_completion):
8249 * dired.c (Ffile_attributes):
8250 * dired.c (syms_of_dired):
8254 * dumper.c (pdump_file_unmap):
8255 * dumper.c (pdump_load):
8259 * editfns.c (Ftemp_directory):
8260 * editfns.c (user_login_name):
8261 * editfns.c (Fuser_real_login_name):
8262 * editfns.c (get_home_directory):
8265 * elhash.c (finish_marking_weak_hash_tables):
8266 [[[[5]]]]: Fix GCC warnings.
8269 * emacs.c (mswindows_handle_hardware_exceptions):
8270 * emacs.c (make_arg_list_1):
8272 * emacs.c (Fkill_emacs):
8273 * emacs.c (Fdump_emacs):
8275 Fix problems with nested crashes, add long comment.
8277 * event-Xt.c (init_event_Xt_late):
8281 * event-msw.c (mswindows_dde_callback):
8282 * event-msw.c (mswindows_handle_sticky_modifiers):
8283 * event-msw.c (mswindows_wnd_proc):
8287 * events.c (character_to_event):
8291 * fileio.c (Ffile_name_directory):
8292 * fileio.c (Ffile_name_nondirectory):
8293 * fileio.c (directory_file_name):
8294 * fileio.c (Fexpand_file_name):
8295 * fileio.c (Fsubstitute_in_file_name):
8296 * fileio.c (Ffile_name_absolute_p):
8297 * fileio.c (check_executable):
8298 * fileio.c (Ffile_readable_p):
8299 * fileio.c (Ffile_accessible_directory_p):
8300 * fileio.c (Ffile_modes):
8301 * fileio.c (Funix_sync):
8302 * fileio.c (vars_of_fileio):
8305 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
8307 Expand getdefdir defn.
8308 Fix bogus rename() comment.
8310 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
8311 to use standard XEmacs include files, e.g. sysfile.h, rather
8312 than system-specific includes.
8318 * frame.c (vars_of_frame):
8322 * getloadavg.c (getloadavg):
8324 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
8325 (We don't use it elsewhere in the code; just add a comment.)
8332 * glyphs-msw.c (mswindows_resource_instantiate):
8335 * glyphs-x.c (x_native_layout_instantiate):
8338 * gui-msw.c (Fmswindows_shell_execute):
8347 * lread.c (locate_file_in_directory_mapper):
8354 * mem-limits.h (get_lim_data):
8366 * nt.c (rva_to_section):
8367 * nt.c (mswindows_executable_type):
8369 Fix closedir() defn.
8372 [[[[8]]]]: *_OK defs moved to sysfile.h.
8381 * print.c (std_handle_out_external):
8385 * process-nt.c (nt_create_process):
8387 try to fix process quoting somewhat.
8389 * process-unix.c (unix_create_process):
8393 * process.c (vars_of_process):
8400 * realpath.c (xrealpath):
8403 * redisplay-tty.c (init_tty_for_redisplay):
8413 * sheap.c (more_static_core):
8414 * sheap.c (report_sheap_usage):
8418 * signal.c (alarm_signal):
8425 * strftime.c (zone_name):
8428 * symsinit.h (init_sunpro):
8432 commctrl.h not in Cygwin b20.1.
8436 * sysdep.c (sys_subshell):
8437 * sysdep.c (init_baud_rate):
8438 * sysdep.c (emacs_get_tty):
8439 * sysdep.c (emacs_set_tty):
8440 * sysdep.c (tty_init_sys_modes_on_device):
8441 * sysdep.c (init_system_name):
8442 * sysdep.c (sys_open):
8443 * sysdep.c (interruptible_open):
8444 * sysdep.c (sys_fopen):
8445 * sysdep.c (sys_mkdir):
8446 * sysdep.c (sys_rename):
8447 * sysdep.c (get_process_times_1):
8454 * sysdir.h (DIRENTRY_NONEMPTY):
8457 * sysdll.c (dll_init):
8463 added text/binary defs.
8469 * sysproc.h (EDESTADDRREQ):
8470 * sysproc.h (poll_fds_for_input):
8487 Always define WIN32_LEAN_AND_MEAN.
8489 * unexcw.c (unexec):
8493 * unexec.c (copy_text_and_data):
8494 * unexec.c (adjust_lnnoptrs):
8498 * unexnt.c (_start):
8501 2000-06-07 Ben Wing <ben@xemacs.org>
8503 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
8504 was used only as a model. We've long since extracted any useful
8505 logic or code out of this. (I just did an exhaustive search.)
8507 * s\msdos.h: Removed.
8509 * s\windows95.h: Removed.
8511 2000-06-10 Ben Wing <ben@xemacs.org>
8515 Don't use extern with fun defs.
8519 Remove nt\inc include.
8520 Remove getdisk, getdefdir. (The former is unused, the latter
8521 expanded in fileio.h.)
8524 * s\windowsnt.h (WIN32_NATIVE):
8525 * s\windowsnt.h (HAVE_STRCASECMP):
8527 Add long comment about preprocessor changes.
8528 Remove getdisk, getdefdir. (The former is unused, the latter
8529 expanded in fileio.h.)
8531 2000-06-10 Ben Wing <ben@xemacs.org>
8540 Remove bogus/unused NO_SOCK_SIGIO.
8542 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
8544 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
8547 2000-06-04 Mike Sperber <mike@xemacs.org>
8549 * casetab.c (set_case_table): For `set-standard-case-table',
8550 actually deposit the new case tables where the rest of XEmacs can
8553 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
8555 * data.c (Faset): Don't cast XCHAR() to unsigned char.
8557 2000-06-05 Ben Wing <ben@xemacs.org>
8559 * callproc.c (child_setup): Don't do close_load_descs() under
8560 MS Windows. Put in a comment explaining why.
8562 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
8564 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
8565 Toolkit shell" which breaks `kill-compilation' on Windows NT
8566 native, retaining STDERR handling improvements.
8568 2000-06-01 Andreas Jaeger <aj@suse.de>
8570 * s/s390.h: Support for S390, based on a patch by Martin
8571 Schwidefsky <schwidefsky@de.ibm.com>.
8573 2000-05-30 Andy Piper <andy@xemacs.org>
8575 * window.c (allocate_window):
8576 (make_dummy_parent):
8577 (Fset_window_configuration): use new hashtable type.
8579 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
8580 (struct image_instantiator_methods):
8581 (struct Lisp_Image_Instance): make instance geometry signed.
8583 * glyphs.c (instantiate_image_instantiator):
8584 (image_instance_query_geometry):
8585 (image_instance_layout):
8586 (image_instance_layout):
8587 (query_string_geometry):
8588 (text_query_geometry):
8589 (image_instantiate):
8590 (image_instantiate):
8591 (cache_subwindow_instance_in_frame_maybe):
8592 (subwindow_query_geometry): make instance geometry signed.
8594 * glyphs-widget.c (widget_query_geometry):
8596 (button_query_geometry):
8597 (tree_view_query_geometry):
8598 (tab_control_query_geometry):
8599 (layout_query_geometry):
8601 (native_layout_layout): make instance geometry signed.
8603 2000-05-29 Olivier Galibert <galibert@pobox.com>
8605 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
8608 * general.c (syms_of_general): Add Qfull_assoc symbol.
8610 * data.c (finish_marking_weak_lists): Mark full-assoc lists
8612 (decode_weak_list_type): Decode full-assoc type.
8613 (encode_weak_list_type): Encode full-assoc type.
8614 (Fmake_weak_list): Update doc string.
8616 2000-05-30 Andy Piper <andy@xemacs.org>
8618 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
8620 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
8621 (decode_hash_table_weakness): ditto.
8622 (Fhash_table_weakness): ditto.
8623 (Fhash_table_type): ditto.
8624 (finish_marking_weak_hash_tables): ditto.
8625 (hash_table_weakness_validate): ditto.
8626 (syms_of_elhash): ditto.
8628 2000-05-28 Martin Buchholz <martin@xemacs.org>
8630 * XEmacs 21.2.34 is released.
8632 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8634 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
8636 (updating_line_start_cache): Gone.
8637 (regenerate_window): Replace resetting of VERTICAL_CLIP by
8638 generic code to force a minimum of 1 line laid out in the
8641 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8643 * glyphs.c (instantiate_image_instantiator): Check for initialized
8644 height & width no longer special cases IMAGE_NOTHING.
8645 (nothing_instantiate): Set height and width of instance.
8647 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8649 * unexelf.c (unexec): Search for ".data" section.
8650 Initialize new_data2_offset from old_data_index.
8651 Remove redundant check for ElfW.
8653 2000-05-23 Andy Piper <andy@xemacs.org>
8655 * glyphs.c (get_image_instantiator_governing_domain): allow more
8656 specific domains as the governing domain rather than expecting an
8657 exact match. This fixes problems with layouts.
8659 2000-05-22 Andy Piper <andy@xemacs.org>
8661 * redisplay-output.c (compare_runes): check for non-images
8663 * glyphs.c (set_glyph_dirty_p): ditto.
8664 (update_glyph_cachel_data): ditto.
8666 * glyphs-widget.c (layout_post_instantiate): ditto.
8667 (layout_post_instantiate): ditto.
8669 * event-msw.c (mswindows_wnd_proc): warning removal.
8671 2000-05-12 Craig Lanning <CraigL@DyCon.com>
8673 * s\mingw32.h: Added #undef for CLASH_DETECTION.
8675 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
8677 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
8679 * nt.c (rva_to_section): mingw32 needs rva_to_section.
8680 (mswindows_executable_type): mingw32 now has enough headers for
8683 2000-05-20 Andy Piper <andy@xemacs.org>
8685 * console-msw.c (mswindows_output_last_error): ; -> ,
8687 2000-05-12 Andy Piper <andy@xemacs.org>
8689 * console-msw.c (FROB): compare ints with ints.
8691 2000-05-11 Andy Piper <andy@xemacs.org>
8693 * glyphs-x.c (x_finalize_image_instance): make minimal build
8696 2000-05-20 Ben Wing <ben@xemacs.org>
8699 * event-Xt.c (vars_of_event_Xt):
8700 move modifier-keys-are-sticky to event-stream.c.
8703 * event-msw.c (mswindows_enqueue_mouse_button_event):
8704 * event-msw.c (key_needs_default_processing_p):
8705 * event-msw.c (XEMSW_LCONTROL):
8706 * event-msw.c (mswindows_handle_sticky_modifiers):
8707 * event-msw.c (FROB):
8708 * event-msw.c (clear_sticky_modifiers):
8709 * event-msw.c (output_modifier_keyboard_state):
8710 * event-msw.c (output_alt_keyboard_state):
8711 * event-msw.c (mswindows_wnd_proc):
8712 * event-msw.c (mswindows_modifier_state):
8713 * event-msw.c (emacs_mswindows_handle_magic_event):
8714 implement sticky modifiers.
8717 * event-stream.c (vars_of_event_stream):
8718 move modifier-keys-are-sticky here.
8724 implement map-range-table.
8727 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
8729 * redisplay-tty.c (reset_tty_modes):
8730 (tty_redisplay_shutdown): Adjust argument type to
8731 tty_frame_output_end.
8733 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8735 * eval.c (Fbacktrace): Don't output a line with only right
8738 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
8740 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
8741 (Fpq_reset_poll): Ditto.
8743 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
8745 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
8747 2000-05-16 Ben Wing <ben@xemacs.org>
8750 * buffer.c (dfc_convert_to/from_internal_format):
8751 * buffer.c (reinit_vars_of_buffer):
8752 Fix conversion functions to allow reentrancy.
8755 * console-msw.c (mswindows_output_last_error):
8756 New fun, generally useful -- output a human-readable
8757 version of GetLastError() on the console.
8760 * console-msw.h (struct mswindows_frame):
8761 Changes for DeferWindowPos. Declare mswindows_output_last_error().
8763 * console-stream.c (stream_output_begin):
8764 * console-stream.c (stream_output_end):
8765 * console-stream.c (stream_output_vertical_divider):
8766 * console-stream.c (stream_clear_region):
8767 * console-stream.c (stream_flash):
8768 * console-stream.c (console_type_create_stream):
8769 Delete blank stream methods, not needed.
8771 * console.h (struct console_methods):
8772 Split begin/end methods into window and frame.
8775 * event-msw.c (mswindows_handle_paint):
8776 * event-msw.c (output_alt_keyboard_state):
8777 * event-msw.c (mswindows_wnd_proc):
8778 * event-msw.c (vars_of_event_mswindows):
8779 Comment about problems with ignored-expose.
8780 Define mswindows-debug-events; not really implemented.
8782 * frame-msw.c (mswindows_init_frame_1):
8786 * glyphs-msw.c (begin_defer_window_pos):
8787 * glyphs-msw.c (mswindows_unmap_subwindow):
8788 * glyphs-msw.c (mswindows_map_subwindow):
8789 * glyphs-msw.c (mswindows_resize_subwindow):
8790 Use DeferWindowPos to reduce flashing when mapping/unmapping.
8792 * glyphs.c (make_image_instance_1):
8795 * gutter.c (Fredisplay_gutter_area):
8796 Use new begin/end methods.
8798 * lisp.h (Dynarr_new2):
8802 * redisplay-msw.c (mswindows_frame_output_begin):
8803 * redisplay-msw.c (mswindows_frame_output_end):
8804 * redisplay-msw.c (console_type_create_redisplay_mswindows):
8805 New begin/end methods -- handle DeferWindowPos.
8807 * redisplay-output.c (redisplay_move_cursor):
8808 * redisplay-output.c (redraw_cursor_in_window):
8809 * redisplay-output.c (redisplay_update_line):
8810 * redisplay-output.c (redisplay_output_window):
8811 New begin/end methods.
8814 * redisplay-tty.c (tty_frame_output_begin):
8815 * redisplay-tty.c (tty_frame_output_end):
8816 * redisplay-tty.c (console_type_create_redisplay_tty):
8817 New begin/end methods.
8820 * redisplay-x.c (x_window_output_begin):
8821 * redisplay-x.c (x_window_output_end):
8822 * redisplay-x.c (console_type_create_redisplay_x):
8823 New begin/end methods.
8825 * redisplay.c (redisplay_frame):
8826 * redisplay.c (Fredisplay_echo_area):
8827 New begin/end methods.
8828 use MAYBE_DEVMETH for clear_frame; it may not exist.
8830 * window.h (WINDOW_XFRAME):
8831 WINDOW_XFOO macros -- get locale and decode struct pointer.
8834 2000-05-12 Ben Wing <ben@xemacs.org>
8837 * emacs.c (ensure_no_quitting_from_now_on):
8838 * emacs.c (fatal_error_signal):
8839 * emacs.c (mswindows_handle_hardware_exceptions):
8841 * emacs.c (Fkill_emacs):
8842 * emacs.c (shut_down_emacs):
8843 * emacs.c (assert_failed):
8844 various improvements in fatal error handling.
8847 move preparing_for_armageddon to emacs.c.
8850 declare fatal_error_in_progress.
8853 * print.c (std_handle_out_external):
8854 * print.c (std_handle_out_va):
8855 * print.c (stderr_out):
8856 * print.c (stdout_out):
8857 use console under mswin when no standard output.
8858 don't do code conversion during fatal error.
8860 * scrollbar.c (Fscrollbar_page_up):
8861 * scrollbar.c (Fscrollbar_page_down):
8862 fix missing else. reindent.
8864 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
8868 * glyphs.h (GLYPH_CACHEL_DESCENT):
8869 (GLYPH_CACHEL_DESCENT):
8870 (GLYPH_CACHEL_DESCENT):
8871 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
8872 used in case these are inline functions.
8873 Use more absurd values to error check.
8875 include window.h for error check functions.
8877 2000-05-11 Ben Wing <ben@xemacs.org>
8879 * cmdloop.c (Freally_early_error_handler):
8880 Display message box under windows; otherwise, message will disappear
8881 before it can be viewed.
8884 * console-msw.c (Fmswindows_message_box):
8885 * console-msw.c (FROB):
8886 * console-msw.c (syms_of_console_mswindows):
8887 Define new fun `mswindows-message-box'.
8888 #### I will merge this into `popup-dialog-box'; just give me
8892 * general.c (syms_of_general):
8893 Some new symbols used in `mswindows-message-box'.
8896 * glyphs.c (Fset_image_instance_property):
8897 put warning in this fun.
8900 * glyphs.h (GLYPH_CACHEL_WIDTH):
8901 * glyphs.h (GLYPH_CACHEL_ASCENT):
8902 * glyphs.h (GLYPH_CACHEL):
8903 * glyphs.h (GLYPH_CACHEL_GLYPH):
8904 define error-checking versions to try to catch a bug i've seen --
8905 redisplay gets in an infinite loop because the glyph width of the
8906 continuation glyph is 65535.
8909 Extern message-box stuff.
8911 * window.c (allocate_window):
8912 * window.c (make_dummy_parent):
8913 * window.c (Fset_window_configuration):
8914 Use EQUAL not EQ for subwindow caches to make them work a bit
8915 better. (Something is still very broken.)
8918 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8920 * glyphs.c (image_instantiate): Suppress gcc warnings.
8921 (Fmake_image_instance): Fix doc string.
8922 * specifier.c (Fmake_specifier): Ditto.
8924 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
8926 * paths.h.in (PATH_LOCK): Removed.
8927 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
8928 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
8930 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8932 * fns.c (Ffeaturep): Update e-mail address in doc-string.
8933 Document (featurep '(and xemacs 21.02)).
8935 2000-05-09 Ben Wing <ben@xemacs.org>
8937 * buffer.c (complex_vars_of_buffer):
8938 update modeline-format doc.
8941 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
8944 timeline of all released versions of Emacs, for use in creating
8945 authorship comments and in synching up.
8947 * glyphs-widget.c (image_instantiator_buttons):
8948 * glyphs-widget.c (image_instantiator_edit_fields):
8949 * glyphs-widget.c (image_instantiator_combo_box):
8950 * glyphs-widget.c (image_instantiator_scrollbar):
8951 * glyphs-widget.c (image_instantiator_progress_guage):
8952 * glyphs-widget.c (image_instantiator_tree_view):
8953 * glyphs-widget.c (image_instantiator_tab_control):
8954 * glyphs-widget.c (image_instantiator_labels):
8955 * glyphs-widget.c (image_instantiator_layout):
8956 * glyphs-widget.c (image_instantiator_native_layout):
8957 rename decode_domain method to governing_domain.
8960 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
8961 * glyphs.c (add_entry_to_device_ii_format_list):
8962 make sure we don't put an entry more than once into the list.
8963 * glyphs.c (check_instance_cache_mapper):
8964 *************************************************************
8965 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
8967 *************************************************************
8968 * glyphs.c (get_image_instantiator_governing_domain):
8969 clean up, expand on new concept of governing domain.
8970 * glyphs.c (instantiate_image_instantiator):
8971 * glyphs.c (allocate_image_instance):
8972 use governing_domain instead of cache_domain in naming.
8973 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
8974 * glyphs.c (make_image_instance_1):
8975 * glyphs.c (Fmake_image_instance):
8976 allow for any domain (not just device), and process the
8977 governing domain correctly. very big doc fix.
8978 * glyphs.c (Fimage_instance_domain):
8979 new primitive, to retrieve the governing domain of an image instance.
8980 * glyphs.c (image_instantiate):
8981 use new governing_domain stuff. this fixes a crash you could get
8982 by instantiating certain widget glyphs in frame locales. (should
8983 signal an error instead of crashing.)
8984 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
8985 * glyphs.c (Fglyphp): clean up doc.
8986 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
8987 * glyphs.c (syms_of_glyphs):
8988 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
8989 * glyphs.c (image_instantiator_format_create): add some comments about
8991 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
8992 for current-display-table. (Apparently Hrjove implemented in 1998 a
8993 design I wrote up in 1996, but didn't update the doc string.)
8995 * glyphs.h: clean up a doc string.
8996 * glyphs.h (governing_domain):
8997 * glyphs.h (struct image_instantiator_methods):
8998 changes for governing_domain stuff.
9001 * gutter.c (Fgutter_specifier_p):
9002 * gutter.c (Fgutter_size_specifier_p):
9003 * gutter.c (Fgutter_visible_specifier_p):
9005 * objects.c (Fcolor_specifier_p):
9006 * objects.c (Ffont_specifier_p):
9007 * objects.c (Fface_boolean_specifier_p):
9008 doc strings moved to make-*-specifier.
9010 * redisplay.c (add_disp_table_entry_runes_1):
9011 * redisplay.c (generate_fstring_runes):
9012 * redisplay.c (screen):
9013 add random comments and doc strings.
9016 * specifier.c (Fmake_specifier):
9017 major overhaul of this doc string.
9019 * specifier.c (Fvalid_specifier_domain_p):
9020 comment about the bogosity of image instances being domains.
9021 * specifier.c (decode_domain):
9022 now non-static, used in glyphs.c.
9023 * specifier.c (specifier_instance):
9024 comment about the bogosity of image instances being domains.
9025 * specifier.c (Fgeneric_specifier_p):
9026 move doc string to make-generic-specifier.
9027 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
9031 * specifier.h (DOMAIN_FRAME):
9032 * specifier.h (DOMAIN_LIVE_P):
9033 * specifier.h (DOMAIN_XDEVICE):
9035 add comments about problems with these macros.
9036 prototype for decode_domain.
9039 * toolbar.c (Ftoolbar_specifier_p):
9040 move doc string to `make-toolbar-specifier'.
9042 * window.c (window_unmap_subwindows_cache_mapper):
9043 *************************************************************
9044 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
9046 *************************************************************
9048 2000-05-09 Andy Piper <andy@xemacs.org>
9050 * glyphs.h: declare reset_frame_subwindow_instance_cache.
9052 * window.c (Fset_window_configuration): reset the frame subwindow
9053 cache and re-initialize the window subwindow caches.
9055 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
9057 2000-05-09 Ben Wing <ben@xemacs.org>
9059 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
9062 2000-04-26 Mike Woolley <mike@bulsara.com>
9064 * ntheap.c: Changed recreate_heap to limit the amount reserved
9065 for the heap to that which is actually available. Also now
9066 displays a message box (with some dignostics) in the event that
9067 it still can't start.
9069 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
9071 * callproc.c (Fold_call_process_internal): GCPRO path
9073 2000-05-08 Jan Vroonhof <jan@xemacs.org>
9075 Patch by Bill Perry.
9077 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
9078 back data instead of #ifdef.
9079 (Fscrollbar_page_down): ditto.
9081 2000-05-07 Ben Wing <ben@xemacs.org>
9084 Kludge for defining Qmswindows_tstr.
9087 * nt.c (open_input_file):
9088 * nt.c (open_output_file):
9089 * nt.c (rva_to_section):
9090 * nt.c (mswindows_executable_type):
9091 Move all memory-mapped-file routines here (some were in unexnt.c,
9092 which is bad because they are used by process-nt.c, and unexnt
9093 won't be around when portable dumping). Synched the above routines
9097 Removed ifdef'd out bogus code.
9098 Fixed some prototypes.
9101 * nt.h (OFFSET_TO_RVA):
9102 * nt.h (RVA_TO_OFFSET):
9103 * nt.h (RVA_TO_PTR):
9104 Moved the memory-mapped-file structures, macros and prototypes
9105 here, to parallel nt.c. ntheap.h should really be removed
9106 entirely, and it's a non-portable-dumper specific file.
9108 * ntheap.h (round_to_next):
9109 Moved the memory-mapped-file structures, macros and prototypes
9112 * ntproc.c (compare_env):
9113 Moved rva_to_section and mswindows_executable_type to nt.c.
9114 Moved compare_env to process-nt.c.
9115 ntproc.c will die, one day.
9117 * ntproc.c (sys_spawnve):
9118 Account for win32_ -> mswindows_.
9121 * process-nt.c (struct nt_process_data):
9122 * process-nt.c (ensure_console_window_exists):
9123 * process-nt.c (compare_env):
9124 * process-nt.c (nt_create_process):
9125 * process-nt.c (nt_kill_process_by_pid):
9126 * process-nt.c (syms_of_process_nt):
9127 * process-nt.c (vars_of_process_nt):
9128 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
9129 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
9130 changes). Eliminate our old `nt-quote-process-args' mechanism.
9131 Synch up nt_create_process with FSF 20.6 sys_spawnve.
9132 Move compare_env here from ntproc.c.
9134 * process.c (Fprocess_send_region):
9135 Takes an optional fourth argument, BUFFER, which should fix some
9136 problems with call-process.
9139 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
9142 Move ICC_BAR_CLASSES to syscommctrl.h.
9143 Add preliminary macros for MSWindows/Mule. More to come.
9146 * unexnt.c (unexec):
9147 open_output_file moved to nt.c.
9150 2000-05-05 Andy Piper <andy@xemacs.org>
9152 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
9153 instance from the frame cache also since GC may catch up too late
9154 to make frame deletion sane.
9156 2000-05-04 Andy Piper <andy@xemacs.org>
9158 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
9159 (x_finalize_image_instance): ungcpro on deletion.
9161 * glyphs.c (image_instantiator_format_create): give pointers a
9162 query geometry method so that the geometry is at least set.
9164 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
9165 initialize layouts if using widgets.
9167 2000-05-03 Andy Piper <andy@xemacs.org>
9169 * nt.c: remove bogus reference to sysmmsystem.h
9171 * gui-x.c (popup_selection_callback): fix no selection abort.
9173 2000-05-02 Andy Piper <andy@xemacs.org>
9175 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
9176 (mswindows_widget_instantiate): ditto.
9178 * glyphs-widget.c (initialize_widget_image_instance): initialize
9180 (widget_instantiate): cope with children and items in the same
9183 * glyphs.c (mark_image_instance): cope with children as a first
9185 (image_instance_equal): ditto.
9186 (image_instance_hash): ditto.
9187 (image_instance_changed): ditto.
9189 2000-04-30 Andy Piper <andy@xemacs.org>
9191 * glyphs.c (subwindow_query_geometry): new function. Return some
9193 (subwindow_instantiate): don't assign dimensions if none have been
9195 (image_instantiator_format_create): add subwindow_query_geometry.
9196 (print_image_instance): cope with layouts as widgets.
9198 2000-04-29 Andy Piper <andy@xemacs.org>
9200 * frame.c (delete_frame_internal): call
9201 free_frame_subwindow_instance_cache so that all subwindows are
9202 finalized before their parent.
9203 (mark_frame): remove subwindow_cachels.
9204 (Fmake_frame): remove subwindow_cachel manipulation.
9205 (allocate_frame_core): subwindow_instance_cache is a weak list.
9206 (delete_frame_internal): set subwindow_instance_cache to nil.
9208 * glyphs-msw.c (mswindows_finalize_image_instance): make double
9210 (mswindows_finalize_image_instance): use the device
9211 not the domain as the domain may have died already.
9213 * glyphs-x.c (x_finalize_image_instance): ditto.
9214 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
9217 * redisplay-output.c (redisplay_unmap_subwindows): update for
9218 subwindow instance cache as a weak list.
9219 (redisplay_unmap_subwindows_maybe): ditto.
9220 (redisplay_unmap_subwindows_except_us): ditto.
9222 * glyphs.c (unmap_subwindow): error checking will check the domain
9223 so don't deal with it here. Don't use cachels anymore.
9224 (map_subwindow): ditto.
9225 (update_subwindow_cachel_data): remove old accessor names.
9226 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
9227 (Fresize_subwindow): don't update cachel.
9228 (mark_subwindow_cachels):
9229 (update_subwindow_cachel_data):
9230 (add_subwindow_cachel):
9231 (get_subwindow_cachel_index):
9232 (update_subwindow_cachel):
9233 (reset_subwindow_cachels):
9234 (mark_subwindow_cachels_as_not_updated): deleted.
9235 (cache_subwindow_instance_in_frame_maybe): new function. Add a
9236 subwindow instance to the frame cache.
9237 (find_matching_subwindow): update for subwindow instance cache as
9239 (update_widget_instances): ditto.
9240 (image_instance_type_to_mask):inlined.
9241 (free_frame_subwindow_instance_cache): new function. finalize all
9242 subwindows that are instantiated.
9244 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
9245 of cachel information.
9246 (IMAGE_INSTANCE_DISPLAY_X):
9247 (IMAGE_INSTANCE_DISPLAY_Y):
9248 (IMAGE_INSTANCE_DISPLAY_WIDTH):
9249 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
9250 (XIMAGE_INSTANCE_DISPLAY_X):
9251 (XIMAGE_INSTANCE_DISPLAY_Y):
9252 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
9253 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
9254 remove subwindow_cachel structure and function references.
9255 (image_instance_type_to_mask): inline from glyphs.c
9257 * redisplay.c (redisplay_frame): remove subwindow_cachel
9260 * frame.h (struct frame): remove subwindow_cachels.
9261 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
9263 * frameslots.h: add subwindow_instance_cache.
9265 * window.c (replace_window): check subwindow cache of replacement.
9266 (window_unmap_subwindows_cache_mapper):
9267 (window_unmap_subwindows): new functions. Unmap all subwindows
9268 cached on this window.
9269 (mark_window_as_deleted): unmap all subwindows.
9271 2000-04-27 Andy Piper <andy@xemacs.org>
9273 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
9275 * glyphs-widget.c (widget_layout): return something.
9276 (layout_layout): return something. Fail if not initialized.
9277 (layout_query_geometry): ditto.
9278 (image_instantiator_native_layout): new function. Initialized the
9280 (widget_instantiate): don't do layout stuff here.
9282 * glyphs.c (instantiate_image_instantiator): reorded calling or
9283 instantiate and post_instantiate with layout in between.
9284 (image_instance_layout): be more selective about deciding whether
9285 the layout has been done or not.
9287 * glyphs.h (struct image_instantiator_methods): return a value
9290 2000-04-26 Andy Piper <andy@xemacs.org>
9292 * glyphs.c (allocate_image_instance): make initial width and
9293 height unspecified. Set initialized to 0.
9295 * syscommctrl.h new file. Encapsulates commctrl.h.
9297 * syswindows.h new file. Encapsulates windows.h.
9299 * ntplay.c: use new syswindows.h and syscommctrl.h header.
9301 * console-msw.h: ditto.
9303 * redisplay-tty.c (tty_output_display_block): remove layout references.
9305 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
9306 window handle rather than just the frame.
9308 * glyphs.c (mark_image_instance): remove layout references.
9309 (print_image_instance): ditto.
9310 (image_instance_equal): ditto.
9311 (image_instance_hash): ditto.
9312 (decode_image_instance_type): ditto.
9313 (encode_image_instance_type): ditto.
9314 (image_instantiate): ditto.
9315 (allocate_glyph): ditto.
9316 (Fimage_instance_height): ditto.
9317 (Fimage_instance_width): ditto.
9318 (update_subwindow): ditto.
9320 * redisplay-x.c (x_output_display_block): recode for layouts as
9323 * redisplay-output.c (redisplay_output_layout): recode for layouts
9325 (compare_runes): remove layout references.
9327 * redisplay-msw.c (mswindows_output_display_block): recode for
9330 * glyphs-widget.c (image_instantiator_layout): remove
9331 layout_possible_dest_types.
9332 (layout_possible_dest_types): deleted.
9334 * glyphs.h (image_instance_type): remove layout references.
9335 (struct Lisp_Image_Instance): ditto. Add initialized flag.
9336 (IMAGE_INSTANCE_INITIALIZED): new accessor.
9337 (XIMAGE_INSTANCE_INITIALIZED): ditto.
9339 2000-04-25 Andy Piper <andy@xemacs.org>
9341 * glyphs-widget.c (image_instantiator_buttons):
9342 (image_instantiator_edit_fields):
9343 (image_instantiator_combo_box):
9344 (image_instantiator_scrollbar):
9345 (image_instantiator_progress_guage):
9346 (image_instantiator_tree_view):
9347 (image_instantiator_tab_control):
9348 (image_instantiator_labels):
9349 (image_instantiator_layout): call default post_instantiate method.
9350 (widget_post_instantiate): new function. Simply lays out the
9353 * glyphs.h (struct image_instantiator_methods): add
9354 post_instantiate method.
9356 * glyphs.c (instantiate_image_instantiator): add post_instantiate
9359 2000-04-23 Andy Piper <andy@xemacs.org>
9361 * glyphs.h (struct image_instantiator_methods): add
9362 decode_domain_method.
9363 (struct Lisp_Image_Instance): remove subwindow frame - it can be
9364 derived from the domain.
9365 (IMAGE_INSTANCE_FRAME): new accessor.
9366 (XIMAGE_INSTANCE_FRAME): ditto.
9368 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
9369 instead of _SUBWINDOW_FRAME.
9370 (finalize_image_instance): ditto.
9371 (Fimage_instance_foreground): ditto.
9372 (Fimage_instance_background): ditto.
9373 (image_instantiate): ditto.
9374 (update_subwindow_cachel): ditto.
9375 (update_subwindow): ditto.
9376 (unmap_subwindow): ditto.
9377 (map_subwindow): ditto
9378 (subwindow_instantiate): ditto.
9379 * glyphs-msw.c (mswindows_update_widget): ditto.
9380 (mswindows_progress_gauge_instantiate): ditto.
9381 (mswindows_tab_control_update): ditto.
9382 * glyphs-x.c (x_update_widget): ditto.
9383 (x_widget_instantiate): ditto.
9384 (x_tab_control_instantiate): ditto.
9385 (x_tab_control_update): ditto.
9386 * event-msw.c (mswindows_wnd_proc): ditto
9388 * glyphs-widget.c (image_instantiator_layout): use
9389 subwindow_decode_domain.
9390 (image_instantiator_buttons): ditto.
9391 (image_instantiator_edit_fields): ditto.
9392 (image_instantiator_combo_box): ditto.
9393 (image_instantiator_scrollbar): ditto.
9394 (image_instantiator_progress_guage): ditto.
9395 (image_instantiator_tree_view): ditto.
9396 (image_instantiator_tab_control): ditto.
9397 (image_instantiator_labels): ditto.
9398 (image_instantiator_layout): ditto.
9400 * glyphs.c: add instance error checking to many functions.
9401 (instantiate_image_instantiator): decode device from cache_domain.
9402 (image_instantiate): partially rewrite by using
9403 decode_image_instantiator_domain to determine what domain the
9404 instance needs to be cached in.
9405 (decode_image_instantiator_domain): new function. Determine what
9406 domain the image needs to be cached in.
9407 (check_window_subwindow_cache): new error checking function.
9408 (check_instance_cache_mapper): ditto.
9409 (check_image_instance_structure): ditto.
9410 (subwindow_decode_domain): new function. Encodes a window as a
9411 subwindow's cache domain.
9412 (image_instantiator_format_create): use it for text and
9415 2000-04-21 Andy Piper <andy@xemacs.org>
9417 * glyphs.c (image_instance_device): new function.
9418 (image_instance_frame): new function.
9419 (image_instance_window): new function.
9420 (image_instance_live_p): new function.
9422 * window.c (mark_window_as_deleted): reset the subwindow_instance_
9425 * glyphs.h (struct Lisp_Image_Instance): device->domain.
9426 (IMAGE_INSTANCE_DOMAIN): new accessor.
9427 (XIMAGE_INSTANCE_DOMAIN): ditto.
9429 * glyphs-x.c (x_finalize_image_instance): device->domain.
9431 * glyphs-msw.c (init_image_instance_geometry): device->domain.
9432 (mswindows_finalize_image_instance): ditto.
9434 * glyphs-eimage.c (jpeg_instantiate): device->domain.
9435 (gif_instantiate): ditto.
9436 (png_instantiate): ditto.
9437 (tiff_instantiate): ditto.
9439 * glyphs.c (instantiate_image_instantiator): use domain rather
9441 (mark_image_instance): device -> domain.
9442 (print_image_instance): ditto.
9443 (finalize_image_instance): ditto.
9444 (image_instance_equal): ditto.
9445 (allocate_image_instance): ditto.
9446 (Fcolorize_image_instance): ditto.
9447 (query_string_geometry): ditto.
9448 (image_instantiate): ditto
9449 (query_string_font): ditto.
9450 (image_instantiate): ditto.
9451 (update_subwindow): ditto.
9452 (unmap_subwindow): ditto.
9453 (map_subwindow): ditto.
9454 (subwindow_instantiate): ditto.
9456 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
9457 (DOMAIN_FRAME): ditto.
9458 (DOMAIN_WINDOW): ditto.
9459 (DOMAIN_LIVE_P): ditto.
9460 (XDOMAIN_DEVICE): ditto.
9461 (XDOMAIN_FRAME): ditto.
9462 (XDOMAIN_WINDOW): ditto.
9464 * specifier.c (Fvalid_specifier_domain_p): add image instances as
9465 a valid specifier domain.
9467 2000-04-19 Andy Piper <andy@xemacs.org>
9469 * glyphs-widget.c (syms_of_glyphs_widget): remove
9470 widget-callback-current-channel.
9471 (vars_of_glyphs_widget): ditto.
9474 * gui.c (get_gui_callback): revert to previous behaviour.
9476 2000-04-18 Andy Piper <andy@xemacs.org>
9478 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
9479 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
9480 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
9482 * glyphs.c (image_instance_equal): add margin_width.
9483 (image_instance_hash): ditto.
9485 * glyphs-widget.c (widget_instantiate): deal with margin-width.
9486 (layout_query_geometry): ditto.
9487 (layout_layout): ditto.
9488 (syms_of_glyphs_widget): add margin-width.
9489 (image_instantiator_layout): allow margin-width.
9491 * glyphs.c (update_widget_instances): make a normal function.
9492 (syms_of_glyphs): remove Qupdate_widget_instances.
9495 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
9496 so that we don't corrupt ideas about the last event or
9497 command. Remove widget-callback-current-channel fiddling.
9498 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9500 2000-05-01 Martin Buchholz <martin@xemacs.org>
9502 * XEmacs 21.2.33 is released.
9504 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
9506 * make-src-depend: Allow dots in header file name.
9508 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
9510 * mule-charset.h (struct charset_lookup): Add
9511 next_allocated_1_byte_leading_byte and
9512 next_allocated_2_byte_leading_byte.
9513 * mule-charset.c: Move above two variables so that those values
9516 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
9518 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
9519 when string length is zero.
9520 (find_charsets_in_emchar_string): Ditto.
9522 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
9524 * lisp.h: extern Qdialog and Qmenubar.
9526 * gui-x.c: added events.h.
9527 also fixed typo which made the file uncompilable.
9529 * general.c: Added Qmenubar and Qdialog
9531 2000-04-28 Ben Wing <ben@xemacs.org>
9533 * frame-msw.c (mswindows_init_frame_1):
9534 * frame-msw.c (mswindows_mark_frame):
9535 * event-msw.c (mswindows_enqueue_dispatch_event):
9537 * console-msw.h (struct mswindows_frame):
9538 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
9539 there are now three hash tables for callbacks.
9540 mswindows_enqueue_dispatch_event is no longer static.
9542 * dialog-x.c (maybe_run_dbox_text_callback):
9543 * dialog-x.c (dbox_descriptor_to_widget_value):
9544 switch to new cons3 form for callbacks.
9546 * glyphs-msw.c (mswindows_register_gui_item):
9547 * glyphs-msw.c (mswindows_widget_instantiate):
9548 * glyphs-msw.c (add_tree_item):
9549 * glyphs-msw.c (add_tab_item):
9550 new image instance parameter, so it can be passed to callback-ex.
9551 respect :callback-ex as well as :callback.
9553 * glyphs-widget.c (VALID_GUI_KEYWORDS):
9556 * glyphs.c (print_image_instance):
9557 prettify, e.g. now prints widget type.
9560 certain funs have new image instance parameter.
9563 * gui.c (get_gui_callback):
9564 * gui.c (gui_item_add_keyval_pair):
9565 * gui.c (gui_item_init):
9566 * gui.c (gui_add_item_keywords_to_plist):
9567 * gui.c (mark_gui_item):
9568 * gui.c (gui_item_hash):
9569 * gui.c (gui_item_equal):
9570 * gui.c (copy_gui_item):
9571 * gui.c (syms_of_gui):
9572 recognize callback-ex in a number of places.
9573 also, fix the annoying "can't get out of yes-no dialog" bug.
9576 * gui.h (struct Lisp_Gui_Item):
9577 recognize callback-ex in a number of places.
9579 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9580 new parameter in button_item_to_widget_value.
9582 * glyphs-x.c (x_update_widget):
9583 * glyphs-x.c (x_button_instantiate):
9584 * glyphs-x.c (x_button_update):
9585 * glyphs-x.c (x_progress_gauge_instantiate):
9586 * glyphs-x.c (x_edit_field_instantiate):
9587 * glyphs-x.c (x_combo_box_instantiate):
9588 * glyphs-x.c (x_tab_control_instantiate):
9589 * glyphs-x.c (x_label_instantiate):
9590 new image instance parameter in various places.
9593 * event-Xt.c (enqueue_Xt_dispatch_event):
9594 this fun gets exported.
9597 * gui-msw.c (mswindows_handle_gui_wm_command):
9598 handle both :callback and :callback-ex, and generate our own
9599 event because it's one of the callback-ex arguments.
9602 * gui-x.c (popup_selection_callback):
9603 handle both :callback and :callback-ex, and generate our own
9604 event because it's one of the callback-ex arguments.
9605 * gui-x.c (button_item_to_widget_value):
9606 * gui-x.c (gui_items_to_widget_values_1):
9607 * gui-x.c (gui_item_children_to_widget_values):
9608 * gui-x.c (gui_items_to_widget_values):
9609 new image instance parameter in various places.
9611 * fns.c (Freplace_list):
9612 fix small typo in doc string.
9615 declare enqueue_Xt_dispatch_event.
9617 2000-04-28 Ben Wing <ben@xemacs.org>
9620 * buffer.c (Frecord_buffer):
9621 * buffer.c (syms_of_buffer):
9622 delete record-buffer-hook.
9625 * fns.c (Freplace_list):
9626 * fns.c (syms_of_fns):
9627 new primitive replace-list.
9630 slot for old buffer-alist.
9636 * redisplay.c (redisplay_frame):
9637 * redisplay.c (syms_of_redisplay):
9638 * redisplay.c (vars_of_redisplay):
9639 new hook buffer-list-changed-hook.
9642 2000-04-27 Ben Wing <ben@xemacs.org>
9644 * extents.h: extern in_modeline_generation.
9646 * redisplay.c (generate_formatted_string_db): set
9647 in_modeline_generation.
9649 * extents.c (extent_changed_for_redisplay): don't mark redisplay
9650 flags if in modeline generation. otherwise frame-modified-tick
9651 is ticked far too often.
9652 Declare in_modeline_generation.
9654 2000-04-26 Ben Wing <ben@xemacs.org>
9656 * emacs.c (vars_of_emacs): document quick-build "error-checking"
9658 (vars_of_emacs): add quick-build as an error-checking option.
9659 A bit kludgy, but there doesn't seem much point in creating
9660 a real var for this.
9662 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
9664 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
9666 * redisplay.h (struct display_line): Add a new variable,
9669 * redisplay.c (create_text_block): Set dl->line_continuation if
9671 (create_string_text_block): Ditto.
9672 (regenerate_window_incrementally): Use line_continuation instead
9673 of searching continuation glyph.
9674 (add_margin_runes): Call add_glyph_rune.
9675 (add_glyph_rune): Handle margin glyph.
9677 2000-04-20 Martin Buchholz <martin@xemacs.org>
9679 * filelock.c (fill_in_lock_file_name):
9681 Check for IS_ANY_SEP instead of '/'.
9683 Avoid generating gratuitous garbage. Call user_login_name() directly.
9684 Never check errno without first seeing that system call failed.
9685 (unlock_file): Add GCPRO.
9686 (Flock_buffer): Fix docstring.
9687 (Ffile_locked_p): Fix docstring. Add GCPRO.
9689 2000-04-19 Martin Buchholz <martin@xemacs.org>
9691 * sysdep.c (get_pty_max_bytes):
9692 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
9693 strings longer than 252 bytes.
9695 * md5.c: Unconditionally include ANSI header <limits.h>
9697 * glyphs-x.c (convert_EImage_to_XImage):
9698 * lisp-union.h (union Lisp_Object):
9699 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
9701 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9703 * filelock.c (current_lock_owner): Remove unused variable o, p.
9705 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
9707 * callint.c: Remove multiply defined symbol Qlet
9708 (syms_of_callint): ditto.
9710 2000-04-14 Andy Piper <andy@xemacs.org>
9712 * general.c (syms_of_general): add last-command, this-command, let
9715 * lisp.h: declare various symbols.
9717 * glyphs.h: declare Qwidget_callback_current_channel;
9719 * glyphs-widget.c (syms_of_glyphs_widget): add
9720 Qgui_callback_current_channel.
9721 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
9723 * gui-msw.c (mswindows_handle_gui_wm_command): bind
9724 widget-callback-current-channel when invoking the interactive
9725 arg. Also bind last-command and next-command when invoking the
9727 * gui-x.c (popup_selection_callback): ditto.
9729 * gui.c (get_gui_callback): massage args so that we are always
9730 calling eval. This allows us to add our own variable bindings
9733 * glyphs-x.c (x_button_instantiate): use
9734 gui_items_to_widget_values since this is GC safe.
9735 (x_progress_gauge_instantiate): ditto.
9736 (x_edit_field_instantiate): ditto.
9737 (x_label_instantiate): ditto.
9739 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
9740 (emacs_Xt_event_widget_focus_out): new function
9741 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
9743 (emacs_Xt_event_add_widget_actions): new function. add focus
9744 functions as actions.
9745 (init_event_Xt_late): use it.
9747 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
9749 * event-stream.c (Fdispatch_event): Doc fix.
9751 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
9753 * postgresql.c: Remove all references to PQsetenv*.
9755 * postgresql.h: Remove references to PGsetenvHandler object.
9756 * lrecord.h (lrecord_type): Ditto.
9758 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9760 * glyphs-msw.h (struct mswindows_image_instance_data): Added
9761 real_heigh and real_width members, and accessor macros for these.
9763 * glyphs-msw.c (init_image_instance_geometry): New function.
9764 (init_image_instance_from_dibitmap): Use it.
9765 (mswindows_resource_instantiate): Use it.
9766 (init_image_instance_from_xbm_inline): Use it.
9767 (mswindows_initialize_image_instance_mask): Use real bitmap
9769 (mswindows_create_resized_bitmap): Ditto.
9770 (mswindows_create_resized_mask): Ditto.
9772 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
9773 and bitmap to their surface size.
9775 2000-04-11 Jan Vroonhof <jan@xemacs.org>
9777 * process-unix.c (unix_send_process): Guard against process MIA
9778 after Faccept_process_output.
9780 2000-04-11 Ben Wing <ben@xemacs.org>
9782 * eval.c (unbind_to_hairy): fix brokenness introduced by
9783 nanosecond speed improvements.
9785 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
9787 * sunplay.c (init_device): To play sounds correctly, the device
9788 apparently needs to be initialized at least once by XEmacs. Make
9791 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
9793 * redisplay.c (add_margin_runes): Add text image glyph
9796 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9798 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
9799 gcc is newer than 2.5.
9801 2000-04-06 Colin Rafferty <colin@xemacs.org>
9803 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
9805 * fns.c (size_bit_vector):
9806 * alloc.c (size_vector):
9807 (make_vector_internal):
9808 (make_bit_vector_internal):
9809 (sweep_bit_vectors_1):
9810 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
9812 2000-04-06 Andy Piper <andy@xemacs.org>
9814 * gmalloc.c (malloc): undo previous change.
9819 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
9821 * line-number.c (buffer_line_number): Revert to former version.
9823 2000-04-06 Andy Piper <andy@xemacs.org>
9825 * gmalloc.c (malloc): add error checking.
9830 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
9831 button_item_to_widget_value arg.
9833 * glyphs-x.c (x_button_instantiate): add extra
9834 button_item_to_widget_value arg.
9835 (x_progress_gauge_instantiate): ditto.
9836 (x_edit_field_instantiate): ditto.
9837 (x_label_instantiate): ditto.
9839 * gui-x.c (gui_items_to_widget_values_1): add extra
9840 button_item_to_widget_value arg.
9841 (button_item_to_widget_value): add extra menu_item_p arg.
9843 * gui-x.h: change signature of button_item_to_widget_value.
9845 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
9846 button_item_to_widget_value arg.
9848 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9850 * buffer.h (struct buffer): auto_save_modified should be long.
9852 2000-04-05 Andy Piper <andy@xemacs.org>
9854 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
9856 (button_query_geometry): give a little more room so that athena
9859 2000-04-05 Andy Piper <andy@xemacs.org>
9861 * faces.c (complex_vars_of_faces): The widget face should inherit
9862 the font of the gui-element face.
9864 2000-04-04 Andy Piper <andy@xemacs.org>
9866 * glyphs-x.c (x_button_update): new function. unconditionally
9867 update a button's state when the instance is dirty.
9868 (image_instantiator_format_create_glyphs_x): add x_button_update.
9869 (x_widget_instantiate): remove old resize cruft.
9871 2000-04-02 Andy Piper <andy@xemacs.org>
9873 * frame.c (change_frame_size_1): The introduction of gutters means
9874 that we need to allow 0 as a potential frame dimension.
9876 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
9878 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
9879 image glyph if allow_cursor.
9880 (add_hscroll_rune): Don't allow cursor to border glyph.
9881 (create_text_block): Ditto.
9883 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
9885 (redisplay_output_layout): Call ensure_face_cachel_complete for
9889 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
9891 * redisplay.c (add_glyph_rune): Adding text image as text runes.
9893 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
9896 * redisplay-tty.c (tty_output_display_block): Delete the routine
9897 for text image glyph
9898 * redisplay-x.c (x_output_display_block): ditto
9899 * redisplay-msw.c (mswindows_output_display_block): ditto
9901 2000-02-02 Mike Alexander <mta@arbortext.com>
9903 Note: Some of these were committed by accident as part of other
9906 * regex.c (regex_compile): Avoid compiler warnings.
9908 * ntproc.c (sys_spawnve): Avoid compiler warnings.
9910 * nt.h: Declare term_ntproc correctly.
9912 * nt.c: Remove incorrect declaration of get_home_directory which
9913 is declared correctly in lisp.h.
9915 * keymap.c (get_keyelt): Avoid compiler warnings.
9916 (raw_lookup_key_mapper): Avoid compiler warnings.
9918 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
9920 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
9922 * filemode.c (mode_string): Avoid compiler warnings.
9924 * file-coding.c (Fcoding_system_aliasee): Add return statement to
9927 * events-mod.h: Undef some things that winuser.h defines differently.
9929 * data.c (Faset): Avoid compiler warnings.
9931 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
9933 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9935 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
9936 Fall through to simple beep on error.
9937 Replace "extern" by real header file.
9939 * linuxplay.c: Use nativesound.h
9940 (play_sound_data): Return error code. Be less verbose on error.
9942 * sunplay.c: Use nativesound.h
9943 (play_sound_data): Return error code. Be less verbose on error.
9945 * ntplay.c: Use nativesound.h
9946 (play_sound_data): Return fake error code
9948 * sgiplay.c: Use nativesound.h
9949 (play_sound_data): Return error code
9951 * hpplay.c: Use nativesound.h, partially implement
9952 new error code. Break compilation until finished.
9953 (play_sound_data): error code.
9955 * nativesound.h (play_sound_file):
9956 (play_sound_data): Prototype in new header.
9958 2000-03-31 Andy Piper <andy@xemacs.org>
9960 * glyphs-widget.c: (button_query_geometry): new function. Adjust
9961 for toggle and radio buttons.
9962 (image_instantiator_buttons): use it.
9964 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9966 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
9967 (x_update_horizontal_scrollbar_callback): Return if no mirror was
9968 found. Scrollbar event probably belonged to some old config.
9970 2000-03-31 Andy Piper <andy@xemacs.org>
9972 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
9974 (initialize_widget_image_instance): default layout to
9975 LAYOUT_HORIZONTAL rather than 0.
9976 (widget_instantiate): reverse the item list at the end rather than
9978 (layout_layout): re-code for the border text at the front of the
9979 item list rather than at the end.
9980 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
9981 provided by the user.
9982 (widget_query_geometry): comment.
9984 2000-03-30 Andy Piper <andy@xemacs.org>
9986 * glyphs-widget.c (image_instantiator_layout): allow standard
9987 widget keywords in layouts.
9989 * gutter.c (output_gutter): cope with nil gutter contents.
9991 * frame.c (Fset_frame_properties): add gutter docs.
9993 2000-03-29 Andy Piper <andy@xemacs.org>
9995 * toolbar-msw.c (TBSTYLE_FLAT): add.
9996 (mswindows_output_toolbar): minor fiddling.
9998 2000-03-29 Andy Piper <andy@xemacs.org>
10000 * gutter.c (output_gutter): force gutter size recalculation if
10001 what we are trying to display won't fit.
10002 (update_gutter_geometry): new function. A per-gutter version of
10003 update_frame_gutter_geometry.
10004 (update_frame_gutter_geometry): use it.
10005 (redraw_exposed_gutter): add extra debugging output.
10007 2000-03-28 Mike Alexander <mta@arbortext.com>
10009 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
10010 (pdump_file_unmap): Implement it on Windows
10011 (pdump_file_get): Save alocated handles for pdump_file_unmap
10013 2000-03-28 Andy Piper <andy@xemacs.org>
10015 * gui.c (get_gui_callback): treat Quit specially.
10017 2000-03-27 Andy Piper <andy@xemacs.org>
10019 * glyphs.c (image_instantiate): be careful to check in the same
10022 2000-03-27 Didier Verna <didier@xemacs.org>
10024 * config.h.in: define the proper SMART_INCLUDE macro.
10025 handle renaming of `foo_h_path' to `foo_h_file'.
10027 * database.c: ditto.
10031 * linuxplay.c: ditto.
10033 * terminfo.c: ditto.
10035 * tooltalk.h: ditto.
10037 2000-03-27 Andy Piper <andy@xemacs.org>
10039 * glyphs-msw.c (mswindows_update_widget): make sure the widget
10040 gets updated whenever the face might have changed.
10042 2000-03-26 Mike Alexander <mta@arbortext.com>
10044 * dumper.c (pdump_resource_free): Fix the comment.
10046 2000-03-21 Olivier Galibert <galibert@pobox.com>
10048 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
10050 2000-03-22 Mike Alexander <mta@arbortext.com>
10052 * dumper.c: Include Windows headers on Windows
10053 (pdump_resource_free): Add a body to the function
10054 (pdump_load): exe_name -> exe_path and add some comments.
10056 2000-03-25 Mike Alexander <mta@arbortext.com>
10058 * gui.c (copy_gui_item_tree): Return a value in all cases
10060 2000-03-21 Didier Verna <didier@xemacs.org>
10062 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
10064 (SMART_INCLUDE): new macro.
10065 (POSTGRES_INCLUDE): new macro to include postgresql headers from
10066 the proper location.
10068 * postgresql.c: use it.
10072 2000-03-24 Andy Piper <andy@xemacs.org>
10074 * gutter.c (redraw_exposed_gutters): must be "in display" when we
10077 2000-03-24 Andy Piper <andy@xemacs.org>
10079 * redisplay-output.c (compare_runes): use image_instance_changed
10080 to detect changes. Do not depend on glyphs_changed, only depend on
10082 (redisplay_output_layout): add debug messages.
10083 (compare_runes): ditto.
10085 * glyphs.h: declare new functions.
10086 (struct Lisp_Image_Instance): remove percent and associated
10089 * gui.h: declare new copying functions.
10091 * gui.c (copy_gui_item_tree): new function.
10092 (copy_gui_item): new function.
10093 (gui_item_id_hash): revert to standard hash.
10094 (gui_item_hash): ditto.
10095 (gui_item_hash_internal): deleted.
10096 (mark_gui_item): mark value.
10097 (gui_item_add_keyval_pair): add value.
10098 (gui_item_init): ditto.
10099 (gui_add_item_keywords_to_plist): ditto.
10100 (gui_item_equal): ditto.
10101 (syms_of_gui): add Q_value.
10103 * glyphs-x.c (x_progress_gauge_update): use pending items and
10104 value for setting the state.
10105 (x_update_widget): don't set items from pending here.
10107 * glyphs-widget.c (update_widget): update items here.
10108 (progress_gauge_set_property): use items for storing value. Put
10109 new value in pending items.
10111 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
10112 items for new value. Convert percent -> value.
10113 (mswindows_tab_control_update): don't update items here.
10115 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
10116 (update_subwindow): ditto.
10117 (image_instance_changed): new function. Compare hash values and
10118 past and present widget items.
10119 (image_instantiate): We more careful about where we instantiate
10121 (image_instantiate): add error checking.
10123 * gutter.c (syms_of_gutter): use -hook.
10125 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
10127 * console-tty.c (Fset_console_tty_input_coding_system): Use
10129 (Fset_console_tty_output_coding_system): Use Qterminal.
10130 (tty_init_console): Use Qkeyboard and Qterminal.
10132 2000-03-21 Ben Wing <ben@xemacs.org>
10134 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
10135 From Mike Alexander <mta@arbortext.com>.
10137 2000-03-21 Ben Wing <ben@xemacs.org>
10139 * event-msw.c (mswindows_need_event): Horrible kludge to fix
10140 process brokenness. Proper implementation to come.
10142 Rename call-process-internal to old-call-process-internal.
10143 New impl. in process.el.
10145 2000-03-21 Martin Buchholz <martin@xemacs.org>
10147 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
10149 2000-03-20 Andy Piper <andy@xemacs.org>
10151 * glyphs.c (full_list_hash): make hashes of the same elements in
10152 different orders return different values.
10154 2000-03-20 Martin Buchholz <martin@xemacs.org>
10156 * XEmacs 21.2.32 is released.
10158 2000-03-20 Martin Buchholz <martin@xemacs.org>
10160 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
10161 (DFC_MALLOC_USE_CONVERTED_DATA):
10162 Add aliasing-safe casts to allow use with char* or unsigned char*
10165 * eldap.c (Fldap_open):
10166 (Fldap_search_basic):
10169 Make C++-compilable.
10170 Make sure GCPRO'ed variables are initialized.
10171 Use temp variables to avoid repeated calls to Flength.
10173 2000-03-16 Martin Buchholz <martin@xemacs.org>
10176 Make sure PATH_MAX is always defined.
10177 Include limits.h for PATH_MAX.
10178 Deprecate use of MAXPATHLEN.
10180 2000-03-10 Martin Buchholz <martin@xemacs.org>
10182 * emacs.c: Add reinit_vars_of_fileio.
10183 * symsinit.h: Add reinit_vars_of_fileio.
10184 * fileio.c (reinit_vars_of_fileio): New.
10185 * fileio.c (Fmake_temp_name):
10186 Initialize temp_name random number from microseconds to make
10187 collisions even less likely. Initialize always at process startup
10188 time. (make-temp-name) used to return the same file name twice in
10190 Random stylistic fiddling.
10193 2000-03-20 Andy Piper <andy@xemacs.org>
10195 * glyphs.c (image_instantiate): allow text glyphs to be
10196 instantiated in the minibuffer window.
10198 2000-03-19 Andy Piper <andy@xemacs.org>
10200 * glyphs.c (image_instance_hash): be careful about which items we
10203 * glyphs-widget.c (tab_control_set_property): record into pending
10204 items rather than the actual items.
10206 * glyphs-x.c (x_update_widget): use pending items to update with.
10208 * glyphs-msw.c (mswindows_tab_control_update): use pending items
10211 * glyphs.c (mark_image_instance): mark pending items.
10213 * window.c (Fset_window_configuration): record the buffer.
10214 (Fselect_window): totally revert previous change which breaks many
10217 2000-03-18 Andy Piper <andy@xemacs.org>
10219 * glyphs-msw.c (mswindows_tab_control_update): force selected
10222 * glyphs.c (image_instantiate): don't allow the minibuffer as a
10223 window domain cache, otherwise we get inconsistencies at
10224 startup. There is something fishy at startup which can lead to the
10225 minibuffer being the selected window when the gutter content is
10228 * gui.c (parse_gui_item_tree_list): add probably unnecessary
10230 (parse_gui_item_tree_children): ditto.
10231 (parse_gui_item_tree_item): ditto.
10233 * glyphs.c (Fupdate_widget_instances): return something.
10235 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10237 * window.c (Fselect_window): Undo 2000-03-17 change.
10239 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
10241 * postgresql.c (Fpq_setenv): Remove this turkey when linking
10242 against v7.0 libraries. Insta-coredump city until the postgres
10245 2000-03-17 Andy Piper <andy@xemacs.org>
10247 * faces.c (complex_vars_of_faces): don't give the widget face an
10248 inherited background pixmap.
10250 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
10253 * event-stream.c (Fdispatch_non_command_events): return something.
10255 * gutter.c (output_gutter): use widget face.
10256 (clear_gutter): ditto.
10258 * NEWS: adjust again.
10260 * window.c (Fselect_window): make sure this runs to completion to
10261 avoid oddities with Fset_window_configuration.
10262 (Fcurrent_window_configuration): in general do not save the
10263 minibuffer as the selected window.
10265 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
10267 2000-03-16 Olivier Galibert <galibert@pobox.com>
10269 * emacs.c (Frunning_temacs_p): Revert previous patch.
10270 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
10272 2000-03-16 Andy Piper <andy@xemacs.org>
10274 * glyphs-x.c (x_tab_control_update): if no widget values then
10277 * NEWS: update for new features.
10279 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
10280 synthetic event to the native system.
10281 (reinit_vars_of_event_Xt): set force_event_pending to
10282 emacs_Xt_force_event_pending.
10284 * events.h (struct event_stream): add force_event_pending.
10286 * specifier.c (recompute_one_cached_specifier_in_window): add
10289 * redisplay.c (redisplay_frame): don't call
10290 update_frame_subwindows. Reset subwindow cachels when
10291 subwindows_changed, removing this was an optimization too far.
10293 * redisplay-output.c (compare_runes): reorganize so that we catch
10294 glyph changes when we want them. Set optimize_output when this
10295 would help layouts.
10296 (redisplay_output_layout): remove frame_really_changed, use
10297 optimize_output instead.
10299 * redisplay-msw.c (mswindows_output_display_block): reset
10300 optimize_output after outputting a glyph.
10301 * redisplay-x.c (x_output_display_block): ditto.
10302 * redisplay-tty.c (tty_output_display_block): ditto.
10304 * gutter.c: (specifier_vars_of_gutter): use new spec changed
10306 (gutter_specs_changed): do specific gutter positions.
10307 (top_gutter_specs_changed): new function. Only update the
10308 specified gutter specs.
10309 (bottom_gutter_specs_changed): ditto.
10310 (left_gutter_specs_changed): ditto.
10311 (right_gutter_specs_changed): ditto.
10313 * gui.c (gui_item_hash_internal): new function, does a real hash.
10314 (gui_item_id_hash): use it.
10315 (gui_item_hash): hash the eval'ed gui_item.
10317 * gui-x.c (popup_selection_callback): send an eval event to call
10318 Fupdate_widget_instances.
10320 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
10321 to call Fupdate_widget_instances.
10323 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
10324 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
10326 * glyphs.c: (update_frame_subwindows): deleted.
10327 (Fupdate_widget_instances): new function for updating the dirty
10328 state of widgets that might have changed.
10329 (syms_of_glyphs): add Qupdate_widget_instances.
10330 (full_list_hash): hash a list completely.
10331 (image_instance_hash): use it for items and properties.
10333 * frame-msw.c (mswindows_size_frame_internal): remove unused
10336 * faces.h (struct face_cachel): fix comment.
10338 * event-stream.c (Fdispatch_non_command_events): new
10339 function. Process non-command events, forcing an event cycle
10341 (syms_of_event_stream): declare.
10342 (event_stream_force_event_pending): new function. Force an event
10343 on the native event queue so that an event cycle will occur next
10347 (struct ntpipe_shove_stream):
10348 (mswindows_enqueue_dispatch_event):
10349 (mswindows_dequeue_dispatch_event):
10350 (mswindows_cancel_dispatch_event):
10351 (mswindows_pump_outstanding_events):
10352 (mswindows_drain_windows_queue):
10353 (mswindows_handle_paint):
10354 (mswindows_wnd_proc):
10355 (mswindows_key_to_emacs_keysym):
10356 (get_process_input_waitable):
10357 (emacs_mswindows_delete_stream_pair): re-indent file.
10358 (mswindows_need_event): do not process further fds if the windows
10359 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
10360 fixes the 100% cpu problem.
10361 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
10363 2000-03-15 Olivier Galibert <galibert@pobox.com>
10369 * emacs.c: Moved dump file searching to dumper.c.
10370 (Frunning_temacs_p): Fixed.
10372 * alloc.c: Moved everything pdump-related to dumper.c. Removed
10373 last_lrecord_type_index_assigned.
10375 2000-02-20 Olivier Galibert <galibert@pobox.com>
10377 * symsinit.h: Added reinit parameter to init_console_stream
10380 * lisp.h: Added file parameter to pdump_load declaration.
10382 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
10383 support. Added dump file searching.
10385 * config.h.in: Added EMACS_PROGNAME.
10387 * console-stream.c (init_console_stream): Fix reinitialisation
10388 when running from temacs.
10390 * alloc.c (pdump): Add id support.
10391 (pdump_load): Add file parameter and signature/id support.
10393 * Makefile.in.in: Add full pdump support.
10395 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
10397 * postgresql.c: Update documentation to reflect latest code
10399 (print_result): Show tuple counts in printed representation when
10401 (Fpq_put_nbytes): MULE-ize.
10402 (Fpq_get_line_async): Ditto.
10404 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10406 * postgresql.c (Fpq_lo_import): Fix return value.
10407 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
10409 2000-03-13 Ben Wing <ben@xemacs.org>
10411 * alloc.c (pdump_load):
10412 Fix compile warning under mswin.
10414 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10416 * postgresql.c: Mule-ization, bug fixes.
10417 Use PG_CODING to encapsulate coding system name changes.
10418 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
10419 (pg-coding-system): Create.
10421 (Fpq_conn_defaults): Mule-ize.
10422 (Fpq_connectdb): Mule-ize & bug fix.
10423 (Fpq_connect_start): Mule-ize.
10424 (Fpq_set_client_encoding): Mule-ize.
10425 (Fpq_finish): Document `DEAD' connection status.
10426 (Fpq_clear): Ditto.
10427 (Fpq_pgconn): Mule-ize.
10428 (Fpq_exec): Mule-ize & bug fix.
10429 (Fpq_send_query): Ditto.
10430 (Fpq_get_result): Ditto.
10431 (Fpq_res_status): Mule-ize.
10432 (Fpq_result_error_message): Mule-ize.
10433 (Fpq_ntuples): fix comments.
10434 (Fpq_fname): Mule-ize.
10435 (Fpq_fnumber): Mule-ize.
10436 (Fpq_ftype): fix comments.
10437 (Fpq_get_value): Mule-ize.
10438 (Fpq_cmd_status): Ditto.
10439 (Fpq_cmd_tuples): Ditto.
10440 (Fpq_oid_value): Ditto.
10441 (Fpq_notifies): Ditto.
10442 (Fpq_lo_import): Ditto.
10443 (Fpq_lo_export): Ditto.
10444 (Fpq_get_line): Ditto.
10445 (Fpq_put_line): Mule-ize and bug fix.
10446 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
10448 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10450 * postgresql.c (vars_of_postgresql): Mule-ize.
10451 (Fpq_conn_defaults): Ditto.
10453 2000-03-12 Ben Wing <ben@xemacs.org>
10455 * alloc.c (Fmake_byte_code):
10456 * alloc.c (debug_string_purity_print):
10457 * alloc.c (pdump_backtrace):
10458 * alloc.c (pdump_get_indirect_count):
10459 * alloc.c (pdump_register_sub):
10460 * alloc.c (pdump_register_object):
10461 * alloc.c (pdump_register_struct):
10462 * alloc.c (pdump_dump_data):
10463 * alloc.c (pdump_reloc_one):
10467 * console-msw.c (GetConsoleHwnd):
10468 * console-msw.c (msw_hide_console):
10469 * console-msw.c (msw_show_console):
10470 * console-msw.c (msw_ensure_console_buffered):
10471 * console-msw.c (msw_output_console_string):
10472 * console-msw.c (console_type_create_mswindows):
10474 a) Added functions to manipulate the console window for use with
10477 b) Added support for writing text to the console, which is now
10478 used under Windows when xemacs is not being run non-interactively,
10479 to write text that would otherwise be destined for stdout because
10480 under these circumstances, text written to stdout tends to
10481 disappear and not be seen.
10485 * event-Xt.c (x_event_to_emacs_event):
10486 * event-Xt.c (describe_event_window):
10487 * events-mod.h (XEMACS_MOD_CONTROL):
10489 * events.c (Fmake_event):
10490 * events.c (character_to_event):
10491 * events.c (event_to_character):
10492 * events.c (format_event_object):
10493 * events.c (Fevent_modifiers):
10495 * events.h (struct key_data):
10496 * events.h (struct button_data):
10497 * events.h (struct misc_user_data):
10498 * frame-x.c (Fcde_start_drag_internal):
10499 * frame-x.c (Foffix_start_drag_internal):
10500 * gpmevent.c (Freceive_gpm_event):
10502 * keymap.c (bucky_sym_to_bucky_bit):
10503 * keymap.c (control_meta_superify):
10504 * keymap.c (make_key_description):
10505 * keymap.c (keymap_lookup_directly):
10506 * keymap.c (create_bucky_submap):
10507 * keymap.c (keymap_store):
10508 * keymap.c (define_key_check_and_coerce_keysym):
10509 * keymap.c (define_key_parser):
10510 * keymap.c (define_key_alternate_name):
10511 * keymap.c (Fdefine_key):
10512 * keymap.c (raw_lookup_key_mapper):
10513 * keymap.c (struct map_keymap_unsorted_closure):
10514 * keymap.c (map_keymap_unsorted_mapper):
10515 * keymap.c (map_keymap_sort_predicate):
10516 * keymap.c (map_keymap_sorted):
10517 * keymap.c (accessible_keymaps_mapper_1):
10518 * keymap.c (where_is_recursive_mapper):
10519 * keymap.c (describe_map_mapper):
10520 * keymap.c (describe_map_sort_predicate):
10521 * keymap.c (describe_map):
10522 * keymap.c (complex_vars_of_keymap):
10523 And a number of other files, the key modifier preprocessor
10524 constants that xemacs uses have names that conflict with constants
10525 defined under MS Windows for other purposes, so they were renamed
10526 to begin with the prefix XEMACS_. The variables that hold such
10527 modifiers were changed to consistently be of type int to fix
10528 various compile warnings.
10530 * console.c (complex_vars_of_console):
10533 * device-msw.c (mswindows_finish_init_device):
10534 * device-msw.c (msw_get_workspace_coords):
10535 * device-msw.c (mswindows_device_system_metrics):
10536 and various other files, added support for a new
10537 device property called offset-workspace which returns the position
10538 of the upper left corner of the workspace area and goes along with
10539 the existing size-workspace property.
10542 * dialog-msw.c (push_bufbyte_string_as_unicode):
10543 * dialog-msw.c (mswindows_popup_dialog_box):
10544 Added support for XEmacs-style accelerator specifications in
10545 button text. Note: I didn't add support for this under X Windows,
10546 and somebody needs to do this.
10549 * dialog.c (Fpopup_dialog_box):
10550 Documented the support for accelerators that was just mentioned.
10552 editfns.c (get_home_directory): Changed behavior under Windows
10553 when HOME not defined; former behavior was irretrievably broken.
10556 * emacs.c (main_1):
10558 * minibuf.c (clear_echo_area_internal):
10559 * minibuf.c (echo_area_append):
10561 * print.c (std_handle_out_external):
10562 * print.c (std_handle_out_va):
10564 * print.c (write_string_to_stdio_stream):
10565 * print.c (output_string):
10566 * print.c (debug_print):
10567 * print.c (debug_backtrace):
10568 * print.c (debug_short_backtrace):
10569 Cleaned up the code that prints text to stdout so that this can be
10570 changed to output into a console window instead under MS Windows,
10571 as described above.
10574 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
10575 * eval.c (internal_catch):
10576 * eval.c (unwind_to_catch):
10577 * eval.c (throw_or_bomb_out):
10578 * eval.c (condition_case_1):
10579 * eval.c (signal_1):
10580 * eval.c (check_error_state_sanity):
10581 * eval.c (call_with_suspended_errors_1):
10582 * eval.c (call_with_suspended_errors):
10583 * eval.c (reinit_vars_of_eval):
10584 Added code to catch throw loops and check for a pesky bug that may
10588 * event-msw.c (key_needs_default_processing_p):
10589 * event-msw.c (mswindows_wnd_proc):
10590 * event-msw.c (mswindows_modifier_state):
10591 * event-msw.c (emacs_mswindows_quit_p):
10592 * event-msw.c (vars_of_event_mswindows):
10593 a) Added support for using the alt key to select menu items as is
10594 standard under MS Windows. This is controlled using the variable
10595 menu-accelerator-enabled, just like under X Windows. There is an
10596 option on the options menu to turn this support on. I really
10597 think that it should be on by default under Windows, but I'm not
10598 going to make this change yet.
10600 b) Added support for dynamic display size changes under Windows.
10603 * event-stream.c (maybe_echo_keys):
10604 * event-stream.c (Fnext_event):
10605 * event-stream.c (command_builder_find_leaf):
10606 * event-stream.c (lookup_command_event):
10607 * event-stream.c (execute_command_event):
10608 * event-stream.c (pre_command_hook):
10609 * event-stream.c (post_command_hook):
10610 * event-stream.c (syms_of_event_stream):
10611 * event-stream.c (vars_of_event_stream):
10612 * event-stream.c (complex_vars_of_event_stream):
10613 * events.h (struct command_builder):
10615 a) Tried to clean up a little bit the horribly written x-specific
10616 accelerator code that crept into this file. I moved this code
10617 into menubar-x.c where it belongs. I also needed to move the
10618 command builder structure into the file events.h because it is
10619 accessed directly by this accelerator code. What I didn't do, but
10620 which should be done at some point, is to properly abstract this
10621 code using device methods instead of the kludgy way that it
10622 currently hooks into the event code.
10624 b) Added the lisp variables this-command-properties and
10625 last-command- properties, which should be used to synchronize two
10626 adjacent commands in preference to playing games with the variable
10627 this-command, which is typically what happens.
10629 c) Added some slightly nasty code to hook into the lisp support
10630 for shifted- motion-key selection. This is actually necessary for
10631 somewhat complicated reasons, which are described in
10632 simple.el. (NB: I think the proper thing would be to have the code
10633 that calls the pre and post command hooks also call out to generic
10634 lisp functions in simple.el, where all built-in stuff could be
10635 added. I will think about this more.)
10637 * event-unixoid.c (poll_fds_for_input):
10638 * lread.c (readchar):
10639 * redisplay-tty.c (tty_clear_frame):
10640 * redisplay-x.c (x_get_gc):
10641 * signal.c (interrupt_signal):
10642 And a whole bunch of other files: fixed up places that printed
10643 directly to stderr to instead call the function stderr_out so that
10644 the changes I made under Windows work correctly.
10646 * filemode.c (mode_string):
10650 * frame-msw.c (mswindows_size_frame_internal):
10651 Fixed the computation of frame size and position to keep the frame
10652 within the workspace area, rather than within the physical
10653 dimensions of the screen, so that the frame doesn't overlap window
10654 manager decorations, such as the start menu and toolbar, typically
10655 at the bottom of the screen.
10657 * frame.c (vars_of_frame):
10658 Changed the default frame title format under MS Windows to consist
10659 of buffername-XEmacs, which is standard under MS Windows. I think
10660 it might be a good idea to change this everywhere because I think
10661 it is superior to the current frame title format, but this is the
10662 kind of change that is likely to cause some people to get annoyed,
10663 so I'm not making it.
10665 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
10667 * gui-msw.c (mswindows_handle_gui_wm_command):
10668 Fixed compile warnings.
10671 * gui-x.c (strdup_and_add_accel):
10672 * gui-x.c (button_item_to_widget_value):
10674 Added code to automatically put an accelerator onto the beginning
10675 of menu items that don't have one as is now the standard, and is
10676 described more later. Also fixed things so that the menu item
10677 name can be an evaluated expression, again a new standard.
10680 * gui.c (gui_item_add_keyval_pair):
10681 * gui.c (make_gui_item_from_keywords_internal):
10682 * gui.c (gui_add_item_keywords_to_plist):
10683 * gui.c (gui_item_accelerator):
10684 * gui.c (gui_name_accelerator):
10685 * gui.c (gui_item_included_p):
10686 * gui.c (gui_item_display_flush_left):
10687 * gui.c (gui_item_display_flush_right):
10688 * gui.c (parse_gui_item_tree_item):
10689 * gui.c (parse_gui_item_tree_children):
10690 * gui.c (parse_gui_item_tree_list):
10691 Mule-ized. Cleanup. GCPRO addition.
10693 * line-number.c (buffer_line_number):
10695 * lisp.h (EMACS_INT_MAX):
10696 Added the manifest constant EMACS_INT_MIN corresponding to the
10697 existing constant EMACS_INT_MAX. This is partially to fix compile
10698 warnings under Windows, and partly for cleanliness.
10701 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
10702 * menubar-msw.c (msw_translate_menu_or_dialog_item):
10703 * menubar-msw.c (displayable_menu_item):
10704 * menubar-msw.c (populate_menu_add_item):
10705 * menubar-msw.c (populate_or_checksum_helper):
10706 * menubar-msw.c (populate_menu):
10707 * menubar-msw.c (update_frame_menubar_maybe):
10708 * menubar-msw.c (prune_menubar):
10709 * menubar-msw.c (msw_char_is_accelerator):
10710 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
10711 * menubar-msw.c (mswindows_handle_wm_command):
10712 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
10713 * menubar-msw.c (mswindows_handle_wm_initmenu):
10714 * menubar-msw.c (mswindows_update_frame_menubars):
10715 * menubar-msw.c (mswindows_free_frame_menubars):
10716 * menubar-msw.c (mswindows_popup_menu):
10717 Fixed a bug in handling accelerators where an extra character
10718 would be displayed in the menu item. Also generalized the
10719 function displayable_menu_item because it is now used by the
10720 dialog box code as well. And finally, added code in the functions
10721 that create the menubar to extract a list of accelerators for the
10722 top level menubar, which is used in the event code to determine
10723 whether a particular alt-key combination should be used to invoke
10724 a menu item, or should be passed through to access the standard
10725 XEmacs keymap binding for this key combination.
10727 Much needed GCPROing.
10730 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10731 * menubar-x.c (menu_item_descriptor_to_widget_value):
10732 * menubar-x.c (restore_in_menu_callback):
10733 * menubar-x.c (x_popup_menu):
10734 * menubar-x.c (menu_move_up):
10735 * menubar-x.c (menu_move_down):
10736 * menubar-x.c (menu_move_left):
10737 * menubar-x.c (menu_move_right):
10738 * menubar-x.c (menu_select_item):
10739 * menubar-x.c (command_builder_operate_menu_accelerator):
10740 * menubar-x.c (menu_accelerator_junk_on_error):
10741 * menubar-x.c (command_builder_find_menu_accelerator):
10742 * menubar-x.c (Faccelerate_menu):
10744 Moved a whole bunch of code here that was previously in
10745 event-stream.c as described above. There is also code connected
10746 to the new standard of adding an accelerator to the beginning of
10747 menu items that don't have one as described above and below.
10750 * menubar.c (menu_parse_submenu_keywords):
10751 * menubar.c (Fmenu_find_real_submenu):
10752 * menubar.c (Fnormalize_menu_item_name):
10753 * menubar.c (syms_of_menubar):
10754 * menubar.c (vars_of_menubar):
10755 * menubar.c (complex_vars_of_menubar):
10757 a) Cleaned up a bunch of documentation and improved it.
10759 b) XEmacs now automatically adds an accelerator onto the beginning
10760 of any menu items that don't have one. I did this because there
10761 will inevitably be some menu items on the main menubar that don't
10762 have accelerators on them because the package that adds that
10763 particular menu item hasn't yet been fixed up to have accelerators
10764 in them and it looked rather strange to have some items with and
10765 some items without accelerators, especially since even in items
10766 without accelerators, you can, at least under windows, still
10767 access the item through an accelerator corresponding to the first
10768 character in the item's name. If people don't like this behavior,
10769 I can add a variable to turn it off optionally, but I'm not sure
10770 this is a good idea because we really do need to have accelerators
10771 on all of the menu items, and if a package doesn't like the
10772 accelerators being put on the first character, then it should put
10773 the accelerators where they belong.
10775 c) I made a behavior change, which is that the descriptor that
10776 specifies the text of the menu item, which formerly was just a
10777 string, can now also be an evaluated expression. This makes this
10778 descriptor parallel with all of the others, which could also be
10779 evaluated expressions. This also obviates the need for the
10780 keyword :label, which was previously listed in the documentation
10781 as unimplemented, and which was for the same purpose.
10786 * ntproc.c (new_child):
10787 * ntproc.c (sys_spawnve):
10788 * ntproc.c (find_child_console):
10789 * ntproc.c (sys_kill):
10790 Fixed compile warnings. By the way, this file should really go
10791 away entirely, and this will happen as soon as Kirill makes his
10792 final round of process cleanups, which affect the function
10796 * process-nt.c (struct nt_process_data):
10797 * process-nt.c (find_process_from_pid):
10798 * process-nt.c (send_signal_the_nt_way):
10799 * process-nt.c (enable_child_signals):
10800 * process-nt.c (find_child_console):
10801 * process-nt.c (send_signal_the_95_way):
10802 * process-nt.c (nt_finalize_process_data):
10803 * process-nt.c (ensure_console_window_exists):
10804 * process-nt.c (nt_create_process):
10805 * process-nt.c (nt_kill_child_process):
10806 * process-nt.c (nt_kill_process_by_pid):
10807 * process-nt.c (nt_open_network_stream):
10808 * process-nt.c (vars_of_process_nt):
10809 Copied over code from Emacs 20.5 to correctly send signals to sub-
10810 processes under Windows 95. Also added code to automatically
10811 create and hide console window when a sub-process is created under
10812 Windows 95, which obviates the need for the separate runemacs.exe
10813 executable, and finally implemented some variables that were
10814 implemented in Emacs 20.5, but previously not in XEmacs. These
10815 include mswindows- start-process-share-console and
10816 mswindows-start-process-inherit-error-mode. (Both of these only
10817 apply to Windows 95.)
10819 * regex.c (regex_compile): Fixed a compile warning.
10822 * select-msw.c (mswindows_own_selection):
10823 * select-msw.c (mswindows_get_foreign_selection):
10824 * select-msw.c (mswindows_disown_selection):
10825 * select-msw.c (console_type_create_select_mswindows):
10826 * select-msw.c (syms_of_select_mswindows):
10827 Cleaned up the file and implemented the device method
10828 selection_exists_p, which had accidentally been left out. Also
10829 removed four lisp functions that were remnants from before the
10830 time when the selection code was properly device abstracted.
10831 These functions are no longer needed because there are generic
10832 equivalents, and because they were added recently and don't exist
10833 in FSF Emacs, I don't think there's any problem with just deleting
10837 * sysdep.c (sys_subshell):
10838 Fixed a compile warning, although in this case there's probably
10839 something wrong with this code, and it ought to be looked into
10840 more thoroughly by somebody who understands it.
10843 * window.c (Fwindow_text_area_height):
10844 * window.c (Fwindow_width):
10845 * window.c (Fwindow_full_width):
10846 * window.c (Fwindow_pixel_width):
10847 * window.c (debug_print_window):
10848 * window.c (syms_of_window):
10849 Added functions window-text-area-height and window-full-width,
10850 which are functions for returning various width and height
10851 characteristics of a window. (One of these functions is necessary
10852 for making the file dialog box work correctly, and the other one
10853 was added for completeness.) Also added a table to the
10854 documentation for window-height which describes the entire scheme
10855 for accessing width and height characteristics of a window.
10857 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10859 * nt.c (fstat): Added a comment for another problem with
10860 non-encapsulated [f]stat(), reported by Adrian Aichner
10861 <aichner@ecf.teradyne.com>.
10863 2000-03-11 Andy Piper <andy@xemacs.org>
10865 * window.c (make_dummy_parent): initialize subwindow instance
10867 (Fset_window_configuration): zero extent_modiff.
10869 2000-03-10 Andy Piper <andy@xemacs.org>
10871 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
10872 more changes can be triggered.
10873 (Fredisplay_frame): ditto.
10874 (Fredraw_device): ditto.
10875 (Fredisplay_device): ditto.
10876 (redisplay_frame): make non-static.
10877 (redisplay_frame): call update_frame_gutter_geometry outside of
10880 * gutter.h: declare update_frame_gutter_geometry.
10882 * redisplay.h: declare redisplay_frame.
10884 * gutter.c (update_frame_gutter_geometry): move geometry changes
10885 in update_frame_gutters here. Geometry changes can only occur
10886 outside of redisplay.
10887 (update_frame_gutters): remove geometry change code.
10888 (Fredisplay_gutter_area): make sure that we are in display when we
10889 update and that we have flushed any size changes.
10891 2000-03-11 Andy Piper <andy@xemacs.org>
10893 * alloc.c (pdump_dump_data): remove i & count shadows.
10895 2000-02-27 Mike Alexander <mta@arbortext.com>
10897 * sysdep.h: Declare pdump_read_file
10899 * sysdep.c (pdump_read_file): New function
10901 * alloc.c (pdump_load): Call pdump_read_file to get the portable
10904 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10906 * lrecord.h: add `lrecord_type_pgsetenv'.
10908 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
10910 * symsinit.h: declare (vars|syms)_of* functions.
10911 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
10913 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
10915 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
10917 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
10920 * emacs.c (main_1): Call postgres initialization code.
10922 * postgresql.h: New file. PostgreSQL RDBMS support.
10923 * postgresql.c: New file.
10925 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
10927 * redisplay-output.c (redisplay_output_display_block): Disable
10930 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10932 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
10933 (Fcanna_henkan_next): Ditto.
10934 (Fcanna_bunsetu_henkou): Ditto.
10935 (Fcanna_henkan_kakutei): Ditto.
10936 (Fcanna_henkan_end): Ditto.
10937 (Fcanna_henkan_quit): Ditto.
10938 (Fcanna_henkan_next): Set retun value correctly.
10939 (c2mu): Use unsigned char instead of signed char.
10941 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10943 * emacs.c (main_1): Always call syms_of_gui.
10944 * inline.c: include gui.h
10946 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10948 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
10949 converted to Lisp_Object.
10950 (Qtop_bottom): New variable.
10951 (syms_of_redisplay): Initialize it.
10952 * redisplay.h (Vvisible_bell): Ditto.
10953 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
10954 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
10955 only flash top and bottom.
10957 2000-03-08 Andy Piper <andy@xemacs.org>
10959 * buffer.c (Frename_buffer): record new buffer name the right way.
10961 2000-03-08 Andy Piper <andy@xemacs.org>
10963 * glyphs.c (update_subwindow): increase hash depth so that widget
10964 items get picked up properly.
10966 * redisplay-output.c (compare_runes): increase hash depth so that
10967 widget items get picked up properly.
10969 2000-03-08 Andy Piper <andy@xemacs.org>
10971 * gutter.c (output_gutter): add some debug.
10973 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
10974 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
10975 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
10977 * redisplay-output.c (compare_runes): use display_hash to
10978 determine if glyphs really are not the same.
10980 * glyphs.c (update_subwindow): check display_hash to see if
10981 anything really needs to be updated. If not then do
10982 nothing. Record the display_hash after updating.
10983 (image_instance_equal): compare the image_instance face also.
10985 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
10987 * redisplay.h: Fix comment style.
10989 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
10991 * consle-msw.h (struct mswindows_frame):
10992 Added new member paint_pending to indicate whether a WM_PAINT
10993 magic event has been queued for this frame.
10995 * event-msw.c (mswindows_drain_windows_queue):
10996 Don't queue a WM_PAINT magic event if one is already queued.
10997 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
10999 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
11001 2000-03-07 Didier Verna <didier@xemacs.org>
11003 * dired.c: #include `regex.h' after `sysfile.h'.
11005 2000-03-06 Martin Buchholz <martin@xemacs.org>
11007 * sound.c (init_nas_sound): Fix compiler warning.
11009 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
11011 (MARK_STRUCT_AS_FREE):
11012 (MARK_STRUCT_AS_NOT_FREE):
11013 Make `gcc -fstrict-aliasing' work properly.
11015 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
11017 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
11018 (mswindows_delete_device): Call CoUnnitialize().
11020 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
11022 2000-02-25 <CraigL@DyCon.com>
11024 * process-nt.c: MinGW now has <shellapi.h>, but still needs
11027 * sysdep.c: This extern declaration for environ prevents MinGW
11028 from finding the variable in CRTDLL.DLL.
11030 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
11032 (SHGFI_EXETYPE): ..
11033 (WM_MOUSEWHEEL): ..
11034 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
11036 (MMRESULT): Removed, now defined in cygwin's windows headers.
11038 (uid_t,gid_t,pid_t,ssize_t): ..
11039 (_timeb): Removed, MinGW defines both _timeb and timeb.
11040 (HAVE_H_ERRNO): Added.
11041 (HAVE_TZNAME): Added, configure is not detecting this.
11043 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
11045 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
11046 * syntax.c (syntax_match): Use it.
11048 * cmds.c: Import auto-fill-chars from FSF Emacs.
11049 (Vauto_fill_chars): New variables.
11050 (internal_self_insert): Check Vauto_fill_chars.
11052 Declare auto-fill-chars as a Lisp variable and initialize it.
11054 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
11056 * fileio.c (Fmake_symbolic_link):
11058 Run handlers even if local machine doesn't have symlinks.
11060 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
11062 * event-msw.c (mswindows_drain_windows_queue):
11063 Don't generate paint magic events for non-XEmacs frames.
11065 2000-03-05 Andy Piper <andy@xemacs.org>
11067 * redisplay.c (redisplay_frame): generate_displayable_area and
11068 friends assumes that we are not in GC, we therefore have to make
11069 sure that this doesn't happen.
11071 * gutter.c (calculate_gutter_size): generate_displayable_area
11072 assumes that we are not in GC, we therefore have to make sure that
11073 this doesn't happen.
11075 2000-03-05 Martin Buchholz <martin@xemacs.org>
11077 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
11079 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
11081 * redisplay.c (regenerate_window): Make sure we set a sane value
11082 for end_pos even if we jump out of the loop.
11083 (regenerate_window): Answer Ben's question :-).
11084 (start_end_of_last_line): Add may_error argument.
11085 (start_of_last_line):
11086 (end_of_last_line): Pass may_error = 0.
11087 (end_of_last_line_may_error): New function.
11088 (pixel_to_glyph_translation): Use it, so we don't crash in
11091 2000-03-04 Andy Piper <andy@xemacs.org>
11093 * window.h (struct window): add gutter_extent_modiff.
11095 * window.c (allocate_window): zero out gutter_extent_modiff.
11097 * redisplay.h: declare sync_display_line_structs.
11099 * redisplay.c (add_glyph_rune): add a better comment.
11101 * redisplay-output.c (sync_display_line_structs): made non-static.
11102 (compare_runes): remove unneccesary glyph cachel access.
11104 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
11106 * gutter.c (output_gutter): don't output the gutter if extent
11107 changes only involve extents in buffers. use 4 sets of display
11109 (gutter_extent_signal_changed_region_maybe): new function. Mark
11110 extents in gutters as changed.
11111 (update_frame_gutters): use 4 sets of display lines.
11112 (reset_gutter_display_lines): ditto.
11113 (free_frame_gutters): ditto.
11114 (redraw_exposed_gutter): force output of gutters.
11116 * frame.h (struct frame): add 4 sets of gutter display lines.
11118 * extents.c: (extent_changed_for_redisplay): signal changes to
11119 extents in strings in the gutter as well as extents in buffers.
11121 2000-03-02 Andy Piper <andy@xemacs.org>
11123 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
11125 * frame.c (Fmake_frame): make sure the gutters get initialized
11126 after the frame is visible.
11127 (set_frame_selected_window): re-arrange compilation macros a
11129 (change_frame_size_1): mark gutters changed.
11131 * device.c (Fset_device_class): mark gutters changed.
11133 2000-03-01 Andy Piper <andy@xemacs.org>
11135 * window.c (window_top_frame_gutter_height): deleted.
11136 (window_bottom_frame_gutter_height): ditto.
11137 (window_left_frame_gutter_height): ditto.
11138 (window_right_frame_gutter_height): ditto.
11139 (window_top_gutter_height): don't use them.
11140 (window_bottom_gutter_height): ditto.
11141 (window_left_gutter_width): ditto.
11142 (window_right_gutter_width): ditto.
11143 (Fsplit_window): ditto.
11144 (Fwindow_pixel_edges): don't use border dimensions here.
11146 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
11147 (update_scrollbar_instance): ditto.
11149 * redisplay.c (generate_modeline): don't take gutters into account.
11150 (generate_modeline): ditto.
11151 (redisplay_frame): small gutter display optimization.
11153 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
11155 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
11156 gutters into account.
11158 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
11159 for window position and type.
11161 * gutter.c (get_gutter_coords): fix for frame gutters.
11162 (update_frame_gutters): update frame geometry if the gutters have
11164 (init_frame_gutters): record current gutter geometries.
11166 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
11168 (mswindows_widget_instantiate): ditto.
11170 * frame.h (struct frame): add current_gutter_bounds.
11172 * frame.c (change_frame_size_1): position window and minibuffer
11173 appropriately taking into account the frame gutters.
11175 * frame-x.c: (x_initialize_frame_size): take into account the
11178 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11180 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
11182 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11184 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
11186 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11188 * file-coding.c (reset_decoding_stream): Clear previous
11189 detection state when autodetect.
11191 2000-02-29 Didier Verna <didier@xemacs.org>
11193 * extents.c (set_extent_glyph_1): don't require extents to be
11196 2000-02-27 Andy Piper <andy@xemacs.org>
11198 * gutter.c (Fset_default_gutter_position): don't default left and
11199 right gutter visibility to t.
11200 (Fset_default_gutter_position): run
11201 default-gutter-position-changed-hook.
11202 (syms_of_gutter): add default-gutter-position-changed-hook.
11204 2000-02-26 Andy Piper <andy@xemacs.org>
11206 * specifier.c (Fmake_specifier): add gutter references.
11208 * gutter.h (RAW_WINDOW_GUTTER): new macro.
11210 * lisp.h: declare Fvalid_plist_p.
11212 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
11214 (default_gutter_visible_p_changed_in_window): invalidate gutter as
11215 well as its visibility so that it gets reconstructed.
11216 (construct_window_gutter_spec): new function. Construct a string
11217 to be displayed in the gutter from a plist of strings. Take care
11218 to only use elements that are declared as visible.
11219 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
11221 (gutter_validate): allow plists of strings in the specifier.
11222 (gutter_specs_changed): construct the real_gutter from the gutter
11223 specs using construct_window_gutter_spec.
11224 (gutter_visible_validate): gutter-visible is a new specifier type.
11225 (Fgutter_visible_specifier_p): new function for the new specifier.
11226 (syms_of_gutter): declare gutter-visible and
11227 Fgutter_visible_specifier_p.
11228 (specifier_type_create_gutter): intitalize new gutter-visible
11230 (reinit_specifier_type_create_gutter): ditto.
11231 (specifier_vars_of_gutter): use new specifier type for gutter
11233 (init_frame_gutters): construct real_gutter correctly.
11234 (Fgutter_specifier_p): beef up documentation.
11235 (Fgutter_size_specifier_p): ditto.
11237 * winslots.h: add real_gutter slots.
11239 2000-02-25 Andy Piper <andy@xemacs.org>
11241 * device-msw.c: Be kind to older cygwin versions. From Raymond
11242 Toy <toy@rtp.ericsson.se>.
11244 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
11245 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
11247 2000-02-25 Martin Buchholz <martin@xemacs.org>
11249 * elhash.c (MARK_OBJ): Practice macro hygiene.
11251 2000-02-24 Martin Buchholz <martin@xemacs.org>
11253 * miscplay.c: s/__inline__/inline/g;
11254 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
11255 (get_device_compdc): INLINE ==> static inline
11256 * *.[ch]: Change INLINE to INLINE_HEADER globally.
11257 find -name '*.h' | \
11258 xargs global-replace \
11259 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
11261 2000-02-25 Andy Piper <andy@xemacs.org>
11263 * window.c (window_top_frame_gutter_height): new function.
11264 (window_top_window_gutter_height): ditto.
11265 (window_top_gutter_height): use them.
11266 (window_bottom_frame_gutter_height): new function.
11267 (window_bottom_window_gutter_height): ditto.
11268 (window_bottom_gutter_height): use them.
11269 (window_left_window_gutter_width): new function.
11270 (window_left_frame_gutter_width): ditto.
11271 (window_left_gutter_width): use them.
11272 (window_right_window_gutter_width): new function.
11273 (window_right_frame_gutter_width): ditto.
11274 (window_right_gutter_width): use them.
11275 (window_pixel_height): new function. calulate window pixel height
11276 with frame gutter involvement.
11277 (Fsplit_window): calculate new sizes taking frame gutters into
11279 (window_char_height_to_pixel_height): don't include frame gutters.
11280 (window_char_height): use window_pixel_height.
11281 (window_pixheight): rename from window_pixel_height.
11282 (change_window_height): use it.
11283 (window_pixel_height_to_char_height): don't include frame gutters.
11284 (window_char_width_to_pixel_width): ditto.
11286 2000-02-25 Andy Piper <andy@xemacs.org>
11288 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
11291 2000-02-24 Martin Buchholz <martin@xemacs.org>
11293 * alloc.c (staticpro):
11294 (staticpro_nodump):
11299 (compact_string_chars):
11300 (pdump_dump_wired):
11301 Convert: if (foo) abort(); ==> assert (! foo);
11303 * eldap.c (Fldap_search_basic):
11307 Fix compiler warnings, and possible crashes if (random) return
11308 value were to be used.
11310 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11312 * device-msw.c: Workaround ResetDC failure.
11314 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
11315 applying a devmode.
11317 * redisplay-msw.c (get_frame_dc): Added start_page_p.
11318 (mswindows_text_width): Do not start printer page.
11320 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
11322 * glyphs-msw.c: Added image methods to msprinter console and
11323 msprinter-specific image instantiation.
11325 2000-02-20 Mike Alexander <mta@arbortext.com>
11327 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
11328 to avoid crashes when selection-sets-clipboard is on
11329 (mswindows_own_selection): ditto
11331 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11334 * redisplay-msw.c (get_frame_dc):
11335 (get_frame_compdc):
11337 * device-msw.c (mswindows_init_device):
11338 (mswindows_delete_device):
11339 (msprinter_init_device):
11340 (msprinter_delete_device):
11341 * frame-msw.c (mswindows_init_frame_1):
11342 (mswindows_delete_frame):
11343 (msprinter_init_frame_3):
11344 (msprinter_delete_frame): Move compatible DC to device object from
11345 frame object, for both mswindows and msprinter. Only one at a time
11346 is needed, it is a real waste to have one per frame!
11348 2000-02-23 Andy Piper <andy@xemacs.org>
11350 * glyphs.c: add dynamic width and height elements.
11351 (image_instance_equal): ditto.
11353 * glyphs-widget.c (widget_query_geometry): calculate width and
11354 height dynamically if required.
11355 (initialize_widget_image_instance): initialize dynamic dimensions.
11356 (widget_instantiate): pick-up dynamic dimensions.
11358 * glyphs.h (struct Lisp_Image_Instance): add width and height for
11359 dynamic determination. Add appropriate macros.
11361 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
11363 (WINDOW_GUTTER_SIZE): ditto.
11364 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
11366 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
11368 (get_frame_dc): ditto.
11370 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
11373 2000-02-23 Martin Buchholz <martin@xemacs.org>
11375 * XEmacs 21.2.31 is released.
11377 2000-02-22 Ben Wing <ben@xemacs.org>
11379 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
11381 2000-02-22 Andy Piper <andy@xemacs.org>
11383 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
11385 2000-02-21 Mike Sperber <mike@xemacs.org>
11389 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
11392 2000-02-21 Mike Sperber <mike@xemacs.org>
11394 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
11396 2000-02-21 Martin Buchholz <martin@xemacs.org>
11398 * XEmacs 21.2.30 is released.
11400 2000-02-20 Martin Buchholz <martin@xemacs.org>
11402 Performance hacking.
11404 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
11405 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
11406 * emacs.c (main_1):
11408 * console.c (DEFVAR_CONSOLE_LOCAL_1):
11409 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
11410 * symeval.h (DEFVAR_SYMVAL_FWD):
11411 * symbols.c (guts_of_unbound_marker):
11412 Make all c_readonly objects also lisp_readonly and marked for life.
11413 * lrecord.h (struct lrecord_implementation):
11414 Document flags better.
11415 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
11416 * lrecord.h (DECLARE_LRECORD):
11417 * lrecord.h (XSETRECORD):
11418 * lrecord.h (RECORDP):
11419 * lrecord.h (RECORD_TYPEP):
11420 * lrecord.h (RECORD_MARKER): New.
11421 * lrecord.h (error_check_*):
11422 * lrecord.h (CONCHECK_NONRECORD):
11423 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
11424 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
11425 * lrecord.h (set_lheader_implementation):
11426 * lrecord.h (enum lrecord_type): New.
11427 * symeval.h (SYMBOL_VALUE_MAGIC_P):
11428 * alloc.c (disksave_object_finalization_1):
11429 * alloc.c (mark_object):
11430 * alloc.c (lrecord_type_index):
11431 * alloc.c (tick_lcrecord_stats):
11432 * alloc.c (Fgarbage_collect):
11433 * alloc.c (init_alloc_once_early):
11434 * alloc.c (pdump_load):
11435 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
11436 * alloc.c (lrecord_type_index): Delete.
11437 Make lisp object type indexes be constant.
11438 Makes (byte-compile) 5% faster.
11439 Put all marker functions into their own array.
11440 Makes (garbage-collect) 5% faster.
11441 Optimize SYMBOL_VALUE_MAGIC_P.
11442 Makes (byte-compile) 2-3% faster.
11443 * config.h.in (gc_checking_assert): New.
11444 * alloc.c: Use gc_checking_assert().
11445 * .dbxrc: Make compatible with new object type implementation.
11446 * .gdbinit: Make compatible with new object type implementation.
11447 * alloc.c: Delete all symbols defined only for debugging, such as
11448 Lisp_Type_Vector and lrecord_charset.
11450 2000-02-21 Andy Piper <andy@xemacs.org>
11452 * gui-msw.c (Fmswindows_shell_execute): fix file location
11455 * buffer.c (Fkill_buffer): remove buffer from alist buffer
11456 unshowing so that set_window_buffer doesn't undo
11457 kill_buffer_hook's hard work.
11459 * glyphs-widget.c (tab_control_query_geometry): don't count the
11460 first item when calculating geometry.
11462 * glyphs.c (map_subwindow): remove redundant code.
11463 (update_frame_subwindows): be more circumspect about when to
11466 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
11467 when items haven't changed. Update faces if faces have changed as
11468 well as just the widget face.
11469 (x_tab_control_update): Update faces if faces have changed as well
11470 as just the widget face.
11472 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11474 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
11476 (build_syscolor_string): Use mswindows_color_to_string to try to
11478 (mswindows_device_system_metrics): Reverse the foreground and
11479 background colors so that they match the documentation.
11481 * objects-msw.c: (mswindows_X_color_map): tweak some values so
11482 they match the default Windows palette.
11483 (mswindows_color_to_string): New function.
11485 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11487 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
11489 2000-02-18 Olivier Galibert <galibert@pobox.com>
11491 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
11492 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
11494 * symbols.c (init_symbols_once_early): Removed obsolete
11495 DATA_SEG_BITS related kludge.
11496 (defvar_magic): Ditto.
11498 * malloc.c: Removed obsolete DATA_SEG_BITS
11500 * mem-limits.h: Ditto.
11502 * Makefile.in.in: Removed obsolete HAVE_SHM
11505 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11507 * device-msw.c (mswindows_delete_device): Free DDE string
11510 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11512 * keymap.c (get_keyelt):
11513 * unexnt.c (unexec):
11514 * vm-limit.c (memory_warnings):
11515 * ntheap.c (recreate_heap):
11516 * ntheap.h (UNINIT_PTR):
11517 * select-msw.c (Fmswindows_get_clipboard):
11518 (Fmswindows_set_clipboard):
11519 * objects-msw.h (MSWINDOWS_BAD_HFONT):
11521 * menubar-msw.c (displayable_menu_item):
11523 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
11524 * sysdep.c (sys_subshell):
11525 * process-nt.c (nt_create_process):
11526 * nt.c (normalize_filename):
11527 (dostounix_filename):
11528 (unixtodos_filename):
11529 * ntproc.c (win32_executable_type):
11530 * ntplay.c (play_sound_data_1):
11532 * editfns.c (get_home_directory):
11533 * event-msw.c (struct winsock_stream):
11534 (mswindows_dde_callback):
11535 * device-msw.c (msprinter_init_device):
11536 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
11538 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
11539 mswindows_clear_toolbar were swapped!
11541 * objects-msw.c:(colormap_t):
11543 * emacs.c (struct standard_args): Fixed const jumble.
11545 * glyphs-widget.c (update_widget): Fixed comparison notation.
11547 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
11549 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
11550 __declspec(noreturn) syntax.
11552 2000-02-19 Martin Buchholz <martin@xemacs.org>
11554 * eldap.c (Fldap_open):
11555 (Fldap_search_basic):
11558 Use new coding system conversion macros.
11560 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11562 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
11564 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
11566 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
11567 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11569 * eldap.c (Qadd, Qreplace): New constant symbols
11570 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
11571 interruptions by XEmacs signals
11572 Remove unnecessary calls to slow_down_interrupts and
11573 speed_up_interrupts
11574 (Fldap_search_basic): Renamed from Fldap_search_internal
11575 Added new optional parameter VERBOSE that triggers the
11576 display of progress messages
11577 Remove unnecessary calls to slow_down_interrupts and
11578 speed_up_interrupts
11579 LDAP result code analysis rewritten
11580 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11581 (syms_of_eldap): Define the new symbols and functions
11584 2000-02-17 Martin Buchholz <martin@xemacs.org>
11586 * realpath.c: Determine PATH_MAX maximally portably.
11588 * insdel.c (bytecount_to_charcount): Optimize.
11589 The function used to be optimized for entirely ASCII sequences.
11590 Now it is optimized for successive characters from the same
11591 charset. This also wins big for _mostly_ ASCII sequences.
11593 * fileio.c (Ffile_truename): convert return from realpath() using
11594 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
11595 - Rewrite GCPROing slightly.
11597 * sysdep.c (sys_open): Do filename conversion, like all other
11598 sys_* functions. Fixes bug:
11599 (let ((file-name-coding-system 'iso-8859-2))
11600 (write-region x y latin2-name))
11601 ==> writes filename using internal encoding.
11603 2000-02-18 Martin Buchholz <martin@xemacs.org>
11605 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
11606 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
11607 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
11608 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
11609 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
11610 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
11611 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
11612 (CONST_IF_NOT_DEBUG): Delete.
11613 * alloc.c (this_one_is_unmarkable): Delete.
11614 (mark_object): Don't check for this_one_is_unmarkable. Use the
11615 c_readonly flag instead.
11616 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
11618 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
11620 * event-msw.c (mswindows_drain_windows_queue):
11621 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
11622 away redundant repaint events.
11624 2000-02-17 Andy Piper <andy@xemacs.org>
11626 * redisplay.h: declare mark_redisplay_structs.
11628 * redisplay.c (redisplay_window):
11629 (redisplay_frame): don't check subwindows_state_changed.
11630 (mark_redisplay): mark gutters here.
11632 * glyphs.c: (instantiate_image_instantiator): always layout if we
11633 haven't done so already.
11634 (allocate_image_instance): don't mark as dirty.
11635 (update_subwindow): bind inhibit_quit.
11637 * gutter.c (mark_gutters): new function.
11639 * glyphs-x.c (x_update_widget): Always resize to get round a
11642 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
11643 breaking absolutely everything.
11645 * gutter.h: declare mark_gutters.
11647 2000-02-16 Martin Buchholz <martin@xemacs.org>
11649 * XEmacs 21.2.29 is released.
11651 2000-02-15 Olivier Galibert <galibert@pobox.com>
11653 * fns.c (size_bit_vector): Fix computation of the size.
11655 2000-02-15 Martin Buchholz <martin@xemacs.org>
11657 * *.[ch]: Change CONST to const globally.
11658 find -name '*.[ch]' | \
11659 xargs global-replace \
11660 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
11661 - Remove vestigial references to CONST_IS_LOSING
11663 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11665 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
11666 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
11667 events instead of dispatching them directly.
11668 (mswindows_handle_paint): New function to do repainting.
11669 (mswindows_wnd_proc):
11670 (emacs_mswindows_handle_magic_event): Call above function.
11672 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11674 * objects-msw.c (mswindows_create_font_variant): Return the new
11676 (initialize_font_instance): Get font metrics from the underlined
11677 variant of the font to cope with the case where the underlined
11678 font has a bigger descent.
11680 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11682 * gui.c (gui_item_accelerator): Return the first underlined
11683 character in item name.
11685 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11687 * lisp.h: Added Qprinter.
11689 * general.c (syms_of_general): Initialized it.
11691 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
11693 (get_frame_compdc): Made inline.
11695 * console.h (struct console_methods): Added eject_page method.
11697 * frame.h: Added FRAME_DISPLAY_P and friends.
11698 Aligned backslahes in many macros in more readable fashion.
11699 Added page_number to struct frame, and an accessor macro
11702 * defice.h: Added DEVICE_DISPLAY_P and friends.
11704 * device.c (Fdevice_printer_p): Used these.
11706 * frame.c (allocate_frame_core): Initialize page number.
11707 (Fprint_job_page_number):
11708 (Fprint_job_eject_page): Implemented.
11710 * frame-msw.c (msprinter_eject_page): Added method.
11711 (msprinter_start_page): Added.
11713 * window.c (Fwindow_truncated_p): Fixed docstring.
11714 (Fwindow_last_line_visible_height): Implemented.
11716 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11718 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
11720 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11722 * syntax.c (scan_words): Always advance at least one character.
11724 2000-02-13 Andy Piper <andy@xemacs.org>
11726 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
11727 to make sure the glyph is in the cachels.
11729 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
11730 global image instance flag.
11731 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
11732 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
11734 * glyphs.c (allocate_image_instance): set dirty bits correctly.
11735 (Fset_image_instance_property): mark layout as changed.
11736 (invalidate_glyph_geometry_maybe): mark layout as changed.
11737 (glyph_width): use new NEEDS_LAYOUT macro.
11738 (glyph_ascent): ditto.
11739 (glyph_descent): ditto.
11740 (glyph_height): ditto.
11741 (image_instance_layout): mark layout as clean after laying out.
11742 (update_subwindow): don't mark layout as clean here.
11744 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
11745 should no longer be needed.
11747 * glyphs-x.c (x_update_widget): sanitize asserts.
11748 (x_finalize_image_instance): sanitize assignment to widgets.
11750 * glyphs-widget.c (widget_instantiate): don't need to clear the
11753 2000-02-13 Martin Buchholz <martin@xemacs.org>
11755 * sysdep.c (getcwd): Use standard prototype.
11756 * sysdep.h (getcwd): Use standard prototype.
11758 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
11759 (sequence, start, end).
11760 Remove redundant type checking.
11761 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
11762 view of `caller-protects') to avoid a crash where the real fix was
11765 2000-02-12 Martin Buchholz <martin@xemacs.org>
11767 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
11769 * s/sol2.h: Remove feature macro initialization.
11771 * alloc.c (alloc_lcrecord): Add more type checking assertions.
11772 (vector_hash): New. Code from internal_hash.
11774 Fix up allocation subsystem comments.
11776 * config.h.in: Add __EXTENSIONS__ for Solaris.
11778 * systime.h (EMACS_GETTIMEOFDAY): New.
11779 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
11780 Remove Solaris-specific code.
11781 Use void* for the (ignored) second arg for gettimeofday().
11783 * elhash.c (hash_table_hash): Implement it, finally.
11784 * elhash.c: Use hashcode_t.
11786 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
11787 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
11789 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
11790 * fns.c (size_bit_vector):
11791 * alloc.c (size_vector):
11792 (make_vector_internal):
11793 (make_bit_vector_internal):
11794 (sweep_bit_vectors_1):
11795 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
11797 2000-02-10 Martin Buchholz <martin@xemacs.org>
11799 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
11800 Include strings.h to avoid warnings for bzero and strcasecmp.
11802 2000-02-10 Olivier Galibert <galibert@pobox.com>
11804 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
11805 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
11807 * fns.c (size_bit_vector): New. Declare bit vectors as a
11810 2000-02-10 Olivier Galibert <galibert@pobox.com>
11812 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
11813 use a value field instead.
11814 (symbol_value_forward_forward): Use value field.
11815 (DEFVAR_SYMVAL_FWD): Use value field.
11816 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
11817 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
11818 (DEFVAR_CONST_INT): Ditto.
11819 (DEFVAR_BOOL): Ditto.
11820 (DEFVAR_CONST_BOOL): Ditto.
11821 (DEFVAR_INT_MAGIC): Ditto.
11822 (DEFVAR_BOOL_MAGIC): Ditto.
11824 * symbols.c (guts_of_unbound_marker): Use value field.
11825 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
11826 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
11828 * lisp.h: Declare dumpopaque and noninteractive1.
11830 * alloc.c (dumpopaque): Added.
11831 (pdump_dump_opaquevec): Added.
11832 (pdump): Call pdump_dump_opaquevec to dump opaque data.
11833 (pdump_load): Reload opaque data. Sync noninteractive1 with
11836 2000-02-10 Andy Piper <andy@xemacs.org>
11838 * glyphs.c (image_instance_layout): if the size changes, mark it
11841 * redisplay-output.c (redisplay_output_layout): Update the
11843 (redisplay_output_subwindow): ditto.
11845 * glyphs.c (update_subwindow): make sure we reset flags for
11846 layouts as well as everything else.
11848 * glyphs-widget.c (layout_layout): don't need to set the instances
11851 2000-02-09 Martin Buchholz <martin@xemacs.org>
11853 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
11854 not HAVE_DLOPEN, which is a lower-level thing.
11856 * .cvsignore: Ignore gmon.out
11858 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
11860 * .cvsignore: Ignore portable dumper xemacs.dmp file
11862 2000-02-09 Andy Piper <andy@xemacs.org>
11864 * redisplay-output.c (redisplay_output_layout): be more clever
11865 about when we output based on the changed flags.
11867 * glyphs.h (struct image_instantiator_methods): add update_method.
11868 (struct Lisp_Image_Instance): add changed flags. Declare new
11869 macros for manipulating them.
11871 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
11872 (image_instance_parent_glyph): find an image_instance's parent
11873 glyph or image_instance.
11874 (image_instance_layout): mark the size as changed.
11875 (set_image_instance_dirty_p): new function. mark an image
11876 instance, plus all of its parents, as dirty.
11877 (Fset_image_instance_property): use it.
11878 (Fglyph_animated_timeout_handler): use it.
11879 (update_subwindow): call update_widget and device methods for
11880 update_subwindow. Mark all changed flags as clean.
11881 (Fresize_subwindow): mark size as changed.
11883 * glyphs-x.c (x_finalize_image_instance): try and detect gc
11885 (x_update_subwindow): only resize subwindows here.
11886 (x_update_widget): new function. Update all changed properties of
11888 (x_resize_subwindow): deleted.
11889 (x_widget_set_property): deleted.
11890 (x_progress_gauge_set_property): deleted.
11891 (x_progress_gauge_update): new function. Implement recorded
11893 (x_tab_control_update): ditto.
11894 (x_tab_control_set_property): deleted.
11895 (console_type_create_glyphs_x): declare new functions.
11896 (image_instantiator_format_create_glyphs_x): ditto.
11898 * glyphs-widget.c (widget_set_property): mark text changed.
11899 (update_widget): new function. Update properties of a widget.
11900 (widget_instantiate): for layouts make sure we set their
11901 children's parent correctly.
11902 (tab_control_set_property): new function. Record changes that will
11903 take place under redisplay's control.
11904 (progress_gauge_set_property): ditto.
11905 (image_instantiator_progress_guage): declare new functions.
11906 (image_instantiator_tab_control): ditto.
11908 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
11910 (mswindows_update_widget): new function. Update all properties on
11911 a widget that have changed.
11912 (mswindows_button_update): new function. Update a button's set
11914 (mswindows_tab_control_update): new function. Update the items in
11916 (mswindows_tab_control_set_property): deleted.
11917 (mswindows_progress_gauge_update): new function. Update the
11918 progress gauge's progress.
11919 (mswindows_widget_set_property): deleted. This is all done
11920 asynchronously now.
11921 (mswindows_progress_gauge_set_property): ditto.
11922 (console_type_create_glyphs_mswindows): declare new methods.
11923 (image_instantiator_format_create_glyphs_mswindows): ditto.
11925 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
11926 (msprinter_set_frame_properties): ditto.
11928 * console.h (struct console_methods): Add update_widget_method.
11930 2000-02-09 Andy Piper <andy@xemacs.org>
11932 * gui-msw.c (Fmswindows_shell_execute): Make
11933 mswindows-shell-execute industrial strength.
11935 2000-02-08 Martin Buchholz <martin@xemacs.org>
11937 * lrecord.h: Make macro argument `props' match member function `plist'.
11940 * fns.c (Fremprop):
11941 * fns.c (Fobject_plist):
11944 Object property list frobbing cleanup.
11945 - Allow any lisp object (compared with `eq'), not just symbols, as
11946 keys in object plists.
11947 - Move symbol plist frobbing into symbols.c, where it belongs.
11948 - Move string plist frobbing into alloc.c, where it belongs.
11949 - Everything's an lrecord now, so no need to test for symbolp, etc.
11950 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
11952 * extents.c: Reorder code to remove declarations.
11954 * frame.h (store_in_alist): Remove useless declaration.
11956 2000-02-07 Martin Buchholz <martin@xemacs.org>
11958 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
11959 * config.h.in: Add HAVE_XCONVERTCASE.
11961 2000-02-07 Andy Piper <andy@xemacs.org>
11963 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
11964 it breaks many things.
11966 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11968 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
11969 actually can start a common comment type.
11970 * src/syntax.h (SYNTAX_END_P): ditto for end.
11972 2000-02-07 Martin Buchholz <martin@xemacs.org>
11974 * XEmacs 21.2.28 is released.
11976 2000-02-06 Martin Buchholz <martin@xemacs.org>
11978 * event-Xt.c (x_keysym_to_character): New.
11979 (maybe_define_x_key_as_self_inserting_character): New.
11980 (x_has_keysym): New.
11981 Auto-define all keys on the keyboard as self-insert-key.
11983 2000-02-02 Martin Buchholz <martin@xemacs.org>
11985 * menubar.c (vars_of_menubar): A small code simplification.
11987 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
11990 * ExternalClient.c:
11991 * EmacsShell-sub.c:
11994 Use consistent style for specifying X resources.
11996 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
11997 This makes (dontusethis-set-symbol-value-handler) actually usable.
11999 * lrecord.h (lrecord_decription_type):
12000 * alloc.c (pdump_register_sub):
12003 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
12004 Comply with XEmacs coding style.
12005 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
12006 args, and XD_LISP_OBJECT_ARRAY with 3 args.
12008 * keymap.c (Faccessible_keymaps):
12009 Make (accessible-keymaps map "\C-h") do the Right Thing.
12010 Make (accessible-keymaps map []) do the Right Thing.
12011 Make (accessible-keymaps map "") do the Right Thing.
12012 (check_keymap_definition_loop): New function.
12013 (keymap_store_internal): Keep luser from shooting self in foot,
12014 via (define-key ctl-x-4-map "p" global-map).
12015 Remove fullness slot from struct Lisp_Keymap, since hash tables
12017 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
12019 2000-01-30 Martin Buchholz <martin@xemacs.org>
12021 * redisplay.c (init_redisplay): Fix small memory leak.
12023 * elhash.c (pdump_reorganize_hash_table):
12024 Rename from reorganize_hash_table. Change prototype.
12025 Reuse the original memory for hentries. Save 100k.
12026 * alloc.c (PDUMP_READ): new macro.
12027 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
12028 * alloc.c: No need to #ifndef before #undef.
12030 * print.c: Allow debug_print() to print readably by modifying
12031 debug_print_readably. Use consistent variable names.
12033 * .dbxrc: Try to get things to work even if stopped in a function
12034 without source available by explicitly specifying source files.
12035 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12037 * unexnt.c (_start): Removed bogus code which caused loading heap
12038 from differrent executable file.
12039 Removed bogus assignment to _fmode, which caused inconsistencies.
12041 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12043 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
12044 Have spawnve encapsulation regard DONT_ENCAPSULATE.
12045 Do not preliminary `#define signal sigset'.
12047 * systime.h: Do not prototype environ on windows nt and cygwin,
12048 this conflicts with system header.
12050 * syssignal.h: Use correct define for WINDOWSNT
12052 * sysdep.h: Do not prototype environ on windows nt, this conflicts
12053 with system header.
12055 * sysdep.c (near start of file): Fixed commentary and rearranged
12056 ifdefs in readable order.
12057 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
12060 (end_of_data): Do not compile in if using PDUMP.
12062 * symsinit.h: Prototyped vars_of_nt().
12064 * ntproc.c (windows9x_p): Added, instead of os_subtype.
12065 (find_child_console): Use it.
12066 (sys_kill): Use it.
12068 * ntheap.h: Do not extern os_subtype.
12070 * ntheap.c (cache_system_info): Do not cache unneeded:
12071 nt_major_version, nt_minor_version and os_subtype.
12072 (recreate_heap): Do not compile in when PDUMPing.
12074 * nt.c (geteuid and friends): Use the new varibale
12075 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
12076 (init_user_info): Removed the above mentioned hackery.
12077 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
12078 stat has been fixed in the C runtime.
12079 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
12081 * file-coding.c (struct file_coding_dump): Do not define
12082 ucs_to_mule_table in the struct if not MULE.
12083 (struct struct lrecord_description fcd_description_1): Do not dump
12086 * emacs.c (main_1): Call vars_of_nt().
12087 (right before Fdump_emacs_data): Don't need lastfile if using both
12088 portabe dumper and system malloc.
12090 * alloc.c (Fmemory_limit): Conditionalized out.
12091 (pdump): Use OPEN_BINARY for the portable dump file.
12092 (pdump_load): Ditto.
12094 2000-02-02 Mike Alexander <mta@arbortext.com>
12096 * nt.c (convert_time): Set tm_isdst before calling mktime and
12097 avoid calling it at all if the compiler supports 64 bit integers.
12098 Also initialize utc_base_ft before using it.
12100 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
12102 * frame.c (change_frame_size_1): Take f->internal_border_width
12103 into consideration when calculating the width of the frame.
12105 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12107 * window.c (frame_min_height):
12108 (frame_size_valid_p):
12109 (frame_pixsize_valid_p): Added.
12110 (check_frame_size): Generalized.
12112 * window.h: Prototyped the above.
12115 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
12116 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
12117 Deleted Vwin32_* and Vbinary_process_* unused variables.
12119 * device-msw.c (msprinter_init_device): Do not get printer font
12120 list; Added DEVMODE functions.
12122 * frame-msw.c: Added lots of printer code.
12124 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
12127 * console-msw.h: Added more msprinter device private slots.
12129 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12131 * event-msw.c (key_needs_default_processing_p): Added.
12132 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
12134 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12136 * glyphs.c (image_instance_layout): Mark image instance as clean
12138 (glyph_dirty_p): Removed redundant function.
12139 (invalidate_glyph_geometry_maybe): Added.
12140 (update_glyph_cachel_data): Call it.
12142 * glyphs.h: Prototyped it.
12144 * redisplay.c (add_glyph_rune): Call it.
12145 (redisplay_window): Reset glyphs cachels when frame faces have
12146 changed, thus forcing recomputation of built-in border glyphs.
12148 2000-01-30 Martin Buchholz <martin@xemacs.org>
12150 * Makefile.in.in: Make portable dumper and purify play well together.
12151 Add imperfect, but better than nothing, support for pdump.
12152 Remove xemacs.dmp when temacs is re-generated.
12153 Don't ignore errors when dumping xemacs.
12155 * symbols.c (maybe_call_magic_handler): Remove one magic number.
12157 2000-01-28 Andy Piper <andy@xemacs.org>
12159 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
12160 (setup_normal_frame): ditto.
12161 (setup_frame_without_minibuffer): ditto.
12162 (setup_minibuffer_frame): ditto.
12163 (delete_frame_internal): ditto.
12164 (Fmake_frame_invisible): ditto.
12165 (Ficonify_frame): ditto.
12167 * window.h: change Fset_window_buffer signature.
12169 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
12170 (Fset_window_buffer): allow recording of buffer if the window is
12171 the selected window.
12172 (window_loop): Use new Fset_window signature.
12174 2000-01-23 Daniel Pittman <daniel@danann.net>
12176 * config.h.in: Added template for `HAVE_ATHENA_3D'
12178 2000-01-29 Andy Piper <andy@xemacs.org>
12180 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
12182 * gutter.c (output_gutter): Don't output if the window isn't live.
12184 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12186 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
12187 of 01/12/00: Moved SetFocus back here where it belongs.
12189 2000-01-23 Andy Piper <andy@xemacs.org>
12191 * s/cygwin32.h: declare printer things.
12193 2000-01-26 Andy Piper <andy@xemacs.org>
12195 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
12198 2000-01-24 Andy Piper <andy@xemacs.org>
12200 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
12201 (mswindows_button_instantiate): Make sure glyph is a pixmap.
12203 * glyphs-widget.c (widget_instantiate): Avoid shadows.
12205 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
12207 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
12209 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
12210 (mswindows_output_display_block): Avoid local shadows.
12212 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
12213 (mswindows_enqueue_mouse_button_event): ditto.
12214 (mswindows_handle_gui_wm_command): remove declaration.
12216 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
12219 * console-msw.h: Avoid shadows.
12220 (mswindows_get_toolbar_button_text):
12221 (emacs_mswindows_create_stream_pair):
12222 (emacs_mswindows_delete_stream_pair):
12223 (mswindows_handle_toolbar_wm_command): declare.
12225 * device-msw.c (build_syscolor_string): Avoid shadows.
12227 2000-01-23 Andy Piper <andy@xemacs.org>
12229 * glyphs-widget.c (widget_instantiate): reverse the items for
12230 layouts so that children are in the expected order.
12232 2000-01-28 Martin Buchholz <martin@xemacs.org>
12234 * ralloc.c: safe_bcopy ==> memmove
12235 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
12236 * s/msdos.h: Remove BCOPY macros.
12237 * insdel.c (gap_right): Remove BCOPY conditional code.
12238 * insdel.c (gap_left): Remove BCOPY conditional code.
12239 XEmacs demands a working ANSI C compiler - hence memmove.
12241 * regex.c (regex_compile): Remove accidental use of trigraphs.
12243 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12245 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
12248 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12250 * event-msw.c (mswindows_drain_windows_queue): Added the
12252 (mswindows_need_event): Commented the call to
12253 mswindows_drain_windows_queue().
12254 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
12257 * console-msw.h: Moved a few function prototypes here from
12260 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
12261 parameter from unsigned short to unsigned long.
12262 (Fmswindows_shell_execute): Added return value.
12264 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12266 * sysdep.c (init_system_name):
12267 process-unix.c (unix_canonicalized_host_name):
12268 Don't call freeaddrinfo() if getaddrinfo() fails.
12270 * process-unix.c (unix_open_unix_network_stream):
12271 Moved the code to get a port # into address loop.
12273 2000-01-27 Martin Buchholz <martin@xemacs.org>
12275 * buffer.c (reinit_vars_of_buffer):
12276 The right place to initialize conversion_in_dynarr and
12277 conversion_out_dynarr.
12279 * alloc.c (pdump): Use the real open() till sys_open() is functional.
12281 * process-unix.c (unix_canonicalize_host_name): Muleize.
12282 (unix_open_network_stream): Muleize.
12284 * buffer.h: Fix up prototypes for ralloc.c functions.
12286 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12287 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
12288 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
12289 instead of gethostbyname()
12290 * process-unix.c: In unix_canonicalize_host_name() and
12291 unix_open_network_stream(), add code to use getaddrinfo()
12292 instead of gethostbyname().
12294 2000-01-27 Daniel Pittman <daniel@danann.net>
12296 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
12297 libs when built with flat Athena.
12299 2000-01-27 Martin Buchholz <martin@xemacs.org>
12301 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
12302 Use coding standards for function prototypes.
12304 2000-01-25 Martin Buchholz <martin@xemacs.org>
12306 * dialog-msw.c (push_lisp_string_as_unicode):
12307 * doc.c (unparesseuxify_doc_string):
12308 * dired.c (Fuser_name_completion_1):
12309 * dired.c (Fuser_name_all_completions):
12310 * dired.c (free_user_cache):
12311 * dired.c (user_name_completion):
12312 * console-x.c (get_display_arg_connection):
12313 * minibuf.c (clear_echo_area_internal):
12314 * minibuf.c (echo_area_append):
12315 * eldap.c (Fldap_open):
12316 * eldap.c (Fldap_search_internal):
12317 * frame-x.c (x_set_frame_text_value):
12318 * frame-x.c (x_set_frame_properties):
12319 * frame-x.c (x_create_widgets):
12320 * redisplay-tty.c (term_get_fkeys_1):
12321 * objects-x.c (x_parse_nearest_color):
12322 * objects-x.c (x_valid_color_name_p):
12323 * objects-x.c (x_initialize_font_instance):
12324 * objects-x.c (x_list_fonts):
12325 * objects-x.c (x_find_charset_font):
12326 * tooltalk.c (Fadd_tooltalk_message_arg):
12327 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12328 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12329 * process-unix.c (unix_create_process):
12330 * ntproc.c (sys_spawnve):
12331 * sound.c (Fplay_sound_file):
12332 * sound.c (Fplay_sound):
12333 * buffer.c (init_initial_directory):
12334 * buffer.c (init_buffer):
12335 * editfns.c (init_editfns):
12336 * editfns.c (Ftemp_directory):
12337 * editfns.c (Fuser_full_name):
12338 * editfns.c (uncache_home_directory):
12339 * editfns.c (get_home_directory):
12340 * editfns.c (Fuser_home_directory):
12341 * editfns.c (Fformat_time_string):
12342 * editfns.c (Fcurrent_time_string):
12343 * gui-x.c (button_item_to_widget_value):
12344 * database.c (Fopen_database):
12345 * event-Xt.c (x_to_emacs_keysym):
12346 * event-Xt.c (x_event_to_emacs_event):
12347 * event-Xt.c (describe_event_window):
12348 * event-msw.c (mswindows_wnd_proc):
12349 * glyphs-eimage.c (jpeg_instantiate):
12350 * glyphs-eimage.c (gif_instantiate):
12351 * glyphs-eimage.c (png_instantiate):
12352 * glyphs-eimage.c (tiff_instantiate):
12353 * glyphs-x.c (xbm_instantiate_1):
12354 * glyphs-x.c (x_xbm_instantiate):
12355 * glyphs-x.c (x_xface_instantiate):
12356 * glyphs-x.c (autodetect_instantiate):
12357 * glyphs-x.c (cursor_font_instantiate):
12358 * glyphs-x.c (x_widget_instantiate):
12359 * glyphs-x.c (x_widget_set_property):
12360 * glyphs-x.c (x_widget_property):
12361 * glyphs-x.c (BUILD_GLYPH_INST):
12362 * print.c (write_string_to_stdio_stream):
12363 * print.c (output_string):
12364 * print.c (Falternate_debugging_output):
12365 * print.c (Fexternal_debugging_output):
12366 * glyphs-msw.c (extract_xpm_color_names):
12367 * glyphs-msw.c (mswindows_xpm_instantiate):
12368 * glyphs-msw.c (bmp_instantiate):
12369 * glyphs-msw.c (resource_name_to_resource):
12370 * glyphs-msw.c (mswindows_resource_instantiate):
12371 * glyphs-msw.c (xbm_instantiate_1):
12372 * glyphs-msw.c (mswindows_xbm_instantiate):
12373 * glyphs-msw.c (mswindows_xface_instantiate):
12374 * glyphs-msw.c (mswindows_widget_instantiate):
12375 * glyphs-msw.c (add_tree_item):
12376 * glyphs-msw.c (add_tab_item):
12377 * glyphs-msw.c (mswindows_combo_box_instantiate):
12378 * glyphs-msw.c (mswindows_widget_property):
12379 * glyphs-msw.c (mswindows_combo_box_property):
12380 * glyphs-msw.c (mswindows_widget_set_property):
12381 * console.c (stuff_buffered_input):
12382 * objects-msw.c (mswindows_initialize_color_instance):
12383 * objects-msw.c (mswindows_valid_color_name_p):
12384 * objects-msw.c (mswindows_list_fonts):
12385 * objects-msw.c (mswindows_font_instance_truename):
12386 * bytecode.c (optimize_compiled_function):
12387 * select-x.c (symbol_to_x_atom):
12388 * select-x.c (x_atom_to_symbol):
12389 * select-x.c (hack_motif_clipboard_selection):
12390 * select-x.c (selection_data_to_lisp_data):
12391 * select-x.c (lisp_data_to_selection_data):
12392 * select-x.c (Fx_get_cutbuffer_internal):
12393 * select-x.c (Fx_store_cutbuffer_internal):
12394 * buffer.h (TO_EXTERNAL_FORMAT): New function.
12395 * buffer.h (TO_INTERNAL_FORMAT): New function.
12396 * emacs.c (make_arg_list_1):
12397 * emacs.c (make_argc_argv):
12398 * emacs.c (main_1):
12399 * emacs.c (Fdump_emacs):
12400 * emacs.c (split_string_by_emchar_1):
12405 * device-x.c (x_init_device):
12406 * device-x.c (Fx_valid_keysym_name_p):
12407 * device-x.c (Fx_get_font_path):
12408 * device-x.c (Fx_set_font_path):
12409 * glyphs.c (bitmap_to_lisp_data):
12410 * glyphs.c (pixmap_to_lisp_data):
12411 * alloc.c (make_ext_string): Use coding system arguments. Update
12413 * alloc.c (build_string):
12414 * callproc.c (child_setup):
12415 * callproc.c (init_callproc):
12416 * fileio.c (lisp_strerror):
12417 * fileio.c (directory_file_name):
12418 * fileio.c (Fexpand_file_name):
12419 * fileio.c (Ffile_truename):
12420 * fileio.c (Fsysnetunam):
12421 * fileio.c (Fdo_auto_save):
12422 * sysdep.c (sys_readdir):
12423 * tests.c: New file. Allow adding C tests.
12424 Replace GET_* macros with a more comprehensible and flexible
12425 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
12427 Any coding system can be used to do format conversion.
12428 Eliminate enum external_data_format.
12429 Eliminate convert_to_external_format.
12430 Eliminate convert_to_internal_format.
12431 Make sure file-name, keyboard, terminal, and ctext are always
12432 defined as coding systems or aliases. Make
12433 file-name-coding-system, terminal-coding-system, and
12434 keyboard-coding-system magical variables that are equivalent to
12435 defining the corresponding coding system aliases.
12437 * file-coding.c (Fcoding_system_canonical_name_p): New function.
12438 * file-coding.c (Fcoding_system_alias_p): New function.
12439 * file-coding.c (Fcoding_system_aliasee): New function.
12440 * file-coding.c (append_suffix_to_symbol): New function.
12441 * file-coding.c (dangling_coding_system_alias_p): New function.
12442 * file-coding.c (Ffind_coding_system):
12443 * file-coding.c (Fcopy_coding_system):
12444 * file-coding.c (encode_coding_no_conversion):
12445 * file-coding.c (syms_of_file_coding):
12446 * file-coding.c (vars_of_file_coding):
12447 Rewrite coding system alias code.
12448 Allow nested aliases, like symbolic links.
12449 Allow redefinition of coding system aliases.
12450 Prevent existence of dangling coding system aliases.
12452 * dired.c (Fuser_name_completion_1):
12453 * dired.c (Fuser_name_all_completions):
12454 A crash would happen if user did QUIT in the middle of building
12455 user_name_cache. Remove redundant code in mainline and unwind_protect.
12458 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
12460 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
12461 an unsigned char *. Update all callers.
12463 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12465 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
12467 2000-01-25 Martin Buchholz <martin@xemacs.org>
12469 * elhash.c (hentry_description): Use more portable definition.
12470 (resize_hash_table): Initialize new hentries using
12471 xnew_array_and_zero, thereby simplifying the code.
12473 * mule-charset.c (make_charset): Make sure entire object is
12474 initialized, to avoid Purify warnings.
12476 * alloc.c (resize_string): Fix unlikely crash with big strings.
12478 2000-01-24 Martin Buchholz <martin@xemacs.org>
12480 * realpath.c (xrealpath):
12481 Don't call getwd().
12483 2000-01-25 Martin Buchholz <martin@xemacs.org>
12485 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
12487 1999-12-28 Max Matveev <max@melbourne.sgi.com>
12489 * unexelfsgi.c (unexec): Change the way we decide which segment
12490 should be extended.
12492 Assumption that .bss section should be outside the PT_LOADable
12493 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
12494 it's present) is inside the 'data' segment. This would fail the
12495 test which was used to find a segment to grow and cover new
12496 heap. Instead of this assumption, I created another one - on IRIX
12497 the segment to grow should start below .bss and it's address
12498 should extent above the end of .bss. Once this segment is
12499 identified, it's grown to accommodate the new heap and new
12500 zero-length .bss section is added at the end of .data2.
12502 2000-01-25 Martin Buchholz <martin@xemacs.org>
12504 * eval.c (Feval): Wrong number of arguments should use original
12505 function, not the indirect_function version of it.
12507 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12509 * glyphs-x.c (x_button_instantiate): Don't add image if
12510 it is not a pixmap.
12511 (x_locate_pixmap_file): Call Fexpand_file_name when file name
12514 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
12516 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
12518 (DEFVAR_INT_MAGIC): Ditto.
12519 (DEFVAR_BOOL_MAGIC): Ditto.
12520 * glyphs.h: Reindent backslash.
12522 2000-01-24 Martin Buchholz <martin@xemacs.org>
12524 * glyphs-widget.c (layout_query_geometry):
12525 (layout_layout): Use correct types for gheight, gwidth.
12527 2000-01-24 Martin Buchholz <martin@xemacs.org>
12529 * EmacsManager.c (QueryGeometry): Purified.
12531 2000-01-23 Martin Buchholz <martin@xemacs.org>
12533 * alloc.c (make_float): Make sure entire object is initialized, to
12534 avoid Purify warnings.
12535 (pdump_register_sub): Remove useless assignment.
12536 (pdump): Use xmalloc, not malloc.
12537 (pdump_load): Use xmalloc, not malloc.
12539 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12546 * sysdep.c: Removed redundant #include <windows.h>
12548 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12550 * frame.c (delete_frame_internal): Do not delete device when its
12551 implementation so declares.
12552 (delete_frame_internal): Set device selected frame to nil when
12553 last frame goes away.
12555 * device-msw.c (msprinter_device_system_metrics): Implemented.
12556 (mswindows_device_system_metrics): Added 'device-dpi property.
12558 * device.c: (Fdevice_printer_p): Added.
12559 Added 'offset-workspace device metric.
12561 * console.h (device_metrics): Declared DM_offset_workspace.
12563 2000-01-23 Martin Buchholz <martin@xemacs.org>
12565 * fileio.c (Ffile_truename): Remove pointless and confusing
12566 initialization of elen.
12568 * glyphs-widget.c: Compiler warning fixes.
12570 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
12572 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
12573 instead of a Lisp_Object as argument to make it consistent with
12574 the other LIVE_P macros.
12575 (CHECK_LIVE_PROCESS): New macro.
12577 * process.c: Declare Qprocess_live_p.
12578 (Fprocess_live_p): New function.
12579 (create_process): Use PROCESS_LIVE_P.
12580 (read_process_output): Ditto.
12581 (set_process_filter): Ditto.
12582 (Fdelete_process): Ditto.
12583 (kill_buffer_processes): Ditto
12584 (process_send_signal): Use CHECK_LIVE_PROCESS.
12585 (Fprocess_input_coding_system): Check whether process is still
12586 alive (fix PR#1061).
12587 (Fprocess_output_coding_system): Ditto.
12588 (Fprocess_coding_system): Ditto.
12589 (Fset_process_input_coding_system): Ditto.
12590 (Fset_process_output_coding_system): Ditto.
12592 2000-01-23 Andy Piper <andy@xemacs.org>
12594 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
12597 * glyphs.c (mark_image_instance): take into account changed
12598 image_instance format.
12599 (image_instance_equal): ditto.
12600 (image_instance_hash): ditto.
12602 * glyphs-widget.c (widget_instantiate): Incorporate layout
12603 instantiation here. Delay layout of the layout until later.
12604 (layout_instantiate): deleted.
12605 (layout_query_geometry): new function. get the geometry of a
12607 (layout_layout): layout a layout dynamically.
12608 (image_instantiator_widget): New function - splitting up
12609 image_instantiator_format_create_glyphs_widget for netwinder
12611 (image_instantiator_buttons):
12612 (image_instantiator_edit_fields):
12613 (image_instantiator_combo_box):
12614 (image_instantiator_scrollbar):
12615 (image_instantiator_progress_guage):
12616 (image_instantiator_tree_view):
12617 (image_instantiator_tab_control):
12618 (image_instantiator_labels):
12619 (image_instantiator_layout): ditto.
12620 (image_instantiator_format_create_glyphs_widget): Call preceding
12623 2000-01-22 Martin Buchholz <martin@xemacs.org>
12625 * process.c (Fset_process_coding_system):
12626 * device-x.c (Fx_keysym_hash_table):
12629 * lstream.c (Lstream_write): Return documented value, not 0.
12631 * fileio.c (directory_file_name):
12632 (Fsubstitute_in_file_name):
12633 (Fsubstitute_insert_file_contents_internal):
12634 (Fwrite_region_internal):
12639 Remove vestigial APOLLO-conditional code.
12641 2000-01-21 Martin Buchholz <martin@xemacs.org>
12643 * getpagesize.h: Add guard macros.
12644 * libsst.h: Add guard macros.
12645 * libst.h: Add guard macros.
12646 * line-number.h: Add guard macros.
12647 * ndir.h: Add guard macros.
12648 * sysfloat.h: Add guard macros.
12649 * sysfile.h: Add guard macros.
12650 * sysproc.h: Add guard macros.
12651 * syswait.h: Add guard macros.
12652 * xintrinsic.h: Add guard macros.
12653 * xintrinsicp.h: Add guard macros.
12654 * xmmanager.h: Add guard macros.
12655 * xmmanagerp.h: Add guard macros.
12656 * xmprimitive.h: Add guard macros.
12657 * xmu.h: Add guard macros.
12658 * gpmevent.h: Add copyright statement. Add guard macros.
12659 * miscplay.h: Add guard macros.
12660 * *.h: Use consistent C-standards-approved guard macro names.
12662 * opaque.c (make_opaque): Switch parameter order.
12663 * opaque.h (make_opaque): Switch parameter order.
12664 Update all callers.
12665 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
12667 * config.h.in (type_checking_assert): Added.
12668 (bufpos_checking_assert): Added.
12670 2000-01-21 Martin Buchholz <martin@xemacs.org>
12672 * alloc.c: Harmless pdump changes.
12674 - spell alignment correctly.
12675 * sysdep.c: Use countof()
12677 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12679 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
12680 initially_selected_for_input() console method, default to 0.
12681 (semi_canonicalize_console_connection): Try to delegate to
12682 canonicalize_console_connection if no such console method.
12683 (canonicalize_console_connection): Vice versa.
12684 (print_console): Do not print nil connection.
12686 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
12687 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
12688 (XDEVIMPF_FRAMELESS_OK): Added.
12689 (CONSOLE_INHERITS_METHOD): Added.
12691 * console-msw.c (mswindows_canonicalize_console_connection):
12693 (mswindows_canonicalize_device_connection): Added.
12695 * console-msw.h (struct msprinter_device): Added this struct and
12697 (mswindows_device): Made fontlist a lisp object.
12699 * device.c (semi_canonicalize_device_connection): Try to delegate
12700 to canonicalize_device_connection if no such console method.
12701 (canonicalize_device_connection): Vice versa.
12702 (print_device): Do not print nil connection.
12704 * device-msw.c (mswindows_init_device): Call InitCommonControls
12706 (mswindows_delete_device): Removed fontlist deallocation.
12707 (mswindows_mark_device): Added.
12709 * events.c (event_equal): Added abort() at unreached code.
12710 (event_hash): Ditto.
12712 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
12713 fallback tags of Windows devices.
12715 * general.c (syms_of_general): Initialized Qmsprinter.
12717 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
12718 of fallback tags of Windows devices.
12720 * lisp.h: Declared Qmsprinter.
12722 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
12724 (mswindows_list_fonts): Ditto.
12725 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
12726 that it can be used by both mswindows and msprinter devices.
12727 (initialize_font_instance): Added.
12728 (mswindows_initialize_font_instance): Use it.
12729 (msprinter_initialize_font_instance): Added.
12731 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
12732 and implementation flags check.
12733 (redisplay_without_hooks): Changed the call to the above.
12734 (Fredraw_device): Ditto.
12735 (Fredisplay_device): Ditto.
12737 * redisplay-msw.c (get_frame_dc): Implemented.
12738 (get_frame_compdc): Implemented.
12739 (many functions): Use the two functions above to get device
12740 contexts, ether for a window or a printer.
12742 2000-01-21 Olivier Galibert <galibert@pobox.com>
12744 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
12745 initialization here.
12746 (init_symbols_once_early): Call it.
12747 * emacs.c (main_1): Call it.
12748 * symsinit.h: Declare it.
12750 2000-01-19 Olivier Galibert <galibert@pobox.com>
12752 * alloc.c: Use a lrecord_header * in the backtrace instead of a
12754 (pdump_backtrace): Ditto.
12755 (pdump_register_object): Ditto. Cleanup use of the pointers.
12756 (pdump_get_entry): Abort if trying to register a null pointer.
12757 (pdump_dump_data): Cleanup types when relocating.
12758 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
12759 (pdump_dump_rtables): Remove bad casts.
12760 (pdump_load): Cleanup relocation w.r.t union type. Use a
12761 Lisp_Object instead of a EMACS_INT for the hashtable
12764 2000-01-20 Martin Buchholz <martin@xemacs.org>
12766 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
12768 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
12770 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
12772 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
12774 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12776 * faces.h (FACE_STRIKETHRU_P): Added.
12778 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
12781 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
12782 (mswindows_set_dc_font): New function, aware of font variants,
12783 separated from mswindows_update_dc.
12785 * objects-msw.h (struct mswindows_font_instance_data): Added
12788 * objects-msw.c (mswindows_finalize_font_instance): Delete all
12789 cached fonts and the data structure.
12790 (mswindows_initialize_font_instance): Added creation of font data
12792 (mswindows_print_font_instance): Print at least something.
12793 (mswindows_create_font_variant): Implemented.
12794 (mswindows_get_hfont): Implemented.
12796 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
12798 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
12799 prototyping problem with msvc.
12801 * emacs.c (main_1): added syms_of_gui_mswindows() call
12803 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
12804 syms_of_gui_mswindows() function
12806 * symsinit.h: added the prototype for syms_of_gui_mswindows()
12808 2000-01-18 Martin Buchholz <martin@xemacs.org>
12810 * XEmacs 21.2.27 is released.
12812 2000-01-18 Martin Buchholz <martin@xemacs.org>
12814 * glyphs-eimage.c (struct tiff_error_struct):
12816 (tiff_warning_func):
12817 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
12822 * unexec.c: Remove vestigial Lucid C code.
12826 * libsst.c: Ansify.
12827 Remove declarations of errno and strerror().
12829 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
12831 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
12833 2000-01-16 Martin Buchholz <martin@xemacs.org>
12835 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
12838 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12843 Change enum eol_type to eol_type_t.
12845 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12847 * gui.c (get_gui_callback): Check cons before accessing car.
12849 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12851 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
12852 (XSETSPECIFIER_TYPE): Ditto.
12854 2000-01-17 Didier Verna <didier@xemacs.org>
12856 * redisplay.c (generate_fstring_runes): compute string size in
12857 characters, not bytes.
12859 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12861 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
12863 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
12865 * print.c (print_error_message): Call print_prepare().
12867 2000-01-14 Martin Buchholz <martin@xemacs.org>
12869 * .dbxrc: Renamed from dbxrc.
12871 * events.c (event_to_character):
12872 Use `assert (foo)' instead of `if (!foo) abort()'
12874 * .gdbinit (xtype): Add documentation.
12875 * .gdbinit (check-temacs): New function.
12876 * .gdbinit (check-xemacs): New function.
12877 * dbxrc (check-xemacs): New function.
12878 * dbxrc (check-xemacs): New function.
12880 2000-01-14 Andy Piper <andy@xemacs.org>
12882 * glyphs-widget.c (widget_query_geometry): Make sure that we
12883 calculate default dimensions correctly.
12885 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12887 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
12889 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
12890 pdump_wire'd variable.
12892 * emacs.c: (main_1): Conditionalized calls to
12893 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
12895 2000-01-13 Martin Buchholz <martin@xemacs.org>
12897 * window.c (Fset_window_configuration):
12898 * sysdep.c (_start):
12899 * input-method-motif.c (res):
12900 * event-Xt.c (Xt_process_to_emacs_event):
12901 Simple compiler warning fixes.
12903 * bytecode.c (funcall_compiled_function): Use the original
12904 function symbol on the backtrace list in preference to the
12905 compiled_function object in error messages.
12907 2000-01-13 Andy Piper <andy@xemacs.org>
12909 * glyphs-x.c (update_widget_face): Make sure we update the widget
12910 background as well as foreground.
12912 2000-01-13 Andy Piper <andy@xemacs.org>
12914 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
12915 fields to subwindow.
12916 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
12917 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
12918 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12919 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12921 * glyphs-widget.c (check_valid_tab_orientation): new function.
12922 (initialize_widget_image_instance): zero orientation and
12924 (widget_instantiate): pick up orientation.
12925 (tab_control_query_geometry): return appropriate values for
12928 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
12929 appropriate creation flags for left, right and bottom tabs.
12931 * s/cygwin32.h: add tab definitions.
12933 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12935 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
12936 frame upon hiding a subwindow.
12937 (mswindows_button_instantiate): Changed the push button style to
12939 (mswindows_button_instantiate): Removed button BS_NOTIFY
12941 (mswindows_button_instantiate): Removed redundant check for
12942 a disabled gui item.
12943 (mswindows_button_instantiate): Made use of WS_TABSTOP
12944 consistent: "operable" controls (edit, button, tree, scroll) have
12945 this style, "display-only" ones (static, progress gauge) do
12946 not. This style is currently ignored by XEmacs though. Also,
12947 removed the WS_EX_CONTROLPARENT style - it is not for children,
12948 it is for their parents!
12949 (mswindows_edit_field_instantiate): Ditto.
12950 (mswindows_progress_gauge_instantiate): Ditto.
12951 (mswindows_tree_view_instantiate): Ditto.
12952 (mswindows_tab_control_instantiate): Ditto.
12953 (mswindows_scrollbar_instantiate): Ditto.
12954 (mswindows_combo_box_instantiate): Ditto.
12955 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
12956 style to the "clip" window.
12957 (mswindows_button_instantiate): Removed compilation warning by
12958 equally typing terms of the ?: operator.
12960 2000-01-12 Didier Verna <didier@xemacs.org>
12962 * redisplay.c (generate_fstring_runes): new parameter holding the
12963 last modeline-format extent.
12964 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
12965 extent, fill the glyph block with it.
12966 (generate_fstring_runes): handle these parameters.
12967 (generate_formatted_string_db): ditto.
12969 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
12970 glyphs'extents in the modeline.
12972 1999-01-11 Mike Woolley <mike@bulsara.com>
12974 * ntheap.c: Reduced the reserved heap space from 1Gb down to
12975 256Mb, as a workaround for the non-starting problem many people
12978 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12980 * console-tty.c (Fset_console_tty_output_coding_system):
12981 Force redrawing tty frame.
12983 2000-01-10 Didier Verna <didier@xemacs.org>
12985 * redisplay.c (generate_fstring_runes): fix size computation bug.
12987 2000-01-09 William M. Perry <wmperry@aventail.com>
12989 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
12991 2000-01-09 Andy Piper <andy@xemacs.org>
12993 * glyphs-msw.c: index -> i to avoid shadows.
12994 (xbm_create_bitmap_from_data): make static.
12995 (check_valid_string_or_int): deleted.
12996 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
12998 * glyphs-x.c (x_update_subwindow): remove unused args.
13000 * glyphs.c (glyph_image_instance): return the thing. Don't set the
13001 back pointer - this is done in allocate_image_instance.
13002 (query_string_font): return Qnil to make the compiler happy.
13003 (unmap_subwindow): set to ~0 to make the compiler happy.
13004 (glyph_query_geometry): comment out until used.
13005 (glyph_layout): ditto.
13007 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
13009 * insdel.c (signal_after_change): Remove extraneous unbind_to().