1 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
5 * mule-charset.c (Vcharset_ucs_jis): Deleted.
7 (syms_of_mule_charset): Delete `ucs-jis'.
8 (complex_vars_of_mule_charset): Likewise.
10 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
12 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
14 * mule-charset.c (Vcharset_ucs_ks): Deleted.
16 (syms_of_mule_charset): Delete `ucs-ks'.
17 (complex_vars_of_mule_charset): Likewise.
19 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
21 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
22 (Qideograph_daikanwa_2): Deleted.
23 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
24 (complex_vars_of_mule_charset): Likewise.
26 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
27 (LEADING_BYTE_DAIKANWA_1): Deleted.
28 (LEADING_BYTE_DAIKANWA_2): Deleted.
29 (MIN_CHAR_DAIKANWA): Deleted.
30 (MAX_CHAR_DAIKANWA): Deleted.
32 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
34 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
35 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
36 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
38 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
39 (Vcharset_ideograph_daikanwa): Deleted.
40 (Qideograph_hanziku_{1..12}): Deleted.
41 (Qideograph_daikanwa): Deleted.
42 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
43 Vcharset_ideograph_daikanwa.
44 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
45 `ideograph-hanziku-{1..12}'.
46 (complex_vars_of_mule_charset): Likewise.
48 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
50 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
52 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
53 (Qideograph_gt_pj_{1..11}): Deleted.
54 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
55 (complex_vars_of_mule_charset): Likewise.
57 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
59 * mule-charset.c (Vcharset_ucs_big5): Deleted.
60 (Vcharset_ideograph_gt): Deleted.
62 (Qideograph_gt): Deleted.
63 (syms_of_mule_charset): Delete symbol `ucs-big5' and
65 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
68 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
69 (LEADING_BYTE_GT): Deleted.
70 (GC_CHARSETP): Deleted.
71 (MIN_CHAR_GT): Deleted.
72 (MAX_CHAR_GT): Deleted.
74 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
76 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
78 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
80 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
81 (Qideograph_cbeta): Deleted.
82 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
83 (complex_vars_of_mule_charset): Likewise.
85 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
86 (MIN_CHAR_CBETA): Comment out.
87 (MAX_CHAR_CBETA): Likewise.
89 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
91 * mule-charset.c (charset_lookup_description_1): Use
92 `NUM_LEADING_BYTES' in UTF-2000.
94 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
96 * mule-charset.c (Vcharset_china3_jef): Deleted.
97 (Qchina3_jef): Deleted.
98 (syms_of_mule_charset): Don't define `china3-jef'.
99 (complex_vars_of_mule_charset): Likewise.
101 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
102 (MIN_CHAR_CHINA3_JEF): Comment out.
103 (MAX_CHAR_CHINA3_JEF): Comment out.
105 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
107 * mule-charset.c (Vcharset_ucs_gb): New variable.
108 (Qucs_gb): New variable.
109 (syms_of_mule_charset): Add new symbol `ucs-gb'.
110 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
112 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
114 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
116 * mule-charset.c (charset_code_point): if a coded-charset has a
117 final-byte, don't inherit the builtin range of the mother CCS.
119 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
121 * mule-charset.c (charset_code_point): Fix problem about
124 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
126 * mule-charset.c (decode_builtin_char): Reorganized.
128 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
130 * text-coding.c (char_encode_shift_jis): Modify for
131 `charset_code_point'.
132 (char_encode_big5): Likewise.
133 (char_encode_utf8): Likewise.
134 (char_encode_iso2022): Likewise.
136 * mule-charset.c (charset_code_point): Add new argument
138 (Fencode_char): Add new optional argument `defined_only'.
140 * chartab.c (put_char_table): Modify for `charset_code_point'.
141 (map_char_table): Likewise.
143 * char-ucs.h (charset_code_point): Add new argument
145 (encode_char_1): Modify for `charset_code_point'.
147 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
149 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
150 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
152 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
154 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
155 (Qjis_x0208): Likewise.
156 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
157 XCHARSET_FINAL(charset).
158 (charset_code_point): Modify condition for final-byte based
160 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
161 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
162 in UTF-2000; specify `=jis-x0208' as the mother of
163 `japanese-jisx0208-1978', `japanese-jisx0208' and
164 `japanese-jisx0208-1990' in UTF-2000.
166 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
168 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
170 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
172 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
173 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
174 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
175 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
176 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
177 CONVERSION_96x96x96x96 are introduced.
178 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
179 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
180 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
182 * char-ucs.h (CONVERSION_94): New macro.
183 (CONVERSION_96): New macro.
184 (CONVERSION_94x94): New macro.
185 (CONVERSION_96x96): New macro.
186 (CONVERSION_94x94x94): New macro.
187 (CONVERSION_96x96x96): New macro.
188 (CONVERSION_94x94x94x60): New macro.
189 (CONVERSION_94x94x94x94): New macro.
190 (CONVERSION_96x96x96x96): New macro.
192 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
194 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
196 * fns.c (Qideographic_structure): New variable.
197 (Qkeyword_char): New variable.
198 (ids_format_unit): New function.
199 (Fideographic_structure_to_ids): New function.
200 (syms_of_fns): Add new symbols `ideographic-structure' and
201 `:char'; add new builtin function `ideographic-structure-to-ids'.
203 * data.c (Fchar_ref_p): New function.
204 (syms_of_data): Add new builtin function `char-ref-p'.
206 * chartab.h: Add an EXFUN for `Ffind_char'.
208 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
210 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
211 and `COMPOSE_ADD_CHAR'.
212 (decode_coding_iso2022): Use `decode_flush_er_chars'.
214 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
216 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
217 instead of `DECODE_ADD_UCS_CHAR'.
218 (COMPOSE_ADD_CHAR): Likewise.
220 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
222 * text-coding.c (decode_flush_er_chars): New inline function.
223 (decode_add_er_char): New function.
224 (decode_coding_utf8): Use `decode_flush_er_chars' and
225 `decode_add_er_char'.
227 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
229 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
230 done before `decode_output_utf8_partial_char'.
232 * mule-charset.c (complex_vars_of_mule_charset): Specify
233 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
234 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
236 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
238 * mule-charset.c (decode_defined_char): New function; search
240 (decode_builtin_char): Don't search mother if
241 XCHARSET_MAX_CODE(charset) == 0.
242 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
243 == 0 even if code >= XCHARSET_MAX_CODE(charset).
244 (Fdecode_char): Use `decode_defined_char' instead of
245 `DECODE_DEFINED_CHAR'.
246 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
247 mother of `Vcharset_ucs_jis'.
249 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
250 instead of `DECODE_DEFINED_CHAR'.
252 * char-ucs.h (decode_defined_char): Renamed from
253 `DECODE_DEFINED_CHAR'; changed to normal function.
254 (DECODE_CHAR): Use `decode_defined_char' instead of
255 `DECODE_DEFINED_CHAR'.
257 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
259 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
261 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
263 * text-coding.c (Vcoded_charset_entity_reference_alist): New
265 (Quse_entity_reference): New variable.
269 (coding_system_description): Add description for
271 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
272 (allocate_coding_system): Initialize `ccs_priority_list' in
274 (Fmake_coding_system): Add description about
275 'use-entity-reference; setup
276 CODING_SYSTEM_USE_ENTITY_REFERENCE(codesys).
277 (Fcoding_system_property): Accept `disable-composition' and
278 `use-entity-reference' in UTF-2000.
279 (struct decoding_stream): Add new member `er_counter' and `er_buf'
281 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
282 (decode_coding_utf8): Decode entity-reference if
283 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
284 (char_encode_utf8): Encode non-Unicode characters as
285 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
287 (syms_of_file_coding): Add new symbols `use-entity-reference',
289 (vars_of_file_coding): Add new variable
290 `coded-charset-entity-reference-alist'.
291 (complex_vars_of_file_coding): Declare `disable-composition' and
292 `use-entity-reference' to be coding-system-properties in UTF-2000.
294 * file-coding.h (struct Lisp_Coding_System): Add new member
295 `use_entity_reference' and `ccs_priority_list'.
296 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
297 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
298 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
300 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
302 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
304 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
306 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
307 `XCHARSET_GRAPHIC(ccs)'.
309 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
311 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
314 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
316 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
317 instead of `XCHARSET_CHARS'.
319 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
321 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
322 (XCHARSET_BYTE_SIZE): Likewise.
324 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
326 (XCHARSET_BYTE_SIZE): Likewise.
328 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
330 * char-ucs.h (decoding_table_check_elements): Delete prototype.
331 (get_ccs_octet_table): New inline function.
332 (put_ccs_octet_table): Likewise.
333 (decoding_table_put_char): Use `get_ccs_octet_table' and
334 `put_ccs_octet_table'.
335 (decoding_table_remove_char): Use `decoding_table_put_char'.
336 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
338 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
340 (make_charset): Use Qunbound instead Qnil as initial value of
343 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
345 * mule-charset.c (put_char_ccs_code_point): Modify for
346 `decoding_table_remove_char' and `decoding_table_put_char'.
347 (remove_char_ccs): Modify for `decoding_table_remove_char'.
349 * char-ucs.h (decoding_table_remove_char): Change arguments to
350 hide decoding_table vector.
351 (decoding_table_put_char): Likewise.
353 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
355 * mule-charset.c (decoding_table_remove_char): Moved to
357 (decoding_table_put_char): Likewise.
359 * char-ucs.h (decoding_table_check_elements): New prototype [moved
360 from mule-charset.c].
361 (decoding_table_remove_char): New inline function [moved from
363 (decoding_table_put_char): Likewise.
365 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
367 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
368 instead of `DECODE_CHAR' for mother; don't use special code for
369 chinese-big5 to use code space of chinese-big5-1 and
371 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
372 `MAX_CHAR_BIG5_CDP' for chinese-big5.
374 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
375 (MAX_CHAR_BIG5_CDP): Revival.
377 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
379 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
380 the XLFD registry-encoding name of `chinese-big5'.
382 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
384 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
385 (Qchinese_big5_cdp): Deleted.
386 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
387 (complex_vars_of_mule_charset): Delete coded-charset
390 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
391 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
392 `CHARSET_ID_OFFSET - n' for private CCS.
393 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
394 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
395 of `MIN_LEADING_BYTE'.
396 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
397 `(CHARSET_ID_OFFSET - 97)'.
398 (MIN_CHAR_BIG5_CDP): Deleted.
399 (MAX_CHAR_BIG5_CDP): Deleted.
401 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
403 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
406 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
408 * mule-charset.c (decode_builtin_char): Support mother charsets.
410 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
412 * mule-charset.c (Q94x94x60): New variable.
413 (charset_code_point): Support conversion `94x94x60'.
414 (Fmake_charset): Likewise.
415 (syms_of_mule_charset): Add new symbol `94x94x60'.
417 * char-ucs.h (CONVERSION_94x94x60): New macro.
419 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
421 * mule-charset.c (charset_code_point): Unify code about
424 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
426 * mule-charset.c (charset_code_point): Merge code about builtin
427 characters into code about mother charsets; don't use
428 `range_charset_code_point'.
429 (range_charset_code_point): Deleted.
431 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
433 * mule-charset.c (Qcode_offset): New variable.
434 (Fmake_charset): Use `XUINT' to get value of `min-code' and
435 `max-code'; accept new property `code-offset'.
436 (syms_of_mule_charset): Add new symbol `code-offset'.
438 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
440 * mule-charset.c (range_charset_code_point): Fixed.
442 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
444 * mule-charset.c (decode_builtin_char): Change semantics of
445 code-offset of coded-charset.
446 (charset_code_point): Likewise.
447 (range_charset_code_point): Likewise.
448 (complex_vars_of_mule_charset): Modify for the change.
450 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
452 * mule-charset.c (Fencode_char): Reverse arguments.
454 * mule-charset.c (charset_code_point): Fixed.
456 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
458 * mule-charset.c (Vcharset_mojikyo): Deleted.
459 (Vcharset_mojikyo_2022_1): Deleted.
460 (Vcharset_mojikyo_pj_{1..21}): Deleted.
461 (Qmin_code): New variable in UTF-2000.
462 (Qmax_code): Likewise.
464 (Qconversion): Likewise.
467 (Qmojikyo_2022_1): Deleted.
468 (Qmojikyo_pj_{1..22}): Deleted.
469 (mark_charset): Mark `cs->mother'.
470 (charset_description): Add description for `mother'.
471 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
472 new arguments `mother' and `conversion'; use
473 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
474 (charset_code_point): Moved from char-ucs.h; support `mother'
476 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
477 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
478 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
479 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
480 allow 2 as the value of `graphic' in UTF-2000; add new properties
481 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
482 require `final' in UTF-2000; modify for `make_charset'.
483 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
484 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
485 (Fcharset_property): Support `mother', `min-code' and `max-code'.
486 (Fencode_char): New function.
487 (syms_of_mule_charset): Add new builtin function `encode-char' in
488 UTF-2000; add new symbols `min-code', `max-code', `mother',
489 `conversion' and `94x60'; delete symbols `mojikyo',
490 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
491 (complex_vars_of_mule_charset): Modify for `make_charset' change;
492 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
493 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
495 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
496 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
498 * char-ucs.h (Vcharset_mojikyo): Deleted.
499 (Vcharset_mojikyo_2022_1): Deleted.
500 (LEADING_BYTE_MOJIKYO): Deleted.
501 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
502 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
503 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
504 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
505 add new member `mother'; add new member `conversion'.
506 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
507 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
508 (CHARSET_MOTHER): New macro.
509 (CHARSET_CONVERSION): New macro.
510 (CONVERSION_IDENTICAL): New macro.
511 (CONVERSION_94x60): New macro.
512 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
513 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
514 (XCHARSET_MOTHER): New macro.
515 (XCHARSET_CONVERSION): New macro.
516 (MIN_CHAR_MOJIKYO): Deleted.
517 (MAX_CHAR_MOJIKYO): Deleted.
518 (DECODE_MOJIKYO_2022): Deleted.
519 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
520 (charset_code_point): Changed to non-inline function.
521 (encode_char_1): Use `charset_code_point'.
522 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
524 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
526 * lread.c (read_compiled_function): Fix prototype.
527 (read_vector): Likewise.
529 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
531 * lrecord.h (struct lrecord_header): Delete `older'.
532 (set_lheader_implementation): Delete code for `older'.
533 (set_lheader_older_implementation): Deleted.
534 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
535 (OLDER_RECORD_P): Deleted.
536 (OLDER_RECORD_HEADER_P): Deleted.
537 (alloc_older_lcrecord): Deleted.
538 (alloc_older_lcrecord_type): Deleted.
540 * alloc.c (all_older_lcrecords): Deleted.
541 (alloc_older_lcrecord): Deleted.
542 (disksave_object_finalization_1): Delete code for older objects.
543 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
544 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
546 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
548 * mule-charset.c (decoding_table_put_char): Use `make_vector'
549 instead of `make_older_vector'.
550 (put_char_ccs_code_point): Likewise.
551 (mark_charset): Mark `cs->decoding_table'.
552 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
554 * lisp.h (make_older_vector): Deleted.
555 (make_vector_newer): Deleted.
557 * config.h.in (HAVE_GGC): Deleted.
559 * alloc.c (make_older_vector): Deleted.
560 (make_vector_newer_1): Deleted.
561 (make_vector_newer): Deleted.
563 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
565 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
566 (Qideograph_daikanwa_2): New variable.
567 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
568 (complex_vars_of_mule_charset): Add new coded-charset
569 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
570 `LEADING_BYTE_DAIKANWA'.
572 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
573 (LEADING_BYTE_DAIKANWA_1): New macro.
574 (LEADING_BYTE_DAIKANWA_2): New macro.
575 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
577 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
579 * mule-charset.c (complex_vars_of_mule_charset): Change
580 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
581 the second revised version.
583 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
585 * mule-charset.c (Vcharset_ucs_smp): New variable.
586 (Vcharset_ucs_sip): New variable.
587 (Qucs_smp): New variable.
588 (Qucs_sip): New variable.
589 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
590 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
591 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
592 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
593 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
594 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
596 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
597 (LEADING_BYTE_UCS_SIP): New macro.
598 (MIN_CHAR_SMP): New macro.
599 (MAX_CHAR_SMP): New macro.
600 (MIN_CHAR_SIP): New macro.
601 (MAX_CHAR_SIP): New macro.
603 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
605 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
608 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
610 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
611 value; don't store value into `encoding_table' of `Lisp_Charset'.
612 (mark_charset): `encoding_table' was deleted.
613 (charset_description): Likewise.
614 (make_charset): Likewise.
615 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
616 `put_char_ccs_code_point'.
618 * chartab.h (Fput_char_attribute): New EXFUN.
620 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
621 is unified with normal symbol space.
622 (Fget_char_attribute): Likewise.
623 (Fput_char_attribute): Likewise; behavior of
624 `put_char_ccs_code_point' is changed.
626 * char-ucs.h: Include "elhash.h".
627 (Vchar_attribute_hash_table): New external variable.
628 (struct Lisp_Charset): Delete `encoding_table'.
629 (CHARSET_ENCODING_TABLE): New implementation; refer
630 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
633 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
635 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
638 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
640 * text-coding.c (char_encode_big5): Prefer charset-g1 than
643 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
645 * chartab.c (uint8_byte_table_description): New constant.
646 (uint8-byte-table): Use `uint8_byte_table_description'.
647 (uint16_byte_table_description): New constant.
648 (uint16-byte-table): Use `uint16_byte_table_description'.
650 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
652 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
653 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
655 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
657 * mule-charset.c (Vcharset_ucs_ks): New variable.
658 (Qucs_ks): New variable.
659 (syms_of_mule_charset): Add new symbol `ucs-ks'.
660 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
662 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
664 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
666 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
667 (Fdecode_char): Likewise.
669 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
671 (Fdefine_char): Modify for Fdecode_char.
672 (Ffind_char): Likewise.
674 * mule-charset.c (Fdecode_char): Add new optional argument
676 (Fdecode_builtin_char): Modify for `Fdecode_char'.
678 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
680 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
681 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
682 (allocate_coding_system): Initialize initial-charsets of
683 CODESYS_BIG5 in XEmacs UTF-2000.
684 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
685 CODESYS_BIG5 in XEmacs UTF-2000.
686 (decode_coding_big5): Use initial-charset-g0 and -g1 of
687 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
689 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
691 (Qideograph_hanziku_{1 .. 12}): Likewise.
692 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
694 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
695 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
696 `ideograph-hanziku-{1 .. 12}'.
698 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
699 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
700 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
701 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
702 (DECODE_DEFINED_CHAR): New inline function.
703 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
705 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
707 * mule-charset.c (Vcharset_china3_jef): Renamed from
708 `Vcharset_japanese_jef_china3'.
709 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
710 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
711 `{MIN|MAX}_CHAR_JEF_CHINA3'..
712 (syms_of_mule_charset): Rename `china3-jef' from
713 `japanese-jef-china3'.
714 (complex_vars_of_mule_charset): Likewise; rename
715 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
717 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
718 `LEADING_BYTE_JEF_CHINA3'.
719 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
720 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
722 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
724 * mule-charset.c (encode_builtin_char_1): Comment out special code
725 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
727 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
728 (MAX_CHAR_MOJIKYO_0): Comment out.
729 (MIN_CHAR_CBETA): Changed to 0x00E20000.
730 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
731 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
732 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
734 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
736 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
737 (Qideograph_cbeta): New variable.
738 (encode_builtin_char_1): Comment out special code for
739 coded-charset `mojikyo' and `japanese-jef-china3'.
740 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
741 (complex_vars_of_mule_charset): Add new coded-charset
744 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
745 (MIN_CHAR_CBETA): New macro.
746 (MAX_CHAR_CBETA): New macro.
748 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
750 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
751 (LEADING_BYTE_JEF_CHINA3): New macro.
752 (MIN_CHAR_JEF_CHINA3): New macro.
753 (MAX_CHAR_JEF_CHINA3): Likewise.
754 (DECODE_CHAR): Fixed.
756 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
758 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
759 (Qjapanese_jef_china3): New variable.
760 (encode_builtin_char_1): Support `japanese-jef-china3'.
761 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
762 (complex_vars_of_mule_charset): Add new coded-charset
763 `japanese-jef-china3'.
765 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
767 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
768 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
769 94^4, 96^3, 96^4, 128^n and 256^n set.
770 (put_char_table): Use `XCHARSET_CELL_RANGE'.
771 (map_char_table): Likewise.
773 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
775 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
778 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
780 * chartab.h (get_char_id_table): New inline function.
782 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
785 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
787 * chartab.h (decode_char_table_range): New prototype in XEmacs
789 (put_char_id_table): New inline function in XEmacs UTF-2000.
791 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
793 (decode_char_table_range): Delete static declaration in XEmacs
796 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
798 * chartab.c (put_char_id_table): Use `put_char_table'.
800 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
802 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
803 (map_over_uint16_byte_table): Likewise.
804 (map_over_byte_table): Likewise.
805 (map_char_table): Modify for `map_over_uint8_byte_table',
806 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
809 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
811 * chartab.c (struct map_char_table_for_charset_arg): New
813 (map_char_table_for_charset_fun): New function.
814 (map_char_table): Use `map_char_table' for encoding_table of
817 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
819 * chartab.c (map_char_table): Check a character is found in
820 range->charset instead of non default value is defined in
821 char-table when range is CHARTAB_RANGE_ROW.
823 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
825 * chartab.c (map_char_id_table): Deleted.
826 (Fmap_char_attribute): Use `map_char_table' instead of
829 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
831 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
833 (update_syntax_table): Deleted in XEmacs UTF-2000.
835 * syntax.c (find_defun_start): Use `syntax_table' instead of
836 `mirror_syntax_table' in XEmacs UTF-2000.
837 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
839 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
841 (Fmatching_paren): Likewise.
842 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
844 (find_start_of_comment): Likewise.
845 (find_end_of_comment): Likewise.
846 (Fforward_comment): Likewise.
847 (scan_lists): Likewise.
848 (char_quoted): Likewise.
849 (Fbackward_prefix_chars): Likewise.
850 (scan_sexps_forward): Likewise.
851 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
852 (update_syntax_table): Likewise.
854 * search.c (skip_chars): Use `syntax_table' instead of
855 `mirror_syntax_table' in XEmacs UTF-2000.
857 (Freplace_match): Likewise.
859 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
860 `mirror_syntax_table' in XEmacs UTF-2000.
861 (WORDCHAR_P_UNSAFE): Likewise.
862 (re_match_2_internal): Likewise.
864 * font-lock.c (find_context): Use `buf->syntax_table' instead of
865 `buf->mirror_syntax_table' in XEmacs UTF-2000.
867 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
868 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
870 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
873 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
875 (print_char_table): Print `default_value' in XEmacs UTF-2000.
876 (char_table_description): Delete `mirror_table' in XEmacs
878 (fill_char_table): Don't call `update_syntax_table' in XEmacs
880 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
881 (Fcopy_char_table): Likewise.
882 (put_char_table): Don't call `update_syntax_table' in XEmacs
885 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
886 `buf->mirror_syntax_table' in XEmacs UTF-2000.
887 (casify_region_internal): Likewise.
889 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
891 * buffer.c (common_init_complex_vars_of_buffer): Don't use
892 `mirror_syntax_table' in XEmacs UTF-2000.
894 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
895 `buf->mirror_syntax_table' in XEmacs UTF-2000.
896 (Fexpand_abbrev): Likewise.
898 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
900 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
902 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
904 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
905 (map_over_uint16_byte_table): Likewise.
906 (map_over_byte_table): Likewise.
907 (get_char_id_table): Refer `cit->default_value'.
908 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
909 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
910 of character-id ranges.
911 (mark_char_table): Mark `ct->default_value'.
912 (char_table_description): Add `default_value'.
913 (fill_char_table): Use `default_value'.
914 (decode_char_table_range): Decode `nil' as
915 `CHARTAB_RANGE_DEFAULT'.
916 (get_char_id_table): Refer `cit->default_value'.
917 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
918 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
919 temporary hack; check value of char-table is bound or not.
920 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
922 * chartab.h (struct Lisp_Char_Table): Add new member
923 `default_value' in XEmacs UTF-2000.
924 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
925 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
928 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
930 * chartab.h (Lisp_Char_ID_Table): Deleted.
932 * chartab.c (char_table_description): Fix typo.
933 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
934 `Lisp_Char_ID_Table'.
936 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
938 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
941 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
944 * chartab.h (XCHAR_ID_TABLE): Deleted.
945 (XSETCHAR_ID_TABLE): Deleted.
946 (CHAR_ID_TABLE_P): Deleted.
948 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
950 (Fget_composite_char): Likewise.
951 (put_char_table): Likewise.
952 (add_char_attribute_alist_mapper): Fixed.
953 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
955 (Fget_char_attribute): Likewise.
956 (Fget_char_attribute): Likewise.
957 (Fmap_char_attribute): Likewise.
959 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
961 (encode_char_1): Likewise.
963 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
965 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
968 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
969 instead of `XCHAR_ID_TABLE'.
970 (remove_char_ccs): Likewise.
972 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
974 (Fget_composite_char): Likewise.
975 (Fchar_variants): Likewise.
976 (put_char_table): Likewise.
977 (add_char_attribute_alist_mapper): Likewise.
978 (Fchar_attribute_alist): Likewise.
979 (Fget_char_attribute): Likewise.
980 (Fput_char_attribute): Likewise.
981 (Fmap_char_attribute): Likewise.
982 (Fmap_char_attribute): Likewise.
984 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
986 (encode_char_1): Likewise.
988 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
990 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
991 `Lisp_Char_ID_Table'.
992 (mark_char_id_table): Deleted.
993 (print_char_id_table): Likewise.
994 (char_id_table_equal): Likewise.
995 (char_id_table_hash): Likewise.
996 (char_id_table_description): Likewise.
997 (char_id_table): Likewise.
998 (make_char_id_table): Use `Fmake_char_table' and
1000 (get_char_id_table): Use `Lisp_Char_Table' instead of
1001 `Lisp_Char_ID_Table'.
1002 (put_char_id_table): Likewise.
1003 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
1005 (Fremove_char_attribute): Likewise.
1006 (syms_of_chartab): Don't define type `char-id-table'.
1008 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
1009 (char_id_table): Likewise.
1010 (GC_CHAR_ID_TABLE_P): Likewise.
1011 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
1012 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
1013 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
1014 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
1015 (get_char_id_table): Use `Lisp_Char_Table' instead of
1016 `Lisp_Char_ID_Table'.
1017 (put_char_id_table_0): Likewise.
1018 (put_char_id_table): Likewise.
1020 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1022 * chartab.h: Lisp_Byte_Table related codes are moved from
1025 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
1027 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1029 * chartab.h: Don't include "chartab.h".
1030 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
1031 (Lisp_Char_ID_Table): Likewise.
1032 (char_id_table): Likewise.
1033 (XCHAR_ID_TABLE): Likewise.
1034 (XSETCHAR_ID_TABLE): Likewise.
1035 (CHAR_ID_TABLE_P): Likewise.
1036 (GC_CHAR_ID_TABLE_P): Likewise.
1037 (get_char_id_table): Likewise.
1039 * char-ucs.h: Include "chartab.h".
1040 (struct Lisp_Char_ID_Table): Moved to chartab.h.
1041 (Lisp_Char_ID_Table): Likewise.
1042 (char_id_table): Likewise.
1043 (XCHAR_ID_TABLE): Likewise.
1044 (XSETCHAR_ID_TABLE): Likewise.
1045 (CHAR_ID_TABLE_P): Likewise.
1046 (GC_CHAR_ID_TABLE_P): Likewise.
1047 (get_char_id_table): Likewise.
1049 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1051 * chartab.c (copy_uint8_byte_table): New function.
1052 (copy_uint16_byte_table): New function.
1053 (copy_byte_table): New function.
1054 (map_over_uint8_byte_table): Modify to avoid huge numbers of
1056 (map_over_uint16_byte_table): Likewise.
1057 (map_over_byte_table): Likewise.
1058 (get_byte_table): Move prototype to chartab.h.
1059 (put_byte_table): Likewise.
1060 (put_char_id_table_0): Moved to chartab.h.
1061 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
1062 (char_table_entry_equal): Likewise.
1063 (char_table_entry_hash): Likewise.
1064 (char_table_entry_description): Likewise.
1065 (char_table_entry): Likewise.
1066 (make_char_table_entry): Likewise.
1067 (copy_char_table_entry): Likewise.
1068 (get_non_ascii_char_table_value): Likewise.
1069 (map_over_charset_ascii): Likewise.
1070 (map_over_charset_control_1): Likewise.
1071 (map_over_charset_row): Likewise.
1072 (map_over_other_charset): Likewise.
1073 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
1074 (print_char_table): Likewise.
1075 (char_table_equal): Likewise.
1076 (char_table_hash): Likewise.
1077 (char_table_description): Likewise.
1078 (fill_char_table): Likewise.
1079 (Fcopy_char_table): Likewise.
1080 (get_char_table): Likewise.
1081 (Fget_range_char_table): Likewise.
1082 (put_char_table): Likewise.
1083 (map_char_table): Likewise.
1084 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
1087 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1089 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
1090 `Vauto_fill_chars' in XEmacs UTF-2000.
1092 * chartab.h (get_byte_table): New prototype [moved from
1094 (put_byte_table): Likewise [moved from chartab.c].
1095 (put_char_id_table_0): New inline function [moved from chartab.c].
1096 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
1097 (Lisp_Char_Table_Entry): Likewise.
1098 (char_table_entry): Likewise.
1099 (XCHAR_TABLE_ENTRY): Likewise.
1100 (XSETCHAR_TABLE_ENTRY): Likewise.
1101 (CHAR_TABLE_ENTRYP): Likewise.
1102 (CHECK_CHAR_TABLE_ENTRY): Likewise.
1103 (NUM_ASCII_CHARS): Likewise.
1104 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
1105 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
1107 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1109 * chartab.c (get_char_id_table): Change interface.
1110 (put_char_id_table_0): New function.
1111 (put_char_id_table): Change interface; new implementation.
1112 (Fget_composite_char): Modify for interface change of
1113 `get_char_id_table'.
1114 (Fchar_variants): Likewise.
1115 (add_char_attribute_alist_mapper): Likewise.
1116 (Fchar_attribute_alist): Likewise.
1117 (Fget_char_attribute): Likewise.
1118 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
1119 as same as character as the first argument like `put-char-table';
1120 modify for interface change of `put_char_id_table'.
1121 (Fremove_char_attribute): Modify for interface change of
1122 `put_char_id_table'.
1124 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1126 * text-coding.c: Sync up with XEmacs 21.2.41.
1127 (COMPOSE_ADD_CHAR): Modify for interface change of
1128 `get_char_id_table'.
1130 * mule-charset.c (put_char_ccs_code_point): Modify for interface
1131 change of `put_char_id_table'.
1132 (remove_char_ccs): Likewise.
1134 * chartab.h (put_char_id_table): Change interface.
1136 * char-ucs.h (get_char_id_table): Change interface.
1137 (charset_code_point): Modify for interface change of
1138 `get_char_id_table'.
1139 (encode_char_1): Likewise.
1141 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1143 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
1145 (map_over_uint16_byte_table): Likewise.
1146 (map_over_byte_table): Likewise.
1147 (map_char_id_table): Add new argument `range' like
1149 (Fmap_char_attribute): Add new argument `range' like
1152 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1154 * chartab.c (map_over_uint8_byte_table): Change interface of
1155 mapping function to use struct chartab_range instead of Emchar.
1156 (map_over_uint16_byte_table): Likewise.
1157 (map_over_byte_table): Likewise.
1158 (map_char_id_table): Likewise.
1159 (struct slow_map_char_id_table_arg): Deleted.
1160 (slow_map_char_id_table_fun): Deleted.
1161 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1162 function `slow_map_char_table_fun' instead of struct
1163 `slow_map_char_id_table_arg' and function
1164 `slow_map_char_id_table_fun'.
1166 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1168 * mule-charset.c: Move char-it-table related codes to chartab.c.
1169 (Vutf_2000_version): Moved to chartab.c.
1170 (Fdefine_char): Likewise.
1171 (Ffind_char): Likewise.
1172 (syms_of_mule_charset): Move types `uint8-byte-table',
1173 `uint16-byte-table', `byte-table' and `char-id-table' to
1174 chartab.c; move functions `char_attribute_list,
1175 `find_char_attribute_table, `char_attribute_alist,
1176 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1177 `map_char_attribute, `define_char, `find_char, `char_variants and
1178 `get_composite_char to chartab.c; move symbols `=>ucs',
1179 `->decomposition', `compat', `isolated', `initial', `medial',
1180 `final', `vertical', `noBreak', `fraction', `super', `sub',
1181 `circle', `square', `wide', `narrow', `small' and `font' to
1183 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1184 setting codes for `Vcharacter_composition_table' and
1185 `Vcharacter_variant_table' to chartab.c.
1186 (complex_vars_of_mule_charset): Move setting code for
1187 `Vchar_attribute_hash_table' to chartab.c.
1189 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1190 (make_char_id_table): New prototype.
1191 (put_char_id_table): Likewise.
1192 (Fget_char_attribute): Likewise.
1194 * chartab.c: Move char-id-table related code from mule-charset.c.
1195 (Vutf_2000_version): Moved from mule-charset.c.
1197 * char-ucs.h (Qucs): New external variable.
1198 (put_char_ccs_code_point): New prototype.
1199 (remove_char_ccs): Likewise.
1201 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1203 * mule-charset.c (Vcharset_ucs_jis): New variable.
1204 (Qucs_jis): Likewise.
1205 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1206 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1208 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1210 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1212 * mule-charset.c (map_over_uint8_byte_table): New function.
1213 (map_over_uint16_byte_table): Likewise.
1214 (map_over_byte_table): Likewise.
1215 (map_char_id_table): Likewise.
1216 (slow_map_char_id_table_fun): Likewise.
1217 (Fmap_char_attribute): Likewise.
1218 (syms_of_mule_charset): Add new function `map-char-attribute'.
1220 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1222 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1223 (syms_of_mule_charset): Add new function `find-char'.
1225 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1227 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1229 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1230 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1232 (complex_vars_of_mule_charset): Add new coded-charset
1233 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1234 `ideograph-gt-pj-*'.
1236 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1238 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1240 * mule-charset.c (encode_builtin_char_1): Purge codes about
1241 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1242 {MIN|MAX}_CHAR_HEBREW.
1243 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1244 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1246 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1247 (MAX_CHAR_GREEK): Purged.
1248 (MIN_CHAR_CYRILLIC): Purged.
1249 (MAX_CHAR_CYRILLIC): Purged.
1250 (MIN_CHAR_HEBREW): Commented out.
1251 (MAX_CHAR_HEBREW): Likewise.
1253 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1255 * mule-charset.c (Qto_ucs): New variable.
1256 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1257 (Fdefine_char): Likewise.
1258 (syms_of_mule_charset): Add new symbol `=>ucs'.
1260 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1262 * mule-charset.c (Fdecode_char): Fixed.
1264 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1266 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1267 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1270 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1272 * mule-charset.c (Vcharset_ucs_big5): New variable.
1273 (Qucs_big5): Likewise.
1274 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1275 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1277 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1279 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1281 * mule-charset.c (decode_builtin_char): Check Big5 code range
1282 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1284 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1286 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1287 (Qchinese_gb12345): Likewise.
1288 (Fdecode_builtin_char): Fixed.
1289 (syms_of_mule_charset): Add `chinese-gb12345'.
1290 (complex_vars_of_mule_charset): Add coded-charset
1293 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1294 (LEADING_BYTE_CHINESE_GB12345): New macro.
1296 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1298 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
1299 and `latin-viscii-upper' for `latin-viscii'.
1301 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1303 * mule-charset.c (Fdecode_builtin_char): Comment out
1304 regularization code for ISO-IR GR representation.
1306 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1308 * mule-charset.c (decode_builtin_char): New function; renamed from
1309 `make_builtin_char'; return -1 instead of signal.
1310 (Fdecode_builtin_char): Use `decode_builtin_char'.
1312 * char-ucs.h (decode_builtin_char): New prototype; renamed from
1313 `make_builtin_char'.
1314 (DECODE_CHAR): Use `decode_builtin_char' instead of
1315 `make_builtin_char'; use mapping table of `chinese-big5' for
1316 `chinese-big5-{1,2}'.
1318 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1320 * text-coding.c (char_encode_big5): New function.
1321 (char_finish_big5): Likewise.
1322 (reset_encoding_stream): Use `char_encode_big5' and
1323 `char_finish_big5' for CODESYS_BIG5.
1324 (mule_encode): Don't use `encode_coding_big5'.
1325 (encode_coding_big5): Deleted.
1327 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1329 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
1330 0x81- in XEmacs UTF-2000.
1331 (detect_coding_big5): Likewise.
1333 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1335 * mule-charset.c (Fdefine_char): Don't use a CCS property to
1336 generate character-id if the CCS property does not have
1337 corresponding predefined character.
1338 (make_builtin_char): Return -1 if corresponding predefined
1339 character is not found.
1340 (Fdecode_char): Return nil if corresponding character is not
1342 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
1343 don't map to builtin ucs space.
1345 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1347 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
1348 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
1350 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1352 * mule-charset.c (Vcharset_ideograph_gt): New variable.
1353 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
1354 (Qideograph_gt): Likewise.
1355 (Qideograph_gt_pj_{1..11}): Likewise.
1356 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
1357 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
1358 `ideograph-gt-pj-11'.
1359 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
1360 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
1361 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
1363 * char-ucs.h (LEADING_BYTE_GT): New macro.
1364 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
1365 (MIN_CHAR_GT): Likewise.
1366 (MAX_CHAR_GT): Likewise.
1368 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1370 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
1371 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
1373 * doprnt.c (unsigned_int_converters): Add `c'.
1374 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
1376 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
1377 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
1379 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
1380 (MAX_CHAR_MOJIKYO_0): New macro.
1381 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
1383 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1385 * mule-charset.c (Fdefine_char): Delete cemented out code.
1386 (encode_builtin_char_1): Modify for new allocation of builtin
1389 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
1391 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1393 * mule-charset.c (Vcharset_ucs_cns): New variable.
1394 (Qucs_cns): New variable.
1395 (syms_of_mule_charset): Add new symbol `ucs-cns'.
1396 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
1398 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1400 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
1402 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1404 * search.c (search_buffer): Make `charset_base_code' as
1405 character-id >> 6 to eliminate the corresponding last byte in
1406 UTF-8 representation [I'm not sure it is right thing].
1407 (boyer_moore): Likewise.
1409 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1411 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
1412 representation in MULE.
1414 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1416 * text-coding.c (Fmake_coding_system): Use
1417 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
1418 `EXTERNAL_PROPERTY_LIST_LOOP'.
1420 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1422 * text-coding.c (decode_output_utf8_partial_char): New function.
1423 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
1425 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1427 * text-coding.c (decode_coding_utf8): Output original byte
1428 sequence if it is broken; change order of conditions.
1430 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
1433 * mb-multibyte.h (BYTE_ASCII_P):
1434 Use bit ops for char-signedness safety.
1435 (BYTE_C0_P): Use bit ops for char-signedness safety.
1436 (BYTE_C1_P): Use bit ops for char-signedness safety.
1438 * character.h: (XCHAR_OR_CHAR_INT):
1439 Always use inline function.
1440 Remove redundant type checking assert() - XINT will abort quite
1443 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1445 * text-coding.c: (Fencode_shift_jis_char):
1446 (Fencode_big5_char):
1447 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
1448 Replace 0 with '\0' when working with bytes.
1449 Replace initial "(" with "\(" in docstrings.
1451 (Fmake_coding_system):
1452 When type is ccl and value is vector, register it with a proper
1453 symbol. And checks whether the given ccl program is valid.
1454 (mule_decode): When calling ccl_driver, if src indicates
1455 NULL pointer, set an empty string instead.
1456 (mule_encode): Likewise.
1459 (detect_coding_sjis):
1460 (decode_coding_sjis):
1461 (detect_coding_big5):
1462 (decode_coding_big5):
1463 (detect_coding_ucs4):
1464 (decode_coding_ucs4):
1465 (detect_coding_utf8):
1466 (decode_coding_utf8):
1467 (detect_coding_iso2022):
1468 (decode_coding_iso2022):
1469 (decode_coding_no_conversion):
1471 Make all detecting and decoding functions take an Extbyte * arg.
1472 (text_encode_generic):
1473 (encode_coding_big5):
1474 (encode_coding_no_conversion):
1476 Make all encoding functions take a Bufbyte * arg.
1477 Use size_t instead of unsigned int for memory sizes.
1478 Only cast to unsigned char whenever dereferencing Extbyte *.
1480 (struct lrecord_description fcd_description_1): Use countof.
1481 (complex_vars_of_file_coding):
1482 Use countof instead of sizeof.
1483 Use CHECK_NATNUM instead of CHECK_INT.
1485 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1487 * mule-charset.c (Fget_char_attribute): Add new optional argument
1489 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
1490 (remove_char_ccs): Likewise.
1492 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1494 * text-coding.c (char_encode_shift_jis): New implementation in
1496 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
1499 * mule-charset.c (Vcharset_chinese_big5): New variable in
1501 (Qchinese_big5): New variable in UTF-2000.
1502 (BIG5_SAME_ROW): New macro in UTF-2000.
1503 (make_builtin_char): Use builtin characters of
1504 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
1505 characters of `Vcharset_chinese_big5'.
1506 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
1507 (complex_vars_of_mule_charset): Add new coded-charset
1508 `chinese-big5' in UTF-2000.
1510 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
1511 (Vcharset_chinese_big5): New external variable declaration.
1512 (Vcharset_japanese_jisx0208_1990): Likewise.
1514 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1516 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
1518 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
1520 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1522 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
1523 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
1524 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
1527 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1529 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
1531 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1533 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1536 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1538 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
1539 for `CHARSET_BY_ATTRIBUTES'.
1540 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1541 `CHARSET_BY_ATTRIBUTES'.
1543 * text-coding.c (struct decoding_stream): Rename member `CH' to
1545 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
1546 (decode_coding_sjis): Likewise.
1547 (decode_coding_big5): Likewise.
1548 (decode_coding_ucs4): Likewise.
1549 (decode_coding_utf8): Likewise.
1550 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1551 `CHARSET_BY_ATTRIBUTES'.
1552 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
1553 `str->counter'; decode 3, 4 bytes sets.
1554 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
1556 (decode_coding_no_conversion): Use `str->cpos' instead of
1559 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
1560 (Qmojikyo_2022_1): New variable.
1561 (make_charset): Don't use `CHARSET_TYPE_*'.
1562 (range_charset_code_point): Support coded-charset
1564 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
1565 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
1566 `CHARSET_BY_ATTRIBUTES'.
1567 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
1568 `CHARSET_BY_ATTRIBUTES'.
1569 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
1570 (complex_vars_of_mule_charset): Add new coded-charset
1573 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
1574 interface; changed to inline function.
1576 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
1577 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
1578 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
1579 (CHARSET_TYPE_94): Deleted.
1580 (CHARSET_TYPE_94X94): Deleted.
1581 (CHARSET_TYPE_96): Deleted.
1582 (CHARSET_TYPE_96X96): Deleted.
1583 (CHARSET_TYPE_128): Deleted.
1584 (CHARSET_TYPE_128X128): Deleted.
1585 (CHARSET_TYPE_256): Deleted.
1586 (CHARSET_TYPE_256X256): Deleted.
1587 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
1589 (DECODE_MOJIKYO_2022): New inline function.
1590 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
1591 `Vcharset_mojikyo_2022_1'.
1593 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1595 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
1597 (put_byte_table): Likewise.
1598 (char_id_table_equal): Use `get_byte_table' [new implementation].
1600 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1602 * mule-charset.c: Include <limits.h> in UTF-2000.
1603 (BT_UINT8_MIN): New macro in UTF-2000.
1604 (BT_UINT8_MAX): New macro in UTF-2000.
1605 (BT_UINT8_t): New macro in UTF-2000.
1606 (BT_UINT8_nil): New macro in UTF-2000.
1607 (BT_UINT8_unbound): New macro in UTF-2000.
1608 (INT_UINT8_P): New inline function in UTF-2000.
1609 (UINT8_VALUE_P): New inline function in UTF-2000.
1610 (UINT8_ENCODE): New inline function in UTF-2000.
1611 (UINT8_DECODE): New inline function in UTF-2000.
1612 (mark_uint8_byte_table): New function in UTF-2000.
1613 (print_uint8_byte_table): New function in UTF-2000.
1614 (uint8_byte_table_equal): New function in UTF-2000.
1615 (uint8_byte_table_hash): New function in UTF-2000.
1616 (make_uint8_byte_table): New function in UTF-2000.
1617 (uint8_byte_table_same_value_p): New function in UTF-2000.
1618 (BT_UINT16_MIN): New macro in UTF-2000.
1619 (BT_UINT16_MAX): New macro in UTF-2000.
1620 (BT_UINT16_t): New macro in UTF-2000.
1621 (BT_UINT16_nil): New macro in UTF-2000.
1622 (BT_UINT16_unbound): New macro in UTF-2000.
1623 (INT_UINT16_P): New inline function in UTF-2000.
1624 (UINT16_VALUE_P): New inline function in UTF-2000.
1625 (UINT16_ENCODE): New inline function in UTF-2000.
1626 (UINT16_DECODE): New inline function in UTF-2000.
1627 (UINT8_TO_UINT16): New inline function in UTF-2000.
1628 (mark_uint16_byte_table): New function in UTF-2000.
1629 (print_uint16_byte_table): New function in UTF-2000.
1630 (uint16_byte_table_equal): New function in UTF-2000.
1631 (uint16_byte_table_hash): New function in UTF-2000.
1632 (make_uint16_byte_table): New function in UTF-2000.
1633 (uint16_byte_table_same_value_p): New function in UTF-2000.
1634 (print_byte_table): New function in UTF-2000.
1635 (byte-table): Use `print_byte_table' as printer.
1636 (make_byte_table): Delete second argument `older'.
1637 (byte_table_same_value_p): New function in UTF-2000.
1638 (copy_byte_table): Deleted.
1639 (get_byte_table): New function in UTF-2000.
1640 (put_byte_table): New function in UTF-2000.
1641 (print_char_id_table): New function in UTF-2000.
1642 (char-id-table): Use `print_char_id_table' as printer.
1643 (make_char_id_table): Delete second argument `older'.
1644 (get_char_id_table): Use `get_byte_table [new implementation].
1645 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
1647 (Ffind_char_attribute_table): New function in UTF-2000.
1648 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1649 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
1650 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
1651 (syms_of_mule_charset): Add new function
1652 `find-char-attribute-table' in UTF-2000.
1654 * lrecord.h (enum lrecord_type): Add
1655 `lrecord_type_uint16_byte_table' and
1656 `lrecord_type_uint8_byte_table'.
1658 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
1659 (Lisp_Uint8_Byte_Table): New type.
1660 (XUINT8_BYTE_TABLE): New macro.
1661 (XSETUINT8_BYTE_TABLE): New macro.
1662 (UINT8_BYTE_TABLE_P): New macro.
1663 (GC_UINT8_BYTE_TABLE_P): New macro.
1664 (struct Lisp_Uint16_Byte_Table): New structure.
1665 (Lisp_Uint16_Byte_Table): New type.
1666 (XUINT16_BYTE_TABLE): New macro.
1667 (XSETUINT16_BYTE_TABLE): New macro.
1668 (UINT16_BYTE_TABLE_P): New macro.
1669 (GC_UINT16_BYTE_TABLE_P): New macro.
1671 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1673 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
1674 (Vcharacter_ideographic_strokes_table): Deleted.
1675 (Vcharacter_total_strokes_table): Deleted.
1676 (Vcharacter_morohashi_daikanwa_table): Deleted.
1677 (Vcharacter_decomposition_table): Deleted.
1678 (Qname): Deleted because it is duplicated.
1679 (Qideographic_radical): Deleted.
1680 (Qideographic_strokes): Deleted.
1681 (Qtotal_strokes): Deleted.
1682 (Qmorohashi_daikanwa): Deleted.
1683 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
1684 `ideographic-radical', `ideographic-strokes', `total-strokes',
1685 `morohashi-daikanwa' and `->decomposition'.
1686 (Fget_char_attribute): Likewise.
1687 (Fput_char_attribute): Likewise; use `make-vector' instead of
1688 `make_older_vector' for `->decomposition' value.
1689 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
1690 `ideograph-daikanwa'.
1691 (syms_of_mule_charset): Delete builtin symbols `name',
1692 `ideographic-radical', `ideographic-strokes', `total-strokes' and
1693 `morohashi-daikanwa'.
1694 (vars_of_mule_charset): Don't setup
1695 `Vcharacter_ideographic_radical_table',
1696 `Vcharacter_ideographic_strokes_table',
1697 `Vcharacter_total_strokes_table',
1698 `Vcharacter_morohashi_daikanwa_table' and
1699 `Vcharacter_decomposition_table'.
1701 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1703 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
1704 `make_older_vector', `make_vector_newer_1' and
1705 `make_vector_newer'.
1707 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
1708 `make_older_vector' and `make_vector_newer'.
1710 * config.h.in (HAVE_GGC): New macro.
1712 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1714 * mule-charset.c (struct char_attribute_list_closure): New
1715 structure in UTF-2000.
1716 (add_char_attribute_to_list_mapper): New function in UTF-2000.
1717 (Fchar_attribute_list): Likewise.
1718 (Fset_charset_mapping_table): Use `make_vector_newer'.
1719 (Fdecode_builtin_char): New function in UTF-2000.
1720 (syms_of_mule_charset): Add new function `char-attribute-list' and
1721 `decode-builtin-char' in UTF-2000.
1723 * lisp.h (make_vector_newer): New prototype.
1725 * alloc.c (make_vector_newer_1): New function.
1726 (make_vector_newer): New function.
1728 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1730 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
1733 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1735 * mule-charset.c (Vchar_attribute_hash_table): New variable.
1736 (Vcharacter_attribute_table): Deleted.
1737 (Vcharacter_name_table): Deleted.
1738 (put_char_attribute): Deleted.
1739 (remove_char_attribute): Deleted.
1740 (struct char_attribute_alist_closure): New structure.
1741 (add_char_attribute_alist_mapper): New function.
1742 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
1743 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
1744 (Fget_char_attribute): Likewise.
1745 (Fput_char_attribute): Likewise.
1746 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
1747 of `remove_char_attribute'.
1748 (Fdefine_char): Return character.
1749 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
1750 and `Vcharacter_name_table'.
1751 (complex_vars_of_mule_charset): Likewise
1752 `Vchar_attribute_hash_table'.
1754 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1756 * character.h (CHARC_CHARSET): New macro.
1757 (CHARC_CHARSET_ID): New macro.
1758 (CHARC_CODE_POINT): New macro.
1759 (CHARC_COLUMNS): New macro.
1760 (CHARC_TO_CHAR): New inline function.
1761 (CHARC_EQ): New inline function.
1762 (CHARC_ASCII_EQ): New inline function.
1763 (CHARC_IS_SPACE): New inline function.
1764 (ASCII_TO_CHARC): New inline function.
1766 * char-ucs.h (encode_char_2): Deleted.
1767 (ENCODE_CHAR): Use `encode_char_1' again.
1768 (breakup_char_1): Likewise.
1769 (CHAR_TO_CHARC): New inline function.
1771 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
1773 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1775 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
1776 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
1777 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
1778 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
1779 (create_string_text_block): Use `CHARC_ASCII_EQ' and
1781 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
1783 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
1785 (x_output_display_block): Use `CHARC_CHARSET' and
1788 * redisplay-tty.c (tty_output_display_block): Use
1790 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
1792 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
1794 * insdel.c (find_charsets_in_charc_string): Use
1796 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
1797 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
1798 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
1799 (convert_charc_string_into_malloced_string): Likewise.
1801 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1803 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
1804 instead of <Emchar_dynarr *> for buf; use
1805 `convert_bufbyte_string_into_charc_dynarr' instead of
1806 `convert_bufbyte_string_into_emchar_dynarr'; use
1807 `find_charsets_in_charc_string' instead of
1808 `find_charsets_in_emchar_string'.
1811 - Include "character.h".
1812 (struct rune): New member `cglyph'; delete member `chr'.
1814 * redisplay.c (redisplay_text_width_charc_string): New function;
1815 delete `redisplay_text_width_emchar_string'.
1816 (rtw_charc_dynarr): New variable; renamed from
1817 `rtw_emchar_dynarr'.
1818 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
1819 `rtw_emchar_dynarr'; use
1820 `convert_bufbyte_string_into_charc_dynarr' instead of
1821 `convert_bufbyte_string_into_emchar_dynarr'; use
1822 `redisplay_text_width_charc_string' instead of
1823 `redisplay_text_width_emchar_string'.
1824 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
1825 instead of `rtw_emchar_dynarr'; use
1826 `convert_bufbyte_string_into_charc_dynarr' instead of
1827 `convert_bufbyte_string_into_emchar_dynarr'.
1828 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
1829 `redisplay_text_width_charc_string' instead of
1830 `redisplay_text_width_emchar_string'.
1831 (create_text_block): Modify for <struct rune> change.
1832 (generate_formatted_string_db): Likewise.
1833 (create_string_text_block): Likewise.
1834 (pixel_to_glyph_translation): Likewise.
1836 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
1837 instead of <const Emchar *>.
1838 (x_text_width): Likewise.
1839 (x_output_display_block): Use <Charc_dynarr *> instead
1840 <Emchar_dynarr *>; modify for <structure rune> change.
1841 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
1844 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
1845 <const Emchar *>; use `charc_string_displayed_columns' instead of
1846 `emchar_string_displayed_columns'.
1847 (tty_output_display_block): Use <Charc_dynarr *> instead of
1848 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
1849 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
1850 (tty_output_charc_dynarr_dynarr): New variable; renamed from
1851 `tty_output_emchar_dynarr_dynarr'.
1852 (tty_output_charc_dynarr): New function; delete
1853 `tty_output_charc_dynarr'.
1855 * redisplay-output.c (compare_runes): Modify for `struct rune'.
1856 (redisplay_output_layout): Use <Charc_dynarr *> instead of
1857 <Emchar_dynarr *> for buf; use
1858 `convert_bufbyte_string_into_charc_dynarr' instead of
1859 `convert_bufbyte_string_into_emchar_dynarr'.
1861 * frame.c (title_string_charc_dynarr): New variable; renamed from
1862 `title_string_emchar_dynarr'.
1863 (generate_title_string): Use `title_string_charc_dynarr' instead
1864 of `title_string_emchar_dynarr'; use
1865 `convert_charc_string_into_malloced_string' instead of
1866 `convert_emchar_string_into_malloced_string'.
1867 (init_frame): Use `title_string_charc_dynarr' instead of
1868 `title_string_emchar_dynarr'.
1871 - Include "character.h".
1872 (struct console_methods): Use <const Charc *> instead of <const
1873 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
1874 <Emchar_dynarr *> in output_string_method.
1876 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
1879 * console-stream.c (stream_text_width): Use <const Charc *>
1880 instead of <const Emchar *>.
1882 * character.h (Charc_dynarr): New type.
1884 * char-ucs.h (structure Charc): New structure; define new type
1887 * char-lb.h (DECODE_CHAR): New inline function.
1888 (encode_char_1): New inline function.
1889 (ENCODE_CHAR): New macro.
1890 (structure Charc): New structure; define new type `Charc'.
1892 * char-1byte.h (Vcharset_control_1): New macro.
1893 (Vcharset_latin_iso8859_1): New macro.
1894 (DECODE_CHAR): New inline function.
1895 (encode_char_1): New inline function.
1896 (ENCODE_CHAR): New macro.
1897 (structure Charc): New structure; define new type `Charc'.
1899 * insdel.c (find_charsets_in_charc_string): New function; delete
1900 `find_charsets_in_emchar_string'.
1901 (charc_string_displayed_columns): New function; delete
1902 `emchar_string_displayed_columns'.
1903 (convert_bufbyte_string_into_charc_dynarr): New function; delete
1904 `convert_bufbyte_string_into_emchar_dynarr'.
1905 (convert_charc_string_into_bufbyte_dynarr): New function; delete
1906 `convert_charc_string_into_bufbyte_dynarr'.
1907 (convert_charc_string_into_malloced_string): New function; delete
1908 `convert_charc_string_into_malloced_string'.
1910 * buffer.h (find_charsets_in_charc_string): New prototype; delete
1911 `find_charsets_in_emchar_string'.
1912 (charc_string_displayed_columns): New prototype; delete
1913 `emchar_string_displayed_columns'.
1914 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
1915 `convert_charc_string_into_bufbyte_dynarr'.
1916 (convert_charc_string_into_malloced_string): New prototype; delete
1917 `convert_charc_string_into_malloced_string'.
1919 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1921 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
1923 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1925 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
1927 * char-ucs.h: Use <short> for <Charset_ID>.
1929 * mule-charset.h, char-1byte.h: Use <unsigned char> for
1932 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1934 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1937 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1939 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
1941 (Qmorohashi_daikanwa): New variable.
1942 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
1943 for `morohashi-daikanwa' attribute.
1944 (Fget_char_attribute): Likewise.
1945 (Fput_char_attribute): Likewise.
1946 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
1947 has the same value of `ideograph-daikanwa'.
1948 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
1949 (vars_of_mule_charset): Setup
1950 `Vcharacter_morohashi_daikanwa_table'.
1952 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1954 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
1956 (add_charset_to_list_mapper): Add `key' instead of
1957 `XCHARSET_NAME (value)' to return aliases.
1959 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1961 * mule-charset.c (Vcharacter_ideographic_radical_table): New
1963 (Vcharacter_ideographic_strokes_table): New variable.
1964 (Qideographic_radical): New variable.
1965 (Qideographic_strokes): New variable.
1966 (Fchar_attribute_alist): Use
1967 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
1968 attribute; use `Vcharacter_ideographic_strokes_table' for
1969 `ideographic-strokes' attribute.
1970 (Fget_char_attribute): Likewise.
1971 (Fput_char_attribute): Likewise.
1972 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
1973 `ideographic-strokes'.
1974 (vars_of_mule_charset): Setup
1975 `Vcharacter_ideographic_radical_table' and
1976 `Vcharacter_ideographic_strokes_table'.
1978 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1980 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
1981 (Qtotal_strokes): New variable.
1982 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
1983 `total-strokes' attribute.
1984 (Fget_char_attribute): Likewise.
1985 (Fput_char_attribute): Likewise.
1986 (syms_of_mule_charset): Add new symbol `total-strokes'.
1987 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
1989 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1991 * mule-charset.c (Vcharacter_decomposition_table): New variable.
1992 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
1994 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
1995 `->decomposition' attribute.
1996 (Fput_char_attribute): Likewise.
1997 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
1999 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2001 * mule-charset.c (decoding_table_check_elements): New function.
2002 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
2004 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2006 * mule-charset.c (Fset_charset_mapping_table): Use
2007 `put_char_ccs_code_point'.
2009 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2011 * mule-charset.c (decoding_table_put_char): New inline function.
2012 (put_char_ccs_code_point): Use `decoding_table_put_char'.
2014 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2016 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
2017 (XCHARSET_BYTE_SIZE): New macro.
2018 (decoding_table_remove_char): New inline function.
2019 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
2020 `decoding_table_remove_char'.
2021 (remove_char_ccs): Use `decoding_table_remove_char'.
2022 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
2024 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2026 * mule-charset.c (Vcharacter_name_table): New variable.
2027 (Qname): New variable.
2028 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
2030 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
2031 `Vcharacter_name_table' for `name' attribute.
2032 (Fremove_char_attribute): Use function `remove_char_ccs'.
2033 (put_char_ccs_code_point): New function.
2034 (remove_char_ccs): New function.
2035 (syms_of_mule_charset): Add new symbol `name'.
2036 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
2038 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2040 * mule-charset.c (make_byte_table): Add new argument `older'.
2041 (make_char_id_table): Likewise.
2042 (copy_char_id_table): Comment out because it is not used.
2043 (put_char_id_table): Modify for `make_byte_table'.
2044 (Fput_char_attribute): Make encoding_table as older object;
2045 inherit older bit of `Vcharacter_composition_table'.
2046 (mark_charset): Don't mark `cs->encoding_table'.
2047 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
2048 normal object; make `Vcharacter_composition_table' as an older
2049 object; delete staticpro for `Vcharacter_composition_table'; make
2050 `Vcharacter_variant_table' as a normal object.
2052 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
2053 (mark_object): Don't check older object in UTF-2000.
2055 * lrecord.h (struct lrecord_header): Add new member `older' in
2057 (set_lheader_implementation): Setup `SLI_header->older' in
2059 (set_lheader_older_implementation): New macro in UTF-2000.
2060 (OLDER_RECORD_P): New macro in UTF-2000.
2061 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
2062 (alloc_older_lcrecord): New prototype in UTF-2000.
2063 (alloc_older_lcrecord_type): New macro in UTF-2000.
2065 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2067 * mule-charset.c (byte_table_description): Use
2068 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
2069 (char_id_table_description): Delete bogus `, 1'.
2070 (Fget_char_attribute): Refer encoding_table of each coded-charset
2071 to get value of coded-charset attribute of a character.
2072 (Fput_char_attribute): Use `make_older_vector' instead of
2073 `make_vector'; use encoding_table of each coded-charset to store
2074 value of coded-charset attribute of a character.
2075 (Fremove_char_attribute): Use encoding_table of each coded-charset
2076 to store value of coded-charset attribute of a character.
2077 (mark_charset): Mark `cs->encoding_table'; don't mark
2078 `cs->decoding_table'.
2079 (charset_description): Add description of new member
2081 (make_charset): Initialize `encoding_table'.
2083 * char-ucs.h (struct Lisp_Charset): Add new member
2085 (CHARSET_ENCODING_TABLE): New macro.
2086 (XCHARSET_ENCODING_TABLE): New macro.
2087 (charset_code_point): New implementation.
2088 (encode_char_1): Likewise.
2090 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
2091 (disksave_object_finalization_1): Call finalizers of
2092 `all_older_lcrecords' in UTF-2000.
2093 (make_older_vector): New function in UTF-2000.
2094 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
2097 * lisp.h (make_older_vector): New prototype in UTF-2000.
2099 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2101 * lrecord.h (enum lrecord_type): Rename
2102 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
2104 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
2105 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
2106 `get_char_code_table'.
2108 * mule-charset.c (mark_char_id_table): Renamed from
2109 `mark_char_code_table'.
2110 (char_id_table_equal): Renamed from `char_code_table_equal'.
2111 (char_id_table_hash): Renamed from `char_code_table_hash'.
2112 (make_char_id_table): Renamed from `make_char_code_table'.
2113 (copy_char_id_table): Renamed from `copy_char_code_table'.
2114 (get_char_id_table): Renamed from `get_char_code_table'.
2115 (put_char_id_table): Renamed from `put_char_code_table'.
2116 (to_char_id): Renamed from `to_char_code'.
2118 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
2119 `Lisp_Char_Code_Table'.
2120 (char_id_table): Renamed from `char_code_table'.
2121 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
2122 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
2123 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
2124 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
2125 (get_char_id_table): Renamed from `get_char_code_table'.
2127 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2129 * lrecord.h (enum lrecord_type): Rename
2130 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
2132 * mule-charset.c (mark_byte_table): Renamed from
2133 `mark_char_byte_table'.
2134 (byte_table_equal): Renamed from `char_byte_table_equal'.
2135 (byte_table_hash): Renamed from `byte_table_hash'.
2136 (make_byte_table): Renamed from `make_byte_table'.
2137 (copy_byte_table): Renamed from `copy_char_byte_table'.
2139 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
2140 `Lisp_Char_Byte_Table'.
2141 (byte_table): Renamed from `char_byte_table'.
2142 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
2143 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
2144 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
2145 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
2147 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2149 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
2150 (dfc_convert_to_internal_format): Likewise.
2152 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2153 * text-coding.c (Fcoding_system_alias_p): New function.
2154 * text-coding.c (Fcoding_system_aliasee): New function.
2155 * text-coding.c (append_suffix_to_symbol): New function.
2156 * text-coding.c (dangling_coding_system_alias_p): New function.
2157 * text-coding.c (Ffind_coding_system):
2158 * text-coding.c (Fcopy_coding_system):
2159 * text-coding.c (encode_coding_no_conversion):
2160 * text-coding.c (syms_of_file_coding):
2161 * text-coding.c (vars_of_file_coding):
2162 Rewrite coding system alias code.
2163 Allow nested aliases, like symbolic links.
2164 Allow redefinition of coding system aliases.
2165 Prevent existence of dangling coding system aliases.
2166 Eliminate convert_to_external_format.
2167 Eliminate convert_to_internal_format.
2169 * text-coding.c: Change enum eol_type to eol_type_t.
2171 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2173 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2174 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2176 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2177 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2179 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2181 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2182 `ideograph-daikanwa'.
2184 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2185 (Vcharset_ucs_bmp): Likewise.
2186 (Vcharset_mojikyo): Add new extern variable definition.
2187 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2188 (Vcharset_latin_iso8859_3): Likewise.
2189 (Vcharset_latin_iso8859_4): Likewise.
2190 (Vcharset_latin_iso8859_9): Likewise.
2191 (Vcharset_latin_viscii_lower): Likewise.
2192 (Vcharset_latin_viscii_upper): Likewise.
2193 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2194 `mojikyo' code-point is used to decode.
2195 (encode_char_2): New function [to convert `mojikyo' code-point to
2196 Mojikyo font encoding].
2197 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2198 (breakup_char_1): Likewise.
2199 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2201 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2203 * text-coding.c (Fmake_coding_system): Add document about
2204 `disable-composition' property.
2206 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2208 * text-coding.c (Qdisable_composition): New variable; delete
2210 (Fmake_coding_system): Add new property `disable-composite';
2211 delete property `composite'.
2212 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2213 instead of `!CODING_SYSTEM_COMPOSITE'.
2214 (syms_of_file_coding): Add new symbol `disable-composition';
2215 delete symbol `composite'.
2217 * file-coding.h (struct Lisp_Coding_System): Add
2218 `disable_composition'; delete `enable_composition'.
2219 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2220 `CODING_SYSTEM_COMPOSITE'.
2221 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2222 `XCODING_SYSTEM_COMPOSITE'.
2224 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2226 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2229 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2231 * text-coding.c (Qcomposite): New variable.
2232 (Fmake_coding_system): Add new property `composite'.
2233 (struct decoding_stream): Add `combined_char_count',
2234 `combined_chars' and `combining_table' in UTF-2000.
2235 (COMPOSE_FLUSH_CHARS): New macro.
2236 (COMPOSE_ADD_CHAR): New macro.
2237 (reset_decoding_stream): Reset `str->combined_char_count' and
2238 `str->combining_table' in UTF-2000.
2239 (decode_coding_iso2022): Modify for character-decomposition.
2240 (syms_of_file_coding): Add new symbol `composite'.
2242 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2244 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2245 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2246 of `Vcharacter_composition_table' if `->decomposition' property
2248 (Qlatin_tcvn5712): New variable.
2249 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2250 (complex_vars_of_mule_charset): Add new coded-charset
2253 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2255 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2257 * file-coding.h (struct Lisp_Coding_System): Add
2258 `enable_composition'.
2259 (CODING_SYSTEM_COMPOSITE): New macro.
2260 (XCODING_SYSTEM_COMPOSITE): New macro.
2262 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2264 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2266 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2268 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2269 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2271 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2273 * mule-charset.c (Vcharset_mojikyo): New variable.
2274 (Fdefine_char): Don't use coded-charset which does not have
2275 non-builtin character range to allocate character-id.
2276 (Qmojikyo): New variable.
2277 (syms_of_mule_charset): Add new symbol `mojikyo'.
2278 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2280 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2281 (LEADING_BYTE_MOJIKYO): New macro.
2282 (MIN_CHAR_MOJIKYO): New macro.
2283 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2284 (MAX_CHAR_MOJIKYO): New macro.
2286 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2288 * mule-charset.c (remove_char_attribute): Fixed.
2290 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2292 * mule-charset.c (remove_char_attribute): New function.
2293 (Fremove_char_attribute): New function.
2294 (encode_builtin_char_1): Comment out builtin-support for
2295 greek-iso8859-7 and cyrillic-iso8859-5.
2296 (Fdecode_char): Check `code' is an integer.
2297 (syms_of_mule_charset): Add `remove-char-attribute'.
2298 (MIN_CHAR_GREEK): Deleted.
2299 (MAX_CHAR_GREEK): Likewise.
2300 (MIN_CHAR_CYRILLIC): Likewise.
2301 (MAX_CHAR_CYRILLIC): Likewise.
2302 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
2303 MAX_CHAR_GREEK for `greek-iso8859-7'.
2305 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
2306 (MAX_CHAR_GREEK): Likewise.
2307 (MIN_CHAR_CYRILLIC): Likewise.
2308 (MAX_CHAR_CYRILLIC): Likewise.
2310 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
2312 * mule-charset.c (Fdefine_char): Fix problem when new code-point
2313 format is used without `ucs' property.
2314 (Fdecode_char): Fix problem with GR representation.
2315 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
2316 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
2318 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2320 * mule-charset.c (make_builtin_char): New function.
2321 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
2322 (Fset_charset_mapping_table): Modify for new representation of
2324 (Fdecode_char): New function.
2325 (syms_of_mule_charset): Add new builtin function `decode-char' in
2328 * char-ucs.h (make_builtin_char): New prototype.
2329 (DECODE_CHAR): New inline function.
2330 (MAKE_CHAR): Use `DECODE_CHAR'.
2332 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
2334 * text-coding.c (parse_charset_conversion_specs): Use
2335 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
2337 (iso2022_designate): Likewise.
2339 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
2340 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
2342 * mule-charset.c (Vcharset_ucs): New variable.
2343 (print_charset): Change design; use `CHARSET_CHARS' and
2344 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
2345 (make_charset): Change signature to specify `chars' and
2346 `dimension' instead of `type'.
2347 (range_charset_code_point): Modify for 256^n-set.
2348 (encode_builtin_char_1): Encode as `ucs' in default.
2349 (Fmake_charset): Modify for `make_charset'.
2350 (Fmake_reverse_direction_charset): Likewise.
2351 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
2353 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
2356 * char-ucs.h (Vcharset_ucs): New variable.
2357 (LEADING_BYTE_UCS): New macro.
2358 (struct Lisp_Charset): Delete `type'; change type of `dimension'
2359 and `chars' to `unsigned short' from `unsigned int'.
2360 (CHARSET_TYPE): Deleted.
2361 (XCHARSET_TYPE): Deleted.
2363 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
2365 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
2367 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
2368 (ENCODE_CHAR): New macro.
2370 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2372 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2373 to 0.14 (Kawachi-Katakami).
2375 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2377 * text-coding.c (char_encode_shift_jis): Modify for
2378 `charset_code_point'.
2379 (char_encode_iso2022): Likewise.
2381 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
2382 (integer) instead of list of <Lisp_Object>s (integers) as the
2383 format of code-point of a coded-charset.
2384 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2385 (encode_builtin_char_1): New function; delete
2386 `split_builtin_char'.
2387 (charset_code_point): Return <int> instead of <Lisp_Object>.
2388 (Fsplit_char): Don't use `SPLIT_CHAR'.
2390 * char-ucs.h (encode_builtin_char_1): New prototype; delete
2391 prototype for `split_builtin_char'.
2392 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2393 (charset_code_point): Likewise.
2394 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
2395 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
2397 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
2399 * mule-charset.c (complex_vars_of_mule_charset): Don't define
2400 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
2402 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2404 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
2406 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
2407 (MAX_CHAR_OBS_94x94): Deleted.
2409 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2411 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
2413 * char-ucs.h (MAX_CHAR_BMP): New macro.
2415 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2417 * text-coding.c: Sync with r21-2-24.
2419 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2421 * file-coding.c: Modify for UTF-2000.
2423 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2425 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2428 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2430 * mule-charset.c (split_builtin_char): Delete builtin support for
2431 `katakana-jisx0201'.
2432 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
2433 BMP area in builtin representation.
2435 * char-ucs.h (MAKE_CHAR): Delete builtin support for
2436 `Vcharset_katakana_jisx0201'.
2438 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2440 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
2441 (Qisolated): New variable.
2442 (Qinitial): New variable.
2443 (Qmedial): New variable.
2444 (Qfinal): New variable.
2445 (Qvertical): New variable.
2446 (Qsmall): New variable.
2447 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
2448 `Qvertical' and `Qsmall'.
2449 (Qmojikyo_pj_[1 .. 21]): New variable.
2450 (syms_of_mule_charset): Add new symbols `isolated', `initial',
2451 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
2452 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
2455 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2457 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
2458 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
2459 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
2461 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2463 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
2464 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
2466 (Qjapanese_jisx0208_1990): New variable.
2467 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
2468 (complex_vars_of_mule_charset): Add new coded-charset
2469 `japanese-jisx0208-1990'.
2471 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
2472 (MIN_CHAR_JIS_X0208_1990): New macro.
2473 (MAX_CHAR_JIS_X0208_1990): New macro.
2475 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2477 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
2478 coded-charset is not found.
2480 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2482 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
2483 (Fdefine_char): Use `Fmake_char'.
2485 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2487 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
2488 (Vcharset_hiragana_jisx0208): Deleted.
2489 (Vcharset_katakana_jisx0208): Deleted.
2490 (Qideograph_daikanwa): New variable.
2491 (Qhiragana_jisx0208): Deleted.
2492 (Qkatakana_jisx0208): Deleted.
2493 (split_builtin_char): Split `ideograph-daikanwa'.
2494 (Fsplit_char): New implementation for UTF-2000.
2495 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
2496 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
2497 (complex_vars_of_mule_charset): Add new coded-charset
2498 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
2499 `katakana-jisx0208'.
2501 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
2502 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
2503 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
2504 (MIN_CHAR_DAIKANWA): New macro.
2505 (MAX_CHAR_DAIKANWA): New macro.
2507 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2509 * data.c (Fstring_to_number): Don't recognize floating point if
2512 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2514 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
2516 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2518 * mule-charset.c (Qsquare): New variable.
2519 (to_char_code): Add `Qsquare'.
2520 (syms_of_mule_charset): Add new symbol `square'.
2522 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2524 * mule-charset.c (Qcircle): New variable.
2525 (to_char_code): Add `Qcircle'.
2526 (syms_of_mule_charset): Add new symbol `circle'.
2528 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2530 * mule-charset.c (Qfont): New variable.
2531 (to_char_code): Add `Qfont'.
2532 (syms_of_mule_charset): Add new symbol `font'.
2534 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2536 * mule-charset.c (Qsub): New variable.
2537 (to_char_code): Add `Qsub'.
2538 (syms_of_mule_charset): Add new symbol `sub'.
2540 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2542 * mule-charset.c (Fput_char_attribute): Convert each element of
2543 VALUE to GL position if ATTRIBUTE is a GR-set,
2545 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2547 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
2548 coded-charset is a GR-set.
2550 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2552 * mule-charset.c (Fput_char_attribute): Check each element of
2553 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
2555 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2557 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
2559 (Qethiopic_ucs): New variable in UTF-2000.
2560 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
2561 (complex_vars_of_mule_charset): Add new coded-charset
2562 `ethiopic-ucs' in UTF-2000.
2564 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
2565 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2567 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2569 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
2571 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2573 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
2576 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2578 * mule-charset.c (Vcharacter_variant_table): New variable.
2579 (Q_ucs): New variable.
2580 (Fchar_variants): New function.
2581 (Fput_char_attribute): Register `->ucs' value to
2582 `Vcharacter_variant_table'.
2583 (syms_of_mule_charset): Add new function `char-variants' and new
2585 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
2587 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2589 * mule-charset.c (get_char_code_table): Allow negative character
2591 (put_char_code_table): Likewise.
2592 (Vcharacter_composition_table): New variable.
2593 (Q_decomposition): New variable.
2594 (Qwide): New variable.
2595 (Qnarrow): New variable.
2596 (Qcompat): New variable.
2597 (QnoBreak): New variable.
2598 (Qsuper): New variable.
2599 (Qfraction): New variable.
2600 (to_char_code): New function.
2601 (Fget_composite_char): New function.
2602 (Fput_char_attribute): Register `->decomposition' value to
2603 `Vcharacter_composition_table'.
2604 (syms_of_mule_charset): Add new function `get-composite-char', new
2605 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
2606 `super' and `fraction'.
2607 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
2609 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2611 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
2612 character; copy the return value.
2614 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2616 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
2618 * mule-charset.c (range_charset_code_point): Must use make_int.
2619 (split_builtin_char): New function.
2621 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2623 * mule-charset.c (char_byte_table): Change name from
2624 "char-code-table" to "char-byte-table".
2625 (mark_char_code_table): New function.
2626 (char_code_table_equal): New function.
2627 (char_code_table_hash): New function.
2628 (char_code_table_description): New constant.
2629 (char_code_table): New type.
2630 (make_char_code_table): New function.
2631 (copy_char_code_table): New function.
2632 (get_char_code_table): Modify for `char_code_table' type.
2633 (put_char_code_table): Likewise.
2634 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
2637 * char-ucs.h (char_code_table): New type.
2638 (XCHAR_CODE_TABLE): New macro.
2639 (XSETCHAR_CODE_TABLE): New macro.
2640 (CHAR_CODE_TABLE_P): New macro.
2641 (GC_CHAR_CODE_TABLE_P): New macro.
2642 (struct Lisp_Char_Code_Table): New structure.
2644 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2646 * mule-charset.c (Fmake_charset): Setup byte_offset for
2649 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
2651 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
2654 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2656 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
2659 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2661 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
2662 charset, it is regarded as a charset.
2663 (put_char_attribute): New function in UTF-2000.
2664 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
2665 charset, mapping-table of the charset is modified.
2666 (Fdefine_char): New function in UTF-2000.
2667 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
2668 `Fput_char_attribute'.
2669 (syms_of_mule_charset): Add new function `define-char' and new
2670 symbol `ucs' in UTF-2000.
2671 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
2673 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2675 * mule-charset.c (Fcharset_name): Define `byte_offset' in
2676 non-UTF-2000 configuration.
2678 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2680 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
2681 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
2683 * mule-charset.c (mark_charset): `cs->encoding_table' has been
2685 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
2686 (Fset_charset_mapping_table): Likewise.
2688 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
2689 (CHARSET_ENCODING_TABLE): Delete.
2690 (XCHARSET_ENCODING_TABLE): Delete.
2691 (charset_code_point): New interface.
2693 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2695 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
2696 instead of `charset_get_byte1' and `charset_get_byte2'.
2698 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
2699 (charset_get_byte2): Deleted.
2701 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2703 * char-ucs.h (SPLIT_CHAR): New inline function.
2704 (breakup_char_1): Use `SPLIT_CHAR'.
2706 * mule-charset.c (range_charset_code_point): New function.
2707 (charset_code_point): New function.
2709 * char-ucs.h (range_charset_code_point): New interface.
2710 (breakup_char_1): Use `range_charset_code_point'.
2712 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2714 * mule-charset.c (Fmake_charset): Delete unused local variable
2717 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
2718 (breakup_char_1): Find a charset and code-point in
2719 `Vcharacter_attribute_table'.
2721 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2723 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2726 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2728 * mule-charset.c (Vcharacter_attribute_table): New variable.
2729 (Fchar_attribute_alist): New function.
2730 (Fget_char_attribute): New function.
2731 (Fput_char_attribute): New function.
2732 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
2734 (syms_of_mule_charset): Add new function `char-attribute-alist',
2735 `get-char-attribute' and `put-char-attribute'.
2736 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
2738 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
2740 * mule-charset.c (Fmake_charset): Just use
2741 `get_unallocated_leading_byte'.
2743 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
2744 sets; don't use final-byte based number for private sets.
2746 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2748 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
2751 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2753 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2756 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2758 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
2759 of `CHAR_LEADING_BYTE' in UTF-2000.
2761 * insdel.c (find_charsets_in_bufbyte_string): Use
2762 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2763 (find_charsets_in_emchar_string): Likewise.
2765 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
2766 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2768 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
2769 (CHAR_CHARSET_ID): New macro.
2771 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2773 * chartab.c (get_char_table): Don't use type `Charset_ID' for
2774 charset-id - MIN_LEADING_BYTE.
2775 (put_char_table): Likewise.
2777 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2779 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
2780 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
2781 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
2782 (CHARSET_ID_OFFSET): New macro.
2783 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
2784 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
2785 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
2786 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2788 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2790 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
2791 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
2792 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
2793 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
2794 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
2796 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2798 * mule-charset.c (next_allocated_leading_byte): New variable in
2800 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
2801 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
2802 (get_unallocated_leading_byte): Simply use
2803 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
2804 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
2807 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
2808 (MAX_LEADING_BYTE_PRIVATE): New macro.
2809 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
2810 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
2812 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2814 * mule-charset.c (Fmake_charset): Allocate final-byte based
2815 charset-id for 94-set, 96-set and 94x94-set.
2817 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2819 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
2821 (Fmake_charset): Likewise.
2822 (complex_vars_of_mule_charset): Modify the font registry of
2823 `ucs-bmp' not to match `Ethiopic-Unicode'.
2825 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2827 * mule-charset.c (complex_vars_of_mule_charset): Add font
2828 registory of `ucs-bmp'.
2830 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2832 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
2833 coded-charsets in `default-coded-charset-priority-list' when
2834 breaking up a character.
2836 * mule-charset.c (Vcharset_latin_viscii): New variable.
2837 (Qlatin_viscii): New variable.
2838 (make_charset): Don't use `decoding_table'.
2839 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
2841 (Fset_charset_mapping_table): New implementation.
2842 (syms_of_mule_charset): Add new symbol `latin-viscii'.
2843 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
2844 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
2845 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
2846 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
2847 charset `latin_viscii'.
2849 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
2850 (CHARSET_TYPE_94X94): Change to 1 from 2.
2851 (CHARSET_TYPE_96): Change to 2 from 1.
2852 (CHARSET_TYPE_128): New macro.
2853 (CHARSET_TYPE_128X128): Change to 5 from 4.
2854 (CHARSET_TYPE_256): New macro.
2855 (CHARSET_TYPE_256X256): Change to 7 from 5.
2856 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
2858 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2860 * text-coding.c (char_encode_shift_jis): Refer
2861 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
2862 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
2864 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
2865 (char_byte_table_equal): New function in UTF-2000.
2866 (char_byte_table_hash): New function in UTF-2000.
2867 (char_byte_table_description): New constant in UTF-2000.
2868 (char_byte_table): New type in UTF-2000.
2869 (make_char_byte_table): New function in UTF-2000.
2870 (copy_char_byte_table): New function in UTF-2000.
2871 (make_char_code_table): New macro in UTF-2000.
2872 (get_char_code_table): New function in UTF-2000.
2873 (put_char_code_table): New function in UTF-2000.
2874 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2875 (charset_description): Add setting in UTF-2000.
2876 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
2877 `CHARSET_TO_BYTE1_TABLE(cs)'.
2878 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
2879 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
2880 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
2881 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
2882 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
2883 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
2884 `CHARSET_TO_BYTE2_TABLE(cs)'.
2886 * char-ucs.h (char_byte_table): New type.
2887 (XCHAR_BYTE_TABLE): New macro.
2888 (XSETCHAR_BYTE_TABLE): New macro.
2889 (CHAR_BYTE_TABLE_P): New macro.
2890 (GC_CHAR_BYTE_TABLE_P): New macro.
2891 (struct Lisp_Char_Byte_Table): New structure.
2892 (get_char_code_table): New interface.
2893 (Emchar_to_byte_table): Deleted.
2894 (get_byte_from_character_table): Deleted.
2895 (struct Lisp_Charset): Add `encoding_table'; delete
2896 `to_byte1_table' and `to_byte2_table'.
2897 (CHARSET_ENCODING_TABLE): New macro.
2898 (CHARSET_TO_BYTE1_TABLE): Deleted.
2899 (CHARSET_TO_BYTE2_TABLE): Deleted.
2900 (XCHARSET_ENCODING_TABLE): New macro.
2901 (XCHARSET_TO_BYTE1_TABLE): Deleted.
2902 (XCHARSET_TO_BYTE2_TABLE): Deleted.
2904 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2906 * mule-charset.c (syms_of_mule_charset): Delete charset alias
2907 `vietnamese-viscii-*'.
2909 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2911 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
2912 (Qvietnamese_viscii_upper): New variable.
2913 (Fdefine_charset_alias): New function.
2914 (syms_of_mule_charset): Add new function `define-charset-alias'.
2915 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
2916 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
2919 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
2921 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
2922 (MAX_CHAR_OBS_94x94): New macro.
2923 (breakup_char_1): Support obsolete XEmacs-UCS private code space
2926 * mule-charset.c (put_byte_from_character_table): Change unit size
2928 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
2930 (Fmake_reverse_direction_charset): Modify dummy argument of
2931 `make_charset' for non-UTF-2000 environment.
2933 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
2935 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
2937 * mule-charset.c (destroy_byte_from_character_table): New macro.
2938 (latin_jisx0201_to_ucs): Deleted.
2939 (latin_iso8859_2_to_ucs): Deleted.
2940 (latin_iso8859_3_to_ucs): Deleted.
2941 (latin_iso8859_4_to_ucs): Deleted.
2942 (latin_iso8859_9_to_ucs): Deleted.
2943 (latin_viscii_lower_to_ucs): Deleted.
2944 (latin_viscii_upper_to_ucs): Deleted.
2945 (mark_charset): Mark `cs->decoding_table'.
2946 (Fcharset_mapping_table): Fix DOC-string.
2947 (Fset_charset_mapping_table): New function.
2948 (syms_of_mule_charset): Add nwe function
2949 `set-charset-mapping-table'.
2950 (complex_vars_of_mule_charset): Don't setup and use
2953 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
2955 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
2958 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
2960 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
2961 (Vcharset_katakana_jisx0208): New variable.
2962 (Qhiragana_jisx0208): New variable.
2963 (Qkatakana_jisx0208): New variable.
2964 (make_charset): Add new argument `byte_offset'.
2965 (charset_get_byte1): Modify for new coded-charset definition; use
2966 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2967 `XCHARSET_BYTE_OFFSET'.
2968 (Fmake_charset): Modify for `make_charset'.
2969 (Fmake_reverse_direction_charset): Likewise.
2970 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
2971 `katakana-jisx0208'.
2972 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
2973 `.' in font registry of charset `katakana-jisx0201',
2974 `latin-jisx0201', `vietnamese-viscii-lower' and
2975 `vietnamese-viscii-upper'; modify DOC-string of charset
2976 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
2977 registry of charset `japanese-jisx0208' not to use font for JIS
2978 X0208:1990; add new charset `hiragana-jisx0208' and
2979 `katakana-jisx0208'.
2981 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
2982 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
2983 (struct Lisp_Charset): Add `byte_offset'.
2984 (CHARSET_BYTE_OFFSET): New macro.
2985 (XCHARSET_UCS_MIN): New macro.
2986 (XCHARSET_UCS_MAX): New macro.
2987 (XCHARSET_CODE_OFFSET): New macro.
2988 (XCHARSET_BYTE_OFFSET): New macro.
2989 (MIN_CHAR_HIRAGANA): New macro.
2990 (MAX_CHAR_HIRAGANA): New macro.
2991 (MIN_CHAR_KATAKANA): New macro.
2992 (MAX_CHAR_KATAKANA): New macro.
2993 (MAKE_CHAR): Modify for new coded-charset definition; use
2994 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2995 `XCHARSET_BYTE_OFFSET'.
2997 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2999 * mule-charset.c (CHAR96): Deleted.
3000 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
3002 (latin_iso8859_2_to_ucs): Likewise.
3003 (latin_iso8859_3_to_ucs): Likewise.
3004 (latin_iso8859_4_to_ucs): Likewise.
3005 (latin_iso8859_9_to_ucs): Likewise.
3006 (latin_viscii_lower_to_ucs): Likewise.
3007 (latin_viscii_upper_to_ucs): Likewise.
3008 (latin_tcvn5712_to_ucs): Commented out.
3009 (make_charset): Change type of argument `decoding_table' from
3010 <Emchar*> to <Lisp_Object> [vector of characters].
3011 (Fmake_charset): Modify for `make_charset'.
3012 (Fmake_reverse_direction_charset): Likewise.
3013 (Fcharset_mapping_table): New function in UTF-2000.
3014 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
3016 (complex_vars_of_mule_charset): Modify for type change of
3017 `*_to_ucs'; modify for `make_charset'.
3019 * char-ucs.h (struct Lisp_Charset): Change type of
3020 `decoding_table' from <Emchar*> to <Lisp_Object>.
3021 (MAKE_CHAR): Modify for new specification of `decoding_table'.
3023 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3025 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
3026 error with non-UTF-2000-Mule.
3028 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
3030 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
3032 (Vcharset_chinese_cns11643_4): Likewise.
3033 (Vcharset_chinese_cns11643_5): Likewise.
3034 (Vcharset_chinese_cns11643_6): Likewise.
3035 (Vcharset_chinese_cns11643_7): Likewise.
3036 (Qchinese_cns11643_3): Likewise.
3037 (Qchinese_cns11643_4): Likewise.
3038 (Qchinese_cns11643_5): Likewise.
3039 (Qchinese_cns11643_6): Likewise.
3040 (Qchinese_cns11643_7): Likewise.
3041 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
3042 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3043 and `chinese-cns11643-7' to lisp/mule/chinese.el.
3044 (complex_vars_of_mule_charset): Likewise.
3046 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3048 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
3050 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
3051 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
3053 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3055 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
3057 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
3058 (breakup_char_1): Likewise.
3060 * text-coding.c (char_encode_iso2022): Keep designated charsets if
3061 one of them includes the specified character.
3063 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3065 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
3067 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3069 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
3071 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3073 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
3074 definition for non-UTF-2000 Mule.
3075 (latin_iso8859_3_to_ucs): Likewise.
3076 (latin_iso8859_4_to_ucs): Likewise.
3077 (latin_iso8859_9_to_ucs): Likewise.
3078 (latin_jisx0201_to_ucs): Likewise.
3079 (MIN_CHAR_THAI): Likewise.
3080 (MAX_CHAR_THAI): Likewise.
3081 (MIN_CHAR_GREEK): Likewise.
3082 (MAX_CHAR_GREEK): Likewise.
3083 (MIN_CHAR_HEBREW): Likewise.
3084 (MAX_CHAR_HEBREW): Likewise.
3085 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
3086 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
3087 (MIN_CHAR_CYRILLIC): Likewise.
3088 (MAX_CHAR_CYRILLIC): Likewise.
3090 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3092 * char-ucs.h (breakup_char_1): Use
3093 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
3094 thai-tis620 and katakana-jisx0201 area.
3096 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3098 * char-ucs.h (breakup_char_1): Use
3099 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
3102 * text-coding.c (reset_encoding_stream): Fixed.
3103 (char_encode_ucs4): Delete `& 255'.
3105 * char-ucs.h (breakup_char_1): Use
3106 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
3108 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3110 * file-coding.c (Fmake_coding_system): Don't set up
3111 `codesys->fixed.size'.
3112 (encode_coding_no_conversion): Don't refer
3113 `str->codesys->fixed.size'.
3115 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3117 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
3118 (latin_a_char_to_byte1): Deleted.
3119 (latin_a_char_to_byte2): Deleted.
3121 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3123 * mule-charset.c (make_charset): Add new argument `ucs_min',
3124 `ucs_max' and `code_offset'.
3125 (charset_get_byte1): New implementation [delete specific charset
3126 depended implementations].
3127 (Fmake_charset): Modify for `make_charset'.
3128 (Fmake_reverse_direction_charset): Likewise.
3129 (complex_vars_of_mule_charset): Likewise.
3131 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
3133 (CHARSET_UCS_MIN): New macro.
3134 (CHARSET_UCS_MAX): New macro.
3135 (CHARSET_CODE_OFFSET): New macro.
3136 (MAKE_CHAR): Delete charset depended definitions [except
3139 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3141 * char-ucs.h (breakup_char_1): Use
3142 `Vdefault_coded_charset_priority_list' for C0-Controls,
3143 Basic-Latin, C1-Controls and Latin-1-Supplement area.
3145 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3147 * char-ucs.h (charset_get_byte1): New function.
3148 (XCHARSET_GET_BYTE1): Deleted.
3149 (charset_get_byte2): New function.
3150 (XCHARSET_GET_BYTE2): Deleted.
3151 (Vdefault_coded_charset_priority_list): New external variable.
3152 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3153 `Vdefault_preferred_coded_charset_list'.
3155 * mule-charset.c (charset_get_byte1): New function.
3156 (charset_get_byte2): New function.
3157 (Vdefault_coded_charset_priority_list): New variable.
3158 (vars_of_mule_charset): Add new variable
3159 `default-coded-charset-priority-list'.
3161 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3163 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3164 (XCHARSET_GET_BYTE2): New inline function.
3165 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3166 `XCHARSET_GET_BYTE2'.
3168 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3170 * mule-charset.c (make_charset): Initialize
3171 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3172 NULL if table is not defined.
3174 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3176 * text-coding.c (char_encode_shift_jis): Use
3177 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3178 `ucs_to_latin_jisx0201'.
3180 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3181 (ucs_to_latin_iso8859_2): Deleted.
3182 (ucs_to_latin_iso8859_3): Deleted.
3183 (ucs_to_latin_iso8859_4): Deleted.
3184 (ucs_to_latin_iso8859_9): Deleted.
3185 (ucs_to_latin_viscii_lower): Deleted.
3186 (ucs_to_latin_viscii_upper): Deleted.
3187 (ucs_to_latin_tcvn5712): Deleted.
3188 (make_charset): Add new argument `decoding_table'; set up
3189 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3190 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3191 `decoding_table' is defined in UTF-2000.
3192 (Fmake_charset): Modify for `make_charset'.
3193 (Fmake_reverse_direction_charset): Likewise.
3194 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3195 and `GENERATE_96_SET'.
3197 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3198 (ucs_to_latin_jisx0201): Deleted.
3199 (latin_iso8859_2_to_ucs): Deleted.
3200 (ucs_to_latin_iso8859_2): Deleted.
3201 (latin_iso8859_3_to_ucs): Deleted.
3202 (ucs_to_latin_iso8859_3): Deleted.
3203 (latin_iso8859_4_to_ucs): Deleted.
3204 (ucs_to_latin_iso8859_4): Deleted.
3205 (latin_iso8859_9_to_ucs): Deleted.
3206 (ucs_to_latin_iso8859_9): Deleted.
3207 (latin_viscii_lower_to_ucs): Deleted.
3208 (ucs_to_latin_viscii_lower): Deleted.
3209 (latin_viscii_upper_to_ucs): Deleted.
3210 (ucs_to_latin_viscii_upper): Deleted.
3211 (struct Lisp_Charset): Renamed `encoding_table' to
3212 `to_byte1_table'; add `to_byte2_table'.
3213 (CHARSET_DECODING_TABLE): New macro.
3214 (CHARSET_TO_BYTE1_TABLE): New macro.
3215 (CHARSET_TO_BYTE2_TABLE): New macro.
3216 (XCHARSET_DECODING_TABLE): New macro.
3217 (XCHARSET_TO_BYTE1_TABLE): New macro.
3218 (XCHARSET_TO_BYTE2_TABLE): New macro.
3219 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3221 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3222 don't use `ucs_to_*' tables.
3224 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3226 * text-coding.c (Fmake_coding_system): Don't set up
3227 `codesys->fixed.size'.
3228 (encode_coding_no_conversion): Use `if' instead of `switch'.
3230 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3232 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3234 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3235 (Fmake_charset): Modify for `make_charset'.
3236 (Fmake_reverse_direction_charset): Likewise.
3237 (complex_vars_of_mule_charset): Likewise.
3239 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3241 * text-coding.c (char_encode_shift_jis): Use table
3242 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3244 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3246 * text-coding.c (text_encode_generic): Use `if' instead of
3248 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3251 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3253 * text-coding.c (encode_coding_sjis): Deleted.
3254 (char_encode_shift_jis): New function.
3255 (char_finish_shift_jis): New function.
3256 (reset_encoding_stream): Set up `encode_char' and `finish' for
3257 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3258 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3259 (char_encode_utf8): Treat `eol_type'.
3261 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3263 * file-coding.c (decode_coding_iso2022): Use
3264 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3266 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3268 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3271 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3273 * char-lb.h (CHAR_COLUMNS): New macro.
3275 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3277 * text-coding.c (char_encode_ucs4): New function.
3278 (char_finish_ucs4): New function.
3279 (encode_coding_ucs4): Deleted.
3280 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3281 (text_encode_generic): Delete local variable `charset' and `half'.
3282 (ucs_to_mule_table): Deleted.
3283 (mule_to_ucs_table): Deleted.
3284 (Fset_ucs_char): Deleted.
3285 (ucs_to_char): Deleted.
3286 (Fucs_char): Deleted.
3287 (Fset_char_ucs): Deleted.
3288 (Fchar_ucs): Deleted.
3289 (decode_ucs4): Deleted.
3290 (mule_char_to_ucs4): Deleted.
3291 (encode_ucs4): Deleted.
3292 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3293 (decode_coding_utf8): Likewise.
3294 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3295 (char_encode_iso2022): Fixed.
3296 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3297 `Fset_char_ucs' and `Fchar_ucs'.
3298 (complex_vars_of_file_coding): Don't initialize
3299 `ucs_to_mule_table'.
3301 * objects-tty.c (tty_initialize_font_instance): Don't use
3304 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
3307 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
3308 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3310 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
3311 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3312 (emchar_string_displayed_columns): Likewise.
3314 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
3315 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3316 (string_column_at_point): Likewise.
3317 (Fmove_to_column): Likewise.
3319 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
3320 `encoding_table' and `decoding_table'.
3321 (CHARSET_REP_BYTES): Deleted.
3322 (XCHARSET_REP_BYTES): Deleted.
3323 (XCHARSET_COLUMNS): Deleted.
3324 (CHAR_COLUMNS): New macro.
3325 (lookup_composite_char): Deleted unconditionally.
3326 (composite_char_string): Likewise.
3328 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3330 * char-ucs.h (Emchar_to_byte_table): New type.
3331 (get_byte_from_character_table): New function interface.
3332 (Vcharset_latin_jisx0201): New variable.
3333 (latin_jisx0201_to_ucs): New variable.
3334 (ucs_to_latin_jisx0201): New variable.
3335 (Vcharset_latin_iso8859_2): New variable.
3336 (latin_iso8859_2_to_ucs): New variable.
3337 (ucs_to_latin_iso8859_2): New variable.
3338 (Vcharset_latin_iso8859_3): New variable.
3339 (latin_iso8859_3_to_ucs): New variable.
3340 (ucs_to_latin_iso8859_3): New variable.
3341 (Vcharset_latin_iso8859_4): New variable.
3342 (latin_iso8859_4_to_ucs): New variable.
3343 (ucs_to_latin_iso8859_4): New variable.
3344 (Vcharset_latin_iso8859_9): New variable.
3345 (latin_iso8859_9_to_ucs): New variable.
3346 (ucs_to_latin_iso8859_9): New variable.
3347 (Vcharset_latin_viscii_lower): New variable.
3348 (latin_viscii_lower_to_ucs): New variable.
3349 (ucs_to_latin_viscii_lower): New variable.
3350 (Vcharset_latin_viscii_upper): New variable.
3351 (latin_viscii_upper_to_ucs): New variable.
3352 (ucs_to_latin_viscii_upper): New variable.
3353 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
3354 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
3355 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
3356 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
3357 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
3358 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
3359 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
3360 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
3361 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
3362 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
3364 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
3365 (Vcharset_latin_viscii_upper): New variable.
3366 (make_byte_from_character_table): New function.
3367 (put_byte_from_character_table): New function.
3368 (get_byte_from_character_table): New function.
3369 (CHAR96): New macro.
3370 (ucs_to_latin_jisx0201): New variable.
3371 (latin_jisx0201_to_ucs): New variable.
3372 (ucs_to_latin_iso8859_2): New variable.
3373 (latin_iso8859_2_to_ucs): New variable.
3374 (ucs_to_latin_iso8859_3): New variable.
3375 (latin_iso8859_3_to_ucs): New variable.
3376 (ucs_to_latin_iso8859_4): New variable.
3377 (latin_iso8859_4_to_ucs): New variable.
3378 (ucs_to_latin_iso8859_9): New variable.
3379 (latin_iso8859_9_to_ucs): New variable.
3380 (ucs_to_latin_viscii_lower): New variable.
3381 (latin_viscii_lower_to_ucs): New variable.
3382 (ucs_to_latin_viscii_upper): New variable.
3383 (latin_viscii_upper_to_ucs): New variable.
3384 (ucs_to_latin_tcvn5712): New variable.
3385 (latin_tcvn5712_to_ucs): New variable.
3386 (Qlatin_viscii_lower): New variable.
3387 (Qlatin_viscii_upper): New variable.
3388 (syms_of_mule_charset): Set up new symbol
3389 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
3390 (complex_vars_of_mule_charset): Set up new charset
3391 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
3392 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
3393 `ucs_to_<CHARSET>' tables.
3395 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3397 * text-coding.c: New file.
3399 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3401 * mule-charset.c (Fmake_char): Fix problem of 256-set.
3403 * char-ucs.h (Vcharset_ucs_bmp): New variable.
3404 (MAKE_CHAR): Modify for `ucs-bmp'.
3405 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
3406 non-MULE characters of BMP.
3408 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
3410 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3413 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
3416 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
3417 - Include character.h for `CHAR_ASCII_P'.
3419 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
3421 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
3422 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
3424 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
3425 (BYTE_C0_P): Likewise.
3426 (BYTE_C1_P): Likewise.
3427 (Lstream_get_emchar_1): Likewise.
3428 (Lstream_fput_emchar): Likewise.
3429 (Lstream_funget_emchar): Likewise.
3430 (copy_internal_to_external): Likewise.
3431 (copy_external_to_internal): Likewise.
3433 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
3434 (BYTE_C0_P): Likewise.
3435 (BYTE_C1_P): Likewise.
3436 (Lstream_get_emchar_1): Likewise.
3437 (Lstream_fput_emchar): Likewise.
3438 (Lstream_funget_emchar): Likewise.
3439 (copy_internal_to_external): Likewise.
3440 (copy_external_to_internal): Likewise.
3442 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
3443 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3445 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
3446 (BYTE_ASCII_P): Moved to mb-1byte.h.
3448 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
3450 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
3452 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
3453 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
3454 (VALID_CHARPTR_P): Moved to mb-*byte.h.
3455 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3456 (VALIDATE_CHARPTR_FORWARD): Likewise.
3457 (simple_charptr_emchar): Moved to mb-multibyte.h.
3458 (simple_set_charptr_emchar): Likewise.
3459 (simple_charptr_copy_char): Likewise.
3460 (non_ascii_charptr_emchar): Likewise.
3461 (non_ascii_set_charptr_emchar): Likewise.
3462 (non_ascii_charptr_copy_char): Likewise.
3463 (charptr_emchar): Moved to mb-*byte.h.
3464 (set_charptr_emchar): Likewise.
3465 (charptr_copy_char): Likewise.
3467 * mb-1byte.h, mb-multibyte.h: New files.
3469 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3471 * mb-utf-8.h (MULTIBYTE): New macro.
3472 (MAX_EMCHAR_LEN): Moved from buffer.h.
3473 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
3475 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
3477 * mb-lb.h, multibyte.h: New files.
3479 * char-1byte.h (Charset_ID): Moved from buffer.h.
3480 (MIN_LEADING_BYTE): Likewise.
3481 (LEADING_BYTE_ASCII): Likewise.
3482 (NUM_LEADING_BYTES): Likewise.
3483 (CHARSETP): Likewise.
3484 (CHARSET_BY_LEADING_BYTE): Likewise.
3485 (XCHARSET_LEADING_BYTE): Likewise.
3486 (XCHARSET_GRAPHIC): Likewise.
3487 (XCHARSET_COLUMNS): Likewise.
3488 (XCHARSET_DIMENSION): Likewise.
3489 (CHAR_CHARSET): Likewise.
3490 (CHAR_LEADING_BYTE): Likewise.
3491 (BREAKUP_CHAR): Likewise.
3492 (Vcharset_ascii): Likewise.
3494 * buffer.h: Include multibyte.h unconditionally.
3495 (VALID_CHARPTR_P): Moved to multibyte.h.
3496 (ASSERT_VALID_CHARPTR): Likewise.
3497 (REAL_INC_CHARPTR): Likewise.
3498 (REAL_INC_CHARBYTIND): Likewise.
3499 (REAL_DEC_CHARPTR): Likewise.
3500 (INC_CHARPTR): Likewise.
3501 (INC_CHARBYTIND): Likewise.
3502 (DEC_CHARPTR): Likewise.
3503 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3504 (VALIDATE_CHARPTR_FORWARD): Likewise.
3505 (charptr_n_addr): Likewise.
3506 (MAX_EMCHAR_LEN): Moved to mb-*.h.
3507 (simple_charptr_emchar): Moved to multibyte.h.
3508 (simple_set_charptr_emchar): Likewise.
3509 (simple_charptr_copy_char): Likewise.
3510 (non_ascii_charptr_emchar): Likewise.
3511 (non_ascii_set_charptr_emchar): Likewise.
3512 (non_ascii_charptr_copy_char): Likewise.
3513 (charptr_emchar): Likewise.
3514 (set_charptr_emchar): Likewise.
3515 (charptr_copy_char): Likewise.
3516 (charptr_emchar_n): Likewise.
3517 (Charset_ID): Moved to char-1byte.h.
3518 (Vcharset_ascii): Likewise.
3519 (CHAR_CHARSET): Likewise.
3520 (CHAR_LEADING_BYTE): Likewise.
3521 (LEADING_BYTE_ASCII): Likewise.
3522 (NUM_LEADING_BYTES): Likewise.
3523 (MIN_LEADING_BYTE): Likewise.
3524 (CHARSETP): Likewise.
3525 (CHARSET_BY_LEADING_BYTE): Likewise.
3526 (XCHARSET_LEADING_BYTE): Likewise.
3527 (XCHARSET_GRAPHIC): Likewise.
3528 (XCHARSET_COLUMNS): Likewise.
3529 (XCHARSET_DIMENSION): Likewise.
3530 (BREAKUP_CHAR): Likewise.
3532 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3534 * character.h: Add document about interface for characters.
3536 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
3537 (MAKE_CHAR): Delete comment about
3538 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
3539 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
3540 (BREAKUP_CHAR): Modify name of arguments.
3541 (CHAR_CHARSET): Modify name of argument.
3543 * buffer.h: Delete document about Emchar accessors.
3545 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3547 * character.h (CHAR_INTP): Moved from buffer.h
3548 (CHAR_OR_CHAR_INTP): Likewise.
3549 (XCHAR_OR_CHAR_INT): Likewise.
3550 (CHECK_CHAR_COERCE_INT): Likewise.
3552 * buffer.h (CHAR_INTP): Moved to character.h
3553 (CHAR_OR_CHAR_INTP): Likewise.
3554 (XCHAR_OR_CHAR_INT): Likewise.
3555 (CHECK_CHAR_COERCE_INT): Likewise.
3557 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3560 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
3561 - Include char-1byte.h, char-lb.h or char-ucs.h.
3563 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
3565 * buffer.h: Include character unconditionally.
3566 (valid_char_p): Moved to char-*.h.
3567 (non_ascii_valid_char_p): Moved to char-lb.h.
3569 * char-1byte.h, char-lb.h, char-ucs.h: New files.
3571 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3573 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
3574 in UTF-2000 because it is not ported yet and not to use
3575 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
3576 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
3577 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
3579 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
3580 (CHAR_ASCII_P): Moved from character.h.
3582 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
3583 (CHAR_ASCII_P): Likewise.
3584 (CHAR_FIELD1_MASK): Deleted.
3585 (CHAR_FIELD2_MASK): Deleted.
3586 (CHAR_FIELD3_MASK): Deleted.
3587 (MAX_CHAR_BASIC_LATIN): New macro.
3588 (CHAR_FIELD1): Deleted.
3589 (CHAR_FIELD2_INTERNAL): Deleted.
3590 (CHAR_FIELD3_INTERNAL): Deleted.
3591 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
3592 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
3593 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
3594 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
3595 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
3596 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
3597 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
3598 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
3599 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
3600 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
3601 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
3602 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
3603 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
3604 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
3605 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
3606 (MIN_CHAR_COMPOSITION): Deleted.
3607 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
3608 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
3610 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
3612 * buffer.h: Include mb-utf-8.h in UTF-2000.
3614 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
3616 * mb-utf-8.h: New file.
3618 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
3620 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
3623 * mule-charset.h, buffer.h (Charset_ID): New type.
3625 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3627 * mule-canna.c (c2mu): Use `MAKE_CHAR',
3628 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
3629 instead of `MULE_CHAR_PRIVATE_OFFSET',
3630 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
3631 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
3632 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
3634 * character.h (Vcharset_japanese_jisx0212): New variable
3637 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3639 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
3640 (charset_by_attributes): Delete array about direction.
3641 (latin_a_char_to_charset): New variable in UTF-2000.
3642 (latin_a_char_to_byte1): New variable in UTF-2000.
3643 (latin_a_char_to_byte2): New variable in UTF-2000.
3644 (Qucs_bmp): New variable.
3645 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
3647 (next_allocated_2_byte_leading_byte): Likewise.
3648 (non_ascii_set_charptr_emchar): Likewise.
3649 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
3650 `CHARSET_TYPE_256X256' in UTF-2000; modify for
3651 `charset_by_attributes'.
3652 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
3653 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
3654 and `CHARSET_BY_LEADING_BYTE'.
3655 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
3656 `utf-2000-version' to `vars_of_mule_charset'.
3657 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
3658 define `leading-code-private-11' in UTF-2000; move setting of
3659 `utf-2000-version' from `syms_of_mule_charset'.
3660 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
3663 * character.h (Charset_ID): New type.
3664 (LEADING_BYTE_UCS_BMP): New macro.
3665 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
3666 (CHARSET_ID_OFFSET_94): New macro.
3667 (MIN_CHARSET_ID_PRIVATE_94): New macro.
3668 (MAX_CHARSET_ID_PRIVATE_94): New macro.
3669 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
3671 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
3672 (LEADING_BYTE_LATIN_JISX0201): Likewise.
3673 (CHARSET_ID_OFFSET_96): New macro.
3674 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
3675 CHARSET_ID_OFFSET_96 and final-byte.
3676 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
3677 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
3678 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
3679 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
3680 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
3681 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
3682 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
3683 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
3684 (LEADING_BYTE_THAI_TIS620): Likewise.
3685 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
3686 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
3687 (CHARSET_ID_OFFSET_94x94): New macro.
3688 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
3689 CHARSET_ID_OFFSET_94x94 and final-byte.
3690 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
3691 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
3692 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
3693 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
3694 (LEADING_BYTE_CHINESE_GB2312): Likewise.
3695 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
3696 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
3697 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
3698 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
3699 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
3700 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
3701 (CHARSET_TYPE_128X128): New macro.
3702 (CHARSET_TYPE_256X256): New macro.
3703 (XCHARSET_PRIVATE_P): Delete unconditionally.
3704 (charset_by_attributes): Delete array about direction.
3705 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
3706 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
3707 (MIN_CHAR_94): New macro.
3708 (MAX_CHAR_94): New macro.
3709 (MIN_CHAR_96): New macro.
3710 (MAX_CHAR_96): New macro.
3711 (MIN_CHAR_94x94): New macro.
3712 (MAX_CHAR_94x94): New macro.
3713 (MIN_CHAR_96x96): New macro.
3714 (MAX_CHAR_96x96): New macro.
3715 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
3716 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3717 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
3719 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
3720 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
3721 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
3722 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
3723 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
3724 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
3725 `XCHARSET_LEADING_BYTE' to make code-point.
3726 (latin_a_char_to_charset): New variable.
3727 (latin_a_char_to_byte1): New variable.
3728 (latin_a_char_to_byte2): New variable.
3729 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
3730 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
3731 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
3733 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
3734 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
3735 (find_charsets_in_emchar_string): Likewise.
3736 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
3738 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
3740 (decode_coding_iso2022): Likewise.
3742 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
3745 * redisplay.c (redisplay_text_width_emchar_string): Use
3746 `Charset_ID' instead of `unsigned char'.
3747 (redisplay_frame_text_width_string): Likewise.
3749 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
3752 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
3753 instead of `unsigned char'.
3754 (face_cachel_charset_font_metric_info): Likewise.
3756 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
3757 (get_non_ascii_char_table_value): Likewise.
3758 (get_char_table): Likewise.
3759 (put_char_table): Likewise.
3760 (map_over_other_charset): Likewise.
3761 (map_char_table): Likewise.
3763 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
3764 instead of `unsigned char'.
3766 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
3768 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
3769 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
3771 * mule-charset.c (leading_code_private_11): Don't define in
3774 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
3775 in UTF-2000 because it is not ported yet and not to use
3776 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
3778 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
3780 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
3782 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3784 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
3787 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
3788 of unsigned char to store leading-byte.
3790 * chartab.c (get_non_ascii_char_table_value): Don't use
3791 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
3793 * file-coding.c (encode_coding_big5): Delete bogus implementation
3796 * character.h (LEADING_BYTE_*): Delete definition for
3798 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
3799 (LEADING_BYTE_PREFIX_P): Deleted.
3800 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
3801 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
3802 (BUFBYTE_LEADING_BYTE_P): Deleted.
3803 (CHARSET_PRIVATE_P): Deleted unconditionally.
3804 (rep_bytes_by_first_byte): Deleted unconditionally.
3805 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
3806 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
3807 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3808 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
3809 (CHAR_FIELD2): Deleted.
3810 (CHAR_FIELD3): Deleted.
3811 (MAKE_CHAR): Delete definition for non-UTF-2000.
3812 (BREAKUP_CHAR_1_UNSAFE): Deleted.
3813 (breakup_char_1): New implementation.
3814 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
3815 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
3817 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3819 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
3822 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3824 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
3825 (CHARSET_PRIVATE_P): Likewise.
3826 (XCHARSET_PRIVATE_P): Likewise.
3827 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
3829 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
3831 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
3833 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3835 * character.h (LEADING_BYTE_*): Changed in UTF2000.
3836 (NUM_LEADING_BYTES): Changed from 128 to 256.
3837 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3838 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
3840 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3842 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
3844 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
3845 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
3846 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
3847 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
3848 (Qchinese_cns11643_3): New variable in UTF2000.
3849 (Qchinese_cns11643_4): New variable in UTF2000.
3850 (Qchinese_cns11643_5): New variable in UTF2000.
3851 (Qchinese_cns11643_6): New variable in UTF2000.
3852 (Qchinese_cns11643_7): New variable in UTF2000.
3853 (syms_of_mule_charset): Define `chinese-cns11643-3',
3854 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3855 and `chinese-cns11643-7' in UTF2000.
3856 (vars_of_mule_charset): Initialize
3857 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
3859 (complex_vars_of_mule_charset): Setup charset
3860 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
3861 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
3863 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3865 * mule-charset.c: Move setting for `leading-code-private-11' from
3866 `syms_of_mule_charset' to `vars_of_mule_charset'.
3868 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3870 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
3871 and `NUM_LEADING_BYTES' in assert.
3873 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3875 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
3877 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
3878 `NUM_LEADING_BYTES' instead of 128.
3880 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3882 * mule-charset.h (charset_by_leading_byte): Use
3883 `NUM_LEADING_BYTES' instead of 128.
3884 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
3886 * mule-charset.c (charset_by_leading_byte): Use
3887 `NUM_LEADING_BYTES' instead of 128.
3888 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
3890 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
3893 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3895 * mule-charset.c (syms_of_mule_charset): Update to
3898 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
3900 * file-coding.c (encode_coding_sjis): New implementation for
3901 UTF2000. (decode_coding_sjis): Ditto.
3903 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3905 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
3906 Don't define in UTF2000.
3908 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
3911 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3912 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
3915 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3917 * config.h.in (CHAR_IS_UCS4): New macro.
3919 * mule-charset.c (rep_bytes_by_first_byte): Modify for
3920 conventional MULE representation.
3921 (syms_of_mule_charset): Update to 0.3 (Imamiya).
3923 * mule-charset.h: Reverted to original.
3925 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3926 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
3927 "mule-charset.h" if CHAR_IS_UCS4 is defined.
3929 * character.h: New file.
3931 * file-coding.c (Fmake_coding_system): Set 1 to
3932 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
3934 (encode_coding_no_conversion): New implementation for UTF2000.
3936 * file-coding.h (struct Lisp_Coding_System): Add new member
3939 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
3941 * file-coding.c (decode_coding_iso2022): Code-point arguments of
3942 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
3943 (encode_coding_iso2022): New implementation for UTF2000.
3945 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3947 * mule-canna.c (c2mu): New implementation for UTF2000.
3950 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3952 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
3954 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3956 * file-coding.c (reset_encoding_stream): Set 0 to
3957 `str->iso2022.current_char_boundary' in UTF2000.
3958 (encode_utf8): Don't define in UTF2000.
3959 (encode_coding_utf8): New implementation for UTF-8 representation
3961 (complex_vars_of_file_coding): Define coding-system `utf-8'.
3963 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3965 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
3967 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
3969 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3971 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
3973 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
3974 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
3975 as UTF-8 in UTF2000.
3976 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
3977 (non_ascii_valid_char_p): Don't define in UTF2000.
3978 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
3979 (Lstream_get_emchar_1): Likewise.
3980 (utf-2000-version): New variable in UTF2000.
3982 * lread.c (read_escape): Add new reader `u'.
3984 * insdel.c (three_to_one_table): Don't define in UTF2000.
3985 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
3986 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3988 (bytind_to_bufpos_func): Likewise.
3989 (buffer_mule_signal_inserted_region): Likewise.
3990 (vars_of_insdel): Don't initialize `three_to_one_table'.
3991 (init_buffer_text): Use `buf->text->mule_size' instead of
3992 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3995 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
3996 UTF-8 representation in UTF2000.
3997 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
3998 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
3999 (decode_coding_iso2022): Don't define local variable `lb' in
4000 UTF2000; don't use LEADING_BYTE in UTF2000; use
4001 `DECODE_ADD_UCS_CHAR' in UTF2000.
4002 (convert_to_external_format): Decode as UTF-8 in UTF2000.
4004 * config.h.in (UTF2000): New macro.
4006 * buffer.h (struct buffer_text): Add new member `mule_size' and
4007 don't add `mule_shifter' and `mule_three_p' in UTF2000.
4008 (valid_char_p): Return always 1 in UTF2000.
4009 (MAX_EMCHAR_LEN): 6 in UTF2000.
4010 (three_to_one_table): Don't define in UTF2000.
4011 (real_bufpos_to_bytind): Modify for UTF-8 representation in
4013 (real_bytind_to_bufpos): Likewise.
4015 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
4017 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4019 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
4020 representation change.
4021 (Vutf_2000_version): New variable.
4022 (leading_code_private_11): New variable.
4023 (syms_of_mule_charset): Add new variables `utf-2000-version' and
4024 `leading-code-private-11'.
4026 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
4027 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
4028 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
4029 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
4030 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
4031 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
4032 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
4033 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
4034 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
4035 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
4036 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
4037 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
4038 (MIN_CHAR_GREEK): New macro.
4039 (MAX_CHAR_GREEK): New macro.
4040 (MIN_CHAR_CYRILLIC): New macro.
4041 (MAX_CHAR_CYRILLIC): New macro.
4042 (MIN_CHAR_HEBREW): New macro.
4043 (MAX_CHAR_HEBREW): New macro.
4044 (MIN_CHAR_THAI): New macro.
4045 (MAX_CHAR_THAI): New macro.
4046 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
4047 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
4048 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
4049 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
4050 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
4051 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
4052 (CHAR_FIELD2): New inline function.
4053 (CHAR_FIELD3): New inline function.
4054 (MULE_CHAR_PRIVATE_OFFSET): New macro.
4055 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
4056 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
4057 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
4058 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
4059 (MIN_CHAR_COMPOSITION): Likewise.
4060 (CHAR_LEADING_BYTE): Modified for character representation change.
4061 (MAKE_CHAR): Likewise.
4063 * lisp.h (Vcharset_latin_iso8859_1): New variable.
4064 (Vcharset_greek_iso8859_7): Likewise.
4065 (Vcharset_cyrillic_iso8859_5): Likewise.
4066 (Vcharset_hebrew_iso8859_8): Likewise.
4067 (Vcharset_thai_tis620): Likewise.
4068 (Vcharset_katakana_jisx0201): Likewise.
4070 2001-02-08 Martin Buchholz <martin@xemacs.org>
4072 * XEmacs 21.2.44 "Thalia" is released.
4074 2001-02-06 Martin Buchholz <martin@xemacs.org>
4076 Fixes crashes in kill-emacs on some systems.
4077 * process-unix.c (unix_kill_child_process):
4078 It's OK for kill() to fail with ESRCH.
4080 2001-02-07 Martin Buchholz <martin@xemacs.org>
4082 Contortions to make .gdbinit tricks work on most systems.
4083 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
4084 * alloc.c (dbg_valmask): Make non-const.
4085 * alloc.c (dbg_typemask): Make non-const.
4086 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
4087 * alloc.c (dbg_valbits): Make non-const.
4088 * alloc.c (dbg_gctypebits): Make non-const.
4089 * .gdbinit (decode_object): Make it work with AIX cc.
4091 2001-02-06 Martin Buchholz <martin@xemacs.org>
4093 * elhash.c (make_general_lisp_hash_table):
4094 Use simpler and more efficient calloc to clear entries.
4096 2001-02-07 Martin Buchholz <martin@xemacs.org>
4098 * window.c (window_scroll): Work around an AIX C compiler bug.
4099 Fixes 'scroll-up' does nothing problem with xlC.
4101 2001-02-05 Martin Buchholz <martin@xemacs.org>
4103 * .gdbinit: Remove obsolete comment.
4105 2001-01-31 Mike Alexander <mta@arbortext.com>
4107 * select.c (Fown_selection_internal): Set owned_p for device
4110 2001-02-01 Martin Buchholz <martin@xemacs.org>
4113 "not" cannot be used as a macro name as it is an operator in C++
4114 * config.h.in: Stop #defining `not'.
4115 * chartab.c (check_category_char): not ==> not_p
4116 * chartab.h: Likewise.
4117 * regex.c (re_match_2_internal): Likewise.
4119 2001-02-02 Martin Buchholz <martin@xemacs.org>
4121 * lisp-disunion.h: Fix up comments.
4123 2001-01-31 Martin Buchholz <martin@xemacs.org>
4125 * keymap.c (define_key_check_and_coerce_keysym):
4127 Support mouse-6 and mouse-7 bindings in the obvious way.
4129 2001-02-01 Martin Buchholz <martin@xemacs.org>
4131 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
4133 2001-01-30 Martin Buchholz <martin@xemacs.org>
4135 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
4136 Previous patch missed DEFVAR_INT_MAGIC.
4137 Make sure future DEFVAR_foo use correct types.
4138 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
4139 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
4140 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
4141 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
4142 * (DEFVAR_INT): Likewise.
4143 * redisplay.c (vertical_clip): Should be of type Fixnum.
4144 * redisplay.c (horizontal_clip): Likewise.
4145 * lisp.h (dump_add_opaque_int): New.
4146 (dump_add_opaque_fixnum): New.
4148 2001-01-29 Andy Piper <andy@xemacs.org>
4150 * glyphs-widget.c (check_valid_int_or_function): allow symbols
4151 since they can be eval'ed
4153 2001-01-29 Martin Buchholz <martin@xemacs.org>
4155 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
4156 Oops, XEmacs redefines `class'. Use `typename' instead.
4158 2001-01-28 Martin Buchholz <martin@xemacs.org>
4160 * dumper.c: Fix C++ compile errors.
4162 2001-01-29 Martin Buchholz <martin@xemacs.org>
4164 * tparam.c: Use correct prototypes.
4166 2001-01-28 Martin Buchholz <martin@xemacs.org>
4168 * sysproc.h: #include util.h for NetBSD's openpty.
4170 2001-01-27 Martin Buchholz <martin@xemacs.org>
4172 More 64-bit correctness.
4173 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
4174 Use a typedef `fixnum' for the type used for DEFVAR_INT.
4176 This finally finishes the 64-bit SGI port.
4177 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
4178 * symbols.c: Fix up comments and type casts.
4179 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
4180 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
4181 * symeval.h (Fixnum): New type.
4182 * symeval.h (symbol_value_type): Fix up comment.
4198 * mule-canna.c: A million DEFVAR_INTs here...
4199 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
4212 s/int/Fixnum/g in DEFVAR_INT declarations.
4214 2001-01-26 Martin Buchholz <martin@xemacs.org>
4216 Port pdump to SGI alignment-sensitive environment.
4217 Lisp Object sizeof methods now return aligned sizes. Rely on that.
4218 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
4220 Define and use aligned reading and writing macros.
4221 Use buffered stdio instead of posix i/o for faster dumping.
4222 Eliminate kludgy 256 byte space for header.
4223 Read and write from dump file using structs for alignment safety.
4224 * dumper.c (pdump_align_stream): New.
4225 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
4226 * dumper.c (PDUMP_READ_ALIGNED): New.
4227 * dumper.c (PDUMP_WRITE_ALIGNED): New.
4228 * dumper.c (pdump_static_Lisp_Object): New struct.
4229 * dumper.c (pdump_static_pointer): New struct.
4230 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
4231 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
4232 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
4233 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
4235 * dumper.c (pdump_backtrace):
4236 * dumper.c (pdump_get_indirect_count):
4237 * dumper.c (pdump_register_object):
4238 * dumper.c (pdump_register_struct):
4239 * dumper.c (pdump_reloc_one):
4240 * dumper.c (pdump_scan_by_alignment):
4241 * dumper.c (pdump_dump_from_root_struct_ptrs):
4242 * dumper.c (pdump_dump_opaques):
4243 * dumper.c (pdump_dump_rtables):
4244 * dumper.c (pdump_dump_from_root_objects):
4246 * dumper.c (pdump_load_finish):
4247 Use aligned reading and writing.
4249 * dumper.c (pdump_free): Make static.
4250 * dumper.c (pdump_hFile): Likewise.
4251 * dumper.c (pdump_hMap): Likewise.
4253 2001-01-26 Martin Buchholz <martin@xemacs.org>
4255 * XEmacs 21.2.43 "Terspichore" is released.
4257 2001-01-25 Martin Buchholz <martin@xemacs.org>
4259 Type fiddling for window_config.saved_windows_count
4260 * window.c (struct window_config):
4261 Make saved_windows_count member unsigned.
4262 * window.c (sizeof_window_config_for_n_windows):
4263 Make parameter unsigned.
4264 * window.c (mark_window_config):
4265 * window.c (window_config_equal):
4266 * window.c (free_window_configuration):
4267 * window.c (Fset_window_configuration):
4268 * window.c (count_windows):
4269 * window.c (Fcurrent_window_configuration):
4270 * window.c (reinit_vars_of_window):
4271 Update all callers and users.
4273 2001-01-25 Martin Buchholz <martin@xemacs.org>
4275 Alignment correctness for flexible arrays.
4276 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
4277 Make alignment-correct. Add interesting comments.
4278 * alloc.c (size_vector):
4279 * alloc.c (make_vector_internal):
4280 * alloc.c (make_bit_vector_internal):
4281 * alloc.c (sweep_bit_vectors_1):
4282 * fns.c (size_bit_vector):
4283 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
4284 * window.c (sizeof_window_config_for_n_windows):
4285 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
4287 2001-01-24 Martin Buchholz <martin@xemacs.org>
4289 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
4291 2001-01-23 Andy Piper <andy@xemacs.org>
4293 * select.c (Fown_selection_internal): pass owned_p
4295 * select-msw.c (mswindows_own_selection): New Signature.
4297 * console.h (struct console_methods): add owned_p to
4300 * select-x.c (x_own_selection): pass owned_p
4301 (hack_motif_clipboard_selection): use owned_p
4302 (vars_of_select_x): new variable -
4303 x_selection_strict_motif_ownership.
4305 2001-01-23 Martin Buchholz <martin@xemacs.org>
4307 * specifier.h (specifier_data_offset): Remove pointless parens.
4308 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
4310 2001-01-24 Martin Buchholz <martin@xemacs.org>
4312 Make Lisp_Object sizeof methods be alignment-correct.
4313 pdump must restore objects to the same alignment as the C compiler
4314 assumes. It really matters on SGIs.
4315 * lstream.c (aligned_sizeof_lstream): New.
4316 (sizeof_lstream): Use aligned_sizeof_lstream.
4317 (Lstream_new): Likewise.
4318 * opaque.c (aligned_sizeof_opaque): New.
4319 (sizeof_opaque): Use aligned_sizeof_opaque.
4320 (make_opaque): Likewise.
4321 * specifier.c (aligned_sizeof_specifier): New.
4322 (sizeof_specifier): Use aligned_sizeof_specifier.
4323 (make_specifier_internal): Likewise.
4325 2001-01-23 Martin Buchholz <martin@xemacs.org>
4327 * lstream.h (struct lstream): Use max_align_t for trailing data.
4328 * specifier.h (struct Lisp_Specifier): Likewise.
4330 2001-01-22 Martin Buchholz <martin@xemacs.org>
4332 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
4333 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
4334 (CCL_SUSPEND): Likewise.
4335 (CCL_INVALID_CMD): Likewise.
4336 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
4337 (ccl_driver): Likewise.
4338 (CCL_WRITE_CHAR): Macro hygiene.
4339 (CCL_WRITE_STRING): Macro hygiene.
4341 2001-01-22 Martin Buchholz <martin@xemacs.org>
4343 Port "portable" dumper to SunOS 4 and HP-UX.
4344 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
4345 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
4346 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
4348 2001-01-22 Martin Buchholz <martin@xemacs.org>
4350 * lisp.h (ALIGNOF): A better definition for C++.
4352 2001-01-20 Martin Buchholz <martin@xemacs.org>
4355 Fix printf warnings: int format, long int arg.
4356 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
4357 (PUSH_FAILURE_POINT): Use correct printf formats.
4358 (POP_FAILURE_POINT): Use correct printf formats.
4359 Use do {...} while (0)
4361 2001-01-20 Martin Buchholz <martin@xemacs.org>
4363 * XEmacs 21.2.42 "Poseidon" is released.
4365 2001-01-20 Martin Buchholz <martin@xemacs.org>
4367 * console-x.h: typo fix du jour. Remove #if 0'ed code.
4369 2001-01-19 Martin Buchholz <martin@xemacs.org>
4371 De-kludgify FIXED_TYPE free list frobbing.
4372 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
4373 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
4374 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
4375 * alloc.c (Lisp_Free): New pseudo lisp object definition.
4376 * alloc.c (LRECORD_FREE_P): New.
4377 * alloc.c (MARK_LRECORD_AS_FREE): New.
4378 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
4379 * alloc.c (STRUCT_FREE_P): Deleted.
4380 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
4381 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
4382 * alloc.c (STRING_CHARS_FREE_P): New.
4383 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
4384 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
4385 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
4386 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
4387 * alloc.c (resize_string): Use new definitions.
4388 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
4389 * alloc.c (verify_string_chars_integrity): Use new definitions.
4390 * alloc.c (compact_string_chars): Use new definitions.
4391 * alloc.c: Update monster comments.
4392 * lrecord.h (lrecord_type): Add some new lrecord types for
4395 2001-01-18 Martin Buchholz <martin@xemacs.org>
4397 Improve alignment hackery.
4398 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
4399 (max_align_t): Moved from opaque.h - general purpose.
4400 (ALIGN_PTR): Use size_t, not long.
4401 * opaque.h (max_align_t): Move to lisp.h.
4403 2001-01-18 Norbert Koch <nk@LF.net>
4405 * gui.h: Fix and add prototypes to fix build problems.
4407 2001-01-18 Martin Buchholz <martin@xemacs.org>
4409 temacs is going away, so `dump-temacs' is now a bad name.
4410 * .dbxrc (dump-temacs): Rename to `dmp'.
4411 * .gdbinit (dump-temacs): Rename to `dmp'.
4413 2001-01-17 Andy Piper <andy@xemacs.org>
4415 * glyphs.c (print_image_instance): comment to make martin happy.
4417 * glyphs-x.c (x_redisplay_widget): update faces after a frame
4420 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
4422 (mswindows_tab_control_redisplay): warning suppression.
4424 * glyphs-widget.c (widget_update): re-write to cope with updated
4426 (widget_instantiate): use new gui_item functions.
4427 (tab_control_update): deleted.
4428 (progress_gauge_update): deleted.
4429 (image_instantiator_progress_guage): take out update reference.
4430 (image_instantiator_tree_view): ditto.
4431 (image_instantiator_tab_control): ditto.
4433 * gui.c (widget_gui_parse_item_keywords): new function. Do things
4435 (gui_item_add_keyval_pair): re-write to cope with descriptors and
4436 return whether anything was changed.
4437 (update_gui_item_keywords): as it sounds.
4439 * gui.h: declare widget_gui_parse_item_keywords.
4441 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
4442 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
4444 2001-01-17 Martin Buchholz <martin@xemacs.org>
4446 * XEmacs 21.2.41 "Polyhymnia" is released.
4448 2001-01-16 Didier Verna <didier@xemacs.org>
4450 * glyphs.c (image_instantiate): don't use fallbacks when
4451 instantiating a face's background pixmap by inheritance.
4453 2001-01-14 Mike Sperber <mike@xemacs.org>
4455 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
4456 Conditionalize accordingly.
4458 2001-01-16 Martin Buchholz <martin@xemacs.org>
4460 * dumper.c (pdump_file_get): Fix a compiler warning.
4462 2001-01-15 Martin Buchholz <martin@xemacs.org>
4464 Make Purify happy when pdumping.
4465 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
4466 iniitalizing all bits of new lisp object memory.
4467 * symbols.c (Fmake_local_variable): Likewise.
4468 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
4469 * symbols.c (Fdefvaralias): Likewise.
4470 * mule-charset.c (vars_of_mule_charset): Likewise.
4472 2001-01-15 Martin Buchholz <martin@xemacs.org>
4473 Add the `-nd' flag when running pre-dump operations under the debugger.
4474 * .dbxrc (run-temacs): Add `-nd'.
4475 * .dbxrc (update-elc): Likewise.
4476 * .dbxrc (dump-temacs): Likewise.
4477 * .gdbinit (run-temacs): Likewise.
4478 * .gdbinit (check-temacs): Likewise.
4479 * .gdbinit (update-elc): Likewise.
4480 * .gdbinit (dump-temacs): Likewise.
4482 2001-01-14 Martin Buchholz <martin@xemacs.org>
4484 Allow building 64-bit executables on AIX with GNU malloc, e.g.
4485 export OBJECT_MODE=64
4486 configure --pdump --use-union-type=no
4487 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
4488 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
4490 * miscplay.c (sndcnv8U_2mono):
4491 Avoid two uses of `++' in the same expression.
4492 Suppresses a GCC warning.
4494 2001-01-13 Martin Buchholz <martin@xemacs.org>
4496 Make sure future compilers don't miscompile alloc.c.
4498 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
4499 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
4501 2001-01-12 Martin Buchholz <martin@xemacs.org>
4503 * dumper.c: A little post-pdump-rename comment fixup.
4505 2001-01-09 Jerry James <james@eecs.ku.edu>
4507 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
4509 2001-01-13 Martin Buchholz <martin@xemacs.org>
4511 * *.[ch]: Globally rename symbols using the following `pdump-rename'
4515 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
4518 replace_symbol pdump_wire_lists pdump_weak_object_chains
4519 replace_symbol pdump_wire_list dump_add_weak_object_chain
4521 replace_symbol pdump_wires pdump_root_objects
4522 replace_symbol pdump_wire dump_add_root_object
4524 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
4525 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
4527 replace_symbol dumpstructinfos pdump_root_struct_ptrs
4528 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
4529 replace_symbol dumpstructinfo pdump_root_struct_ptr
4530 replace_symbol dumpstruct dump_add_root_struct_ptr
4532 replace_symbol dumpopaque dump_add_opaque
4533 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
4534 replace_symbol dumpopaqueinfos pdump_opaques
4535 replace_symbol dumpopaqueinfo pdump_opaque
4537 replace_symbol nb_structdump nb_root_struct_ptrs
4538 replace_symbol nb_opaquedump nb_opaques
4540 replace_symbol align_table pdump_align_table
4541 replace_symbol dump_header pdump_header
4543 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
4544 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
4547 2001-01-12 Martin Buchholz <martin@xemacs.org>
4549 * s/aix4.h: Keep the C for AIX compiler from overaggressively
4550 optimizing bytecount_to_charcount().
4552 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4555 (HAVE_DLFCN_H): Removed.
4556 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
4558 2001-01-06 Martin Buchholz <martin@xemacs.org>
4560 Portable dumper maintainability improvements.
4561 * alloc.c (staticpro):
4562 * alloc.c (staticpro_nodump):
4563 * alloc.c (garbage_collect_1):
4564 * alloc.c (reinit_alloc_once_early):
4565 * alloc.c (init_alloc_once_early):
4566 * alloc.c: Move dumper functions to alloc.c.
4567 * dumper.c (pdump_backtrace):
4568 * dumper.c (pdump_dump_structs):
4569 * dumper.c (pdump_dump_opaques):
4570 * dumper.c (pdump_dump_rtables):
4571 * dumper.c (pdump_dump_wired):
4573 * dumper.c (pdump_load_check):
4574 * dumper.c (pdump_load_finish):
4575 * dumper.c (pdump_file_unmap):
4576 * dumper.c (pdump_file_get):
4577 * dumper.c (pdump_resource_free):
4578 * dumper.c (pdump_resource_get):
4579 * dumper.c (pdump_file_free):
4580 * dumper.c (pdump_file_try):
4581 * dumper.c (pdump_load):
4582 Remove fixed size limits on staticpro(), staticpro_nodump(),
4583 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
4584 Remove custom code for dumping lrecord_implementations_table - use
4586 Remove (most of the) custom code for dumping staticpros - dump it
4587 like any other dynarr.
4589 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
4590 * dumper.c: Moved functions from alloc.c.
4591 * alloc.c (dumpstruct): Moved to dumper.c.
4592 * alloc.c (dumpopaque): Likewise.
4593 * alloc.c (pdump_wire): Likewise.
4594 * alloc.c (pdump_wire_list): Likewise.
4596 * lisp.h (Dynarr_sizeof): New.
4597 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
4598 * lisp.h (Dynarr_end): New. Very slightly C++oid.
4599 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
4601 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
4602 * lisp.h (dumpopaque): ditto.
4603 * lisp.h (pdump_wire): ditto.
4604 * lisp.h (pdump_wire_list): ditto.
4606 2001-01-09 Martin Buchholz <martin@xemacs.org>
4608 * make-src-depend (PrintPatternDeps):
4609 Use `sort' to make output independent of perl version.
4611 2001-01-08 Martin Buchholz <martin@xemacs.org>
4614 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
4615 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
4617 2001-01-03 Didier Verna <didier@xemacs.org>
4619 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
4620 that `focus_frame' is alive before thinking of calling
4621 `redisplay_redraw_cursor' on it.
4623 2001-01-08 Martin Buchholz <martin@xemacs.org>
4625 * XEmacs 21.2.40 is released.
4627 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4629 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
4631 2001-01-06 Martin Buchholz <martin@xemacs.org>
4633 * alloc.c (dbg_valmask): Make const.
4634 * alloc.c (dbg_typemask): Make const.
4635 * alloc.c (dbg_USE_UNION_TYPE): Make const.
4636 * alloc.c (dbg_valbits): Make const.
4637 * alloc.c (dbg_gctypebits): Make const.
4639 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
4641 * redisplay-x.c (x_bevel_area):
4642 redisplay.h (struct rune):
4643 Typo fixes in comments.
4645 2001-01-05 Andy Piper <andy@xemacs.org>
4647 * glyphs-x.c (x_redisplay_widget): use size changed for offset
4650 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
4652 2001-01-05 Martin Buchholz <martin@xemacs.org>
4654 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
4656 * mule-ccl.c (stack_idx_of_map_multiple):
4657 Non const global data must not be initialized!
4658 Found by MIYASHITA Hisashi.
4660 2001-01-02 Andy Piper <andy@xemacs.org>
4662 * frame.c (change_frame_size): make sure frame size is always
4665 * glyphs.c (image_instance_layout): minor code reuse.
4667 * window.c (Fcurrent_window_configuration): revert previous
4670 2001-01-02 Martin Buchholz <martin@xemacs.org>
4673 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
4675 2000-12-31 Andy Piper <andy@xemacs.org>
4677 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
4678 when widget gets unmapped.
4680 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
4681 function. Make sure widgets losing focus don't just drop it.
4682 (handle_focus_event_1): record the widget with focus.
4684 2000-12-31 Andy Piper <andy@xemacs.org>
4686 * window.c (allocate_window): use
4687 make_image_instance_cache_hash_table.
4688 (make_dummy_parent): ditto.
4689 (Fset_window_configuration): ditto.
4691 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
4693 * glyphs.c (process_image_string_instantiator): use
4695 (get_image_instantiator_governing_domain): ditto.
4696 (normalize_image_instantiator): ditto.
4697 (instantiate_image_instantiator): ditto.
4698 (make_image_instance_1): ditto.
4699 (image_instantiate): ditto. Key on glyph *and* instantiator type.
4700 (instantiator_eq_equal): new function for use with instance hash
4702 (instantiator_eq_hash): ditto.
4703 (make_image_instance_cache_hash_table): create a suitable hash
4704 table for storing image instances.
4706 * elhash.h (hash_table_weakness): new internal weakness type
4707 HASH_TABLE_KEY_CAR_VALUE_WEAK.
4708 declare new functions.
4710 * elhash.c (finish_marking_weak_hash_tables): introduce yet
4711 another weakness type for glyphs.
4712 (make_standard_lisp_hash_table): new function split out from
4713 make_general_lisp_hash_table.
4714 (make_lisp_hash_table): call make_standard_lisp_hash_table.
4715 (hash_table_instantiate): ditto.
4716 (Fmake_hash_table): ditto.
4718 2000-12-31 Martin Buchholz <martin@xemacs.org>
4720 * XEmacs 21.2.39 is released.
4722 2000-12-29 Andy Piper <andy@xemacs.org>
4724 * menubar.c (menubar_visible_p_changed): signal the frame changed.
4726 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
4727 the frame has changed so that we pick up geometry changes such as
4730 2000-12-28 Andy Piper <andy@xemacs.org>
4732 * lastfile.c (my_ebss): make a char array so we can pad the
4733 bss. Fixes cygwin unexec.
4735 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
4737 2000-12-26 Andy Piper <andy@xemacs.org>
4739 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
4740 comments and try and be more precise about a non-/SIGIO world.
4741 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
4744 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
4745 we don't normalize to zero width or height.
4747 2000-12-24 Andy Piper <andy@xemacs.org>
4749 * Makefile.in.in (ldflags): add -mwindows when appropriate.
4751 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
4753 * s/sco5.h: SCO 5 has pty support.
4755 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
4757 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
4758 input-method-xlib.c contains whole contents of input-method-xfs.c,
4759 so we can use input-method-xlib.c's code for USE_XFONTSET
4761 * input-method-xfs.c: removed.
4763 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
4765 * file-coding.h (enum coding_category_type): reorder enumerators to
4766 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
4767 (now one greater than largest real coding_category_type enumerator).
4768 * file-coding.c (coding_category_symbol, coding_category_by_priority,
4769 coding_category_system, fcd_descriptihon_1, decode_coding_category,
4770 Fcoding_category_list, Fset_coding_priority_list,
4771 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
4772 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
4774 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4776 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
4777 * redisplay-output.c (redisplay_output_window): Clear top of window
4778 when face is changed.
4779 * redisplay-x.c (x_redraw_exposed_window): Call
4780 redisplay_clear_top_of_window.
4781 * redisplay.h: Publish redisplay_clear_top_of_window.
4783 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4785 * buffer.c (Fkill_buffer): Map over all devices.
4786 * window.c (window_loop): Remove UNSHOW_BUFFER code.
4787 (list_windows): New function.
4788 (list_all_windows): Ditto.
4789 (Freplace_buffer_in_windows): Use them.
4791 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4793 * database.c (berkdb_subtype): Recognize new subtype `queue'.
4794 (Fopen_database): Use `db_create' instead of `db_open'.
4795 (syms_of_database): Initialize Qqueue.
4797 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
4799 * buffer.c (common_init_complex_vars_of_buffer): Initialize
4800 buffer_local_face_property.
4801 * buffer.h (struct buffer): New member buffer_local_face_property.
4802 * window.c (Fset_window_buffer): Mark window's face as changed
4803 when buffer has buffer local face.
4804 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
4805 * objects.c (color_after_change): Set buffer_local_face_property
4806 when locale of face specifier is buffer.
4807 * objects.c (font_after_change): Ditto.
4808 * objects.c (face_boolean_after_change): Ditto.
4809 * glyphs.c (image_after_change): Ditto.
4811 2000-12-09 Dan Holmsand <dan@eyebee.com>
4813 * nt.c (mswindows_fstat): Report file permissions, volume serial
4814 number, etc. Code adapted from FSF Emacs 20.7.
4816 2000-12-09 Dan Holmsand <dan@eyebee.com>
4818 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
4819 of stat when we don't have symbolic links, to make sure
4820 mswindows_stat is called on mswindows.
4822 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
4824 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
4826 2000-12-12 Martin Buchholz <martin@xemacs.org>
4828 * doprnt.c (emacs_doprnt_1): More printing fixes.
4829 Make printing of numbers compatible with libc and FSF Emacs.
4830 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
4831 Use the system printf to do most of the hard work of formatting,
4832 instead of doprnt_1().
4833 Calculate memory to allocate for format string.
4834 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
4835 (doprnt_1): Cleaner code and documentation.
4837 2000-12-01 Jerry James <james@eecs.ukans.edu>
4839 * Makefile.in.in: Use the loop variable to install headers.
4841 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4843 * window.c (Fsplit_window): Don't invalidate face cache.
4845 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4847 * minibuf.c (Fall_completions): Undo the previous change
4848 which removed checking elements start with space.
4850 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4852 * mule-canna.c: Didier suppression.
4854 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4856 * mule-canna.c: rename static unsigned char buf[] to key_buffer
4857 (warning suppression). Add English comment translations.
4859 2000-12-05 Martin Buchholz <martin@xemacs.org>
4861 * unexelfsgi.c (unexec): Better test for mmap failure.
4863 2000-12-05 Martin Buchholz <martin@xemacs.org>
4865 * XEmacs 21.2.38 is released.
4867 2000-12-05 Martin Buchholz <martin@xemacs.org>
4869 * redisplay.c (bar-cursor): Make a user variable.
4871 * symsinit.h: Add init_postgresql_from_environment.
4873 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4875 * regex.c: Convert to clean C.
4877 2000-12-05 Dan Holmsand <dan@eyebee.com>
4880 Don't #include sysfile.h. Revert to duplicating PATH_MAX
4882 (sys_readlink): renamed to system_readlink to avoid conflict with
4883 the other sys_readlink.
4885 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
4887 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
4889 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
4891 * postgresql.c (init_postgresql_from_environment): new function.
4892 (vars_of_postgresql): Move code initializing Lisp variables out and
4893 into init_postgresql_from_environment.
4894 emacs.c (main_1): Call init_postgresql_from_environment if and only
4895 if running a dumped XEmacs.
4897 2000-08-31 Dan Holmsand <dan@eyebee.com>
4899 * buffer.c: Make find-file-compare-truenames default to true on
4902 * realpath.c (win32_abs_start):
4904 (win32_readlink): New functions.
4905 (xrealpath): Return really real filenames on windows.
4907 * fileio.c (Ffile_truename): Make file-truename work on windows.
4909 2000-11-29 Didier Verna <didier@xemacs.org>
4911 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
4912 * faces.c (update_face_cachel_data): use it.
4913 * faces.c (add_face_cachel): use it. Complete background pixmap
4914 frobbing in face cache if `update_face_cachel_data' has not done so.
4916 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
4918 * search.c (string_match_1): Don't set last_thing_searched
4921 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
4923 * buffer.c: Include casetab.h
4924 (common_init_complex_vars_of_buffer): Use new case-table object.
4925 * buffer.h: Include casetab.h
4926 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
4927 (DOWNCASE_TABLE_OF): Ditto.
4928 * bufslots.h: Remove char-tables and add case-table.
4929 * casetab.c: Include casetab.h
4930 (CASE_TABLE_P): Removed.
4931 (mark_case_table): New function.
4932 (allocate_case_table): New function.
4933 (Fcase_table_p): Use new case-table.
4934 (case_table_char): New function.
4935 (Fget_case_table): Ditto.
4936 (Fput_case_table): Ditto.
4937 (Fput_case_table_pair): Ditto.
4938 (Fcopy_case_table): Ditto.
4939 (Fcurrent_case_table): Return case-table.
4940 (Fstandard_case_table): Return case-table.
4941 (Fset_case_table): Fix doc-string.
4942 (set_case_table): Use case-table
4943 (syms_of_casetab): DEFSUBR new functions.
4944 (complex_vars_of_casetab): Set up standard case-table.
4945 * casetab.h: New file.
4946 * editfns.c: Include casetab.h
4947 (Fcompare_buffer_substrings): Use case-table.
4948 * inline.c: Include casetab.h
4949 * lisp.h: Remove bogus extern.
4950 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
4951 * search.c: Include casetab.h
4952 (TRANSLATE_ASCII): Removed.
4953 (TRANSLATE): Unconditionally translate character.
4954 (looking_at_1): Use case-table.
4955 (string_match_1): Ditto.
4956 (fast_string_match): Ditto.
4957 (search_command): Ditto.
4958 (search_buffer): Separate boyer_moore. Check whether
4959 boyer_moore is possible.
4960 (simple_search): New function.
4961 (boyer_moore): Separated from search_buffer. Translate char.
4963 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
4965 * regex.c (RE_TR_ASCII): Removed.
4966 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
4967 (PATFETCH): Call PATFETCH_RAW.
4968 (PATFETCH_RAW): Fetch Emchar.
4969 (PATUNFETCH): Decrement charptr.
4970 (GET_BUFFER_SPACE): Rename b to buf_end.
4972 (BUF_PUSH_2): Ditto.
4973 (BUF_PUSH_3): Ditto.
4974 (EXTEND_BUFFER): Ditto.
4975 (SET_LIST_BIT): Ditto.
4976 (regex_compile): Ditto. Translate non ASCII char.
4977 (compile_range): Ditto.
4978 (re_search_2): Ditto.
4979 (re_match_2_internal): Compare Emchar.
4980 (bcmp_translate): Ditto.
4982 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
4984 * lisp.h (basic char/int typedefs): comment improvement.
4986 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
4988 * emacs.c (main_1): unconditional pdump unstomping; don't save and
4989 unstomp inhibit_site_lisp. Improve comments.
4991 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
4993 * mule-charset.c (Fcharset_property): improve type checking, comments.
4995 2000-11-28 Andy Piper <andy@xemacs.org>
4997 * redisplay-output.c (redisplay_output_subwindow): make sure we do
4998 clipped display for windows in the gutter also.
4999 (redisplay_display_boxes_in_window_p): change semantics of return
5000 codes to be more intuitive.
5002 * gutter.h: declare display_boxes_in_gutter_p.
5004 * gutter.c (display_boxes_in_gutter_p): new function for
5007 2000-11-22 Andy Piper <andy@xemacs.org>
5009 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
5012 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
5014 * callproc.c (Fold_call_process_internal):
5015 * gpm.c (Freceive_gpm_event):
5016 (tty_get_foreign_selection): Might be just warning supression.
5017 * fileio.c (Fwrite_region_internal):
5018 (Fset_visited_file_modtime):
5019 * keymap.c (event_matches_key_specifier_p):
5020 Initialize GCPROed variable.
5022 * menubar-x.c (command_builder_find_menu_accelerator):
5023 Initialize before use.
5025 2000-11-23 Andy Piper <andy@xemacs.org>
5027 * unexcw.c (unexec): make the resulting executable executable.
5029 2000-11-21 Martin Buchholz <martin@xemacs.org>
5031 * doc.c (get_doc_string):
5032 Use size_t, not int, for result of XSTRING_LENGTH.
5034 * cmds.c (Fdelete_char):
5035 * cmds.c (Fpoint_at_eol):
5036 * cmds.c (Fself_insert_command):
5037 Use EMACS_INT, not int, for result of XINT.
5038 Someday, someone will want to insert more than 2**31 identical characters.
5040 * cmds.c (Fdelete_char):
5041 * cmds.c (Fdelete_backward_char):
5042 * syntax.c (Fforward_word):
5043 * syntax.c (Fforward_comment):
5044 Make COUNT argument optional, for consistency with forward-char et al.
5046 2000-11-22 Martin Buchholz <martin@xemacs.org>
5049 * print.c (long_to_string):
5050 Return a useful value: the pointer at end of data written.
5053 Use `static const char * const' for constant strings.
5054 (union printf_arg): Delete `i', `ui' members.
5057 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
5058 Do all printf-ing via the `l' specifier.
5059 Use EMACS_INT instead of int.
5062 2000-11-20 Didier Verna <didier@xemacs.org>
5064 * faces.c (update_face_cachel_data): don't frob the background
5065 pixmap when the window is being created. The face is needed but
5068 2000-11-20 Andy Piper <andy@xemacs.org>
5070 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
5071 messing with a debug environment.
5073 2000-11-20 Martin Buchholz <martin@xemacs.org>
5075 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
5077 2000-11-20 Martin Buchholz <martin@xemacs.org>
5079 * casetab.c (Fcase_table_p): Fix compile error and crash.
5081 2000-11-18 Philip Aston <philipa@mail.com>
5083 * s/cygwin32.h: Cygwin has SVR4-like pty support.
5085 2000-11-18 Martin Buchholz <martin@xemacs.org>
5087 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
5088 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
5090 2000-11-17 Martin Buchholz <martin@xemacs.org>
5092 * config.h.in: Define HAVE_ELF_H if elf.h exists.
5093 * unexelf.c: Use HAVE_ELF_H.
5094 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
5095 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
5096 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
5097 Greg Harrington <greg_harrington@hotmail.com> provided a machine
5099 So this is an unexelfsgi.c from a different line of development.
5101 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5103 * regex.c (RE_TR_ASCII): New function.
5104 (RE_TRANSLATE): Call it.
5106 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5108 * buffer.h (TRT_TABLE_OF): Remove assert.
5109 (IN_TRT_TABLE_DOMAIN): Removed.
5111 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
5113 * free-hook.c (log_gcpro):
5114 (show_gcprohist): Add support for GCPRO5.
5116 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
5118 * emacs.c (main_1): Improve -sd error message when --pdump=no.
5120 2000-11-16 Olivier Galibert <galibert@xemacs.org>
5122 * symeval.h: Declare flush_all_buffer_local_cache.
5124 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
5125 (flush_buffer_local_cache): Added.
5126 (flush_all_buffer_local_cache): Added.
5128 * lrecord.h: Remove unused XD_LO_RESET_NIL.
5130 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
5131 (pdump_dump_data): Ditto.
5132 (pdump_reloc_one): Ditto.
5133 (pdump): Remove unused pdump_qnil. Flush buffer local caches
5137 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5139 * buffer.c: Remove if 0'ed entry.
5140 * buffer.h: Rewrite TRT to use char-table.
5141 * bufslots.h: Remove mirror tables.
5142 * casetab.c: Remove mirror tables.
5143 (CASE_TABLE_P): New macro.
5144 (Fcase_table_p): Element of a case table is string or char-table.
5145 (make_mirror_trt_table): Removed.
5146 (set_case_table): Setup char-table from strings for backward
5148 * dired.c (Fdirectory_files):
5149 * dired-msw.c: (mswindows_get_files):
5150 * lisp.h: Change prototype of re_pattern_buffer.
5151 * regex.c: (RE_TRANSLATE): New macro.
5152 (TRANSLATE_P): Ditto.
5153 Change translate to type RE_TRANSLATE_TYPE.
5154 * regex.h: Define RE_TRANSLATE_TYPE
5155 * search.c (TRANSLATE): New macro.
5156 (TRANSLATE_ASCII): New macro.
5157 Translate table is changed to Lisp_Object.
5158 (signal_failure): Inhibit return.
5160 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5167 Do UNGCPRO before return.
5169 2000-11-14 Martin Buchholz <martin@xemacs.org>
5171 * XEmacs 21.2.37 is released.
5173 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
5175 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
5176 Add comments about discarded return value.
5178 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
5181 * event-stream.c: Fix comments. Remove some #if 0'ed part.
5183 2000-10-27 Andy Piper <andy@xemacs.org>
5185 * gutter.c (Fset_default_gutter_position): default left and right
5187 (calculate_gutter_size): calculate resonable heuristic for left
5188 and right gutter sizes.
5189 (specifier_vars_of_gutter): change left and right gutter sizes to
5191 (calculate_gutter_size_from_display_lines): new function.
5192 (output_gutter): check for resizing on left and right gutters.
5193 (clear_gutter): don't special case top and left gutters.
5194 (specifier_vars_of_gutter): use new signature for
5195 set_specifier_caching.
5197 * glyphs-x.c (x_redisplay_widget): spelling fix.
5198 * glyphs.c (specifier_vars_of_glyphs):
5199 * menubar.c (specifier_vars_of_menubar):
5200 * redisplay.c (specifier_vars_of_redisplay):
5201 * toolbar.c (specifier_vars_of_toolbar):
5202 * window.c (specifier_vars_of_window):
5203 * scrollbar.c (specifier_vars_of_scrollbar):
5204 (complex_vars_of_scrollbar): use new signature for
5205 set_specifier_caching.
5207 * specifier.c (set_specifier_caching): include recompute flag.
5208 (recompute_one_cached_specifier_in_window): always recompute if
5210 (recompute_one_cached_specifier_in_frame): ditto.
5212 * specifier.h (struct specifier_caching): add recompute flag.
5214 2000-10-24 Andy Piper <andy@xemacs.org>
5216 * unexcw.c (copy_executable_and_dump_data_section): add new
5217 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
5220 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5222 * console-x.h (x_device): New member modifier_release_time.
5223 * event-Xt.c (x_handle_sticky_modifiers):
5224 Bound interval modifier keys are sticky.
5225 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
5226 * events.h: extern it.
5228 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5230 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
5232 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5234 * event-stream.c (execute_command_event): Preserve current_events
5235 and the like when event is misc-user-event.
5236 Inhibit quit during the call to maybe_echo_keys.
5238 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
5240 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
5241 symlink when buffer is killed.
5242 (inhibit_clash_detection): New variable.
5244 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5246 * console.c (Fset_input_method): Trigger redisplay on tty.
5248 2000-11-07 Martin Buchholz <martin@xemacs.org>
5250 * process.c (Fprocess_status): Revert to previous behavior:
5251 (process-status "nosuchprocess") ==> nil
5253 2000-11-06 Martin Buchholz <martin@xemacs.org>
5255 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
5256 Work around another GCC 2.95.2 optimizer bug.
5258 2000-11-02 Martin Buchholz <martin@xemacs.org>
5260 * process.c (Fget_process): Use LIST_LOOP_2.
5261 (kill_buffer_processes): Use LIST_LOOP_2.
5263 * minibuf.c (Fall_completions):
5264 Delete old non-functional code for FSF fourth argument.
5266 * frame.c (frame_matches_frame_spec):
5267 Renamed from `frame_matches_frametype'. Update all callers.
5268 (device_matches_device_spec):
5269 Renamed from 'device_matches_console_spec'. Update all callers.
5271 * doc.c (Fsubstitute_command_keys):
5272 Remove buffer overflow crash. Small code cleanups.
5274 * casetab.c (check_case_table): Simpler code.
5276 * window.c (Freplace_buffer_in_windows):
5277 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
5278 (and similar implementation) as Fdelete_windows_on.
5281 * alloc.c (Fmake_list):
5282 * alloc.c (make_vector):
5283 * alloc.c (Fmake_vector):
5284 * alloc.c (make_bit_vector):
5285 * alloc.c (Fmake_bit_vector):
5286 * alloc.c (Fbit_vector):
5287 * alloc.c (Fmake_string):
5288 * alloc.c (Fpurecopy):
5289 * alloc.c (Fmemory_limit):
5291 * buffer.c (Fget_buffer):
5292 * buffer.c (Fkill_buffer):
5293 * buffer.c (complex_vars_of_buffer):
5294 * bytecode.c (Fcompiled_function_stack_depth):
5295 * callint.c (Fprefix_numeric_value):
5297 * event-stream.c (Fread_key_sequence):
5299 * casetab.c (Fcase_table_p):
5300 * casetab.c (check_case_table):
5301 * casetab.c (Fset_case_table):
5302 * casetab.c (Fset_standard_case_table):
5304 * chartab.c (Fchar_table_type):
5305 * chartab.c (Freset_char_table):
5306 * chartab.c (Fget_char_table):
5307 * chartab.c (Fget_range_char_table):
5308 * chartab.c (Fput_char_table):
5309 * chartab.c (Fmap_char_table):
5310 * chartab.c (Fcategory_table_p):
5311 * chartab.c (Fcheck_category_at):
5312 * chartab.c (Fchar_in_category_p):
5313 * chartab.c (Fcategory_table):
5314 * chartab.c (Fcopy_category_table):
5315 * chartab.c (Fset_category_table):
5316 * chartab.c (Fcategory_designator_p):
5317 * chartab.c (Fcategory_table_value_p):
5318 * cmds.c (Fdelete_char):
5319 * cmds.c (Fdelete_backward_char):
5320 * cmds.c (Fself_insert_command):
5321 * cmds.c (Fself_insert_internal):
5322 * console.c (Fvalid_console_type_p):
5323 * console.c (Fcdfw_console):
5324 * console.c (Fconsole_type):
5325 * console.c (Fconsole_name):
5326 * console.c (Fconsole_device_list):
5327 * console.c (Fconsole_on_window_system_p):
5331 * data.c (Fsubr_interactive):
5332 * data.c (Fchar_to_int):
5333 * data.c (Fint_to_char):
5336 * data.c (Fnumber_to_string):
5337 * data.c (Fstring_to_number):
5339 * database.c (mark_database):
5340 * database.c (finalize_database):
5341 * database.c (Fdatabase_live_p):
5342 * database.c (Fdatabasep):
5343 * device-x.c (Fx_get_resource):
5344 * device.c (Fdfw_device):
5346 * dired.c (Ffile_name_completion):
5347 * dired.c (Ffile_name_all_completions):
5348 * dired.c (Fuser_name_completion):
5349 * dired.c (Fuser_name_completion_1):
5350 * dired.c (Fuser_name_all_completions):
5351 * doc.c (Fdocumentation):
5352 * doc.c (Fdocumentation_property):
5353 * doc.c (Fsubstitute_command_keys):
5355 * editfns.c (Fchar_to_string):
5356 * editfns.c (Fstring_to_char):
5357 * editfns.c (Ftemp_directory):
5358 * editfns.c (Finsert_char):
5359 * editfns.c (Fbuffer_substring_no_properties):
5360 * editfns.c (Fnarrow_to_region):
5361 * editfns.c (Fchar_equal):
5362 * editfns.c (Fchar_Equal):
5363 * editfns.c (Ftranspose_regions):
5364 * emacs.c (Fdump_emacs):
5366 * eval.c (Fcommand_execute):
5367 * eval.c (Fautoload):
5368 * eval.c (Fbacktrace):
5369 * eval.c (Fbacktrace_frame):
5371 * events.c (Fcopy_event):
5372 * events.c (Fcharacter_to_event):
5373 * events.c (Fevent_button):
5374 * events.c (Fevent_process):
5376 * extents.c (Fnext_extent_change):
5377 * extents.c (Fextent_property):
5379 * faces.c (Fmake_face):
5381 * file-coding.c (Fencode_shift_jis_char):
5382 * file-coding.c (Fencode_big5_char):
5383 * fileio.c (Ffile_name_directory):
5384 * fileio.c (Ffile_name_nondirectory):
5385 * fileio.c (Ffile_name_as_directory):
5386 * fileio.c (Fdirectory_file_name):
5387 * fileio.c (Ffile_truename):
5388 * fileio.c (Fsubstitute_in_file_name):
5389 * fileio.c (Ffile_modes):
5390 * fileio.c (Fset_file_modes):
5391 * fileio.c (Fset_default_file_modes):
5392 * fileio.c (Fverify_visited_file_modtime):
5393 * floatfns.c (Facos):
5394 * floatfns.c (Fasin):
5395 * floatfns.c (Fatan):
5396 * floatfns.c (Fcos):
5397 * floatfns.c (Fsin):
5398 * floatfns.c (Ftan):
5399 * floatfns.c (Fbessel_j0):
5400 * floatfns.c (Fbessel_j1):
5401 * floatfns.c (Fbessel_jn):
5402 * floatfns.c (Fbessel_y0):
5403 * floatfns.c (Fbessel_y1):
5404 * floatfns.c (Fbessel_yn):
5405 * floatfns.c (Ferf):
5406 * floatfns.c (Ferfc):
5407 * floatfns.c (Flog_gamma):
5408 * floatfns.c (Fexp):
5409 * floatfns.c (Fexpt):
5410 * floatfns.c (Flog):
5411 * floatfns.c (Flog10):
5412 * floatfns.c (Fsqrt):
5413 * floatfns.c (Fcube_root):
5414 * floatfns.c (Facosh):
5415 * floatfns.c (Fasinh):
5416 * floatfns.c (Fatanh):
5417 * floatfns.c (Fcosh):
5418 * floatfns.c (Fsinh):
5419 * floatfns.c (Ftanh):
5420 * floatfns.c (Fabs):
5421 * floatfns.c (Ffloat):
5422 * floatfns.c (Flogb):
5423 * floatfns.c (Fceiling):
5424 * floatfns.c (Ffloor):
5425 * floatfns.c (Fround):
5426 * floatfns.c (Ftruncate):
5427 * floatfns.c (Ffceiling):
5428 * floatfns.c (Fffloor):
5429 * floatfns.c (Ffround):
5430 * floatfns.c (Fftruncate):
5431 * fns.c (Fstring_equal):
5432 * fns.c (Fstring_lessp):
5437 * fns.c (Fsubstring):
5439 * fns.c (Fold_assoc):
5440 * fns.c (assoc_no_quit):
5442 * fns.c (Fold_assq):
5443 * fns.c (assq_no_quit):
5445 * fns.c (Fold_rassoc):
5447 * fns.c (Fold_rassq):
5448 * fns.c (rassq_no_quit):
5449 * fns.c (Fremassoc):
5450 * fns.c (remassoc_no_quit):
5452 * fns.c (remassq_no_quit):
5453 * fns.c (Fremrassoc):
5454 * fns.c (Fremrassq):
5455 * fns.c (remrassq_no_quit):
5457 * fns.c (Fplist_get):
5458 * fns.c (Fplist_put):
5459 * fns.c (Fplist_remprop):
5460 * fns.c (Fplist_member):
5461 * fns.c (Flax_plist_get):
5462 * fns.c (Flax_plist_put):
5463 * fns.c (Flax_plist_remprop):
5464 * fns.c (Flax_plist_member):
5466 * fns.c (Fold_equal):
5468 * fns.c (Fbase64_encode_region):
5469 * fns.c (Fbase64_encode_string):
5470 * fns.c (Fbase64_decode_region):
5472 * frame.c (frame_matches_frame_spec):
5473 * frame.c (device_matches_device_spec):
5474 * frame.c (next_frame):
5475 * frame.c (previous_frame):
5476 * frame.c (Fnext_frame):
5477 * frame.c (Fprevious_frame):
5478 * frame.c (Fframe_property):
5479 * frame.c (Fset_frame_height):
5480 * frame.c (Fset_frame_size):
5484 * glyphs.c (decode_error_behavior_flag):
5485 * glyphs.c (Fmake_image_instance):
5486 * indent.c (Findent_to):
5487 * intl.c (Fignore_defer_gettext):
5488 * keymap.c (Fkeymapp):
5489 * keymap.c (Flookup_key):
5491 * lread.c (Fload_internal):
5492 * lread.c (Feval_buffer):
5493 * lread.c (Feval_region):
5494 * macros.c (Fexecute_kbd_macro):
5495 * marker.c (set_marker_internal):
5496 * marker.c (Fset_marker):
5497 * marker.c (set_marker_restricted):
5498 * marker.c (Fcopy_marker):
5499 * marker.c (noseeum_copy_marker):
5501 * menubar.c (Fpopup_menu):
5503 * mule-charset.c (Fcharset_name):
5504 * mule-charset.c (Fchar_charset):
5505 * mule-charset.c (Fchar_octet):
5506 * mule-charset.c (Fsplit_char):
5507 * mule-wnnfns.c (Fwnn_open):
5508 * mule-wnnfns.c (Fwnn_dict_comment):
5509 * mule-wnnfns.c (Fwnn_quit_henkan):
5510 * mule-wnnfns.c (Fwnn_word_toroku):
5511 * mule-wnnfns.c (Fwnn_word_sakujo):
5512 * mule-wnnfns.c (Fwnn_word_use):
5513 * mule-wnnfns.c (Fwnn_hindo_set):
5515 * objects.c (Fmake_color_instance):
5516 * objects.c (Fmake_font_instance):
5517 * print.c (Fwrite_char):
5519 * process.c (mark_process):
5520 * process.c (print_process):
5521 * process.c (get_process_from_usid):
5522 * process.c (Fprocessp):
5523 * process.c (Fprocess_live_p):
5524 * process.c (Fget_process):
5525 * process.c (Fget_buffer_process):
5526 * process.c (get_process):
5527 * process.c (Fprocess_id):
5528 * process.c (Fprocess_name):
5529 * process.c (Fprocess_command):
5530 * process.c (init_process_io_handles):
5531 * process.c (start_process_unwind):
5532 * process.c (Fstart_process_internal):
5533 * process.c (Fopen_multicast_group_internal):
5534 * process.c (Fset_process_window_size):
5535 * process.c (read_process_output):
5536 * process.c (send_process):
5537 * process.c (Fprocess_tty_name):
5538 * process.c (Fset_process_buffer):
5539 * process.c (Fprocess_buffer):
5540 * process.c (Fprocess_mark):
5541 * process.c (set_process_filter):
5542 * process.c (Fset_process_filter):
5543 * process.c (Fprocess_filter):
5544 * process.c (Fprocess_send_region):
5545 * process.c (Fprocess_send_string):
5546 * process.c (exec_sentinel):
5547 * process.c (Fset_process_sentinel):
5548 * process.c (Fprocess_sentinel):
5549 * process.c (status_notify):
5550 * process.c (Fprocess_status):
5551 * process.c (Fprocess_exit_status):
5552 * process.c (process_send_signal):
5553 * process.c (Fprocess_send_eof):
5554 * process.c (deactivate_process):
5555 * process.c (remove_process):
5556 * process.c (Fdelete_process):
5557 * process.c (kill_buffer_processes):
5558 * process.c (Fprocess_kill_without_query):
5559 * process.c (Fprocess_kill_without_query_p):
5561 * rangetab.c (Fget_range_table):
5562 * rangetab.c (Fput_range_table):
5563 * rangetab.c (Fremove_range_table):
5564 * rangetab.c (Fclear_range_table):
5566 * search.c (Fskip_chars_forward):
5567 * search.c (Fskip_chars_backward):
5568 * search.c (Fskip_syntax_forward):
5569 * search.c (Fskip_syntax_backward):
5570 * search.c (search_command):
5571 * search.c (Freplace_match):
5572 * search.c (Fregexp_quote):
5573 * select.c (Fown_selection_internal):
5574 * select.c (Fselection_owner_p):
5575 * select.c (Fselection_exists_p):
5576 * select.c (Fget_selection_internal):
5579 * symbols.c (Fintern):
5580 * symbols.c (Fintern_soft):
5581 * symbols.c (Funintern):
5582 * symbols.c (Fapropos_internal):
5583 * symbols.c (Fset_default):
5585 * syntax.c (Fsyntax_table_p):
5586 * syntax.c (Fcopy_syntax_table):
5587 * syntax.c (Fset_syntax_table):
5588 * syntax.c (Fchar_syntax):
5589 * syntax.c (syntax_match):
5590 * syntax.c (Fmatching_paren):
5591 * syntax.c (Fforward_word):
5592 * syntax.c (scan_lists):
5593 * syntax.c (Fscan_lists):
5594 * syntax.c (Fscan_sexps):
5595 * syntax.c (Fparse_partial_sexp):
5596 * toolbar.c (Fcheck_toolbar_button_syntax):
5599 * window.c (Fwindowp):
5600 * window.c (Fwindow_live_p):
5601 * window.c (Fwindow_point):
5602 * window.c (Fdelete_window):
5603 * window.c (Fnext_window):
5604 * window.c (Fprevious_window):
5605 * window.c (Fother_window):
5606 * window.c (window_loop):
5607 * window.c (Fget_lru_window):
5608 * window.c (Fsplit_window):
5609 * window.c (Fenlarge_window):
5610 * window.c (Fenlarge_window_pixels):
5611 * window.c (Fshrink_window):
5612 * window.c (Fshrink_window_pixels):
5613 * window.c (change_window_height):
5614 * window.c (Fwindow_configuration_p):
5615 * window.c (Fcurrent_window_configuration):
5617 * casefiddle.c (casify_object):
5618 * casefiddle.c (Fupcase):
5619 * casefiddle.c (Fdowncase):
5620 * casefiddle.c (Fcapitalize):
5621 * casefiddle.c (Fupcase_initials):
5622 * casefiddle.c (casify_region_internal):
5623 * casefiddle.c (casify_region):
5624 * casefiddle.c (Fupcase_region):
5625 * casefiddle.c (Fdowncase_region):
5626 * casefiddle.c (Fcapitalize_region):
5627 * casefiddle.c (Fupcase_initials_region):
5628 * casefiddle.c (Fupcase_word):
5629 * casefiddle.c (Fdowncase_word):
5630 * casefiddle.c (Fcapitalize_word):
5631 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
5632 Replace 0 with '\0' when working with bytes.
5633 Replace initial "(" with "\(" in docstrings.
5635 2000-11-01 Martin Buchholz <martin@xemacs.org>
5637 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
5639 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
5641 2000-10-31 Martin Buchholz <martin@xemacs.org>
5643 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
5645 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5647 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
5650 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5652 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
5653 (inhibit_auto_save_session): New variable.
5654 (vars_of_fileio): Declare and initialize them.
5655 * fileio.c (Fdo_auto_save): Don't create session file if
5656 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
5658 2000-10-31 Martin Buchholz <martin@xemacs.org>
5660 * sgiplay.c (play_internal): C++ compilability.
5661 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
5662 * callproc.c (Fold_call_process_internal):
5663 Remove unused vars `env', `first'.
5664 * scrollbar.c (update_scrollbar_instance):
5665 #### unused var `current_window'.
5666 * redisplay-tty.c: Put currently unused vars insert_mode_on,
5667 etc. within #ifdef NOT_YET.
5668 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
5669 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
5670 * specifier.c (specifier_instance):
5671 #### unused var `tag'.
5672 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
5674 2000-10-27 Martin Buchholz <martin@xemacs.org>
5677 * fns.c (list_sort):
5678 * fns.c (Ffillarray):
5679 * fns.c (bytecode_nconc2):
5682 * fns.c (Fmapconcat):
5683 Be pedantically 64-bit correct. For the time when someone will
5684 want to have a list with length > 2**32.
5686 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
5687 Work around MIPSpro compiler bug.
5689 * process-unix.c (unix_kill_child_process): Add snarky comment.
5690 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
5692 * config.h.in: Oops, _getpt ==> _getpty
5694 2000-10-26 Martin Buchholz <martin@xemacs.org>
5698 Use void*, not char*, as return type of alloca().
5700 * alloc.c (free_marker): Side effect inside assert expression!
5702 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
5704 * mule-charset.c (Fset_charset_ccl_program): To check
5705 if the given ccl program is valid, use setup_ccl_program()
5706 instead of CHECK_VECTOR().
5707 (Fmake_charset): Likewise.
5709 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
5711 * faces.c (get_extent_fragment_face_cache_index):
5712 Fix cachel.merged_faces memory leak.
5714 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
5716 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
5717 Reset MSB of octets obtained by DECODE_SJIS
5718 because of the incompatibility with Emacs.
5719 (ccl_driver)<CCL_ENCODE_SJIS>:
5720 Set MSB of octets before passing them to
5721 ENCODE_SJIS because of the incompatibility
5724 2000-10-18 Daiki Ueno <ueno@unixuser.org>
5726 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
5727 (DECLARE_LRECORD): Undo the last change.
5728 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
5730 2000-10-17 Daiki Ueno <ueno@unixuser.org>
5732 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
5733 the implementation to lrecord_implementations_table.
5735 2000-10-14 Daiki Ueno <ueno@unixuser.org>
5737 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
5738 initial value of `lrecord_type_##c_name' and
5739 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
5740 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
5741 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
5742 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
5743 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
5745 2000-10-17 Martin Buchholz <martin@xemacs.org>
5747 * miscplay.c (sndcnv8S_2mono):
5748 (sndcnv2monounsigned):
5749 (sndcnvULaw_2linear):
5751 Remove implementation-defined behavior.
5753 2000-10-12 Martin Buchholz <martin@xemacs.org>
5755 * input-method-xlib.c: Warning suppression.
5757 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
5759 * mule-ccl.c: Sync up with Emacs 21.0.90.
5760 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
5762 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
5764 (ccl_driver[WriteMultibyteChar2]): Bug fix.
5765 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
5766 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
5767 leading char belongs to official 2-dimensional charset.
5768 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
5769 write the given character as is. Otherwise,
5770 if it is a multibyte char, convert it by
5771 non_ascii_set_charptr_emchar, then write it.
5772 (CCL_WRITE_STRING): Likewise.
5773 (ccl_get_compiled_code): New function.
5774 (setup_ccl_program): When ccl_prog is invalid,
5776 (Fregister_code_conversion_map): New function.
5777 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
5779 * mule-ccl.h: Sync up with Emacs 21.0.90.
5780 (Fregister_ccl_program): export it.
5782 * redisplay-msw.c (separate_textual_runs):
5783 If ccl program is not valid, don't do ccl conversion.
5785 * redisplay-x.c (separate_textual_runs): Ditto.
5787 * file-coding.c (Fmake_coding_system):
5788 When type is ccl and value is vector, register it
5789 with a proper symbol. And checks whether the
5790 given ccl program is valid.
5791 (mule_decode): When calling ccl_driver, if src indicates
5792 NULL pointer, set an empty string instead.
5793 (mule_encode): Likewise.
5795 2000-10-11 Martin Buchholz <martin@xemacs.org>
5797 The following large batch of changes gets us back to a state of
5798 C++ compilability. Extbyte is now a char, which means that
5799 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
5801 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
5803 * sound.c (Fplay_sound): Type correctness.
5805 * select-x.c (hack_motif_clipboard_selection): Type correctness.
5806 (x_get_window_property): Type correctness.
5807 (receive_incremental_selection): unsigned char ==> Extbyte
5808 (selection_data_to_lisp_data): unsigned char ==> Extbyte
5809 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
5810 (Fx_store_cutbuffer_internal): Type correctness.
5812 * process-unix.c (try_to_initialize_subtty): Type correctness.
5814 * objects-x.c (x_print_color_instance): Type correctness.
5815 (x_print_font_instance): Type correctness.
5816 (x_list_fonts): SExtbyte ==> Extbyte.
5817 (valid_x_font_name_p): SExtbyte ==> Extbyte.
5818 (x_find_charset_font): SExtbyte ==> Extbyte.
5819 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
5820 (truename_via_XListFonts): SExtbyte ==> Extbyte.
5821 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
5824 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
5825 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
5826 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
5827 (BYTE_C0_P): Use bit ops for char-signedness safety.
5828 (BYTE_C1_P): Use bit ops for char-signedness safety.
5829 (CHARSET_BY_LEADING_BYTE):
5830 (CHARSET_BY_ATTRIBUTES):
5831 Always use inline function.
5832 Use type_checking_assert.
5835 * mule-charset.c (non_ascii_charptr_copy_char):
5836 Modify to work with both ASCII and non-ASCII characters.
5837 Improve docs and variable names.
5838 Replace over-clever fall-through switch with a simple loop.
5839 (Lstream_get_emchar_1):
5840 Replace over-clever fall-through switch with a simple loop.
5842 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5843 Warning suppression.
5845 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
5846 the return value of Lstream_getc, which could be EOF as well.
5848 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
5850 * lisp.h: Make Extbyte a char, not unsigned char, so that external
5851 APIs can be used on Extbytes without casts. Risky!
5855 * input-method-xlib.c (XIM_init_device):
5856 Use Xlib.h instead of IntrinsicP.h.
5857 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
5858 which will break in X11R7.
5859 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
5860 to call XRegisterIMInstantiateCallback with correct types.
5862 * gui-x.c (button_item_to_widget_value): Type correctness.
5864 * glyphs.c (bitmap_to_lisp_data): Type correctness.
5866 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
5867 (xbm_instantiate_1): Type correctness.
5868 (BUILD_GLYPH_INST): Type correctness.
5870 * fileio.c (Fsubstitute_in_file_name): Type correctness.
5873 (decode_coding_sjis):
5874 (decode_coding_big5):
5875 (decode_coding_ucs4):
5876 (decode_coding_utf8):
5877 (decode_coding_iso2022):
5878 (decode_coding_no_conversion):
5879 Make all decoding functions take an Extbyte * arg.
5880 (encode_coding_sjis):
5881 (encode_coding_big5):
5882 (encode_coding_ucs4):
5883 (encode_coding_utf8):
5884 (encode_coding_iso2022):
5885 (encode_coding_no_conversion):
5886 Make all encoding functions take a Bufbyte * arg.
5887 Use size_t instead of unsigned int for memory sizes.
5888 Only cast to unsigned char whenever dereferencing Extbyte *.
5890 * doc.c (unparesseuxify_doc_string): Type correctness.
5892 * console-x.c (split_up_display_spec):
5893 Rewrite without using details of internal string representation.
5894 (x_semi_canonicalize_device_connection): Type correctness.
5897 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
5898 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
5899 (HAVE_XFREE386): Removed.
5901 * buffer.h (DEC_CHARPTR): `const' correctness.
5902 (bufbyte_strcmp): New.
5903 (bufbyte_memcmp): New.
5905 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
5907 * buffer.h (XCHAR_OR_CHAR_INT):
5908 Always use inline function.
5909 Remove redundant type checking assert() - XINT will abort quite nicely.
5911 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
5913 * search.c (Freplace_match): Set newtext to an empty string.
5915 2000-10-10 Martin Buchholz <martin@xemacs.org>
5917 * s/decosf1-3.h: Remove #include of stropts.h
5918 * s/ptx.h: Remove #include of stropts.h
5919 * s/usg5-4.h: Remove #include of stropts.h
5922 Use stropts.h, not sys/stropts.h.
5923 Use strtio.h, not sys/strtio.h.
5925 2000-10-04 Martin Buchholz <martin@xemacs.org>
5927 * XEmacs 21.2.36 is released.
5929 2000-09-21 Andy Piper <andy@xemacs.org>
5931 * glyphs-x.c (x_redisplay_widget): make sure non-structural
5932 changes still involve copying the widget tree.
5933 (update_widget_face): make sure a change is register in the widget
5934 tree. Call update_tab_widget_face appropriately.
5935 (update_tab_widget_face): ditto.
5936 (x_tab_control_redisplay): make sure non-structural changes still
5937 involve copying the widget tree.
5939 2000-08-31 Daiki Ueno <ueno@unixuser.org>
5941 * lread.c (locate_file): Check the path element is non-nil.
5943 2000-10-02 Martin Buchholz <martin@xemacs.org>
5945 * lisp.h: Warning suppression for SCO compilers.
5947 * redisplay-tty.c (reset_tty_modes): Fix crash.
5948 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
5950 2000-09-27 Martin Buchholz <martin@xemacs.org>
5952 Big signal/process handling overhaul. Bugs fixed:
5953 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
5954 M-x comint-kill-subjob should work for both values nil and t of
5955 process-connection-type. It was broken on most platforms.
5956 Testing on Irix and Cygwin still needed. Other plaforms tested.
5957 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
5958 * process-unix.c: Signal/Process handling overhaul.
5959 (pty_name): make 64 bytes, as `expect' does, for paranoia.
5960 (allocate_pty): Use all available modern methods of allocating
5961 ptys, falling back to old style BSD allocation as a last resort.
5962 Use allegedly more secure Unix98 pty allocation by default.
5963 (allocate_pty_the_old_fashioned_way): New. the last resort.
5964 (unix_create_process): Push ptem, ldterm, ttcompat where
5965 available. Autoconfiscate.
5966 (try_to_initialize_subtty): New.
5967 (unix_kill_child_process): Proper signal handling for ptys on most
5968 platforms, using special knowledge of AIX, BSD, etc...
5969 (unix_create_process): Always disconnect_controlling_terminal() for
5970 subprocesses, whether using ptys or not.
5971 * process.h: Remove old getpt-dependent PTY code.
5972 * process.c (Fprocess_send_signal): New, obvious generic function.
5973 (decode_signal): New.
5974 (Finterrupt_process):
5978 (Fcontinue_process):
5979 (Fsignal_process): Use decode_signal.
5980 (process_send_signal):
5981 Many docstring corrections.
5982 Allow any signal to be sent to a process object.
5983 * config.h.in: Add symbols for big signal/process overhaul.
5984 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
5985 * sysproc.h: Include process-related headers, where available:
5986 sys/stropts.h sys/strtio.h pty.h libutil.h
5994 Remove old S&M pty stuff.
5995 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
5996 * systty.h: Simplify cpp hackery, improve comments.
5997 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
5999 * editfns.c (Fformat_time_string):
6000 Be a little more paranoid with the return value of ctime.
6002 * fileio.c (check_executable):
6004 Use symbolic constants X_OK, W_OK.
6006 * console-x.c (split_up_display_spec): Fix a warning.
6008 2000-10-02 Martin Buchholz <martin@xemacs.org>
6010 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
6011 * ntproc.c (sys_spawnve): make_string ==> build_string
6012 Small clarity improvements.
6014 2000-09-30 Martin Buchholz <martin@xemacs.org>
6016 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
6018 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
6020 * config.h.in (HAVE_STRCASECMP): Remove.
6022 2000-09-29 Martin Buchholz <martin@xemacs.org>
6024 * redisplay-output.c (redisplay_output_pixmap):
6025 Cleaner and possibly more 64-bit correct code.
6027 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
6029 * dumper.c (pdump_load_finish): move restoration of
6030 `noninteractive1' to emacs.c (main_1).
6031 * emacs.c (main_1): protect LISP-visible command-line flags
6034 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
6036 * Makefile.in.in (versionclean): Use EXE_TARGET and
6037 DUMP_TARGET instead of literal program names.
6039 2000-09-20 Martin Buchholz <martin@xemacs.org>
6041 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
6043 2000-09-19 Martin Buchholz <martin@xemacs.org>
6045 * *: Spelling mega-patch
6047 2000-09-19 Martin Buchholz <martin@xemacs.org>
6049 * fns.c (bad_bad_turtle):
6050 Delete "Eek!" comment, since we fixed the bug to which it refers.
6052 2000-09-16 Martin Buchholz <martin@xemacs.org>
6054 * alloca.c: Replace REGISTER with register.
6056 2000-09-16 Daiki Ueno <ueno@unixuser.org>
6058 * file-coding.c (ucs_to_char): Use countof.
6060 2000-09-16 Martin Buchholz <martin@xemacs.org>
6062 * file-coding.c: (ucs_to_char):
6063 (complex_vars_of_file_coding):
6064 Use countof instead of sizeof.
6065 Use CHECK_NATNUM instead of CHECK_INT.
6067 * sysdep.c (strcasecmp): Remove.
6068 * device-x.c (ascii_strcasecmp): New.
6069 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
6070 Avoid using non-standard non-portable strcasecmp.
6072 2000-09-16 Martin Buchholz <martin@xemacs.org>
6074 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
6075 * font-lock.c: remove reference to emacsfns.h.
6076 * search.c: small doc improvement.
6077 * event-Xt.c: correct file names in comments.
6078 * console-x.h Correct file names in comments.
6079 * frame.c: Correct file names in comments.
6080 * event-stream.c: remove Energize from comments.
6082 2000-09-15 Martin Buchholz <martin@xemacs.org>
6084 * symeval.h (DEFERROR_STANDARD):
6087 (DEFSYMBOL_NO_DUMP):
6088 (DEFSYMBOL_MULTIWORD_PREDICATE):
6089 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
6091 The construct &##name is not sensible C.
6092 Fixes compilation errors with Unixware native compiler.
6094 2000-09-14 Martin Buchholz <martin@xemacs.org>
6096 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
6097 (next_frame_internal): Removed. We now just have next_frame.
6099 Write a simpler and cleaner one-pass algorithm.
6100 Remove called_from_delete_device arg and #ifdefed-out code.
6102 Renamed from prev_frame. Update callers.
6103 Cleaned up to have an analogous implementation to next_frame.
6104 (other_visible_frames_internal): Remove the
6105 called_from_delete_device bogus arg, and hence, remove this
6106 function. Just use other_visible_frames().
6108 * window.c (Fnext_window):
6110 Since next_frame() is guaranteed to return a frame, remove check
6111 for nil inserted in previous patch.
6114 Make code look more like Fnext_window.
6116 Respect the `console' arg when iterating through windows.
6117 Fixes bug: (get-buffer-window buffer t device) not respecting
6119 This function needs more work, as others have pointed out.
6121 * frame.h: Rename prev_frame to previous_frame.
6122 device_matches_console_spec no longer takes a `frame' arg.
6127 Use EMACS_BLOCK_SIGNAL instead of sigblock.
6128 From "Golubev I. N." <gin@mo.msk.ru>.
6130 * make-src-depend: Fix typo.
6132 2000-09-13 Martin Buchholz <martin@xemacs.org>
6134 * window.c (Fnext_window):
6135 next_frame() might return nil, not a frame.
6137 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6139 * frame.c (next_frame_internal):
6140 We've passed a frame if we've passed its device.
6142 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6143 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
6145 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6147 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6148 Allow option to suppress accelerators in menu/dialog items.
6149 (populate_or_checksum_helper): Pass dialog title through above.
6151 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
6153 * event-msw.c (mswindows_key_to_emacs_keysym):
6154 Add "pause" key, fix "menu" key.
6156 2000-09-09 Martin Buchholz <martin@xemacs.org>
6158 * eval.c (reinit_vars_of_eval):
6159 Increase max_lisp_eval_depth to 1000,
6160 required for thai-xtis.el to byte-compile under some circumstances.
6162 2000-09-04 Martin Buchholz <martin@xemacs.org>
6164 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
6167 2000-09-01 Martin Buchholz <martin@xemacs.org>
6169 * make-src-depend: Make the generated Makefiles smaller.
6171 * s/hpux.h (SETUP_SLAVE_PTY):
6172 Provide a %d in the format string for the errno argument.
6174 * editfns.c (Ftemp_directory):
6176 Avoid buffer overrun on very long file name.
6178 * input-method-xlib.c (XIM_init_device):
6179 6th parameter of XRegisterIMInstantiateCallback has different
6180 pointer types on different OSes, so simply cast to (void *).
6182 * unexhp9k800.c: Warning fixes. Fiddly changes.
6184 * sysdll.c (dll_open):
6185 shl_load will hang hard if passed a NULL filename.
6186 Simply return NULL for compatibility with dlopen.
6187 * sysdll.c: Conform to XEmacs coding standards.
6189 * sysdep.c (get_pty_max_bytes):
6190 Support pty input lines longer than 512 bytes on HP-UX 10.20.
6192 2000-08-31 Martin Buchholz <martin@xemacs.org>
6194 * tooltalk.c: Add #include <syssignal.h>
6196 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
6198 * s/hpux.h: Don't use undefined function sigunblock().
6200 2000-08-31 Martin Buchholz <martin@xemacs.org>
6202 * config.h.in: Add HAVE_BALLOON_HELP.
6203 * emacs.c: Use HAVE_BALLOON_HELP.
6204 * Makefile.in.in (x_objs):
6205 Make Balloon Help conditional on finding shape.h.
6207 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
6209 * syntax.c (regex_emacs_buffer_p): New variable.
6210 * syntax.h (regex_emacs_buffer_p): extern.
6211 * search.c (looking_at_1):
6213 (fast_string_match):
6214 (search_buffer): Set regex_emacs_buffer_p.
6215 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
6216 when before_dot, at_dot, after_dot.
6218 2000-08-23 Andy Piper <andy@xemacs.org>
6220 * gui-x.c (popup_selection_callback): Only set action_occurred
6221 when we really have an image instance.
6222 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
6224 2000-08-23 Andy Piper <andy@xemacs.org>
6226 * gui-msw.c (mswindows_handle_gui_wm_command): set
6228 * gui-x.c (popup_selection_callback): ditto.
6230 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
6231 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
6232 (struct Lisp_Image_Instance): add action_occurred flag.
6234 * glyphs.c (redisplay_subwindow): use action_occurred flag.
6235 (image_instance_changed): ditto.
6236 (reset_frame_subwindow_instance_cache): only unmap windows - do
6237 not remove them from the cache also.
6239 * glyphs-widget.c (tab_control_update): better debug.
6240 (progress_gauge_update): ditto.
6241 (layout_update): ditto.
6242 (layout_instantiate): ditto.
6243 (tab_control_order_only_changed): cope with null pending items.
6245 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
6246 debug. Force selection of an item when an action occurred. Cope
6247 with null pending_items.
6248 (mswindows_progress_gauge_redisplay): better debug.
6249 * glyphs-x.c (x_tab_control_redisplay): ditto.
6251 * redisplay.c (redisplay_frame): reset the frame cache if the
6254 * window.c (Fset_window_configuration): potentially re-enable
6256 (window_unmap_subwindows): need to finalize instances here since
6257 it is only used in mark_window_as_deleted.
6259 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
6261 * nas.c (SndOpenDataForReading):
6262 nas.c (WaveOpenDataForReading):
6263 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
6264 Somehow escaped from the 2000-08-14 patch.
6266 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6268 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
6269 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
6271 2000-08-21 Andy Piper <andy@xemacs.org>
6273 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
6274 window if it is not already displayed.
6276 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
6277 it is not already displayed.
6279 * window.c (Fset_window_configuration): don't reset the frame
6282 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
6283 instances from the frame cache if we are actually finalizing them.
6284 (reset_frame_subwindow_instance_cache): reset frame cache only
6285 after unmapping everything.
6286 (map_subwindow): set displayed flag after mapping.
6288 2000-08-21 Martin Buchholz <martin@xemacs.org>
6290 * data.c (indirect_function):
6291 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
6293 * eval.c (function_argcount):
6294 Use original function when signaling errors.
6296 2000-08-18 Andy Piper <andy@xemacs.org>
6298 * frame.c (delete_frame_internal): use new
6299 free_frame_subwindow_instances name.
6301 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
6302 (add_tab_item): make return type correct.
6303 (mswindows_tab_control_instantiate): assert index of tab.
6304 (mswindows_tab_control_redisplay): Re-code to use
6305 gui_item_equal_sans_selected and gui_item_list_find_selected.
6307 * glyphs-widget.c (tab_control_update): Correct comment.
6309 * window.c (window_unmap_subwindows): use new
6310 unmap_subwindow_instance_cache_mapper.
6311 (window_unmap_subwindows_cache_mapper): deleted.
6312 (Fset_window_configuration): comparisons should now be with
6313 EQ. Preserve the subwindow instance cache across configuration
6315 (allocate_window): ditto.
6316 (make_dummy_parent): ditto.
6318 * glyphs.c (free_frame_subwindow_instances): rename from
6319 free_frame_subwindow_instance_cache. finalize all instances rather
6320 than just those in the display cache.
6321 (finalize_all_subwindow_instances): walk windows unmapping and
6322 finalizing subwindows.
6323 (unmap_subwindow_instance_cache_mapper): moved from
6324 window.c. Allow finalization as well as unmapping.
6326 * gui.c (gui_item_list_find_selected): new function.
6328 * gui.h (gui_item_list_find_selected): declare.
6330 * glyphs-x.c (x_tab_control_redisplay): pick tab
6331 explicitly. Re-code to use gui_item_equal_sans_selected and
6332 gui_item_list_find_selected.
6334 * glyphs-x.h: add lwlib-utils.h
6336 * buffer.c (Frecord_buffer): undo previous change.
6338 2000-08-09 Vin Shelton <acs@xemacs.org>
6340 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
6341 possible. Create temporary files more securely. The patch was
6342 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
6343 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
6344 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
6347 2000-08-07 Ben Wing <ben@xemacs.org>
6349 * getloadavg.c: remove duplicate (and windows-breaking)
6350 includes of fcntl.h and sys/file.h.
6352 * nt.c: remove duplicate getloadavg() definition.
6354 * sysdll.h (Qdll_filename_encoding): add missing stand-in
6357 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
6359 * eval.c (function_argcount): If function needs to be autoloaded
6360 actually use the loaded definition.
6363 2000-08-05 Ben Wing <ben@xemacs.org>
6365 * getloadavg.c: add prototype for getloadavg(). remove
6366 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
6367 of the code). remove duplicate header includes.
6369 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
6371 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
6372 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
6373 useful load average.
6375 * alloc.c (reinit_alloc_once_early): removed references to
6376 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
6377 the lisp vars are the only things referencing the malloc_sbrk_*
6378 vars, and they were already if 0'd out. these vars only exist
6379 in the older malloc.c, which is basically unused, and they're
6380 only for informational purposes.
6382 * m\*.h: removed useless VIRT_ADDR_VARIES.
6384 * m\powerpc.h: removed stray NO_ARG_ARRAY.
6386 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
6388 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
6389 color if the image is a mono pixmap.
6391 2000-07-30 Ben Wing <ben@xemacs.org>
6393 * Makefile.in.in (release):
6396 * buffer.c (directory_is_current_directory):
6397 * dired-msw.c (mswindows_get_files):
6399 * dired.c (Fdirectory_files):
6400 * dired.c (file_name_completion_stat):
6401 * dired.c (Ffile_attributes):
6402 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
6403 preprocessor tricks, to avoid problems on some machines
6406 * callproc.c (egetenv): GC docs.
6409 * console-msw.h (struct mswindows_dialog_id):
6410 * lrecord.h (lrecord_type):
6411 New object for use with MSW dialogs.
6413 * console.h (struct console_methods):
6414 New enable/disable frame methods, for proper modal dialogs.
6416 * device-msw.c (msprinter_default_printer): Fix to follow
6417 proper Mule conventions.
6420 * device-msw.c (signal_open_printer_error):
6421 * device-msw.c (msprinter_init_device):
6422 * device-msw.c (ensure_not_printing):
6423 * device-msw.c (plist_get_margin):
6424 * device-msw.c (Fmsprinter_select_settings):
6425 * device-msw.c (finalize_devmode):
6426 * device-msw.c (Fmsprinter_settings_despecialize):
6427 * device-msw.c (signal_enum_priner_error):
6428 * extents.c (decode_extent):
6429 * extents.c (decode_map_extents_flags):
6430 * extents.c (decode_extent_at_flag):
6431 * extents.c (Fextent_at):
6432 * extents.c (Fextents_at):
6433 * extents.c (symbol_to_glyph_layout):
6434 [[[[2]]]] Use structured errors.
6437 * dialog-msw.c (mswindows_is_dialog_msg):
6438 * dialog-msw.c (mark_mswindows_dialog_id):
6439 * dialog-msw.c (dialog_proc):
6440 * dialog-msw.c (handle_question_dialog_box):
6441 * dialog-msw.c (syms_of_dialog_mswindows):
6442 Define new object to clean up marking; use it as a dialog identifier.
6443 Call new delete-dialog-box-hook.
6445 * dialog-x.c (dbox_selection_callback):
6446 * dialog-x.c (dbox_descriptor_to_widget_value):
6447 * dialog-x.c (x_make_dialog_box_internal):
6448 Call new delete-dialog-box-hook.
6452 * dialog.c (syms_of_dialog):
6453 * dialog.c (vars_of_dialog):
6454 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
6457 * eval.c (signal_call_debugger):
6458 when noninteractive, output stack traces on the console instead
6459 of in a (never-seen) buffer.
6461 * eval.c (signal_type_error):
6462 * eval.c (invalid_argument_2):
6464 new funs for use w/structured errors.
6467 * event-Xt.c (x_to_emacs_keysym):
6468 * event-Xt.c (describe_event):
6469 * event-Xt.c (emacs_Xt_event_handler):
6470 * event-Xt.c (vars_of_event_Xt):
6472 * event-msw.c (mswindows_wnd_proc):
6473 * event-msw.c (vars_of_event_mswindows):
6474 rename {x,mswindows}-debug-events to debug-{}-events for
6475 consistency with other debug-foo variables.
6478 document next-event more clearly.
6480 * fileio.c (Ffile_name_directory):
6481 * fileio.c (Ffile_name_nondirectory):
6482 * fileio.c (Funhandled_file_name_directory):
6483 * fileio.c (file_name_as_directory):
6484 * fileio.c (Ffile_name_as_directory):
6485 * fileio.c (directory_file_name):
6486 * fileio.c (Fdirectory_file_name):
6487 * fileio.c (Fmake_temp_name):
6488 * fileio.c (Ffile_truename):
6489 * fileio.c (Fsubstitute_in_file_name):
6490 * fileio.c (expand_and_dir_to_file):
6491 * fileio.c (barf_or_query_if_file_exists):
6492 * fileio.c (check_executable):
6493 * fileio.c (Ffile_exists_p):
6494 * fileio.c (Ffile_writable_p):
6495 * fileio.c (Ffile_directory_p):
6496 * fileio.c (Ffile_regular_p):
6497 * fileio.c (Ffile_modes):
6498 * fileio.c (Ffile_newer_than_file_p):
6499 * fileio.c (Fverify_visited_file_modtime):
6500 * fileio.c (Fset_visited_file_modtime):
6501 * fileio.c (auto_save_1):
6506 * frame-msw.c (mswindows_init_frame_1):
6507 * frame-msw.c (mswindows_enable_frame):
6508 * frame-msw.c (error_frame_unsizable):
6509 * frame-msw.c (msprinter_init_frame_1):
6510 * frame-msw.c (msprinter_init_frame_3):
6511 * frame-msw.c (console_type_create_frame_mswindows):
6513 implement new enable/disable frame methods.
6516 * frame-x.c (x_enable_frame):
6517 * frame-x.c (console_type_create_frame_x):
6518 implement new enable/disable frame methods.
6521 * frame.c (Fdisable_frame):
6522 * frame.c (syms_of_frame):
6523 * frame.h (struct frame):
6524 implement new enable/disable frame methods/functions.
6529 * glyphs-msw.c (mswindows_widget_instantiate):
6530 comment that initial-focus should be implemented.
6533 * glyphs-widget.c (check_valid_instantiator):
6534 * glyphs-widget.c (check_valid_orientation):
6535 * glyphs-widget.c (check_valid_tab_orientation):
6536 * glyphs-widget.c (check_valid_justification):
6537 * glyphs-widget.c (check_valid_border):
6538 * glyphs-widget.c (check_valid_callback):
6539 * glyphs-widget.c (check_valid_int_or_function):
6540 * glyphs-widget.c (check_valid_string_or_vector):
6541 * glyphs-widget.c (check_valid_item_list_1):
6542 * glyphs-widget.c (widget_validate):
6543 * glyphs-widget.c (combo_box_validate):
6544 * glyphs-widget.c (widget_instantiate):
6545 * glyphs-widget.c (syms_of_glyphs_widget):
6546 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
6547 * glyphs-widget.c (image_instantiator_combo_box):
6548 * glyphs-widget.c (image_instantiator_scrollbar):
6549 * glyphs-widget.c (image_instantiator_tab_control):
6550 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
6552 support (unimplemented) keyword initial-focus.
6553 reindent long macros.
6555 * glyphs-x.c (x_redisplay_widget):
6556 * glyphs-x.c (x_button_instantiate):
6557 * glyphs-x.c (x_button_redisplay):
6558 * glyphs-x.c (x_progress_gauge_instantiate):
6559 * glyphs-x.c (x_edit_field_instantiate):
6560 * glyphs-x.c (x_combo_box_instantiate):
6561 * glyphs-x.c (x_tab_control_instantiate):
6562 * glyphs-x.c (x_label_instantiate):
6564 * gui-x.c (button_item_to_widget_value):
6565 * gui-x.c (gui_items_to_widget_values_1):
6566 * gui-x.c (gui_item_children_to_widget_values):
6567 * gui-x.c (gui_items_to_widget_values):
6569 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6570 add new flag to gui-parsing routines to indicate whether
6571 accelerator specs should be supported.
6573 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
6575 * glyphs.h (struct Lisp_Image_Instance):
6576 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
6577 add initial-focus flag.
6580 * gui.c (syms_of_gui):
6581 * gui.c (vars_of_gui):
6582 clean up menu-no-selection-hook.
6585 support delete-dialog-box-hook.
6587 * lread.c (Fload_internal):
6588 * lread.c (locate_file_in_directory_mapper):
6592 * lrecord.h (struct toolbar_button):
6593 * lrecord.h (syms_of_toolbar):
6594 document how to create a new object.
6596 * menubar-msw.c (mswindows_char_is_accelerator):
6597 may be called on frames w/o menus.
6599 * menubar.c (vars_of_menubar):
6600 clean up :filter docs.
6607 * process-nt.c (validate_signal_number):
6608 * process-nt.c (signal_cannot_launch):
6609 * process-nt.c (nt_create_process):
6610 * process-nt.c (nt_send_process):
6611 * process-nt.c (nt_kill_child_process):
6612 * process-nt.c (nt_open_network_stream):
6613 * process-nt.c (syms_of_process_nt):
6615 delete quote-handling. call new lisp code that does it better.
6617 * process-unix.c (connect_to_file_descriptor):
6618 * process-unix.c (allocate_pty):
6619 * process-unix.c (unix_send_process):
6620 * process-unix.c (unix_kill_child_process):
6621 * process-unix.c (unix_open_network_stream):
6622 * process-unix.c (unix_open_multicast_group):
6626 * process.c (Fstart_process_internal):
6627 (2). need to canonicalize process path even if absolute.
6629 * select-msw.c (symbol_to_ms_cf):
6630 * select-msw.c (ms_cf_to_symbol):
6631 * select-msw.c (cf_is_autofreed):
6632 * select-msw.c (mswindows_destroy_selection):
6634 * select.c (syms_of_select):
6636 support dibv5, fix bugs. (from Mike Alexander)
6638 * select.c (Fget_selection_internal):
6639 * select.c (select_convert_out):
6642 * sysdep.c (xemacs_stat):
6647 but keep original stat() here because we provide encapsulation
6651 * sysfile.h (fstat):
6652 remove stat garbage.
6656 don't include tchar.h. it's inappropriate because it makes
6657 compile-time distinctions when we want runtime distinctions.
6658 (we provide our own tchar replacements)
6661 use default object printer for toolbar-button.
6664 make sure we don't encapsulate.
6666 * window.c (vars_of_window):
6667 emphasize that temp-buffer-show-hook is obsolete.
6669 2000-08-05 Martin Buchholz <martin@xemacs.org>
6671 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
6672 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
6674 * events.c (Fevent_timestamp_lessp):
6675 Not 64-bit clean. Use EMACS_INT, not int.
6677 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
6679 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
6680 unsigned int and changed the last enum to
6681 lrecord_type_last_built_in_type.
6682 (lrecord_implementations_table): changed prototype to know how
6683 long the array is supposed to be.
6684 (lrecord_type_count): new unsigned int to keep track of the
6685 current number of lisp lrecord types.
6686 (DEFINE_EXTERNAL_LRECORD):
6687 (DECLARE_EXTERNAL_LRECORD): Added these two for external
6688 dynamic-modules to declare new lisp types. They are the same
6689 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
6690 int for each new type, and increment lrecord_type_count by 1.
6692 * alloc.c (lrecord_implementations_table): Changed to reference
6693 lrecord_type_last_built_in_type for the size of the array.
6694 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
6696 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6698 * glyphs.h (check_valid_item_list): Renamed from
6699 check_valid_item_list_1.
6701 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
6703 * select.c (Qselect_coerce): New.
6704 * select.c (Vselection_coercion_alist): New.
6705 * select.c (syms_of_select): Declare.
6706 * select.c (get-selection-internal): Use it.
6707 Use the new select-coerce functionality.
6709 * select.c (select_coerce): New.
6710 * select.h (select_coerce): Declare.
6711 New function to coerce one type of data into another.
6713 2000-08-03 Martin Buchholz <martin@xemacs.org>
6715 * callproc.c (Fcall_process_internal):
6716 (Fcall_process_internal):
6717 * process-unix.c (unix_create_process):
6718 Save and restore the value of errno, so that error messages are accurate.
6720 2000-08-01 Martin Buchholz <martin@xemacs.org>
6722 * elhash.c (print_hash_table):
6723 Fix printing of hash tables to also use `key-and-value' instead of `t'.
6724 Prettify docstrings and indentation.
6726 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
6728 * window.c (Fwindow_pixel_edges): Subtract frame border and
6731 2000-07-31 Andy Piper <andy@xemacs.org>
6733 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
6734 will acknowledge the change.
6736 * glyphs.h: declare tab_control_order_only_changed.
6738 * glyphs-x.c (x_tab_control_redisplay): use
6739 tab_control_order_only_changed.
6741 * glyphs-widget.c (tab_control_order_only_changed): new function.
6743 * glyphs-msw.c (mswindows_tab_control_redisplay): use
6744 tab_control_order_only_changed.
6746 * gui.c (gui_item_equal_sans_selected): new function.
6747 (gui_item_equal): use it.
6749 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
6750 :properties in favor of :items..
6752 * glyphs-widget.c (check_valid_item_list): rename from
6753 check_valid_item_list_1.
6754 (check_valid_item_list_1): renamed.
6755 (combo_box_validate): deprecate :properties in favor of :items.
6756 (widget_instantiate): ditto.
6757 (tab_control_update): ditto.
6758 (image_instantiator_combo_box): ditto.
6759 (image_instantiator_tree_view): ditto.
6760 (image_instantiator_tab_control): ditto.
6761 (layout_post_instantiate): remove dead code.
6763 * print.c (debug_print_no_newline): only write to debugger if in
6766 * elhash.c (Fmake_hash_table): update doc string.
6768 * event-msw.c (mswindows_wnd_proc): don't allow processing of
6769 messages whilst in GC. This at least stops XEmacs crashing but has
6770 the potential for wierd behaviour.
6772 2000-07-31 Martin Buchholz <martin@xemacs.org>
6775 Make existence of s&m files optional.
6777 * s/bsd386.h: Remove HAVE_GETLOADAVG.
6778 * s/freebsd.h: Remove HAVE_GETLOADAVG.
6779 * s/gnu.h: Remove HAVE_GETLOADAVG.
6780 * s/netbsd.h: Remove HAVE_GETLOADAVG.
6781 * s/sol2.h: Remove HAVE_GETLOADAVG.
6782 * lisp.h: Remove getloadavg() declaration.
6784 Include <sys/loadavg.h> if available.
6785 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
6786 * config.h.in: Group together getloadavg()-related macros.
6787 Use only configure-time tests to detect getloadavg().
6789 2000-07-30 Martin Buchholz <martin@xemacs.org>
6791 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
6793 2000-07-25 Andy Piper <andy@xemacs.org>
6795 * syswindows.h: add tchar.h for native builds.
6797 * frame.c (syms_of_frame): remove set-glyph-image.
6799 * general-slots.h: add Qset_glyph_image.
6801 * glyphs-widget.c (layout_update): add domain arg to
6803 (syms_of_glyphs_widget): remove set-glyph-image.
6805 2000-07-23 Ben Wing <ben@xemacs.org>
6807 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
6810 2000-07-22 Andy Piper <andy@xemacs.org>
6812 * symsinit.h: add syms_of_win32().
6814 * gui-msw.c (syms_of_gui_mswindows): remove
6815 Fmswindows_shell_execute.
6816 (Fmswindows_shell_execute): moved to win32.c.
6818 * emacs.c (main_1): add syms_of_win32 ().
6820 * win32.c (init_potentially_nonexistent_functions): rewrite in
6821 compiler-friendly terms.
6822 (Fmswindows_shell_execute): move here from gui-msw.c.
6823 (syms_of_win32): new.
6825 * device-msw.c (Fmswindows_printer_list): clean up args to
6827 Don't include tchar under cygwin or mingw.
6828 (msprinter_default_printer): make cygwin-friendly.
6830 2000-07-21 Andy Piper <andy@xemacs.org>
6832 * glyphs-widget.c (image_instantiator_tree_view): use tab
6833 control's update function.
6834 (layout_property): new function. Retrieve items.
6836 * glyphs-msw.c (mswindows_tree_view_redisplay): new
6837 function. Re-populate the tree view from the pending items.
6839 * glyphs.c (instantiate_image_instantiator): Make sure the domain
6840 is designated the parent if the domain is an image instance. This
6841 is needed so that dirtiness can be cascade up the hierarchy and
6842 thus for layout children to be redisplayed correctly.
6843 (allocate_image_instance): rename glyph -> parent.
6845 * redisplay.h: change redisplay_output_layout signature.
6847 * redisplay-msw.c (mswindows_output_display_block): use domain
6850 * redisplay-x.c (x_output_display_block): use domain arg.
6852 2000-07-10 Andy Piper <andy@xemacs.org>
6854 * window.c (Fset_window_configuration): add comment.
6856 * redisplay-output.c (compare_runes):
6857 (redisplay_output_subwindow): redisplay rather than update subwindow.
6858 (redisplay_output_layout): ditto.
6860 * redisplay-msw.c (mswindows_frame_output_end):
6861 (mswindows_frame_output_end): make defer window pos optional.
6863 * lisp.h: add Flast.
6865 * glyphs.h (struct image_instantiator_methods): add dest_mask top
6866 normalize method. Change update method to be for changed
6867 instantiators. Add redisplay method. Change signature of layout
6869 (struct Lisp_Image_Instance): add instantiator.
6870 (IMAGE_INSTANCE_INSTANTIATOR): new.
6871 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
6872 (XIMAGE_INSTANCE_INSTANTIATOR): new.
6873 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
6876 (find_instantiator_differences): new function.
6877 (Fset_instantiator_property): new convenience function.
6878 (check_image_instance_structure): strictly check for vector
6880 (normalize_image_instantiator): make non-static.
6881 (instantiate_image_instantiator): pass on dest_mask and use new
6882 signatures for image_instance_layout and friends.
6883 (mark_image_instance): mark the instantiator. Mark the subwindow
6884 face not the widget face.
6885 (image_instance_equal): add instantiator.
6886 (image_instance_hash): ditto.
6887 (allocate_image_instance): ditto.
6888 (Fset_image_instance_property): removed.
6889 (Fimage_instance_file_name): ditto.
6890 (Fcolorize_image_instance): ditto.
6891 (image_instance_layout): add offsets to be set.
6892 (update_image_instance): new function. update an image instance
6893 from its changed instantiator.
6894 (inherit_normalize): add dest_mask.
6895 (xbm_normalize): ditto.
6896 (xface_normalize): ditto.
6897 (xpm_normalize): ditto.
6898 (text_update): set_property -> update.
6899 (image_instantiate): use the glyph identity as a hash key, not the
6901 (glyph_width): use new image_instance_layout signature.
6902 (glyph_ascent): ditto.
6903 (glyph_descent): ditto.
6904 (glyph_height): ditto.
6905 (glyph_query_geometry): ressurrect.
6906 (glyph_layout): ditto.
6907 (redisplay_subwindow): update -> redisplay.
6908 (syms_of_glyphs): add Fset_instantiator_property.
6909 (image_instantiator_format_create): set_property -> update.
6912 (autodetect_normalize): add dest_maks to signature.
6913 (x_redisplay_subwindow): update -> redisplay.
6914 (x_redisplay_widget): ditto.
6915 (x_button_redisplay): ditto.
6916 (x_progress_gauge_redisplay): ditto.
6917 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
6919 (console_type_create_glyphs_x): update -> redisplay.
6920 (image_instantiator_format_create_glyphs_x): ditto.
6923 (check_valid_instantiator): disallow glyphs in the instantiator,
6924 they must now be vectors.
6925 (check_valid_instantiator_list): ditto.
6926 (glyph_instantiator_to_glyph): use internal symbol rather than
6928 (widget_update): renamed from widget_set_property. Call cascaded
6930 (redisplay_widget): renamed from update_widget.
6931 (widget_layout): image_instance_layout now takes position as well
6933 (widget_normalize): ditto.
6934 (widget_instantiate): ditto.
6935 (tab_control_query_geometry) ditto.:
6936 (tab_control_update): renamed from tab_control_set_property.
6937 (progress_gauge_update): set_property -> update.
6938 (layout_normalize): rewrite so that child instantiators are
6940 (layout_update): new function. Create glyphs from the normalized
6941 children and cope with any other layout keywords. We do not
6942 instantiate children here that will be take care of by
6943 redisplay_output_layout.
6944 (layout_instantiate): call layout_update and not much else.
6945 (layout_post_instantiate): not sure whether this is needed
6947 (layout_query_geometry): query glyph geometry rather than
6948 image_instance geometry.
6949 (layout_layout): set offsets from pass in parameters. Use glyph
6950 geometry and layout functions rather than image instance ones.
6951 (native_layout_layout): ditto.
6952 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
6953 (image_instantiator_widget): set_property -> update.
6954 (image_instantiator_buttons): ditto.
6955 (image_instantiator_progress_guage): ditto.
6956 (image_instantiator_tab_control): ditto.
6957 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
6958 (image_instantiator_layout): add update method.
6960 * glyphs-msw.c (bmp_normalize):
6961 (mswindows_resource_normalize): add dest_mask so that it can be
6962 proprogated by layout_normalize.
6963 (begin_defer_window_pos): make optional because it may not be the
6964 right thing to do and it introduces differences with X.
6965 (mswindows_unmap_subwindow): ditto.
6966 (mswindows_map_subwindow): ditto.
6967 (mswindows_redisplay_subwindow): renamed from
6968 mswindows_update_subwindow.
6969 (mswindows_redisplay_widget): ditto.
6970 (mswindows_button_redisplay): renamed from
6971 mswindows_button_update. Update is now what the instantiation
6972 function does for a changed instantiator.
6973 (mswindows_progress_gauge_instantiate): set the progress value
6974 here if appropriate.
6975 (mswindows_tab_control_redisplay): cope with re-ordering of the
6976 members of the tab widget by simply selecting the new top
6977 widget. This makes things appear ok if you click on a tab.
6978 (mswindows_combo_box_instantiate): image_instance_layout now takes
6979 position as well as size.
6980 (mswindows_progress_gauge_redisplay): renamed from
6981 mswindows_progress_gauge_update.
6982 (console_type_create_glyphs_mswindows): fix update -> redisplay.
6983 (image_instantiator_format_create_glyphs_mswindows): ditto.
6985 * glyphs-eimage.c (jpeg_normalize):
6988 (tiff_normalize): add dest_mask so that it can be proprogated by
6993 (hash_table_weakness_validate):
6994 (decode_hash_table_weakness):
6995 (Fhash_table_weakness):
6997 (syms_of_elhash): use Ben's naming scheme for hashtable types..
6999 * console.h (struct console_methods): move update_* to
7002 2000-07-20 Ben Wing <ben@xemacs.org>
7004 * *.[ch] (XSETOBJ): remove unused middle argument.
7005 lisp-disunion.h: correct wrap_object() to one argument.
7007 2000-07-15 Ben Wing <ben@xemacs.org>
7010 * s/cygwin32.h (CYGWIN_CONV_PATH):
7011 Add missing logb prototype for v1.1.
7012 Use post-b20 names and alias to pre-b20 names when pre-b20.
7014 * s/windowsnt.h: [5].
7016 2000-07-15 Ben Wing <ben@xemacs.org>
7018 * Makefile.in.in (x_objs):
7019 * Makefile.in.in (sheap_objs):
7020 * Makefile.in.in (objs):
7021 added win32.o, cosmetic cleanups.
7023 * alloc.c (Fmake_byte_code):
7024 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
7025 etc. macros which declare their own args now.
7027 * alloc.c (syms_of_alloc):
7028 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
7031 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
7033 * buffer.c (Fget_file_buffer):
7034 Fixed GCPRO problem.
7036 * buffer.c (get_truename_buffer):
7037 Fixed comment about GC checking.
7039 * buffer.c (syms_of_buffer):
7040 Undeclared those dedicated frame funs.
7044 Define convenience macros for internal/external conversions.
7045 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
7046 and Qenvironment_variable_encoding for cleaner code.
7049 Remove dedicated-frame; in lisp.
7051 * bytecode.c (funcall_compiled_function):
7054 * bytecode.c (syms_of_bytecode):
7058 * console-msw.c (mswindows_show_console): Rewrote.
7060 * console-msw.c (Fmswindows_debugging_output): New.
7061 Sends to OutputDebugString (special MSWin debugger interface).
7063 * console-msw.c (Fmswindows_message_box):
7064 Fixed stupid bugs so it works when called from kill-emacs.
7066 * console-msw.c (syms_of_console_mswindows):
7067 Declare Fmswindows_debugging_output.
7070 New MSWin prototypes.
7072 * console-msw.h (struct mswindows_frame):
7073 New entry last-click-mods for improved button-modifier support.
7075 * console-msw.h (FRAME_MSWINDOWS_POPUP):
7076 New struct entry `popup' with corresponding accessor.
7079 * console-x.c (split_up_display_spec):
7080 * console-x.c (get_display_arg_connection):
7081 * console-x.c (x_semi_canonicalize_console_connection):
7082 * console-x.c (x_canonicalize_device_connection):
7083 [[[6]]]: Change char to more specific type.
7084 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
7086 * console-x.c (x_semi_canonicalize_console_connection):
7087 * console-x.c (x_canonicalize_device_connection):
7088 [[[9]]]: Fix up error signalling to use new structured error system.
7091 [[[4]]]: Define codesys aliases:
7092 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
7093 Qx_color_name_encoding, Qx_display_name_encoding.
7095 * console.h (struct console_methods):
7096 New method make_dialog_box_internal supersedes older
7097 popup_dialog_box method.
7100 Define many new errors, part of new structured errors.
7102 * data.c (init_errors_once_early):
7103 * data.c (syms_of_data):
7106 * device-msw.c (mswindows_init_device):
7107 [[[5]]]: Cleanup to support NT 3.51.
7109 * device-msw.c (decode_devmode): Cleanup.
7111 * device-msw.c (mswindows_handle_print_setup_dialog_box):
7112 * device-msw.c (mswindows_handle_print_dialog_box):
7113 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7114 * device-msw.c (syms_of_device_mswindows):
7115 Delete the dialog box primitives recently introduced by Kirill and
7116 instead interface to general dialog box interface.
7119 * device-x.c (compute_x_app_name):
7120 * device-x.c (x_init_device):
7121 * device-x.c (Fx_valid_keysym_name_p):
7122 * device-x.c (Fx_set_font_path):
7126 * device.h (wrap_device): New.
7127 First of its kind; meant to replace XSETDEVICE.
7129 * dialog-msw.c: Many file-dialog symbols.
7131 * dialog-msw.c (mswindows_register_popup_frame): New.
7132 * dialog-msw.c (mswindows_is_dialog_msg): New.
7133 For supporting kbd traversal in dialog boxes.
7135 * dialog-msw.c (dialog_proc):
7136 Support hitting ESC in dialogs.
7138 * dialog-msw.c (struct):
7139 Common dialog box errors.
7141 * dialog-msw.c (handle_file_dialog_box): New.
7142 Add file dialog code.
7144 * dialog-msw.c (handle_question_dialog_box):
7145 Redo existing code to support new question dialog syntax.
7147 * dialog-msw.c (console_type_create_dialog_mswindows):
7148 We support new dialog console method.
7150 * dialog-msw.c (syms_of_dialog_mswindows):
7151 * dialog-msw.c (vars_of_dialog_mswindows):
7152 New file dialog symbols, vars.
7155 * dialog-x.c (maybe_run_dbox_text_callback):
7156 * dialog-x.c (dbox_descriptor_to_widget_value):
7157 * dialog-x.c (x_make_dialog_box_internal):
7158 * dialog-x.c (console_type_create_dialog_x):
7159 Mule-ize entire file.
7160 Redo to support question dialog syntax.
7164 * dialog.c (Fmake_dialog_box_internal):
7165 * dialog.c (syms_of_dialog):
7166 Kill old popup-dialog-box, replace with new primitive.
7167 Just call device method or signal error.
7169 * eldap.c (Fldap_open):
7170 * eldap.c (Fldap_search_basic):
7171 * eldap.c (Fldap_add):
7172 * eldap.c (Fldap_modify):
7177 * emacs.c (make_arg_list_1):
7178 * emacs.c (make_arg_list):
7179 Mule-ize call to dll_init().
7183 * emacs.c (make_argc_argv):
7184 * emacs.c (free_argc_argv):
7185 * emacs.c (init_cmdargs):
7187 * emacs.c (Fkill_emacs):
7188 * emacs.c (Fdump_emacs):
7189 Update comments about what can be used in syms_* etc.
7190 Call init_win32() when necessary.
7191 Fix up MS Win dialog box in kill-buffer to actually work right.
7202 * eval.c (condition_case_3):
7204 * eval.c (function_argcount):
7205 * eval.c (funcall_lambda):
7208 * eval.c (type_error): New.
7209 * eval.c (maybe_type_error): New.
7210 * eval.c (continuable_type_error): New.
7211 * eval.c (maybe_continuable_type_error): New.
7212 * eval.c (type_error_with_frob): New.
7213 * eval.c (maybe_type_error_with_frob): New.
7214 * eval.c (continuable_type_error_with_frob): New.
7215 * eval.c (maybe_continuable_type_error_with_frob): New.
7216 New functions for use with structured errors.
7219 * event-Xt.c (x_event_to_emacs_event):
7220 Buttons are now modifiers too.
7222 * event-Xt.c (emacs_Xt_current_event_timestamp):
7223 Implement new event method.
7224 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
7227 * event-msw.c (ntpipe_shove_writer): [5].
7228 * event-msw.c (mswindows_enqueue_mouse_button_event):
7229 * event-msw.c (mswindows_drain_windows_queue):
7230 * event-msw.c (mswindows_wnd_proc): [7].
7231 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
7232 * event-msw.c (mswindows_modifier_state):
7233 Throughout: support new button modifiers.
7235 * event-msw.c (emacs_mswindows_current_event_timestamp):
7236 Implement new event method.
7237 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
7240 * event-stream.c (event_stream_current_event_timestamp): New.
7241 * event-stream.c (maybe_kbd_translate): New functionality.
7242 * event-stream.c (vars_of_event_stream):
7243 Document new kbd-translate-table functionality.
7245 * event-stream.c (Fcurrent_event_timestamp): New.
7246 New primitive for use in fabricated events.
7247 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
7249 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
7252 * events.c (Fmake_event):
7253 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
7257 * events.c (format_event_object): fix gcc warnings.
7259 * events.c (Fevent_timestamp): Document new primitives.
7261 * events.c (TIMESTAMP_HALFSPACE): New.
7263 * events.c (Fevent_timestamp_lessp): New. New primitive for
7264 comparing timestamps correctly (half-space algorithm).
7266 * events.c (Fevent_modifier_bits): Doc fix.
7268 * events.c (Fevent_modifiers): Major doc addition.
7269 * events.c (event_x_y_pixel_internal): Typo fix.
7270 * events.c (syms_of_events): Declare new primitives.
7273 Update long comment for button modifiers, timestamps.
7275 * events.h (struct event_stream):
7276 New current_event_timestamp method.
7279 * extents.c (extent_in_region_p):
7280 * extents.c (decode_extent):
7281 * extents.c (Fset_extent_parent):
7282 * extents.c (decode_map_extents_flags):
7286 * extents.c (struct extent_at_arg):
7287 * extents.c (decode_extent_at_flag):
7288 * extents.c (extent_at_mapper):
7289 * extents.c (extent_at_bytind):
7290 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
7291 * extents.c (Fextents_at): New primitive. [9].
7292 * extents.c (symbol_to_glyph_layout): [9].
7293 Support new primitive `extents-at'.
7296 * extents.c (get_text_property_bytind):
7297 extent_at_bytind has another arg.
7300 * extents.c (syms_of_extents): New primitive.
7302 * file-coding.c (Fmake_coding_system): [1].
7303 * file-coding.c (subsidiary_coding_system): fix gcc warning
7304 * file-coding.c (syms_of_file_coding): [2].
7306 * fileio.c (Fexpand_file_name):
7307 * fileio.c (Fsysnetunam):
7308 * fileio.c (Ffile_exists_p):
7309 * fileio.c (Ffile_executable_p):
7310 * fileio.c (Fverify_visited_file_modtime):
7313 * fileio.c (syms_of_fileio): [2].
7315 * filelock.c (lock_file_1):
7316 * filelock.c (current_lock_owner):
7317 * filelock.c (lock_if_free):
7318 * filelock.c (lock_file):
7319 * filelock.c (unlock_file):
7322 * fns.c (concat): Fix gcc warning.
7325 * fns.c (Fold_member):
7327 * fns.c (Fold_memq):
7328 * fns.c (memq_no_quit):
7330 * fns.c (Fold_assoc):
7332 * fns.c (Fold_assq):
7333 * fns.c (assq_no_quit):
7335 * fns.c (Fold_rassoc):
7337 * fns.c (Fold_rassq):
7338 * fns.c (rassq_no_quit):
7340 * fns.c (Fold_delete):
7342 * fns.c (Fold_delq):
7343 * fns.c (delq_no_quit):
7344 * fns.c (Fremassoc):
7346 * fns.c (remassq_no_quit):
7347 * fns.c (Fremrassoc):
7348 * fns.c (Fremrassq):
7349 * fns.c (remrassq_no_quit):
7354 * frame-msw.c (mswindows_init_frame_1):
7355 * frame-msw.c (mswindows_delete_frame):
7356 Register popups with dialog code so keyboard traversing works.
7358 * frame-tty.c (tty_raise_frame_no_select): [1].
7361 * frame-x.c (x_set_frame_text_value):
7362 * frame-x.c (x_set_frame_properties):
7363 * frame-x.c (x_create_widgets):
7367 * frame.c (Fmouse_pixel_position): Minor doc fixes.
7369 * frame.h (wrap_frame): New.
7370 Macro like wrap_device.
7373 * general.c (SYMBOL):
7374 * general.c (syms_of_general):
7375 Major reorg. This is now just a wrapper and symbols themselves
7376 are listed in general-slots.h.
7378 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
7379 * glyphs-msw.c (mswindows_resource_instantiate): [5].
7381 * glyphs-msw.c (mswindows_native_layout_instantiate):
7382 Add DS_CONTROL so keyboard traversal will work.
7385 * glyphs-widget.c (syms_of_glyphs_widget):
7386 Move some symbols to general-slots.h.
7389 * glyphs-x.c (xbm_instantiate_1):
7390 * glyphs-x.c (x_xbm_instantiate):
7391 * glyphs-x.c (x_xface_instantiate):
7392 * glyphs-x.c (autodetect_instantiate):
7393 * glyphs-x.c (cursor_font_instantiate):
7394 * glyphs-x.c (x_update_widget):
7395 * glyphs-x.c (x_widget_instantiate):
7396 * glyphs.c (bitmap_to_lisp_data):
7397 * glyphs.c (pixmap_to_lisp_data):
7400 * glyphs.c (syms_of_glyphs):
7404 * gui-x.c (print_widget_value):
7405 * gui-x.c (menu_separator_style_and_to_external):
7406 * gui-x.c (add_accel_and_to_external):
7407 * gui-x.c (button_item_to_widget_value):
7408 * gui-x.c (gui_items_to_widget_values_1):
7409 * gui-x.c (gui_items_to_widget_values):
7410 * gui-x.c (syms_of_gui_x):
7411 * gui-x.c (vars_of_gui_x):
7412 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
7416 Muleize, prototype changes matching gui-x.c.
7419 * gui.c (separator_string_p):
7420 * gui.c (gui_item_add_keyval_pair):
7421 * gui.c (make_gui_item_from_keywords_internal):
7422 * gui.c (signal_too_long_error):
7423 * gui.c (parse_gui_item_tree_item):
7424 * gui.c (syms_of_gui):
7425 * gui.c (vars_of_gui):
7427 menu-no-selection-hook moved here (used by MSWin).
7428 Move some symbols to general-slots.h.
7432 * insdel.c (get_buffer_pos_char):
7433 * insdel.c (get_buffer_range_char):
7436 * keymap.c (keymap_lookup_directly):
7437 * keymap.c (keymap_store):
7438 * keymap.c (ensure_meta_prefix_char_keymapp):
7439 * keymap.c (describe_map):
7441 Support new button modifiers.
7443 * lisp-disunion.h (wrap_object):
7444 * lisp-disunion.h (XSETOBJ):
7445 Rename make_obj to wrap_object.
7448 * lisp-union.h (make_int):
7449 * lisp-union.h (make_char):
7450 Support wrap_object.
7453 * lisp.h (LIST_LOOP):
7454 * lisp.h (EXTERNAL_LIST_LOOP):
7455 * lisp.h (LIST_LOOP_2):
7456 * lisp.h (EXTERNAL_LIST_LOOP_1):
7457 * lisp.h (EXTERNAL_LIST_LOOP_2):
7458 * lisp.h (EXTERNAL_LIST_LOOP_3):
7459 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
7460 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
7461 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
7462 * lisp.h (EXTERNAL_ALIST_LOOP_5):
7463 * lisp.h (EXTERNAL_ALIST_LOOP_6):
7464 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
7465 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
7466 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
7467 * lisp.h (struct Lisp_Symbol):
7468 * lisp.h (maybe_continuable_error_with_frob):
7469 Fix up section comments.
7470 Add new types for char to indicate usage.
7471 Delete symbols auto-generated from general-slots.h.
7472 Add prototypes for structured error functions.
7473 Add long comments describing looping macros and change interface
7474 so that lvalues are automatically declared.
7475 Add NO_DECLARE macro in case callers want to declare lvalues
7478 * lread.c (read_syntax_error):
7479 * lread.c (continuable_read_syntax_error):
7480 * lread.c (read_structure):
7481 * lread.c (sequence_reader):
7482 * lread.c (read_list_conser):
7483 * lread.c (read_compiled_function):
7484 Rename syntax_error and continuable_syntax_error to avoid clash
7485 with same-named structured error functions.
7487 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7488 * menubar-msw.c (populate_menu_add_item):
7489 * menubar-msw.c (populate_or_checksum_helper):
7494 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7495 Mule-ize whole file.
7497 * menubar.c (Fnormalize_menu_item_name): Add optimization.
7499 * mule-charset.c (Fmake_charset):
7500 * mule-wnnfns.c (Fwnn_set_param):
7503 * ntproc.c (create_child):
7504 * ntproc.c (Fwin32_set_current_locale):
7505 Add comments portending doom.
7508 * objects-msw.c (old_font_enum_callback_2):
7509 * objects-msw.c (font_enum_callback_1):
7510 * objects-msw.c (mswindows_enumerate_fonts):
7514 * objects-x.c (allocate_nearest_color):
7515 * objects-x.c (x_parse_nearest_color):
7516 * objects-x.c (x_initialize_color_instance):
7517 * objects-x.c (x_print_color_instance):
7518 * objects-x.c (x_finalize_color_instance):
7519 * objects-x.c (x_valid_color_name_p):
7520 * objects-x.c (x_initialize_font_instance):
7521 * objects-x.c (x_print_font_instance):
7522 * objects-x.c (valid_x_font_name_p):
7523 * objects-x.c (truename_via_FONT_prop):
7524 * objects-x.c (truename_via_random_props):
7525 * objects-x.c (truename_via_XListFonts):
7526 * objects-x.c (x_font_truename):
7527 * objects-x.c (x_font_instance_truename):
7528 * objects-x.c (x_font_instance_properties):
7529 * objects-x.c (x_list_fonts):
7530 * objects-x.c (x_find_charset_font):
7531 Mule-ize entire file.
7538 * print.c (std_handle_out_external):
7539 * print.c (debug_print_no_newline):
7540 * print.c (syms_of_print):
7541 Output to all debugger kinds in debug-print.
7542 Fix console-output code under MSWin to actually work.
7544 * process-nt.c (send_signal):
7545 * process-nt.c (nt_create_process):
7546 Use newer Unicode macros.
7548 * process-unix.c (unix_create_process):
7549 * process-unix.c (unix_canonicalize_host_name):
7550 * process-unix.c (unix_open_network_stream):
7556 * search.c (syms_of_search):
7559 * select-msw.c (mswindows_destroy_selection):
7562 * select-x.c (symbol_to_x_atom):
7565 * select.c (syms_of_select):
7568 * sound.c (Fplay_sound_file):
7572 * specifier.c (decode_specifier_type):
7573 * specifier.c (Fvalid_specifier_locale_type_p):
7574 * specifier.c (check_valid_locale_or_locale_type):
7575 * specifier.c (decode_locale):
7576 * specifier.c (decode_locale_type):
7577 * specifier.c (decode_locale_list):
7578 * specifier.c (check_valid_domain):
7579 * specifier.c (decode_specifier_tag_set):
7580 * specifier.c (Fcanonicalize_tag_set):
7581 * specifier.c (Fdefine_specifier_tag):
7582 * specifier.c (Fspecifier_tag_predicate):
7583 * specifier.c (check_valid_inst_list):
7584 * specifier.c (check_valid_spec_list):
7585 * specifier.c (decode_how_to_add_specification):
7586 * specifier.c (check_modifiable_specifier):
7587 * specifier.c (specifier_add_spec):
7588 * specifier.c (boolean_validate):
7589 * specifier.c (display_table_validate):
7592 * specifier.c (syms_of_specifier):
7593 Move some symbols to general-slots.h.
7597 * symbols.c (Fmapatoms):
7598 * symbols.c (Fapropos_internal):
7601 * symbols.c (set_default_buffer_slot_variable):
7602 * symbols.c (set_default_console_slot_variable):
7605 * symbols.c (defsymbol_massage_name_1):
7606 * symbols.c (defkeyword_massage_name):
7607 * symbols.c (deferror_1):
7608 * symbols.c (deferror):
7609 * symbols.c (deferror_massage_name_and_message):
7611 * symeval.h (DEFSYMBOL):
7612 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
7614 * symbols.c (syms_of_symbols):
7618 * symsinit.h (init_win32): New.
7619 Also new is syms_of_dialog_mswindows.
7622 Add new Unicode macros, missing Cygwin wide-char functions,
7623 convenience conversion macros for Qmswindows_tstr, macros for
7624 encapsulating required MSWin <-> Cygwin filename conversions,
7625 prototype for dynamically-extracted (not in NT 3.51) functions.
7630 * tooltalk.c (Fadd_tooltalk_message_arg):
7631 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
7632 * tooltalk.c (Fadd_tooltalk_pattern_arg):
7635 * tooltalk.c (syms_of_tooltalk):
7639 * unexnt.c (unexec):
7640 Fix up headers, declaration of unexec() to be more standard.
7642 2000-07-20 Martin Buchholz <martin@xemacs.org>
7644 * offix.h: Revert change to guard macros - they're used in offix.c!
7646 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7648 * lisp.h: Defsubred Fdelete.
7650 * console-msw.h: (msprinter_default_printer): Added.
7652 * console-msw.c (msprinter_canonicalize_console_connection):
7653 (msprinter_canonicalize_device_connection): Added.
7655 * device-msw.c (msprinter_default_printer):
7656 (Fmswingows_get_default_printer):
7657 (signal_enum_priner_error):
7658 (Fmswingows_printer_list): Added.
7660 2000-07-19 Martin Buchholz <martin@xemacs.org>
7662 * XEmacs 21.2.35 is released.
7664 2000-07-19 Martin Buchholz <martin@xemacs.org>
7666 * select-x.c (x_handle_selection_request):
7667 Text selected in xemacs and pasted into xterm failed to appear.
7668 Spelling fixes and cosmetic changes.
7670 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7672 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
7673 XEmacs frame (fix for doubling chars in dialog boxes).
7675 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7677 * select.c (select_convert_in, select_convert_out):
7678 Don't call intern() every time.
7680 * select.c (Qselect_convert_in, Qselect_convert_out): New.
7681 * select.c (vars_of_select): Initialise them.
7683 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7685 * select.c (selection-coercible-types): New.
7687 * select.c (own-selection-internal):
7688 * select.c (get-selection-internal):
7689 MULE bug fix - these should default to COMPOUND_TEXT and not
7690 STRING for MULE. I think.
7692 * select.c (select_convert_out): Use selection-coercible-types
7693 to find types that we can attempt to perform coercions on.
7695 2000-07-18 Martin Buchholz <martin@xemacs.org>
7699 Add coding: cookie to identify encoding.
7701 * mule-canna.c (CANNA_mode_keys): make static.
7702 Use proper prototypes, even for functions of no arguments.
7703 Remove external prototype for Fding().
7705 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
7707 * select.c (syms_of_select): Add missing DEFSUBR.
7709 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7711 * select.c (get_selection_internal, own_selection_internal):
7712 Make the type default to STRING, rather than placing a nil type
7713 into Vselection_alist.
7715 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7717 * gpmevent.c (tty_selection_exists_p):
7718 * gpmevent.c (tty_own_selection):
7719 Updated parameter lists.
7721 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
7723 * select.h (selection-alist): Removed declaration.
7725 * select.h (get_local_selection):
7726 * select.c (get_local_selection):
7729 * select.h (convert_selection): Removed declaration.
7730 * select.c (convert_selection): Removed.
7731 This function belongs in Lisp.
7733 * select.h (select_convert_in): Declare.
7734 * select.h (select_convert_out): Declare.
7735 * select.c (select_convert_in): New.
7736 * select.c (select_convert_out): New.
7737 New conversion functions for other files to call.
7739 * select.h (select_notify_buffer_kill): Declare.
7740 * select.c (select_notify_buffer_kill): New.
7741 New functions that get called from kill-buffer.
7743 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
7744 X-specific lisp code.
7746 * select.h: Declare some of the lisp-visible functions for
7749 * select.c (clean_local_selection_data): Removed. This was
7750 a disgusting function, and previously should have been in
7751 select-x.c in any case. The functionality is now provided
7752 in select-convert-from-integer (select.el).
7754 * select.c (available-selection-types): Fixed stupidity where
7755 INTEGER and ATOM got added twice. Also add STRING when we see an
7758 * select.c (get-selection-internal): Removed symbol stripping. No
7759 longer causes conversion when data comes from the internal cache.
7761 * select.c (syms_of_select): Added new functions.
7763 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
7764 error checking - previously this called abort!
7766 * select-x.c (x_own_selection): Changed comment.
7768 * select-x.c (x_handle_selection_request): Use select_convert_out.
7769 Don't mess with selection-alist; it's an internal variable of select.c.
7771 * select-x.c (x_get_foreign_selection): Use select_convert_in.
7773 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
7774 rather than messing with selection-alist.
7776 * select-msw.c (mswindows_get_foreign_selection):
7777 Use TO_INTERNAL_FORMAT rather than hacking.
7779 2000-07-14 Martin Buchholz <martin@xemacs.org>
7781 * process-unix.c (unix_open_multicast_group):
7782 (unix_open_multicast_group): Remove useless casts.
7784 2000-07-13 Martin Buchholz <martin@xemacs.org>
7786 * sound.c (Fplay_sound): Fix `unused variable' warning.
7788 * emacs.c (main): Use correct type for _environ on SCO5.
7790 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
7792 * console.h (own_selection_method):
7793 * console.h (selection_exists_p_method):
7794 * console.h (available_selection_types_method): New.
7795 * console.h (register_selection_data_type_method): New.
7796 * console.h (selection_data_type_name): New.
7798 * console-msw.h (mswindows_destroy_selection): Declare it. New
7799 function & alist to track GlobalAlloc()'d handles that need
7800 releasing when the clipboard data gets replaced or emptied.
7802 * event-msw.c (mswindows_wnd_proc): Call it.
7804 * lisp.h, general.c (Qappend): New symbol representing a
7807 * select.c (own-selection-internal):
7808 * select.c (selection-exists-p):
7809 * select.c (available-selection-types): New.
7810 * select.c (register-selection-data-type): New.
7811 * select.c (selection-data-type-name): New. New functions to deal
7812 with device-specific selection data formats.
7813 * select.c (selection-converter-out-alist): Renamed.
7814 * select.c (selection-converter-in-alist): New.
7815 * select.c (selection-appender-alist): New. Added new alists.
7816 * select.c (syms_of_select, vars_of_select): Added new symbols &
7818 * select.c (get_local_selection): Split.
7819 * select.c: Removed spurious type checking - selections may now be
7820 of any type, not just strings.
7821 * select.c (own-selection-internal):
7823 * select.h, select.c (convert_selection): New. Created
7824 convert_selection() function based on get_local_selection().
7825 * select.h, select.c (QCF_*): New symbols representing mswindows
7827 * select.h, select.c (Qreplace_all, Qreplace_existing): New
7828 symbols representing `how-to-add' modes.
7830 * select-msw.c (x_sym_p): New.
7831 * select-msw.c (symbol_to_ms_cf): New.
7832 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
7833 symbols & clipboard formats. Can also handle string names.
7834 * select-msw.c (mswindows_own_selection):
7835 * select-msw.c (mswindows_selection_exists_p):
7836 Added `data-type' parameter. Use it.
7837 * select-msw.c (mswindows_available_selection_types): New.
7838 * select-msw.c (mswindows_register_selection_data_type): New.
7839 * select-msw.c (mswindows_selection_data_type_name): New.
7840 * select-msw.c (mswindows_own_selection):
7841 * select-msw.c (mswindows_get_foreign_selection):
7842 * select-msw.c (mswindows_selection_exists_p): Rewrote.
7843 * select-msw.c (console_create_select_mswindows): Added new methods.
7844 * select-msw.c (mswindows_destroy_selection): New.
7845 * select-msw.c (Vhandle_alist): New list.
7846 * select-msw.c (mswindows_own_selection):
7848 * select-x.c (x_own_selection):
7849 * select-x.c (x_selection_exists_p):
7850 * select-x.c: Added some comments about maybe using new
7852 * select-x.c (x_own_selection):
7854 * specifier.c: Remove definition of Qappend (now in general.c)
7855 * specifier.c (syms_of_specifier): Remove Qappend.
7857 2000-07-12 Martin Buchholz <martin@xemacs.org>
7859 * config.h.in: Add socklen_t.
7861 * s/decosf4-0.h: No special compiler flags needed or desired.
7862 In particular, undefine _BSD for DEC OSF 4.0.
7864 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7866 * redisplay-msw.c (msprinter_frame_output_end): Added.
7867 (console_type_create_redisplay_mswindows): Referred the above.
7869 * frame.c (setup_frame_without_minibuffer): Do not create a
7870 default minibuffer frame on a printer device.
7872 * frame-msw.c (apply_dc_geometry): Added.
7873 (msprinter_start_page):
7874 (msprinter_init_frame_3):
7875 (msprinter_eject_page): Use it.
7877 * console-msw.h (struct msprinter_frame): Added pix_left and top,
7878 and removed residual duplex and orientation properties.
7880 2000-07-11 Martin Buchholz <martin@xemacs.org>
7882 * eval.c (function_argcount): Work around a DEC CC compiler bug.
7884 * unexalpha.c: Remove system prototypes from C sources!
7886 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
7888 * eval.c: Remove references to M-x edit-options in DEFUNs for
7889 `defvar' and `defconst'.
7891 2000-07-09 Martin Buchholz <martin@xemacs.org>
7893 * config.h.in: Remove SMART_INCLUDE hackery.
7896 * config.h.in: Don't use SMART_INCLUDE.
7898 * postgresql.h: Include libpq-fe.h here. Fix typo.
7899 * inline.c: Simply #include "postgresql.h"
7901 - Don't use SMART_INCLUDE
7902 - Use simply "const".
7903 - Use standard doc string conventions.
7904 - Use correct type for result of PQstatus.
7906 2000-07-09 Martin Buchholz <martin@xemacs.org>
7908 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
7910 C++ compilation changes.
7911 * config.h.in (EXTERN_C): Define.
7912 * config.h.in (not): This is also a C++ keyword.
7913 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
7914 * cm.c: Use EXTERN_C.
7915 * redisplay-tty.c: Use EXTERN_C.
7916 * sysdep.c: Use EXTERN_C. Remove Gould support.
7918 2000-07-09 Martin Buchholz <martin@xemacs.org>
7920 * general.c: Remove duplicate definition for Qfunction.
7922 2000-07-08 Ben Wing <ben@xemacs.org>
7924 * device-msw.c (msprinter_init_device):
7925 * device-msw.c (sync_printer_with_devmode):
7926 * device-msw.c (handle_devmode_changes):
7927 * device-msw.c (print_dialog_worker):
7928 * device-msw.c (Fmsprinter_apply_settings):
7929 * device-msw.c (hash_devmode):
7930 * device-msw.c (Fmsprinter_settings_despecialize):
7931 use Qmswindows_tstr, not Qctext.
7933 * vm-limit.c (check_memory_limits):
7934 avoid infinite loop printing warning messages.
7936 2000-07-05 Craig Lanning <lanning@scra.org>
7938 * Makefile.in.in: Add support for including the Windows resources
7939 when building with the cygwin and mingw targets.
7941 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
7942 not set or not correct.
7943 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
7944 (init_initial_directory): Don't try to use $PWD on the
7945 WIN32_NATIVE target.
7948 [[Add -mwindows to eliminate console window.]] not required --ben
7949 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7950 (MAIL_USE_POP): removed; now handled by configure.
7952 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
7953 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
7954 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7955 (MAIL_USE_POP): removed; now handled by configure.
7956 (ENCAPSULATE_STAT): from Dan Holmsand, added.
7957 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
7958 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
7960 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
7961 up from <winsock.h> via systime.h.
7962 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
7963 (getpagesize): from Dan Holmsand, added.
7964 Added #endif which was left dangling by Ben's mega patch; added
7965 comment to help prevent this in the future.
7967 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
7969 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7971 * console-msw.h (struct mswindows_device): Removed unnecessary
7972 cached device geometry values.
7973 Added update_tick and an accessor macro.
7974 (Lisp_Devmode): Added lrecord declaration.
7975 (struct msprinter_device): Contain devmode as a Lisp object.
7976 Added mswindows_get_selected_frame_hwnd();
7978 * console.h (struct console_methods): Indentation nitpicking.
7980 * device-msw.c (mswindows_init_device): Do not initialize geometry
7981 cache. Initialize update tick.
7982 (mswindows_device_system_metrics): Ask the device for its geometry.
7983 (global_free_2_maybe):
7984 (devmode_to_hglobal):
7985 (handle_printer_changes):
7986 (ensure_not_printing):
7987 (print_dialog_worker):
7988 (Fmsprinter_print_setup_dialog):
7989 (Fmsprinter_print_dialog):
7992 (Fmsprinter_page_setup_dialog): Added functions.
7993 (sync_printer_with_devmode):
7994 (handle_devmode_changes):
7995 (Fmsprinter_get_settings):
7996 (Fmsprinter_select_settings):
7997 (Fmsprinter_apply_settings):
7999 (Fmsprinter_settings_copy):
8000 (Fmsprinter_settings_despecialize):
8004 (hash_devmode): Added functions
8005 (syms_of_device_mswindows): Init devmode lrecord class.
8007 * device.h: Added an exfun for find-device.
8009 * event-msw.c (mswindows_wnd_proc): Do not update the cached
8010 geometry; although, recreate the device compatible DC.
8012 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
8013 (msprinter_init_frame_3):
8014 (msprinter_frame_property):
8015 (msprinter_internal_frame_property_p):
8016 (msprinter_frame_properties):
8017 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
8018 print job properties (will move to device settings).
8020 * lisp.h: Added symbols.
8022 * general.c (syms_of_general): Declared them.
8024 * hash.c (string_hash): Added.
8026 * lrecord.h (lrecord_type): Added devmode lrecord type.
8028 2000-07-02 Mike Sperber <mike@xemacs.org>
8030 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
8033 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
8035 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
8038 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
8040 * data.c (Fstring_to_number): Don't recognize floating point if
8043 2000-06-22 Martin Buchholz <martin@xemacs.org>
8045 * glyphs-widget.c (tab_control_query_geometry):
8046 (widget_query_geometry):
8047 (button_query_geometry):
8048 * glyphs.c (text_query_geometry):
8049 Enforce type correctness.
8051 2000-06-18 Martin Buchholz <martin@xemacs.org>
8053 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
8054 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
8056 2000-06-17 Martin Buchholz <martin@xemacs.org>
8058 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
8059 conflicts with gcc's fixincluded version of FOO.h.
8061 * glyphs.h (image_instance_geometry): Remove trailing `,'
8063 2000-06-08 Mike Alexander <mta@arbortext.com>
8065 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
8066 (shove_thread): Don't write the same output twice
8067 (make_ntpipe_output_stream): Increase priority of shove thread
8068 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
8070 (ntpipe_shove_closer): Don't delete the pipe until we're done with
8073 2000-06-12 Ben Wing <ben@xemacs.org>
8075 * s\mingw32.h (sigset):
8076 * s\windowsnt.h (sigset):
8077 rename msw_ to mswindows_ for consistency with general convention.
8079 2000-06-12 Ben Wing <ben@xemacs.org>
8082 * console-msw.c (mswindows_get_console_hwnd):
8083 * console-msw.c (mswindows_ensure_console_allocated):
8084 * console-msw.c (mswindows_hide_console):
8085 * console-msw.c (mswindows_show_console):
8086 * console-msw.c (mswindows_ensure_console_buffered):
8087 * console-msw.c (mswindows_output_console_string):
8088 * console-msw.c (mswindows_windows9x_p):
8090 * device-msw.c (mswindows_get_workspace_coords):
8091 * device-msw.c (mswindows_device_system_metrics):
8092 * dialog-msw.c (mswindows_popup_dialog_box):
8093 * event-msw.c (mswindows_wnd_proc):
8094 * frame-msw.c (mswindows_size_frame_internal):
8095 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
8096 * menubar-msw.c (displayable_menu_item):
8097 * menubar-msw.c (mswindows_char_is_accelerator):
8099 * nt.c (mswindows_sigset):
8100 * nt.c (mswindows_sigrelse):
8101 * nt.c (mswindows_sigpause):
8102 * nt.c (mswindows_raise):
8103 * nt.c (timer_proc):
8105 * ntproc.c (find_child_console):
8106 * ntproc.c (sys_kill):
8108 * print.c (std_handle_out_external):
8109 * process-nt.c (find_child_console):
8110 * process-nt.c (send_signal_the_95_way):
8111 * process-nt.c (ensure_console_window_exists):
8112 * process-nt.c (nt_create_process):
8114 rename msw_ to mswindows_ for consistency with general convention.
8118 include nt.h, not syswindows.h.
8120 * nt.c (mswindows_fstat):
8121 * nt.c (mswindows_stat):
8122 prefix mswindows_ instead of attempting to directly override the
8123 library functions. fix declarations.
8126 include syswindows.h. move some sysdep.h stuff here.
8129 include syswindows.h, not <windows.h>.
8137 * sysdep.c (sys_fstat):
8138 * sysdep.c (sys_stat):
8139 call mswindows versions when appropriate.
8142 move mswin decls to nt.h.
8145 add long comment describing appropriate use of the various windows
8148 2000-06-11 Ben Wing <ben@xemacs.org>
8150 * device-x.c: Correct doc string for sixth arg of x-get-resource.
8152 2000-06-10 Ben Wing <ben@xemacs.org>
8154 * Makefile.in.in (release):
8155 Correction to make sure xemacs.exe always dumped when correct.
8159 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
8161 * buffer.c (set_buffer_internal):
8162 [[[[2]]]]: Remove HAVE_FEP code.
8164 * buffer.c (init_initial_directory):
8168 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
8172 * callproc.c (call_process_cleanup):
8173 * callproc.c (Fold_call_process_internal):
8174 * callproc.c (child_setup):
8175 * callproc.c (getenv_internal):
8176 * callproc.c (init_callproc):
8177 * callproc.c (vars_of_callproc):
8178 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
8179 __CYGWIN32__ -> CYGWIN.
8180 DOS_NT -> WIN32_NATIVE.
8181 Remove MSDOS support/references, converting to WIN32_NATIVE
8183 __MINGW32__ -> MINGW.
8184 Fix windows.h includes.
8185 Remove bogus HAVE_NTGUI.
8191 mswindows_message_outputted added for use in allowing startup
8192 errors on the console to be seen.
8194 * console-msw.c (msw_ensure_console_allocated):
8195 * console-msw.c (msw_output_console_string):
8196 * console-msw.c (DHEADER):
8197 * console-msw.c (DOPAQUE_DATA):
8198 * console-msw.c (DEVENT):
8199 * console-msw.c (DCONS):
8200 * console-msw.c (DCONSCDR):
8201 * console-msw.c (DSTRING):
8202 * console-msw.c (DVECTOR):
8203 * console-msw.c (DSYMBOL):
8204 * console-msw.c (DSYMNAME):
8207 * console-stream.c (stream_init_console):
8208 Fix text/binary problems.
8211 * device-msw.c (mswindows_finish_init_device):
8212 * device-msw.c (mswindows_delete_device):
8215 * device.c (handle_asynch_device_change):
8219 * dgif_lib.c (DGifOpenFileName):
8220 * dgif_lib.c (DGifOpenFileHandle):
8221 * dgif_lib.c (DGifGetLine):
8222 * dgif_lib.c (DGifGetPixel):
8223 Added config.h/lisp.h, fix up includes.
8230 * dired.c (file_name_completion):
8231 * dired.c (Ffile_attributes):
8232 * dired.c (syms_of_dired):
8236 * dumper.c (pdump_file_unmap):
8237 * dumper.c (pdump_load):
8241 * editfns.c (Ftemp_directory):
8242 * editfns.c (user_login_name):
8243 * editfns.c (Fuser_real_login_name):
8244 * editfns.c (get_home_directory):
8247 * elhash.c (finish_marking_weak_hash_tables):
8248 [[[[5]]]]: Fix GCC warnings.
8251 * emacs.c (mswindows_handle_hardware_exceptions):
8252 * emacs.c (make_arg_list_1):
8254 * emacs.c (Fkill_emacs):
8255 * emacs.c (Fdump_emacs):
8257 Fix problems with nested crashes, add long comment.
8259 * event-Xt.c (init_event_Xt_late):
8263 * event-msw.c (mswindows_dde_callback):
8264 * event-msw.c (mswindows_handle_sticky_modifiers):
8265 * event-msw.c (mswindows_wnd_proc):
8269 * events.c (character_to_event):
8273 * fileio.c (Ffile_name_directory):
8274 * fileio.c (Ffile_name_nondirectory):
8275 * fileio.c (directory_file_name):
8276 * fileio.c (Fexpand_file_name):
8277 * fileio.c (Fsubstitute_in_file_name):
8278 * fileio.c (Ffile_name_absolute_p):
8279 * fileio.c (check_executable):
8280 * fileio.c (Ffile_readable_p):
8281 * fileio.c (Ffile_accessible_directory_p):
8282 * fileio.c (Ffile_modes):
8283 * fileio.c (Funix_sync):
8284 * fileio.c (vars_of_fileio):
8287 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
8289 Expand getdefdir defn.
8290 Fix bogus rename() comment.
8292 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
8293 to use standard XEmacs include files, e.g. sysfile.h, rather
8294 than system-specific includes.
8300 * frame.c (vars_of_frame):
8304 * getloadavg.c (getloadavg):
8306 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
8307 (We don't use it elsewhere in the code; just add a comment.)
8314 * glyphs-msw.c (mswindows_resource_instantiate):
8317 * glyphs-x.c (x_native_layout_instantiate):
8320 * gui-msw.c (Fmswindows_shell_execute):
8329 * lread.c (locate_file_in_directory_mapper):
8336 * mem-limits.h (get_lim_data):
8348 * nt.c (rva_to_section):
8349 * nt.c (mswindows_executable_type):
8351 Fix closedir() defn.
8354 [[[[8]]]]: *_OK defs moved to sysfile.h.
8363 * print.c (std_handle_out_external):
8367 * process-nt.c (nt_create_process):
8369 try to fix process quoting somewhat.
8371 * process-unix.c (unix_create_process):
8375 * process.c (vars_of_process):
8382 * realpath.c (xrealpath):
8385 * redisplay-tty.c (init_tty_for_redisplay):
8395 * sheap.c (more_static_core):
8396 * sheap.c (report_sheap_usage):
8400 * signal.c (alarm_signal):
8407 * strftime.c (zone_name):
8410 * symsinit.h (init_sunpro):
8414 commctrl.h not in Cygwin b20.1.
8418 * sysdep.c (sys_subshell):
8419 * sysdep.c (init_baud_rate):
8420 * sysdep.c (emacs_get_tty):
8421 * sysdep.c (emacs_set_tty):
8422 * sysdep.c (tty_init_sys_modes_on_device):
8423 * sysdep.c (init_system_name):
8424 * sysdep.c (sys_open):
8425 * sysdep.c (interruptible_open):
8426 * sysdep.c (sys_fopen):
8427 * sysdep.c (sys_mkdir):
8428 * sysdep.c (sys_rename):
8429 * sysdep.c (get_process_times_1):
8436 * sysdir.h (DIRENTRY_NONEMPTY):
8439 * sysdll.c (dll_init):
8445 added text/binary defs.
8451 * sysproc.h (EDESTADDRREQ):
8452 * sysproc.h (poll_fds_for_input):
8469 Always define WIN32_LEAN_AND_MEAN.
8471 * unexcw.c (unexec):
8475 * unexec.c (copy_text_and_data):
8476 * unexec.c (adjust_lnnoptrs):
8480 * unexnt.c (_start):
8483 2000-06-07 Ben Wing <ben@xemacs.org>
8485 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
8486 was used only as a model. We've long since extracted any useful
8487 logic or code out of this. (I just did an exhaustive search.)
8489 * s\msdos.h: Removed.
8491 * s\windows95.h: Removed.
8493 2000-06-10 Ben Wing <ben@xemacs.org>
8497 Don't use extern with fun defs.
8501 Remove nt\inc include.
8502 Remove getdisk, getdefdir. (The former is unused, the latter
8503 expanded in fileio.h.)
8506 * s\windowsnt.h (WIN32_NATIVE):
8507 * s\windowsnt.h (HAVE_STRCASECMP):
8509 Add long comment about preprocessor changes.
8510 Remove getdisk, getdefdir. (The former is unused, the latter
8511 expanded in fileio.h.)
8513 2000-06-10 Ben Wing <ben@xemacs.org>
8522 Remove bogus/unused NO_SOCK_SIGIO.
8524 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
8526 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
8529 2000-06-04 Mike Sperber <mike@xemacs.org>
8531 * casetab.c (set_case_table): For `set-standard-case-table',
8532 actually deposit the new case tables where the rest of XEmacs can
8535 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
8537 * data.c (Faset): Don't cast XCHAR() to unsigned char.
8539 2000-06-05 Ben Wing <ben@xemacs.org>
8541 * callproc.c (child_setup): Don't do close_load_descs() under
8542 MS Windows. Put in a comment explaining why.
8544 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
8546 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
8547 Toolkit shell" which breaks `kill-compilation' on Windows NT
8548 native, retaining STDERR handling improvements.
8550 2000-06-01 Andreas Jaeger <aj@suse.de>
8552 * s/s390.h: Support for S390, based on a patch by Martin
8553 Schwidefsky <schwidefsky@de.ibm.com>.
8555 2000-05-30 Andy Piper <andy@xemacs.org>
8557 * window.c (allocate_window):
8558 (make_dummy_parent):
8559 (Fset_window_configuration): use new hashtable type.
8561 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
8562 (struct image_instantiator_methods):
8563 (struct Lisp_Image_Instance): make instance geometry signed.
8565 * glyphs.c (instantiate_image_instantiator):
8566 (image_instance_query_geometry):
8567 (image_instance_layout):
8568 (image_instance_layout):
8569 (query_string_geometry):
8570 (text_query_geometry):
8571 (image_instantiate):
8572 (image_instantiate):
8573 (cache_subwindow_instance_in_frame_maybe):
8574 (subwindow_query_geometry): make instance geometry signed.
8576 * glyphs-widget.c (widget_query_geometry):
8578 (button_query_geometry):
8579 (tree_view_query_geometry):
8580 (tab_control_query_geometry):
8581 (layout_query_geometry):
8583 (native_layout_layout): make instance geometry signed.
8585 2000-05-29 Olivier Galibert <galibert@pobox.com>
8587 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
8590 * general.c (syms_of_general): Add Qfull_assoc symbol.
8592 * data.c (finish_marking_weak_lists): Mark full-assoc lists
8594 (decode_weak_list_type): Decode full-assoc type.
8595 (encode_weak_list_type): Encode full-assoc type.
8596 (Fmake_weak_list): Update doc string.
8598 2000-05-30 Andy Piper <andy@xemacs.org>
8600 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
8602 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
8603 (decode_hash_table_weakness): ditto.
8604 (Fhash_table_weakness): ditto.
8605 (Fhash_table_type): ditto.
8606 (finish_marking_weak_hash_tables): ditto.
8607 (hash_table_weakness_validate): ditto.
8608 (syms_of_elhash): ditto.
8610 2000-05-28 Martin Buchholz <martin@xemacs.org>
8612 * XEmacs 21.2.34 is released.
8614 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8616 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
8618 (updating_line_start_cache): Gone.
8619 (regenerate_window): Replace resetting of VERTICAL_CLIP by
8620 generic code to force a minimum of 1 line laid out in the
8623 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8625 * glyphs.c (instantiate_image_instantiator): Check for initialized
8626 height & width no longer special cases IMAGE_NOTHING.
8627 (nothing_instantiate): Set height and width of instance.
8629 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8631 * unexelf.c (unexec): Search for ".data" section.
8632 Initialize new_data2_offset from old_data_index.
8633 Remove redundant check for ElfW.
8635 2000-05-23 Andy Piper <andy@xemacs.org>
8637 * glyphs.c (get_image_instantiator_governing_domain): allow more
8638 specific domains as the governing domain rather than expecting an
8639 exact match. This fixes problems with layouts.
8641 2000-05-22 Andy Piper <andy@xemacs.org>
8643 * redisplay-output.c (compare_runes): check for non-images
8645 * glyphs.c (set_glyph_dirty_p): ditto.
8646 (update_glyph_cachel_data): ditto.
8648 * glyphs-widget.c (layout_post_instantiate): ditto.
8649 (layout_post_instantiate): ditto.
8651 * event-msw.c (mswindows_wnd_proc): warning removal.
8653 2000-05-12 Craig Lanning <CraigL@DyCon.com>
8655 * s\mingw32.h: Added #undef for CLASH_DETECTION.
8657 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
8659 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
8661 * nt.c (rva_to_section): mingw32 needs rva_to_section.
8662 (mswindows_executable_type): mingw32 now has enough headers for
8665 2000-05-20 Andy Piper <andy@xemacs.org>
8667 * console-msw.c (mswindows_output_last_error): ; -> ,
8669 2000-05-12 Andy Piper <andy@xemacs.org>
8671 * console-msw.c (FROB): compare ints with ints.
8673 2000-05-11 Andy Piper <andy@xemacs.org>
8675 * glyphs-x.c (x_finalize_image_instance): make minimal build
8678 2000-05-20 Ben Wing <ben@xemacs.org>
8681 * event-Xt.c (vars_of_event_Xt):
8682 move modifier-keys-are-sticky to event-stream.c.
8685 * event-msw.c (mswindows_enqueue_mouse_button_event):
8686 * event-msw.c (key_needs_default_processing_p):
8687 * event-msw.c (XEMSW_LCONTROL):
8688 * event-msw.c (mswindows_handle_sticky_modifiers):
8689 * event-msw.c (FROB):
8690 * event-msw.c (clear_sticky_modifiers):
8691 * event-msw.c (output_modifier_keyboard_state):
8692 * event-msw.c (output_alt_keyboard_state):
8693 * event-msw.c (mswindows_wnd_proc):
8694 * event-msw.c (mswindows_modifier_state):
8695 * event-msw.c (emacs_mswindows_handle_magic_event):
8696 implement sticky modifiers.
8699 * event-stream.c (vars_of_event_stream):
8700 move modifier-keys-are-sticky here.
8706 implement map-range-table.
8709 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
8711 * redisplay-tty.c (reset_tty_modes):
8712 (tty_redisplay_shutdown): Adjust argument type to
8713 tty_frame_output_end.
8715 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8717 * eval.c (Fbacktrace): Don't output a line with only right
8720 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
8722 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
8723 (Fpq_reset_poll): Ditto.
8725 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
8727 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
8729 2000-05-16 Ben Wing <ben@xemacs.org>
8732 * buffer.c (dfc_convert_to/from_internal_format):
8733 * buffer.c (reinit_vars_of_buffer):
8734 Fix conversion functions to allow reentrancy.
8737 * console-msw.c (mswindows_output_last_error):
8738 New fun, generally useful -- output a human-readable
8739 version of GetLastError() on the console.
8742 * console-msw.h (struct mswindows_frame):
8743 Changes for DeferWindowPos. Declare mswindows_output_last_error().
8745 * console-stream.c (stream_output_begin):
8746 * console-stream.c (stream_output_end):
8747 * console-stream.c (stream_output_vertical_divider):
8748 * console-stream.c (stream_clear_region):
8749 * console-stream.c (stream_flash):
8750 * console-stream.c (console_type_create_stream):
8751 Delete blank stream methods, not needed.
8753 * console.h (struct console_methods):
8754 Split begin/end methods into window and frame.
8757 * event-msw.c (mswindows_handle_paint):
8758 * event-msw.c (output_alt_keyboard_state):
8759 * event-msw.c (mswindows_wnd_proc):
8760 * event-msw.c (vars_of_event_mswindows):
8761 Comment about problems with ignored-expose.
8762 Define mswindows-debug-events; not really implemented.
8764 * frame-msw.c (mswindows_init_frame_1):
8768 * glyphs-msw.c (begin_defer_window_pos):
8769 * glyphs-msw.c (mswindows_unmap_subwindow):
8770 * glyphs-msw.c (mswindows_map_subwindow):
8771 * glyphs-msw.c (mswindows_resize_subwindow):
8772 Use DeferWindowPos to reduce flashing when mapping/unmapping.
8774 * glyphs.c (make_image_instance_1):
8777 * gutter.c (Fredisplay_gutter_area):
8778 Use new begin/end methods.
8780 * lisp.h (Dynarr_new2):
8784 * redisplay-msw.c (mswindows_frame_output_begin):
8785 * redisplay-msw.c (mswindows_frame_output_end):
8786 * redisplay-msw.c (console_type_create_redisplay_mswindows):
8787 New begin/end methods -- handle DeferWindowPos.
8789 * redisplay-output.c (redisplay_move_cursor):
8790 * redisplay-output.c (redraw_cursor_in_window):
8791 * redisplay-output.c (redisplay_update_line):
8792 * redisplay-output.c (redisplay_output_window):
8793 New begin/end methods.
8796 * redisplay-tty.c (tty_frame_output_begin):
8797 * redisplay-tty.c (tty_frame_output_end):
8798 * redisplay-tty.c (console_type_create_redisplay_tty):
8799 New begin/end methods.
8802 * redisplay-x.c (x_window_output_begin):
8803 * redisplay-x.c (x_window_output_end):
8804 * redisplay-x.c (console_type_create_redisplay_x):
8805 New begin/end methods.
8807 * redisplay.c (redisplay_frame):
8808 * redisplay.c (Fredisplay_echo_area):
8809 New begin/end methods.
8810 use MAYBE_DEVMETH for clear_frame; it may not exist.
8812 * window.h (WINDOW_XFRAME):
8813 WINDOW_XFOO macros -- get locale and decode struct pointer.
8816 2000-05-12 Ben Wing <ben@xemacs.org>
8819 * emacs.c (ensure_no_quitting_from_now_on):
8820 * emacs.c (fatal_error_signal):
8821 * emacs.c (mswindows_handle_hardware_exceptions):
8823 * emacs.c (Fkill_emacs):
8824 * emacs.c (shut_down_emacs):
8825 * emacs.c (assert_failed):
8826 various improvements in fatal error handling.
8829 move preparing_for_armageddon to emacs.c.
8832 declare fatal_error_in_progress.
8835 * print.c (std_handle_out_external):
8836 * print.c (std_handle_out_va):
8837 * print.c (stderr_out):
8838 * print.c (stdout_out):
8839 use console under mswin when no standard output.
8840 don't do code conversion during fatal error.
8842 * scrollbar.c (Fscrollbar_page_up):
8843 * scrollbar.c (Fscrollbar_page_down):
8844 fix missing else. reindent.
8846 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
8850 * glyphs.h (GLYPH_CACHEL_DESCENT):
8851 (GLYPH_CACHEL_DESCENT):
8852 (GLYPH_CACHEL_DESCENT):
8853 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
8854 used in case these are inline functions.
8855 Use more absurd values to error check.
8857 include window.h for error check functions.
8859 2000-05-11 Ben Wing <ben@xemacs.org>
8861 * cmdloop.c (Freally_early_error_handler):
8862 Display message box under windows; otherwise, message will disappear
8863 before it can be viewed.
8866 * console-msw.c (Fmswindows_message_box):
8867 * console-msw.c (FROB):
8868 * console-msw.c (syms_of_console_mswindows):
8869 Define new fun `mswindows-message-box'.
8870 #### I will merge this into `popup-dialog-box'; just give me
8874 * general.c (syms_of_general):
8875 Some new symbols used in `mswindows-message-box'.
8878 * glyphs.c (Fset_image_instance_property):
8879 put warning in this fun.
8882 * glyphs.h (GLYPH_CACHEL_WIDTH):
8883 * glyphs.h (GLYPH_CACHEL_ASCENT):
8884 * glyphs.h (GLYPH_CACHEL):
8885 * glyphs.h (GLYPH_CACHEL_GLYPH):
8886 define error-checking versions to try to catch a bug i've seen --
8887 redisplay gets in an infinite loop because the glyph width of the
8888 continuation glyph is 65535.
8891 Extern message-box stuff.
8893 * window.c (allocate_window):
8894 * window.c (make_dummy_parent):
8895 * window.c (Fset_window_configuration):
8896 Use EQUAL not EQ for subwindow caches to make them work a bit
8897 better. (Something is still very broken.)
8900 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8902 * glyphs.c (image_instantiate): Suppress gcc warnings.
8903 (Fmake_image_instance): Fix doc string.
8904 * specifier.c (Fmake_specifier): Ditto.
8906 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
8908 * paths.h.in (PATH_LOCK): Removed.
8909 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
8910 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
8912 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8914 * fns.c (Ffeaturep): Update e-mail address in doc-string.
8915 Document (featurep '(and xemacs 21.02)).
8917 2000-05-09 Ben Wing <ben@xemacs.org>
8919 * buffer.c (complex_vars_of_buffer):
8920 update modeline-format doc.
8923 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
8926 timeline of all released versions of Emacs, for use in creating
8927 authorship comments and in synching up.
8929 * glyphs-widget.c (image_instantiator_buttons):
8930 * glyphs-widget.c (image_instantiator_edit_fields):
8931 * glyphs-widget.c (image_instantiator_combo_box):
8932 * glyphs-widget.c (image_instantiator_scrollbar):
8933 * glyphs-widget.c (image_instantiator_progress_guage):
8934 * glyphs-widget.c (image_instantiator_tree_view):
8935 * glyphs-widget.c (image_instantiator_tab_control):
8936 * glyphs-widget.c (image_instantiator_labels):
8937 * glyphs-widget.c (image_instantiator_layout):
8938 * glyphs-widget.c (image_instantiator_native_layout):
8939 rename decode_domain method to governing_domain.
8942 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
8943 * glyphs.c (add_entry_to_device_ii_format_list):
8944 make sure we don't put an entry more than once into the list.
8945 * glyphs.c (check_instance_cache_mapper):
8946 *************************************************************
8947 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
8949 *************************************************************
8950 * glyphs.c (get_image_instantiator_governing_domain):
8951 clean up, expand on new concept of governing domain.
8952 * glyphs.c (instantiate_image_instantiator):
8953 * glyphs.c (allocate_image_instance):
8954 use governing_domain instead of cache_domain in naming.
8955 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
8956 * glyphs.c (make_image_instance_1):
8957 * glyphs.c (Fmake_image_instance):
8958 allow for any domain (not just device), and process the
8959 governing domain correctly. very big doc fix.
8960 * glyphs.c (Fimage_instance_domain):
8961 new primitive, to retrieve the governing domain of an image instance.
8962 * glyphs.c (image_instantiate):
8963 use new governing_domain stuff. this fixes a crash you could get
8964 by instantiating certain widget glyphs in frame locales. (should
8965 signal an error instead of crashing.)
8966 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
8967 * glyphs.c (Fglyphp): clean up doc.
8968 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
8969 * glyphs.c (syms_of_glyphs):
8970 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
8971 * glyphs.c (image_instantiator_format_create): add some comments about
8973 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
8974 for current-display-table. (Apparently Hrjove implemented in 1998 a
8975 design I wrote up in 1996, but didn't update the doc string.)
8977 * glyphs.h: clean up a doc string.
8978 * glyphs.h (governing_domain):
8979 * glyphs.h (struct image_instantiator_methods):
8980 changes for governing_domain stuff.
8983 * gutter.c (Fgutter_specifier_p):
8984 * gutter.c (Fgutter_size_specifier_p):
8985 * gutter.c (Fgutter_visible_specifier_p):
8987 * objects.c (Fcolor_specifier_p):
8988 * objects.c (Ffont_specifier_p):
8989 * objects.c (Fface_boolean_specifier_p):
8990 doc strings moved to make-*-specifier.
8992 * redisplay.c (add_disp_table_entry_runes_1):
8993 * redisplay.c (generate_fstring_runes):
8994 * redisplay.c (screen):
8995 add random comments and doc strings.
8998 * specifier.c (Fmake_specifier):
8999 major overhaul of this doc string.
9001 * specifier.c (Fvalid_specifier_domain_p):
9002 comment about the bogosity of image instances being domains.
9003 * specifier.c (decode_domain):
9004 now non-static, used in glyphs.c.
9005 * specifier.c (specifier_instance):
9006 comment about the bogosity of image instances being domains.
9007 * specifier.c (Fgeneric_specifier_p):
9008 move doc string to make-generic-specifier.
9009 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
9013 * specifier.h (DOMAIN_FRAME):
9014 * specifier.h (DOMAIN_LIVE_P):
9015 * specifier.h (DOMAIN_XDEVICE):
9017 add comments about problems with these macros.
9018 prototype for decode_domain.
9021 * toolbar.c (Ftoolbar_specifier_p):
9022 move doc string to `make-toolbar-specifier'.
9024 * window.c (window_unmap_subwindows_cache_mapper):
9025 *************************************************************
9026 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
9028 *************************************************************
9030 2000-05-09 Andy Piper <andy@xemacs.org>
9032 * glyphs.h: declare reset_frame_subwindow_instance_cache.
9034 * window.c (Fset_window_configuration): reset the frame subwindow
9035 cache and re-initialize the window subwindow caches.
9037 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
9039 2000-05-09 Ben Wing <ben@xemacs.org>
9041 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
9044 2000-04-26 Mike Woolley <mike@bulsara.com>
9046 * ntheap.c: Changed recreate_heap to limit the amount reserved
9047 for the heap to that which is actually available. Also now
9048 displays a message box (with some dignostics) in the event that
9049 it still can't start.
9051 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
9053 * callproc.c (Fold_call_process_internal): GCPRO path
9055 2000-05-08 Jan Vroonhof <jan@xemacs.org>
9057 Patch by Bill Perry.
9059 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
9060 back data instead of #ifdef.
9061 (Fscrollbar_page_down): ditto.
9063 2000-05-07 Ben Wing <ben@xemacs.org>
9066 Kludge for defining Qmswindows_tstr.
9069 * nt.c (open_input_file):
9070 * nt.c (open_output_file):
9071 * nt.c (rva_to_section):
9072 * nt.c (mswindows_executable_type):
9073 Move all memory-mapped-file routines here (some were in unexnt.c,
9074 which is bad because they are used by process-nt.c, and unexnt
9075 won't be around when portable dumping). Synched the above routines
9079 Removed ifdef'd out bogus code.
9080 Fixed some prototypes.
9083 * nt.h (OFFSET_TO_RVA):
9084 * nt.h (RVA_TO_OFFSET):
9085 * nt.h (RVA_TO_PTR):
9086 Moved the memory-mapped-file structures, macros and prototypes
9087 here, to parallel nt.c. ntheap.h should really be removed
9088 entirely, and it's a non-portable-dumper specific file.
9090 * ntheap.h (round_to_next):
9091 Moved the memory-mapped-file structures, macros and prototypes
9094 * ntproc.c (compare_env):
9095 Moved rva_to_section and mswindows_executable_type to nt.c.
9096 Moved compare_env to process-nt.c.
9097 ntproc.c will die, one day.
9099 * ntproc.c (sys_spawnve):
9100 Account for win32_ -> mswindows_.
9103 * process-nt.c (struct nt_process_data):
9104 * process-nt.c (ensure_console_window_exists):
9105 * process-nt.c (compare_env):
9106 * process-nt.c (nt_create_process):
9107 * process-nt.c (nt_kill_process_by_pid):
9108 * process-nt.c (syms_of_process_nt):
9109 * process-nt.c (vars_of_process_nt):
9110 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
9111 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
9112 changes). Eliminate our old `nt-quote-process-args' mechanism.
9113 Synch up nt_create_process with FSF 20.6 sys_spawnve.
9114 Move compare_env here from ntproc.c.
9116 * process.c (Fprocess_send_region):
9117 Takes an optional fourth argument, BUFFER, which should fix some
9118 problems with call-process.
9121 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
9124 Move ICC_BAR_CLASSES to syscommctrl.h.
9125 Add preliminary macros for MSWindows/Mule. More to come.
9128 * unexnt.c (unexec):
9129 open_output_file moved to nt.c.
9132 2000-05-05 Andy Piper <andy@xemacs.org>
9134 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
9135 instance from the frame cache also since GC may catch up too late
9136 to make frame deletion sane.
9138 2000-05-04 Andy Piper <andy@xemacs.org>
9140 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
9141 (x_finalize_image_instance): ungcpro on deletion.
9143 * glyphs.c (image_instantiator_format_create): give pointers a
9144 query geometry method so that the geometry is at least set.
9146 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
9147 initialize layouts if using widgets.
9149 2000-05-03 Andy Piper <andy@xemacs.org>
9151 * nt.c: remove bogus reference to sysmmsystem.h
9153 * gui-x.c (popup_selection_callback): fix no selection abort.
9155 2000-05-02 Andy Piper <andy@xemacs.org>
9157 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
9158 (mswindows_widget_instantiate): ditto.
9160 * glyphs-widget.c (initialize_widget_image_instance): initialize
9162 (widget_instantiate): cope with children and items in the same
9165 * glyphs.c (mark_image_instance): cope with children as a first
9167 (image_instance_equal): ditto.
9168 (image_instance_hash): ditto.
9169 (image_instance_changed): ditto.
9171 2000-04-30 Andy Piper <andy@xemacs.org>
9173 * glyphs.c (subwindow_query_geometry): new function. Return some
9175 (subwindow_instantiate): don't assign dimensions if none have been
9177 (image_instantiator_format_create): add subwindow_query_geometry.
9178 (print_image_instance): cope with layouts as widgets.
9180 2000-04-29 Andy Piper <andy@xemacs.org>
9182 * frame.c (delete_frame_internal): call
9183 free_frame_subwindow_instance_cache so that all subwindows are
9184 finalized before their parent.
9185 (mark_frame): remove subwindow_cachels.
9186 (Fmake_frame): remove subwindow_cachel manipulation.
9187 (allocate_frame_core): subwindow_instance_cache is a weak list.
9188 (delete_frame_internal): set subwindow_instance_cache to nil.
9190 * glyphs-msw.c (mswindows_finalize_image_instance): make double
9192 (mswindows_finalize_image_instance): use the device
9193 not the domain as the domain may have died already.
9195 * glyphs-x.c (x_finalize_image_instance): ditto.
9196 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
9199 * redisplay-output.c (redisplay_unmap_subwindows): update for
9200 subwindow instance cache as a weak list.
9201 (redisplay_unmap_subwindows_maybe): ditto.
9202 (redisplay_unmap_subwindows_except_us): ditto.
9204 * glyphs.c (unmap_subwindow): error checking will check the domain
9205 so don't deal with it here. Don't use cachels anymore.
9206 (map_subwindow): ditto.
9207 (update_subwindow_cachel_data): remove old accessor names.
9208 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
9209 (Fresize_subwindow): don't update cachel.
9210 (mark_subwindow_cachels):
9211 (update_subwindow_cachel_data):
9212 (add_subwindow_cachel):
9213 (get_subwindow_cachel_index):
9214 (update_subwindow_cachel):
9215 (reset_subwindow_cachels):
9216 (mark_subwindow_cachels_as_not_updated): deleted.
9217 (cache_subwindow_instance_in_frame_maybe): new function. Add a
9218 subwindow instance to the frame cache.
9219 (find_matching_subwindow): update for subwindow instance cache as
9221 (update_widget_instances): ditto.
9222 (image_instance_type_to_mask):inlined.
9223 (free_frame_subwindow_instance_cache): new function. finalize all
9224 subwindows that are instantiated.
9226 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
9227 of cachel information.
9228 (IMAGE_INSTANCE_DISPLAY_X):
9229 (IMAGE_INSTANCE_DISPLAY_Y):
9230 (IMAGE_INSTANCE_DISPLAY_WIDTH):
9231 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
9232 (XIMAGE_INSTANCE_DISPLAY_X):
9233 (XIMAGE_INSTANCE_DISPLAY_Y):
9234 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
9235 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
9236 remove subwindow_cachel structure and function references.
9237 (image_instance_type_to_mask): inline from glyphs.c
9239 * redisplay.c (redisplay_frame): remove subwindow_cachel
9242 * frame.h (struct frame): remove subwindow_cachels.
9243 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
9245 * frameslots.h: add subwindow_instance_cache.
9247 * window.c (replace_window): check subwindow cache of replacement.
9248 (window_unmap_subwindows_cache_mapper):
9249 (window_unmap_subwindows): new functions. Unmap all subwindows
9250 cached on this window.
9251 (mark_window_as_deleted): unmap all subwindows.
9253 2000-04-27 Andy Piper <andy@xemacs.org>
9255 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
9257 * glyphs-widget.c (widget_layout): return something.
9258 (layout_layout): return something. Fail if not initialized.
9259 (layout_query_geometry): ditto.
9260 (image_instantiator_native_layout): new function. Initialized the
9262 (widget_instantiate): don't do layout stuff here.
9264 * glyphs.c (instantiate_image_instantiator): reorded calling or
9265 instantiate and post_instantiate with layout in between.
9266 (image_instance_layout): be more selective about deciding whether
9267 the layout has been done or not.
9269 * glyphs.h (struct image_instantiator_methods): return a value
9272 2000-04-26 Andy Piper <andy@xemacs.org>
9274 * glyphs.c (allocate_image_instance): make initial width and
9275 height unspecified. Set initialized to 0.
9277 * syscommctrl.h new file. Encapsulates commctrl.h.
9279 * syswindows.h new file. Encapsulates windows.h.
9281 * ntplay.c: use new syswindows.h and syscommctrl.h header.
9283 * console-msw.h: ditto.
9285 * redisplay-tty.c (tty_output_display_block): remove layout references.
9287 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
9288 window handle rather than just the frame.
9290 * glyphs.c (mark_image_instance): remove layout references.
9291 (print_image_instance): ditto.
9292 (image_instance_equal): ditto.
9293 (image_instance_hash): ditto.
9294 (decode_image_instance_type): ditto.
9295 (encode_image_instance_type): ditto.
9296 (image_instantiate): ditto.
9297 (allocate_glyph): ditto.
9298 (Fimage_instance_height): ditto.
9299 (Fimage_instance_width): ditto.
9300 (update_subwindow): ditto.
9302 * redisplay-x.c (x_output_display_block): recode for layouts as
9305 * redisplay-output.c (redisplay_output_layout): recode for layouts
9307 (compare_runes): remove layout references.
9309 * redisplay-msw.c (mswindows_output_display_block): recode for
9312 * glyphs-widget.c (image_instantiator_layout): remove
9313 layout_possible_dest_types.
9314 (layout_possible_dest_types): deleted.
9316 * glyphs.h (image_instance_type): remove layout references.
9317 (struct Lisp_Image_Instance): ditto. Add initialized flag.
9318 (IMAGE_INSTANCE_INITIALIZED): new accessor.
9319 (XIMAGE_INSTANCE_INITIALIZED): ditto.
9321 2000-04-25 Andy Piper <andy@xemacs.org>
9323 * glyphs-widget.c (image_instantiator_buttons):
9324 (image_instantiator_edit_fields):
9325 (image_instantiator_combo_box):
9326 (image_instantiator_scrollbar):
9327 (image_instantiator_progress_guage):
9328 (image_instantiator_tree_view):
9329 (image_instantiator_tab_control):
9330 (image_instantiator_labels):
9331 (image_instantiator_layout): call default post_instantiate method.
9332 (widget_post_instantiate): new function. Simply lays out the
9335 * glyphs.h (struct image_instantiator_methods): add
9336 post_instantiate method.
9338 * glyphs.c (instantiate_image_instantiator): add post_instantiate
9341 2000-04-23 Andy Piper <andy@xemacs.org>
9343 * glyphs.h (struct image_instantiator_methods): add
9344 decode_domain_method.
9345 (struct Lisp_Image_Instance): remove subwindow frame - it can be
9346 derived from the domain.
9347 (IMAGE_INSTANCE_FRAME): new accessor.
9348 (XIMAGE_INSTANCE_FRAME): ditto.
9350 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
9351 instead of _SUBWINDOW_FRAME.
9352 (finalize_image_instance): ditto.
9353 (Fimage_instance_foreground): ditto.
9354 (Fimage_instance_background): ditto.
9355 (image_instantiate): ditto.
9356 (update_subwindow_cachel): ditto.
9357 (update_subwindow): ditto.
9358 (unmap_subwindow): ditto.
9359 (map_subwindow): ditto
9360 (subwindow_instantiate): ditto.
9361 * glyphs-msw.c (mswindows_update_widget): ditto.
9362 (mswindows_progress_gauge_instantiate): ditto.
9363 (mswindows_tab_control_update): ditto.
9364 * glyphs-x.c (x_update_widget): ditto.
9365 (x_widget_instantiate): ditto.
9366 (x_tab_control_instantiate): ditto.
9367 (x_tab_control_update): ditto.
9368 * event-msw.c (mswindows_wnd_proc): ditto
9370 * glyphs-widget.c (image_instantiator_layout): use
9371 subwindow_decode_domain.
9372 (image_instantiator_buttons): ditto.
9373 (image_instantiator_edit_fields): ditto.
9374 (image_instantiator_combo_box): ditto.
9375 (image_instantiator_scrollbar): ditto.
9376 (image_instantiator_progress_guage): ditto.
9377 (image_instantiator_tree_view): ditto.
9378 (image_instantiator_tab_control): ditto.
9379 (image_instantiator_labels): ditto.
9380 (image_instantiator_layout): ditto.
9382 * glyphs.c: add instance error checking to many functions.
9383 (instantiate_image_instantiator): decode device from cache_domain.
9384 (image_instantiate): partially rewrite by using
9385 decode_image_instantiator_domain to determine what domain the
9386 instance needs to be cached in.
9387 (decode_image_instantiator_domain): new function. Determine what
9388 domain the image needs to be cached in.
9389 (check_window_subwindow_cache): new error checking function.
9390 (check_instance_cache_mapper): ditto.
9391 (check_image_instance_structure): ditto.
9392 (subwindow_decode_domain): new function. Encodes a window as a
9393 subwindow's cache domain.
9394 (image_instantiator_format_create): use it for text and
9397 2000-04-21 Andy Piper <andy@xemacs.org>
9399 * glyphs.c (image_instance_device): new function.
9400 (image_instance_frame): new function.
9401 (image_instance_window): new function.
9402 (image_instance_live_p): new function.
9404 * window.c (mark_window_as_deleted): reset the subwindow_instance_
9407 * glyphs.h (struct Lisp_Image_Instance): device->domain.
9408 (IMAGE_INSTANCE_DOMAIN): new accessor.
9409 (XIMAGE_INSTANCE_DOMAIN): ditto.
9411 * glyphs-x.c (x_finalize_image_instance): device->domain.
9413 * glyphs-msw.c (init_image_instance_geometry): device->domain.
9414 (mswindows_finalize_image_instance): ditto.
9416 * glyphs-eimage.c (jpeg_instantiate): device->domain.
9417 (gif_instantiate): ditto.
9418 (png_instantiate): ditto.
9419 (tiff_instantiate): ditto.
9421 * glyphs.c (instantiate_image_instantiator): use domain rather
9423 (mark_image_instance): device -> domain.
9424 (print_image_instance): ditto.
9425 (finalize_image_instance): ditto.
9426 (image_instance_equal): ditto.
9427 (allocate_image_instance): ditto.
9428 (Fcolorize_image_instance): ditto.
9429 (query_string_geometry): ditto.
9430 (image_instantiate): ditto
9431 (query_string_font): ditto.
9432 (image_instantiate): ditto.
9433 (update_subwindow): ditto.
9434 (unmap_subwindow): ditto.
9435 (map_subwindow): ditto.
9436 (subwindow_instantiate): ditto.
9438 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
9439 (DOMAIN_FRAME): ditto.
9440 (DOMAIN_WINDOW): ditto.
9441 (DOMAIN_LIVE_P): ditto.
9442 (XDOMAIN_DEVICE): ditto.
9443 (XDOMAIN_FRAME): ditto.
9444 (XDOMAIN_WINDOW): ditto.
9446 * specifier.c (Fvalid_specifier_domain_p): add image instances as
9447 a valid specifier domain.
9449 2000-04-19 Andy Piper <andy@xemacs.org>
9451 * glyphs-widget.c (syms_of_glyphs_widget): remove
9452 widget-callback-current-channel.
9453 (vars_of_glyphs_widget): ditto.
9456 * gui.c (get_gui_callback): revert to previous behaviour.
9458 2000-04-18 Andy Piper <andy@xemacs.org>
9460 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
9461 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
9462 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
9464 * glyphs.c (image_instance_equal): add margin_width.
9465 (image_instance_hash): ditto.
9467 * glyphs-widget.c (widget_instantiate): deal with margin-width.
9468 (layout_query_geometry): ditto.
9469 (layout_layout): ditto.
9470 (syms_of_glyphs_widget): add margin-width.
9471 (image_instantiator_layout): allow margin-width.
9473 * glyphs.c (update_widget_instances): make a normal function.
9474 (syms_of_glyphs): remove Qupdate_widget_instances.
9477 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
9478 so that we don't corrupt ideas about the last event or
9479 command. Remove widget-callback-current-channel fiddling.
9480 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9482 2000-05-01 Martin Buchholz <martin@xemacs.org>
9484 * XEmacs 21.2.33 is released.
9486 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
9488 * make-src-depend: Allow dots in header file name.
9490 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
9492 * mule-charset.h (struct charset_lookup): Add
9493 next_allocated_1_byte_leading_byte and
9494 next_allocated_2_byte_leading_byte.
9495 * mule-charset.c: Move above two variables so that those values
9498 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
9500 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
9501 when string length is zero.
9502 (find_charsets_in_emchar_string): Ditto.
9504 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
9506 * lisp.h: extern Qdialog and Qmenubar.
9508 * gui-x.c: added events.h.
9509 also fixed typo which made the file uncompilable.
9511 * general.c: Added Qmenubar and Qdialog
9513 2000-04-28 Ben Wing <ben@xemacs.org>
9515 * frame-msw.c (mswindows_init_frame_1):
9516 * frame-msw.c (mswindows_mark_frame):
9517 * event-msw.c (mswindows_enqueue_dispatch_event):
9519 * console-msw.h (struct mswindows_frame):
9520 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
9521 there are now three hash tables for callbacks.
9522 mswindows_enqueue_dispatch_event is no longer static.
9524 * dialog-x.c (maybe_run_dbox_text_callback):
9525 * dialog-x.c (dbox_descriptor_to_widget_value):
9526 switch to new cons3 form for callbacks.
9528 * glyphs-msw.c (mswindows_register_gui_item):
9529 * glyphs-msw.c (mswindows_widget_instantiate):
9530 * glyphs-msw.c (add_tree_item):
9531 * glyphs-msw.c (add_tab_item):
9532 new image instance parameter, so it can be passed to callback-ex.
9533 respect :callback-ex as well as :callback.
9535 * glyphs-widget.c (VALID_GUI_KEYWORDS):
9538 * glyphs.c (print_image_instance):
9539 prettify, e.g. now prints widget type.
9542 certain funs have new image instance parameter.
9545 * gui.c (get_gui_callback):
9546 * gui.c (gui_item_add_keyval_pair):
9547 * gui.c (gui_item_init):
9548 * gui.c (gui_add_item_keywords_to_plist):
9549 * gui.c (mark_gui_item):
9550 * gui.c (gui_item_hash):
9551 * gui.c (gui_item_equal):
9552 * gui.c (copy_gui_item):
9553 * gui.c (syms_of_gui):
9554 recognize callback-ex in a number of places.
9555 also, fix the annoying "can't get out of yes-no dialog" bug.
9558 * gui.h (struct Lisp_Gui_Item):
9559 recognize callback-ex in a number of places.
9561 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9562 new parameter in button_item_to_widget_value.
9564 * glyphs-x.c (x_update_widget):
9565 * glyphs-x.c (x_button_instantiate):
9566 * glyphs-x.c (x_button_update):
9567 * glyphs-x.c (x_progress_gauge_instantiate):
9568 * glyphs-x.c (x_edit_field_instantiate):
9569 * glyphs-x.c (x_combo_box_instantiate):
9570 * glyphs-x.c (x_tab_control_instantiate):
9571 * glyphs-x.c (x_label_instantiate):
9572 new image instance parameter in various places.
9575 * event-Xt.c (enqueue_Xt_dispatch_event):
9576 this fun gets exported.
9579 * gui-msw.c (mswindows_handle_gui_wm_command):
9580 handle both :callback and :callback-ex, and generate our own
9581 event because it's one of the callback-ex arguments.
9584 * gui-x.c (popup_selection_callback):
9585 handle both :callback and :callback-ex, and generate our own
9586 event because it's one of the callback-ex arguments.
9587 * gui-x.c (button_item_to_widget_value):
9588 * gui-x.c (gui_items_to_widget_values_1):
9589 * gui-x.c (gui_item_children_to_widget_values):
9590 * gui-x.c (gui_items_to_widget_values):
9591 new image instance parameter in various places.
9593 * fns.c (Freplace_list):
9594 fix small typo in doc string.
9597 declare enqueue_Xt_dispatch_event.
9599 2000-04-28 Ben Wing <ben@xemacs.org>
9602 * buffer.c (Frecord_buffer):
9603 * buffer.c (syms_of_buffer):
9604 delete record-buffer-hook.
9607 * fns.c (Freplace_list):
9608 * fns.c (syms_of_fns):
9609 new primitive replace-list.
9612 slot for old buffer-alist.
9618 * redisplay.c (redisplay_frame):
9619 * redisplay.c (syms_of_redisplay):
9620 * redisplay.c (vars_of_redisplay):
9621 new hook buffer-list-changed-hook.
9624 2000-04-27 Ben Wing <ben@xemacs.org>
9626 * extents.h: extern in_modeline_generation.
9628 * redisplay.c (generate_formatted_string_db): set
9629 in_modeline_generation.
9631 * extents.c (extent_changed_for_redisplay): don't mark redisplay
9632 flags if in modeline generation. otherwise frame-modified-tick
9633 is ticked far too often.
9634 Declare in_modeline_generation.
9636 2000-04-26 Ben Wing <ben@xemacs.org>
9638 * emacs.c (vars_of_emacs): document quick-build "error-checking"
9640 (vars_of_emacs): add quick-build as an error-checking option.
9641 A bit kludgy, but there doesn't seem much point in creating
9642 a real var for this.
9644 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
9646 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
9648 * redisplay.h (struct display_line): Add a new variable,
9651 * redisplay.c (create_text_block): Set dl->line_continuation if
9653 (create_string_text_block): Ditto.
9654 (regenerate_window_incrementally): Use line_continuation instead
9655 of searching continuation glyph.
9656 (add_margin_runes): Call add_glyph_rune.
9657 (add_glyph_rune): Handle margin glyph.
9659 2000-04-20 Martin Buchholz <martin@xemacs.org>
9661 * filelock.c (fill_in_lock_file_name):
9663 Check for IS_ANY_SEP instead of '/'.
9665 Avoid generating gratuitous garbage. Call user_login_name() directly.
9666 Never check errno without first seeing that system call failed.
9667 (unlock_file): Add GCPRO.
9668 (Flock_buffer): Fix docstring.
9669 (Ffile_locked_p): Fix docstring. Add GCPRO.
9671 2000-04-19 Martin Buchholz <martin@xemacs.org>
9673 * sysdep.c (get_pty_max_bytes):
9674 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
9675 strings longer than 252 bytes.
9677 * md5.c: Unconditionally include ANSI header <limits.h>
9679 * glyphs-x.c (convert_EImage_to_XImage):
9680 * lisp-union.h (union Lisp_Object):
9681 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
9683 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9685 * filelock.c (current_lock_owner): Remove unused variable o, p.
9687 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
9689 * callint.c: Remove multiply defined symbol Qlet
9690 (syms_of_callint): ditto.
9692 2000-04-14 Andy Piper <andy@xemacs.org>
9694 * general.c (syms_of_general): add last-command, this-command, let
9697 * lisp.h: declare various symbols.
9699 * glyphs.h: declare Qwidget_callback_current_channel;
9701 * glyphs-widget.c (syms_of_glyphs_widget): add
9702 Qgui_callback_current_channel.
9703 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
9705 * gui-msw.c (mswindows_handle_gui_wm_command): bind
9706 widget-callback-current-channel when invoking the interactive
9707 arg. Also bind last-command and next-command when invoking the
9709 * gui-x.c (popup_selection_callback): ditto.
9711 * gui.c (get_gui_callback): massage args so that we are always
9712 calling eval. This allows us to add our own variable bindings
9715 * glyphs-x.c (x_button_instantiate): use
9716 gui_items_to_widget_values since this is GC safe.
9717 (x_progress_gauge_instantiate): ditto.
9718 (x_edit_field_instantiate): ditto.
9719 (x_label_instantiate): ditto.
9721 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
9722 (emacs_Xt_event_widget_focus_out): new function
9723 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
9725 (emacs_Xt_event_add_widget_actions): new function. add focus
9726 functions as actions.
9727 (init_event_Xt_late): use it.
9729 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
9731 * event-stream.c (Fdispatch_event): Doc fix.
9733 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
9735 * postgresql.c: Remove all references to PQsetenv*.
9737 * postgresql.h: Remove references to PGsetenvHandler object.
9738 * lrecord.h (lrecord_type): Ditto.
9740 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9742 * glyphs-msw.h (struct mswindows_image_instance_data): Added
9743 real_heigh and real_width members, and accessor macros for these.
9745 * glyphs-msw.c (init_image_instance_geometry): New function.
9746 (init_image_instance_from_dibitmap): Use it.
9747 (mswindows_resource_instantiate): Use it.
9748 (init_image_instance_from_xbm_inline): Use it.
9749 (mswindows_initialize_image_instance_mask): Use real bitmap
9751 (mswindows_create_resized_bitmap): Ditto.
9752 (mswindows_create_resized_mask): Ditto.
9754 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
9755 and bitmap to their surface size.
9757 2000-04-11 Jan Vroonhof <jan@xemacs.org>
9759 * process-unix.c (unix_send_process): Guard against process MIA
9760 after Faccept_process_output.
9762 2000-04-11 Ben Wing <ben@xemacs.org>
9764 * eval.c (unbind_to_hairy): fix brokenness introduced by
9765 nanosecond speed improvements.
9767 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
9769 * sunplay.c (init_device): To play sounds correctly, the device
9770 apparently needs to be initialized at least once by XEmacs. Make
9773 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
9775 * redisplay.c (add_margin_runes): Add text image glyph
9778 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9780 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
9781 gcc is newer than 2.5.
9783 2000-04-06 Colin Rafferty <colin@xemacs.org>
9785 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
9787 * fns.c (size_bit_vector):
9788 * alloc.c (size_vector):
9789 (make_vector_internal):
9790 (make_bit_vector_internal):
9791 (sweep_bit_vectors_1):
9792 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
9794 2000-04-06 Andy Piper <andy@xemacs.org>
9796 * gmalloc.c (malloc): undo previous change.
9801 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
9803 * line-number.c (buffer_line_number): Revert to former version.
9805 2000-04-06 Andy Piper <andy@xemacs.org>
9807 * gmalloc.c (malloc): add error checking.
9812 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
9813 button_item_to_widget_value arg.
9815 * glyphs-x.c (x_button_instantiate): add extra
9816 button_item_to_widget_value arg.
9817 (x_progress_gauge_instantiate): ditto.
9818 (x_edit_field_instantiate): ditto.
9819 (x_label_instantiate): ditto.
9821 * gui-x.c (gui_items_to_widget_values_1): add extra
9822 button_item_to_widget_value arg.
9823 (button_item_to_widget_value): add extra menu_item_p arg.
9825 * gui-x.h: change signature of button_item_to_widget_value.
9827 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
9828 button_item_to_widget_value arg.
9830 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9832 * buffer.h (struct buffer): auto_save_modified should be long.
9834 2000-04-05 Andy Piper <andy@xemacs.org>
9836 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
9838 (button_query_geometry): give a little more room so that athena
9841 2000-04-05 Andy Piper <andy@xemacs.org>
9843 * faces.c (complex_vars_of_faces): The widget face should inherit
9844 the font of the gui-element face.
9846 2000-04-04 Andy Piper <andy@xemacs.org>
9848 * glyphs-x.c (x_button_update): new function. unconditionally
9849 update a button's state when the instance is dirty.
9850 (image_instantiator_format_create_glyphs_x): add x_button_update.
9851 (x_widget_instantiate): remove old resize cruft.
9853 2000-04-02 Andy Piper <andy@xemacs.org>
9855 * frame.c (change_frame_size_1): The introduction of gutters means
9856 that we need to allow 0 as a potential frame dimension.
9858 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
9860 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
9861 image glyph if allow_cursor.
9862 (add_hscroll_rune): Don't allow cursor to border glyph.
9863 (create_text_block): Ditto.
9865 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
9867 (redisplay_output_layout): Call ensure_face_cachel_complete for
9871 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
9873 * redisplay.c (add_glyph_rune): Adding text image as text runes.
9875 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
9878 * redisplay-tty.c (tty_output_display_block): Delete the routine
9879 for text image glyph
9880 * redisplay-x.c (x_output_display_block): ditto
9881 * redisplay-msw.c (mswindows_output_display_block): ditto
9883 2000-02-02 Mike Alexander <mta@arbortext.com>
9885 Note: Some of these were committed by accident as part of other
9888 * regex.c (regex_compile): Avoid compiler warnings.
9890 * ntproc.c (sys_spawnve): Avoid compiler warnings.
9892 * nt.h: Declare term_ntproc correctly.
9894 * nt.c: Remove incorrect declaration of get_home_directory which
9895 is declared correctly in lisp.h.
9897 * keymap.c (get_keyelt): Avoid compiler warnings.
9898 (raw_lookup_key_mapper): Avoid compiler warnings.
9900 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
9902 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
9904 * filemode.c (mode_string): Avoid compiler warnings.
9906 * file-coding.c (Fcoding_system_aliasee): Add return statement to
9909 * events-mod.h: Undef some things that winuser.h defines differently.
9911 * data.c (Faset): Avoid compiler warnings.
9913 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
9915 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9917 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
9918 Fall through to simple beep on error.
9919 Replace "extern" by real header file.
9921 * linuxplay.c: Use nativesound.h
9922 (play_sound_data): Return error code. Be less verbose on error.
9924 * sunplay.c: Use nativesound.h
9925 (play_sound_data): Return error code. Be less verbose on error.
9927 * ntplay.c: Use nativesound.h
9928 (play_sound_data): Return fake error code
9930 * sgiplay.c: Use nativesound.h
9931 (play_sound_data): Return error code
9933 * hpplay.c: Use nativesound.h, partially implement
9934 new error code. Break compilation until finished.
9935 (play_sound_data): error code.
9937 * nativesound.h (play_sound_file):
9938 (play_sound_data): Prototype in new header.
9940 2000-03-31 Andy Piper <andy@xemacs.org>
9942 * glyphs-widget.c: (button_query_geometry): new function. Adjust
9943 for toggle and radio buttons.
9944 (image_instantiator_buttons): use it.
9946 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9948 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
9949 (x_update_horizontal_scrollbar_callback): Return if no mirror was
9950 found. Scrollbar event probably belonged to some old config.
9952 2000-03-31 Andy Piper <andy@xemacs.org>
9954 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
9956 (initialize_widget_image_instance): default layout to
9957 LAYOUT_HORIZONTAL rather than 0.
9958 (widget_instantiate): reverse the item list at the end rather than
9960 (layout_layout): re-code for the border text at the front of the
9961 item list rather than at the end.
9962 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
9963 provided by the user.
9964 (widget_query_geometry): comment.
9966 2000-03-30 Andy Piper <andy@xemacs.org>
9968 * glyphs-widget.c (image_instantiator_layout): allow standard
9969 widget keywords in layouts.
9971 * gutter.c (output_gutter): cope with nil gutter contents.
9973 * frame.c (Fset_frame_properties): add gutter docs.
9975 2000-03-29 Andy Piper <andy@xemacs.org>
9977 * toolbar-msw.c (TBSTYLE_FLAT): add.
9978 (mswindows_output_toolbar): minor fiddling.
9980 2000-03-29 Andy Piper <andy@xemacs.org>
9982 * gutter.c (output_gutter): force gutter size recalculation if
9983 what we are trying to display won't fit.
9984 (update_gutter_geometry): new function. A per-gutter version of
9985 update_frame_gutter_geometry.
9986 (update_frame_gutter_geometry): use it.
9987 (redraw_exposed_gutter): add extra debugging output.
9989 2000-03-28 Mike Alexander <mta@arbortext.com>
9991 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
9992 (pdump_file_unmap): Implement it on Windows
9993 (pdump_file_get): Save alocated handles for pdump_file_unmap
9995 2000-03-28 Andy Piper <andy@xemacs.org>
9997 * gui.c (get_gui_callback): treat Quit specially.
9999 2000-03-27 Andy Piper <andy@xemacs.org>
10001 * glyphs.c (image_instantiate): be careful to check in the same
10004 2000-03-27 Didier Verna <didier@xemacs.org>
10006 * config.h.in: define the proper SMART_INCLUDE macro.
10007 handle renaming of `foo_h_path' to `foo_h_file'.
10009 * database.c: ditto.
10013 * linuxplay.c: ditto.
10015 * terminfo.c: ditto.
10017 * tooltalk.h: ditto.
10019 2000-03-27 Andy Piper <andy@xemacs.org>
10021 * glyphs-msw.c (mswindows_update_widget): make sure the widget
10022 gets updated whenever the face might have changed.
10024 2000-03-26 Mike Alexander <mta@arbortext.com>
10026 * dumper.c (pdump_resource_free): Fix the comment.
10028 2000-03-21 Olivier Galibert <galibert@pobox.com>
10030 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
10032 2000-03-22 Mike Alexander <mta@arbortext.com>
10034 * dumper.c: Include Windows headers on Windows
10035 (pdump_resource_free): Add a body to the function
10036 (pdump_load): exe_name -> exe_path and add some comments.
10038 2000-03-25 Mike Alexander <mta@arbortext.com>
10040 * gui.c (copy_gui_item_tree): Return a value in all cases
10042 2000-03-21 Didier Verna <didier@xemacs.org>
10044 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
10046 (SMART_INCLUDE): new macro.
10047 (POSTGRES_INCLUDE): new macro to include postgresql headers from
10048 the proper location.
10050 * postgresql.c: use it.
10054 2000-03-24 Andy Piper <andy@xemacs.org>
10056 * gutter.c (redraw_exposed_gutters): must be "in display" when we
10059 2000-03-24 Andy Piper <andy@xemacs.org>
10061 * redisplay-output.c (compare_runes): use image_instance_changed
10062 to detect changes. Do not depend on glyphs_changed, only depend on
10064 (redisplay_output_layout): add debug messages.
10065 (compare_runes): ditto.
10067 * glyphs.h: declare new functions.
10068 (struct Lisp_Image_Instance): remove percent and associated
10071 * gui.h: declare new copying functions.
10073 * gui.c (copy_gui_item_tree): new function.
10074 (copy_gui_item): new function.
10075 (gui_item_id_hash): revert to standard hash.
10076 (gui_item_hash): ditto.
10077 (gui_item_hash_internal): deleted.
10078 (mark_gui_item): mark value.
10079 (gui_item_add_keyval_pair): add value.
10080 (gui_item_init): ditto.
10081 (gui_add_item_keywords_to_plist): ditto.
10082 (gui_item_equal): ditto.
10083 (syms_of_gui): add Q_value.
10085 * glyphs-x.c (x_progress_gauge_update): use pending items and
10086 value for setting the state.
10087 (x_update_widget): don't set items from pending here.
10089 * glyphs-widget.c (update_widget): update items here.
10090 (progress_gauge_set_property): use items for storing value. Put
10091 new value in pending items.
10093 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
10094 items for new value. Convert percent -> value.
10095 (mswindows_tab_control_update): don't update items here.
10097 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
10098 (update_subwindow): ditto.
10099 (image_instance_changed): new function. Compare hash values and
10100 past and present widget items.
10101 (image_instantiate): We more careful about where we instantiate
10103 (image_instantiate): add error checking.
10105 * gutter.c (syms_of_gutter): use -hook.
10107 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
10109 * console-tty.c (Fset_console_tty_input_coding_system): Use
10111 (Fset_console_tty_output_coding_system): Use Qterminal.
10112 (tty_init_console): Use Qkeyboard and Qterminal.
10114 2000-03-21 Ben Wing <ben@xemacs.org>
10116 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
10117 From Mike Alexander <mta@arbortext.com>.
10119 2000-03-21 Ben Wing <ben@xemacs.org>
10121 * event-msw.c (mswindows_need_event): Horrible kludge to fix
10122 process brokenness. Proper implementation to come.
10124 Rename call-process-internal to old-call-process-internal.
10125 New impl. in process.el.
10127 2000-03-21 Martin Buchholz <martin@xemacs.org>
10129 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
10131 2000-03-20 Andy Piper <andy@xemacs.org>
10133 * glyphs.c (full_list_hash): make hashes of the same elements in
10134 different orders return different values.
10136 2000-03-20 Martin Buchholz <martin@xemacs.org>
10138 * XEmacs 21.2.32 is released.
10140 2000-03-20 Martin Buchholz <martin@xemacs.org>
10142 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
10143 (DFC_MALLOC_USE_CONVERTED_DATA):
10144 Add aliasing-safe casts to allow use with char* or unsigned char*
10147 * eldap.c (Fldap_open):
10148 (Fldap_search_basic):
10151 Make C++-compilable.
10152 Make sure GCPRO'ed variables are initialized.
10153 Use temp variables to avoid repeated calls to Flength.
10155 2000-03-16 Martin Buchholz <martin@xemacs.org>
10158 Make sure PATH_MAX is always defined.
10159 Include limits.h for PATH_MAX.
10160 Deprecate use of MAXPATHLEN.
10162 2000-03-10 Martin Buchholz <martin@xemacs.org>
10164 * emacs.c: Add reinit_vars_of_fileio.
10165 * symsinit.h: Add reinit_vars_of_fileio.
10166 * fileio.c (reinit_vars_of_fileio): New.
10167 * fileio.c (Fmake_temp_name):
10168 Initialize temp_name random number from microseconds to make
10169 collisions even less likely. Initialize always at process startup
10170 time. (make-temp-name) used to return the same file name twice in
10172 Random stylistic fiddling.
10175 2000-03-20 Andy Piper <andy@xemacs.org>
10177 * glyphs.c (image_instantiate): allow text glyphs to be
10178 instantiated in the minibuffer window.
10180 2000-03-19 Andy Piper <andy@xemacs.org>
10182 * glyphs.c (image_instance_hash): be careful about which items we
10185 * glyphs-widget.c (tab_control_set_property): record into pending
10186 items rather than the actual items.
10188 * glyphs-x.c (x_update_widget): use pending items to update with.
10190 * glyphs-msw.c (mswindows_tab_control_update): use pending items
10193 * glyphs.c (mark_image_instance): mark pending items.
10195 * window.c (Fset_window_configuration): record the buffer.
10196 (Fselect_window): totally revert previous change which breaks many
10199 2000-03-18 Andy Piper <andy@xemacs.org>
10201 * glyphs-msw.c (mswindows_tab_control_update): force selected
10204 * glyphs.c (image_instantiate): don't allow the minibuffer as a
10205 window domain cache, otherwise we get inconsistencies at
10206 startup. There is something fishy at startup which can lead to the
10207 minibuffer being the selected window when the gutter content is
10210 * gui.c (parse_gui_item_tree_list): add probably unnecessary
10212 (parse_gui_item_tree_children): ditto.
10213 (parse_gui_item_tree_item): ditto.
10215 * glyphs.c (Fupdate_widget_instances): return something.
10217 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10219 * window.c (Fselect_window): Undo 2000-03-17 change.
10221 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
10223 * postgresql.c (Fpq_setenv): Remove this turkey when linking
10224 against v7.0 libraries. Insta-coredump city until the postgres
10227 2000-03-17 Andy Piper <andy@xemacs.org>
10229 * faces.c (complex_vars_of_faces): don't give the widget face an
10230 inherited background pixmap.
10232 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
10235 * event-stream.c (Fdispatch_non_command_events): return something.
10237 * gutter.c (output_gutter): use widget face.
10238 (clear_gutter): ditto.
10240 * NEWS: adjust again.
10242 * window.c (Fselect_window): make sure this runs to completion to
10243 avoid oddities with Fset_window_configuration.
10244 (Fcurrent_window_configuration): in general do not save the
10245 minibuffer as the selected window.
10247 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
10249 2000-03-16 Olivier Galibert <galibert@pobox.com>
10251 * emacs.c (Frunning_temacs_p): Revert previous patch.
10252 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
10254 2000-03-16 Andy Piper <andy@xemacs.org>
10256 * glyphs-x.c (x_tab_control_update): if no widget values then
10259 * NEWS: update for new features.
10261 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
10262 synthetic event to the native system.
10263 (reinit_vars_of_event_Xt): set force_event_pending to
10264 emacs_Xt_force_event_pending.
10266 * events.h (struct event_stream): add force_event_pending.
10268 * specifier.c (recompute_one_cached_specifier_in_window): add
10271 * redisplay.c (redisplay_frame): don't call
10272 update_frame_subwindows. Reset subwindow cachels when
10273 subwindows_changed, removing this was an optimization too far.
10275 * redisplay-output.c (compare_runes): reorganize so that we catch
10276 glyph changes when we want them. Set optimize_output when this
10277 would help layouts.
10278 (redisplay_output_layout): remove frame_really_changed, use
10279 optimize_output instead.
10281 * redisplay-msw.c (mswindows_output_display_block): reset
10282 optimize_output after outputting a glyph.
10283 * redisplay-x.c (x_output_display_block): ditto.
10284 * redisplay-tty.c (tty_output_display_block): ditto.
10286 * gutter.c: (specifier_vars_of_gutter): use new spec changed
10288 (gutter_specs_changed): do specific gutter positions.
10289 (top_gutter_specs_changed): new function. Only update the
10290 specified gutter specs.
10291 (bottom_gutter_specs_changed): ditto.
10292 (left_gutter_specs_changed): ditto.
10293 (right_gutter_specs_changed): ditto.
10295 * gui.c (gui_item_hash_internal): new function, does a real hash.
10296 (gui_item_id_hash): use it.
10297 (gui_item_hash): hash the eval'ed gui_item.
10299 * gui-x.c (popup_selection_callback): send an eval event to call
10300 Fupdate_widget_instances.
10302 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
10303 to call Fupdate_widget_instances.
10305 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
10306 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
10308 * glyphs.c: (update_frame_subwindows): deleted.
10309 (Fupdate_widget_instances): new function for updating the dirty
10310 state of widgets that might have changed.
10311 (syms_of_glyphs): add Qupdate_widget_instances.
10312 (full_list_hash): hash a list completely.
10313 (image_instance_hash): use it for items and properties.
10315 * frame-msw.c (mswindows_size_frame_internal): remove unused
10318 * faces.h (struct face_cachel): fix comment.
10320 * event-stream.c (Fdispatch_non_command_events): new
10321 function. Process non-command events, forcing an event cycle
10323 (syms_of_event_stream): declare.
10324 (event_stream_force_event_pending): new function. Force an event
10325 on the native event queue so that an event cycle will occur next
10329 (struct ntpipe_shove_stream):
10330 (mswindows_enqueue_dispatch_event):
10331 (mswindows_dequeue_dispatch_event):
10332 (mswindows_cancel_dispatch_event):
10333 (mswindows_pump_outstanding_events):
10334 (mswindows_drain_windows_queue):
10335 (mswindows_handle_paint):
10336 (mswindows_wnd_proc):
10337 (mswindows_key_to_emacs_keysym):
10338 (get_process_input_waitable):
10339 (emacs_mswindows_delete_stream_pair): re-indent file.
10340 (mswindows_need_event): do not process further fds if the windows
10341 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
10342 fixes the 100% cpu problem.
10343 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
10345 2000-03-15 Olivier Galibert <galibert@pobox.com>
10351 * emacs.c: Moved dump file searching to dumper.c.
10352 (Frunning_temacs_p): Fixed.
10354 * alloc.c: Moved everything pdump-related to dumper.c. Removed
10355 last_lrecord_type_index_assigned.
10357 2000-02-20 Olivier Galibert <galibert@pobox.com>
10359 * symsinit.h: Added reinit parameter to init_console_stream
10362 * lisp.h: Added file parameter to pdump_load declaration.
10364 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
10365 support. Added dump file searching.
10367 * config.h.in: Added EMACS_PROGNAME.
10369 * console-stream.c (init_console_stream): Fix reinitialisation
10370 when running from temacs.
10372 * alloc.c (pdump): Add id support.
10373 (pdump_load): Add file parameter and signature/id support.
10375 * Makefile.in.in: Add full pdump support.
10377 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
10379 * postgresql.c: Update documentation to reflect latest code
10381 (print_result): Show tuple counts in printed representation when
10383 (Fpq_put_nbytes): MULE-ize.
10384 (Fpq_get_line_async): Ditto.
10386 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10388 * postgresql.c (Fpq_lo_import): Fix return value.
10389 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
10391 2000-03-13 Ben Wing <ben@xemacs.org>
10393 * alloc.c (pdump_load):
10394 Fix compile warning under mswin.
10396 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10398 * postgresql.c: Mule-ization, bug fixes.
10399 Use PG_CODING to encapsulate coding system name changes.
10400 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
10401 (pg-coding-system): Create.
10403 (Fpq_conn_defaults): Mule-ize.
10404 (Fpq_connectdb): Mule-ize & bug fix.
10405 (Fpq_connect_start): Mule-ize.
10406 (Fpq_set_client_encoding): Mule-ize.
10407 (Fpq_finish): Document `DEAD' connection status.
10408 (Fpq_clear): Ditto.
10409 (Fpq_pgconn): Mule-ize.
10410 (Fpq_exec): Mule-ize & bug fix.
10411 (Fpq_send_query): Ditto.
10412 (Fpq_get_result): Ditto.
10413 (Fpq_res_status): Mule-ize.
10414 (Fpq_result_error_message): Mule-ize.
10415 (Fpq_ntuples): fix comments.
10416 (Fpq_fname): Mule-ize.
10417 (Fpq_fnumber): Mule-ize.
10418 (Fpq_ftype): fix comments.
10419 (Fpq_get_value): Mule-ize.
10420 (Fpq_cmd_status): Ditto.
10421 (Fpq_cmd_tuples): Ditto.
10422 (Fpq_oid_value): Ditto.
10423 (Fpq_notifies): Ditto.
10424 (Fpq_lo_import): Ditto.
10425 (Fpq_lo_export): Ditto.
10426 (Fpq_get_line): Ditto.
10427 (Fpq_put_line): Mule-ize and bug fix.
10428 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
10430 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10432 * postgresql.c (vars_of_postgresql): Mule-ize.
10433 (Fpq_conn_defaults): Ditto.
10435 2000-03-12 Ben Wing <ben@xemacs.org>
10437 * alloc.c (Fmake_byte_code):
10438 * alloc.c (debug_string_purity_print):
10439 * alloc.c (pdump_backtrace):
10440 * alloc.c (pdump_get_indirect_count):
10441 * alloc.c (pdump_register_sub):
10442 * alloc.c (pdump_register_object):
10443 * alloc.c (pdump_register_struct):
10444 * alloc.c (pdump_dump_data):
10445 * alloc.c (pdump_reloc_one):
10449 * console-msw.c (GetConsoleHwnd):
10450 * console-msw.c (msw_hide_console):
10451 * console-msw.c (msw_show_console):
10452 * console-msw.c (msw_ensure_console_buffered):
10453 * console-msw.c (msw_output_console_string):
10454 * console-msw.c (console_type_create_mswindows):
10456 a) Added functions to manipulate the console window for use with
10459 b) Added support for writing text to the console, which is now
10460 used under Windows when xemacs is not being run non-interactively,
10461 to write text that would otherwise be destined for stdout because
10462 under these circumstances, text written to stdout tends to
10463 disappear and not be seen.
10467 * event-Xt.c (x_event_to_emacs_event):
10468 * event-Xt.c (describe_event_window):
10469 * events-mod.h (XEMACS_MOD_CONTROL):
10471 * events.c (Fmake_event):
10472 * events.c (character_to_event):
10473 * events.c (event_to_character):
10474 * events.c (format_event_object):
10475 * events.c (Fevent_modifiers):
10477 * events.h (struct key_data):
10478 * events.h (struct button_data):
10479 * events.h (struct misc_user_data):
10480 * frame-x.c (Fcde_start_drag_internal):
10481 * frame-x.c (Foffix_start_drag_internal):
10482 * gpmevent.c (Freceive_gpm_event):
10484 * keymap.c (bucky_sym_to_bucky_bit):
10485 * keymap.c (control_meta_superify):
10486 * keymap.c (make_key_description):
10487 * keymap.c (keymap_lookup_directly):
10488 * keymap.c (create_bucky_submap):
10489 * keymap.c (keymap_store):
10490 * keymap.c (define_key_check_and_coerce_keysym):
10491 * keymap.c (define_key_parser):
10492 * keymap.c (define_key_alternate_name):
10493 * keymap.c (Fdefine_key):
10494 * keymap.c (raw_lookup_key_mapper):
10495 * keymap.c (struct map_keymap_unsorted_closure):
10496 * keymap.c (map_keymap_unsorted_mapper):
10497 * keymap.c (map_keymap_sort_predicate):
10498 * keymap.c (map_keymap_sorted):
10499 * keymap.c (accessible_keymaps_mapper_1):
10500 * keymap.c (where_is_recursive_mapper):
10501 * keymap.c (describe_map_mapper):
10502 * keymap.c (describe_map_sort_predicate):
10503 * keymap.c (describe_map):
10504 * keymap.c (complex_vars_of_keymap):
10505 And a number of other files, the key modifier preprocessor
10506 constants that xemacs uses have names that conflict with constants
10507 defined under MS Windows for other purposes, so they were renamed
10508 to begin with the prefix XEMACS_. The variables that hold such
10509 modifiers were changed to consistently be of type int to fix
10510 various compile warnings.
10512 * console.c (complex_vars_of_console):
10515 * device-msw.c (mswindows_finish_init_device):
10516 * device-msw.c (msw_get_workspace_coords):
10517 * device-msw.c (mswindows_device_system_metrics):
10518 and various other files, added support for a new
10519 device property called offset-workspace which returns the position
10520 of the upper left corner of the workspace area and goes along with
10521 the existing size-workspace property.
10524 * dialog-msw.c (push_bufbyte_string_as_unicode):
10525 * dialog-msw.c (mswindows_popup_dialog_box):
10526 Added support for XEmacs-style accelerator specifications in
10527 button text. Note: I didn't add support for this under X Windows,
10528 and somebody needs to do this.
10531 * dialog.c (Fpopup_dialog_box):
10532 Documented the support for accelerators that was just mentioned.
10534 editfns.c (get_home_directory): Changed behavior under Windows
10535 when HOME not defined; former behavior was irretrievably broken.
10538 * emacs.c (main_1):
10540 * minibuf.c (clear_echo_area_internal):
10541 * minibuf.c (echo_area_append):
10543 * print.c (std_handle_out_external):
10544 * print.c (std_handle_out_va):
10546 * print.c (write_string_to_stdio_stream):
10547 * print.c (output_string):
10548 * print.c (debug_print):
10549 * print.c (debug_backtrace):
10550 * print.c (debug_short_backtrace):
10551 Cleaned up the code that prints text to stdout so that this can be
10552 changed to output into a console window instead under MS Windows,
10553 as described above.
10556 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
10557 * eval.c (internal_catch):
10558 * eval.c (unwind_to_catch):
10559 * eval.c (throw_or_bomb_out):
10560 * eval.c (condition_case_1):
10561 * eval.c (signal_1):
10562 * eval.c (check_error_state_sanity):
10563 * eval.c (call_with_suspended_errors_1):
10564 * eval.c (call_with_suspended_errors):
10565 * eval.c (reinit_vars_of_eval):
10566 Added code to catch throw loops and check for a pesky bug that may
10570 * event-msw.c (key_needs_default_processing_p):
10571 * event-msw.c (mswindows_wnd_proc):
10572 * event-msw.c (mswindows_modifier_state):
10573 * event-msw.c (emacs_mswindows_quit_p):
10574 * event-msw.c (vars_of_event_mswindows):
10575 a) Added support for using the alt key to select menu items as is
10576 standard under MS Windows. This is controlled using the variable
10577 menu-accelerator-enabled, just like under X Windows. There is an
10578 option on the options menu to turn this support on. I really
10579 think that it should be on by default under Windows, but I'm not
10580 going to make this change yet.
10582 b) Added support for dynamic display size changes under Windows.
10585 * event-stream.c (maybe_echo_keys):
10586 * event-stream.c (Fnext_event):
10587 * event-stream.c (command_builder_find_leaf):
10588 * event-stream.c (lookup_command_event):
10589 * event-stream.c (execute_command_event):
10590 * event-stream.c (pre_command_hook):
10591 * event-stream.c (post_command_hook):
10592 * event-stream.c (syms_of_event_stream):
10593 * event-stream.c (vars_of_event_stream):
10594 * event-stream.c (complex_vars_of_event_stream):
10595 * events.h (struct command_builder):
10597 a) Tried to clean up a little bit the horribly written x-specific
10598 accelerator code that crept into this file. I moved this code
10599 into menubar-x.c where it belongs. I also needed to move the
10600 command builder structure into the file events.h because it is
10601 accessed directly by this accelerator code. What I didn't do, but
10602 which should be done at some point, is to properly abstract this
10603 code using device methods instead of the kludgy way that it
10604 currently hooks into the event code.
10606 b) Added the lisp variables this-command-properties and
10607 last-command- properties, which should be used to synchronize two
10608 adjacent commands in preference to playing games with the variable
10609 this-command, which is typically what happens.
10611 c) Added some slightly nasty code to hook into the lisp support
10612 for shifted- motion-key selection. This is actually necessary for
10613 somewhat complicated reasons, which are described in
10614 simple.el. (NB: I think the proper thing would be to have the code
10615 that calls the pre and post command hooks also call out to generic
10616 lisp functions in simple.el, where all built-in stuff could be
10617 added. I will think about this more.)
10619 * event-unixoid.c (poll_fds_for_input):
10620 * lread.c (readchar):
10621 * redisplay-tty.c (tty_clear_frame):
10622 * redisplay-x.c (x_get_gc):
10623 * signal.c (interrupt_signal):
10624 And a whole bunch of other files: fixed up places that printed
10625 directly to stderr to instead call the function stderr_out so that
10626 the changes I made under Windows work correctly.
10628 * filemode.c (mode_string):
10632 * frame-msw.c (mswindows_size_frame_internal):
10633 Fixed the computation of frame size and position to keep the frame
10634 within the workspace area, rather than within the physical
10635 dimensions of the screen, so that the frame doesn't overlap window
10636 manager decorations, such as the start menu and toolbar, typically
10637 at the bottom of the screen.
10639 * frame.c (vars_of_frame):
10640 Changed the default frame title format under MS Windows to consist
10641 of buffername-XEmacs, which is standard under MS Windows. I think
10642 it might be a good idea to change this everywhere because I think
10643 it is superior to the current frame title format, but this is the
10644 kind of change that is likely to cause some people to get annoyed,
10645 so I'm not making it.
10647 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
10649 * gui-msw.c (mswindows_handle_gui_wm_command):
10650 Fixed compile warnings.
10653 * gui-x.c (strdup_and_add_accel):
10654 * gui-x.c (button_item_to_widget_value):
10656 Added code to automatically put an accelerator onto the beginning
10657 of menu items that don't have one as is now the standard, and is
10658 described more later. Also fixed things so that the menu item
10659 name can be an evaluated expression, again a new standard.
10662 * gui.c (gui_item_add_keyval_pair):
10663 * gui.c (make_gui_item_from_keywords_internal):
10664 * gui.c (gui_add_item_keywords_to_plist):
10665 * gui.c (gui_item_accelerator):
10666 * gui.c (gui_name_accelerator):
10667 * gui.c (gui_item_included_p):
10668 * gui.c (gui_item_display_flush_left):
10669 * gui.c (gui_item_display_flush_right):
10670 * gui.c (parse_gui_item_tree_item):
10671 * gui.c (parse_gui_item_tree_children):
10672 * gui.c (parse_gui_item_tree_list):
10673 Mule-ized. Cleanup. GCPRO addition.
10675 * line-number.c (buffer_line_number):
10677 * lisp.h (EMACS_INT_MAX):
10678 Added the manifest constant EMACS_INT_MIN corresponding to the
10679 existing constant EMACS_INT_MAX. This is partially to fix compile
10680 warnings under Windows, and partly for cleanliness.
10683 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
10684 * menubar-msw.c (msw_translate_menu_or_dialog_item):
10685 * menubar-msw.c (displayable_menu_item):
10686 * menubar-msw.c (populate_menu_add_item):
10687 * menubar-msw.c (populate_or_checksum_helper):
10688 * menubar-msw.c (populate_menu):
10689 * menubar-msw.c (update_frame_menubar_maybe):
10690 * menubar-msw.c (prune_menubar):
10691 * menubar-msw.c (msw_char_is_accelerator):
10692 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
10693 * menubar-msw.c (mswindows_handle_wm_command):
10694 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
10695 * menubar-msw.c (mswindows_handle_wm_initmenu):
10696 * menubar-msw.c (mswindows_update_frame_menubars):
10697 * menubar-msw.c (mswindows_free_frame_menubars):
10698 * menubar-msw.c (mswindows_popup_menu):
10699 Fixed a bug in handling accelerators where an extra character
10700 would be displayed in the menu item. Also generalized the
10701 function displayable_menu_item because it is now used by the
10702 dialog box code as well. And finally, added code in the functions
10703 that create the menubar to extract a list of accelerators for the
10704 top level menubar, which is used in the event code to determine
10705 whether a particular alt-key combination should be used to invoke
10706 a menu item, or should be passed through to access the standard
10707 XEmacs keymap binding for this key combination.
10709 Much needed GCPROing.
10712 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10713 * menubar-x.c (menu_item_descriptor_to_widget_value):
10714 * menubar-x.c (restore_in_menu_callback):
10715 * menubar-x.c (x_popup_menu):
10716 * menubar-x.c (menu_move_up):
10717 * menubar-x.c (menu_move_down):
10718 * menubar-x.c (menu_move_left):
10719 * menubar-x.c (menu_move_right):
10720 * menubar-x.c (menu_select_item):
10721 * menubar-x.c (command_builder_operate_menu_accelerator):
10722 * menubar-x.c (menu_accelerator_junk_on_error):
10723 * menubar-x.c (command_builder_find_menu_accelerator):
10724 * menubar-x.c (Faccelerate_menu):
10726 Moved a whole bunch of code here that was previously in
10727 event-stream.c as described above. There is also code connected
10728 to the new standard of adding an accelerator to the beginning of
10729 menu items that don't have one as described above and below.
10732 * menubar.c (menu_parse_submenu_keywords):
10733 * menubar.c (Fmenu_find_real_submenu):
10734 * menubar.c (Fnormalize_menu_item_name):
10735 * menubar.c (syms_of_menubar):
10736 * menubar.c (vars_of_menubar):
10737 * menubar.c (complex_vars_of_menubar):
10739 a) Cleaned up a bunch of documentation and improved it.
10741 b) XEmacs now automatically adds an accelerator onto the beginning
10742 of any menu items that don't have one. I did this because there
10743 will inevitably be some menu items on the main menubar that don't
10744 have accelerators on them because the package that adds that
10745 particular menu item hasn't yet been fixed up to have accelerators
10746 in them and it looked rather strange to have some items with and
10747 some items without accelerators, especially since even in items
10748 without accelerators, you can, at least under windows, still
10749 access the item through an accelerator corresponding to the first
10750 character in the item's name. If people don't like this behavior,
10751 I can add a variable to turn it off optionally, but I'm not sure
10752 this is a good idea because we really do need to have accelerators
10753 on all of the menu items, and if a package doesn't like the
10754 accelerators being put on the first character, then it should put
10755 the accelerators where they belong.
10757 c) I made a behavior change, which is that the descriptor that
10758 specifies the text of the menu item, which formerly was just a
10759 string, can now also be an evaluated expression. This makes this
10760 descriptor parallel with all of the others, which could also be
10761 evaluated expressions. This also obviates the need for the
10762 keyword :label, which was previously listed in the documentation
10763 as unimplemented, and which was for the same purpose.
10768 * ntproc.c (new_child):
10769 * ntproc.c (sys_spawnve):
10770 * ntproc.c (find_child_console):
10771 * ntproc.c (sys_kill):
10772 Fixed compile warnings. By the way, this file should really go
10773 away entirely, and this will happen as soon as Kirill makes his
10774 final round of process cleanups, which affect the function
10778 * process-nt.c (struct nt_process_data):
10779 * process-nt.c (find_process_from_pid):
10780 * process-nt.c (send_signal_the_nt_way):
10781 * process-nt.c (enable_child_signals):
10782 * process-nt.c (find_child_console):
10783 * process-nt.c (send_signal_the_95_way):
10784 * process-nt.c (nt_finalize_process_data):
10785 * process-nt.c (ensure_console_window_exists):
10786 * process-nt.c (nt_create_process):
10787 * process-nt.c (nt_kill_child_process):
10788 * process-nt.c (nt_kill_process_by_pid):
10789 * process-nt.c (nt_open_network_stream):
10790 * process-nt.c (vars_of_process_nt):
10791 Copied over code from Emacs 20.5 to correctly send signals to sub-
10792 processes under Windows 95. Also added code to automatically
10793 create and hide console window when a sub-process is created under
10794 Windows 95, which obviates the need for the separate runemacs.exe
10795 executable, and finally implemented some variables that were
10796 implemented in Emacs 20.5, but previously not in XEmacs. These
10797 include mswindows- start-process-share-console and
10798 mswindows-start-process-inherit-error-mode. (Both of these only
10799 apply to Windows 95.)
10801 * regex.c (regex_compile): Fixed a compile warning.
10804 * select-msw.c (mswindows_own_selection):
10805 * select-msw.c (mswindows_get_foreign_selection):
10806 * select-msw.c (mswindows_disown_selection):
10807 * select-msw.c (console_type_create_select_mswindows):
10808 * select-msw.c (syms_of_select_mswindows):
10809 Cleaned up the file and implemented the device method
10810 selection_exists_p, which had accidentally been left out. Also
10811 removed four lisp functions that were remnants from before the
10812 time when the selection code was properly device abstracted.
10813 These functions are no longer needed because there are generic
10814 equivalents, and because they were added recently and don't exist
10815 in FSF Emacs, I don't think there's any problem with just deleting
10819 * sysdep.c (sys_subshell):
10820 Fixed a compile warning, although in this case there's probably
10821 something wrong with this code, and it ought to be looked into
10822 more thoroughly by somebody who understands it.
10825 * window.c (Fwindow_text_area_height):
10826 * window.c (Fwindow_width):
10827 * window.c (Fwindow_full_width):
10828 * window.c (Fwindow_pixel_width):
10829 * window.c (debug_print_window):
10830 * window.c (syms_of_window):
10831 Added functions window-text-area-height and window-full-width,
10832 which are functions for returning various width and height
10833 characteristics of a window. (One of these functions is necessary
10834 for making the file dialog box work correctly, and the other one
10835 was added for completeness.) Also added a table to the
10836 documentation for window-height which describes the entire scheme
10837 for accessing width and height characteristics of a window.
10839 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10841 * nt.c (fstat): Added a comment for another problem with
10842 non-encapsulated [f]stat(), reported by Adrian Aichner
10843 <aichner@ecf.teradyne.com>.
10845 2000-03-11 Andy Piper <andy@xemacs.org>
10847 * window.c (make_dummy_parent): initialize subwindow instance
10849 (Fset_window_configuration): zero extent_modiff.
10851 2000-03-10 Andy Piper <andy@xemacs.org>
10853 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
10854 more changes can be triggered.
10855 (Fredisplay_frame): ditto.
10856 (Fredraw_device): ditto.
10857 (Fredisplay_device): ditto.
10858 (redisplay_frame): make non-static.
10859 (redisplay_frame): call update_frame_gutter_geometry outside of
10862 * gutter.h: declare update_frame_gutter_geometry.
10864 * redisplay.h: declare redisplay_frame.
10866 * gutter.c (update_frame_gutter_geometry): move geometry changes
10867 in update_frame_gutters here. Geometry changes can only occur
10868 outside of redisplay.
10869 (update_frame_gutters): remove geometry change code.
10870 (Fredisplay_gutter_area): make sure that we are in display when we
10871 update and that we have flushed any size changes.
10873 2000-03-11 Andy Piper <andy@xemacs.org>
10875 * alloc.c (pdump_dump_data): remove i & count shadows.
10877 2000-02-27 Mike Alexander <mta@arbortext.com>
10879 * sysdep.h: Declare pdump_read_file
10881 * sysdep.c (pdump_read_file): New function
10883 * alloc.c (pdump_load): Call pdump_read_file to get the portable
10886 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10888 * lrecord.h: add `lrecord_type_pgsetenv'.
10890 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
10892 * symsinit.h: declare (vars|syms)_of* functions.
10893 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
10895 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
10897 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
10899 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
10902 * emacs.c (main_1): Call postgres initialization code.
10904 * postgresql.h: New file. PostgreSQL RDBMS support.
10905 * postgresql.c: New file.
10907 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
10909 * redisplay-output.c (redisplay_output_display_block): Disable
10912 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10914 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
10915 (Fcanna_henkan_next): Ditto.
10916 (Fcanna_bunsetu_henkou): Ditto.
10917 (Fcanna_henkan_kakutei): Ditto.
10918 (Fcanna_henkan_end): Ditto.
10919 (Fcanna_henkan_quit): Ditto.
10920 (Fcanna_henkan_next): Set retun value correctly.
10921 (c2mu): Use unsigned char instead of signed char.
10923 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10925 * emacs.c (main_1): Always call syms_of_gui.
10926 * inline.c: include gui.h
10928 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10930 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
10931 converted to Lisp_Object.
10932 (Qtop_bottom): New variable.
10933 (syms_of_redisplay): Initialize it.
10934 * redisplay.h (Vvisible_bell): Ditto.
10935 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
10936 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
10937 only flash top and bottom.
10939 2000-03-08 Andy Piper <andy@xemacs.org>
10941 * buffer.c (Frename_buffer): record new buffer name the right way.
10943 2000-03-08 Andy Piper <andy@xemacs.org>
10945 * glyphs.c (update_subwindow): increase hash depth so that widget
10946 items get picked up properly.
10948 * redisplay-output.c (compare_runes): increase hash depth so that
10949 widget items get picked up properly.
10951 2000-03-08 Andy Piper <andy@xemacs.org>
10953 * gutter.c (output_gutter): add some debug.
10955 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
10956 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
10957 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
10959 * redisplay-output.c (compare_runes): use display_hash to
10960 determine if glyphs really are not the same.
10962 * glyphs.c (update_subwindow): check display_hash to see if
10963 anything really needs to be updated. If not then do
10964 nothing. Record the display_hash after updating.
10965 (image_instance_equal): compare the image_instance face also.
10967 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
10969 * redisplay.h: Fix comment style.
10971 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
10973 * consle-msw.h (struct mswindows_frame):
10974 Added new member paint_pending to indicate whether a WM_PAINT
10975 magic event has been queued for this frame.
10977 * event-msw.c (mswindows_drain_windows_queue):
10978 Don't queue a WM_PAINT magic event if one is already queued.
10979 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
10981 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
10983 2000-03-07 Didier Verna <didier@xemacs.org>
10985 * dired.c: #include `regex.h' after `sysfile.h'.
10987 2000-03-06 Martin Buchholz <martin@xemacs.org>
10989 * sound.c (init_nas_sound): Fix compiler warning.
10991 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
10993 (MARK_STRUCT_AS_FREE):
10994 (MARK_STRUCT_AS_NOT_FREE):
10995 Make `gcc -fstrict-aliasing' work properly.
10997 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
10999 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
11000 (mswindows_delete_device): Call CoUnnitialize().
11002 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
11004 2000-02-25 <CraigL@DyCon.com>
11006 * process-nt.c: MinGW now has <shellapi.h>, but still needs
11009 * sysdep.c: This extern declaration for environ prevents MinGW
11010 from finding the variable in CRTDLL.DLL.
11012 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
11014 (SHGFI_EXETYPE): ..
11015 (WM_MOUSEWHEEL): ..
11016 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
11018 (MMRESULT): Removed, now defined in cygwin's windows headers.
11020 (uid_t,gid_t,pid_t,ssize_t): ..
11021 (_timeb): Removed, MinGW defines both _timeb and timeb.
11022 (HAVE_H_ERRNO): Added.
11023 (HAVE_TZNAME): Added, configure is not detecting this.
11025 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
11027 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
11028 * syntax.c (syntax_match): Use it.
11030 * cmds.c: Import auto-fill-chars from FSF Emacs.
11031 (Vauto_fill_chars): New variables.
11032 (internal_self_insert): Check Vauto_fill_chars.
11034 Declare auto-fill-chars as a Lisp variable and initialize it.
11036 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
11038 * fileio.c (Fmake_symbolic_link):
11040 Run handlers even if local machine doesn't have symlinks.
11042 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
11044 * event-msw.c (mswindows_drain_windows_queue):
11045 Don't generate paint magic events for non-XEmacs frames.
11047 2000-03-05 Andy Piper <andy@xemacs.org>
11049 * redisplay.c (redisplay_frame): generate_displayable_area and
11050 friends assumes that we are not in GC, we therefore have to make
11051 sure that this doesn't happen.
11053 * gutter.c (calculate_gutter_size): generate_displayable_area
11054 assumes that we are not in GC, we therefore have to make sure that
11055 this doesn't happen.
11057 2000-03-05 Martin Buchholz <martin@xemacs.org>
11059 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
11061 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
11063 * redisplay.c (regenerate_window): Make sure we set a sane value
11064 for end_pos even if we jump out of the loop.
11065 (regenerate_window): Answer Ben's question :-).
11066 (start_end_of_last_line): Add may_error argument.
11067 (start_of_last_line):
11068 (end_of_last_line): Pass may_error = 0.
11069 (end_of_last_line_may_error): New function.
11070 (pixel_to_glyph_translation): Use it, so we don't crash in
11073 2000-03-04 Andy Piper <andy@xemacs.org>
11075 * window.h (struct window): add gutter_extent_modiff.
11077 * window.c (allocate_window): zero out gutter_extent_modiff.
11079 * redisplay.h: declare sync_display_line_structs.
11081 * redisplay.c (add_glyph_rune): add a better comment.
11083 * redisplay-output.c (sync_display_line_structs): made non-static.
11084 (compare_runes): remove unneccesary glyph cachel access.
11086 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
11088 * gutter.c (output_gutter): don't output the gutter if extent
11089 changes only involve extents in buffers. use 4 sets of display
11091 (gutter_extent_signal_changed_region_maybe): new function. Mark
11092 extents in gutters as changed.
11093 (update_frame_gutters): use 4 sets of display lines.
11094 (reset_gutter_display_lines): ditto.
11095 (free_frame_gutters): ditto.
11096 (redraw_exposed_gutter): force output of gutters.
11098 * frame.h (struct frame): add 4 sets of gutter display lines.
11100 * extents.c: (extent_changed_for_redisplay): signal changes to
11101 extents in strings in the gutter as well as extents in buffers.
11103 2000-03-02 Andy Piper <andy@xemacs.org>
11105 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
11107 * frame.c (Fmake_frame): make sure the gutters get initialized
11108 after the frame is visible.
11109 (set_frame_selected_window): re-arrange compilation macros a
11111 (change_frame_size_1): mark gutters changed.
11113 * device.c (Fset_device_class): mark gutters changed.
11115 2000-03-01 Andy Piper <andy@xemacs.org>
11117 * window.c (window_top_frame_gutter_height): deleted.
11118 (window_bottom_frame_gutter_height): ditto.
11119 (window_left_frame_gutter_height): ditto.
11120 (window_right_frame_gutter_height): ditto.
11121 (window_top_gutter_height): don't use them.
11122 (window_bottom_gutter_height): ditto.
11123 (window_left_gutter_width): ditto.
11124 (window_right_gutter_width): ditto.
11125 (Fsplit_window): ditto.
11126 (Fwindow_pixel_edges): don't use border dimensions here.
11128 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
11129 (update_scrollbar_instance): ditto.
11131 * redisplay.c (generate_modeline): don't take gutters into account.
11132 (generate_modeline): ditto.
11133 (redisplay_frame): small gutter display optimization.
11135 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
11137 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
11138 gutters into account.
11140 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
11141 for window position and type.
11143 * gutter.c (get_gutter_coords): fix for frame gutters.
11144 (update_frame_gutters): update frame geometry if the gutters have
11146 (init_frame_gutters): record current gutter geometries.
11148 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
11150 (mswindows_widget_instantiate): ditto.
11152 * frame.h (struct frame): add current_gutter_bounds.
11154 * frame.c (change_frame_size_1): position window and minibuffer
11155 appropriately taking into account the frame gutters.
11157 * frame-x.c: (x_initialize_frame_size): take into account the
11160 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11162 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
11164 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11166 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
11168 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11170 * file-coding.c (reset_decoding_stream): Clear previous
11171 detection state when autodetect.
11173 2000-02-29 Didier Verna <didier@xemacs.org>
11175 * extents.c (set_extent_glyph_1): don't require extents to be
11178 2000-02-27 Andy Piper <andy@xemacs.org>
11180 * gutter.c (Fset_default_gutter_position): don't default left and
11181 right gutter visibility to t.
11182 (Fset_default_gutter_position): run
11183 default-gutter-position-changed-hook.
11184 (syms_of_gutter): add default-gutter-position-changed-hook.
11186 2000-02-26 Andy Piper <andy@xemacs.org>
11188 * specifier.c (Fmake_specifier): add gutter references.
11190 * gutter.h (RAW_WINDOW_GUTTER): new macro.
11192 * lisp.h: declare Fvalid_plist_p.
11194 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
11196 (default_gutter_visible_p_changed_in_window): invalidate gutter as
11197 well as its visibility so that it gets reconstructed.
11198 (construct_window_gutter_spec): new function. Construct a string
11199 to be displayed in the gutter from a plist of strings. Take care
11200 to only use elements that are declared as visible.
11201 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
11203 (gutter_validate): allow plists of strings in the specifier.
11204 (gutter_specs_changed): construct the real_gutter from the gutter
11205 specs using construct_window_gutter_spec.
11206 (gutter_visible_validate): gutter-visible is a new specifier type.
11207 (Fgutter_visible_specifier_p): new function for the new specifier.
11208 (syms_of_gutter): declare gutter-visible and
11209 Fgutter_visible_specifier_p.
11210 (specifier_type_create_gutter): intitalize new gutter-visible
11212 (reinit_specifier_type_create_gutter): ditto.
11213 (specifier_vars_of_gutter): use new specifier type for gutter
11215 (init_frame_gutters): construct real_gutter correctly.
11216 (Fgutter_specifier_p): beef up documentation.
11217 (Fgutter_size_specifier_p): ditto.
11219 * winslots.h: add real_gutter slots.
11221 2000-02-25 Andy Piper <andy@xemacs.org>
11223 * device-msw.c: Be kind to older cygwin versions. From Raymond
11224 Toy <toy@rtp.ericsson.se>.
11226 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
11227 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
11229 2000-02-25 Martin Buchholz <martin@xemacs.org>
11231 * elhash.c (MARK_OBJ): Practice macro hygiene.
11233 2000-02-24 Martin Buchholz <martin@xemacs.org>
11235 * miscplay.c: s/__inline__/inline/g;
11236 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
11237 (get_device_compdc): INLINE ==> static inline
11238 * *.[ch]: Change INLINE to INLINE_HEADER globally.
11239 find -name '*.h' | \
11240 xargs global-replace \
11241 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
11243 2000-02-25 Andy Piper <andy@xemacs.org>
11245 * window.c (window_top_frame_gutter_height): new function.
11246 (window_top_window_gutter_height): ditto.
11247 (window_top_gutter_height): use them.
11248 (window_bottom_frame_gutter_height): new function.
11249 (window_bottom_window_gutter_height): ditto.
11250 (window_bottom_gutter_height): use them.
11251 (window_left_window_gutter_width): new function.
11252 (window_left_frame_gutter_width): ditto.
11253 (window_left_gutter_width): use them.
11254 (window_right_window_gutter_width): new function.
11255 (window_right_frame_gutter_width): ditto.
11256 (window_right_gutter_width): use them.
11257 (window_pixel_height): new function. calulate window pixel height
11258 with frame gutter involvement.
11259 (Fsplit_window): calculate new sizes taking frame gutters into
11261 (window_char_height_to_pixel_height): don't include frame gutters.
11262 (window_char_height): use window_pixel_height.
11263 (window_pixheight): rename from window_pixel_height.
11264 (change_window_height): use it.
11265 (window_pixel_height_to_char_height): don't include frame gutters.
11266 (window_char_width_to_pixel_width): ditto.
11268 2000-02-25 Andy Piper <andy@xemacs.org>
11270 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
11273 2000-02-24 Martin Buchholz <martin@xemacs.org>
11275 * alloc.c (staticpro):
11276 (staticpro_nodump):
11281 (compact_string_chars):
11282 (pdump_dump_wired):
11283 Convert: if (foo) abort(); ==> assert (! foo);
11285 * eldap.c (Fldap_search_basic):
11289 Fix compiler warnings, and possible crashes if (random) return
11290 value were to be used.
11292 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11294 * device-msw.c: Workaround ResetDC failure.
11296 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
11297 applying a devmode.
11299 * redisplay-msw.c (get_frame_dc): Added start_page_p.
11300 (mswindows_text_width): Do not start printer page.
11302 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
11304 * glyphs-msw.c: Added image methods to msprinter console and
11305 msprinter-specific image instantiation.
11307 2000-02-20 Mike Alexander <mta@arbortext.com>
11309 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
11310 to avoid crashes when selection-sets-clipboard is on
11311 (mswindows_own_selection): ditto
11313 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11316 * redisplay-msw.c (get_frame_dc):
11317 (get_frame_compdc):
11319 * device-msw.c (mswindows_init_device):
11320 (mswindows_delete_device):
11321 (msprinter_init_device):
11322 (msprinter_delete_device):
11323 * frame-msw.c (mswindows_init_frame_1):
11324 (mswindows_delete_frame):
11325 (msprinter_init_frame_3):
11326 (msprinter_delete_frame): Move compatible DC to device object from
11327 frame object, for both mswindows and msprinter. Only one at a time
11328 is needed, it is a real waste to have one per frame!
11330 2000-02-23 Andy Piper <andy@xemacs.org>
11332 * glyphs.c: add dynamic width and height elements.
11333 (image_instance_equal): ditto.
11335 * glyphs-widget.c (widget_query_geometry): calculate width and
11336 height dynamically if required.
11337 (initialize_widget_image_instance): initialize dynamic dimensions.
11338 (widget_instantiate): pick-up dynamic dimensions.
11340 * glyphs.h (struct Lisp_Image_Instance): add width and height for
11341 dynamic determination. Add appropriate macros.
11343 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
11345 (WINDOW_GUTTER_SIZE): ditto.
11346 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
11348 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
11350 (get_frame_dc): ditto.
11352 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
11355 2000-02-23 Martin Buchholz <martin@xemacs.org>
11357 * XEmacs 21.2.31 is released.
11359 2000-02-22 Ben Wing <ben@xemacs.org>
11361 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
11363 2000-02-22 Andy Piper <andy@xemacs.org>
11365 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
11367 2000-02-21 Mike Sperber <mike@xemacs.org>
11371 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
11374 2000-02-21 Mike Sperber <mike@xemacs.org>
11376 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
11378 2000-02-21 Martin Buchholz <martin@xemacs.org>
11380 * XEmacs 21.2.30 is released.
11382 2000-02-20 Martin Buchholz <martin@xemacs.org>
11384 Performance hacking.
11386 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
11387 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
11388 * emacs.c (main_1):
11390 * console.c (DEFVAR_CONSOLE_LOCAL_1):
11391 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
11392 * symeval.h (DEFVAR_SYMVAL_FWD):
11393 * symbols.c (guts_of_unbound_marker):
11394 Make all c_readonly objects also lisp_readonly and marked for life.
11395 * lrecord.h (struct lrecord_implementation):
11396 Document flags better.
11397 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
11398 * lrecord.h (DECLARE_LRECORD):
11399 * lrecord.h (XSETRECORD):
11400 * lrecord.h (RECORDP):
11401 * lrecord.h (RECORD_TYPEP):
11402 * lrecord.h (RECORD_MARKER): New.
11403 * lrecord.h (error_check_*):
11404 * lrecord.h (CONCHECK_NONRECORD):
11405 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
11406 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
11407 * lrecord.h (set_lheader_implementation):
11408 * lrecord.h (enum lrecord_type): New.
11409 * symeval.h (SYMBOL_VALUE_MAGIC_P):
11410 * alloc.c (disksave_object_finalization_1):
11411 * alloc.c (mark_object):
11412 * alloc.c (lrecord_type_index):
11413 * alloc.c (tick_lcrecord_stats):
11414 * alloc.c (Fgarbage_collect):
11415 * alloc.c (init_alloc_once_early):
11416 * alloc.c (pdump_load):
11417 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
11418 * alloc.c (lrecord_type_index): Delete.
11419 Make lisp object type indexes be constant.
11420 Makes (byte-compile) 5% faster.
11421 Put all marker functions into their own array.
11422 Makes (garbage-collect) 5% faster.
11423 Optimize SYMBOL_VALUE_MAGIC_P.
11424 Makes (byte-compile) 2-3% faster.
11425 * config.h.in (gc_checking_assert): New.
11426 * alloc.c: Use gc_checking_assert().
11427 * .dbxrc: Make compatible with new object type implementation.
11428 * .gdbinit: Make compatible with new object type implementation.
11429 * alloc.c: Delete all symbols defined only for debugging, such as
11430 Lisp_Type_Vector and lrecord_charset.
11432 2000-02-21 Andy Piper <andy@xemacs.org>
11434 * gui-msw.c (Fmswindows_shell_execute): fix file location
11437 * buffer.c (Fkill_buffer): remove buffer from alist buffer
11438 unshowing so that set_window_buffer doesn't undo
11439 kill_buffer_hook's hard work.
11441 * glyphs-widget.c (tab_control_query_geometry): don't count the
11442 first item when calculating geometry.
11444 * glyphs.c (map_subwindow): remove redundant code.
11445 (update_frame_subwindows): be more circumspect about when to
11448 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
11449 when items haven't changed. Update faces if faces have changed as
11450 well as just the widget face.
11451 (x_tab_control_update): Update faces if faces have changed as well
11452 as just the widget face.
11454 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11456 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
11458 (build_syscolor_string): Use mswindows_color_to_string to try to
11460 (mswindows_device_system_metrics): Reverse the foreground and
11461 background colors so that they match the documentation.
11463 * objects-msw.c: (mswindows_X_color_map): tweak some values so
11464 they match the default Windows palette.
11465 (mswindows_color_to_string): New function.
11467 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11469 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
11471 2000-02-18 Olivier Galibert <galibert@pobox.com>
11473 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
11474 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
11476 * symbols.c (init_symbols_once_early): Removed obsolete
11477 DATA_SEG_BITS related kludge.
11478 (defvar_magic): Ditto.
11480 * malloc.c: Removed obsolete DATA_SEG_BITS
11482 * mem-limits.h: Ditto.
11484 * Makefile.in.in: Removed obsolete HAVE_SHM
11487 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11489 * device-msw.c (mswindows_delete_device): Free DDE string
11492 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11494 * keymap.c (get_keyelt):
11495 * unexnt.c (unexec):
11496 * vm-limit.c (memory_warnings):
11497 * ntheap.c (recreate_heap):
11498 * ntheap.h (UNINIT_PTR):
11499 * select-msw.c (Fmswindows_get_clipboard):
11500 (Fmswindows_set_clipboard):
11501 * objects-msw.h (MSWINDOWS_BAD_HFONT):
11503 * menubar-msw.c (displayable_menu_item):
11505 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
11506 * sysdep.c (sys_subshell):
11507 * process-nt.c (nt_create_process):
11508 * nt.c (normalize_filename):
11509 (dostounix_filename):
11510 (unixtodos_filename):
11511 * ntproc.c (win32_executable_type):
11512 * ntplay.c (play_sound_data_1):
11514 * editfns.c (get_home_directory):
11515 * event-msw.c (struct winsock_stream):
11516 (mswindows_dde_callback):
11517 * device-msw.c (msprinter_init_device):
11518 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
11520 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
11521 mswindows_clear_toolbar were swapped!
11523 * objects-msw.c:(colormap_t):
11525 * emacs.c (struct standard_args): Fixed const jumble.
11527 * glyphs-widget.c (update_widget): Fixed comparison notation.
11529 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
11531 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
11532 __declspec(noreturn) syntax.
11534 2000-02-19 Martin Buchholz <martin@xemacs.org>
11536 * eldap.c (Fldap_open):
11537 (Fldap_search_basic):
11540 Use new coding system conversion macros.
11542 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11544 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
11546 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
11548 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
11549 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11551 * eldap.c (Qadd, Qreplace): New constant symbols
11552 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
11553 interruptions by XEmacs signals
11554 Remove unnecessary calls to slow_down_interrupts and
11555 speed_up_interrupts
11556 (Fldap_search_basic): Renamed from Fldap_search_internal
11557 Added new optional parameter VERBOSE that triggers the
11558 display of progress messages
11559 Remove unnecessary calls to slow_down_interrupts and
11560 speed_up_interrupts
11561 LDAP result code analysis rewritten
11562 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11563 (syms_of_eldap): Define the new symbols and functions
11566 2000-02-17 Martin Buchholz <martin@xemacs.org>
11568 * realpath.c: Determine PATH_MAX maximally portably.
11570 * insdel.c (bytecount_to_charcount): Optimize.
11571 The function used to be optimized for entirely ASCII sequences.
11572 Now it is optimized for successive characters from the same
11573 charset. This also wins big for _mostly_ ASCII sequences.
11575 * fileio.c (Ffile_truename): convert return from realpath() using
11576 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
11577 - Rewrite GCPROing slightly.
11579 * sysdep.c (sys_open): Do filename conversion, like all other
11580 sys_* functions. Fixes bug:
11581 (let ((file-name-coding-system 'iso-8859-2))
11582 (write-region x y latin2-name))
11583 ==> writes filename using internal encoding.
11585 2000-02-18 Martin Buchholz <martin@xemacs.org>
11587 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
11588 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
11589 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
11590 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
11591 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
11592 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
11593 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
11594 (CONST_IF_NOT_DEBUG): Delete.
11595 * alloc.c (this_one_is_unmarkable): Delete.
11596 (mark_object): Don't check for this_one_is_unmarkable. Use the
11597 c_readonly flag instead.
11598 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
11600 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
11602 * event-msw.c (mswindows_drain_windows_queue):
11603 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
11604 away redundant repaint events.
11606 2000-02-17 Andy Piper <andy@xemacs.org>
11608 * redisplay.h: declare mark_redisplay_structs.
11610 * redisplay.c (redisplay_window):
11611 (redisplay_frame): don't check subwindows_state_changed.
11612 (mark_redisplay): mark gutters here.
11614 * glyphs.c: (instantiate_image_instantiator): always layout if we
11615 haven't done so already.
11616 (allocate_image_instance): don't mark as dirty.
11617 (update_subwindow): bind inhibit_quit.
11619 * gutter.c (mark_gutters): new function.
11621 * glyphs-x.c (x_update_widget): Always resize to get round a
11624 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
11625 breaking absolutely everything.
11627 * gutter.h: declare mark_gutters.
11629 2000-02-16 Martin Buchholz <martin@xemacs.org>
11631 * XEmacs 21.2.29 is released.
11633 2000-02-15 Olivier Galibert <galibert@pobox.com>
11635 * fns.c (size_bit_vector): Fix computation of the size.
11637 2000-02-15 Martin Buchholz <martin@xemacs.org>
11639 * *.[ch]: Change CONST to const globally.
11640 find -name '*.[ch]' | \
11641 xargs global-replace \
11642 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
11643 - Remove vestigial references to CONST_IS_LOSING
11645 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11647 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
11648 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
11649 events instead of dispatching them directly.
11650 (mswindows_handle_paint): New function to do repainting.
11651 (mswindows_wnd_proc):
11652 (emacs_mswindows_handle_magic_event): Call above function.
11654 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11656 * objects-msw.c (mswindows_create_font_variant): Return the new
11658 (initialize_font_instance): Get font metrics from the underlined
11659 variant of the font to cope with the case where the underlined
11660 font has a bigger descent.
11662 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11664 * gui.c (gui_item_accelerator): Return the first underlined
11665 character in item name.
11667 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11669 * lisp.h: Added Qprinter.
11671 * general.c (syms_of_general): Initialized it.
11673 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
11675 (get_frame_compdc): Made inline.
11677 * console.h (struct console_methods): Added eject_page method.
11679 * frame.h: Added FRAME_DISPLAY_P and friends.
11680 Aligned backslahes in many macros in more readable fashion.
11681 Added page_number to struct frame, and an accessor macro
11684 * defice.h: Added DEVICE_DISPLAY_P and friends.
11686 * device.c (Fdevice_printer_p): Used these.
11688 * frame.c (allocate_frame_core): Initialize page number.
11689 (Fprint_job_page_number):
11690 (Fprint_job_eject_page): Implemented.
11692 * frame-msw.c (msprinter_eject_page): Added method.
11693 (msprinter_start_page): Added.
11695 * window.c (Fwindow_truncated_p): Fixed docstring.
11696 (Fwindow_last_line_visible_height): Implemented.
11698 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11700 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
11702 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11704 * syntax.c (scan_words): Always advance at least one character.
11706 2000-02-13 Andy Piper <andy@xemacs.org>
11708 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
11709 to make sure the glyph is in the cachels.
11711 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
11712 global image instance flag.
11713 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
11714 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
11716 * glyphs.c (allocate_image_instance): set dirty bits correctly.
11717 (Fset_image_instance_property): mark layout as changed.
11718 (invalidate_glyph_geometry_maybe): mark layout as changed.
11719 (glyph_width): use new NEEDS_LAYOUT macro.
11720 (glyph_ascent): ditto.
11721 (glyph_descent): ditto.
11722 (glyph_height): ditto.
11723 (image_instance_layout): mark layout as clean after laying out.
11724 (update_subwindow): don't mark layout as clean here.
11726 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
11727 should no longer be needed.
11729 * glyphs-x.c (x_update_widget): sanitize asserts.
11730 (x_finalize_image_instance): sanitize assignment to widgets.
11732 * glyphs-widget.c (widget_instantiate): don't need to clear the
11735 2000-02-13 Martin Buchholz <martin@xemacs.org>
11737 * sysdep.c (getcwd): Use standard prototype.
11738 * sysdep.h (getcwd): Use standard prototype.
11740 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
11741 (sequence, start, end).
11742 Remove redundant type checking.
11743 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
11744 view of `caller-protects') to avoid a crash where the real fix was
11747 2000-02-12 Martin Buchholz <martin@xemacs.org>
11749 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
11751 * s/sol2.h: Remove feature macro initialization.
11753 * alloc.c (alloc_lcrecord): Add more type checking assertions.
11754 (vector_hash): New. Code from internal_hash.
11756 Fix up allocation subsystem comments.
11758 * config.h.in: Add __EXTENSIONS__ for Solaris.
11760 * systime.h (EMACS_GETTIMEOFDAY): New.
11761 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
11762 Remove Solaris-specific code.
11763 Use void* for the (ignored) second arg for gettimeofday().
11765 * elhash.c (hash_table_hash): Implement it, finally.
11766 * elhash.c: Use hashcode_t.
11768 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
11769 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
11771 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
11772 * fns.c (size_bit_vector):
11773 * alloc.c (size_vector):
11774 (make_vector_internal):
11775 (make_bit_vector_internal):
11776 (sweep_bit_vectors_1):
11777 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
11779 2000-02-10 Martin Buchholz <martin@xemacs.org>
11781 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
11782 Include strings.h to avoid warnings for bzero and strcasecmp.
11784 2000-02-10 Olivier Galibert <galibert@pobox.com>
11786 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
11787 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
11789 * fns.c (size_bit_vector): New. Declare bit vectors as a
11792 2000-02-10 Olivier Galibert <galibert@pobox.com>
11794 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
11795 use a value field instead.
11796 (symbol_value_forward_forward): Use value field.
11797 (DEFVAR_SYMVAL_FWD): Use value field.
11798 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
11799 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
11800 (DEFVAR_CONST_INT): Ditto.
11801 (DEFVAR_BOOL): Ditto.
11802 (DEFVAR_CONST_BOOL): Ditto.
11803 (DEFVAR_INT_MAGIC): Ditto.
11804 (DEFVAR_BOOL_MAGIC): Ditto.
11806 * symbols.c (guts_of_unbound_marker): Use value field.
11807 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
11808 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
11810 * lisp.h: Declare dumpopaque and noninteractive1.
11812 * alloc.c (dumpopaque): Added.
11813 (pdump_dump_opaquevec): Added.
11814 (pdump): Call pdump_dump_opaquevec to dump opaque data.
11815 (pdump_load): Reload opaque data. Sync noninteractive1 with
11818 2000-02-10 Andy Piper <andy@xemacs.org>
11820 * glyphs.c (image_instance_layout): if the size changes, mark it
11823 * redisplay-output.c (redisplay_output_layout): Update the
11825 (redisplay_output_subwindow): ditto.
11827 * glyphs.c (update_subwindow): make sure we reset flags for
11828 layouts as well as everything else.
11830 * glyphs-widget.c (layout_layout): don't need to set the instances
11833 2000-02-09 Martin Buchholz <martin@xemacs.org>
11835 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
11836 not HAVE_DLOPEN, which is a lower-level thing.
11838 * .cvsignore: Ignore gmon.out
11840 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
11842 * .cvsignore: Ignore portable dumper xemacs.dmp file
11844 2000-02-09 Andy Piper <andy@xemacs.org>
11846 * redisplay-output.c (redisplay_output_layout): be more clever
11847 about when we output based on the changed flags.
11849 * glyphs.h (struct image_instantiator_methods): add update_method.
11850 (struct Lisp_Image_Instance): add changed flags. Declare new
11851 macros for manipulating them.
11853 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
11854 (image_instance_parent_glyph): find an image_instance's parent
11855 glyph or image_instance.
11856 (image_instance_layout): mark the size as changed.
11857 (set_image_instance_dirty_p): new function. mark an image
11858 instance, plus all of its parents, as dirty.
11859 (Fset_image_instance_property): use it.
11860 (Fglyph_animated_timeout_handler): use it.
11861 (update_subwindow): call update_widget and device methods for
11862 update_subwindow. Mark all changed flags as clean.
11863 (Fresize_subwindow): mark size as changed.
11865 * glyphs-x.c (x_finalize_image_instance): try and detect gc
11867 (x_update_subwindow): only resize subwindows here.
11868 (x_update_widget): new function. Update all changed properties of
11870 (x_resize_subwindow): deleted.
11871 (x_widget_set_property): deleted.
11872 (x_progress_gauge_set_property): deleted.
11873 (x_progress_gauge_update): new function. Implement recorded
11875 (x_tab_control_update): ditto.
11876 (x_tab_control_set_property): deleted.
11877 (console_type_create_glyphs_x): declare new functions.
11878 (image_instantiator_format_create_glyphs_x): ditto.
11880 * glyphs-widget.c (widget_set_property): mark text changed.
11881 (update_widget): new function. Update properties of a widget.
11882 (widget_instantiate): for layouts make sure we set their
11883 children's parent correctly.
11884 (tab_control_set_property): new function. Record changes that will
11885 take place under redisplay's control.
11886 (progress_gauge_set_property): ditto.
11887 (image_instantiator_progress_guage): declare new functions.
11888 (image_instantiator_tab_control): ditto.
11890 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
11892 (mswindows_update_widget): new function. Update all properties on
11893 a widget that have changed.
11894 (mswindows_button_update): new function. Update a button's set
11896 (mswindows_tab_control_update): new function. Update the items in
11898 (mswindows_tab_control_set_property): deleted.
11899 (mswindows_progress_gauge_update): new function. Update the
11900 progress gauge's progress.
11901 (mswindows_widget_set_property): deleted. This is all done
11902 asynchronously now.
11903 (mswindows_progress_gauge_set_property): ditto.
11904 (console_type_create_glyphs_mswindows): declare new methods.
11905 (image_instantiator_format_create_glyphs_mswindows): ditto.
11907 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
11908 (msprinter_set_frame_properties): ditto.
11910 * console.h (struct console_methods): Add update_widget_method.
11912 2000-02-09 Andy Piper <andy@xemacs.org>
11914 * gui-msw.c (Fmswindows_shell_execute): Make
11915 mswindows-shell-execute industrial strength.
11917 2000-02-08 Martin Buchholz <martin@xemacs.org>
11919 * lrecord.h: Make macro argument `props' match member function `plist'.
11922 * fns.c (Fremprop):
11923 * fns.c (Fobject_plist):
11926 Object property list frobbing cleanup.
11927 - Allow any lisp object (compared with `eq'), not just symbols, as
11928 keys in object plists.
11929 - Move symbol plist frobbing into symbols.c, where it belongs.
11930 - Move string plist frobbing into alloc.c, where it belongs.
11931 - Everything's an lrecord now, so no need to test for symbolp, etc.
11932 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
11934 * extents.c: Reorder code to remove declarations.
11936 * frame.h (store_in_alist): Remove useless declaration.
11938 2000-02-07 Martin Buchholz <martin@xemacs.org>
11940 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
11941 * config.h.in: Add HAVE_XCONVERTCASE.
11943 2000-02-07 Andy Piper <andy@xemacs.org>
11945 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
11946 it breaks many things.
11948 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11950 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
11951 actually can start a common comment type.
11952 * src/syntax.h (SYNTAX_END_P): ditto for end.
11954 2000-02-07 Martin Buchholz <martin@xemacs.org>
11956 * XEmacs 21.2.28 is released.
11958 2000-02-06 Martin Buchholz <martin@xemacs.org>
11960 * event-Xt.c (x_keysym_to_character): New.
11961 (maybe_define_x_key_as_self_inserting_character): New.
11962 (x_has_keysym): New.
11963 Auto-define all keys on the keyboard as self-insert-key.
11965 2000-02-02 Martin Buchholz <martin@xemacs.org>
11967 * menubar.c (vars_of_menubar): A small code simplification.
11969 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
11972 * ExternalClient.c:
11973 * EmacsShell-sub.c:
11976 Use consistent style for specifying X resources.
11978 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
11979 This makes (dontusethis-set-symbol-value-handler) actually usable.
11981 * lrecord.h (lrecord_decription_type):
11982 * alloc.c (pdump_register_sub):
11985 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
11986 Comply with XEmacs coding style.
11987 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
11988 args, and XD_LISP_OBJECT_ARRAY with 3 args.
11990 * keymap.c (Faccessible_keymaps):
11991 Make (accessible-keymaps map "\C-h") do the Right Thing.
11992 Make (accessible-keymaps map []) do the Right Thing.
11993 Make (accessible-keymaps map "") do the Right Thing.
11994 (check_keymap_definition_loop): New function.
11995 (keymap_store_internal): Keep luser from shooting self in foot,
11996 via (define-key ctl-x-4-map "p" global-map).
11997 Remove fullness slot from struct Lisp_Keymap, since hash tables
11999 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
12001 2000-01-30 Martin Buchholz <martin@xemacs.org>
12003 * redisplay.c (init_redisplay): Fix small memory leak.
12005 * elhash.c (pdump_reorganize_hash_table):
12006 Rename from reorganize_hash_table. Change prototype.
12007 Reuse the original memory for hentries. Save 100k.
12008 * alloc.c (PDUMP_READ): new macro.
12009 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
12010 * alloc.c: No need to #ifndef before #undef.
12012 * print.c: Allow debug_print() to print readably by modifying
12013 debug_print_readably. Use consistent variable names.
12015 * .dbxrc: Try to get things to work even if stopped in a function
12016 without source available by explicitly specifying source files.
12017 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12019 * unexnt.c (_start): Removed bogus code which caused loading heap
12020 from differrent executable file.
12021 Removed bogus assignment to _fmode, which caused inconsistencies.
12023 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12025 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
12026 Have spawnve encapsulation regard DONT_ENCAPSULATE.
12027 Do not preliminary `#define signal sigset'.
12029 * systime.h: Do not prototype environ on windows nt and cygwin,
12030 this conflicts with system header.
12032 * syssignal.h: Use correct define for WINDOWSNT
12034 * sysdep.h: Do not prototype environ on windows nt, this conflicts
12035 with system header.
12037 * sysdep.c (near start of file): Fixed commentary and rearranged
12038 ifdefs in readable order.
12039 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
12042 (end_of_data): Do not compile in if using PDUMP.
12044 * symsinit.h: Prototyped vars_of_nt().
12046 * ntproc.c (windows9x_p): Added, instead of os_subtype.
12047 (find_child_console): Use it.
12048 (sys_kill): Use it.
12050 * ntheap.h: Do not extern os_subtype.
12052 * ntheap.c (cache_system_info): Do not cache unneeded:
12053 nt_major_version, nt_minor_version and os_subtype.
12054 (recreate_heap): Do not compile in when PDUMPing.
12056 * nt.c (geteuid and friends): Use the new varibale
12057 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
12058 (init_user_info): Removed the above mentioned hackery.
12059 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
12060 stat has been fixed in the C runtime.
12061 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
12063 * file-coding.c (struct file_coding_dump): Do not define
12064 ucs_to_mule_table in the struct if not MULE.
12065 (struct struct lrecord_description fcd_description_1): Do not dump
12068 * emacs.c (main_1): Call vars_of_nt().
12069 (right before Fdump_emacs_data): Don't need lastfile if using both
12070 portabe dumper and system malloc.
12072 * alloc.c (Fmemory_limit): Conditionalized out.
12073 (pdump): Use OPEN_BINARY for the portable dump file.
12074 (pdump_load): Ditto.
12076 2000-02-02 Mike Alexander <mta@arbortext.com>
12078 * nt.c (convert_time): Set tm_isdst before calling mktime and
12079 avoid calling it at all if the compiler supports 64 bit integers.
12080 Also initialize utc_base_ft before using it.
12082 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
12084 * frame.c (change_frame_size_1): Take f->internal_border_width
12085 into consideration when calculating the width of the frame.
12087 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12089 * window.c (frame_min_height):
12090 (frame_size_valid_p):
12091 (frame_pixsize_valid_p): Added.
12092 (check_frame_size): Generalized.
12094 * window.h: Prototyped the above.
12097 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
12098 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
12099 Deleted Vwin32_* and Vbinary_process_* unused variables.
12101 * device-msw.c (msprinter_init_device): Do not get printer font
12102 list; Added DEVMODE functions.
12104 * frame-msw.c: Added lots of printer code.
12106 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
12109 * console-msw.h: Added more msprinter device private slots.
12111 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12113 * event-msw.c (key_needs_default_processing_p): Added.
12114 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
12116 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12118 * glyphs.c (image_instance_layout): Mark image instance as clean
12120 (glyph_dirty_p): Removed redundant function.
12121 (invalidate_glyph_geometry_maybe): Added.
12122 (update_glyph_cachel_data): Call it.
12124 * glyphs.h: Prototyped it.
12126 * redisplay.c (add_glyph_rune): Call it.
12127 (redisplay_window): Reset glyphs cachels when frame faces have
12128 changed, thus forcing recomputation of built-in border glyphs.
12130 2000-01-30 Martin Buchholz <martin@xemacs.org>
12132 * Makefile.in.in: Make portable dumper and purify play well together.
12133 Add imperfect, but better than nothing, support for pdump.
12134 Remove xemacs.dmp when temacs is re-generated.
12135 Don't ignore errors when dumping xemacs.
12137 * symbols.c (maybe_call_magic_handler): Remove one magic number.
12139 2000-01-28 Andy Piper <andy@xemacs.org>
12141 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
12142 (setup_normal_frame): ditto.
12143 (setup_frame_without_minibuffer): ditto.
12144 (setup_minibuffer_frame): ditto.
12145 (delete_frame_internal): ditto.
12146 (Fmake_frame_invisible): ditto.
12147 (Ficonify_frame): ditto.
12149 * window.h: change Fset_window_buffer signature.
12151 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
12152 (Fset_window_buffer): allow recording of buffer if the window is
12153 the selected window.
12154 (window_loop): Use new Fset_window signature.
12156 2000-01-23 Daniel Pittman <daniel@danann.net>
12158 * config.h.in: Added template for `HAVE_ATHENA_3D'
12160 2000-01-29 Andy Piper <andy@xemacs.org>
12162 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
12164 * gutter.c (output_gutter): Don't output if the window isn't live.
12166 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12168 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
12169 of 01/12/00: Moved SetFocus back here where it belongs.
12171 2000-01-23 Andy Piper <andy@xemacs.org>
12173 * s/cygwin32.h: declare printer things.
12175 2000-01-26 Andy Piper <andy@xemacs.org>
12177 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
12180 2000-01-24 Andy Piper <andy@xemacs.org>
12182 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
12183 (mswindows_button_instantiate): Make sure glyph is a pixmap.
12185 * glyphs-widget.c (widget_instantiate): Avoid shadows.
12187 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
12189 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
12191 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
12192 (mswindows_output_display_block): Avoid local shadows.
12194 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
12195 (mswindows_enqueue_mouse_button_event): ditto.
12196 (mswindows_handle_gui_wm_command): remove declaration.
12198 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
12201 * console-msw.h: Avoid shadows.
12202 (mswindows_get_toolbar_button_text):
12203 (emacs_mswindows_create_stream_pair):
12204 (emacs_mswindows_delete_stream_pair):
12205 (mswindows_handle_toolbar_wm_command): declare.
12207 * device-msw.c (build_syscolor_string): Avoid shadows.
12209 2000-01-23 Andy Piper <andy@xemacs.org>
12211 * glyphs-widget.c (widget_instantiate): reverse the items for
12212 layouts so that children are in the expected order.
12214 2000-01-28 Martin Buchholz <martin@xemacs.org>
12216 * ralloc.c: safe_bcopy ==> memmove
12217 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
12218 * s/msdos.h: Remove BCOPY macros.
12219 * insdel.c (gap_right): Remove BCOPY conditional code.
12220 * insdel.c (gap_left): Remove BCOPY conditional code.
12221 XEmacs demands a working ANSI C compiler - hence memmove.
12223 * regex.c (regex_compile): Remove accidental use of trigraphs.
12225 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12227 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
12230 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12232 * event-msw.c (mswindows_drain_windows_queue): Added the
12234 (mswindows_need_event): Commented the call to
12235 mswindows_drain_windows_queue().
12236 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
12239 * console-msw.h: Moved a few function prototypes here from
12242 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
12243 parameter from unsigned short to unsigned long.
12244 (Fmswindows_shell_execute): Added return value.
12246 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12248 * sysdep.c (init_system_name):
12249 process-unix.c (unix_canonicalized_host_name):
12250 Don't call freeaddrinfo() if getaddrinfo() fails.
12252 * process-unix.c (unix_open_unix_network_stream):
12253 Moved the code to get a port # into address loop.
12255 2000-01-27 Martin Buchholz <martin@xemacs.org>
12257 * buffer.c (reinit_vars_of_buffer):
12258 The right place to initialize conversion_in_dynarr and
12259 conversion_out_dynarr.
12261 * alloc.c (pdump): Use the real open() till sys_open() is functional.
12263 * process-unix.c (unix_canonicalize_host_name): Muleize.
12264 (unix_open_network_stream): Muleize.
12266 * buffer.h: Fix up prototypes for ralloc.c functions.
12268 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12269 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
12270 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
12271 instead of gethostbyname()
12272 * process-unix.c: In unix_canonicalize_host_name() and
12273 unix_open_network_stream(), add code to use getaddrinfo()
12274 instead of gethostbyname().
12276 2000-01-27 Daniel Pittman <daniel@danann.net>
12278 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
12279 libs when built with flat Athena.
12281 2000-01-27 Martin Buchholz <martin@xemacs.org>
12283 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
12284 Use coding standards for function prototypes.
12286 2000-01-25 Martin Buchholz <martin@xemacs.org>
12288 * dialog-msw.c (push_lisp_string_as_unicode):
12289 * doc.c (unparesseuxify_doc_string):
12290 * dired.c (Fuser_name_completion_1):
12291 * dired.c (Fuser_name_all_completions):
12292 * dired.c (free_user_cache):
12293 * dired.c (user_name_completion):
12294 * console-x.c (get_display_arg_connection):
12295 * minibuf.c (clear_echo_area_internal):
12296 * minibuf.c (echo_area_append):
12297 * eldap.c (Fldap_open):
12298 * eldap.c (Fldap_search_internal):
12299 * frame-x.c (x_set_frame_text_value):
12300 * frame-x.c (x_set_frame_properties):
12301 * frame-x.c (x_create_widgets):
12302 * redisplay-tty.c (term_get_fkeys_1):
12303 * objects-x.c (x_parse_nearest_color):
12304 * objects-x.c (x_valid_color_name_p):
12305 * objects-x.c (x_initialize_font_instance):
12306 * objects-x.c (x_list_fonts):
12307 * objects-x.c (x_find_charset_font):
12308 * tooltalk.c (Fadd_tooltalk_message_arg):
12309 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12310 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12311 * process-unix.c (unix_create_process):
12312 * ntproc.c (sys_spawnve):
12313 * sound.c (Fplay_sound_file):
12314 * sound.c (Fplay_sound):
12315 * buffer.c (init_initial_directory):
12316 * buffer.c (init_buffer):
12317 * editfns.c (init_editfns):
12318 * editfns.c (Ftemp_directory):
12319 * editfns.c (Fuser_full_name):
12320 * editfns.c (uncache_home_directory):
12321 * editfns.c (get_home_directory):
12322 * editfns.c (Fuser_home_directory):
12323 * editfns.c (Fformat_time_string):
12324 * editfns.c (Fcurrent_time_string):
12325 * gui-x.c (button_item_to_widget_value):
12326 * database.c (Fopen_database):
12327 * event-Xt.c (x_to_emacs_keysym):
12328 * event-Xt.c (x_event_to_emacs_event):
12329 * event-Xt.c (describe_event_window):
12330 * event-msw.c (mswindows_wnd_proc):
12331 * glyphs-eimage.c (jpeg_instantiate):
12332 * glyphs-eimage.c (gif_instantiate):
12333 * glyphs-eimage.c (png_instantiate):
12334 * glyphs-eimage.c (tiff_instantiate):
12335 * glyphs-x.c (xbm_instantiate_1):
12336 * glyphs-x.c (x_xbm_instantiate):
12337 * glyphs-x.c (x_xface_instantiate):
12338 * glyphs-x.c (autodetect_instantiate):
12339 * glyphs-x.c (cursor_font_instantiate):
12340 * glyphs-x.c (x_widget_instantiate):
12341 * glyphs-x.c (x_widget_set_property):
12342 * glyphs-x.c (x_widget_property):
12343 * glyphs-x.c (BUILD_GLYPH_INST):
12344 * print.c (write_string_to_stdio_stream):
12345 * print.c (output_string):
12346 * print.c (Falternate_debugging_output):
12347 * print.c (Fexternal_debugging_output):
12348 * glyphs-msw.c (extract_xpm_color_names):
12349 * glyphs-msw.c (mswindows_xpm_instantiate):
12350 * glyphs-msw.c (bmp_instantiate):
12351 * glyphs-msw.c (resource_name_to_resource):
12352 * glyphs-msw.c (mswindows_resource_instantiate):
12353 * glyphs-msw.c (xbm_instantiate_1):
12354 * glyphs-msw.c (mswindows_xbm_instantiate):
12355 * glyphs-msw.c (mswindows_xface_instantiate):
12356 * glyphs-msw.c (mswindows_widget_instantiate):
12357 * glyphs-msw.c (add_tree_item):
12358 * glyphs-msw.c (add_tab_item):
12359 * glyphs-msw.c (mswindows_combo_box_instantiate):
12360 * glyphs-msw.c (mswindows_widget_property):
12361 * glyphs-msw.c (mswindows_combo_box_property):
12362 * glyphs-msw.c (mswindows_widget_set_property):
12363 * console.c (stuff_buffered_input):
12364 * objects-msw.c (mswindows_initialize_color_instance):
12365 * objects-msw.c (mswindows_valid_color_name_p):
12366 * objects-msw.c (mswindows_list_fonts):
12367 * objects-msw.c (mswindows_font_instance_truename):
12368 * bytecode.c (optimize_compiled_function):
12369 * select-x.c (symbol_to_x_atom):
12370 * select-x.c (x_atom_to_symbol):
12371 * select-x.c (hack_motif_clipboard_selection):
12372 * select-x.c (selection_data_to_lisp_data):
12373 * select-x.c (lisp_data_to_selection_data):
12374 * select-x.c (Fx_get_cutbuffer_internal):
12375 * select-x.c (Fx_store_cutbuffer_internal):
12376 * buffer.h (TO_EXTERNAL_FORMAT): New function.
12377 * buffer.h (TO_INTERNAL_FORMAT): New function.
12378 * emacs.c (make_arg_list_1):
12379 * emacs.c (make_argc_argv):
12380 * emacs.c (main_1):
12381 * emacs.c (Fdump_emacs):
12382 * emacs.c (split_string_by_emchar_1):
12387 * device-x.c (x_init_device):
12388 * device-x.c (Fx_valid_keysym_name_p):
12389 * device-x.c (Fx_get_font_path):
12390 * device-x.c (Fx_set_font_path):
12391 * glyphs.c (bitmap_to_lisp_data):
12392 * glyphs.c (pixmap_to_lisp_data):
12393 * alloc.c (make_ext_string): Use coding system arguments. Update
12395 * alloc.c (build_string):
12396 * callproc.c (child_setup):
12397 * callproc.c (init_callproc):
12398 * fileio.c (lisp_strerror):
12399 * fileio.c (directory_file_name):
12400 * fileio.c (Fexpand_file_name):
12401 * fileio.c (Ffile_truename):
12402 * fileio.c (Fsysnetunam):
12403 * fileio.c (Fdo_auto_save):
12404 * sysdep.c (sys_readdir):
12405 * tests.c: New file. Allow adding C tests.
12406 Replace GET_* macros with a more comprehensible and flexible
12407 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
12409 Any coding system can be used to do format conversion.
12410 Eliminate enum external_data_format.
12411 Eliminate convert_to_external_format.
12412 Eliminate convert_to_internal_format.
12413 Make sure file-name, keyboard, terminal, and ctext are always
12414 defined as coding systems or aliases. Make
12415 file-name-coding-system, terminal-coding-system, and
12416 keyboard-coding-system magical variables that are equivalent to
12417 defining the corresponding coding system aliases.
12419 * file-coding.c (Fcoding_system_canonical_name_p): New function.
12420 * file-coding.c (Fcoding_system_alias_p): New function.
12421 * file-coding.c (Fcoding_system_aliasee): New function.
12422 * file-coding.c (append_suffix_to_symbol): New function.
12423 * file-coding.c (dangling_coding_system_alias_p): New function.
12424 * file-coding.c (Ffind_coding_system):
12425 * file-coding.c (Fcopy_coding_system):
12426 * file-coding.c (encode_coding_no_conversion):
12427 * file-coding.c (syms_of_file_coding):
12428 * file-coding.c (vars_of_file_coding):
12429 Rewrite coding system alias code.
12430 Allow nested aliases, like symbolic links.
12431 Allow redefinition of coding system aliases.
12432 Prevent existence of dangling coding system aliases.
12434 * dired.c (Fuser_name_completion_1):
12435 * dired.c (Fuser_name_all_completions):
12436 A crash would happen if user did QUIT in the middle of building
12437 user_name_cache. Remove redundant code in mainline and unwind_protect.
12440 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
12442 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
12443 an unsigned char *. Update all callers.
12445 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12447 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
12449 2000-01-25 Martin Buchholz <martin@xemacs.org>
12451 * elhash.c (hentry_description): Use more portable definition.
12452 (resize_hash_table): Initialize new hentries using
12453 xnew_array_and_zero, thereby simplifying the code.
12455 * mule-charset.c (make_charset): Make sure entire object is
12456 initialized, to avoid Purify warnings.
12458 * alloc.c (resize_string): Fix unlikely crash with big strings.
12460 2000-01-24 Martin Buchholz <martin@xemacs.org>
12462 * realpath.c (xrealpath):
12463 Don't call getwd().
12465 2000-01-25 Martin Buchholz <martin@xemacs.org>
12467 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
12469 1999-12-28 Max Matveev <max@melbourne.sgi.com>
12471 * unexelfsgi.c (unexec): Change the way we decide which segment
12472 should be extended.
12474 Assumption that .bss section should be outside the PT_LOADable
12475 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
12476 it's present) is inside the 'data' segment. This would fail the
12477 test which was used to find a segment to grow and cover new
12478 heap. Instead of this assumption, I created another one - on IRIX
12479 the segment to grow should start below .bss and it's address
12480 should extent above the end of .bss. Once this segment is
12481 identified, it's grown to accommodate the new heap and new
12482 zero-length .bss section is added at the end of .data2.
12484 2000-01-25 Martin Buchholz <martin@xemacs.org>
12486 * eval.c (Feval): Wrong number of arguments should use original
12487 function, not the indirect_function version of it.
12489 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12491 * glyphs-x.c (x_button_instantiate): Don't add image if
12492 it is not a pixmap.
12493 (x_locate_pixmap_file): Call Fexpand_file_name when file name
12496 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
12498 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
12500 (DEFVAR_INT_MAGIC): Ditto.
12501 (DEFVAR_BOOL_MAGIC): Ditto.
12502 * glyphs.h: Reindent backslash.
12504 2000-01-24 Martin Buchholz <martin@xemacs.org>
12506 * glyphs-widget.c (layout_query_geometry):
12507 (layout_layout): Use correct types for gheight, gwidth.
12509 2000-01-24 Martin Buchholz <martin@xemacs.org>
12511 * EmacsManager.c (QueryGeometry): Purified.
12513 2000-01-23 Martin Buchholz <martin@xemacs.org>
12515 * alloc.c (make_float): Make sure entire object is initialized, to
12516 avoid Purify warnings.
12517 (pdump_register_sub): Remove useless assignment.
12518 (pdump): Use xmalloc, not malloc.
12519 (pdump_load): Use xmalloc, not malloc.
12521 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12528 * sysdep.c: Removed redundant #include <windows.h>
12530 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12532 * frame.c (delete_frame_internal): Do not delete device when its
12533 implementation so declares.
12534 (delete_frame_internal): Set device selected frame to nil when
12535 last frame goes away.
12537 * device-msw.c (msprinter_device_system_metrics): Implemented.
12538 (mswindows_device_system_metrics): Added 'device-dpi property.
12540 * device.c: (Fdevice_printer_p): Added.
12541 Added 'offset-workspace device metric.
12543 * console.h (device_metrics): Declared DM_offset_workspace.
12545 2000-01-23 Martin Buchholz <martin@xemacs.org>
12547 * fileio.c (Ffile_truename): Remove pointless and confusing
12548 initialization of elen.
12550 * glyphs-widget.c: Compiler warning fixes.
12552 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
12554 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
12555 instead of a Lisp_Object as argument to make it consistent with
12556 the other LIVE_P macros.
12557 (CHECK_LIVE_PROCESS): New macro.
12559 * process.c: Declare Qprocess_live_p.
12560 (Fprocess_live_p): New function.
12561 (create_process): Use PROCESS_LIVE_P.
12562 (read_process_output): Ditto.
12563 (set_process_filter): Ditto.
12564 (Fdelete_process): Ditto.
12565 (kill_buffer_processes): Ditto
12566 (process_send_signal): Use CHECK_LIVE_PROCESS.
12567 (Fprocess_input_coding_system): Check whether process is still
12568 alive (fix PR#1061).
12569 (Fprocess_output_coding_system): Ditto.
12570 (Fprocess_coding_system): Ditto.
12571 (Fset_process_input_coding_system): Ditto.
12572 (Fset_process_output_coding_system): Ditto.
12574 2000-01-23 Andy Piper <andy@xemacs.org>
12576 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
12579 * glyphs.c (mark_image_instance): take into account changed
12580 image_instance format.
12581 (image_instance_equal): ditto.
12582 (image_instance_hash): ditto.
12584 * glyphs-widget.c (widget_instantiate): Incorporate layout
12585 instantiation here. Delay layout of the layout until later.
12586 (layout_instantiate): deleted.
12587 (layout_query_geometry): new function. get the geometry of a
12589 (layout_layout): layout a layout dynamically.
12590 (image_instantiator_widget): New function - splitting up
12591 image_instantiator_format_create_glyphs_widget for netwinder
12593 (image_instantiator_buttons):
12594 (image_instantiator_edit_fields):
12595 (image_instantiator_combo_box):
12596 (image_instantiator_scrollbar):
12597 (image_instantiator_progress_guage):
12598 (image_instantiator_tree_view):
12599 (image_instantiator_tab_control):
12600 (image_instantiator_labels):
12601 (image_instantiator_layout): ditto.
12602 (image_instantiator_format_create_glyphs_widget): Call preceding
12605 2000-01-22 Martin Buchholz <martin@xemacs.org>
12607 * process.c (Fset_process_coding_system):
12608 * device-x.c (Fx_keysym_hash_table):
12611 * lstream.c (Lstream_write): Return documented value, not 0.
12613 * fileio.c (directory_file_name):
12614 (Fsubstitute_in_file_name):
12615 (Fsubstitute_insert_file_contents_internal):
12616 (Fwrite_region_internal):
12621 Remove vestigial APOLLO-conditional code.
12623 2000-01-21 Martin Buchholz <martin@xemacs.org>
12625 * getpagesize.h: Add guard macros.
12626 * libsst.h: Add guard macros.
12627 * libst.h: Add guard macros.
12628 * line-number.h: Add guard macros.
12629 * ndir.h: Add guard macros.
12630 * sysfloat.h: Add guard macros.
12631 * sysfile.h: Add guard macros.
12632 * sysproc.h: Add guard macros.
12633 * syswait.h: Add guard macros.
12634 * xintrinsic.h: Add guard macros.
12635 * xintrinsicp.h: Add guard macros.
12636 * xmmanager.h: Add guard macros.
12637 * xmmanagerp.h: Add guard macros.
12638 * xmprimitive.h: Add guard macros.
12639 * xmu.h: Add guard macros.
12640 * gpmevent.h: Add copyright statement. Add guard macros.
12641 * miscplay.h: Add guard macros.
12642 * *.h: Use consistent C-standards-approved guard macro names.
12644 * opaque.c (make_opaque): Switch parameter order.
12645 * opaque.h (make_opaque): Switch parameter order.
12646 Update all callers.
12647 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
12649 * config.h.in (type_checking_assert): Added.
12650 (bufpos_checking_assert): Added.
12652 2000-01-21 Martin Buchholz <martin@xemacs.org>
12654 * alloc.c: Harmless pdump changes.
12656 - spell alignment correctly.
12657 * sysdep.c: Use countof()
12659 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12661 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
12662 initially_selected_for_input() console method, default to 0.
12663 (semi_canonicalize_console_connection): Try to delegate to
12664 canonicalize_console_connection if no such console method.
12665 (canonicalize_console_connection): Vice versa.
12666 (print_console): Do not print nil connection.
12668 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
12669 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
12670 (XDEVIMPF_FRAMELESS_OK): Added.
12671 (CONSOLE_INHERITS_METHOD): Added.
12673 * console-msw.c (mswindows_canonicalize_console_connection):
12675 (mswindows_canonicalize_device_connection): Added.
12677 * console-msw.h (struct msprinter_device): Added this struct and
12679 (mswindows_device): Made fontlist a lisp object.
12681 * device.c (semi_canonicalize_device_connection): Try to delegate
12682 to canonicalize_device_connection if no such console method.
12683 (canonicalize_device_connection): Vice versa.
12684 (print_device): Do not print nil connection.
12686 * device-msw.c (mswindows_init_device): Call InitCommonControls
12688 (mswindows_delete_device): Removed fontlist deallocation.
12689 (mswindows_mark_device): Added.
12691 * events.c (event_equal): Added abort() at unreached code.
12692 (event_hash): Ditto.
12694 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
12695 fallback tags of Windows devices.
12697 * general.c (syms_of_general): Initialized Qmsprinter.
12699 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
12700 of fallback tags of Windows devices.
12702 * lisp.h: Declared Qmsprinter.
12704 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
12706 (mswindows_list_fonts): Ditto.
12707 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
12708 that it can be used by both mswindows and msprinter devices.
12709 (initialize_font_instance): Added.
12710 (mswindows_initialize_font_instance): Use it.
12711 (msprinter_initialize_font_instance): Added.
12713 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
12714 and implementation flags check.
12715 (redisplay_without_hooks): Changed the call to the above.
12716 (Fredraw_device): Ditto.
12717 (Fredisplay_device): Ditto.
12719 * redisplay-msw.c (get_frame_dc): Implemented.
12720 (get_frame_compdc): Implemented.
12721 (many functions): Use the two functions above to get device
12722 contexts, ether for a window or a printer.
12724 2000-01-21 Olivier Galibert <galibert@pobox.com>
12726 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
12727 initialization here.
12728 (init_symbols_once_early): Call it.
12729 * emacs.c (main_1): Call it.
12730 * symsinit.h: Declare it.
12732 2000-01-19 Olivier Galibert <galibert@pobox.com>
12734 * alloc.c: Use a lrecord_header * in the backtrace instead of a
12736 (pdump_backtrace): Ditto.
12737 (pdump_register_object): Ditto. Cleanup use of the pointers.
12738 (pdump_get_entry): Abort if trying to register a null pointer.
12739 (pdump_dump_data): Cleanup types when relocating.
12740 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
12741 (pdump_dump_rtables): Remove bad casts.
12742 (pdump_load): Cleanup relocation w.r.t union type. Use a
12743 Lisp_Object instead of a EMACS_INT for the hashtable
12746 2000-01-20 Martin Buchholz <martin@xemacs.org>
12748 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
12750 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
12752 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
12754 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
12756 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12758 * faces.h (FACE_STRIKETHRU_P): Added.
12760 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
12763 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
12764 (mswindows_set_dc_font): New function, aware of font variants,
12765 separated from mswindows_update_dc.
12767 * objects-msw.h (struct mswindows_font_instance_data): Added
12770 * objects-msw.c (mswindows_finalize_font_instance): Delete all
12771 cached fonts and the data structure.
12772 (mswindows_initialize_font_instance): Added creation of font data
12774 (mswindows_print_font_instance): Print at least something.
12775 (mswindows_create_font_variant): Implemented.
12776 (mswindows_get_hfont): Implemented.
12778 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
12780 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
12781 prototyping problem with msvc.
12783 * emacs.c (main_1): added syms_of_gui_mswindows() call
12785 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
12786 syms_of_gui_mswindows() function
12788 * symsinit.h: added the prototype for syms_of_gui_mswindows()
12790 2000-01-18 Martin Buchholz <martin@xemacs.org>
12792 * XEmacs 21.2.27 is released.
12794 2000-01-18 Martin Buchholz <martin@xemacs.org>
12796 * glyphs-eimage.c (struct tiff_error_struct):
12798 (tiff_warning_func):
12799 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
12804 * unexec.c: Remove vestigial Lucid C code.
12808 * libsst.c: Ansify.
12809 Remove declarations of errno and strerror().
12811 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
12813 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
12815 2000-01-16 Martin Buchholz <martin@xemacs.org>
12817 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
12820 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12825 Change enum eol_type to eol_type_t.
12827 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12829 * gui.c (get_gui_callback): Check cons before accessing car.
12831 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12833 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
12834 (XSETSPECIFIER_TYPE): Ditto.
12836 2000-01-17 Didier Verna <didier@xemacs.org>
12838 * redisplay.c (generate_fstring_runes): compute string size in
12839 characters, not bytes.
12841 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12843 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
12845 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
12847 * print.c (print_error_message): Call print_prepare().
12849 2000-01-14 Martin Buchholz <martin@xemacs.org>
12851 * .dbxrc: Renamed from dbxrc.
12853 * events.c (event_to_character):
12854 Use `assert (foo)' instead of `if (!foo) abort()'
12856 * .gdbinit (xtype): Add documentation.
12857 * .gdbinit (check-temacs): New function.
12858 * .gdbinit (check-xemacs): New function.
12859 * dbxrc (check-xemacs): New function.
12860 * dbxrc (check-xemacs): New function.
12862 2000-01-14 Andy Piper <andy@xemacs.org>
12864 * glyphs-widget.c (widget_query_geometry): Make sure that we
12865 calculate default dimensions correctly.
12867 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12869 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
12871 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
12872 pdump_wire'd variable.
12874 * emacs.c: (main_1): Conditionalized calls to
12875 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
12877 2000-01-13 Martin Buchholz <martin@xemacs.org>
12879 * window.c (Fset_window_configuration):
12880 * sysdep.c (_start):
12881 * input-method-motif.c (res):
12882 * event-Xt.c (Xt_process_to_emacs_event):
12883 Simple compiler warning fixes.
12885 * bytecode.c (funcall_compiled_function): Use the original
12886 function symbol on the backtrace list in preference to the
12887 compiled_function object in error messages.
12889 2000-01-13 Andy Piper <andy@xemacs.org>
12891 * glyphs-x.c (update_widget_face): Make sure we update the widget
12892 background as well as foreground.
12894 2000-01-13 Andy Piper <andy@xemacs.org>
12896 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
12897 fields to subwindow.
12898 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
12899 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
12900 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12901 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12903 * glyphs-widget.c (check_valid_tab_orientation): new function.
12904 (initialize_widget_image_instance): zero orientation and
12906 (widget_instantiate): pick up orientation.
12907 (tab_control_query_geometry): return appropriate values for
12910 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
12911 appropriate creation flags for left, right and bottom tabs.
12913 * s/cygwin32.h: add tab definitions.
12915 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12917 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
12918 frame upon hiding a subwindow.
12919 (mswindows_button_instantiate): Changed the push button style to
12921 (mswindows_button_instantiate): Removed button BS_NOTIFY
12923 (mswindows_button_instantiate): Removed redundant check for
12924 a disabled gui item.
12925 (mswindows_button_instantiate): Made use of WS_TABSTOP
12926 consistent: "operable" controls (edit, button, tree, scroll) have
12927 this style, "display-only" ones (static, progress gauge) do
12928 not. This style is currently ignored by XEmacs though. Also,
12929 removed the WS_EX_CONTROLPARENT style - it is not for children,
12930 it is for their parents!
12931 (mswindows_edit_field_instantiate): Ditto.
12932 (mswindows_progress_gauge_instantiate): Ditto.
12933 (mswindows_tree_view_instantiate): Ditto.
12934 (mswindows_tab_control_instantiate): Ditto.
12935 (mswindows_scrollbar_instantiate): Ditto.
12936 (mswindows_combo_box_instantiate): Ditto.
12937 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
12938 style to the "clip" window.
12939 (mswindows_button_instantiate): Removed compilation warning by
12940 equally typing terms of the ?: operator.
12942 2000-01-12 Didier Verna <didier@xemacs.org>
12944 * redisplay.c (generate_fstring_runes): new parameter holding the
12945 last modeline-format extent.
12946 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
12947 extent, fill the glyph block with it.
12948 (generate_fstring_runes): handle these parameters.
12949 (generate_formatted_string_db): ditto.
12951 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
12952 glyphs'extents in the modeline.
12954 1999-01-11 Mike Woolley <mike@bulsara.com>
12956 * ntheap.c: Reduced the reserved heap space from 1Gb down to
12957 256Mb, as a workaround for the non-starting problem many people
12960 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12962 * console-tty.c (Fset_console_tty_output_coding_system):
12963 Force redrawing tty frame.
12965 2000-01-10 Didier Verna <didier@xemacs.org>
12967 * redisplay.c (generate_fstring_runes): fix size computation bug.
12969 2000-01-09 William M. Perry <wmperry@aventail.com>
12971 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
12973 2000-01-09 Andy Piper <andy@xemacs.org>
12975 * glyphs-msw.c: index -> i to avoid shadows.
12976 (xbm_create_bitmap_from_data): make static.
12977 (check_valid_string_or_int): deleted.
12978 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
12980 * glyphs-x.c (x_update_subwindow): remove unused args.
12982 * glyphs.c (glyph_image_instance): return the thing. Don't set the
12983 back pointer - this is done in allocate_image_instance.
12984 (query_string_font): return Qnil to make the compiler happy.
12985 (unmap_subwindow): set to ~0 to make the compiler happy.
12986 (glyph_query_geometry): comment out until used.
12987 (glyph_layout): ditto.
12989 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12991 * insdel.c (signal_after_change): Remove extraneous unbind_to().