1 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * text-coding.c (decode_coding_big5): Modify for
4 `decode_defined_char' and `DECODE_CHAR'.
5 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
7 * mule-charset.c (decode_defined_char): Add new argument
9 (Fdecode_char): Add new optional argument `without_inheritance'.
10 (Fdecode_builtin_char): Modify for `Fdecode_char'.
12 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
14 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
17 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
18 (map_char_table): Likewise.
19 (Fdefine_char): Use `Fdecode_char' without inheritance.
20 (Ffind_char): Modify for `Fdecode_char'.
22 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
24 * char-ucs.h (decode_defined_char): Add new argument
25 `without_inheritance'.
26 (DECODE_CHAR): Likewise.
27 (MAKE_CHAR): Modify for `DECODE_CHAR'.
29 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
31 * mule-charset.c (charset_code_point): Fix problem when searching
32 in mother CCS fails with `defined_only' mode.
34 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
36 * chartab.c (Q_ucs): Deleted.
37 (Fput_char_attribute): Don't refer `->ucs'.
38 (Fdefine_char): Likewise.
39 (Ffind_char): Likewise.
40 (syms_of_chartab): Delete `->ucs'.
42 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
44 * mule-charset.c (Qmap_cns11643_2): Renamed from
45 `Qchinese_cns11643_2'.
46 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
48 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
51 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
53 * mule-charset.c (Qmap_cns11643_1): Renamed from
54 `Qchinese_cns11643_1'.
55 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
57 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
60 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
62 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
63 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
65 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
68 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
70 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
71 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
73 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
76 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
78 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
79 (syms_of_mule_charset): Add new symbol `=big5' instead of
81 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
83 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
85 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
86 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
88 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
91 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
93 * mule-charset.c (Qmap_jis_x0212): Renamed from
95 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
97 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
100 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
102 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
103 `Qjapanese_jisx0208'.
104 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
105 of `japanese-jisx0208'.
106 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
109 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
111 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
112 `Qjapanese_jisx0208_1978'.
113 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
114 of `japanese-jisx0208-1978'.
115 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
118 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
120 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
121 only for XEmacs CHISE.
123 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
125 * char-ucs.h: Compact non-ISO-IR charset-ids.
126 (LEADING_BYTE_UCS): Changed to -177.
127 (LEADING_BYTE_CONTROL_1): Changed to -77.
128 (LEADING_BYTE_UCS_BMP): Changed to -176.
129 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
131 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
133 * mule-charset.c (Qiso_ir): New variable.
134 (Fmake_charset): Recognise new property `iso-ir'.
135 (syms_of_mule_charset): Add new symbol `iso-ir'.
137 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
139 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
140 n to -n; charset-id of non ISO-IR sets are changed to positive
143 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
145 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
147 (Qmap_ucs): New variable.
148 (syms_of_mule_charset): Add new symbol `=ucs'.
149 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
151 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
153 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
155 * char-ucs.h (Qmap_ucs): New extern variable.
157 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
159 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
160 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
161 don't define it when UTF2000 is not defined.
162 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
163 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
164 when UTF2000 is not defined.
165 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
166 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
168 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
170 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
172 * mule-charset.c (Vcharset_ucs_gb): Deleted.
174 (syms_of_mule_charset): Delete `ucs-gb'.
175 (complex_vars_of_mule_charset): Likewise.
177 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
179 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
181 * mule-charset.c (Vcharset_ucs_cns): Deleted.
183 (syms_of_mule_charset): Delete `ucs-cns'.
184 (complex_vars_of_mule_charset): Likewise.
186 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
188 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
190 * mule-charset.c (Vcharset_ucs_jis): Deleted.
192 (syms_of_mule_charset): Delete `ucs-jis'.
193 (complex_vars_of_mule_charset): Likewise.
195 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
197 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
199 * mule-charset.c (Vcharset_ucs_ks): Deleted.
201 (syms_of_mule_charset): Delete `ucs-ks'.
202 (complex_vars_of_mule_charset): Likewise.
204 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
206 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
207 (Qideograph_daikanwa_2): Deleted.
208 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
209 (complex_vars_of_mule_charset): Likewise.
211 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
212 (LEADING_BYTE_DAIKANWA_1): Deleted.
213 (LEADING_BYTE_DAIKANWA_2): Deleted.
214 (MIN_CHAR_DAIKANWA): Deleted.
215 (MAX_CHAR_DAIKANWA): Deleted.
217 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
219 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
220 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
221 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
223 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
224 (Vcharset_ideograph_daikanwa): Deleted.
225 (Qideograph_hanziku_{1..12}): Deleted.
226 (Qideograph_daikanwa): Deleted.
227 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
228 Vcharset_ideograph_daikanwa.
229 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
230 `ideograph-hanziku-{1..12}'.
231 (complex_vars_of_mule_charset): Likewise.
233 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
235 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
237 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
238 (Qideograph_gt_pj_{1..11}): Deleted.
239 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
240 (complex_vars_of_mule_charset): Likewise.
242 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
244 * mule-charset.c (Vcharset_ucs_big5): Deleted.
245 (Vcharset_ideograph_gt): Deleted.
246 (Qucs_big5): Deleted.
247 (Qideograph_gt): Deleted.
248 (syms_of_mule_charset): Delete symbol `ucs-big5' and
250 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
253 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
254 (LEADING_BYTE_GT): Deleted.
255 (GC_CHARSETP): Deleted.
256 (MIN_CHAR_GT): Deleted.
257 (MAX_CHAR_GT): Deleted.
259 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
261 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
263 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
265 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
266 (Qideograph_cbeta): Deleted.
267 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
268 (complex_vars_of_mule_charset): Likewise.
270 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
271 (MIN_CHAR_CBETA): Comment out.
272 (MAX_CHAR_CBETA): Likewise.
274 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
276 * mule-charset.c (charset_lookup_description_1): Use
277 `NUM_LEADING_BYTES' in UTF-2000.
279 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
281 * mule-charset.c (Vcharset_china3_jef): Deleted.
282 (Qchina3_jef): Deleted.
283 (syms_of_mule_charset): Don't define `china3-jef'.
284 (complex_vars_of_mule_charset): Likewise.
286 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
287 (MIN_CHAR_CHINA3_JEF): Comment out.
288 (MAX_CHAR_CHINA3_JEF): Comment out.
290 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
292 * mule-charset.c (Vcharset_ucs_gb): New variable.
293 (Qucs_gb): New variable.
294 (syms_of_mule_charset): Add new symbol `ucs-gb'.
295 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
297 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
299 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
301 * mule-charset.c (charset_code_point): if a coded-charset has a
302 final-byte, don't inherit the builtin range of the mother CCS.
304 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
306 * mule-charset.c (charset_code_point): Fix problem about
309 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
311 * mule-charset.c (decode_builtin_char): Reorganized.
313 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
315 * text-coding.c (char_encode_shift_jis): Modify for
316 `charset_code_point'.
317 (char_encode_big5): Likewise.
318 (char_encode_utf8): Likewise.
319 (char_encode_iso2022): Likewise.
321 * mule-charset.c (charset_code_point): Add new argument
323 (Fencode_char): Add new optional argument `defined_only'.
325 * chartab.c (put_char_table): Modify for `charset_code_point'.
326 (map_char_table): Likewise.
328 * char-ucs.h (charset_code_point): Add new argument
330 (encode_char_1): Modify for `charset_code_point'.
332 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
334 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
335 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
337 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
339 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
340 (Qjis_x0208): Likewise.
341 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
342 XCHARSET_FINAL(charset).
343 (charset_code_point): Modify condition for final-byte based
345 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
346 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
347 in UTF-2000; specify `=jis-x0208' as the mother of
348 `japanese-jisx0208-1978', `japanese-jisx0208' and
349 `japanese-jisx0208-1990' in UTF-2000.
351 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
353 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
355 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
357 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
358 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
359 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
360 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
361 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
362 CONVERSION_96x96x96x96 are introduced.
363 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
364 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
365 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
367 * char-ucs.h (CONVERSION_94): New macro.
368 (CONVERSION_96): New macro.
369 (CONVERSION_94x94): New macro.
370 (CONVERSION_96x96): New macro.
371 (CONVERSION_94x94x94): New macro.
372 (CONVERSION_96x96x96): New macro.
373 (CONVERSION_94x94x94x60): New macro.
374 (CONVERSION_94x94x94x94): New macro.
375 (CONVERSION_96x96x96x96): New macro.
377 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
379 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
381 * fns.c (Qideographic_structure): New variable.
382 (Qkeyword_char): New variable.
383 (ids_format_unit): New function.
384 (Fideographic_structure_to_ids): New function.
385 (syms_of_fns): Add new symbols `ideographic-structure' and
386 `:char'; add new builtin function `ideographic-structure-to-ids'.
388 * data.c (Fchar_ref_p): New function.
389 (syms_of_data): Add new builtin function `char-ref-p'.
391 * chartab.h: Add an EXFUN for `Ffind_char'.
393 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
395 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
396 and `COMPOSE_ADD_CHAR'.
397 (decode_coding_iso2022): Use `decode_flush_er_chars'.
399 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
401 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
402 instead of `DECODE_ADD_UCS_CHAR'.
403 (COMPOSE_ADD_CHAR): Likewise.
405 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
407 * text-coding.c (decode_flush_er_chars): New inline function.
408 (decode_add_er_char): New function.
409 (decode_coding_utf8): Use `decode_flush_er_chars' and
410 `decode_add_er_char'.
412 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
414 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
415 done before `decode_output_utf8_partial_char'.
417 * mule-charset.c (complex_vars_of_mule_charset): Specify
418 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
419 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
421 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
423 * mule-charset.c (decode_defined_char): New function; search
425 (decode_builtin_char): Don't search mother if
426 XCHARSET_MAX_CODE(charset) == 0.
427 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
428 == 0 even if code >= XCHARSET_MAX_CODE(charset).
429 (Fdecode_char): Use `decode_defined_char' instead of
430 `DECODE_DEFINED_CHAR'.
431 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
432 mother of `Vcharset_ucs_jis'.
434 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
435 instead of `DECODE_DEFINED_CHAR'.
437 * char-ucs.h (decode_defined_char): Renamed from
438 `DECODE_DEFINED_CHAR'; changed to normal function.
439 (DECODE_CHAR): Use `decode_defined_char' instead of
440 `DECODE_DEFINED_CHAR'.
442 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
444 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
446 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
448 * text-coding.c (Vcoded_charset_entity_reference_alist): New
450 (Quse_entity_reference): New variable.
454 (coding_system_description): Add description for
456 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
457 (allocate_coding_system): Initialize `ccs_priority_list' in
459 (Fmake_coding_system): Add description about
460 'use-entity-reference; setup
461 CODING_SYSTEM_USE_ENTITY_REFERENCE(codesys).
462 (Fcoding_system_property): Accept `disable-composition' and
463 `use-entity-reference' in UTF-2000.
464 (struct decoding_stream): Add new member `er_counter' and `er_buf'
466 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
467 (decode_coding_utf8): Decode entity-reference if
468 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
469 (char_encode_utf8): Encode non-Unicode characters as
470 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
472 (syms_of_file_coding): Add new symbols `use-entity-reference',
474 (vars_of_file_coding): Add new variable
475 `coded-charset-entity-reference-alist'.
476 (complex_vars_of_file_coding): Declare `disable-composition' and
477 `use-entity-reference' to be coding-system-properties in UTF-2000.
479 * file-coding.h (struct Lisp_Coding_System): Add new member
480 `use_entity_reference' and `ccs_priority_list'.
481 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
482 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
483 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
485 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
487 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
489 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
491 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
492 `XCHARSET_GRAPHIC(ccs)'.
494 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
496 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
499 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
501 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
502 instead of `XCHARSET_CHARS'.
504 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
506 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
507 (XCHARSET_BYTE_SIZE): Likewise.
509 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
511 (XCHARSET_BYTE_SIZE): Likewise.
513 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
515 * char-ucs.h (decoding_table_check_elements): Delete prototype.
516 (get_ccs_octet_table): New inline function.
517 (put_ccs_octet_table): Likewise.
518 (decoding_table_put_char): Use `get_ccs_octet_table' and
519 `put_ccs_octet_table'.
520 (decoding_table_remove_char): Use `decoding_table_put_char'.
521 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
523 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
525 (make_charset): Use Qunbound instead Qnil as initial value of
528 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
530 * mule-charset.c (put_char_ccs_code_point): Modify for
531 `decoding_table_remove_char' and `decoding_table_put_char'.
532 (remove_char_ccs): Modify for `decoding_table_remove_char'.
534 * char-ucs.h (decoding_table_remove_char): Change arguments to
535 hide decoding_table vector.
536 (decoding_table_put_char): Likewise.
538 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
540 * mule-charset.c (decoding_table_remove_char): Moved to
542 (decoding_table_put_char): Likewise.
544 * char-ucs.h (decoding_table_check_elements): New prototype [moved
545 from mule-charset.c].
546 (decoding_table_remove_char): New inline function [moved from
548 (decoding_table_put_char): Likewise.
550 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
552 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
553 instead of `DECODE_CHAR' for mother; don't use special code for
554 chinese-big5 to use code space of chinese-big5-1 and
556 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
557 `MAX_CHAR_BIG5_CDP' for chinese-big5.
559 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
560 (MAX_CHAR_BIG5_CDP): Revival.
562 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
564 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
565 the XLFD registry-encoding name of `chinese-big5'.
567 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
569 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
570 (Qchinese_big5_cdp): Deleted.
571 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
572 (complex_vars_of_mule_charset): Delete coded-charset
575 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
576 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
577 `CHARSET_ID_OFFSET - n' for private CCS.
578 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
579 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
580 of `MIN_LEADING_BYTE'.
581 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
582 `(CHARSET_ID_OFFSET - 97)'.
583 (MIN_CHAR_BIG5_CDP): Deleted.
584 (MAX_CHAR_BIG5_CDP): Deleted.
586 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
588 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
591 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
593 * mule-charset.c (decode_builtin_char): Support mother charsets.
595 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
597 * mule-charset.c (Q94x94x60): New variable.
598 (charset_code_point): Support conversion `94x94x60'.
599 (Fmake_charset): Likewise.
600 (syms_of_mule_charset): Add new symbol `94x94x60'.
602 * char-ucs.h (CONVERSION_94x94x60): New macro.
604 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
606 * mule-charset.c (charset_code_point): Unify code about
609 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
611 * mule-charset.c (charset_code_point): Merge code about builtin
612 characters into code about mother charsets; don't use
613 `range_charset_code_point'.
614 (range_charset_code_point): Deleted.
616 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
618 * mule-charset.c (Qcode_offset): New variable.
619 (Fmake_charset): Use `XUINT' to get value of `min-code' and
620 `max-code'; accept new property `code-offset'.
621 (syms_of_mule_charset): Add new symbol `code-offset'.
623 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
625 * mule-charset.c (range_charset_code_point): Fixed.
627 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
629 * mule-charset.c (decode_builtin_char): Change semantics of
630 code-offset of coded-charset.
631 (charset_code_point): Likewise.
632 (range_charset_code_point): Likewise.
633 (complex_vars_of_mule_charset): Modify for the change.
635 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
637 * mule-charset.c (Fencode_char): Reverse arguments.
639 * mule-charset.c (charset_code_point): Fixed.
641 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
643 * mule-charset.c (Vcharset_mojikyo): Deleted.
644 (Vcharset_mojikyo_2022_1): Deleted.
645 (Vcharset_mojikyo_pj_{1..21}): Deleted.
646 (Qmin_code): New variable in UTF-2000.
647 (Qmax_code): Likewise.
649 (Qconversion): Likewise.
652 (Qmojikyo_2022_1): Deleted.
653 (Qmojikyo_pj_{1..22}): Deleted.
654 (mark_charset): Mark `cs->mother'.
655 (charset_description): Add description for `mother'.
656 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
657 new arguments `mother' and `conversion'; use
658 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
659 (charset_code_point): Moved from char-ucs.h; support `mother'
661 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
662 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
663 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
664 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
665 allow 2 as the value of `graphic' in UTF-2000; add new properties
666 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
667 require `final' in UTF-2000; modify for `make_charset'.
668 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
669 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
670 (Fcharset_property): Support `mother', `min-code' and `max-code'.
671 (Fencode_char): New function.
672 (syms_of_mule_charset): Add new builtin function `encode-char' in
673 UTF-2000; add new symbols `min-code', `max-code', `mother',
674 `conversion' and `94x60'; delete symbols `mojikyo',
675 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
676 (complex_vars_of_mule_charset): Modify for `make_charset' change;
677 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
678 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
680 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
681 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
683 * char-ucs.h (Vcharset_mojikyo): Deleted.
684 (Vcharset_mojikyo_2022_1): Deleted.
685 (LEADING_BYTE_MOJIKYO): Deleted.
686 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
687 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
688 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
689 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
690 add new member `mother'; add new member `conversion'.
691 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
692 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
693 (CHARSET_MOTHER): New macro.
694 (CHARSET_CONVERSION): New macro.
695 (CONVERSION_IDENTICAL): New macro.
696 (CONVERSION_94x60): New macro.
697 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
698 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
699 (XCHARSET_MOTHER): New macro.
700 (XCHARSET_CONVERSION): New macro.
701 (MIN_CHAR_MOJIKYO): Deleted.
702 (MAX_CHAR_MOJIKYO): Deleted.
703 (DECODE_MOJIKYO_2022): Deleted.
704 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
705 (charset_code_point): Changed to non-inline function.
706 (encode_char_1): Use `charset_code_point'.
707 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
709 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
711 * lread.c (read_compiled_function): Fix prototype.
712 (read_vector): Likewise.
714 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
716 * lrecord.h (struct lrecord_header): Delete `older'.
717 (set_lheader_implementation): Delete code for `older'.
718 (set_lheader_older_implementation): Deleted.
719 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
720 (OLDER_RECORD_P): Deleted.
721 (OLDER_RECORD_HEADER_P): Deleted.
722 (alloc_older_lcrecord): Deleted.
723 (alloc_older_lcrecord_type): Deleted.
725 * alloc.c (all_older_lcrecords): Deleted.
726 (alloc_older_lcrecord): Deleted.
727 (disksave_object_finalization_1): Delete code for older objects.
728 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
729 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
731 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
733 * mule-charset.c (decoding_table_put_char): Use `make_vector'
734 instead of `make_older_vector'.
735 (put_char_ccs_code_point): Likewise.
736 (mark_charset): Mark `cs->decoding_table'.
737 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
739 * lisp.h (make_older_vector): Deleted.
740 (make_vector_newer): Deleted.
742 * config.h.in (HAVE_GGC): Deleted.
744 * alloc.c (make_older_vector): Deleted.
745 (make_vector_newer_1): Deleted.
746 (make_vector_newer): Deleted.
748 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
750 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
751 (Qideograph_daikanwa_2): New variable.
752 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
753 (complex_vars_of_mule_charset): Add new coded-charset
754 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
755 `LEADING_BYTE_DAIKANWA'.
757 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
758 (LEADING_BYTE_DAIKANWA_1): New macro.
759 (LEADING_BYTE_DAIKANWA_2): New macro.
760 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
762 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
764 * mule-charset.c (complex_vars_of_mule_charset): Change
765 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
766 the second revised version.
768 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
770 * mule-charset.c (Vcharset_ucs_smp): New variable.
771 (Vcharset_ucs_sip): New variable.
772 (Qucs_smp): New variable.
773 (Qucs_sip): New variable.
774 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
775 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
776 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
777 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
778 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
779 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
781 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
782 (LEADING_BYTE_UCS_SIP): New macro.
783 (MIN_CHAR_SMP): New macro.
784 (MAX_CHAR_SMP): New macro.
785 (MIN_CHAR_SIP): New macro.
786 (MAX_CHAR_SIP): New macro.
788 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
790 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
793 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
795 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
796 value; don't store value into `encoding_table' of `Lisp_Charset'.
797 (mark_charset): `encoding_table' was deleted.
798 (charset_description): Likewise.
799 (make_charset): Likewise.
800 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
801 `put_char_ccs_code_point'.
803 * chartab.h (Fput_char_attribute): New EXFUN.
805 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
806 is unified with normal symbol space.
807 (Fget_char_attribute): Likewise.
808 (Fput_char_attribute): Likewise; behavior of
809 `put_char_ccs_code_point' is changed.
811 * char-ucs.h: Include "elhash.h".
812 (Vchar_attribute_hash_table): New external variable.
813 (struct Lisp_Charset): Delete `encoding_table'.
814 (CHARSET_ENCODING_TABLE): New implementation; refer
815 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
818 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
820 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
823 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
825 * text-coding.c (char_encode_big5): Prefer charset-g1 than
828 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
830 * chartab.c (uint8_byte_table_description): New constant.
831 (uint8-byte-table): Use `uint8_byte_table_description'.
832 (uint16_byte_table_description): New constant.
833 (uint16-byte-table): Use `uint16_byte_table_description'.
835 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
837 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
838 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
840 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
842 * mule-charset.c (Vcharset_ucs_ks): New variable.
843 (Qucs_ks): New variable.
844 (syms_of_mule_charset): Add new symbol `ucs-ks'.
845 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
847 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
849 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
851 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
852 (Fdecode_char): Likewise.
854 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
856 (Fdefine_char): Modify for Fdecode_char.
857 (Ffind_char): Likewise.
859 * mule-charset.c (Fdecode_char): Add new optional argument
861 (Fdecode_builtin_char): Modify for `Fdecode_char'.
863 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
865 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
866 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
867 (allocate_coding_system): Initialize initial-charsets of
868 CODESYS_BIG5 in XEmacs UTF-2000.
869 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
870 CODESYS_BIG5 in XEmacs UTF-2000.
871 (decode_coding_big5): Use initial-charset-g0 and -g1 of
872 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
874 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
876 (Qideograph_hanziku_{1 .. 12}): Likewise.
877 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
879 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
880 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
881 `ideograph-hanziku-{1 .. 12}'.
883 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
884 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
885 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
886 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
887 (DECODE_DEFINED_CHAR): New inline function.
888 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
890 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
892 * mule-charset.c (Vcharset_china3_jef): Renamed from
893 `Vcharset_japanese_jef_china3'.
894 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
895 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
896 `{MIN|MAX}_CHAR_JEF_CHINA3'..
897 (syms_of_mule_charset): Rename `china3-jef' from
898 `japanese-jef-china3'.
899 (complex_vars_of_mule_charset): Likewise; rename
900 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
902 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
903 `LEADING_BYTE_JEF_CHINA3'.
904 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
905 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
907 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
909 * mule-charset.c (encode_builtin_char_1): Comment out special code
910 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
912 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
913 (MAX_CHAR_MOJIKYO_0): Comment out.
914 (MIN_CHAR_CBETA): Changed to 0x00E20000.
915 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
916 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
917 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
919 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
921 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
922 (Qideograph_cbeta): New variable.
923 (encode_builtin_char_1): Comment out special code for
924 coded-charset `mojikyo' and `japanese-jef-china3'.
925 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
926 (complex_vars_of_mule_charset): Add new coded-charset
929 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
930 (MIN_CHAR_CBETA): New macro.
931 (MAX_CHAR_CBETA): New macro.
933 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
935 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
936 (LEADING_BYTE_JEF_CHINA3): New macro.
937 (MIN_CHAR_JEF_CHINA3): New macro.
938 (MAX_CHAR_JEF_CHINA3): Likewise.
939 (DECODE_CHAR): Fixed.
941 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
943 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
944 (Qjapanese_jef_china3): New variable.
945 (encode_builtin_char_1): Support `japanese-jef-china3'.
946 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
947 (complex_vars_of_mule_charset): Add new coded-charset
948 `japanese-jef-china3'.
950 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
952 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
953 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
954 94^4, 96^3, 96^4, 128^n and 256^n set.
955 (put_char_table): Use `XCHARSET_CELL_RANGE'.
956 (map_char_table): Likewise.
958 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
960 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
963 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
965 * chartab.h (get_char_id_table): New inline function.
967 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
970 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
972 * chartab.h (decode_char_table_range): New prototype in XEmacs
974 (put_char_id_table): New inline function in XEmacs UTF-2000.
976 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
978 (decode_char_table_range): Delete static declaration in XEmacs
981 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
983 * chartab.c (put_char_id_table): Use `put_char_table'.
985 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
987 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
988 (map_over_uint16_byte_table): Likewise.
989 (map_over_byte_table): Likewise.
990 (map_char_table): Modify for `map_over_uint8_byte_table',
991 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
994 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
996 * chartab.c (struct map_char_table_for_charset_arg): New
998 (map_char_table_for_charset_fun): New function.
999 (map_char_table): Use `map_char_table' for encoding_table of
1002 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1004 * chartab.c (map_char_table): Check a character is found in
1005 range->charset instead of non default value is defined in
1006 char-table when range is CHARTAB_RANGE_ROW.
1008 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1010 * chartab.c (map_char_id_table): Deleted.
1011 (Fmap_char_attribute): Use `map_char_table' instead of
1012 `map_char_id_table'.
1014 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1016 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
1018 (update_syntax_table): Deleted in XEmacs UTF-2000.
1020 * syntax.c (find_defun_start): Use `syntax_table' instead of
1021 `mirror_syntax_table' in XEmacs UTF-2000.
1022 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
1024 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
1026 (Fmatching_paren): Likewise.
1027 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
1029 (find_start_of_comment): Likewise.
1030 (find_end_of_comment): Likewise.
1031 (Fforward_comment): Likewise.
1032 (scan_lists): Likewise.
1033 (char_quoted): Likewise.
1034 (Fbackward_prefix_chars): Likewise.
1035 (scan_sexps_forward): Likewise.
1036 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
1037 (update_syntax_table): Likewise.
1039 * search.c (skip_chars): Use `syntax_table' instead of
1040 `mirror_syntax_table' in XEmacs UTF-2000.
1041 (wordify): Likewise.
1042 (Freplace_match): Likewise.
1044 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
1045 `mirror_syntax_table' in XEmacs UTF-2000.
1046 (WORDCHAR_P_UNSAFE): Likewise.
1047 (re_match_2_internal): Likewise.
1049 * font-lock.c (find_context): Use `buf->syntax_table' instead of
1050 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1052 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
1053 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
1055 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
1058 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
1060 (print_char_table): Print `default_value' in XEmacs UTF-2000.
1061 (char_table_description): Delete `mirror_table' in XEmacs
1063 (fill_char_table): Don't call `update_syntax_table' in XEmacs
1065 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
1066 (Fcopy_char_table): Likewise.
1067 (put_char_table): Don't call `update_syntax_table' in XEmacs
1070 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
1071 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1072 (casify_region_internal): Likewise.
1074 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
1076 * buffer.c (common_init_complex_vars_of_buffer): Don't use
1077 `mirror_syntax_table' in XEmacs UTF-2000.
1079 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
1080 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1081 (Fexpand_abbrev): Likewise.
1083 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1085 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
1087 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1089 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
1090 (map_over_uint16_byte_table): Likewise.
1091 (map_over_byte_table): Likewise.
1092 (get_char_id_table): Refer `cit->default_value'.
1093 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1094 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
1095 of character-id ranges.
1096 (mark_char_table): Mark `ct->default_value'.
1097 (char_table_description): Add `default_value'.
1098 (fill_char_table): Use `default_value'.
1099 (decode_char_table_range): Decode `nil' as
1100 `CHARTAB_RANGE_DEFAULT'.
1101 (get_char_id_table): Refer `cit->default_value'.
1102 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1103 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
1104 temporary hack; check value of char-table is bound or not.
1105 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
1107 * chartab.h (struct Lisp_Char_Table): Add new member
1108 `default_value' in XEmacs UTF-2000.
1109 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
1110 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
1113 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1115 * chartab.h (Lisp_Char_ID_Table): Deleted.
1117 * chartab.c (char_table_description): Fix typo.
1118 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
1119 `Lisp_Char_ID_Table'.
1121 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1123 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
1126 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
1129 * chartab.h (XCHAR_ID_TABLE): Deleted.
1130 (XSETCHAR_ID_TABLE): Deleted.
1131 (CHAR_ID_TABLE_P): Deleted.
1133 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
1135 (Fget_composite_char): Likewise.
1136 (put_char_table): Likewise.
1137 (add_char_attribute_alist_mapper): Fixed.
1138 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
1140 (Fget_char_attribute): Likewise.
1141 (Fget_char_attribute): Likewise.
1142 (Fmap_char_attribute): Likewise.
1144 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
1146 (encode_char_1): Likewise.
1148 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1150 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
1153 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
1154 instead of `XCHAR_ID_TABLE'.
1155 (remove_char_ccs): Likewise.
1157 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
1159 (Fget_composite_char): Likewise.
1160 (Fchar_variants): Likewise.
1161 (put_char_table): Likewise.
1162 (add_char_attribute_alist_mapper): Likewise.
1163 (Fchar_attribute_alist): Likewise.
1164 (Fget_char_attribute): Likewise.
1165 (Fput_char_attribute): Likewise.
1166 (Fmap_char_attribute): Likewise.
1167 (Fmap_char_attribute): Likewise.
1169 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
1171 (encode_char_1): Likewise.
1173 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1175 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
1176 `Lisp_Char_ID_Table'.
1177 (mark_char_id_table): Deleted.
1178 (print_char_id_table): Likewise.
1179 (char_id_table_equal): Likewise.
1180 (char_id_table_hash): Likewise.
1181 (char_id_table_description): Likewise.
1182 (char_id_table): Likewise.
1183 (make_char_id_table): Use `Fmake_char_table' and
1185 (get_char_id_table): Use `Lisp_Char_Table' instead of
1186 `Lisp_Char_ID_Table'.
1187 (put_char_id_table): Likewise.
1188 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
1190 (Fremove_char_attribute): Likewise.
1191 (syms_of_chartab): Don't define type `char-id-table'.
1193 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
1194 (char_id_table): Likewise.
1195 (GC_CHAR_ID_TABLE_P): Likewise.
1196 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
1197 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
1198 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
1199 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
1200 (get_char_id_table): Use `Lisp_Char_Table' instead of
1201 `Lisp_Char_ID_Table'.
1202 (put_char_id_table_0): Likewise.
1203 (put_char_id_table): Likewise.
1205 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1207 * chartab.h: Lisp_Byte_Table related codes are moved from
1210 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
1212 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1214 * chartab.h: Don't include "chartab.h".
1215 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
1216 (Lisp_Char_ID_Table): Likewise.
1217 (char_id_table): Likewise.
1218 (XCHAR_ID_TABLE): Likewise.
1219 (XSETCHAR_ID_TABLE): Likewise.
1220 (CHAR_ID_TABLE_P): Likewise.
1221 (GC_CHAR_ID_TABLE_P): Likewise.
1222 (get_char_id_table): Likewise.
1224 * char-ucs.h: Include "chartab.h".
1225 (struct Lisp_Char_ID_Table): Moved to chartab.h.
1226 (Lisp_Char_ID_Table): Likewise.
1227 (char_id_table): Likewise.
1228 (XCHAR_ID_TABLE): Likewise.
1229 (XSETCHAR_ID_TABLE): Likewise.
1230 (CHAR_ID_TABLE_P): Likewise.
1231 (GC_CHAR_ID_TABLE_P): Likewise.
1232 (get_char_id_table): Likewise.
1234 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1236 * chartab.c (copy_uint8_byte_table): New function.
1237 (copy_uint16_byte_table): New function.
1238 (copy_byte_table): New function.
1239 (map_over_uint8_byte_table): Modify to avoid huge numbers of
1241 (map_over_uint16_byte_table): Likewise.
1242 (map_over_byte_table): Likewise.
1243 (get_byte_table): Move prototype to chartab.h.
1244 (put_byte_table): Likewise.
1245 (put_char_id_table_0): Moved to chartab.h.
1246 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
1247 (char_table_entry_equal): Likewise.
1248 (char_table_entry_hash): Likewise.
1249 (char_table_entry_description): Likewise.
1250 (char_table_entry): Likewise.
1251 (make_char_table_entry): Likewise.
1252 (copy_char_table_entry): Likewise.
1253 (get_non_ascii_char_table_value): Likewise.
1254 (map_over_charset_ascii): Likewise.
1255 (map_over_charset_control_1): Likewise.
1256 (map_over_charset_row): Likewise.
1257 (map_over_other_charset): Likewise.
1258 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
1259 (print_char_table): Likewise.
1260 (char_table_equal): Likewise.
1261 (char_table_hash): Likewise.
1262 (char_table_description): Likewise.
1263 (fill_char_table): Likewise.
1264 (Fcopy_char_table): Likewise.
1265 (get_char_table): Likewise.
1266 (Fget_range_char_table): Likewise.
1267 (put_char_table): Likewise.
1268 (map_char_table): Likewise.
1269 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
1272 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1274 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
1275 `Vauto_fill_chars' in XEmacs UTF-2000.
1277 * chartab.h (get_byte_table): New prototype [moved from
1279 (put_byte_table): Likewise [moved from chartab.c].
1280 (put_char_id_table_0): New inline function [moved from chartab.c].
1281 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
1282 (Lisp_Char_Table_Entry): Likewise.
1283 (char_table_entry): Likewise.
1284 (XCHAR_TABLE_ENTRY): Likewise.
1285 (XSETCHAR_TABLE_ENTRY): Likewise.
1286 (CHAR_TABLE_ENTRYP): Likewise.
1287 (CHECK_CHAR_TABLE_ENTRY): Likewise.
1288 (NUM_ASCII_CHARS): Likewise.
1289 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
1290 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
1292 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1294 * chartab.c (get_char_id_table): Change interface.
1295 (put_char_id_table_0): New function.
1296 (put_char_id_table): Change interface; new implementation.
1297 (Fget_composite_char): Modify for interface change of
1298 `get_char_id_table'.
1299 (Fchar_variants): Likewise.
1300 (add_char_attribute_alist_mapper): Likewise.
1301 (Fchar_attribute_alist): Likewise.
1302 (Fget_char_attribute): Likewise.
1303 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
1304 as same as character as the first argument like `put-char-table';
1305 modify for interface change of `put_char_id_table'.
1306 (Fremove_char_attribute): Modify for interface change of
1307 `put_char_id_table'.
1309 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1311 * text-coding.c: Sync up with XEmacs 21.2.41.
1312 (COMPOSE_ADD_CHAR): Modify for interface change of
1313 `get_char_id_table'.
1315 * mule-charset.c (put_char_ccs_code_point): Modify for interface
1316 change of `put_char_id_table'.
1317 (remove_char_ccs): Likewise.
1319 * chartab.h (put_char_id_table): Change interface.
1321 * char-ucs.h (get_char_id_table): Change interface.
1322 (charset_code_point): Modify for interface change of
1323 `get_char_id_table'.
1324 (encode_char_1): Likewise.
1326 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1328 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
1330 (map_over_uint16_byte_table): Likewise.
1331 (map_over_byte_table): Likewise.
1332 (map_char_id_table): Add new argument `range' like
1334 (Fmap_char_attribute): Add new argument `range' like
1337 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1339 * chartab.c (map_over_uint8_byte_table): Change interface of
1340 mapping function to use struct chartab_range instead of Emchar.
1341 (map_over_uint16_byte_table): Likewise.
1342 (map_over_byte_table): Likewise.
1343 (map_char_id_table): Likewise.
1344 (struct slow_map_char_id_table_arg): Deleted.
1345 (slow_map_char_id_table_fun): Deleted.
1346 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1347 function `slow_map_char_table_fun' instead of struct
1348 `slow_map_char_id_table_arg' and function
1349 `slow_map_char_id_table_fun'.
1351 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1353 * mule-charset.c: Move char-it-table related codes to chartab.c.
1354 (Vutf_2000_version): Moved to chartab.c.
1355 (Fdefine_char): Likewise.
1356 (Ffind_char): Likewise.
1357 (syms_of_mule_charset): Move types `uint8-byte-table',
1358 `uint16-byte-table', `byte-table' and `char-id-table' to
1359 chartab.c; move functions `char_attribute_list,
1360 `find_char_attribute_table, `char_attribute_alist,
1361 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1362 `map_char_attribute, `define_char, `find_char, `char_variants and
1363 `get_composite_char to chartab.c; move symbols `=>ucs',
1364 `->decomposition', `compat', `isolated', `initial', `medial',
1365 `final', `vertical', `noBreak', `fraction', `super', `sub',
1366 `circle', `square', `wide', `narrow', `small' and `font' to
1368 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1369 setting codes for `Vcharacter_composition_table' and
1370 `Vcharacter_variant_table' to chartab.c.
1371 (complex_vars_of_mule_charset): Move setting code for
1372 `Vchar_attribute_hash_table' to chartab.c.
1374 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1375 (make_char_id_table): New prototype.
1376 (put_char_id_table): Likewise.
1377 (Fget_char_attribute): Likewise.
1379 * chartab.c: Move char-id-table related code from mule-charset.c.
1380 (Vutf_2000_version): Moved from mule-charset.c.
1382 * char-ucs.h (Qucs): New external variable.
1383 (put_char_ccs_code_point): New prototype.
1384 (remove_char_ccs): Likewise.
1386 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1388 * mule-charset.c (Vcharset_ucs_jis): New variable.
1389 (Qucs_jis): Likewise.
1390 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1391 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1393 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1395 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1397 * mule-charset.c (map_over_uint8_byte_table): New function.
1398 (map_over_uint16_byte_table): Likewise.
1399 (map_over_byte_table): Likewise.
1400 (map_char_id_table): Likewise.
1401 (slow_map_char_id_table_fun): Likewise.
1402 (Fmap_char_attribute): Likewise.
1403 (syms_of_mule_charset): Add new function `map-char-attribute'.
1405 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1407 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1408 (syms_of_mule_charset): Add new function `find-char'.
1410 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1412 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1414 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1415 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1417 (complex_vars_of_mule_charset): Add new coded-charset
1418 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1419 `ideograph-gt-pj-*'.
1421 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1423 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1425 * mule-charset.c (encode_builtin_char_1): Purge codes about
1426 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1427 {MIN|MAX}_CHAR_HEBREW.
1428 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1429 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1431 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1432 (MAX_CHAR_GREEK): Purged.
1433 (MIN_CHAR_CYRILLIC): Purged.
1434 (MAX_CHAR_CYRILLIC): Purged.
1435 (MIN_CHAR_HEBREW): Commented out.
1436 (MAX_CHAR_HEBREW): Likewise.
1438 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1440 * mule-charset.c (Qto_ucs): New variable.
1441 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1442 (Fdefine_char): Likewise.
1443 (syms_of_mule_charset): Add new symbol `=>ucs'.
1445 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1447 * mule-charset.c (Fdecode_char): Fixed.
1449 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1451 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1452 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1455 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1457 * mule-charset.c (Vcharset_ucs_big5): New variable.
1458 (Qucs_big5): Likewise.
1459 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1460 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1462 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1464 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1466 * mule-charset.c (decode_builtin_char): Check Big5 code range
1467 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1469 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1471 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1472 (Qchinese_gb12345): Likewise.
1473 (Fdecode_builtin_char): Fixed.
1474 (syms_of_mule_charset): Add `chinese-gb12345'.
1475 (complex_vars_of_mule_charset): Add coded-charset
1478 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1479 (LEADING_BYTE_CHINESE_GB12345): New macro.
1481 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1483 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
1484 and `latin-viscii-upper' for `latin-viscii'.
1486 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1488 * mule-charset.c (Fdecode_builtin_char): Comment out
1489 regularization code for ISO-IR GR representation.
1491 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1493 * mule-charset.c (decode_builtin_char): New function; renamed from
1494 `make_builtin_char'; return -1 instead of signal.
1495 (Fdecode_builtin_char): Use `decode_builtin_char'.
1497 * char-ucs.h (decode_builtin_char): New prototype; renamed from
1498 `make_builtin_char'.
1499 (DECODE_CHAR): Use `decode_builtin_char' instead of
1500 `make_builtin_char'; use mapping table of `chinese-big5' for
1501 `chinese-big5-{1,2}'.
1503 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1505 * text-coding.c (char_encode_big5): New function.
1506 (char_finish_big5): Likewise.
1507 (reset_encoding_stream): Use `char_encode_big5' and
1508 `char_finish_big5' for CODESYS_BIG5.
1509 (mule_encode): Don't use `encode_coding_big5'.
1510 (encode_coding_big5): Deleted.
1512 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1514 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
1515 0x81- in XEmacs UTF-2000.
1516 (detect_coding_big5): Likewise.
1518 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1520 * mule-charset.c (Fdefine_char): Don't use a CCS property to
1521 generate character-id if the CCS property does not have
1522 corresponding predefined character.
1523 (make_builtin_char): Return -1 if corresponding predefined
1524 character is not found.
1525 (Fdecode_char): Return nil if corresponding character is not
1527 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
1528 don't map to builtin ucs space.
1530 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1532 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
1533 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
1535 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1537 * mule-charset.c (Vcharset_ideograph_gt): New variable.
1538 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
1539 (Qideograph_gt): Likewise.
1540 (Qideograph_gt_pj_{1..11}): Likewise.
1541 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
1542 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
1543 `ideograph-gt-pj-11'.
1544 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
1545 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
1546 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
1548 * char-ucs.h (LEADING_BYTE_GT): New macro.
1549 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
1550 (MIN_CHAR_GT): Likewise.
1551 (MAX_CHAR_GT): Likewise.
1553 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1555 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
1556 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
1558 * doprnt.c (unsigned_int_converters): Add `c'.
1559 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
1561 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
1562 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
1564 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
1565 (MAX_CHAR_MOJIKYO_0): New macro.
1566 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
1568 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1570 * mule-charset.c (Fdefine_char): Delete cemented out code.
1571 (encode_builtin_char_1): Modify for new allocation of builtin
1574 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
1576 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1578 * mule-charset.c (Vcharset_ucs_cns): New variable.
1579 (Qucs_cns): New variable.
1580 (syms_of_mule_charset): Add new symbol `ucs-cns'.
1581 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
1583 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1585 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
1587 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1589 * search.c (search_buffer): Make `charset_base_code' as
1590 character-id >> 6 to eliminate the corresponding last byte in
1591 UTF-8 representation [I'm not sure it is right thing].
1592 (boyer_moore): Likewise.
1594 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1596 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
1597 representation in MULE.
1599 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1601 * text-coding.c (Fmake_coding_system): Use
1602 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
1603 `EXTERNAL_PROPERTY_LIST_LOOP'.
1605 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1607 * text-coding.c (decode_output_utf8_partial_char): New function.
1608 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
1610 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1612 * text-coding.c (decode_coding_utf8): Output original byte
1613 sequence if it is broken; change order of conditions.
1615 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
1618 * mb-multibyte.h (BYTE_ASCII_P):
1619 Use bit ops for char-signedness safety.
1620 (BYTE_C0_P): Use bit ops for char-signedness safety.
1621 (BYTE_C1_P): Use bit ops for char-signedness safety.
1623 * character.h: (XCHAR_OR_CHAR_INT):
1624 Always use inline function.
1625 Remove redundant type checking assert() - XINT will abort quite
1628 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1630 * text-coding.c: (Fencode_shift_jis_char):
1631 (Fencode_big5_char):
1632 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
1633 Replace 0 with '\0' when working with bytes.
1634 Replace initial "(" with "\(" in docstrings.
1636 (Fmake_coding_system):
1637 When type is ccl and value is vector, register it with a proper
1638 symbol. And checks whether the given ccl program is valid.
1639 (mule_decode): When calling ccl_driver, if src indicates
1640 NULL pointer, set an empty string instead.
1641 (mule_encode): Likewise.
1644 (detect_coding_sjis):
1645 (decode_coding_sjis):
1646 (detect_coding_big5):
1647 (decode_coding_big5):
1648 (detect_coding_ucs4):
1649 (decode_coding_ucs4):
1650 (detect_coding_utf8):
1651 (decode_coding_utf8):
1652 (detect_coding_iso2022):
1653 (decode_coding_iso2022):
1654 (decode_coding_no_conversion):
1656 Make all detecting and decoding functions take an Extbyte * arg.
1657 (text_encode_generic):
1658 (encode_coding_big5):
1659 (encode_coding_no_conversion):
1661 Make all encoding functions take a Bufbyte * arg.
1662 Use size_t instead of unsigned int for memory sizes.
1663 Only cast to unsigned char whenever dereferencing Extbyte *.
1665 (struct lrecord_description fcd_description_1): Use countof.
1666 (complex_vars_of_file_coding):
1667 Use countof instead of sizeof.
1668 Use CHECK_NATNUM instead of CHECK_INT.
1670 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1672 * mule-charset.c (Fget_char_attribute): Add new optional argument
1674 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
1675 (remove_char_ccs): Likewise.
1677 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1679 * text-coding.c (char_encode_shift_jis): New implementation in
1681 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
1684 * mule-charset.c (Vcharset_chinese_big5): New variable in
1686 (Qchinese_big5): New variable in UTF-2000.
1687 (BIG5_SAME_ROW): New macro in UTF-2000.
1688 (make_builtin_char): Use builtin characters of
1689 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
1690 characters of `Vcharset_chinese_big5'.
1691 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
1692 (complex_vars_of_mule_charset): Add new coded-charset
1693 `chinese-big5' in UTF-2000.
1695 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
1696 (Vcharset_chinese_big5): New external variable declaration.
1697 (Vcharset_japanese_jisx0208_1990): Likewise.
1699 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1701 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
1703 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
1705 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1707 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
1708 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
1709 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
1712 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1714 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
1716 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1718 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1721 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1723 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
1724 for `CHARSET_BY_ATTRIBUTES'.
1725 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1726 `CHARSET_BY_ATTRIBUTES'.
1728 * text-coding.c (struct decoding_stream): Rename member `CH' to
1730 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
1731 (decode_coding_sjis): Likewise.
1732 (decode_coding_big5): Likewise.
1733 (decode_coding_ucs4): Likewise.
1734 (decode_coding_utf8): Likewise.
1735 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1736 `CHARSET_BY_ATTRIBUTES'.
1737 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
1738 `str->counter'; decode 3, 4 bytes sets.
1739 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
1741 (decode_coding_no_conversion): Use `str->cpos' instead of
1744 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
1745 (Qmojikyo_2022_1): New variable.
1746 (make_charset): Don't use `CHARSET_TYPE_*'.
1747 (range_charset_code_point): Support coded-charset
1749 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
1750 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
1751 `CHARSET_BY_ATTRIBUTES'.
1752 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
1753 `CHARSET_BY_ATTRIBUTES'.
1754 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
1755 (complex_vars_of_mule_charset): Add new coded-charset
1758 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
1759 interface; changed to inline function.
1761 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
1762 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
1763 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
1764 (CHARSET_TYPE_94): Deleted.
1765 (CHARSET_TYPE_94X94): Deleted.
1766 (CHARSET_TYPE_96): Deleted.
1767 (CHARSET_TYPE_96X96): Deleted.
1768 (CHARSET_TYPE_128): Deleted.
1769 (CHARSET_TYPE_128X128): Deleted.
1770 (CHARSET_TYPE_256): Deleted.
1771 (CHARSET_TYPE_256X256): Deleted.
1772 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
1774 (DECODE_MOJIKYO_2022): New inline function.
1775 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
1776 `Vcharset_mojikyo_2022_1'.
1778 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1780 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
1782 (put_byte_table): Likewise.
1783 (char_id_table_equal): Use `get_byte_table' [new implementation].
1785 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1787 * mule-charset.c: Include <limits.h> in UTF-2000.
1788 (BT_UINT8_MIN): New macro in UTF-2000.
1789 (BT_UINT8_MAX): New macro in UTF-2000.
1790 (BT_UINT8_t): New macro in UTF-2000.
1791 (BT_UINT8_nil): New macro in UTF-2000.
1792 (BT_UINT8_unbound): New macro in UTF-2000.
1793 (INT_UINT8_P): New inline function in UTF-2000.
1794 (UINT8_VALUE_P): New inline function in UTF-2000.
1795 (UINT8_ENCODE): New inline function in UTF-2000.
1796 (UINT8_DECODE): New inline function in UTF-2000.
1797 (mark_uint8_byte_table): New function in UTF-2000.
1798 (print_uint8_byte_table): New function in UTF-2000.
1799 (uint8_byte_table_equal): New function in UTF-2000.
1800 (uint8_byte_table_hash): New function in UTF-2000.
1801 (make_uint8_byte_table): New function in UTF-2000.
1802 (uint8_byte_table_same_value_p): New function in UTF-2000.
1803 (BT_UINT16_MIN): New macro in UTF-2000.
1804 (BT_UINT16_MAX): New macro in UTF-2000.
1805 (BT_UINT16_t): New macro in UTF-2000.
1806 (BT_UINT16_nil): New macro in UTF-2000.
1807 (BT_UINT16_unbound): New macro in UTF-2000.
1808 (INT_UINT16_P): New inline function in UTF-2000.
1809 (UINT16_VALUE_P): New inline function in UTF-2000.
1810 (UINT16_ENCODE): New inline function in UTF-2000.
1811 (UINT16_DECODE): New inline function in UTF-2000.
1812 (UINT8_TO_UINT16): New inline function in UTF-2000.
1813 (mark_uint16_byte_table): New function in UTF-2000.
1814 (print_uint16_byte_table): New function in UTF-2000.
1815 (uint16_byte_table_equal): New function in UTF-2000.
1816 (uint16_byte_table_hash): New function in UTF-2000.
1817 (make_uint16_byte_table): New function in UTF-2000.
1818 (uint16_byte_table_same_value_p): New function in UTF-2000.
1819 (print_byte_table): New function in UTF-2000.
1820 (byte-table): Use `print_byte_table' as printer.
1821 (make_byte_table): Delete second argument `older'.
1822 (byte_table_same_value_p): New function in UTF-2000.
1823 (copy_byte_table): Deleted.
1824 (get_byte_table): New function in UTF-2000.
1825 (put_byte_table): New function in UTF-2000.
1826 (print_char_id_table): New function in UTF-2000.
1827 (char-id-table): Use `print_char_id_table' as printer.
1828 (make_char_id_table): Delete second argument `older'.
1829 (get_char_id_table): Use `get_byte_table [new implementation].
1830 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
1832 (Ffind_char_attribute_table): New function in UTF-2000.
1833 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1834 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
1835 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
1836 (syms_of_mule_charset): Add new function
1837 `find-char-attribute-table' in UTF-2000.
1839 * lrecord.h (enum lrecord_type): Add
1840 `lrecord_type_uint16_byte_table' and
1841 `lrecord_type_uint8_byte_table'.
1843 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
1844 (Lisp_Uint8_Byte_Table): New type.
1845 (XUINT8_BYTE_TABLE): New macro.
1846 (XSETUINT8_BYTE_TABLE): New macro.
1847 (UINT8_BYTE_TABLE_P): New macro.
1848 (GC_UINT8_BYTE_TABLE_P): New macro.
1849 (struct Lisp_Uint16_Byte_Table): New structure.
1850 (Lisp_Uint16_Byte_Table): New type.
1851 (XUINT16_BYTE_TABLE): New macro.
1852 (XSETUINT16_BYTE_TABLE): New macro.
1853 (UINT16_BYTE_TABLE_P): New macro.
1854 (GC_UINT16_BYTE_TABLE_P): New macro.
1856 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1858 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
1859 (Vcharacter_ideographic_strokes_table): Deleted.
1860 (Vcharacter_total_strokes_table): Deleted.
1861 (Vcharacter_morohashi_daikanwa_table): Deleted.
1862 (Vcharacter_decomposition_table): Deleted.
1863 (Qname): Deleted because it is duplicated.
1864 (Qideographic_radical): Deleted.
1865 (Qideographic_strokes): Deleted.
1866 (Qtotal_strokes): Deleted.
1867 (Qmorohashi_daikanwa): Deleted.
1868 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
1869 `ideographic-radical', `ideographic-strokes', `total-strokes',
1870 `morohashi-daikanwa' and `->decomposition'.
1871 (Fget_char_attribute): Likewise.
1872 (Fput_char_attribute): Likewise; use `make-vector' instead of
1873 `make_older_vector' for `->decomposition' value.
1874 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
1875 `ideograph-daikanwa'.
1876 (syms_of_mule_charset): Delete builtin symbols `name',
1877 `ideographic-radical', `ideographic-strokes', `total-strokes' and
1878 `morohashi-daikanwa'.
1879 (vars_of_mule_charset): Don't setup
1880 `Vcharacter_ideographic_radical_table',
1881 `Vcharacter_ideographic_strokes_table',
1882 `Vcharacter_total_strokes_table',
1883 `Vcharacter_morohashi_daikanwa_table' and
1884 `Vcharacter_decomposition_table'.
1886 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1888 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
1889 `make_older_vector', `make_vector_newer_1' and
1890 `make_vector_newer'.
1892 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
1893 `make_older_vector' and `make_vector_newer'.
1895 * config.h.in (HAVE_GGC): New macro.
1897 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1899 * mule-charset.c (struct char_attribute_list_closure): New
1900 structure in UTF-2000.
1901 (add_char_attribute_to_list_mapper): New function in UTF-2000.
1902 (Fchar_attribute_list): Likewise.
1903 (Fset_charset_mapping_table): Use `make_vector_newer'.
1904 (Fdecode_builtin_char): New function in UTF-2000.
1905 (syms_of_mule_charset): Add new function `char-attribute-list' and
1906 `decode-builtin-char' in UTF-2000.
1908 * lisp.h (make_vector_newer): New prototype.
1910 * alloc.c (make_vector_newer_1): New function.
1911 (make_vector_newer): New function.
1913 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1915 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
1918 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1920 * mule-charset.c (Vchar_attribute_hash_table): New variable.
1921 (Vcharacter_attribute_table): Deleted.
1922 (Vcharacter_name_table): Deleted.
1923 (put_char_attribute): Deleted.
1924 (remove_char_attribute): Deleted.
1925 (struct char_attribute_alist_closure): New structure.
1926 (add_char_attribute_alist_mapper): New function.
1927 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
1928 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
1929 (Fget_char_attribute): Likewise.
1930 (Fput_char_attribute): Likewise.
1931 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
1932 of `remove_char_attribute'.
1933 (Fdefine_char): Return character.
1934 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
1935 and `Vcharacter_name_table'.
1936 (complex_vars_of_mule_charset): Likewise
1937 `Vchar_attribute_hash_table'.
1939 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1941 * character.h (CHARC_CHARSET): New macro.
1942 (CHARC_CHARSET_ID): New macro.
1943 (CHARC_CODE_POINT): New macro.
1944 (CHARC_COLUMNS): New macro.
1945 (CHARC_TO_CHAR): New inline function.
1946 (CHARC_EQ): New inline function.
1947 (CHARC_ASCII_EQ): New inline function.
1948 (CHARC_IS_SPACE): New inline function.
1949 (ASCII_TO_CHARC): New inline function.
1951 * char-ucs.h (encode_char_2): Deleted.
1952 (ENCODE_CHAR): Use `encode_char_1' again.
1953 (breakup_char_1): Likewise.
1954 (CHAR_TO_CHARC): New inline function.
1956 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
1958 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1960 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
1961 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
1962 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
1963 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
1964 (create_string_text_block): Use `CHARC_ASCII_EQ' and
1966 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
1968 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
1970 (x_output_display_block): Use `CHARC_CHARSET' and
1973 * redisplay-tty.c (tty_output_display_block): Use
1975 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
1977 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
1979 * insdel.c (find_charsets_in_charc_string): Use
1981 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
1982 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
1983 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
1984 (convert_charc_string_into_malloced_string): Likewise.
1986 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1988 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
1989 instead of <Emchar_dynarr *> for buf; use
1990 `convert_bufbyte_string_into_charc_dynarr' instead of
1991 `convert_bufbyte_string_into_emchar_dynarr'; use
1992 `find_charsets_in_charc_string' instead of
1993 `find_charsets_in_emchar_string'.
1996 - Include "character.h".
1997 (struct rune): New member `cglyph'; delete member `chr'.
1999 * redisplay.c (redisplay_text_width_charc_string): New function;
2000 delete `redisplay_text_width_emchar_string'.
2001 (rtw_charc_dynarr): New variable; renamed from
2002 `rtw_emchar_dynarr'.
2003 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
2004 `rtw_emchar_dynarr'; use
2005 `convert_bufbyte_string_into_charc_dynarr' instead of
2006 `convert_bufbyte_string_into_emchar_dynarr'; use
2007 `redisplay_text_width_charc_string' instead of
2008 `redisplay_text_width_emchar_string'.
2009 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
2010 instead of `rtw_emchar_dynarr'; use
2011 `convert_bufbyte_string_into_charc_dynarr' instead of
2012 `convert_bufbyte_string_into_emchar_dynarr'.
2013 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
2014 `redisplay_text_width_charc_string' instead of
2015 `redisplay_text_width_emchar_string'.
2016 (create_text_block): Modify for <struct rune> change.
2017 (generate_formatted_string_db): Likewise.
2018 (create_string_text_block): Likewise.
2019 (pixel_to_glyph_translation): Likewise.
2021 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
2022 instead of <const Emchar *>.
2023 (x_text_width): Likewise.
2024 (x_output_display_block): Use <Charc_dynarr *> instead
2025 <Emchar_dynarr *>; modify for <structure rune> change.
2026 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
2029 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
2030 <const Emchar *>; use `charc_string_displayed_columns' instead of
2031 `emchar_string_displayed_columns'.
2032 (tty_output_display_block): Use <Charc_dynarr *> instead of
2033 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
2034 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
2035 (tty_output_charc_dynarr_dynarr): New variable; renamed from
2036 `tty_output_emchar_dynarr_dynarr'.
2037 (tty_output_charc_dynarr): New function; delete
2038 `tty_output_charc_dynarr'.
2040 * redisplay-output.c (compare_runes): Modify for `struct rune'.
2041 (redisplay_output_layout): Use <Charc_dynarr *> instead of
2042 <Emchar_dynarr *> for buf; use
2043 `convert_bufbyte_string_into_charc_dynarr' instead of
2044 `convert_bufbyte_string_into_emchar_dynarr'.
2046 * frame.c (title_string_charc_dynarr): New variable; renamed from
2047 `title_string_emchar_dynarr'.
2048 (generate_title_string): Use `title_string_charc_dynarr' instead
2049 of `title_string_emchar_dynarr'; use
2050 `convert_charc_string_into_malloced_string' instead of
2051 `convert_emchar_string_into_malloced_string'.
2052 (init_frame): Use `title_string_charc_dynarr' instead of
2053 `title_string_emchar_dynarr'.
2056 - Include "character.h".
2057 (struct console_methods): Use <const Charc *> instead of <const
2058 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
2059 <Emchar_dynarr *> in output_string_method.
2061 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
2064 * console-stream.c (stream_text_width): Use <const Charc *>
2065 instead of <const Emchar *>.
2067 * character.h (Charc_dynarr): New type.
2069 * char-ucs.h (structure Charc): New structure; define new type
2072 * char-lb.h (DECODE_CHAR): New inline function.
2073 (encode_char_1): New inline function.
2074 (ENCODE_CHAR): New macro.
2075 (structure Charc): New structure; define new type `Charc'.
2077 * char-1byte.h (Vcharset_control_1): New macro.
2078 (Vcharset_latin_iso8859_1): New macro.
2079 (DECODE_CHAR): New inline function.
2080 (encode_char_1): New inline function.
2081 (ENCODE_CHAR): New macro.
2082 (structure Charc): New structure; define new type `Charc'.
2084 * insdel.c (find_charsets_in_charc_string): New function; delete
2085 `find_charsets_in_emchar_string'.
2086 (charc_string_displayed_columns): New function; delete
2087 `emchar_string_displayed_columns'.
2088 (convert_bufbyte_string_into_charc_dynarr): New function; delete
2089 `convert_bufbyte_string_into_emchar_dynarr'.
2090 (convert_charc_string_into_bufbyte_dynarr): New function; delete
2091 `convert_charc_string_into_bufbyte_dynarr'.
2092 (convert_charc_string_into_malloced_string): New function; delete
2093 `convert_charc_string_into_malloced_string'.
2095 * buffer.h (find_charsets_in_charc_string): New prototype; delete
2096 `find_charsets_in_emchar_string'.
2097 (charc_string_displayed_columns): New prototype; delete
2098 `emchar_string_displayed_columns'.
2099 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
2100 `convert_charc_string_into_bufbyte_dynarr'.
2101 (convert_charc_string_into_malloced_string): New prototype; delete
2102 `convert_charc_string_into_malloced_string'.
2104 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2106 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
2108 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2110 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
2112 * char-ucs.h: Use <short> for <Charset_ID>.
2114 * mule-charset.h, char-1byte.h: Use <unsigned char> for
2117 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2119 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2122 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2124 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
2126 (Qmorohashi_daikanwa): New variable.
2127 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
2128 for `morohashi-daikanwa' attribute.
2129 (Fget_char_attribute): Likewise.
2130 (Fput_char_attribute): Likewise.
2131 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
2132 has the same value of `ideograph-daikanwa'.
2133 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
2134 (vars_of_mule_charset): Setup
2135 `Vcharacter_morohashi_daikanwa_table'.
2137 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2139 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
2141 (add_charset_to_list_mapper): Add `key' instead of
2142 `XCHARSET_NAME (value)' to return aliases.
2144 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2146 * mule-charset.c (Vcharacter_ideographic_radical_table): New
2148 (Vcharacter_ideographic_strokes_table): New variable.
2149 (Qideographic_radical): New variable.
2150 (Qideographic_strokes): New variable.
2151 (Fchar_attribute_alist): Use
2152 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
2153 attribute; use `Vcharacter_ideographic_strokes_table' for
2154 `ideographic-strokes' attribute.
2155 (Fget_char_attribute): Likewise.
2156 (Fput_char_attribute): Likewise.
2157 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
2158 `ideographic-strokes'.
2159 (vars_of_mule_charset): Setup
2160 `Vcharacter_ideographic_radical_table' and
2161 `Vcharacter_ideographic_strokes_table'.
2163 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2165 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
2166 (Qtotal_strokes): New variable.
2167 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
2168 `total-strokes' attribute.
2169 (Fget_char_attribute): Likewise.
2170 (Fput_char_attribute): Likewise.
2171 (syms_of_mule_charset): Add new symbol `total-strokes'.
2172 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
2174 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2176 * mule-charset.c (Vcharacter_decomposition_table): New variable.
2177 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
2179 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
2180 `->decomposition' attribute.
2181 (Fput_char_attribute): Likewise.
2182 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
2184 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2186 * mule-charset.c (decoding_table_check_elements): New function.
2187 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
2189 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2191 * mule-charset.c (Fset_charset_mapping_table): Use
2192 `put_char_ccs_code_point'.
2194 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2196 * mule-charset.c (decoding_table_put_char): New inline function.
2197 (put_char_ccs_code_point): Use `decoding_table_put_char'.
2199 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2201 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
2202 (XCHARSET_BYTE_SIZE): New macro.
2203 (decoding_table_remove_char): New inline function.
2204 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
2205 `decoding_table_remove_char'.
2206 (remove_char_ccs): Use `decoding_table_remove_char'.
2207 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
2209 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2211 * mule-charset.c (Vcharacter_name_table): New variable.
2212 (Qname): New variable.
2213 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
2215 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
2216 `Vcharacter_name_table' for `name' attribute.
2217 (Fremove_char_attribute): Use function `remove_char_ccs'.
2218 (put_char_ccs_code_point): New function.
2219 (remove_char_ccs): New function.
2220 (syms_of_mule_charset): Add new symbol `name'.
2221 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
2223 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2225 * mule-charset.c (make_byte_table): Add new argument `older'.
2226 (make_char_id_table): Likewise.
2227 (copy_char_id_table): Comment out because it is not used.
2228 (put_char_id_table): Modify for `make_byte_table'.
2229 (Fput_char_attribute): Make encoding_table as older object;
2230 inherit older bit of `Vcharacter_composition_table'.
2231 (mark_charset): Don't mark `cs->encoding_table'.
2232 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
2233 normal object; make `Vcharacter_composition_table' as an older
2234 object; delete staticpro for `Vcharacter_composition_table'; make
2235 `Vcharacter_variant_table' as a normal object.
2237 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
2238 (mark_object): Don't check older object in UTF-2000.
2240 * lrecord.h (struct lrecord_header): Add new member `older' in
2242 (set_lheader_implementation): Setup `SLI_header->older' in
2244 (set_lheader_older_implementation): New macro in UTF-2000.
2245 (OLDER_RECORD_P): New macro in UTF-2000.
2246 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
2247 (alloc_older_lcrecord): New prototype in UTF-2000.
2248 (alloc_older_lcrecord_type): New macro in UTF-2000.
2250 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2252 * mule-charset.c (byte_table_description): Use
2253 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
2254 (char_id_table_description): Delete bogus `, 1'.
2255 (Fget_char_attribute): Refer encoding_table of each coded-charset
2256 to get value of coded-charset attribute of a character.
2257 (Fput_char_attribute): Use `make_older_vector' instead of
2258 `make_vector'; use encoding_table of each coded-charset to store
2259 value of coded-charset attribute of a character.
2260 (Fremove_char_attribute): Use encoding_table of each coded-charset
2261 to store value of coded-charset attribute of a character.
2262 (mark_charset): Mark `cs->encoding_table'; don't mark
2263 `cs->decoding_table'.
2264 (charset_description): Add description of new member
2266 (make_charset): Initialize `encoding_table'.
2268 * char-ucs.h (struct Lisp_Charset): Add new member
2270 (CHARSET_ENCODING_TABLE): New macro.
2271 (XCHARSET_ENCODING_TABLE): New macro.
2272 (charset_code_point): New implementation.
2273 (encode_char_1): Likewise.
2275 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
2276 (disksave_object_finalization_1): Call finalizers of
2277 `all_older_lcrecords' in UTF-2000.
2278 (make_older_vector): New function in UTF-2000.
2279 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
2282 * lisp.h (make_older_vector): New prototype in UTF-2000.
2284 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2286 * lrecord.h (enum lrecord_type): Rename
2287 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
2289 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
2290 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
2291 `get_char_code_table'.
2293 * mule-charset.c (mark_char_id_table): Renamed from
2294 `mark_char_code_table'.
2295 (char_id_table_equal): Renamed from `char_code_table_equal'.
2296 (char_id_table_hash): Renamed from `char_code_table_hash'.
2297 (make_char_id_table): Renamed from `make_char_code_table'.
2298 (copy_char_id_table): Renamed from `copy_char_code_table'.
2299 (get_char_id_table): Renamed from `get_char_code_table'.
2300 (put_char_id_table): Renamed from `put_char_code_table'.
2301 (to_char_id): Renamed from `to_char_code'.
2303 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
2304 `Lisp_Char_Code_Table'.
2305 (char_id_table): Renamed from `char_code_table'.
2306 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
2307 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
2308 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
2309 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
2310 (get_char_id_table): Renamed from `get_char_code_table'.
2312 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2314 * lrecord.h (enum lrecord_type): Rename
2315 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
2317 * mule-charset.c (mark_byte_table): Renamed from
2318 `mark_char_byte_table'.
2319 (byte_table_equal): Renamed from `char_byte_table_equal'.
2320 (byte_table_hash): Renamed from `byte_table_hash'.
2321 (make_byte_table): Renamed from `make_byte_table'.
2322 (copy_byte_table): Renamed from `copy_char_byte_table'.
2324 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
2325 `Lisp_Char_Byte_Table'.
2326 (byte_table): Renamed from `char_byte_table'.
2327 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
2328 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
2329 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
2330 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
2332 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2334 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
2335 (dfc_convert_to_internal_format): Likewise.
2337 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2338 * text-coding.c (Fcoding_system_alias_p): New function.
2339 * text-coding.c (Fcoding_system_aliasee): New function.
2340 * text-coding.c (append_suffix_to_symbol): New function.
2341 * text-coding.c (dangling_coding_system_alias_p): New function.
2342 * text-coding.c (Ffind_coding_system):
2343 * text-coding.c (Fcopy_coding_system):
2344 * text-coding.c (encode_coding_no_conversion):
2345 * text-coding.c (syms_of_file_coding):
2346 * text-coding.c (vars_of_file_coding):
2347 Rewrite coding system alias code.
2348 Allow nested aliases, like symbolic links.
2349 Allow redefinition of coding system aliases.
2350 Prevent existence of dangling coding system aliases.
2351 Eliminate convert_to_external_format.
2352 Eliminate convert_to_internal_format.
2354 * text-coding.c: Change enum eol_type to eol_type_t.
2356 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2358 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2359 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2361 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2362 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2364 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2366 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2367 `ideograph-daikanwa'.
2369 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2370 (Vcharset_ucs_bmp): Likewise.
2371 (Vcharset_mojikyo): Add new extern variable definition.
2372 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2373 (Vcharset_latin_iso8859_3): Likewise.
2374 (Vcharset_latin_iso8859_4): Likewise.
2375 (Vcharset_latin_iso8859_9): Likewise.
2376 (Vcharset_latin_viscii_lower): Likewise.
2377 (Vcharset_latin_viscii_upper): Likewise.
2378 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2379 `mojikyo' code-point is used to decode.
2380 (encode_char_2): New function [to convert `mojikyo' code-point to
2381 Mojikyo font encoding].
2382 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2383 (breakup_char_1): Likewise.
2384 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2386 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2388 * text-coding.c (Fmake_coding_system): Add document about
2389 `disable-composition' property.
2391 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2393 * text-coding.c (Qdisable_composition): New variable; delete
2395 (Fmake_coding_system): Add new property `disable-composite';
2396 delete property `composite'.
2397 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2398 instead of `!CODING_SYSTEM_COMPOSITE'.
2399 (syms_of_file_coding): Add new symbol `disable-composition';
2400 delete symbol `composite'.
2402 * file-coding.h (struct Lisp_Coding_System): Add
2403 `disable_composition'; delete `enable_composition'.
2404 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2405 `CODING_SYSTEM_COMPOSITE'.
2406 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2407 `XCODING_SYSTEM_COMPOSITE'.
2409 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2411 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2414 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2416 * text-coding.c (Qcomposite): New variable.
2417 (Fmake_coding_system): Add new property `composite'.
2418 (struct decoding_stream): Add `combined_char_count',
2419 `combined_chars' and `combining_table' in UTF-2000.
2420 (COMPOSE_FLUSH_CHARS): New macro.
2421 (COMPOSE_ADD_CHAR): New macro.
2422 (reset_decoding_stream): Reset `str->combined_char_count' and
2423 `str->combining_table' in UTF-2000.
2424 (decode_coding_iso2022): Modify for character-decomposition.
2425 (syms_of_file_coding): Add new symbol `composite'.
2427 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2429 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2430 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2431 of `Vcharacter_composition_table' if `->decomposition' property
2433 (Qlatin_tcvn5712): New variable.
2434 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2435 (complex_vars_of_mule_charset): Add new coded-charset
2438 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2440 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2442 * file-coding.h (struct Lisp_Coding_System): Add
2443 `enable_composition'.
2444 (CODING_SYSTEM_COMPOSITE): New macro.
2445 (XCODING_SYSTEM_COMPOSITE): New macro.
2447 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2449 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2451 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2453 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2454 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2456 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2458 * mule-charset.c (Vcharset_mojikyo): New variable.
2459 (Fdefine_char): Don't use coded-charset which does not have
2460 non-builtin character range to allocate character-id.
2461 (Qmojikyo): New variable.
2462 (syms_of_mule_charset): Add new symbol `mojikyo'.
2463 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2465 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2466 (LEADING_BYTE_MOJIKYO): New macro.
2467 (MIN_CHAR_MOJIKYO): New macro.
2468 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2469 (MAX_CHAR_MOJIKYO): New macro.
2471 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2473 * mule-charset.c (remove_char_attribute): Fixed.
2475 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2477 * mule-charset.c (remove_char_attribute): New function.
2478 (Fremove_char_attribute): New function.
2479 (encode_builtin_char_1): Comment out builtin-support for
2480 greek-iso8859-7 and cyrillic-iso8859-5.
2481 (Fdecode_char): Check `code' is an integer.
2482 (syms_of_mule_charset): Add `remove-char-attribute'.
2483 (MIN_CHAR_GREEK): Deleted.
2484 (MAX_CHAR_GREEK): Likewise.
2485 (MIN_CHAR_CYRILLIC): Likewise.
2486 (MAX_CHAR_CYRILLIC): Likewise.
2487 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
2488 MAX_CHAR_GREEK for `greek-iso8859-7'.
2490 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
2491 (MAX_CHAR_GREEK): Likewise.
2492 (MIN_CHAR_CYRILLIC): Likewise.
2493 (MAX_CHAR_CYRILLIC): Likewise.
2495 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
2497 * mule-charset.c (Fdefine_char): Fix problem when new code-point
2498 format is used without `ucs' property.
2499 (Fdecode_char): Fix problem with GR representation.
2500 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
2501 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
2503 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2505 * mule-charset.c (make_builtin_char): New function.
2506 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
2507 (Fset_charset_mapping_table): Modify for new representation of
2509 (Fdecode_char): New function.
2510 (syms_of_mule_charset): Add new builtin function `decode-char' in
2513 * char-ucs.h (make_builtin_char): New prototype.
2514 (DECODE_CHAR): New inline function.
2515 (MAKE_CHAR): Use `DECODE_CHAR'.
2517 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
2519 * text-coding.c (parse_charset_conversion_specs): Use
2520 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
2522 (iso2022_designate): Likewise.
2524 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
2525 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
2527 * mule-charset.c (Vcharset_ucs): New variable.
2528 (print_charset): Change design; use `CHARSET_CHARS' and
2529 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
2530 (make_charset): Change signature to specify `chars' and
2531 `dimension' instead of `type'.
2532 (range_charset_code_point): Modify for 256^n-set.
2533 (encode_builtin_char_1): Encode as `ucs' in default.
2534 (Fmake_charset): Modify for `make_charset'.
2535 (Fmake_reverse_direction_charset): Likewise.
2536 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
2538 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
2541 * char-ucs.h (Vcharset_ucs): New variable.
2542 (LEADING_BYTE_UCS): New macro.
2543 (struct Lisp_Charset): Delete `type'; change type of `dimension'
2544 and `chars' to `unsigned short' from `unsigned int'.
2545 (CHARSET_TYPE): Deleted.
2546 (XCHARSET_TYPE): Deleted.
2548 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
2550 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
2552 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
2553 (ENCODE_CHAR): New macro.
2555 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2557 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2558 to 0.14 (Kawachi-Katakami).
2560 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2562 * text-coding.c (char_encode_shift_jis): Modify for
2563 `charset_code_point'.
2564 (char_encode_iso2022): Likewise.
2566 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
2567 (integer) instead of list of <Lisp_Object>s (integers) as the
2568 format of code-point of a coded-charset.
2569 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2570 (encode_builtin_char_1): New function; delete
2571 `split_builtin_char'.
2572 (charset_code_point): Return <int> instead of <Lisp_Object>.
2573 (Fsplit_char): Don't use `SPLIT_CHAR'.
2575 * char-ucs.h (encode_builtin_char_1): New prototype; delete
2576 prototype for `split_builtin_char'.
2577 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2578 (charset_code_point): Likewise.
2579 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
2580 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
2582 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
2584 * mule-charset.c (complex_vars_of_mule_charset): Don't define
2585 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
2587 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2589 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
2591 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
2592 (MAX_CHAR_OBS_94x94): Deleted.
2594 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2596 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
2598 * char-ucs.h (MAX_CHAR_BMP): New macro.
2600 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2602 * text-coding.c: Sync with r21-2-24.
2604 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2606 * file-coding.c: Modify for UTF-2000.
2608 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2610 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2613 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2615 * mule-charset.c (split_builtin_char): Delete builtin support for
2616 `katakana-jisx0201'.
2617 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
2618 BMP area in builtin representation.
2620 * char-ucs.h (MAKE_CHAR): Delete builtin support for
2621 `Vcharset_katakana_jisx0201'.
2623 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2625 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
2626 (Qisolated): New variable.
2627 (Qinitial): New variable.
2628 (Qmedial): New variable.
2629 (Qfinal): New variable.
2630 (Qvertical): New variable.
2631 (Qsmall): New variable.
2632 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
2633 `Qvertical' and `Qsmall'.
2634 (Qmojikyo_pj_[1 .. 21]): New variable.
2635 (syms_of_mule_charset): Add new symbols `isolated', `initial',
2636 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
2637 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
2640 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2642 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
2643 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
2644 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
2646 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2648 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
2649 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
2651 (Qjapanese_jisx0208_1990): New variable.
2652 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
2653 (complex_vars_of_mule_charset): Add new coded-charset
2654 `japanese-jisx0208-1990'.
2656 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
2657 (MIN_CHAR_JIS_X0208_1990): New macro.
2658 (MAX_CHAR_JIS_X0208_1990): New macro.
2660 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2662 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
2663 coded-charset is not found.
2665 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2667 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
2668 (Fdefine_char): Use `Fmake_char'.
2670 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2672 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
2673 (Vcharset_hiragana_jisx0208): Deleted.
2674 (Vcharset_katakana_jisx0208): Deleted.
2675 (Qideograph_daikanwa): New variable.
2676 (Qhiragana_jisx0208): Deleted.
2677 (Qkatakana_jisx0208): Deleted.
2678 (split_builtin_char): Split `ideograph-daikanwa'.
2679 (Fsplit_char): New implementation for UTF-2000.
2680 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
2681 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
2682 (complex_vars_of_mule_charset): Add new coded-charset
2683 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
2684 `katakana-jisx0208'.
2686 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
2687 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
2688 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
2689 (MIN_CHAR_DAIKANWA): New macro.
2690 (MAX_CHAR_DAIKANWA): New macro.
2692 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2694 * data.c (Fstring_to_number): Don't recognize floating point if
2697 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2699 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
2701 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2703 * mule-charset.c (Qsquare): New variable.
2704 (to_char_code): Add `Qsquare'.
2705 (syms_of_mule_charset): Add new symbol `square'.
2707 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2709 * mule-charset.c (Qcircle): New variable.
2710 (to_char_code): Add `Qcircle'.
2711 (syms_of_mule_charset): Add new symbol `circle'.
2713 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2715 * mule-charset.c (Qfont): New variable.
2716 (to_char_code): Add `Qfont'.
2717 (syms_of_mule_charset): Add new symbol `font'.
2719 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2721 * mule-charset.c (Qsub): New variable.
2722 (to_char_code): Add `Qsub'.
2723 (syms_of_mule_charset): Add new symbol `sub'.
2725 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2727 * mule-charset.c (Fput_char_attribute): Convert each element of
2728 VALUE to GL position if ATTRIBUTE is a GR-set,
2730 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2732 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
2733 coded-charset is a GR-set.
2735 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2737 * mule-charset.c (Fput_char_attribute): Check each element of
2738 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
2740 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2742 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
2744 (Qethiopic_ucs): New variable in UTF-2000.
2745 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
2746 (complex_vars_of_mule_charset): Add new coded-charset
2747 `ethiopic-ucs' in UTF-2000.
2749 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
2750 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2752 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2754 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
2756 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2758 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
2761 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2763 * mule-charset.c (Vcharacter_variant_table): New variable.
2764 (Q_ucs): New variable.
2765 (Fchar_variants): New function.
2766 (Fput_char_attribute): Register `->ucs' value to
2767 `Vcharacter_variant_table'.
2768 (syms_of_mule_charset): Add new function `char-variants' and new
2770 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
2772 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2774 * mule-charset.c (get_char_code_table): Allow negative character
2776 (put_char_code_table): Likewise.
2777 (Vcharacter_composition_table): New variable.
2778 (Q_decomposition): New variable.
2779 (Qwide): New variable.
2780 (Qnarrow): New variable.
2781 (Qcompat): New variable.
2782 (QnoBreak): New variable.
2783 (Qsuper): New variable.
2784 (Qfraction): New variable.
2785 (to_char_code): New function.
2786 (Fget_composite_char): New function.
2787 (Fput_char_attribute): Register `->decomposition' value to
2788 `Vcharacter_composition_table'.
2789 (syms_of_mule_charset): Add new function `get-composite-char', new
2790 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
2791 `super' and `fraction'.
2792 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
2794 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2796 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
2797 character; copy the return value.
2799 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2801 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
2803 * mule-charset.c (range_charset_code_point): Must use make_int.
2804 (split_builtin_char): New function.
2806 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2808 * mule-charset.c (char_byte_table): Change name from
2809 "char-code-table" to "char-byte-table".
2810 (mark_char_code_table): New function.
2811 (char_code_table_equal): New function.
2812 (char_code_table_hash): New function.
2813 (char_code_table_description): New constant.
2814 (char_code_table): New type.
2815 (make_char_code_table): New function.
2816 (copy_char_code_table): New function.
2817 (get_char_code_table): Modify for `char_code_table' type.
2818 (put_char_code_table): Likewise.
2819 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
2822 * char-ucs.h (char_code_table): New type.
2823 (XCHAR_CODE_TABLE): New macro.
2824 (XSETCHAR_CODE_TABLE): New macro.
2825 (CHAR_CODE_TABLE_P): New macro.
2826 (GC_CHAR_CODE_TABLE_P): New macro.
2827 (struct Lisp_Char_Code_Table): New structure.
2829 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2831 * mule-charset.c (Fmake_charset): Setup byte_offset for
2834 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
2836 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
2839 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2841 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
2844 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2846 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
2847 charset, it is regarded as a charset.
2848 (put_char_attribute): New function in UTF-2000.
2849 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
2850 charset, mapping-table of the charset is modified.
2851 (Fdefine_char): New function in UTF-2000.
2852 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
2853 `Fput_char_attribute'.
2854 (syms_of_mule_charset): Add new function `define-char' and new
2855 symbol `ucs' in UTF-2000.
2856 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
2858 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2860 * mule-charset.c (Fcharset_name): Define `byte_offset' in
2861 non-UTF-2000 configuration.
2863 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2865 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
2866 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
2868 * mule-charset.c (mark_charset): `cs->encoding_table' has been
2870 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
2871 (Fset_charset_mapping_table): Likewise.
2873 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
2874 (CHARSET_ENCODING_TABLE): Delete.
2875 (XCHARSET_ENCODING_TABLE): Delete.
2876 (charset_code_point): New interface.
2878 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2880 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
2881 instead of `charset_get_byte1' and `charset_get_byte2'.
2883 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
2884 (charset_get_byte2): Deleted.
2886 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2888 * char-ucs.h (SPLIT_CHAR): New inline function.
2889 (breakup_char_1): Use `SPLIT_CHAR'.
2891 * mule-charset.c (range_charset_code_point): New function.
2892 (charset_code_point): New function.
2894 * char-ucs.h (range_charset_code_point): New interface.
2895 (breakup_char_1): Use `range_charset_code_point'.
2897 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2899 * mule-charset.c (Fmake_charset): Delete unused local variable
2902 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
2903 (breakup_char_1): Find a charset and code-point in
2904 `Vcharacter_attribute_table'.
2906 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2908 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2911 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2913 * mule-charset.c (Vcharacter_attribute_table): New variable.
2914 (Fchar_attribute_alist): New function.
2915 (Fget_char_attribute): New function.
2916 (Fput_char_attribute): New function.
2917 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
2919 (syms_of_mule_charset): Add new function `char-attribute-alist',
2920 `get-char-attribute' and `put-char-attribute'.
2921 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
2923 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
2925 * mule-charset.c (Fmake_charset): Just use
2926 `get_unallocated_leading_byte'.
2928 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
2929 sets; don't use final-byte based number for private sets.
2931 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2933 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
2936 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2938 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2941 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2943 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
2944 of `CHAR_LEADING_BYTE' in UTF-2000.
2946 * insdel.c (find_charsets_in_bufbyte_string): Use
2947 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2948 (find_charsets_in_emchar_string): Likewise.
2950 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
2951 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2953 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
2954 (CHAR_CHARSET_ID): New macro.
2956 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2958 * chartab.c (get_char_table): Don't use type `Charset_ID' for
2959 charset-id - MIN_LEADING_BYTE.
2960 (put_char_table): Likewise.
2962 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2964 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
2965 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
2966 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
2967 (CHARSET_ID_OFFSET): New macro.
2968 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
2969 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
2970 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
2971 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2973 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2975 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
2976 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
2977 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
2978 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
2979 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
2981 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2983 * mule-charset.c (next_allocated_leading_byte): New variable in
2985 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
2986 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
2987 (get_unallocated_leading_byte): Simply use
2988 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
2989 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
2992 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
2993 (MAX_LEADING_BYTE_PRIVATE): New macro.
2994 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
2995 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
2997 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2999 * mule-charset.c (Fmake_charset): Allocate final-byte based
3000 charset-id for 94-set, 96-set and 94x94-set.
3002 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3004 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
3006 (Fmake_charset): Likewise.
3007 (complex_vars_of_mule_charset): Modify the font registry of
3008 `ucs-bmp' not to match `Ethiopic-Unicode'.
3010 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3012 * mule-charset.c (complex_vars_of_mule_charset): Add font
3013 registory of `ucs-bmp'.
3015 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3017 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
3018 coded-charsets in `default-coded-charset-priority-list' when
3019 breaking up a character.
3021 * mule-charset.c (Vcharset_latin_viscii): New variable.
3022 (Qlatin_viscii): New variable.
3023 (make_charset): Don't use `decoding_table'.
3024 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
3026 (Fset_charset_mapping_table): New implementation.
3027 (syms_of_mule_charset): Add new symbol `latin-viscii'.
3028 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
3029 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
3030 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
3031 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
3032 charset `latin_viscii'.
3034 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
3035 (CHARSET_TYPE_94X94): Change to 1 from 2.
3036 (CHARSET_TYPE_96): Change to 2 from 1.
3037 (CHARSET_TYPE_128): New macro.
3038 (CHARSET_TYPE_128X128): Change to 5 from 4.
3039 (CHARSET_TYPE_256): New macro.
3040 (CHARSET_TYPE_256X256): Change to 7 from 5.
3041 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
3043 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3045 * text-coding.c (char_encode_shift_jis): Refer
3046 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
3047 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
3049 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
3050 (char_byte_table_equal): New function in UTF-2000.
3051 (char_byte_table_hash): New function in UTF-2000.
3052 (char_byte_table_description): New constant in UTF-2000.
3053 (char_byte_table): New type in UTF-2000.
3054 (make_char_byte_table): New function in UTF-2000.
3055 (copy_char_byte_table): New function in UTF-2000.
3056 (make_char_code_table): New macro in UTF-2000.
3057 (get_char_code_table): New function in UTF-2000.
3058 (put_char_code_table): New function in UTF-2000.
3059 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3060 (charset_description): Add setting in UTF-2000.
3061 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
3062 `CHARSET_TO_BYTE1_TABLE(cs)'.
3063 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
3064 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
3065 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
3066 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
3067 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
3068 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
3069 `CHARSET_TO_BYTE2_TABLE(cs)'.
3071 * char-ucs.h (char_byte_table): New type.
3072 (XCHAR_BYTE_TABLE): New macro.
3073 (XSETCHAR_BYTE_TABLE): New macro.
3074 (CHAR_BYTE_TABLE_P): New macro.
3075 (GC_CHAR_BYTE_TABLE_P): New macro.
3076 (struct Lisp_Char_Byte_Table): New structure.
3077 (get_char_code_table): New interface.
3078 (Emchar_to_byte_table): Deleted.
3079 (get_byte_from_character_table): Deleted.
3080 (struct Lisp_Charset): Add `encoding_table'; delete
3081 `to_byte1_table' and `to_byte2_table'.
3082 (CHARSET_ENCODING_TABLE): New macro.
3083 (CHARSET_TO_BYTE1_TABLE): Deleted.
3084 (CHARSET_TO_BYTE2_TABLE): Deleted.
3085 (XCHARSET_ENCODING_TABLE): New macro.
3086 (XCHARSET_TO_BYTE1_TABLE): Deleted.
3087 (XCHARSET_TO_BYTE2_TABLE): Deleted.
3089 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3091 * mule-charset.c (syms_of_mule_charset): Delete charset alias
3092 `vietnamese-viscii-*'.
3094 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3096 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
3097 (Qvietnamese_viscii_upper): New variable.
3098 (Fdefine_charset_alias): New function.
3099 (syms_of_mule_charset): Add new function `define-charset-alias'.
3100 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
3101 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
3104 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
3106 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
3107 (MAX_CHAR_OBS_94x94): New macro.
3108 (breakup_char_1): Support obsolete XEmacs-UCS private code space
3111 * mule-charset.c (put_byte_from_character_table): Change unit size
3113 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
3115 (Fmake_reverse_direction_charset): Modify dummy argument of
3116 `make_charset' for non-UTF-2000 environment.
3118 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3120 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
3122 * mule-charset.c (destroy_byte_from_character_table): New macro.
3123 (latin_jisx0201_to_ucs): Deleted.
3124 (latin_iso8859_2_to_ucs): Deleted.
3125 (latin_iso8859_3_to_ucs): Deleted.
3126 (latin_iso8859_4_to_ucs): Deleted.
3127 (latin_iso8859_9_to_ucs): Deleted.
3128 (latin_viscii_lower_to_ucs): Deleted.
3129 (latin_viscii_upper_to_ucs): Deleted.
3130 (mark_charset): Mark `cs->decoding_table'.
3131 (Fcharset_mapping_table): Fix DOC-string.
3132 (Fset_charset_mapping_table): New function.
3133 (syms_of_mule_charset): Add nwe function
3134 `set-charset-mapping-table'.
3135 (complex_vars_of_mule_charset): Don't setup and use
3138 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
3140 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
3143 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
3145 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
3146 (Vcharset_katakana_jisx0208): New variable.
3147 (Qhiragana_jisx0208): New variable.
3148 (Qkatakana_jisx0208): New variable.
3149 (make_charset): Add new argument `byte_offset'.
3150 (charset_get_byte1): Modify for new coded-charset definition; use
3151 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3152 `XCHARSET_BYTE_OFFSET'.
3153 (Fmake_charset): Modify for `make_charset'.
3154 (Fmake_reverse_direction_charset): Likewise.
3155 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
3156 `katakana-jisx0208'.
3157 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
3158 `.' in font registry of charset `katakana-jisx0201',
3159 `latin-jisx0201', `vietnamese-viscii-lower' and
3160 `vietnamese-viscii-upper'; modify DOC-string of charset
3161 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
3162 registry of charset `japanese-jisx0208' not to use font for JIS
3163 X0208:1990; add new charset `hiragana-jisx0208' and
3164 `katakana-jisx0208'.
3166 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
3167 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
3168 (struct Lisp_Charset): Add `byte_offset'.
3169 (CHARSET_BYTE_OFFSET): New macro.
3170 (XCHARSET_UCS_MIN): New macro.
3171 (XCHARSET_UCS_MAX): New macro.
3172 (XCHARSET_CODE_OFFSET): New macro.
3173 (XCHARSET_BYTE_OFFSET): New macro.
3174 (MIN_CHAR_HIRAGANA): New macro.
3175 (MAX_CHAR_HIRAGANA): New macro.
3176 (MIN_CHAR_KATAKANA): New macro.
3177 (MAX_CHAR_KATAKANA): New macro.
3178 (MAKE_CHAR): Modify for new coded-charset definition; use
3179 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3180 `XCHARSET_BYTE_OFFSET'.
3182 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3184 * mule-charset.c (CHAR96): Deleted.
3185 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
3187 (latin_iso8859_2_to_ucs): Likewise.
3188 (latin_iso8859_3_to_ucs): Likewise.
3189 (latin_iso8859_4_to_ucs): Likewise.
3190 (latin_iso8859_9_to_ucs): Likewise.
3191 (latin_viscii_lower_to_ucs): Likewise.
3192 (latin_viscii_upper_to_ucs): Likewise.
3193 (latin_tcvn5712_to_ucs): Commented out.
3194 (make_charset): Change type of argument `decoding_table' from
3195 <Emchar*> to <Lisp_Object> [vector of characters].
3196 (Fmake_charset): Modify for `make_charset'.
3197 (Fmake_reverse_direction_charset): Likewise.
3198 (Fcharset_mapping_table): New function in UTF-2000.
3199 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
3201 (complex_vars_of_mule_charset): Modify for type change of
3202 `*_to_ucs'; modify for `make_charset'.
3204 * char-ucs.h (struct Lisp_Charset): Change type of
3205 `decoding_table' from <Emchar*> to <Lisp_Object>.
3206 (MAKE_CHAR): Modify for new specification of `decoding_table'.
3208 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3210 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
3211 error with non-UTF-2000-Mule.
3213 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
3215 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
3217 (Vcharset_chinese_cns11643_4): Likewise.
3218 (Vcharset_chinese_cns11643_5): Likewise.
3219 (Vcharset_chinese_cns11643_6): Likewise.
3220 (Vcharset_chinese_cns11643_7): Likewise.
3221 (Qchinese_cns11643_3): Likewise.
3222 (Qchinese_cns11643_4): Likewise.
3223 (Qchinese_cns11643_5): Likewise.
3224 (Qchinese_cns11643_6): Likewise.
3225 (Qchinese_cns11643_7): Likewise.
3226 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
3227 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3228 and `chinese-cns11643-7' to lisp/mule/chinese.el.
3229 (complex_vars_of_mule_charset): Likewise.
3231 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3233 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
3235 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
3236 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
3238 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3240 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
3242 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
3243 (breakup_char_1): Likewise.
3245 * text-coding.c (char_encode_iso2022): Keep designated charsets if
3246 one of them includes the specified character.
3248 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3250 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
3252 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3254 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
3256 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3258 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
3259 definition for non-UTF-2000 Mule.
3260 (latin_iso8859_3_to_ucs): Likewise.
3261 (latin_iso8859_4_to_ucs): Likewise.
3262 (latin_iso8859_9_to_ucs): Likewise.
3263 (latin_jisx0201_to_ucs): Likewise.
3264 (MIN_CHAR_THAI): Likewise.
3265 (MAX_CHAR_THAI): Likewise.
3266 (MIN_CHAR_GREEK): Likewise.
3267 (MAX_CHAR_GREEK): Likewise.
3268 (MIN_CHAR_HEBREW): Likewise.
3269 (MAX_CHAR_HEBREW): Likewise.
3270 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
3271 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
3272 (MIN_CHAR_CYRILLIC): Likewise.
3273 (MAX_CHAR_CYRILLIC): Likewise.
3275 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3277 * char-ucs.h (breakup_char_1): Use
3278 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
3279 thai-tis620 and katakana-jisx0201 area.
3281 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3283 * char-ucs.h (breakup_char_1): Use
3284 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
3287 * text-coding.c (reset_encoding_stream): Fixed.
3288 (char_encode_ucs4): Delete `& 255'.
3290 * char-ucs.h (breakup_char_1): Use
3291 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
3293 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3295 * file-coding.c (Fmake_coding_system): Don't set up
3296 `codesys->fixed.size'.
3297 (encode_coding_no_conversion): Don't refer
3298 `str->codesys->fixed.size'.
3300 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3302 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
3303 (latin_a_char_to_byte1): Deleted.
3304 (latin_a_char_to_byte2): Deleted.
3306 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3308 * mule-charset.c (make_charset): Add new argument `ucs_min',
3309 `ucs_max' and `code_offset'.
3310 (charset_get_byte1): New implementation [delete specific charset
3311 depended implementations].
3312 (Fmake_charset): Modify for `make_charset'.
3313 (Fmake_reverse_direction_charset): Likewise.
3314 (complex_vars_of_mule_charset): Likewise.
3316 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
3318 (CHARSET_UCS_MIN): New macro.
3319 (CHARSET_UCS_MAX): New macro.
3320 (CHARSET_CODE_OFFSET): New macro.
3321 (MAKE_CHAR): Delete charset depended definitions [except
3324 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3326 * char-ucs.h (breakup_char_1): Use
3327 `Vdefault_coded_charset_priority_list' for C0-Controls,
3328 Basic-Latin, C1-Controls and Latin-1-Supplement area.
3330 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3332 * char-ucs.h (charset_get_byte1): New function.
3333 (XCHARSET_GET_BYTE1): Deleted.
3334 (charset_get_byte2): New function.
3335 (XCHARSET_GET_BYTE2): Deleted.
3336 (Vdefault_coded_charset_priority_list): New external variable.
3337 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3338 `Vdefault_preferred_coded_charset_list'.
3340 * mule-charset.c (charset_get_byte1): New function.
3341 (charset_get_byte2): New function.
3342 (Vdefault_coded_charset_priority_list): New variable.
3343 (vars_of_mule_charset): Add new variable
3344 `default-coded-charset-priority-list'.
3346 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3348 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3349 (XCHARSET_GET_BYTE2): New inline function.
3350 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3351 `XCHARSET_GET_BYTE2'.
3353 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3355 * mule-charset.c (make_charset): Initialize
3356 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3357 NULL if table is not defined.
3359 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3361 * text-coding.c (char_encode_shift_jis): Use
3362 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3363 `ucs_to_latin_jisx0201'.
3365 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3366 (ucs_to_latin_iso8859_2): Deleted.
3367 (ucs_to_latin_iso8859_3): Deleted.
3368 (ucs_to_latin_iso8859_4): Deleted.
3369 (ucs_to_latin_iso8859_9): Deleted.
3370 (ucs_to_latin_viscii_lower): Deleted.
3371 (ucs_to_latin_viscii_upper): Deleted.
3372 (ucs_to_latin_tcvn5712): Deleted.
3373 (make_charset): Add new argument `decoding_table'; set up
3374 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3375 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3376 `decoding_table' is defined in UTF-2000.
3377 (Fmake_charset): Modify for `make_charset'.
3378 (Fmake_reverse_direction_charset): Likewise.
3379 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3380 and `GENERATE_96_SET'.
3382 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3383 (ucs_to_latin_jisx0201): Deleted.
3384 (latin_iso8859_2_to_ucs): Deleted.
3385 (ucs_to_latin_iso8859_2): Deleted.
3386 (latin_iso8859_3_to_ucs): Deleted.
3387 (ucs_to_latin_iso8859_3): Deleted.
3388 (latin_iso8859_4_to_ucs): Deleted.
3389 (ucs_to_latin_iso8859_4): Deleted.
3390 (latin_iso8859_9_to_ucs): Deleted.
3391 (ucs_to_latin_iso8859_9): Deleted.
3392 (latin_viscii_lower_to_ucs): Deleted.
3393 (ucs_to_latin_viscii_lower): Deleted.
3394 (latin_viscii_upper_to_ucs): Deleted.
3395 (ucs_to_latin_viscii_upper): Deleted.
3396 (struct Lisp_Charset): Renamed `encoding_table' to
3397 `to_byte1_table'; add `to_byte2_table'.
3398 (CHARSET_DECODING_TABLE): New macro.
3399 (CHARSET_TO_BYTE1_TABLE): New macro.
3400 (CHARSET_TO_BYTE2_TABLE): New macro.
3401 (XCHARSET_DECODING_TABLE): New macro.
3402 (XCHARSET_TO_BYTE1_TABLE): New macro.
3403 (XCHARSET_TO_BYTE2_TABLE): New macro.
3404 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3406 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3407 don't use `ucs_to_*' tables.
3409 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3411 * text-coding.c (Fmake_coding_system): Don't set up
3412 `codesys->fixed.size'.
3413 (encode_coding_no_conversion): Use `if' instead of `switch'.
3415 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3417 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3419 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3420 (Fmake_charset): Modify for `make_charset'.
3421 (Fmake_reverse_direction_charset): Likewise.
3422 (complex_vars_of_mule_charset): Likewise.
3424 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3426 * text-coding.c (char_encode_shift_jis): Use table
3427 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3429 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3431 * text-coding.c (text_encode_generic): Use `if' instead of
3433 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3436 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3438 * text-coding.c (encode_coding_sjis): Deleted.
3439 (char_encode_shift_jis): New function.
3440 (char_finish_shift_jis): New function.
3441 (reset_encoding_stream): Set up `encode_char' and `finish' for
3442 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3443 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3444 (char_encode_utf8): Treat `eol_type'.
3446 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3448 * file-coding.c (decode_coding_iso2022): Use
3449 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3451 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3453 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3456 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3458 * char-lb.h (CHAR_COLUMNS): New macro.
3460 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3462 * text-coding.c (char_encode_ucs4): New function.
3463 (char_finish_ucs4): New function.
3464 (encode_coding_ucs4): Deleted.
3465 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3466 (text_encode_generic): Delete local variable `charset' and `half'.
3467 (ucs_to_mule_table): Deleted.
3468 (mule_to_ucs_table): Deleted.
3469 (Fset_ucs_char): Deleted.
3470 (ucs_to_char): Deleted.
3471 (Fucs_char): Deleted.
3472 (Fset_char_ucs): Deleted.
3473 (Fchar_ucs): Deleted.
3474 (decode_ucs4): Deleted.
3475 (mule_char_to_ucs4): Deleted.
3476 (encode_ucs4): Deleted.
3477 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3478 (decode_coding_utf8): Likewise.
3479 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3480 (char_encode_iso2022): Fixed.
3481 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3482 `Fset_char_ucs' and `Fchar_ucs'.
3483 (complex_vars_of_file_coding): Don't initialize
3484 `ucs_to_mule_table'.
3486 * objects-tty.c (tty_initialize_font_instance): Don't use
3489 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
3492 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
3493 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3495 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
3496 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3497 (emchar_string_displayed_columns): Likewise.
3499 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
3500 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3501 (string_column_at_point): Likewise.
3502 (Fmove_to_column): Likewise.
3504 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
3505 `encoding_table' and `decoding_table'.
3506 (CHARSET_REP_BYTES): Deleted.
3507 (XCHARSET_REP_BYTES): Deleted.
3508 (XCHARSET_COLUMNS): Deleted.
3509 (CHAR_COLUMNS): New macro.
3510 (lookup_composite_char): Deleted unconditionally.
3511 (composite_char_string): Likewise.
3513 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3515 * char-ucs.h (Emchar_to_byte_table): New type.
3516 (get_byte_from_character_table): New function interface.
3517 (Vcharset_latin_jisx0201): New variable.
3518 (latin_jisx0201_to_ucs): New variable.
3519 (ucs_to_latin_jisx0201): New variable.
3520 (Vcharset_latin_iso8859_2): New variable.
3521 (latin_iso8859_2_to_ucs): New variable.
3522 (ucs_to_latin_iso8859_2): New variable.
3523 (Vcharset_latin_iso8859_3): New variable.
3524 (latin_iso8859_3_to_ucs): New variable.
3525 (ucs_to_latin_iso8859_3): New variable.
3526 (Vcharset_latin_iso8859_4): New variable.
3527 (latin_iso8859_4_to_ucs): New variable.
3528 (ucs_to_latin_iso8859_4): New variable.
3529 (Vcharset_latin_iso8859_9): New variable.
3530 (latin_iso8859_9_to_ucs): New variable.
3531 (ucs_to_latin_iso8859_9): New variable.
3532 (Vcharset_latin_viscii_lower): New variable.
3533 (latin_viscii_lower_to_ucs): New variable.
3534 (ucs_to_latin_viscii_lower): New variable.
3535 (Vcharset_latin_viscii_upper): New variable.
3536 (latin_viscii_upper_to_ucs): New variable.
3537 (ucs_to_latin_viscii_upper): New variable.
3538 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
3539 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
3540 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
3541 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
3542 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
3543 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
3544 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
3545 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
3546 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
3547 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
3549 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
3550 (Vcharset_latin_viscii_upper): New variable.
3551 (make_byte_from_character_table): New function.
3552 (put_byte_from_character_table): New function.
3553 (get_byte_from_character_table): New function.
3554 (CHAR96): New macro.
3555 (ucs_to_latin_jisx0201): New variable.
3556 (latin_jisx0201_to_ucs): New variable.
3557 (ucs_to_latin_iso8859_2): New variable.
3558 (latin_iso8859_2_to_ucs): New variable.
3559 (ucs_to_latin_iso8859_3): New variable.
3560 (latin_iso8859_3_to_ucs): New variable.
3561 (ucs_to_latin_iso8859_4): New variable.
3562 (latin_iso8859_4_to_ucs): New variable.
3563 (ucs_to_latin_iso8859_9): New variable.
3564 (latin_iso8859_9_to_ucs): New variable.
3565 (ucs_to_latin_viscii_lower): New variable.
3566 (latin_viscii_lower_to_ucs): New variable.
3567 (ucs_to_latin_viscii_upper): New variable.
3568 (latin_viscii_upper_to_ucs): New variable.
3569 (ucs_to_latin_tcvn5712): New variable.
3570 (latin_tcvn5712_to_ucs): New variable.
3571 (Qlatin_viscii_lower): New variable.
3572 (Qlatin_viscii_upper): New variable.
3573 (syms_of_mule_charset): Set up new symbol
3574 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
3575 (complex_vars_of_mule_charset): Set up new charset
3576 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
3577 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
3578 `ucs_to_<CHARSET>' tables.
3580 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3582 * text-coding.c: New file.
3584 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3586 * mule-charset.c (Fmake_char): Fix problem of 256-set.
3588 * char-ucs.h (Vcharset_ucs_bmp): New variable.
3589 (MAKE_CHAR): Modify for `ucs-bmp'.
3590 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
3591 non-MULE characters of BMP.
3593 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
3595 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3598 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
3601 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
3602 - Include character.h for `CHAR_ASCII_P'.
3604 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
3606 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
3607 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
3609 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
3610 (BYTE_C0_P): Likewise.
3611 (BYTE_C1_P): Likewise.
3612 (Lstream_get_emchar_1): Likewise.
3613 (Lstream_fput_emchar): Likewise.
3614 (Lstream_funget_emchar): Likewise.
3615 (copy_internal_to_external): Likewise.
3616 (copy_external_to_internal): Likewise.
3618 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
3619 (BYTE_C0_P): Likewise.
3620 (BYTE_C1_P): Likewise.
3621 (Lstream_get_emchar_1): Likewise.
3622 (Lstream_fput_emchar): Likewise.
3623 (Lstream_funget_emchar): Likewise.
3624 (copy_internal_to_external): Likewise.
3625 (copy_external_to_internal): Likewise.
3627 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
3628 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3630 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
3631 (BYTE_ASCII_P): Moved to mb-1byte.h.
3633 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
3635 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
3637 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
3638 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
3639 (VALID_CHARPTR_P): Moved to mb-*byte.h.
3640 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3641 (VALIDATE_CHARPTR_FORWARD): Likewise.
3642 (simple_charptr_emchar): Moved to mb-multibyte.h.
3643 (simple_set_charptr_emchar): Likewise.
3644 (simple_charptr_copy_char): Likewise.
3645 (non_ascii_charptr_emchar): Likewise.
3646 (non_ascii_set_charptr_emchar): Likewise.
3647 (non_ascii_charptr_copy_char): Likewise.
3648 (charptr_emchar): Moved to mb-*byte.h.
3649 (set_charptr_emchar): Likewise.
3650 (charptr_copy_char): Likewise.
3652 * mb-1byte.h, mb-multibyte.h: New files.
3654 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3656 * mb-utf-8.h (MULTIBYTE): New macro.
3657 (MAX_EMCHAR_LEN): Moved from buffer.h.
3658 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
3660 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
3662 * mb-lb.h, multibyte.h: New files.
3664 * char-1byte.h (Charset_ID): Moved from buffer.h.
3665 (MIN_LEADING_BYTE): Likewise.
3666 (LEADING_BYTE_ASCII): Likewise.
3667 (NUM_LEADING_BYTES): Likewise.
3668 (CHARSETP): Likewise.
3669 (CHARSET_BY_LEADING_BYTE): Likewise.
3670 (XCHARSET_LEADING_BYTE): Likewise.
3671 (XCHARSET_GRAPHIC): Likewise.
3672 (XCHARSET_COLUMNS): Likewise.
3673 (XCHARSET_DIMENSION): Likewise.
3674 (CHAR_CHARSET): Likewise.
3675 (CHAR_LEADING_BYTE): Likewise.
3676 (BREAKUP_CHAR): Likewise.
3677 (Vcharset_ascii): Likewise.
3679 * buffer.h: Include multibyte.h unconditionally.
3680 (VALID_CHARPTR_P): Moved to multibyte.h.
3681 (ASSERT_VALID_CHARPTR): Likewise.
3682 (REAL_INC_CHARPTR): Likewise.
3683 (REAL_INC_CHARBYTIND): Likewise.
3684 (REAL_DEC_CHARPTR): Likewise.
3685 (INC_CHARPTR): Likewise.
3686 (INC_CHARBYTIND): Likewise.
3687 (DEC_CHARPTR): Likewise.
3688 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3689 (VALIDATE_CHARPTR_FORWARD): Likewise.
3690 (charptr_n_addr): Likewise.
3691 (MAX_EMCHAR_LEN): Moved to mb-*.h.
3692 (simple_charptr_emchar): Moved to multibyte.h.
3693 (simple_set_charptr_emchar): Likewise.
3694 (simple_charptr_copy_char): Likewise.
3695 (non_ascii_charptr_emchar): Likewise.
3696 (non_ascii_set_charptr_emchar): Likewise.
3697 (non_ascii_charptr_copy_char): Likewise.
3698 (charptr_emchar): Likewise.
3699 (set_charptr_emchar): Likewise.
3700 (charptr_copy_char): Likewise.
3701 (charptr_emchar_n): Likewise.
3702 (Charset_ID): Moved to char-1byte.h.
3703 (Vcharset_ascii): Likewise.
3704 (CHAR_CHARSET): Likewise.
3705 (CHAR_LEADING_BYTE): Likewise.
3706 (LEADING_BYTE_ASCII): Likewise.
3707 (NUM_LEADING_BYTES): Likewise.
3708 (MIN_LEADING_BYTE): Likewise.
3709 (CHARSETP): Likewise.
3710 (CHARSET_BY_LEADING_BYTE): Likewise.
3711 (XCHARSET_LEADING_BYTE): Likewise.
3712 (XCHARSET_GRAPHIC): Likewise.
3713 (XCHARSET_COLUMNS): Likewise.
3714 (XCHARSET_DIMENSION): Likewise.
3715 (BREAKUP_CHAR): Likewise.
3717 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3719 * character.h: Add document about interface for characters.
3721 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
3722 (MAKE_CHAR): Delete comment about
3723 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
3724 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
3725 (BREAKUP_CHAR): Modify name of arguments.
3726 (CHAR_CHARSET): Modify name of argument.
3728 * buffer.h: Delete document about Emchar accessors.
3730 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3732 * character.h (CHAR_INTP): Moved from buffer.h
3733 (CHAR_OR_CHAR_INTP): Likewise.
3734 (XCHAR_OR_CHAR_INT): Likewise.
3735 (CHECK_CHAR_COERCE_INT): Likewise.
3737 * buffer.h (CHAR_INTP): Moved to character.h
3738 (CHAR_OR_CHAR_INTP): Likewise.
3739 (XCHAR_OR_CHAR_INT): Likewise.
3740 (CHECK_CHAR_COERCE_INT): Likewise.
3742 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3745 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
3746 - Include char-1byte.h, char-lb.h or char-ucs.h.
3748 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
3750 * buffer.h: Include character unconditionally.
3751 (valid_char_p): Moved to char-*.h.
3752 (non_ascii_valid_char_p): Moved to char-lb.h.
3754 * char-1byte.h, char-lb.h, char-ucs.h: New files.
3756 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3758 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
3759 in UTF-2000 because it is not ported yet and not to use
3760 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
3761 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
3762 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
3764 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
3765 (CHAR_ASCII_P): Moved from character.h.
3767 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
3768 (CHAR_ASCII_P): Likewise.
3769 (CHAR_FIELD1_MASK): Deleted.
3770 (CHAR_FIELD2_MASK): Deleted.
3771 (CHAR_FIELD3_MASK): Deleted.
3772 (MAX_CHAR_BASIC_LATIN): New macro.
3773 (CHAR_FIELD1): Deleted.
3774 (CHAR_FIELD2_INTERNAL): Deleted.
3775 (CHAR_FIELD3_INTERNAL): Deleted.
3776 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
3777 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
3778 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
3779 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
3780 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
3781 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
3782 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
3783 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
3784 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
3785 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
3786 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
3787 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
3788 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
3789 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
3790 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
3791 (MIN_CHAR_COMPOSITION): Deleted.
3792 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
3793 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
3795 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
3797 * buffer.h: Include mb-utf-8.h in UTF-2000.
3799 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
3801 * mb-utf-8.h: New file.
3803 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
3805 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
3808 * mule-charset.h, buffer.h (Charset_ID): New type.
3810 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3812 * mule-canna.c (c2mu): Use `MAKE_CHAR',
3813 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
3814 instead of `MULE_CHAR_PRIVATE_OFFSET',
3815 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
3816 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
3817 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
3819 * character.h (Vcharset_japanese_jisx0212): New variable
3822 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3824 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
3825 (charset_by_attributes): Delete array about direction.
3826 (latin_a_char_to_charset): New variable in UTF-2000.
3827 (latin_a_char_to_byte1): New variable in UTF-2000.
3828 (latin_a_char_to_byte2): New variable in UTF-2000.
3829 (Qucs_bmp): New variable.
3830 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
3832 (next_allocated_2_byte_leading_byte): Likewise.
3833 (non_ascii_set_charptr_emchar): Likewise.
3834 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
3835 `CHARSET_TYPE_256X256' in UTF-2000; modify for
3836 `charset_by_attributes'.
3837 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
3838 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
3839 and `CHARSET_BY_LEADING_BYTE'.
3840 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
3841 `utf-2000-version' to `vars_of_mule_charset'.
3842 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
3843 define `leading-code-private-11' in UTF-2000; move setting of
3844 `utf-2000-version' from `syms_of_mule_charset'.
3845 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
3848 * character.h (Charset_ID): New type.
3849 (LEADING_BYTE_UCS_BMP): New macro.
3850 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
3851 (CHARSET_ID_OFFSET_94): New macro.
3852 (MIN_CHARSET_ID_PRIVATE_94): New macro.
3853 (MAX_CHARSET_ID_PRIVATE_94): New macro.
3854 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
3856 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
3857 (LEADING_BYTE_LATIN_JISX0201): Likewise.
3858 (CHARSET_ID_OFFSET_96): New macro.
3859 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
3860 CHARSET_ID_OFFSET_96 and final-byte.
3861 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
3862 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
3863 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
3864 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
3865 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
3866 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
3867 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
3868 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
3869 (LEADING_BYTE_THAI_TIS620): Likewise.
3870 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
3871 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
3872 (CHARSET_ID_OFFSET_94x94): New macro.
3873 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
3874 CHARSET_ID_OFFSET_94x94 and final-byte.
3875 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
3876 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
3877 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
3878 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
3879 (LEADING_BYTE_CHINESE_GB2312): Likewise.
3880 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
3881 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
3882 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
3883 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
3884 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
3885 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
3886 (CHARSET_TYPE_128X128): New macro.
3887 (CHARSET_TYPE_256X256): New macro.
3888 (XCHARSET_PRIVATE_P): Delete unconditionally.
3889 (charset_by_attributes): Delete array about direction.
3890 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
3891 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
3892 (MIN_CHAR_94): New macro.
3893 (MAX_CHAR_94): New macro.
3894 (MIN_CHAR_96): New macro.
3895 (MAX_CHAR_96): New macro.
3896 (MIN_CHAR_94x94): New macro.
3897 (MAX_CHAR_94x94): New macro.
3898 (MIN_CHAR_96x96): New macro.
3899 (MAX_CHAR_96x96): New macro.
3900 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
3901 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3902 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
3904 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
3905 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
3906 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
3907 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
3908 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
3909 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
3910 `XCHARSET_LEADING_BYTE' to make code-point.
3911 (latin_a_char_to_charset): New variable.
3912 (latin_a_char_to_byte1): New variable.
3913 (latin_a_char_to_byte2): New variable.
3914 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
3915 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
3916 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
3918 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
3919 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
3920 (find_charsets_in_emchar_string): Likewise.
3921 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
3923 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
3925 (decode_coding_iso2022): Likewise.
3927 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
3930 * redisplay.c (redisplay_text_width_emchar_string): Use
3931 `Charset_ID' instead of `unsigned char'.
3932 (redisplay_frame_text_width_string): Likewise.
3934 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
3937 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
3938 instead of `unsigned char'.
3939 (face_cachel_charset_font_metric_info): Likewise.
3941 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
3942 (get_non_ascii_char_table_value): Likewise.
3943 (get_char_table): Likewise.
3944 (put_char_table): Likewise.
3945 (map_over_other_charset): Likewise.
3946 (map_char_table): Likewise.
3948 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
3949 instead of `unsigned char'.
3951 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
3953 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
3954 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
3956 * mule-charset.c (leading_code_private_11): Don't define in
3959 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
3960 in UTF-2000 because it is not ported yet and not to use
3961 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
3963 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
3965 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
3967 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3969 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
3972 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
3973 of unsigned char to store leading-byte.
3975 * chartab.c (get_non_ascii_char_table_value): Don't use
3976 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
3978 * file-coding.c (encode_coding_big5): Delete bogus implementation
3981 * character.h (LEADING_BYTE_*): Delete definition for
3983 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
3984 (LEADING_BYTE_PREFIX_P): Deleted.
3985 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
3986 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
3987 (BUFBYTE_LEADING_BYTE_P): Deleted.
3988 (CHARSET_PRIVATE_P): Deleted unconditionally.
3989 (rep_bytes_by_first_byte): Deleted unconditionally.
3990 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
3991 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
3992 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3993 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
3994 (CHAR_FIELD2): Deleted.
3995 (CHAR_FIELD3): Deleted.
3996 (MAKE_CHAR): Delete definition for non-UTF-2000.
3997 (BREAKUP_CHAR_1_UNSAFE): Deleted.
3998 (breakup_char_1): New implementation.
3999 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
4000 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
4002 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4004 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
4007 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4009 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
4010 (CHARSET_PRIVATE_P): Likewise.
4011 (XCHARSET_PRIVATE_P): Likewise.
4012 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
4014 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
4016 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
4018 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4020 * character.h (LEADING_BYTE_*): Changed in UTF2000.
4021 (NUM_LEADING_BYTES): Changed from 128 to 256.
4022 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4023 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
4025 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4027 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
4029 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
4030 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
4031 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
4032 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
4033 (Qchinese_cns11643_3): New variable in UTF2000.
4034 (Qchinese_cns11643_4): New variable in UTF2000.
4035 (Qchinese_cns11643_5): New variable in UTF2000.
4036 (Qchinese_cns11643_6): New variable in UTF2000.
4037 (Qchinese_cns11643_7): New variable in UTF2000.
4038 (syms_of_mule_charset): Define `chinese-cns11643-3',
4039 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4040 and `chinese-cns11643-7' in UTF2000.
4041 (vars_of_mule_charset): Initialize
4042 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
4044 (complex_vars_of_mule_charset): Setup charset
4045 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
4046 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
4048 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4050 * mule-charset.c: Move setting for `leading-code-private-11' from
4051 `syms_of_mule_charset' to `vars_of_mule_charset'.
4053 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4055 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
4056 and `NUM_LEADING_BYTES' in assert.
4058 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4060 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
4062 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
4063 `NUM_LEADING_BYTES' instead of 128.
4065 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4067 * mule-charset.h (charset_by_leading_byte): Use
4068 `NUM_LEADING_BYTES' instead of 128.
4069 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
4071 * mule-charset.c (charset_by_leading_byte): Use
4072 `NUM_LEADING_BYTES' instead of 128.
4073 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
4075 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
4078 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4080 * mule-charset.c (syms_of_mule_charset): Update to
4083 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4085 * file-coding.c (encode_coding_sjis): New implementation for
4086 UTF2000. (decode_coding_sjis): Ditto.
4088 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4090 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
4091 Don't define in UTF2000.
4093 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
4096 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4097 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
4100 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4102 * config.h.in (CHAR_IS_UCS4): New macro.
4104 * mule-charset.c (rep_bytes_by_first_byte): Modify for
4105 conventional MULE representation.
4106 (syms_of_mule_charset): Update to 0.3 (Imamiya).
4108 * mule-charset.h: Reverted to original.
4110 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4111 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
4112 "mule-charset.h" if CHAR_IS_UCS4 is defined.
4114 * character.h: New file.
4116 * file-coding.c (Fmake_coding_system): Set 1 to
4117 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
4119 (encode_coding_no_conversion): New implementation for UTF2000.
4121 * file-coding.h (struct Lisp_Coding_System): Add new member
4124 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
4126 * file-coding.c (decode_coding_iso2022): Code-point arguments of
4127 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
4128 (encode_coding_iso2022): New implementation for UTF2000.
4130 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4132 * mule-canna.c (c2mu): New implementation for UTF2000.
4135 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4137 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
4139 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4141 * file-coding.c (reset_encoding_stream): Set 0 to
4142 `str->iso2022.current_char_boundary' in UTF2000.
4143 (encode_utf8): Don't define in UTF2000.
4144 (encode_coding_utf8): New implementation for UTF-8 representation
4146 (complex_vars_of_file_coding): Define coding-system `utf-8'.
4148 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4150 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
4152 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
4154 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4156 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
4158 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
4159 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
4160 as UTF-8 in UTF2000.
4161 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
4162 (non_ascii_valid_char_p): Don't define in UTF2000.
4163 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
4164 (Lstream_get_emchar_1): Likewise.
4165 (utf-2000-version): New variable in UTF2000.
4167 * lread.c (read_escape): Add new reader `u'.
4169 * insdel.c (three_to_one_table): Don't define in UTF2000.
4170 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
4171 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4173 (bytind_to_bufpos_func): Likewise.
4174 (buffer_mule_signal_inserted_region): Likewise.
4175 (vars_of_insdel): Don't initialize `three_to_one_table'.
4176 (init_buffer_text): Use `buf->text->mule_size' instead of
4177 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4180 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
4181 UTF-8 representation in UTF2000.
4182 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
4183 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
4184 (decode_coding_iso2022): Don't define local variable `lb' in
4185 UTF2000; don't use LEADING_BYTE in UTF2000; use
4186 `DECODE_ADD_UCS_CHAR' in UTF2000.
4187 (convert_to_external_format): Decode as UTF-8 in UTF2000.
4189 * config.h.in (UTF2000): New macro.
4191 * buffer.h (struct buffer_text): Add new member `mule_size' and
4192 don't add `mule_shifter' and `mule_three_p' in UTF2000.
4193 (valid_char_p): Return always 1 in UTF2000.
4194 (MAX_EMCHAR_LEN): 6 in UTF2000.
4195 (three_to_one_table): Don't define in UTF2000.
4196 (real_bufpos_to_bytind): Modify for UTF-8 representation in
4198 (real_bytind_to_bufpos): Likewise.
4200 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
4202 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4204 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
4205 representation change.
4206 (Vutf_2000_version): New variable.
4207 (leading_code_private_11): New variable.
4208 (syms_of_mule_charset): Add new variables `utf-2000-version' and
4209 `leading-code-private-11'.
4211 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
4212 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
4213 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
4214 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
4215 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
4216 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
4217 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
4218 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
4219 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
4220 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
4221 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
4222 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
4223 (MIN_CHAR_GREEK): New macro.
4224 (MAX_CHAR_GREEK): New macro.
4225 (MIN_CHAR_CYRILLIC): New macro.
4226 (MAX_CHAR_CYRILLIC): New macro.
4227 (MIN_CHAR_HEBREW): New macro.
4228 (MAX_CHAR_HEBREW): New macro.
4229 (MIN_CHAR_THAI): New macro.
4230 (MAX_CHAR_THAI): New macro.
4231 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
4232 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
4233 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
4234 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
4235 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
4236 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
4237 (CHAR_FIELD2): New inline function.
4238 (CHAR_FIELD3): New inline function.
4239 (MULE_CHAR_PRIVATE_OFFSET): New macro.
4240 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
4241 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
4242 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
4243 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
4244 (MIN_CHAR_COMPOSITION): Likewise.
4245 (CHAR_LEADING_BYTE): Modified for character representation change.
4246 (MAKE_CHAR): Likewise.
4248 * lisp.h (Vcharset_latin_iso8859_1): New variable.
4249 (Vcharset_greek_iso8859_7): Likewise.
4250 (Vcharset_cyrillic_iso8859_5): Likewise.
4251 (Vcharset_hebrew_iso8859_8): Likewise.
4252 (Vcharset_thai_tis620): Likewise.
4253 (Vcharset_katakana_jisx0201): Likewise.
4255 2001-02-08 Martin Buchholz <martin@xemacs.org>
4257 * XEmacs 21.2.44 "Thalia" is released.
4259 2001-02-06 Martin Buchholz <martin@xemacs.org>
4261 Fixes crashes in kill-emacs on some systems.
4262 * process-unix.c (unix_kill_child_process):
4263 It's OK for kill() to fail with ESRCH.
4265 2001-02-07 Martin Buchholz <martin@xemacs.org>
4267 Contortions to make .gdbinit tricks work on most systems.
4268 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
4269 * alloc.c (dbg_valmask): Make non-const.
4270 * alloc.c (dbg_typemask): Make non-const.
4271 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
4272 * alloc.c (dbg_valbits): Make non-const.
4273 * alloc.c (dbg_gctypebits): Make non-const.
4274 * .gdbinit (decode_object): Make it work with AIX cc.
4276 2001-02-06 Martin Buchholz <martin@xemacs.org>
4278 * elhash.c (make_general_lisp_hash_table):
4279 Use simpler and more efficient calloc to clear entries.
4281 2001-02-07 Martin Buchholz <martin@xemacs.org>
4283 * window.c (window_scroll): Work around an AIX C compiler bug.
4284 Fixes 'scroll-up' does nothing problem with xlC.
4286 2001-02-05 Martin Buchholz <martin@xemacs.org>
4288 * .gdbinit: Remove obsolete comment.
4290 2001-01-31 Mike Alexander <mta@arbortext.com>
4292 * select.c (Fown_selection_internal): Set owned_p for device
4295 2001-02-01 Martin Buchholz <martin@xemacs.org>
4298 "not" cannot be used as a macro name as it is an operator in C++
4299 * config.h.in: Stop #defining `not'.
4300 * chartab.c (check_category_char): not ==> not_p
4301 * chartab.h: Likewise.
4302 * regex.c (re_match_2_internal): Likewise.
4304 2001-02-02 Martin Buchholz <martin@xemacs.org>
4306 * lisp-disunion.h: Fix up comments.
4308 2001-01-31 Martin Buchholz <martin@xemacs.org>
4310 * keymap.c (define_key_check_and_coerce_keysym):
4312 Support mouse-6 and mouse-7 bindings in the obvious way.
4314 2001-02-01 Martin Buchholz <martin@xemacs.org>
4316 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
4318 2001-01-30 Martin Buchholz <martin@xemacs.org>
4320 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
4321 Previous patch missed DEFVAR_INT_MAGIC.
4322 Make sure future DEFVAR_foo use correct types.
4323 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
4324 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
4325 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
4326 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
4327 * (DEFVAR_INT): Likewise.
4328 * redisplay.c (vertical_clip): Should be of type Fixnum.
4329 * redisplay.c (horizontal_clip): Likewise.
4330 * lisp.h (dump_add_opaque_int): New.
4331 (dump_add_opaque_fixnum): New.
4333 2001-01-29 Andy Piper <andy@xemacs.org>
4335 * glyphs-widget.c (check_valid_int_or_function): allow symbols
4336 since they can be eval'ed
4338 2001-01-29 Martin Buchholz <martin@xemacs.org>
4340 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
4341 Oops, XEmacs redefines `class'. Use `typename' instead.
4343 2001-01-28 Martin Buchholz <martin@xemacs.org>
4345 * dumper.c: Fix C++ compile errors.
4347 2001-01-29 Martin Buchholz <martin@xemacs.org>
4349 * tparam.c: Use correct prototypes.
4351 2001-01-28 Martin Buchholz <martin@xemacs.org>
4353 * sysproc.h: #include util.h for NetBSD's openpty.
4355 2001-01-27 Martin Buchholz <martin@xemacs.org>
4357 More 64-bit correctness.
4358 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
4359 Use a typedef `fixnum' for the type used for DEFVAR_INT.
4361 This finally finishes the 64-bit SGI port.
4362 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
4363 * symbols.c: Fix up comments and type casts.
4364 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
4365 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
4366 * symeval.h (Fixnum): New type.
4367 * symeval.h (symbol_value_type): Fix up comment.
4383 * mule-canna.c: A million DEFVAR_INTs here...
4384 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
4397 s/int/Fixnum/g in DEFVAR_INT declarations.
4399 2001-01-26 Martin Buchholz <martin@xemacs.org>
4401 Port pdump to SGI alignment-sensitive environment.
4402 Lisp Object sizeof methods now return aligned sizes. Rely on that.
4403 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
4405 Define and use aligned reading and writing macros.
4406 Use buffered stdio instead of posix i/o for faster dumping.
4407 Eliminate kludgy 256 byte space for header.
4408 Read and write from dump file using structs for alignment safety.
4409 * dumper.c (pdump_align_stream): New.
4410 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
4411 * dumper.c (PDUMP_READ_ALIGNED): New.
4412 * dumper.c (PDUMP_WRITE_ALIGNED): New.
4413 * dumper.c (pdump_static_Lisp_Object): New struct.
4414 * dumper.c (pdump_static_pointer): New struct.
4415 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
4416 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
4417 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
4418 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
4420 * dumper.c (pdump_backtrace):
4421 * dumper.c (pdump_get_indirect_count):
4422 * dumper.c (pdump_register_object):
4423 * dumper.c (pdump_register_struct):
4424 * dumper.c (pdump_reloc_one):
4425 * dumper.c (pdump_scan_by_alignment):
4426 * dumper.c (pdump_dump_from_root_struct_ptrs):
4427 * dumper.c (pdump_dump_opaques):
4428 * dumper.c (pdump_dump_rtables):
4429 * dumper.c (pdump_dump_from_root_objects):
4431 * dumper.c (pdump_load_finish):
4432 Use aligned reading and writing.
4434 * dumper.c (pdump_free): Make static.
4435 * dumper.c (pdump_hFile): Likewise.
4436 * dumper.c (pdump_hMap): Likewise.
4438 2001-01-26 Martin Buchholz <martin@xemacs.org>
4440 * XEmacs 21.2.43 "Terspichore" is released.
4442 2001-01-25 Martin Buchholz <martin@xemacs.org>
4444 Type fiddling for window_config.saved_windows_count
4445 * window.c (struct window_config):
4446 Make saved_windows_count member unsigned.
4447 * window.c (sizeof_window_config_for_n_windows):
4448 Make parameter unsigned.
4449 * window.c (mark_window_config):
4450 * window.c (window_config_equal):
4451 * window.c (free_window_configuration):
4452 * window.c (Fset_window_configuration):
4453 * window.c (count_windows):
4454 * window.c (Fcurrent_window_configuration):
4455 * window.c (reinit_vars_of_window):
4456 Update all callers and users.
4458 2001-01-25 Martin Buchholz <martin@xemacs.org>
4460 Alignment correctness for flexible arrays.
4461 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
4462 Make alignment-correct. Add interesting comments.
4463 * alloc.c (size_vector):
4464 * alloc.c (make_vector_internal):
4465 * alloc.c (make_bit_vector_internal):
4466 * alloc.c (sweep_bit_vectors_1):
4467 * fns.c (size_bit_vector):
4468 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
4469 * window.c (sizeof_window_config_for_n_windows):
4470 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
4472 2001-01-24 Martin Buchholz <martin@xemacs.org>
4474 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
4476 2001-01-23 Andy Piper <andy@xemacs.org>
4478 * select.c (Fown_selection_internal): pass owned_p
4480 * select-msw.c (mswindows_own_selection): New Signature.
4482 * console.h (struct console_methods): add owned_p to
4485 * select-x.c (x_own_selection): pass owned_p
4486 (hack_motif_clipboard_selection): use owned_p
4487 (vars_of_select_x): new variable -
4488 x_selection_strict_motif_ownership.
4490 2001-01-23 Martin Buchholz <martin@xemacs.org>
4492 * specifier.h (specifier_data_offset): Remove pointless parens.
4493 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
4495 2001-01-24 Martin Buchholz <martin@xemacs.org>
4497 Make Lisp_Object sizeof methods be alignment-correct.
4498 pdump must restore objects to the same alignment as the C compiler
4499 assumes. It really matters on SGIs.
4500 * lstream.c (aligned_sizeof_lstream): New.
4501 (sizeof_lstream): Use aligned_sizeof_lstream.
4502 (Lstream_new): Likewise.
4503 * opaque.c (aligned_sizeof_opaque): New.
4504 (sizeof_opaque): Use aligned_sizeof_opaque.
4505 (make_opaque): Likewise.
4506 * specifier.c (aligned_sizeof_specifier): New.
4507 (sizeof_specifier): Use aligned_sizeof_specifier.
4508 (make_specifier_internal): Likewise.
4510 2001-01-23 Martin Buchholz <martin@xemacs.org>
4512 * lstream.h (struct lstream): Use max_align_t for trailing data.
4513 * specifier.h (struct Lisp_Specifier): Likewise.
4515 2001-01-22 Martin Buchholz <martin@xemacs.org>
4517 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
4518 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
4519 (CCL_SUSPEND): Likewise.
4520 (CCL_INVALID_CMD): Likewise.
4521 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
4522 (ccl_driver): Likewise.
4523 (CCL_WRITE_CHAR): Macro hygiene.
4524 (CCL_WRITE_STRING): Macro hygiene.
4526 2001-01-22 Martin Buchholz <martin@xemacs.org>
4528 Port "portable" dumper to SunOS 4 and HP-UX.
4529 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
4530 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
4531 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
4533 2001-01-22 Martin Buchholz <martin@xemacs.org>
4535 * lisp.h (ALIGNOF): A better definition for C++.
4537 2001-01-20 Martin Buchholz <martin@xemacs.org>
4540 Fix printf warnings: int format, long int arg.
4541 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
4542 (PUSH_FAILURE_POINT): Use correct printf formats.
4543 (POP_FAILURE_POINT): Use correct printf formats.
4544 Use do {...} while (0)
4546 2001-01-20 Martin Buchholz <martin@xemacs.org>
4548 * XEmacs 21.2.42 "Poseidon" is released.
4550 2001-01-20 Martin Buchholz <martin@xemacs.org>
4552 * console-x.h: typo fix du jour. Remove #if 0'ed code.
4554 2001-01-19 Martin Buchholz <martin@xemacs.org>
4556 De-kludgify FIXED_TYPE free list frobbing.
4557 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
4558 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
4559 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
4560 * alloc.c (Lisp_Free): New pseudo lisp object definition.
4561 * alloc.c (LRECORD_FREE_P): New.
4562 * alloc.c (MARK_LRECORD_AS_FREE): New.
4563 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
4564 * alloc.c (STRUCT_FREE_P): Deleted.
4565 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
4566 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
4567 * alloc.c (STRING_CHARS_FREE_P): New.
4568 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
4569 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
4570 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
4571 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
4572 * alloc.c (resize_string): Use new definitions.
4573 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
4574 * alloc.c (verify_string_chars_integrity): Use new definitions.
4575 * alloc.c (compact_string_chars): Use new definitions.
4576 * alloc.c: Update monster comments.
4577 * lrecord.h (lrecord_type): Add some new lrecord types for
4580 2001-01-18 Martin Buchholz <martin@xemacs.org>
4582 Improve alignment hackery.
4583 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
4584 (max_align_t): Moved from opaque.h - general purpose.
4585 (ALIGN_PTR): Use size_t, not long.
4586 * opaque.h (max_align_t): Move to lisp.h.
4588 2001-01-18 Norbert Koch <nk@LF.net>
4590 * gui.h: Fix and add prototypes to fix build problems.
4592 2001-01-18 Martin Buchholz <martin@xemacs.org>
4594 temacs is going away, so `dump-temacs' is now a bad name.
4595 * .dbxrc (dump-temacs): Rename to `dmp'.
4596 * .gdbinit (dump-temacs): Rename to `dmp'.
4598 2001-01-17 Andy Piper <andy@xemacs.org>
4600 * glyphs.c (print_image_instance): comment to make martin happy.
4602 * glyphs-x.c (x_redisplay_widget): update faces after a frame
4605 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
4607 (mswindows_tab_control_redisplay): warning suppression.
4609 * glyphs-widget.c (widget_update): re-write to cope with updated
4611 (widget_instantiate): use new gui_item functions.
4612 (tab_control_update): deleted.
4613 (progress_gauge_update): deleted.
4614 (image_instantiator_progress_guage): take out update reference.
4615 (image_instantiator_tree_view): ditto.
4616 (image_instantiator_tab_control): ditto.
4618 * gui.c (widget_gui_parse_item_keywords): new function. Do things
4620 (gui_item_add_keyval_pair): re-write to cope with descriptors and
4621 return whether anything was changed.
4622 (update_gui_item_keywords): as it sounds.
4624 * gui.h: declare widget_gui_parse_item_keywords.
4626 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
4627 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
4629 2001-01-17 Martin Buchholz <martin@xemacs.org>
4631 * XEmacs 21.2.41 "Polyhymnia" is released.
4633 2001-01-16 Didier Verna <didier@xemacs.org>
4635 * glyphs.c (image_instantiate): don't use fallbacks when
4636 instantiating a face's background pixmap by inheritance.
4638 2001-01-14 Mike Sperber <mike@xemacs.org>
4640 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
4641 Conditionalize accordingly.
4643 2001-01-16 Martin Buchholz <martin@xemacs.org>
4645 * dumper.c (pdump_file_get): Fix a compiler warning.
4647 2001-01-15 Martin Buchholz <martin@xemacs.org>
4649 Make Purify happy when pdumping.
4650 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
4651 iniitalizing all bits of new lisp object memory.
4652 * symbols.c (Fmake_local_variable): Likewise.
4653 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
4654 * symbols.c (Fdefvaralias): Likewise.
4655 * mule-charset.c (vars_of_mule_charset): Likewise.
4657 2001-01-15 Martin Buchholz <martin@xemacs.org>
4658 Add the `-nd' flag when running pre-dump operations under the debugger.
4659 * .dbxrc (run-temacs): Add `-nd'.
4660 * .dbxrc (update-elc): Likewise.
4661 * .dbxrc (dump-temacs): Likewise.
4662 * .gdbinit (run-temacs): Likewise.
4663 * .gdbinit (check-temacs): Likewise.
4664 * .gdbinit (update-elc): Likewise.
4665 * .gdbinit (dump-temacs): Likewise.
4667 2001-01-14 Martin Buchholz <martin@xemacs.org>
4669 Allow building 64-bit executables on AIX with GNU malloc, e.g.
4670 export OBJECT_MODE=64
4671 configure --pdump --use-union-type=no
4672 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
4673 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
4675 * miscplay.c (sndcnv8U_2mono):
4676 Avoid two uses of `++' in the same expression.
4677 Suppresses a GCC warning.
4679 2001-01-13 Martin Buchholz <martin@xemacs.org>
4681 Make sure future compilers don't miscompile alloc.c.
4683 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
4684 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
4686 2001-01-12 Martin Buchholz <martin@xemacs.org>
4688 * dumper.c: A little post-pdump-rename comment fixup.
4690 2001-01-09 Jerry James <james@eecs.ku.edu>
4692 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
4694 2001-01-13 Martin Buchholz <martin@xemacs.org>
4696 * *.[ch]: Globally rename symbols using the following `pdump-rename'
4700 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
4703 replace_symbol pdump_wire_lists pdump_weak_object_chains
4704 replace_symbol pdump_wire_list dump_add_weak_object_chain
4706 replace_symbol pdump_wires pdump_root_objects
4707 replace_symbol pdump_wire dump_add_root_object
4709 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
4710 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
4712 replace_symbol dumpstructinfos pdump_root_struct_ptrs
4713 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
4714 replace_symbol dumpstructinfo pdump_root_struct_ptr
4715 replace_symbol dumpstruct dump_add_root_struct_ptr
4717 replace_symbol dumpopaque dump_add_opaque
4718 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
4719 replace_symbol dumpopaqueinfos pdump_opaques
4720 replace_symbol dumpopaqueinfo pdump_opaque
4722 replace_symbol nb_structdump nb_root_struct_ptrs
4723 replace_symbol nb_opaquedump nb_opaques
4725 replace_symbol align_table pdump_align_table
4726 replace_symbol dump_header pdump_header
4728 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
4729 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
4732 2001-01-12 Martin Buchholz <martin@xemacs.org>
4734 * s/aix4.h: Keep the C for AIX compiler from overaggressively
4735 optimizing bytecount_to_charcount().
4737 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4740 (HAVE_DLFCN_H): Removed.
4741 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
4743 2001-01-06 Martin Buchholz <martin@xemacs.org>
4745 Portable dumper maintainability improvements.
4746 * alloc.c (staticpro):
4747 * alloc.c (staticpro_nodump):
4748 * alloc.c (garbage_collect_1):
4749 * alloc.c (reinit_alloc_once_early):
4750 * alloc.c (init_alloc_once_early):
4751 * alloc.c: Move dumper functions to alloc.c.
4752 * dumper.c (pdump_backtrace):
4753 * dumper.c (pdump_dump_structs):
4754 * dumper.c (pdump_dump_opaques):
4755 * dumper.c (pdump_dump_rtables):
4756 * dumper.c (pdump_dump_wired):
4758 * dumper.c (pdump_load_check):
4759 * dumper.c (pdump_load_finish):
4760 * dumper.c (pdump_file_unmap):
4761 * dumper.c (pdump_file_get):
4762 * dumper.c (pdump_resource_free):
4763 * dumper.c (pdump_resource_get):
4764 * dumper.c (pdump_file_free):
4765 * dumper.c (pdump_file_try):
4766 * dumper.c (pdump_load):
4767 Remove fixed size limits on staticpro(), staticpro_nodump(),
4768 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
4769 Remove custom code for dumping lrecord_implementations_table - use
4771 Remove (most of the) custom code for dumping staticpros - dump it
4772 like any other dynarr.
4774 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
4775 * dumper.c: Moved functions from alloc.c.
4776 * alloc.c (dumpstruct): Moved to dumper.c.
4777 * alloc.c (dumpopaque): Likewise.
4778 * alloc.c (pdump_wire): Likewise.
4779 * alloc.c (pdump_wire_list): Likewise.
4781 * lisp.h (Dynarr_sizeof): New.
4782 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
4783 * lisp.h (Dynarr_end): New. Very slightly C++oid.
4784 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
4786 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
4787 * lisp.h (dumpopaque): ditto.
4788 * lisp.h (pdump_wire): ditto.
4789 * lisp.h (pdump_wire_list): ditto.
4791 2001-01-09 Martin Buchholz <martin@xemacs.org>
4793 * make-src-depend (PrintPatternDeps):
4794 Use `sort' to make output independent of perl version.
4796 2001-01-08 Martin Buchholz <martin@xemacs.org>
4799 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
4800 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
4802 2001-01-03 Didier Verna <didier@xemacs.org>
4804 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
4805 that `focus_frame' is alive before thinking of calling
4806 `redisplay_redraw_cursor' on it.
4808 2001-01-08 Martin Buchholz <martin@xemacs.org>
4810 * XEmacs 21.2.40 is released.
4812 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4814 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
4816 2001-01-06 Martin Buchholz <martin@xemacs.org>
4818 * alloc.c (dbg_valmask): Make const.
4819 * alloc.c (dbg_typemask): Make const.
4820 * alloc.c (dbg_USE_UNION_TYPE): Make const.
4821 * alloc.c (dbg_valbits): Make const.
4822 * alloc.c (dbg_gctypebits): Make const.
4824 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
4826 * redisplay-x.c (x_bevel_area):
4827 redisplay.h (struct rune):
4828 Typo fixes in comments.
4830 2001-01-05 Andy Piper <andy@xemacs.org>
4832 * glyphs-x.c (x_redisplay_widget): use size changed for offset
4835 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
4837 2001-01-05 Martin Buchholz <martin@xemacs.org>
4839 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
4841 * mule-ccl.c (stack_idx_of_map_multiple):
4842 Non const global data must not be initialized!
4843 Found by MIYASHITA Hisashi.
4845 2001-01-02 Andy Piper <andy@xemacs.org>
4847 * frame.c (change_frame_size): make sure frame size is always
4850 * glyphs.c (image_instance_layout): minor code reuse.
4852 * window.c (Fcurrent_window_configuration): revert previous
4855 2001-01-02 Martin Buchholz <martin@xemacs.org>
4858 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
4860 2000-12-31 Andy Piper <andy@xemacs.org>
4862 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
4863 when widget gets unmapped.
4865 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
4866 function. Make sure widgets losing focus don't just drop it.
4867 (handle_focus_event_1): record the widget with focus.
4869 2000-12-31 Andy Piper <andy@xemacs.org>
4871 * window.c (allocate_window): use
4872 make_image_instance_cache_hash_table.
4873 (make_dummy_parent): ditto.
4874 (Fset_window_configuration): ditto.
4876 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
4878 * glyphs.c (process_image_string_instantiator): use
4880 (get_image_instantiator_governing_domain): ditto.
4881 (normalize_image_instantiator): ditto.
4882 (instantiate_image_instantiator): ditto.
4883 (make_image_instance_1): ditto.
4884 (image_instantiate): ditto. Key on glyph *and* instantiator type.
4885 (instantiator_eq_equal): new function for use with instance hash
4887 (instantiator_eq_hash): ditto.
4888 (make_image_instance_cache_hash_table): create a suitable hash
4889 table for storing image instances.
4891 * elhash.h (hash_table_weakness): new internal weakness type
4892 HASH_TABLE_KEY_CAR_VALUE_WEAK.
4893 declare new functions.
4895 * elhash.c (finish_marking_weak_hash_tables): introduce yet
4896 another weakness type for glyphs.
4897 (make_standard_lisp_hash_table): new function split out from
4898 make_general_lisp_hash_table.
4899 (make_lisp_hash_table): call make_standard_lisp_hash_table.
4900 (hash_table_instantiate): ditto.
4901 (Fmake_hash_table): ditto.
4903 2000-12-31 Martin Buchholz <martin@xemacs.org>
4905 * XEmacs 21.2.39 is released.
4907 2000-12-29 Andy Piper <andy@xemacs.org>
4909 * menubar.c (menubar_visible_p_changed): signal the frame changed.
4911 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
4912 the frame has changed so that we pick up geometry changes such as
4915 2000-12-28 Andy Piper <andy@xemacs.org>
4917 * lastfile.c (my_ebss): make a char array so we can pad the
4918 bss. Fixes cygwin unexec.
4920 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
4922 2000-12-26 Andy Piper <andy@xemacs.org>
4924 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
4925 comments and try and be more precise about a non-/SIGIO world.
4926 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
4929 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
4930 we don't normalize to zero width or height.
4932 2000-12-24 Andy Piper <andy@xemacs.org>
4934 * Makefile.in.in (ldflags): add -mwindows when appropriate.
4936 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
4938 * s/sco5.h: SCO 5 has pty support.
4940 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
4942 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
4943 input-method-xlib.c contains whole contents of input-method-xfs.c,
4944 so we can use input-method-xlib.c's code for USE_XFONTSET
4946 * input-method-xfs.c: removed.
4948 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
4950 * file-coding.h (enum coding_category_type): reorder enumerators to
4951 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
4952 (now one greater than largest real coding_category_type enumerator).
4953 * file-coding.c (coding_category_symbol, coding_category_by_priority,
4954 coding_category_system, fcd_descriptihon_1, decode_coding_category,
4955 Fcoding_category_list, Fset_coding_priority_list,
4956 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
4957 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
4959 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4961 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
4962 * redisplay-output.c (redisplay_output_window): Clear top of window
4963 when face is changed.
4964 * redisplay-x.c (x_redraw_exposed_window): Call
4965 redisplay_clear_top_of_window.
4966 * redisplay.h: Publish redisplay_clear_top_of_window.
4968 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4970 * buffer.c (Fkill_buffer): Map over all devices.
4971 * window.c (window_loop): Remove UNSHOW_BUFFER code.
4972 (list_windows): New function.
4973 (list_all_windows): Ditto.
4974 (Freplace_buffer_in_windows): Use them.
4976 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4978 * database.c (berkdb_subtype): Recognize new subtype `queue'.
4979 (Fopen_database): Use `db_create' instead of `db_open'.
4980 (syms_of_database): Initialize Qqueue.
4982 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
4984 * buffer.c (common_init_complex_vars_of_buffer): Initialize
4985 buffer_local_face_property.
4986 * buffer.h (struct buffer): New member buffer_local_face_property.
4987 * window.c (Fset_window_buffer): Mark window's face as changed
4988 when buffer has buffer local face.
4989 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
4990 * objects.c (color_after_change): Set buffer_local_face_property
4991 when locale of face specifier is buffer.
4992 * objects.c (font_after_change): Ditto.
4993 * objects.c (face_boolean_after_change): Ditto.
4994 * glyphs.c (image_after_change): Ditto.
4996 2000-12-09 Dan Holmsand <dan@eyebee.com>
4998 * nt.c (mswindows_fstat): Report file permissions, volume serial
4999 number, etc. Code adapted from FSF Emacs 20.7.
5001 2000-12-09 Dan Holmsand <dan@eyebee.com>
5003 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
5004 of stat when we don't have symbolic links, to make sure
5005 mswindows_stat is called on mswindows.
5007 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
5009 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
5011 2000-12-12 Martin Buchholz <martin@xemacs.org>
5013 * doprnt.c (emacs_doprnt_1): More printing fixes.
5014 Make printing of numbers compatible with libc and FSF Emacs.
5015 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
5016 Use the system printf to do most of the hard work of formatting,
5017 instead of doprnt_1().
5018 Calculate memory to allocate for format string.
5019 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
5020 (doprnt_1): Cleaner code and documentation.
5022 2000-12-01 Jerry James <james@eecs.ukans.edu>
5024 * Makefile.in.in: Use the loop variable to install headers.
5026 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
5028 * window.c (Fsplit_window): Don't invalidate face cache.
5030 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
5032 * minibuf.c (Fall_completions): Undo the previous change
5033 which removed checking elements start with space.
5035 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
5037 * mule-canna.c: Didier suppression.
5039 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
5041 * mule-canna.c: rename static unsigned char buf[] to key_buffer
5042 (warning suppression). Add English comment translations.
5044 2000-12-05 Martin Buchholz <martin@xemacs.org>
5046 * unexelfsgi.c (unexec): Better test for mmap failure.
5048 2000-12-05 Martin Buchholz <martin@xemacs.org>
5050 * XEmacs 21.2.38 is released.
5052 2000-12-05 Martin Buchholz <martin@xemacs.org>
5054 * redisplay.c (bar-cursor): Make a user variable.
5056 * symsinit.h: Add init_postgresql_from_environment.
5058 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
5060 * regex.c: Convert to clean C.
5062 2000-12-05 Dan Holmsand <dan@eyebee.com>
5065 Don't #include sysfile.h. Revert to duplicating PATH_MAX
5067 (sys_readlink): renamed to system_readlink to avoid conflict with
5068 the other sys_readlink.
5070 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
5072 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
5074 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
5076 * postgresql.c (init_postgresql_from_environment): new function.
5077 (vars_of_postgresql): Move code initializing Lisp variables out and
5078 into init_postgresql_from_environment.
5079 emacs.c (main_1): Call init_postgresql_from_environment if and only
5080 if running a dumped XEmacs.
5082 2000-08-31 Dan Holmsand <dan@eyebee.com>
5084 * buffer.c: Make find-file-compare-truenames default to true on
5087 * realpath.c (win32_abs_start):
5089 (win32_readlink): New functions.
5090 (xrealpath): Return really real filenames on windows.
5092 * fileio.c (Ffile_truename): Make file-truename work on windows.
5094 2000-11-29 Didier Verna <didier@xemacs.org>
5096 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
5097 * faces.c (update_face_cachel_data): use it.
5098 * faces.c (add_face_cachel): use it. Complete background pixmap
5099 frobbing in face cache if `update_face_cachel_data' has not done so.
5101 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
5103 * search.c (string_match_1): Don't set last_thing_searched
5106 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
5108 * buffer.c: Include casetab.h
5109 (common_init_complex_vars_of_buffer): Use new case-table object.
5110 * buffer.h: Include casetab.h
5111 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
5112 (DOWNCASE_TABLE_OF): Ditto.
5113 * bufslots.h: Remove char-tables and add case-table.
5114 * casetab.c: Include casetab.h
5115 (CASE_TABLE_P): Removed.
5116 (mark_case_table): New function.
5117 (allocate_case_table): New function.
5118 (Fcase_table_p): Use new case-table.
5119 (case_table_char): New function.
5120 (Fget_case_table): Ditto.
5121 (Fput_case_table): Ditto.
5122 (Fput_case_table_pair): Ditto.
5123 (Fcopy_case_table): Ditto.
5124 (Fcurrent_case_table): Return case-table.
5125 (Fstandard_case_table): Return case-table.
5126 (Fset_case_table): Fix doc-string.
5127 (set_case_table): Use case-table
5128 (syms_of_casetab): DEFSUBR new functions.
5129 (complex_vars_of_casetab): Set up standard case-table.
5130 * casetab.h: New file.
5131 * editfns.c: Include casetab.h
5132 (Fcompare_buffer_substrings): Use case-table.
5133 * inline.c: Include casetab.h
5134 * lisp.h: Remove bogus extern.
5135 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
5136 * search.c: Include casetab.h
5137 (TRANSLATE_ASCII): Removed.
5138 (TRANSLATE): Unconditionally translate character.
5139 (looking_at_1): Use case-table.
5140 (string_match_1): Ditto.
5141 (fast_string_match): Ditto.
5142 (search_command): Ditto.
5143 (search_buffer): Separate boyer_moore. Check whether
5144 boyer_moore is possible.
5145 (simple_search): New function.
5146 (boyer_moore): Separated from search_buffer. Translate char.
5148 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
5150 * regex.c (RE_TR_ASCII): Removed.
5151 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
5152 (PATFETCH): Call PATFETCH_RAW.
5153 (PATFETCH_RAW): Fetch Emchar.
5154 (PATUNFETCH): Decrement charptr.
5155 (GET_BUFFER_SPACE): Rename b to buf_end.
5157 (BUF_PUSH_2): Ditto.
5158 (BUF_PUSH_3): Ditto.
5159 (EXTEND_BUFFER): Ditto.
5160 (SET_LIST_BIT): Ditto.
5161 (regex_compile): Ditto. Translate non ASCII char.
5162 (compile_range): Ditto.
5163 (re_search_2): Ditto.
5164 (re_match_2_internal): Compare Emchar.
5165 (bcmp_translate): Ditto.
5167 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
5169 * lisp.h (basic char/int typedefs): comment improvement.
5171 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
5173 * emacs.c (main_1): unconditional pdump unstomping; don't save and
5174 unstomp inhibit_site_lisp. Improve comments.
5176 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
5178 * mule-charset.c (Fcharset_property): improve type checking, comments.
5180 2000-11-28 Andy Piper <andy@xemacs.org>
5182 * redisplay-output.c (redisplay_output_subwindow): make sure we do
5183 clipped display for windows in the gutter also.
5184 (redisplay_display_boxes_in_window_p): change semantics of return
5185 codes to be more intuitive.
5187 * gutter.h: declare display_boxes_in_gutter_p.
5189 * gutter.c (display_boxes_in_gutter_p): new function for
5192 2000-11-22 Andy Piper <andy@xemacs.org>
5194 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
5197 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
5199 * callproc.c (Fold_call_process_internal):
5200 * gpm.c (Freceive_gpm_event):
5201 (tty_get_foreign_selection): Might be just warning supression.
5202 * fileio.c (Fwrite_region_internal):
5203 (Fset_visited_file_modtime):
5204 * keymap.c (event_matches_key_specifier_p):
5205 Initialize GCPROed variable.
5207 * menubar-x.c (command_builder_find_menu_accelerator):
5208 Initialize before use.
5210 2000-11-23 Andy Piper <andy@xemacs.org>
5212 * unexcw.c (unexec): make the resulting executable executable.
5214 2000-11-21 Martin Buchholz <martin@xemacs.org>
5216 * doc.c (get_doc_string):
5217 Use size_t, not int, for result of XSTRING_LENGTH.
5219 * cmds.c (Fdelete_char):
5220 * cmds.c (Fpoint_at_eol):
5221 * cmds.c (Fself_insert_command):
5222 Use EMACS_INT, not int, for result of XINT.
5223 Someday, someone will want to insert more than 2**31 identical characters.
5225 * cmds.c (Fdelete_char):
5226 * cmds.c (Fdelete_backward_char):
5227 * syntax.c (Fforward_word):
5228 * syntax.c (Fforward_comment):
5229 Make COUNT argument optional, for consistency with forward-char et al.
5231 2000-11-22 Martin Buchholz <martin@xemacs.org>
5234 * print.c (long_to_string):
5235 Return a useful value: the pointer at end of data written.
5238 Use `static const char * const' for constant strings.
5239 (union printf_arg): Delete `i', `ui' members.
5242 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
5243 Do all printf-ing via the `l' specifier.
5244 Use EMACS_INT instead of int.
5247 2000-11-20 Didier Verna <didier@xemacs.org>
5249 * faces.c (update_face_cachel_data): don't frob the background
5250 pixmap when the window is being created. The face is needed but
5253 2000-11-20 Andy Piper <andy@xemacs.org>
5255 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
5256 messing with a debug environment.
5258 2000-11-20 Martin Buchholz <martin@xemacs.org>
5260 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
5262 2000-11-20 Martin Buchholz <martin@xemacs.org>
5264 * casetab.c (Fcase_table_p): Fix compile error and crash.
5266 2000-11-18 Philip Aston <philipa@mail.com>
5268 * s/cygwin32.h: Cygwin has SVR4-like pty support.
5270 2000-11-18 Martin Buchholz <martin@xemacs.org>
5272 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
5273 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
5275 2000-11-17 Martin Buchholz <martin@xemacs.org>
5277 * config.h.in: Define HAVE_ELF_H if elf.h exists.
5278 * unexelf.c: Use HAVE_ELF_H.
5279 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
5280 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
5281 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
5282 Greg Harrington <greg_harrington@hotmail.com> provided a machine
5284 So this is an unexelfsgi.c from a different line of development.
5286 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5288 * regex.c (RE_TR_ASCII): New function.
5289 (RE_TRANSLATE): Call it.
5291 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5293 * buffer.h (TRT_TABLE_OF): Remove assert.
5294 (IN_TRT_TABLE_DOMAIN): Removed.
5296 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
5298 * free-hook.c (log_gcpro):
5299 (show_gcprohist): Add support for GCPRO5.
5301 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
5303 * emacs.c (main_1): Improve -sd error message when --pdump=no.
5305 2000-11-16 Olivier Galibert <galibert@xemacs.org>
5307 * symeval.h: Declare flush_all_buffer_local_cache.
5309 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
5310 (flush_buffer_local_cache): Added.
5311 (flush_all_buffer_local_cache): Added.
5313 * lrecord.h: Remove unused XD_LO_RESET_NIL.
5315 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
5316 (pdump_dump_data): Ditto.
5317 (pdump_reloc_one): Ditto.
5318 (pdump): Remove unused pdump_qnil. Flush buffer local caches
5322 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5324 * buffer.c: Remove if 0'ed entry.
5325 * buffer.h: Rewrite TRT to use char-table.
5326 * bufslots.h: Remove mirror tables.
5327 * casetab.c: Remove mirror tables.
5328 (CASE_TABLE_P): New macro.
5329 (Fcase_table_p): Element of a case table is string or char-table.
5330 (make_mirror_trt_table): Removed.
5331 (set_case_table): Setup char-table from strings for backward
5333 * dired.c (Fdirectory_files):
5334 * dired-msw.c: (mswindows_get_files):
5335 * lisp.h: Change prototype of re_pattern_buffer.
5336 * regex.c: (RE_TRANSLATE): New macro.
5337 (TRANSLATE_P): Ditto.
5338 Change translate to type RE_TRANSLATE_TYPE.
5339 * regex.h: Define RE_TRANSLATE_TYPE
5340 * search.c (TRANSLATE): New macro.
5341 (TRANSLATE_ASCII): New macro.
5342 Translate table is changed to Lisp_Object.
5343 (signal_failure): Inhibit return.
5345 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5352 Do UNGCPRO before return.
5354 2000-11-14 Martin Buchholz <martin@xemacs.org>
5356 * XEmacs 21.2.37 is released.
5358 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
5360 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
5361 Add comments about discarded return value.
5363 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
5366 * event-stream.c: Fix comments. Remove some #if 0'ed part.
5368 2000-10-27 Andy Piper <andy@xemacs.org>
5370 * gutter.c (Fset_default_gutter_position): default left and right
5372 (calculate_gutter_size): calculate resonable heuristic for left
5373 and right gutter sizes.
5374 (specifier_vars_of_gutter): change left and right gutter sizes to
5376 (calculate_gutter_size_from_display_lines): new function.
5377 (output_gutter): check for resizing on left and right gutters.
5378 (clear_gutter): don't special case top and left gutters.
5379 (specifier_vars_of_gutter): use new signature for
5380 set_specifier_caching.
5382 * glyphs-x.c (x_redisplay_widget): spelling fix.
5383 * glyphs.c (specifier_vars_of_glyphs):
5384 * menubar.c (specifier_vars_of_menubar):
5385 * redisplay.c (specifier_vars_of_redisplay):
5386 * toolbar.c (specifier_vars_of_toolbar):
5387 * window.c (specifier_vars_of_window):
5388 * scrollbar.c (specifier_vars_of_scrollbar):
5389 (complex_vars_of_scrollbar): use new signature for
5390 set_specifier_caching.
5392 * specifier.c (set_specifier_caching): include recompute flag.
5393 (recompute_one_cached_specifier_in_window): always recompute if
5395 (recompute_one_cached_specifier_in_frame): ditto.
5397 * specifier.h (struct specifier_caching): add recompute flag.
5399 2000-10-24 Andy Piper <andy@xemacs.org>
5401 * unexcw.c (copy_executable_and_dump_data_section): add new
5402 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
5405 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5407 * console-x.h (x_device): New member modifier_release_time.
5408 * event-Xt.c (x_handle_sticky_modifiers):
5409 Bound interval modifier keys are sticky.
5410 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
5411 * events.h: extern it.
5413 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5415 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
5417 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5419 * event-stream.c (execute_command_event): Preserve current_events
5420 and the like when event is misc-user-event.
5421 Inhibit quit during the call to maybe_echo_keys.
5423 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
5425 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
5426 symlink when buffer is killed.
5427 (inhibit_clash_detection): New variable.
5429 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5431 * console.c (Fset_input_method): Trigger redisplay on tty.
5433 2000-11-07 Martin Buchholz <martin@xemacs.org>
5435 * process.c (Fprocess_status): Revert to previous behavior:
5436 (process-status "nosuchprocess") ==> nil
5438 2000-11-06 Martin Buchholz <martin@xemacs.org>
5440 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
5441 Work around another GCC 2.95.2 optimizer bug.
5443 2000-11-02 Martin Buchholz <martin@xemacs.org>
5445 * process.c (Fget_process): Use LIST_LOOP_2.
5446 (kill_buffer_processes): Use LIST_LOOP_2.
5448 * minibuf.c (Fall_completions):
5449 Delete old non-functional code for FSF fourth argument.
5451 * frame.c (frame_matches_frame_spec):
5452 Renamed from `frame_matches_frametype'. Update all callers.
5453 (device_matches_device_spec):
5454 Renamed from 'device_matches_console_spec'. Update all callers.
5456 * doc.c (Fsubstitute_command_keys):
5457 Remove buffer overflow crash. Small code cleanups.
5459 * casetab.c (check_case_table): Simpler code.
5461 * window.c (Freplace_buffer_in_windows):
5462 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
5463 (and similar implementation) as Fdelete_windows_on.
5466 * alloc.c (Fmake_list):
5467 * alloc.c (make_vector):
5468 * alloc.c (Fmake_vector):
5469 * alloc.c (make_bit_vector):
5470 * alloc.c (Fmake_bit_vector):
5471 * alloc.c (Fbit_vector):
5472 * alloc.c (Fmake_string):
5473 * alloc.c (Fpurecopy):
5474 * alloc.c (Fmemory_limit):
5476 * buffer.c (Fget_buffer):
5477 * buffer.c (Fkill_buffer):
5478 * buffer.c (complex_vars_of_buffer):
5479 * bytecode.c (Fcompiled_function_stack_depth):
5480 * callint.c (Fprefix_numeric_value):
5482 * event-stream.c (Fread_key_sequence):
5484 * casetab.c (Fcase_table_p):
5485 * casetab.c (check_case_table):
5486 * casetab.c (Fset_case_table):
5487 * casetab.c (Fset_standard_case_table):
5489 * chartab.c (Fchar_table_type):
5490 * chartab.c (Freset_char_table):
5491 * chartab.c (Fget_char_table):
5492 * chartab.c (Fget_range_char_table):
5493 * chartab.c (Fput_char_table):
5494 * chartab.c (Fmap_char_table):
5495 * chartab.c (Fcategory_table_p):
5496 * chartab.c (Fcheck_category_at):
5497 * chartab.c (Fchar_in_category_p):
5498 * chartab.c (Fcategory_table):
5499 * chartab.c (Fcopy_category_table):
5500 * chartab.c (Fset_category_table):
5501 * chartab.c (Fcategory_designator_p):
5502 * chartab.c (Fcategory_table_value_p):
5503 * cmds.c (Fdelete_char):
5504 * cmds.c (Fdelete_backward_char):
5505 * cmds.c (Fself_insert_command):
5506 * cmds.c (Fself_insert_internal):
5507 * console.c (Fvalid_console_type_p):
5508 * console.c (Fcdfw_console):
5509 * console.c (Fconsole_type):
5510 * console.c (Fconsole_name):
5511 * console.c (Fconsole_device_list):
5512 * console.c (Fconsole_on_window_system_p):
5516 * data.c (Fsubr_interactive):
5517 * data.c (Fchar_to_int):
5518 * data.c (Fint_to_char):
5521 * data.c (Fnumber_to_string):
5522 * data.c (Fstring_to_number):
5524 * database.c (mark_database):
5525 * database.c (finalize_database):
5526 * database.c (Fdatabase_live_p):
5527 * database.c (Fdatabasep):
5528 * device-x.c (Fx_get_resource):
5529 * device.c (Fdfw_device):
5531 * dired.c (Ffile_name_completion):
5532 * dired.c (Ffile_name_all_completions):
5533 * dired.c (Fuser_name_completion):
5534 * dired.c (Fuser_name_completion_1):
5535 * dired.c (Fuser_name_all_completions):
5536 * doc.c (Fdocumentation):
5537 * doc.c (Fdocumentation_property):
5538 * doc.c (Fsubstitute_command_keys):
5540 * editfns.c (Fchar_to_string):
5541 * editfns.c (Fstring_to_char):
5542 * editfns.c (Ftemp_directory):
5543 * editfns.c (Finsert_char):
5544 * editfns.c (Fbuffer_substring_no_properties):
5545 * editfns.c (Fnarrow_to_region):
5546 * editfns.c (Fchar_equal):
5547 * editfns.c (Fchar_Equal):
5548 * editfns.c (Ftranspose_regions):
5549 * emacs.c (Fdump_emacs):
5551 * eval.c (Fcommand_execute):
5552 * eval.c (Fautoload):
5553 * eval.c (Fbacktrace):
5554 * eval.c (Fbacktrace_frame):
5556 * events.c (Fcopy_event):
5557 * events.c (Fcharacter_to_event):
5558 * events.c (Fevent_button):
5559 * events.c (Fevent_process):
5561 * extents.c (Fnext_extent_change):
5562 * extents.c (Fextent_property):
5564 * faces.c (Fmake_face):
5566 * file-coding.c (Fencode_shift_jis_char):
5567 * file-coding.c (Fencode_big5_char):
5568 * fileio.c (Ffile_name_directory):
5569 * fileio.c (Ffile_name_nondirectory):
5570 * fileio.c (Ffile_name_as_directory):
5571 * fileio.c (Fdirectory_file_name):
5572 * fileio.c (Ffile_truename):
5573 * fileio.c (Fsubstitute_in_file_name):
5574 * fileio.c (Ffile_modes):
5575 * fileio.c (Fset_file_modes):
5576 * fileio.c (Fset_default_file_modes):
5577 * fileio.c (Fverify_visited_file_modtime):
5578 * floatfns.c (Facos):
5579 * floatfns.c (Fasin):
5580 * floatfns.c (Fatan):
5581 * floatfns.c (Fcos):
5582 * floatfns.c (Fsin):
5583 * floatfns.c (Ftan):
5584 * floatfns.c (Fbessel_j0):
5585 * floatfns.c (Fbessel_j1):
5586 * floatfns.c (Fbessel_jn):
5587 * floatfns.c (Fbessel_y0):
5588 * floatfns.c (Fbessel_y1):
5589 * floatfns.c (Fbessel_yn):
5590 * floatfns.c (Ferf):
5591 * floatfns.c (Ferfc):
5592 * floatfns.c (Flog_gamma):
5593 * floatfns.c (Fexp):
5594 * floatfns.c (Fexpt):
5595 * floatfns.c (Flog):
5596 * floatfns.c (Flog10):
5597 * floatfns.c (Fsqrt):
5598 * floatfns.c (Fcube_root):
5599 * floatfns.c (Facosh):
5600 * floatfns.c (Fasinh):
5601 * floatfns.c (Fatanh):
5602 * floatfns.c (Fcosh):
5603 * floatfns.c (Fsinh):
5604 * floatfns.c (Ftanh):
5605 * floatfns.c (Fabs):
5606 * floatfns.c (Ffloat):
5607 * floatfns.c (Flogb):
5608 * floatfns.c (Fceiling):
5609 * floatfns.c (Ffloor):
5610 * floatfns.c (Fround):
5611 * floatfns.c (Ftruncate):
5612 * floatfns.c (Ffceiling):
5613 * floatfns.c (Fffloor):
5614 * floatfns.c (Ffround):
5615 * floatfns.c (Fftruncate):
5616 * fns.c (Fstring_equal):
5617 * fns.c (Fstring_lessp):
5622 * fns.c (Fsubstring):
5624 * fns.c (Fold_assoc):
5625 * fns.c (assoc_no_quit):
5627 * fns.c (Fold_assq):
5628 * fns.c (assq_no_quit):
5630 * fns.c (Fold_rassoc):
5632 * fns.c (Fold_rassq):
5633 * fns.c (rassq_no_quit):
5634 * fns.c (Fremassoc):
5635 * fns.c (remassoc_no_quit):
5637 * fns.c (remassq_no_quit):
5638 * fns.c (Fremrassoc):
5639 * fns.c (Fremrassq):
5640 * fns.c (remrassq_no_quit):
5642 * fns.c (Fplist_get):
5643 * fns.c (Fplist_put):
5644 * fns.c (Fplist_remprop):
5645 * fns.c (Fplist_member):
5646 * fns.c (Flax_plist_get):
5647 * fns.c (Flax_plist_put):
5648 * fns.c (Flax_plist_remprop):
5649 * fns.c (Flax_plist_member):
5651 * fns.c (Fold_equal):
5653 * fns.c (Fbase64_encode_region):
5654 * fns.c (Fbase64_encode_string):
5655 * fns.c (Fbase64_decode_region):
5657 * frame.c (frame_matches_frame_spec):
5658 * frame.c (device_matches_device_spec):
5659 * frame.c (next_frame):
5660 * frame.c (previous_frame):
5661 * frame.c (Fnext_frame):
5662 * frame.c (Fprevious_frame):
5663 * frame.c (Fframe_property):
5664 * frame.c (Fset_frame_height):
5665 * frame.c (Fset_frame_size):
5669 * glyphs.c (decode_error_behavior_flag):
5670 * glyphs.c (Fmake_image_instance):
5671 * indent.c (Findent_to):
5672 * intl.c (Fignore_defer_gettext):
5673 * keymap.c (Fkeymapp):
5674 * keymap.c (Flookup_key):
5676 * lread.c (Fload_internal):
5677 * lread.c (Feval_buffer):
5678 * lread.c (Feval_region):
5679 * macros.c (Fexecute_kbd_macro):
5680 * marker.c (set_marker_internal):
5681 * marker.c (Fset_marker):
5682 * marker.c (set_marker_restricted):
5683 * marker.c (Fcopy_marker):
5684 * marker.c (noseeum_copy_marker):
5686 * menubar.c (Fpopup_menu):
5688 * mule-charset.c (Fcharset_name):
5689 * mule-charset.c (Fchar_charset):
5690 * mule-charset.c (Fchar_octet):
5691 * mule-charset.c (Fsplit_char):
5692 * mule-wnnfns.c (Fwnn_open):
5693 * mule-wnnfns.c (Fwnn_dict_comment):
5694 * mule-wnnfns.c (Fwnn_quit_henkan):
5695 * mule-wnnfns.c (Fwnn_word_toroku):
5696 * mule-wnnfns.c (Fwnn_word_sakujo):
5697 * mule-wnnfns.c (Fwnn_word_use):
5698 * mule-wnnfns.c (Fwnn_hindo_set):
5700 * objects.c (Fmake_color_instance):
5701 * objects.c (Fmake_font_instance):
5702 * print.c (Fwrite_char):
5704 * process.c (mark_process):
5705 * process.c (print_process):
5706 * process.c (get_process_from_usid):
5707 * process.c (Fprocessp):
5708 * process.c (Fprocess_live_p):
5709 * process.c (Fget_process):
5710 * process.c (Fget_buffer_process):
5711 * process.c (get_process):
5712 * process.c (Fprocess_id):
5713 * process.c (Fprocess_name):
5714 * process.c (Fprocess_command):
5715 * process.c (init_process_io_handles):
5716 * process.c (start_process_unwind):
5717 * process.c (Fstart_process_internal):
5718 * process.c (Fopen_multicast_group_internal):
5719 * process.c (Fset_process_window_size):
5720 * process.c (read_process_output):
5721 * process.c (send_process):
5722 * process.c (Fprocess_tty_name):
5723 * process.c (Fset_process_buffer):
5724 * process.c (Fprocess_buffer):
5725 * process.c (Fprocess_mark):
5726 * process.c (set_process_filter):
5727 * process.c (Fset_process_filter):
5728 * process.c (Fprocess_filter):
5729 * process.c (Fprocess_send_region):
5730 * process.c (Fprocess_send_string):
5731 * process.c (exec_sentinel):
5732 * process.c (Fset_process_sentinel):
5733 * process.c (Fprocess_sentinel):
5734 * process.c (status_notify):
5735 * process.c (Fprocess_status):
5736 * process.c (Fprocess_exit_status):
5737 * process.c (process_send_signal):
5738 * process.c (Fprocess_send_eof):
5739 * process.c (deactivate_process):
5740 * process.c (remove_process):
5741 * process.c (Fdelete_process):
5742 * process.c (kill_buffer_processes):
5743 * process.c (Fprocess_kill_without_query):
5744 * process.c (Fprocess_kill_without_query_p):
5746 * rangetab.c (Fget_range_table):
5747 * rangetab.c (Fput_range_table):
5748 * rangetab.c (Fremove_range_table):
5749 * rangetab.c (Fclear_range_table):
5751 * search.c (Fskip_chars_forward):
5752 * search.c (Fskip_chars_backward):
5753 * search.c (Fskip_syntax_forward):
5754 * search.c (Fskip_syntax_backward):
5755 * search.c (search_command):
5756 * search.c (Freplace_match):
5757 * search.c (Fregexp_quote):
5758 * select.c (Fown_selection_internal):
5759 * select.c (Fselection_owner_p):
5760 * select.c (Fselection_exists_p):
5761 * select.c (Fget_selection_internal):
5764 * symbols.c (Fintern):
5765 * symbols.c (Fintern_soft):
5766 * symbols.c (Funintern):
5767 * symbols.c (Fapropos_internal):
5768 * symbols.c (Fset_default):
5770 * syntax.c (Fsyntax_table_p):
5771 * syntax.c (Fcopy_syntax_table):
5772 * syntax.c (Fset_syntax_table):
5773 * syntax.c (Fchar_syntax):
5774 * syntax.c (syntax_match):
5775 * syntax.c (Fmatching_paren):
5776 * syntax.c (Fforward_word):
5777 * syntax.c (scan_lists):
5778 * syntax.c (Fscan_lists):
5779 * syntax.c (Fscan_sexps):
5780 * syntax.c (Fparse_partial_sexp):
5781 * toolbar.c (Fcheck_toolbar_button_syntax):
5784 * window.c (Fwindowp):
5785 * window.c (Fwindow_live_p):
5786 * window.c (Fwindow_point):
5787 * window.c (Fdelete_window):
5788 * window.c (Fnext_window):
5789 * window.c (Fprevious_window):
5790 * window.c (Fother_window):
5791 * window.c (window_loop):
5792 * window.c (Fget_lru_window):
5793 * window.c (Fsplit_window):
5794 * window.c (Fenlarge_window):
5795 * window.c (Fenlarge_window_pixels):
5796 * window.c (Fshrink_window):
5797 * window.c (Fshrink_window_pixels):
5798 * window.c (change_window_height):
5799 * window.c (Fwindow_configuration_p):
5800 * window.c (Fcurrent_window_configuration):
5802 * casefiddle.c (casify_object):
5803 * casefiddle.c (Fupcase):
5804 * casefiddle.c (Fdowncase):
5805 * casefiddle.c (Fcapitalize):
5806 * casefiddle.c (Fupcase_initials):
5807 * casefiddle.c (casify_region_internal):
5808 * casefiddle.c (casify_region):
5809 * casefiddle.c (Fupcase_region):
5810 * casefiddle.c (Fdowncase_region):
5811 * casefiddle.c (Fcapitalize_region):
5812 * casefiddle.c (Fupcase_initials_region):
5813 * casefiddle.c (Fupcase_word):
5814 * casefiddle.c (Fdowncase_word):
5815 * casefiddle.c (Fcapitalize_word):
5816 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
5817 Replace 0 with '\0' when working with bytes.
5818 Replace initial "(" with "\(" in docstrings.
5820 2000-11-01 Martin Buchholz <martin@xemacs.org>
5822 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
5824 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
5826 2000-10-31 Martin Buchholz <martin@xemacs.org>
5828 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
5830 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5832 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
5835 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5837 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
5838 (inhibit_auto_save_session): New variable.
5839 (vars_of_fileio): Declare and initialize them.
5840 * fileio.c (Fdo_auto_save): Don't create session file if
5841 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
5843 2000-10-31 Martin Buchholz <martin@xemacs.org>
5845 * sgiplay.c (play_internal): C++ compilability.
5846 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
5847 * callproc.c (Fold_call_process_internal):
5848 Remove unused vars `env', `first'.
5849 * scrollbar.c (update_scrollbar_instance):
5850 #### unused var `current_window'.
5851 * redisplay-tty.c: Put currently unused vars insert_mode_on,
5852 etc. within #ifdef NOT_YET.
5853 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
5854 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
5855 * specifier.c (specifier_instance):
5856 #### unused var `tag'.
5857 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
5859 2000-10-27 Martin Buchholz <martin@xemacs.org>
5862 * fns.c (list_sort):
5863 * fns.c (Ffillarray):
5864 * fns.c (bytecode_nconc2):
5867 * fns.c (Fmapconcat):
5868 Be pedantically 64-bit correct. For the time when someone will
5869 want to have a list with length > 2**32.
5871 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
5872 Work around MIPSpro compiler bug.
5874 * process-unix.c (unix_kill_child_process): Add snarky comment.
5875 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
5877 * config.h.in: Oops, _getpt ==> _getpty
5879 2000-10-26 Martin Buchholz <martin@xemacs.org>
5883 Use void*, not char*, as return type of alloca().
5885 * alloc.c (free_marker): Side effect inside assert expression!
5887 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
5889 * mule-charset.c (Fset_charset_ccl_program): To check
5890 if the given ccl program is valid, use setup_ccl_program()
5891 instead of CHECK_VECTOR().
5892 (Fmake_charset): Likewise.
5894 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
5896 * faces.c (get_extent_fragment_face_cache_index):
5897 Fix cachel.merged_faces memory leak.
5899 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
5901 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
5902 Reset MSB of octets obtained by DECODE_SJIS
5903 because of the incompatibility with Emacs.
5904 (ccl_driver)<CCL_ENCODE_SJIS>:
5905 Set MSB of octets before passing them to
5906 ENCODE_SJIS because of the incompatibility
5909 2000-10-18 Daiki Ueno <ueno@unixuser.org>
5911 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
5912 (DECLARE_LRECORD): Undo the last change.
5913 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
5915 2000-10-17 Daiki Ueno <ueno@unixuser.org>
5917 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
5918 the implementation to lrecord_implementations_table.
5920 2000-10-14 Daiki Ueno <ueno@unixuser.org>
5922 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
5923 initial value of `lrecord_type_##c_name' and
5924 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
5925 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
5926 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
5927 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
5928 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
5930 2000-10-17 Martin Buchholz <martin@xemacs.org>
5932 * miscplay.c (sndcnv8S_2mono):
5933 (sndcnv2monounsigned):
5934 (sndcnvULaw_2linear):
5936 Remove implementation-defined behavior.
5938 2000-10-12 Martin Buchholz <martin@xemacs.org>
5940 * input-method-xlib.c: Warning suppression.
5942 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
5944 * mule-ccl.c: Sync up with Emacs 21.0.90.
5945 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
5947 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
5949 (ccl_driver[WriteMultibyteChar2]): Bug fix.
5950 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
5951 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
5952 leading char belongs to official 2-dimensional charset.
5953 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
5954 write the given character as is. Otherwise,
5955 if it is a multibyte char, convert it by
5956 non_ascii_set_charptr_emchar, then write it.
5957 (CCL_WRITE_STRING): Likewise.
5958 (ccl_get_compiled_code): New function.
5959 (setup_ccl_program): When ccl_prog is invalid,
5961 (Fregister_code_conversion_map): New function.
5962 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
5964 * mule-ccl.h: Sync up with Emacs 21.0.90.
5965 (Fregister_ccl_program): export it.
5967 * redisplay-msw.c (separate_textual_runs):
5968 If ccl program is not valid, don't do ccl conversion.
5970 * redisplay-x.c (separate_textual_runs): Ditto.
5972 * file-coding.c (Fmake_coding_system):
5973 When type is ccl and value is vector, register it
5974 with a proper symbol. And checks whether the
5975 given ccl program is valid.
5976 (mule_decode): When calling ccl_driver, if src indicates
5977 NULL pointer, set an empty string instead.
5978 (mule_encode): Likewise.
5980 2000-10-11 Martin Buchholz <martin@xemacs.org>
5982 The following large batch of changes gets us back to a state of
5983 C++ compilability. Extbyte is now a char, which means that
5984 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
5986 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
5988 * sound.c (Fplay_sound): Type correctness.
5990 * select-x.c (hack_motif_clipboard_selection): Type correctness.
5991 (x_get_window_property): Type correctness.
5992 (receive_incremental_selection): unsigned char ==> Extbyte
5993 (selection_data_to_lisp_data): unsigned char ==> Extbyte
5994 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
5995 (Fx_store_cutbuffer_internal): Type correctness.
5997 * process-unix.c (try_to_initialize_subtty): Type correctness.
5999 * objects-x.c (x_print_color_instance): Type correctness.
6000 (x_print_font_instance): Type correctness.
6001 (x_list_fonts): SExtbyte ==> Extbyte.
6002 (valid_x_font_name_p): SExtbyte ==> Extbyte.
6003 (x_find_charset_font): SExtbyte ==> Extbyte.
6004 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
6005 (truename_via_XListFonts): SExtbyte ==> Extbyte.
6006 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
6009 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
6010 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
6011 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
6012 (BYTE_C0_P): Use bit ops for char-signedness safety.
6013 (BYTE_C1_P): Use bit ops for char-signedness safety.
6014 (CHARSET_BY_LEADING_BYTE):
6015 (CHARSET_BY_ATTRIBUTES):
6016 Always use inline function.
6017 Use type_checking_assert.
6020 * mule-charset.c (non_ascii_charptr_copy_char):
6021 Modify to work with both ASCII and non-ASCII characters.
6022 Improve docs and variable names.
6023 Replace over-clever fall-through switch with a simple loop.
6024 (Lstream_get_emchar_1):
6025 Replace over-clever fall-through switch with a simple loop.
6027 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6028 Warning suppression.
6030 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
6031 the return value of Lstream_getc, which could be EOF as well.
6033 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
6035 * lisp.h: Make Extbyte a char, not unsigned char, so that external
6036 APIs can be used on Extbytes without casts. Risky!
6040 * input-method-xlib.c (XIM_init_device):
6041 Use Xlib.h instead of IntrinsicP.h.
6042 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
6043 which will break in X11R7.
6044 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
6045 to call XRegisterIMInstantiateCallback with correct types.
6047 * gui-x.c (button_item_to_widget_value): Type correctness.
6049 * glyphs.c (bitmap_to_lisp_data): Type correctness.
6051 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
6052 (xbm_instantiate_1): Type correctness.
6053 (BUILD_GLYPH_INST): Type correctness.
6055 * fileio.c (Fsubstitute_in_file_name): Type correctness.
6058 (decode_coding_sjis):
6059 (decode_coding_big5):
6060 (decode_coding_ucs4):
6061 (decode_coding_utf8):
6062 (decode_coding_iso2022):
6063 (decode_coding_no_conversion):
6064 Make all decoding functions take an Extbyte * arg.
6065 (encode_coding_sjis):
6066 (encode_coding_big5):
6067 (encode_coding_ucs4):
6068 (encode_coding_utf8):
6069 (encode_coding_iso2022):
6070 (encode_coding_no_conversion):
6071 Make all encoding functions take a Bufbyte * arg.
6072 Use size_t instead of unsigned int for memory sizes.
6073 Only cast to unsigned char whenever dereferencing Extbyte *.
6075 * doc.c (unparesseuxify_doc_string): Type correctness.
6077 * console-x.c (split_up_display_spec):
6078 Rewrite without using details of internal string representation.
6079 (x_semi_canonicalize_device_connection): Type correctness.
6082 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
6083 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
6084 (HAVE_XFREE386): Removed.
6086 * buffer.h (DEC_CHARPTR): `const' correctness.
6087 (bufbyte_strcmp): New.
6088 (bufbyte_memcmp): New.
6090 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
6092 * buffer.h (XCHAR_OR_CHAR_INT):
6093 Always use inline function.
6094 Remove redundant type checking assert() - XINT will abort quite nicely.
6096 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6098 * search.c (Freplace_match): Set newtext to an empty string.
6100 2000-10-10 Martin Buchholz <martin@xemacs.org>
6102 * s/decosf1-3.h: Remove #include of stropts.h
6103 * s/ptx.h: Remove #include of stropts.h
6104 * s/usg5-4.h: Remove #include of stropts.h
6107 Use stropts.h, not sys/stropts.h.
6108 Use strtio.h, not sys/strtio.h.
6110 2000-10-04 Martin Buchholz <martin@xemacs.org>
6112 * XEmacs 21.2.36 is released.
6114 2000-09-21 Andy Piper <andy@xemacs.org>
6116 * glyphs-x.c (x_redisplay_widget): make sure non-structural
6117 changes still involve copying the widget tree.
6118 (update_widget_face): make sure a change is register in the widget
6119 tree. Call update_tab_widget_face appropriately.
6120 (update_tab_widget_face): ditto.
6121 (x_tab_control_redisplay): make sure non-structural changes still
6122 involve copying the widget tree.
6124 2000-08-31 Daiki Ueno <ueno@unixuser.org>
6126 * lread.c (locate_file): Check the path element is non-nil.
6128 2000-10-02 Martin Buchholz <martin@xemacs.org>
6130 * lisp.h: Warning suppression for SCO compilers.
6132 * redisplay-tty.c (reset_tty_modes): Fix crash.
6133 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
6135 2000-09-27 Martin Buchholz <martin@xemacs.org>
6137 Big signal/process handling overhaul. Bugs fixed:
6138 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
6139 M-x comint-kill-subjob should work for both values nil and t of
6140 process-connection-type. It was broken on most platforms.
6141 Testing on Irix and Cygwin still needed. Other plaforms tested.
6142 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
6143 * process-unix.c: Signal/Process handling overhaul.
6144 (pty_name): make 64 bytes, as `expect' does, for paranoia.
6145 (allocate_pty): Use all available modern methods of allocating
6146 ptys, falling back to old style BSD allocation as a last resort.
6147 Use allegedly more secure Unix98 pty allocation by default.
6148 (allocate_pty_the_old_fashioned_way): New. the last resort.
6149 (unix_create_process): Push ptem, ldterm, ttcompat where
6150 available. Autoconfiscate.
6151 (try_to_initialize_subtty): New.
6152 (unix_kill_child_process): Proper signal handling for ptys on most
6153 platforms, using special knowledge of AIX, BSD, etc...
6154 (unix_create_process): Always disconnect_controlling_terminal() for
6155 subprocesses, whether using ptys or not.
6156 * process.h: Remove old getpt-dependent PTY code.
6157 * process.c (Fprocess_send_signal): New, obvious generic function.
6158 (decode_signal): New.
6159 (Finterrupt_process):
6163 (Fcontinue_process):
6164 (Fsignal_process): Use decode_signal.
6165 (process_send_signal):
6166 Many docstring corrections.
6167 Allow any signal to be sent to a process object.
6168 * config.h.in: Add symbols for big signal/process overhaul.
6169 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
6170 * sysproc.h: Include process-related headers, where available:
6171 sys/stropts.h sys/strtio.h pty.h libutil.h
6179 Remove old S&M pty stuff.
6180 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
6181 * systty.h: Simplify cpp hackery, improve comments.
6182 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
6184 * editfns.c (Fformat_time_string):
6185 Be a little more paranoid with the return value of ctime.
6187 * fileio.c (check_executable):
6189 Use symbolic constants X_OK, W_OK.
6191 * console-x.c (split_up_display_spec): Fix a warning.
6193 2000-10-02 Martin Buchholz <martin@xemacs.org>
6195 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
6196 * ntproc.c (sys_spawnve): make_string ==> build_string
6197 Small clarity improvements.
6199 2000-09-30 Martin Buchholz <martin@xemacs.org>
6201 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
6203 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
6205 * config.h.in (HAVE_STRCASECMP): Remove.
6207 2000-09-29 Martin Buchholz <martin@xemacs.org>
6209 * redisplay-output.c (redisplay_output_pixmap):
6210 Cleaner and possibly more 64-bit correct code.
6212 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
6214 * dumper.c (pdump_load_finish): move restoration of
6215 `noninteractive1' to emacs.c (main_1).
6216 * emacs.c (main_1): protect LISP-visible command-line flags
6219 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
6221 * Makefile.in.in (versionclean): Use EXE_TARGET and
6222 DUMP_TARGET instead of literal program names.
6224 2000-09-20 Martin Buchholz <martin@xemacs.org>
6226 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
6228 2000-09-19 Martin Buchholz <martin@xemacs.org>
6230 * *: Spelling mega-patch
6232 2000-09-19 Martin Buchholz <martin@xemacs.org>
6234 * fns.c (bad_bad_turtle):
6235 Delete "Eek!" comment, since we fixed the bug to which it refers.
6237 2000-09-16 Martin Buchholz <martin@xemacs.org>
6239 * alloca.c: Replace REGISTER with register.
6241 2000-09-16 Daiki Ueno <ueno@unixuser.org>
6243 * file-coding.c (ucs_to_char): Use countof.
6245 2000-09-16 Martin Buchholz <martin@xemacs.org>
6247 * file-coding.c: (ucs_to_char):
6248 (complex_vars_of_file_coding):
6249 Use countof instead of sizeof.
6250 Use CHECK_NATNUM instead of CHECK_INT.
6252 * sysdep.c (strcasecmp): Remove.
6253 * device-x.c (ascii_strcasecmp): New.
6254 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
6255 Avoid using non-standard non-portable strcasecmp.
6257 2000-09-16 Martin Buchholz <martin@xemacs.org>
6259 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
6260 * font-lock.c: remove reference to emacsfns.h.
6261 * search.c: small doc improvement.
6262 * event-Xt.c: correct file names in comments.
6263 * console-x.h Correct file names in comments.
6264 * frame.c: Correct file names in comments.
6265 * event-stream.c: remove Energize from comments.
6267 2000-09-15 Martin Buchholz <martin@xemacs.org>
6269 * symeval.h (DEFERROR_STANDARD):
6272 (DEFSYMBOL_NO_DUMP):
6273 (DEFSYMBOL_MULTIWORD_PREDICATE):
6274 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
6276 The construct &##name is not sensible C.
6277 Fixes compilation errors with Unixware native compiler.
6279 2000-09-14 Martin Buchholz <martin@xemacs.org>
6281 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
6282 (next_frame_internal): Removed. We now just have next_frame.
6284 Write a simpler and cleaner one-pass algorithm.
6285 Remove called_from_delete_device arg and #ifdefed-out code.
6287 Renamed from prev_frame. Update callers.
6288 Cleaned up to have an analogous implementation to next_frame.
6289 (other_visible_frames_internal): Remove the
6290 called_from_delete_device bogus arg, and hence, remove this
6291 function. Just use other_visible_frames().
6293 * window.c (Fnext_window):
6295 Since next_frame() is guaranteed to return a frame, remove check
6296 for nil inserted in previous patch.
6299 Make code look more like Fnext_window.
6301 Respect the `console' arg when iterating through windows.
6302 Fixes bug: (get-buffer-window buffer t device) not respecting
6304 This function needs more work, as others have pointed out.
6306 * frame.h: Rename prev_frame to previous_frame.
6307 device_matches_console_spec no longer takes a `frame' arg.
6312 Use EMACS_BLOCK_SIGNAL instead of sigblock.
6313 From "Golubev I. N." <gin@mo.msk.ru>.
6315 * make-src-depend: Fix typo.
6317 2000-09-13 Martin Buchholz <martin@xemacs.org>
6319 * window.c (Fnext_window):
6320 next_frame() might return nil, not a frame.
6322 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6324 * frame.c (next_frame_internal):
6325 We've passed a frame if we've passed its device.
6327 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6328 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
6330 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6332 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6333 Allow option to suppress accelerators in menu/dialog items.
6334 (populate_or_checksum_helper): Pass dialog title through above.
6336 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
6338 * event-msw.c (mswindows_key_to_emacs_keysym):
6339 Add "pause" key, fix "menu" key.
6341 2000-09-09 Martin Buchholz <martin@xemacs.org>
6343 * eval.c (reinit_vars_of_eval):
6344 Increase max_lisp_eval_depth to 1000,
6345 required for thai-xtis.el to byte-compile under some circumstances.
6347 2000-09-04 Martin Buchholz <martin@xemacs.org>
6349 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
6352 2000-09-01 Martin Buchholz <martin@xemacs.org>
6354 * make-src-depend: Make the generated Makefiles smaller.
6356 * s/hpux.h (SETUP_SLAVE_PTY):
6357 Provide a %d in the format string for the errno argument.
6359 * editfns.c (Ftemp_directory):
6361 Avoid buffer overrun on very long file name.
6363 * input-method-xlib.c (XIM_init_device):
6364 6th parameter of XRegisterIMInstantiateCallback has different
6365 pointer types on different OSes, so simply cast to (void *).
6367 * unexhp9k800.c: Warning fixes. Fiddly changes.
6369 * sysdll.c (dll_open):
6370 shl_load will hang hard if passed a NULL filename.
6371 Simply return NULL for compatibility with dlopen.
6372 * sysdll.c: Conform to XEmacs coding standards.
6374 * sysdep.c (get_pty_max_bytes):
6375 Support pty input lines longer than 512 bytes on HP-UX 10.20.
6377 2000-08-31 Martin Buchholz <martin@xemacs.org>
6379 * tooltalk.c: Add #include <syssignal.h>
6381 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
6383 * s/hpux.h: Don't use undefined function sigunblock().
6385 2000-08-31 Martin Buchholz <martin@xemacs.org>
6387 * config.h.in: Add HAVE_BALLOON_HELP.
6388 * emacs.c: Use HAVE_BALLOON_HELP.
6389 * Makefile.in.in (x_objs):
6390 Make Balloon Help conditional on finding shape.h.
6392 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
6394 * syntax.c (regex_emacs_buffer_p): New variable.
6395 * syntax.h (regex_emacs_buffer_p): extern.
6396 * search.c (looking_at_1):
6398 (fast_string_match):
6399 (search_buffer): Set regex_emacs_buffer_p.
6400 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
6401 when before_dot, at_dot, after_dot.
6403 2000-08-23 Andy Piper <andy@xemacs.org>
6405 * gui-x.c (popup_selection_callback): Only set action_occurred
6406 when we really have an image instance.
6407 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
6409 2000-08-23 Andy Piper <andy@xemacs.org>
6411 * gui-msw.c (mswindows_handle_gui_wm_command): set
6413 * gui-x.c (popup_selection_callback): ditto.
6415 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
6416 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
6417 (struct Lisp_Image_Instance): add action_occurred flag.
6419 * glyphs.c (redisplay_subwindow): use action_occurred flag.
6420 (image_instance_changed): ditto.
6421 (reset_frame_subwindow_instance_cache): only unmap windows - do
6422 not remove them from the cache also.
6424 * glyphs-widget.c (tab_control_update): better debug.
6425 (progress_gauge_update): ditto.
6426 (layout_update): ditto.
6427 (layout_instantiate): ditto.
6428 (tab_control_order_only_changed): cope with null pending items.
6430 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
6431 debug. Force selection of an item when an action occurred. Cope
6432 with null pending_items.
6433 (mswindows_progress_gauge_redisplay): better debug.
6434 * glyphs-x.c (x_tab_control_redisplay): ditto.
6436 * redisplay.c (redisplay_frame): reset the frame cache if the
6439 * window.c (Fset_window_configuration): potentially re-enable
6441 (window_unmap_subwindows): need to finalize instances here since
6442 it is only used in mark_window_as_deleted.
6444 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
6446 * nas.c (SndOpenDataForReading):
6447 nas.c (WaveOpenDataForReading):
6448 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
6449 Somehow escaped from the 2000-08-14 patch.
6451 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6453 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
6454 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
6456 2000-08-21 Andy Piper <andy@xemacs.org>
6458 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
6459 window if it is not already displayed.
6461 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
6462 it is not already displayed.
6464 * window.c (Fset_window_configuration): don't reset the frame
6467 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
6468 instances from the frame cache if we are actually finalizing them.
6469 (reset_frame_subwindow_instance_cache): reset frame cache only
6470 after unmapping everything.
6471 (map_subwindow): set displayed flag after mapping.
6473 2000-08-21 Martin Buchholz <martin@xemacs.org>
6475 * data.c (indirect_function):
6476 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
6478 * eval.c (function_argcount):
6479 Use original function when signaling errors.
6481 2000-08-18 Andy Piper <andy@xemacs.org>
6483 * frame.c (delete_frame_internal): use new
6484 free_frame_subwindow_instances name.
6486 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
6487 (add_tab_item): make return type correct.
6488 (mswindows_tab_control_instantiate): assert index of tab.
6489 (mswindows_tab_control_redisplay): Re-code to use
6490 gui_item_equal_sans_selected and gui_item_list_find_selected.
6492 * glyphs-widget.c (tab_control_update): Correct comment.
6494 * window.c (window_unmap_subwindows): use new
6495 unmap_subwindow_instance_cache_mapper.
6496 (window_unmap_subwindows_cache_mapper): deleted.
6497 (Fset_window_configuration): comparisons should now be with
6498 EQ. Preserve the subwindow instance cache across configuration
6500 (allocate_window): ditto.
6501 (make_dummy_parent): ditto.
6503 * glyphs.c (free_frame_subwindow_instances): rename from
6504 free_frame_subwindow_instance_cache. finalize all instances rather
6505 than just those in the display cache.
6506 (finalize_all_subwindow_instances): walk windows unmapping and
6507 finalizing subwindows.
6508 (unmap_subwindow_instance_cache_mapper): moved from
6509 window.c. Allow finalization as well as unmapping.
6511 * gui.c (gui_item_list_find_selected): new function.
6513 * gui.h (gui_item_list_find_selected): declare.
6515 * glyphs-x.c (x_tab_control_redisplay): pick tab
6516 explicitly. Re-code to use gui_item_equal_sans_selected and
6517 gui_item_list_find_selected.
6519 * glyphs-x.h: add lwlib-utils.h
6521 * buffer.c (Frecord_buffer): undo previous change.
6523 2000-08-09 Vin Shelton <acs@xemacs.org>
6525 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
6526 possible. Create temporary files more securely. The patch was
6527 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
6528 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
6529 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
6532 2000-08-07 Ben Wing <ben@xemacs.org>
6534 * getloadavg.c: remove duplicate (and windows-breaking)
6535 includes of fcntl.h and sys/file.h.
6537 * nt.c: remove duplicate getloadavg() definition.
6539 * sysdll.h (Qdll_filename_encoding): add missing stand-in
6542 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
6544 * eval.c (function_argcount): If function needs to be autoloaded
6545 actually use the loaded definition.
6548 2000-08-05 Ben Wing <ben@xemacs.org>
6550 * getloadavg.c: add prototype for getloadavg(). remove
6551 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
6552 of the code). remove duplicate header includes.
6554 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
6556 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
6557 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
6558 useful load average.
6560 * alloc.c (reinit_alloc_once_early): removed references to
6561 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
6562 the lisp vars are the only things referencing the malloc_sbrk_*
6563 vars, and they were already if 0'd out. these vars only exist
6564 in the older malloc.c, which is basically unused, and they're
6565 only for informational purposes.
6567 * m\*.h: removed useless VIRT_ADDR_VARIES.
6569 * m\powerpc.h: removed stray NO_ARG_ARRAY.
6571 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
6573 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
6574 color if the image is a mono pixmap.
6576 2000-07-30 Ben Wing <ben@xemacs.org>
6578 * Makefile.in.in (release):
6581 * buffer.c (directory_is_current_directory):
6582 * dired-msw.c (mswindows_get_files):
6584 * dired.c (Fdirectory_files):
6585 * dired.c (file_name_completion_stat):
6586 * dired.c (Ffile_attributes):
6587 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
6588 preprocessor tricks, to avoid problems on some machines
6591 * callproc.c (egetenv): GC docs.
6594 * console-msw.h (struct mswindows_dialog_id):
6595 * lrecord.h (lrecord_type):
6596 New object for use with MSW dialogs.
6598 * console.h (struct console_methods):
6599 New enable/disable frame methods, for proper modal dialogs.
6601 * device-msw.c (msprinter_default_printer): Fix to follow
6602 proper Mule conventions.
6605 * device-msw.c (signal_open_printer_error):
6606 * device-msw.c (msprinter_init_device):
6607 * device-msw.c (ensure_not_printing):
6608 * device-msw.c (plist_get_margin):
6609 * device-msw.c (Fmsprinter_select_settings):
6610 * device-msw.c (finalize_devmode):
6611 * device-msw.c (Fmsprinter_settings_despecialize):
6612 * device-msw.c (signal_enum_priner_error):
6613 * extents.c (decode_extent):
6614 * extents.c (decode_map_extents_flags):
6615 * extents.c (decode_extent_at_flag):
6616 * extents.c (Fextent_at):
6617 * extents.c (Fextents_at):
6618 * extents.c (symbol_to_glyph_layout):
6619 [[[[2]]]] Use structured errors.
6622 * dialog-msw.c (mswindows_is_dialog_msg):
6623 * dialog-msw.c (mark_mswindows_dialog_id):
6624 * dialog-msw.c (dialog_proc):
6625 * dialog-msw.c (handle_question_dialog_box):
6626 * dialog-msw.c (syms_of_dialog_mswindows):
6627 Define new object to clean up marking; use it as a dialog identifier.
6628 Call new delete-dialog-box-hook.
6630 * dialog-x.c (dbox_selection_callback):
6631 * dialog-x.c (dbox_descriptor_to_widget_value):
6632 * dialog-x.c (x_make_dialog_box_internal):
6633 Call new delete-dialog-box-hook.
6637 * dialog.c (syms_of_dialog):
6638 * dialog.c (vars_of_dialog):
6639 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
6642 * eval.c (signal_call_debugger):
6643 when noninteractive, output stack traces on the console instead
6644 of in a (never-seen) buffer.
6646 * eval.c (signal_type_error):
6647 * eval.c (invalid_argument_2):
6649 new funs for use w/structured errors.
6652 * event-Xt.c (x_to_emacs_keysym):
6653 * event-Xt.c (describe_event):
6654 * event-Xt.c (emacs_Xt_event_handler):
6655 * event-Xt.c (vars_of_event_Xt):
6657 * event-msw.c (mswindows_wnd_proc):
6658 * event-msw.c (vars_of_event_mswindows):
6659 rename {x,mswindows}-debug-events to debug-{}-events for
6660 consistency with other debug-foo variables.
6663 document next-event more clearly.
6665 * fileio.c (Ffile_name_directory):
6666 * fileio.c (Ffile_name_nondirectory):
6667 * fileio.c (Funhandled_file_name_directory):
6668 * fileio.c (file_name_as_directory):
6669 * fileio.c (Ffile_name_as_directory):
6670 * fileio.c (directory_file_name):
6671 * fileio.c (Fdirectory_file_name):
6672 * fileio.c (Fmake_temp_name):
6673 * fileio.c (Ffile_truename):
6674 * fileio.c (Fsubstitute_in_file_name):
6675 * fileio.c (expand_and_dir_to_file):
6676 * fileio.c (barf_or_query_if_file_exists):
6677 * fileio.c (check_executable):
6678 * fileio.c (Ffile_exists_p):
6679 * fileio.c (Ffile_writable_p):
6680 * fileio.c (Ffile_directory_p):
6681 * fileio.c (Ffile_regular_p):
6682 * fileio.c (Ffile_modes):
6683 * fileio.c (Ffile_newer_than_file_p):
6684 * fileio.c (Fverify_visited_file_modtime):
6685 * fileio.c (Fset_visited_file_modtime):
6686 * fileio.c (auto_save_1):
6691 * frame-msw.c (mswindows_init_frame_1):
6692 * frame-msw.c (mswindows_enable_frame):
6693 * frame-msw.c (error_frame_unsizable):
6694 * frame-msw.c (msprinter_init_frame_1):
6695 * frame-msw.c (msprinter_init_frame_3):
6696 * frame-msw.c (console_type_create_frame_mswindows):
6698 implement new enable/disable frame methods.
6701 * frame-x.c (x_enable_frame):
6702 * frame-x.c (console_type_create_frame_x):
6703 implement new enable/disable frame methods.
6706 * frame.c (Fdisable_frame):
6707 * frame.c (syms_of_frame):
6708 * frame.h (struct frame):
6709 implement new enable/disable frame methods/functions.
6714 * glyphs-msw.c (mswindows_widget_instantiate):
6715 comment that initial-focus should be implemented.
6718 * glyphs-widget.c (check_valid_instantiator):
6719 * glyphs-widget.c (check_valid_orientation):
6720 * glyphs-widget.c (check_valid_tab_orientation):
6721 * glyphs-widget.c (check_valid_justification):
6722 * glyphs-widget.c (check_valid_border):
6723 * glyphs-widget.c (check_valid_callback):
6724 * glyphs-widget.c (check_valid_int_or_function):
6725 * glyphs-widget.c (check_valid_string_or_vector):
6726 * glyphs-widget.c (check_valid_item_list_1):
6727 * glyphs-widget.c (widget_validate):
6728 * glyphs-widget.c (combo_box_validate):
6729 * glyphs-widget.c (widget_instantiate):
6730 * glyphs-widget.c (syms_of_glyphs_widget):
6731 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
6732 * glyphs-widget.c (image_instantiator_combo_box):
6733 * glyphs-widget.c (image_instantiator_scrollbar):
6734 * glyphs-widget.c (image_instantiator_tab_control):
6735 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
6737 support (unimplemented) keyword initial-focus.
6738 reindent long macros.
6740 * glyphs-x.c (x_redisplay_widget):
6741 * glyphs-x.c (x_button_instantiate):
6742 * glyphs-x.c (x_button_redisplay):
6743 * glyphs-x.c (x_progress_gauge_instantiate):
6744 * glyphs-x.c (x_edit_field_instantiate):
6745 * glyphs-x.c (x_combo_box_instantiate):
6746 * glyphs-x.c (x_tab_control_instantiate):
6747 * glyphs-x.c (x_label_instantiate):
6749 * gui-x.c (button_item_to_widget_value):
6750 * gui-x.c (gui_items_to_widget_values_1):
6751 * gui-x.c (gui_item_children_to_widget_values):
6752 * gui-x.c (gui_items_to_widget_values):
6754 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6755 add new flag to gui-parsing routines to indicate whether
6756 accelerator specs should be supported.
6758 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
6760 * glyphs.h (struct Lisp_Image_Instance):
6761 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
6762 add initial-focus flag.
6765 * gui.c (syms_of_gui):
6766 * gui.c (vars_of_gui):
6767 clean up menu-no-selection-hook.
6770 support delete-dialog-box-hook.
6772 * lread.c (Fload_internal):
6773 * lread.c (locate_file_in_directory_mapper):
6777 * lrecord.h (struct toolbar_button):
6778 * lrecord.h (syms_of_toolbar):
6779 document how to create a new object.
6781 * menubar-msw.c (mswindows_char_is_accelerator):
6782 may be called on frames w/o menus.
6784 * menubar.c (vars_of_menubar):
6785 clean up :filter docs.
6792 * process-nt.c (validate_signal_number):
6793 * process-nt.c (signal_cannot_launch):
6794 * process-nt.c (nt_create_process):
6795 * process-nt.c (nt_send_process):
6796 * process-nt.c (nt_kill_child_process):
6797 * process-nt.c (nt_open_network_stream):
6798 * process-nt.c (syms_of_process_nt):
6800 delete quote-handling. call new lisp code that does it better.
6802 * process-unix.c (connect_to_file_descriptor):
6803 * process-unix.c (allocate_pty):
6804 * process-unix.c (unix_send_process):
6805 * process-unix.c (unix_kill_child_process):
6806 * process-unix.c (unix_open_network_stream):
6807 * process-unix.c (unix_open_multicast_group):
6811 * process.c (Fstart_process_internal):
6812 (2). need to canonicalize process path even if absolute.
6814 * select-msw.c (symbol_to_ms_cf):
6815 * select-msw.c (ms_cf_to_symbol):
6816 * select-msw.c (cf_is_autofreed):
6817 * select-msw.c (mswindows_destroy_selection):
6819 * select.c (syms_of_select):
6821 support dibv5, fix bugs. (from Mike Alexander)
6823 * select.c (Fget_selection_internal):
6824 * select.c (select_convert_out):
6827 * sysdep.c (xemacs_stat):
6832 but keep original stat() here because we provide encapsulation
6836 * sysfile.h (fstat):
6837 remove stat garbage.
6841 don't include tchar.h. it's inappropriate because it makes
6842 compile-time distinctions when we want runtime distinctions.
6843 (we provide our own tchar replacements)
6846 use default object printer for toolbar-button.
6849 make sure we don't encapsulate.
6851 * window.c (vars_of_window):
6852 emphasize that temp-buffer-show-hook is obsolete.
6854 2000-08-05 Martin Buchholz <martin@xemacs.org>
6856 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
6857 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
6859 * events.c (Fevent_timestamp_lessp):
6860 Not 64-bit clean. Use EMACS_INT, not int.
6862 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
6864 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
6865 unsigned int and changed the last enum to
6866 lrecord_type_last_built_in_type.
6867 (lrecord_implementations_table): changed prototype to know how
6868 long the array is supposed to be.
6869 (lrecord_type_count): new unsigned int to keep track of the
6870 current number of lisp lrecord types.
6871 (DEFINE_EXTERNAL_LRECORD):
6872 (DECLARE_EXTERNAL_LRECORD): Added these two for external
6873 dynamic-modules to declare new lisp types. They are the same
6874 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
6875 int for each new type, and increment lrecord_type_count by 1.
6877 * alloc.c (lrecord_implementations_table): Changed to reference
6878 lrecord_type_last_built_in_type for the size of the array.
6879 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
6881 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6883 * glyphs.h (check_valid_item_list): Renamed from
6884 check_valid_item_list_1.
6886 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
6888 * select.c (Qselect_coerce): New.
6889 * select.c (Vselection_coercion_alist): New.
6890 * select.c (syms_of_select): Declare.
6891 * select.c (get-selection-internal): Use it.
6892 Use the new select-coerce functionality.
6894 * select.c (select_coerce): New.
6895 * select.h (select_coerce): Declare.
6896 New function to coerce one type of data into another.
6898 2000-08-03 Martin Buchholz <martin@xemacs.org>
6900 * callproc.c (Fcall_process_internal):
6901 (Fcall_process_internal):
6902 * process-unix.c (unix_create_process):
6903 Save and restore the value of errno, so that error messages are accurate.
6905 2000-08-01 Martin Buchholz <martin@xemacs.org>
6907 * elhash.c (print_hash_table):
6908 Fix printing of hash tables to also use `key-and-value' instead of `t'.
6909 Prettify docstrings and indentation.
6911 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
6913 * window.c (Fwindow_pixel_edges): Subtract frame border and
6916 2000-07-31 Andy Piper <andy@xemacs.org>
6918 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
6919 will acknowledge the change.
6921 * glyphs.h: declare tab_control_order_only_changed.
6923 * glyphs-x.c (x_tab_control_redisplay): use
6924 tab_control_order_only_changed.
6926 * glyphs-widget.c (tab_control_order_only_changed): new function.
6928 * glyphs-msw.c (mswindows_tab_control_redisplay): use
6929 tab_control_order_only_changed.
6931 * gui.c (gui_item_equal_sans_selected): new function.
6932 (gui_item_equal): use it.
6934 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
6935 :properties in favor of :items..
6937 * glyphs-widget.c (check_valid_item_list): rename from
6938 check_valid_item_list_1.
6939 (check_valid_item_list_1): renamed.
6940 (combo_box_validate): deprecate :properties in favor of :items.
6941 (widget_instantiate): ditto.
6942 (tab_control_update): ditto.
6943 (image_instantiator_combo_box): ditto.
6944 (image_instantiator_tree_view): ditto.
6945 (image_instantiator_tab_control): ditto.
6946 (layout_post_instantiate): remove dead code.
6948 * print.c (debug_print_no_newline): only write to debugger if in
6951 * elhash.c (Fmake_hash_table): update doc string.
6953 * event-msw.c (mswindows_wnd_proc): don't allow processing of
6954 messages whilst in GC. This at least stops XEmacs crashing but has
6955 the potential for wierd behaviour.
6957 2000-07-31 Martin Buchholz <martin@xemacs.org>
6960 Make existence of s&m files optional.
6962 * s/bsd386.h: Remove HAVE_GETLOADAVG.
6963 * s/freebsd.h: Remove HAVE_GETLOADAVG.
6964 * s/gnu.h: Remove HAVE_GETLOADAVG.
6965 * s/netbsd.h: Remove HAVE_GETLOADAVG.
6966 * s/sol2.h: Remove HAVE_GETLOADAVG.
6967 * lisp.h: Remove getloadavg() declaration.
6969 Include <sys/loadavg.h> if available.
6970 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
6971 * config.h.in: Group together getloadavg()-related macros.
6972 Use only configure-time tests to detect getloadavg().
6974 2000-07-30 Martin Buchholz <martin@xemacs.org>
6976 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
6978 2000-07-25 Andy Piper <andy@xemacs.org>
6980 * syswindows.h: add tchar.h for native builds.
6982 * frame.c (syms_of_frame): remove set-glyph-image.
6984 * general-slots.h: add Qset_glyph_image.
6986 * glyphs-widget.c (layout_update): add domain arg to
6988 (syms_of_glyphs_widget): remove set-glyph-image.
6990 2000-07-23 Ben Wing <ben@xemacs.org>
6992 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
6995 2000-07-22 Andy Piper <andy@xemacs.org>
6997 * symsinit.h: add syms_of_win32().
6999 * gui-msw.c (syms_of_gui_mswindows): remove
7000 Fmswindows_shell_execute.
7001 (Fmswindows_shell_execute): moved to win32.c.
7003 * emacs.c (main_1): add syms_of_win32 ().
7005 * win32.c (init_potentially_nonexistent_functions): rewrite in
7006 compiler-friendly terms.
7007 (Fmswindows_shell_execute): move here from gui-msw.c.
7008 (syms_of_win32): new.
7010 * device-msw.c (Fmswindows_printer_list): clean up args to
7012 Don't include tchar under cygwin or mingw.
7013 (msprinter_default_printer): make cygwin-friendly.
7015 2000-07-21 Andy Piper <andy@xemacs.org>
7017 * glyphs-widget.c (image_instantiator_tree_view): use tab
7018 control's update function.
7019 (layout_property): new function. Retrieve items.
7021 * glyphs-msw.c (mswindows_tree_view_redisplay): new
7022 function. Re-populate the tree view from the pending items.
7024 * glyphs.c (instantiate_image_instantiator): Make sure the domain
7025 is designated the parent if the domain is an image instance. This
7026 is needed so that dirtiness can be cascade up the hierarchy and
7027 thus for layout children to be redisplayed correctly.
7028 (allocate_image_instance): rename glyph -> parent.
7030 * redisplay.h: change redisplay_output_layout signature.
7032 * redisplay-msw.c (mswindows_output_display_block): use domain
7035 * redisplay-x.c (x_output_display_block): use domain arg.
7037 2000-07-10 Andy Piper <andy@xemacs.org>
7039 * window.c (Fset_window_configuration): add comment.
7041 * redisplay-output.c (compare_runes):
7042 (redisplay_output_subwindow): redisplay rather than update subwindow.
7043 (redisplay_output_layout): ditto.
7045 * redisplay-msw.c (mswindows_frame_output_end):
7046 (mswindows_frame_output_end): make defer window pos optional.
7048 * lisp.h: add Flast.
7050 * glyphs.h (struct image_instantiator_methods): add dest_mask top
7051 normalize method. Change update method to be for changed
7052 instantiators. Add redisplay method. Change signature of layout
7054 (struct Lisp_Image_Instance): add instantiator.
7055 (IMAGE_INSTANCE_INSTANTIATOR): new.
7056 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
7057 (XIMAGE_INSTANCE_INSTANTIATOR): new.
7058 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
7061 (find_instantiator_differences): new function.
7062 (Fset_instantiator_property): new convenience function.
7063 (check_image_instance_structure): strictly check for vector
7065 (normalize_image_instantiator): make non-static.
7066 (instantiate_image_instantiator): pass on dest_mask and use new
7067 signatures for image_instance_layout and friends.
7068 (mark_image_instance): mark the instantiator. Mark the subwindow
7069 face not the widget face.
7070 (image_instance_equal): add instantiator.
7071 (image_instance_hash): ditto.
7072 (allocate_image_instance): ditto.
7073 (Fset_image_instance_property): removed.
7074 (Fimage_instance_file_name): ditto.
7075 (Fcolorize_image_instance): ditto.
7076 (image_instance_layout): add offsets to be set.
7077 (update_image_instance): new function. update an image instance
7078 from its changed instantiator.
7079 (inherit_normalize): add dest_mask.
7080 (xbm_normalize): ditto.
7081 (xface_normalize): ditto.
7082 (xpm_normalize): ditto.
7083 (text_update): set_property -> update.
7084 (image_instantiate): use the glyph identity as a hash key, not the
7086 (glyph_width): use new image_instance_layout signature.
7087 (glyph_ascent): ditto.
7088 (glyph_descent): ditto.
7089 (glyph_height): ditto.
7090 (glyph_query_geometry): ressurrect.
7091 (glyph_layout): ditto.
7092 (redisplay_subwindow): update -> redisplay.
7093 (syms_of_glyphs): add Fset_instantiator_property.
7094 (image_instantiator_format_create): set_property -> update.
7097 (autodetect_normalize): add dest_maks to signature.
7098 (x_redisplay_subwindow): update -> redisplay.
7099 (x_redisplay_widget): ditto.
7100 (x_button_redisplay): ditto.
7101 (x_progress_gauge_redisplay): ditto.
7102 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
7104 (console_type_create_glyphs_x): update -> redisplay.
7105 (image_instantiator_format_create_glyphs_x): ditto.
7108 (check_valid_instantiator): disallow glyphs in the instantiator,
7109 they must now be vectors.
7110 (check_valid_instantiator_list): ditto.
7111 (glyph_instantiator_to_glyph): use internal symbol rather than
7113 (widget_update): renamed from widget_set_property. Call cascaded
7115 (redisplay_widget): renamed from update_widget.
7116 (widget_layout): image_instance_layout now takes position as well
7118 (widget_normalize): ditto.
7119 (widget_instantiate): ditto.
7120 (tab_control_query_geometry) ditto.:
7121 (tab_control_update): renamed from tab_control_set_property.
7122 (progress_gauge_update): set_property -> update.
7123 (layout_normalize): rewrite so that child instantiators are
7125 (layout_update): new function. Create glyphs from the normalized
7126 children and cope with any other layout keywords. We do not
7127 instantiate children here that will be take care of by
7128 redisplay_output_layout.
7129 (layout_instantiate): call layout_update and not much else.
7130 (layout_post_instantiate): not sure whether this is needed
7132 (layout_query_geometry): query glyph geometry rather than
7133 image_instance geometry.
7134 (layout_layout): set offsets from pass in parameters. Use glyph
7135 geometry and layout functions rather than image instance ones.
7136 (native_layout_layout): ditto.
7137 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
7138 (image_instantiator_widget): set_property -> update.
7139 (image_instantiator_buttons): ditto.
7140 (image_instantiator_progress_guage): ditto.
7141 (image_instantiator_tab_control): ditto.
7142 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
7143 (image_instantiator_layout): add update method.
7145 * glyphs-msw.c (bmp_normalize):
7146 (mswindows_resource_normalize): add dest_mask so that it can be
7147 proprogated by layout_normalize.
7148 (begin_defer_window_pos): make optional because it may not be the
7149 right thing to do and it introduces differences with X.
7150 (mswindows_unmap_subwindow): ditto.
7151 (mswindows_map_subwindow): ditto.
7152 (mswindows_redisplay_subwindow): renamed from
7153 mswindows_update_subwindow.
7154 (mswindows_redisplay_widget): ditto.
7155 (mswindows_button_redisplay): renamed from
7156 mswindows_button_update. Update is now what the instantiation
7157 function does for a changed instantiator.
7158 (mswindows_progress_gauge_instantiate): set the progress value
7159 here if appropriate.
7160 (mswindows_tab_control_redisplay): cope with re-ordering of the
7161 members of the tab widget by simply selecting the new top
7162 widget. This makes things appear ok if you click on a tab.
7163 (mswindows_combo_box_instantiate): image_instance_layout now takes
7164 position as well as size.
7165 (mswindows_progress_gauge_redisplay): renamed from
7166 mswindows_progress_gauge_update.
7167 (console_type_create_glyphs_mswindows): fix update -> redisplay.
7168 (image_instantiator_format_create_glyphs_mswindows): ditto.
7170 * glyphs-eimage.c (jpeg_normalize):
7173 (tiff_normalize): add dest_mask so that it can be proprogated by
7178 (hash_table_weakness_validate):
7179 (decode_hash_table_weakness):
7180 (Fhash_table_weakness):
7182 (syms_of_elhash): use Ben's naming scheme for hashtable types..
7184 * console.h (struct console_methods): move update_* to
7187 2000-07-20 Ben Wing <ben@xemacs.org>
7189 * *.[ch] (XSETOBJ): remove unused middle argument.
7190 lisp-disunion.h: correct wrap_object() to one argument.
7192 2000-07-15 Ben Wing <ben@xemacs.org>
7195 * s/cygwin32.h (CYGWIN_CONV_PATH):
7196 Add missing logb prototype for v1.1.
7197 Use post-b20 names and alias to pre-b20 names when pre-b20.
7199 * s/windowsnt.h: [5].
7201 2000-07-15 Ben Wing <ben@xemacs.org>
7203 * Makefile.in.in (x_objs):
7204 * Makefile.in.in (sheap_objs):
7205 * Makefile.in.in (objs):
7206 added win32.o, cosmetic cleanups.
7208 * alloc.c (Fmake_byte_code):
7209 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
7210 etc. macros which declare their own args now.
7212 * alloc.c (syms_of_alloc):
7213 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
7216 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
7218 * buffer.c (Fget_file_buffer):
7219 Fixed GCPRO problem.
7221 * buffer.c (get_truename_buffer):
7222 Fixed comment about GC checking.
7224 * buffer.c (syms_of_buffer):
7225 Undeclared those dedicated frame funs.
7229 Define convenience macros for internal/external conversions.
7230 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
7231 and Qenvironment_variable_encoding for cleaner code.
7234 Remove dedicated-frame; in lisp.
7236 * bytecode.c (funcall_compiled_function):
7239 * bytecode.c (syms_of_bytecode):
7243 * console-msw.c (mswindows_show_console): Rewrote.
7245 * console-msw.c (Fmswindows_debugging_output): New.
7246 Sends to OutputDebugString (special MSWin debugger interface).
7248 * console-msw.c (Fmswindows_message_box):
7249 Fixed stupid bugs so it works when called from kill-emacs.
7251 * console-msw.c (syms_of_console_mswindows):
7252 Declare Fmswindows_debugging_output.
7255 New MSWin prototypes.
7257 * console-msw.h (struct mswindows_frame):
7258 New entry last-click-mods for improved button-modifier support.
7260 * console-msw.h (FRAME_MSWINDOWS_POPUP):
7261 New struct entry `popup' with corresponding accessor.
7264 * console-x.c (split_up_display_spec):
7265 * console-x.c (get_display_arg_connection):
7266 * console-x.c (x_semi_canonicalize_console_connection):
7267 * console-x.c (x_canonicalize_device_connection):
7268 [[[6]]]: Change char to more specific type.
7269 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
7271 * console-x.c (x_semi_canonicalize_console_connection):
7272 * console-x.c (x_canonicalize_device_connection):
7273 [[[9]]]: Fix up error signalling to use new structured error system.
7276 [[[4]]]: Define codesys aliases:
7277 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
7278 Qx_color_name_encoding, Qx_display_name_encoding.
7280 * console.h (struct console_methods):
7281 New method make_dialog_box_internal supersedes older
7282 popup_dialog_box method.
7285 Define many new errors, part of new structured errors.
7287 * data.c (init_errors_once_early):
7288 * data.c (syms_of_data):
7291 * device-msw.c (mswindows_init_device):
7292 [[[5]]]: Cleanup to support NT 3.51.
7294 * device-msw.c (decode_devmode): Cleanup.
7296 * device-msw.c (mswindows_handle_print_setup_dialog_box):
7297 * device-msw.c (mswindows_handle_print_dialog_box):
7298 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7299 * device-msw.c (syms_of_device_mswindows):
7300 Delete the dialog box primitives recently introduced by Kirill and
7301 instead interface to general dialog box interface.
7304 * device-x.c (compute_x_app_name):
7305 * device-x.c (x_init_device):
7306 * device-x.c (Fx_valid_keysym_name_p):
7307 * device-x.c (Fx_set_font_path):
7311 * device.h (wrap_device): New.
7312 First of its kind; meant to replace XSETDEVICE.
7314 * dialog-msw.c: Many file-dialog symbols.
7316 * dialog-msw.c (mswindows_register_popup_frame): New.
7317 * dialog-msw.c (mswindows_is_dialog_msg): New.
7318 For supporting kbd traversal in dialog boxes.
7320 * dialog-msw.c (dialog_proc):
7321 Support hitting ESC in dialogs.
7323 * dialog-msw.c (struct):
7324 Common dialog box errors.
7326 * dialog-msw.c (handle_file_dialog_box): New.
7327 Add file dialog code.
7329 * dialog-msw.c (handle_question_dialog_box):
7330 Redo existing code to support new question dialog syntax.
7332 * dialog-msw.c (console_type_create_dialog_mswindows):
7333 We support new dialog console method.
7335 * dialog-msw.c (syms_of_dialog_mswindows):
7336 * dialog-msw.c (vars_of_dialog_mswindows):
7337 New file dialog symbols, vars.
7340 * dialog-x.c (maybe_run_dbox_text_callback):
7341 * dialog-x.c (dbox_descriptor_to_widget_value):
7342 * dialog-x.c (x_make_dialog_box_internal):
7343 * dialog-x.c (console_type_create_dialog_x):
7344 Mule-ize entire file.
7345 Redo to support question dialog syntax.
7349 * dialog.c (Fmake_dialog_box_internal):
7350 * dialog.c (syms_of_dialog):
7351 Kill old popup-dialog-box, replace with new primitive.
7352 Just call device method or signal error.
7354 * eldap.c (Fldap_open):
7355 * eldap.c (Fldap_search_basic):
7356 * eldap.c (Fldap_add):
7357 * eldap.c (Fldap_modify):
7362 * emacs.c (make_arg_list_1):
7363 * emacs.c (make_arg_list):
7364 Mule-ize call to dll_init().
7368 * emacs.c (make_argc_argv):
7369 * emacs.c (free_argc_argv):
7370 * emacs.c (init_cmdargs):
7372 * emacs.c (Fkill_emacs):
7373 * emacs.c (Fdump_emacs):
7374 Update comments about what can be used in syms_* etc.
7375 Call init_win32() when necessary.
7376 Fix up MS Win dialog box in kill-buffer to actually work right.
7387 * eval.c (condition_case_3):
7389 * eval.c (function_argcount):
7390 * eval.c (funcall_lambda):
7393 * eval.c (type_error): New.
7394 * eval.c (maybe_type_error): New.
7395 * eval.c (continuable_type_error): New.
7396 * eval.c (maybe_continuable_type_error): New.
7397 * eval.c (type_error_with_frob): New.
7398 * eval.c (maybe_type_error_with_frob): New.
7399 * eval.c (continuable_type_error_with_frob): New.
7400 * eval.c (maybe_continuable_type_error_with_frob): New.
7401 New functions for use with structured errors.
7404 * event-Xt.c (x_event_to_emacs_event):
7405 Buttons are now modifiers too.
7407 * event-Xt.c (emacs_Xt_current_event_timestamp):
7408 Implement new event method.
7409 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
7412 * event-msw.c (ntpipe_shove_writer): [5].
7413 * event-msw.c (mswindows_enqueue_mouse_button_event):
7414 * event-msw.c (mswindows_drain_windows_queue):
7415 * event-msw.c (mswindows_wnd_proc): [7].
7416 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
7417 * event-msw.c (mswindows_modifier_state):
7418 Throughout: support new button modifiers.
7420 * event-msw.c (emacs_mswindows_current_event_timestamp):
7421 Implement new event method.
7422 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
7425 * event-stream.c (event_stream_current_event_timestamp): New.
7426 * event-stream.c (maybe_kbd_translate): New functionality.
7427 * event-stream.c (vars_of_event_stream):
7428 Document new kbd-translate-table functionality.
7430 * event-stream.c (Fcurrent_event_timestamp): New.
7431 New primitive for use in fabricated events.
7432 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
7434 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
7437 * events.c (Fmake_event):
7438 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
7442 * events.c (format_event_object): fix gcc warnings.
7444 * events.c (Fevent_timestamp): Document new primitives.
7446 * events.c (TIMESTAMP_HALFSPACE): New.
7448 * events.c (Fevent_timestamp_lessp): New. New primitive for
7449 comparing timestamps correctly (half-space algorithm).
7451 * events.c (Fevent_modifier_bits): Doc fix.
7453 * events.c (Fevent_modifiers): Major doc addition.
7454 * events.c (event_x_y_pixel_internal): Typo fix.
7455 * events.c (syms_of_events): Declare new primitives.
7458 Update long comment for button modifiers, timestamps.
7460 * events.h (struct event_stream):
7461 New current_event_timestamp method.
7464 * extents.c (extent_in_region_p):
7465 * extents.c (decode_extent):
7466 * extents.c (Fset_extent_parent):
7467 * extents.c (decode_map_extents_flags):
7471 * extents.c (struct extent_at_arg):
7472 * extents.c (decode_extent_at_flag):
7473 * extents.c (extent_at_mapper):
7474 * extents.c (extent_at_bytind):
7475 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
7476 * extents.c (Fextents_at): New primitive. [9].
7477 * extents.c (symbol_to_glyph_layout): [9].
7478 Support new primitive `extents-at'.
7481 * extents.c (get_text_property_bytind):
7482 extent_at_bytind has another arg.
7485 * extents.c (syms_of_extents): New primitive.
7487 * file-coding.c (Fmake_coding_system): [1].
7488 * file-coding.c (subsidiary_coding_system): fix gcc warning
7489 * file-coding.c (syms_of_file_coding): [2].
7491 * fileio.c (Fexpand_file_name):
7492 * fileio.c (Fsysnetunam):
7493 * fileio.c (Ffile_exists_p):
7494 * fileio.c (Ffile_executable_p):
7495 * fileio.c (Fverify_visited_file_modtime):
7498 * fileio.c (syms_of_fileio): [2].
7500 * filelock.c (lock_file_1):
7501 * filelock.c (current_lock_owner):
7502 * filelock.c (lock_if_free):
7503 * filelock.c (lock_file):
7504 * filelock.c (unlock_file):
7507 * fns.c (concat): Fix gcc warning.
7510 * fns.c (Fold_member):
7512 * fns.c (Fold_memq):
7513 * fns.c (memq_no_quit):
7515 * fns.c (Fold_assoc):
7517 * fns.c (Fold_assq):
7518 * fns.c (assq_no_quit):
7520 * fns.c (Fold_rassoc):
7522 * fns.c (Fold_rassq):
7523 * fns.c (rassq_no_quit):
7525 * fns.c (Fold_delete):
7527 * fns.c (Fold_delq):
7528 * fns.c (delq_no_quit):
7529 * fns.c (Fremassoc):
7531 * fns.c (remassq_no_quit):
7532 * fns.c (Fremrassoc):
7533 * fns.c (Fremrassq):
7534 * fns.c (remrassq_no_quit):
7539 * frame-msw.c (mswindows_init_frame_1):
7540 * frame-msw.c (mswindows_delete_frame):
7541 Register popups with dialog code so keyboard traversing works.
7543 * frame-tty.c (tty_raise_frame_no_select): [1].
7546 * frame-x.c (x_set_frame_text_value):
7547 * frame-x.c (x_set_frame_properties):
7548 * frame-x.c (x_create_widgets):
7552 * frame.c (Fmouse_pixel_position): Minor doc fixes.
7554 * frame.h (wrap_frame): New.
7555 Macro like wrap_device.
7558 * general.c (SYMBOL):
7559 * general.c (syms_of_general):
7560 Major reorg. This is now just a wrapper and symbols themselves
7561 are listed in general-slots.h.
7563 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
7564 * glyphs-msw.c (mswindows_resource_instantiate): [5].
7566 * glyphs-msw.c (mswindows_native_layout_instantiate):
7567 Add DS_CONTROL so keyboard traversal will work.
7570 * glyphs-widget.c (syms_of_glyphs_widget):
7571 Move some symbols to general-slots.h.
7574 * glyphs-x.c (xbm_instantiate_1):
7575 * glyphs-x.c (x_xbm_instantiate):
7576 * glyphs-x.c (x_xface_instantiate):
7577 * glyphs-x.c (autodetect_instantiate):
7578 * glyphs-x.c (cursor_font_instantiate):
7579 * glyphs-x.c (x_update_widget):
7580 * glyphs-x.c (x_widget_instantiate):
7581 * glyphs.c (bitmap_to_lisp_data):
7582 * glyphs.c (pixmap_to_lisp_data):
7585 * glyphs.c (syms_of_glyphs):
7589 * gui-x.c (print_widget_value):
7590 * gui-x.c (menu_separator_style_and_to_external):
7591 * gui-x.c (add_accel_and_to_external):
7592 * gui-x.c (button_item_to_widget_value):
7593 * gui-x.c (gui_items_to_widget_values_1):
7594 * gui-x.c (gui_items_to_widget_values):
7595 * gui-x.c (syms_of_gui_x):
7596 * gui-x.c (vars_of_gui_x):
7597 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
7601 Muleize, prototype changes matching gui-x.c.
7604 * gui.c (separator_string_p):
7605 * gui.c (gui_item_add_keyval_pair):
7606 * gui.c (make_gui_item_from_keywords_internal):
7607 * gui.c (signal_too_long_error):
7608 * gui.c (parse_gui_item_tree_item):
7609 * gui.c (syms_of_gui):
7610 * gui.c (vars_of_gui):
7612 menu-no-selection-hook moved here (used by MSWin).
7613 Move some symbols to general-slots.h.
7617 * insdel.c (get_buffer_pos_char):
7618 * insdel.c (get_buffer_range_char):
7621 * keymap.c (keymap_lookup_directly):
7622 * keymap.c (keymap_store):
7623 * keymap.c (ensure_meta_prefix_char_keymapp):
7624 * keymap.c (describe_map):
7626 Support new button modifiers.
7628 * lisp-disunion.h (wrap_object):
7629 * lisp-disunion.h (XSETOBJ):
7630 Rename make_obj to wrap_object.
7633 * lisp-union.h (make_int):
7634 * lisp-union.h (make_char):
7635 Support wrap_object.
7638 * lisp.h (LIST_LOOP):
7639 * lisp.h (EXTERNAL_LIST_LOOP):
7640 * lisp.h (LIST_LOOP_2):
7641 * lisp.h (EXTERNAL_LIST_LOOP_1):
7642 * lisp.h (EXTERNAL_LIST_LOOP_2):
7643 * lisp.h (EXTERNAL_LIST_LOOP_3):
7644 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
7645 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
7646 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
7647 * lisp.h (EXTERNAL_ALIST_LOOP_5):
7648 * lisp.h (EXTERNAL_ALIST_LOOP_6):
7649 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
7650 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
7651 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
7652 * lisp.h (struct Lisp_Symbol):
7653 * lisp.h (maybe_continuable_error_with_frob):
7654 Fix up section comments.
7655 Add new types for char to indicate usage.
7656 Delete symbols auto-generated from general-slots.h.
7657 Add prototypes for structured error functions.
7658 Add long comments describing looping macros and change interface
7659 so that lvalues are automatically declared.
7660 Add NO_DECLARE macro in case callers want to declare lvalues
7663 * lread.c (read_syntax_error):
7664 * lread.c (continuable_read_syntax_error):
7665 * lread.c (read_structure):
7666 * lread.c (sequence_reader):
7667 * lread.c (read_list_conser):
7668 * lread.c (read_compiled_function):
7669 Rename syntax_error and continuable_syntax_error to avoid clash
7670 with same-named structured error functions.
7672 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7673 * menubar-msw.c (populate_menu_add_item):
7674 * menubar-msw.c (populate_or_checksum_helper):
7679 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7680 Mule-ize whole file.
7682 * menubar.c (Fnormalize_menu_item_name): Add optimization.
7684 * mule-charset.c (Fmake_charset):
7685 * mule-wnnfns.c (Fwnn_set_param):
7688 * ntproc.c (create_child):
7689 * ntproc.c (Fwin32_set_current_locale):
7690 Add comments portending doom.
7693 * objects-msw.c (old_font_enum_callback_2):
7694 * objects-msw.c (font_enum_callback_1):
7695 * objects-msw.c (mswindows_enumerate_fonts):
7699 * objects-x.c (allocate_nearest_color):
7700 * objects-x.c (x_parse_nearest_color):
7701 * objects-x.c (x_initialize_color_instance):
7702 * objects-x.c (x_print_color_instance):
7703 * objects-x.c (x_finalize_color_instance):
7704 * objects-x.c (x_valid_color_name_p):
7705 * objects-x.c (x_initialize_font_instance):
7706 * objects-x.c (x_print_font_instance):
7707 * objects-x.c (valid_x_font_name_p):
7708 * objects-x.c (truename_via_FONT_prop):
7709 * objects-x.c (truename_via_random_props):
7710 * objects-x.c (truename_via_XListFonts):
7711 * objects-x.c (x_font_truename):
7712 * objects-x.c (x_font_instance_truename):
7713 * objects-x.c (x_font_instance_properties):
7714 * objects-x.c (x_list_fonts):
7715 * objects-x.c (x_find_charset_font):
7716 Mule-ize entire file.
7723 * print.c (std_handle_out_external):
7724 * print.c (debug_print_no_newline):
7725 * print.c (syms_of_print):
7726 Output to all debugger kinds in debug-print.
7727 Fix console-output code under MSWin to actually work.
7729 * process-nt.c (send_signal):
7730 * process-nt.c (nt_create_process):
7731 Use newer Unicode macros.
7733 * process-unix.c (unix_create_process):
7734 * process-unix.c (unix_canonicalize_host_name):
7735 * process-unix.c (unix_open_network_stream):
7741 * search.c (syms_of_search):
7744 * select-msw.c (mswindows_destroy_selection):
7747 * select-x.c (symbol_to_x_atom):
7750 * select.c (syms_of_select):
7753 * sound.c (Fplay_sound_file):
7757 * specifier.c (decode_specifier_type):
7758 * specifier.c (Fvalid_specifier_locale_type_p):
7759 * specifier.c (check_valid_locale_or_locale_type):
7760 * specifier.c (decode_locale):
7761 * specifier.c (decode_locale_type):
7762 * specifier.c (decode_locale_list):
7763 * specifier.c (check_valid_domain):
7764 * specifier.c (decode_specifier_tag_set):
7765 * specifier.c (Fcanonicalize_tag_set):
7766 * specifier.c (Fdefine_specifier_tag):
7767 * specifier.c (Fspecifier_tag_predicate):
7768 * specifier.c (check_valid_inst_list):
7769 * specifier.c (check_valid_spec_list):
7770 * specifier.c (decode_how_to_add_specification):
7771 * specifier.c (check_modifiable_specifier):
7772 * specifier.c (specifier_add_spec):
7773 * specifier.c (boolean_validate):
7774 * specifier.c (display_table_validate):
7777 * specifier.c (syms_of_specifier):
7778 Move some symbols to general-slots.h.
7782 * symbols.c (Fmapatoms):
7783 * symbols.c (Fapropos_internal):
7786 * symbols.c (set_default_buffer_slot_variable):
7787 * symbols.c (set_default_console_slot_variable):
7790 * symbols.c (defsymbol_massage_name_1):
7791 * symbols.c (defkeyword_massage_name):
7792 * symbols.c (deferror_1):
7793 * symbols.c (deferror):
7794 * symbols.c (deferror_massage_name_and_message):
7796 * symeval.h (DEFSYMBOL):
7797 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
7799 * symbols.c (syms_of_symbols):
7803 * symsinit.h (init_win32): New.
7804 Also new is syms_of_dialog_mswindows.
7807 Add new Unicode macros, missing Cygwin wide-char functions,
7808 convenience conversion macros for Qmswindows_tstr, macros for
7809 encapsulating required MSWin <-> Cygwin filename conversions,
7810 prototype for dynamically-extracted (not in NT 3.51) functions.
7815 * tooltalk.c (Fadd_tooltalk_message_arg):
7816 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
7817 * tooltalk.c (Fadd_tooltalk_pattern_arg):
7820 * tooltalk.c (syms_of_tooltalk):
7824 * unexnt.c (unexec):
7825 Fix up headers, declaration of unexec() to be more standard.
7827 2000-07-20 Martin Buchholz <martin@xemacs.org>
7829 * offix.h: Revert change to guard macros - they're used in offix.c!
7831 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7833 * lisp.h: Defsubred Fdelete.
7835 * console-msw.h: (msprinter_default_printer): Added.
7837 * console-msw.c (msprinter_canonicalize_console_connection):
7838 (msprinter_canonicalize_device_connection): Added.
7840 * device-msw.c (msprinter_default_printer):
7841 (Fmswingows_get_default_printer):
7842 (signal_enum_priner_error):
7843 (Fmswingows_printer_list): Added.
7845 2000-07-19 Martin Buchholz <martin@xemacs.org>
7847 * XEmacs 21.2.35 is released.
7849 2000-07-19 Martin Buchholz <martin@xemacs.org>
7851 * select-x.c (x_handle_selection_request):
7852 Text selected in xemacs and pasted into xterm failed to appear.
7853 Spelling fixes and cosmetic changes.
7855 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7857 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
7858 XEmacs frame (fix for doubling chars in dialog boxes).
7860 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7862 * select.c (select_convert_in, select_convert_out):
7863 Don't call intern() every time.
7865 * select.c (Qselect_convert_in, Qselect_convert_out): New.
7866 * select.c (vars_of_select): Initialise them.
7868 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7870 * select.c (selection-coercible-types): New.
7872 * select.c (own-selection-internal):
7873 * select.c (get-selection-internal):
7874 MULE bug fix - these should default to COMPOUND_TEXT and not
7875 STRING for MULE. I think.
7877 * select.c (select_convert_out): Use selection-coercible-types
7878 to find types that we can attempt to perform coercions on.
7880 2000-07-18 Martin Buchholz <martin@xemacs.org>
7884 Add coding: cookie to identify encoding.
7886 * mule-canna.c (CANNA_mode_keys): make static.
7887 Use proper prototypes, even for functions of no arguments.
7888 Remove external prototype for Fding().
7890 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
7892 * select.c (syms_of_select): Add missing DEFSUBR.
7894 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7896 * select.c (get_selection_internal, own_selection_internal):
7897 Make the type default to STRING, rather than placing a nil type
7898 into Vselection_alist.
7900 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7902 * gpmevent.c (tty_selection_exists_p):
7903 * gpmevent.c (tty_own_selection):
7904 Updated parameter lists.
7906 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
7908 * select.h (selection-alist): Removed declaration.
7910 * select.h (get_local_selection):
7911 * select.c (get_local_selection):
7914 * select.h (convert_selection): Removed declaration.
7915 * select.c (convert_selection): Removed.
7916 This function belongs in Lisp.
7918 * select.h (select_convert_in): Declare.
7919 * select.h (select_convert_out): Declare.
7920 * select.c (select_convert_in): New.
7921 * select.c (select_convert_out): New.
7922 New conversion functions for other files to call.
7924 * select.h (select_notify_buffer_kill): Declare.
7925 * select.c (select_notify_buffer_kill): New.
7926 New functions that get called from kill-buffer.
7928 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
7929 X-specific lisp code.
7931 * select.h: Declare some of the lisp-visible functions for
7934 * select.c (clean_local_selection_data): Removed. This was
7935 a disgusting function, and previously should have been in
7936 select-x.c in any case. The functionality is now provided
7937 in select-convert-from-integer (select.el).
7939 * select.c (available-selection-types): Fixed stupidity where
7940 INTEGER and ATOM got added twice. Also add STRING when we see an
7943 * select.c (get-selection-internal): Removed symbol stripping. No
7944 longer causes conversion when data comes from the internal cache.
7946 * select.c (syms_of_select): Added new functions.
7948 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
7949 error checking - previously this called abort!
7951 * select-x.c (x_own_selection): Changed comment.
7953 * select-x.c (x_handle_selection_request): Use select_convert_out.
7954 Don't mess with selection-alist; it's an internal variable of select.c.
7956 * select-x.c (x_get_foreign_selection): Use select_convert_in.
7958 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
7959 rather than messing with selection-alist.
7961 * select-msw.c (mswindows_get_foreign_selection):
7962 Use TO_INTERNAL_FORMAT rather than hacking.
7964 2000-07-14 Martin Buchholz <martin@xemacs.org>
7966 * process-unix.c (unix_open_multicast_group):
7967 (unix_open_multicast_group): Remove useless casts.
7969 2000-07-13 Martin Buchholz <martin@xemacs.org>
7971 * sound.c (Fplay_sound): Fix `unused variable' warning.
7973 * emacs.c (main): Use correct type for _environ on SCO5.
7975 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
7977 * console.h (own_selection_method):
7978 * console.h (selection_exists_p_method):
7979 * console.h (available_selection_types_method): New.
7980 * console.h (register_selection_data_type_method): New.
7981 * console.h (selection_data_type_name): New.
7983 * console-msw.h (mswindows_destroy_selection): Declare it. New
7984 function & alist to track GlobalAlloc()'d handles that need
7985 releasing when the clipboard data gets replaced or emptied.
7987 * event-msw.c (mswindows_wnd_proc): Call it.
7989 * lisp.h, general.c (Qappend): New symbol representing a
7992 * select.c (own-selection-internal):
7993 * select.c (selection-exists-p):
7994 * select.c (available-selection-types): New.
7995 * select.c (register-selection-data-type): New.
7996 * select.c (selection-data-type-name): New. New functions to deal
7997 with device-specific selection data formats.
7998 * select.c (selection-converter-out-alist): Renamed.
7999 * select.c (selection-converter-in-alist): New.
8000 * select.c (selection-appender-alist): New. Added new alists.
8001 * select.c (syms_of_select, vars_of_select): Added new symbols &
8003 * select.c (get_local_selection): Split.
8004 * select.c: Removed spurious type checking - selections may now be
8005 of any type, not just strings.
8006 * select.c (own-selection-internal):
8008 * select.h, select.c (convert_selection): New. Created
8009 convert_selection() function based on get_local_selection().
8010 * select.h, select.c (QCF_*): New symbols representing mswindows
8012 * select.h, select.c (Qreplace_all, Qreplace_existing): New
8013 symbols representing `how-to-add' modes.
8015 * select-msw.c (x_sym_p): New.
8016 * select-msw.c (symbol_to_ms_cf): New.
8017 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
8018 symbols & clipboard formats. Can also handle string names.
8019 * select-msw.c (mswindows_own_selection):
8020 * select-msw.c (mswindows_selection_exists_p):
8021 Added `data-type' parameter. Use it.
8022 * select-msw.c (mswindows_available_selection_types): New.
8023 * select-msw.c (mswindows_register_selection_data_type): New.
8024 * select-msw.c (mswindows_selection_data_type_name): New.
8025 * select-msw.c (mswindows_own_selection):
8026 * select-msw.c (mswindows_get_foreign_selection):
8027 * select-msw.c (mswindows_selection_exists_p): Rewrote.
8028 * select-msw.c (console_create_select_mswindows): Added new methods.
8029 * select-msw.c (mswindows_destroy_selection): New.
8030 * select-msw.c (Vhandle_alist): New list.
8031 * select-msw.c (mswindows_own_selection):
8033 * select-x.c (x_own_selection):
8034 * select-x.c (x_selection_exists_p):
8035 * select-x.c: Added some comments about maybe using new
8037 * select-x.c (x_own_selection):
8039 * specifier.c: Remove definition of Qappend (now in general.c)
8040 * specifier.c (syms_of_specifier): Remove Qappend.
8042 2000-07-12 Martin Buchholz <martin@xemacs.org>
8044 * config.h.in: Add socklen_t.
8046 * s/decosf4-0.h: No special compiler flags needed or desired.
8047 In particular, undefine _BSD for DEC OSF 4.0.
8049 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8051 * redisplay-msw.c (msprinter_frame_output_end): Added.
8052 (console_type_create_redisplay_mswindows): Referred the above.
8054 * frame.c (setup_frame_without_minibuffer): Do not create a
8055 default minibuffer frame on a printer device.
8057 * frame-msw.c (apply_dc_geometry): Added.
8058 (msprinter_start_page):
8059 (msprinter_init_frame_3):
8060 (msprinter_eject_page): Use it.
8062 * console-msw.h (struct msprinter_frame): Added pix_left and top,
8063 and removed residual duplex and orientation properties.
8065 2000-07-11 Martin Buchholz <martin@xemacs.org>
8067 * eval.c (function_argcount): Work around a DEC CC compiler bug.
8069 * unexalpha.c: Remove system prototypes from C sources!
8071 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
8073 * eval.c: Remove references to M-x edit-options in DEFUNs for
8074 `defvar' and `defconst'.
8076 2000-07-09 Martin Buchholz <martin@xemacs.org>
8078 * config.h.in: Remove SMART_INCLUDE hackery.
8081 * config.h.in: Don't use SMART_INCLUDE.
8083 * postgresql.h: Include libpq-fe.h here. Fix typo.
8084 * inline.c: Simply #include "postgresql.h"
8086 - Don't use SMART_INCLUDE
8087 - Use simply "const".
8088 - Use standard doc string conventions.
8089 - Use correct type for result of PQstatus.
8091 2000-07-09 Martin Buchholz <martin@xemacs.org>
8093 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
8095 C++ compilation changes.
8096 * config.h.in (EXTERN_C): Define.
8097 * config.h.in (not): This is also a C++ keyword.
8098 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
8099 * cm.c: Use EXTERN_C.
8100 * redisplay-tty.c: Use EXTERN_C.
8101 * sysdep.c: Use EXTERN_C. Remove Gould support.
8103 2000-07-09 Martin Buchholz <martin@xemacs.org>
8105 * general.c: Remove duplicate definition for Qfunction.
8107 2000-07-08 Ben Wing <ben@xemacs.org>
8109 * device-msw.c (msprinter_init_device):
8110 * device-msw.c (sync_printer_with_devmode):
8111 * device-msw.c (handle_devmode_changes):
8112 * device-msw.c (print_dialog_worker):
8113 * device-msw.c (Fmsprinter_apply_settings):
8114 * device-msw.c (hash_devmode):
8115 * device-msw.c (Fmsprinter_settings_despecialize):
8116 use Qmswindows_tstr, not Qctext.
8118 * vm-limit.c (check_memory_limits):
8119 avoid infinite loop printing warning messages.
8121 2000-07-05 Craig Lanning <lanning@scra.org>
8123 * Makefile.in.in: Add support for including the Windows resources
8124 when building with the cygwin and mingw targets.
8126 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
8127 not set or not correct.
8128 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
8129 (init_initial_directory): Don't try to use $PWD on the
8130 WIN32_NATIVE target.
8133 [[Add -mwindows to eliminate console window.]] not required --ben
8134 (HAVE_NATIVE_SOUND): removed; now handled by configure.
8135 (MAIL_USE_POP): removed; now handled by configure.
8137 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
8138 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
8139 (HAVE_NATIVE_SOUND): removed; now handled by configure.
8140 (MAIL_USE_POP): removed; now handled by configure.
8141 (ENCAPSULATE_STAT): from Dan Holmsand, added.
8142 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
8143 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
8145 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
8146 up from <winsock.h> via systime.h.
8147 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
8148 (getpagesize): from Dan Holmsand, added.
8149 Added #endif which was left dangling by Ben's mega patch; added
8150 comment to help prevent this in the future.
8152 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
8154 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8156 * console-msw.h (struct mswindows_device): Removed unnecessary
8157 cached device geometry values.
8158 Added update_tick and an accessor macro.
8159 (Lisp_Devmode): Added lrecord declaration.
8160 (struct msprinter_device): Contain devmode as a Lisp object.
8161 Added mswindows_get_selected_frame_hwnd();
8163 * console.h (struct console_methods): Indentation nitpicking.
8165 * device-msw.c (mswindows_init_device): Do not initialize geometry
8166 cache. Initialize update tick.
8167 (mswindows_device_system_metrics): Ask the device for its geometry.
8168 (global_free_2_maybe):
8169 (devmode_to_hglobal):
8170 (handle_printer_changes):
8171 (ensure_not_printing):
8172 (print_dialog_worker):
8173 (Fmsprinter_print_setup_dialog):
8174 (Fmsprinter_print_dialog):
8177 (Fmsprinter_page_setup_dialog): Added functions.
8178 (sync_printer_with_devmode):
8179 (handle_devmode_changes):
8180 (Fmsprinter_get_settings):
8181 (Fmsprinter_select_settings):
8182 (Fmsprinter_apply_settings):
8184 (Fmsprinter_settings_copy):
8185 (Fmsprinter_settings_despecialize):
8189 (hash_devmode): Added functions
8190 (syms_of_device_mswindows): Init devmode lrecord class.
8192 * device.h: Added an exfun for find-device.
8194 * event-msw.c (mswindows_wnd_proc): Do not update the cached
8195 geometry; although, recreate the device compatible DC.
8197 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
8198 (msprinter_init_frame_3):
8199 (msprinter_frame_property):
8200 (msprinter_internal_frame_property_p):
8201 (msprinter_frame_properties):
8202 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
8203 print job properties (will move to device settings).
8205 * lisp.h: Added symbols.
8207 * general.c (syms_of_general): Declared them.
8209 * hash.c (string_hash): Added.
8211 * lrecord.h (lrecord_type): Added devmode lrecord type.
8213 2000-07-02 Mike Sperber <mike@xemacs.org>
8215 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
8218 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
8220 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
8223 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
8225 * data.c (Fstring_to_number): Don't recognize floating point if
8228 2000-06-22 Martin Buchholz <martin@xemacs.org>
8230 * glyphs-widget.c (tab_control_query_geometry):
8231 (widget_query_geometry):
8232 (button_query_geometry):
8233 * glyphs.c (text_query_geometry):
8234 Enforce type correctness.
8236 2000-06-18 Martin Buchholz <martin@xemacs.org>
8238 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
8239 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
8241 2000-06-17 Martin Buchholz <martin@xemacs.org>
8243 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
8244 conflicts with gcc's fixincluded version of FOO.h.
8246 * glyphs.h (image_instance_geometry): Remove trailing `,'
8248 2000-06-08 Mike Alexander <mta@arbortext.com>
8250 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
8251 (shove_thread): Don't write the same output twice
8252 (make_ntpipe_output_stream): Increase priority of shove thread
8253 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
8255 (ntpipe_shove_closer): Don't delete the pipe until we're done with
8258 2000-06-12 Ben Wing <ben@xemacs.org>
8260 * s\mingw32.h (sigset):
8261 * s\windowsnt.h (sigset):
8262 rename msw_ to mswindows_ for consistency with general convention.
8264 2000-06-12 Ben Wing <ben@xemacs.org>
8267 * console-msw.c (mswindows_get_console_hwnd):
8268 * console-msw.c (mswindows_ensure_console_allocated):
8269 * console-msw.c (mswindows_hide_console):
8270 * console-msw.c (mswindows_show_console):
8271 * console-msw.c (mswindows_ensure_console_buffered):
8272 * console-msw.c (mswindows_output_console_string):
8273 * console-msw.c (mswindows_windows9x_p):
8275 * device-msw.c (mswindows_get_workspace_coords):
8276 * device-msw.c (mswindows_device_system_metrics):
8277 * dialog-msw.c (mswindows_popup_dialog_box):
8278 * event-msw.c (mswindows_wnd_proc):
8279 * frame-msw.c (mswindows_size_frame_internal):
8280 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
8281 * menubar-msw.c (displayable_menu_item):
8282 * menubar-msw.c (mswindows_char_is_accelerator):
8284 * nt.c (mswindows_sigset):
8285 * nt.c (mswindows_sigrelse):
8286 * nt.c (mswindows_sigpause):
8287 * nt.c (mswindows_raise):
8288 * nt.c (timer_proc):
8290 * ntproc.c (find_child_console):
8291 * ntproc.c (sys_kill):
8293 * print.c (std_handle_out_external):
8294 * process-nt.c (find_child_console):
8295 * process-nt.c (send_signal_the_95_way):
8296 * process-nt.c (ensure_console_window_exists):
8297 * process-nt.c (nt_create_process):
8299 rename msw_ to mswindows_ for consistency with general convention.
8303 include nt.h, not syswindows.h.
8305 * nt.c (mswindows_fstat):
8306 * nt.c (mswindows_stat):
8307 prefix mswindows_ instead of attempting to directly override the
8308 library functions. fix declarations.
8311 include syswindows.h. move some sysdep.h stuff here.
8314 include syswindows.h, not <windows.h>.
8322 * sysdep.c (sys_fstat):
8323 * sysdep.c (sys_stat):
8324 call mswindows versions when appropriate.
8327 move mswin decls to nt.h.
8330 add long comment describing appropriate use of the various windows
8333 2000-06-11 Ben Wing <ben@xemacs.org>
8335 * device-x.c: Correct doc string for sixth arg of x-get-resource.
8337 2000-06-10 Ben Wing <ben@xemacs.org>
8339 * Makefile.in.in (release):
8340 Correction to make sure xemacs.exe always dumped when correct.
8344 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
8346 * buffer.c (set_buffer_internal):
8347 [[[[2]]]]: Remove HAVE_FEP code.
8349 * buffer.c (init_initial_directory):
8353 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
8357 * callproc.c (call_process_cleanup):
8358 * callproc.c (Fold_call_process_internal):
8359 * callproc.c (child_setup):
8360 * callproc.c (getenv_internal):
8361 * callproc.c (init_callproc):
8362 * callproc.c (vars_of_callproc):
8363 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
8364 __CYGWIN32__ -> CYGWIN.
8365 DOS_NT -> WIN32_NATIVE.
8366 Remove MSDOS support/references, converting to WIN32_NATIVE
8368 __MINGW32__ -> MINGW.
8369 Fix windows.h includes.
8370 Remove bogus HAVE_NTGUI.
8376 mswindows_message_outputted added for use in allowing startup
8377 errors on the console to be seen.
8379 * console-msw.c (msw_ensure_console_allocated):
8380 * console-msw.c (msw_output_console_string):
8381 * console-msw.c (DHEADER):
8382 * console-msw.c (DOPAQUE_DATA):
8383 * console-msw.c (DEVENT):
8384 * console-msw.c (DCONS):
8385 * console-msw.c (DCONSCDR):
8386 * console-msw.c (DSTRING):
8387 * console-msw.c (DVECTOR):
8388 * console-msw.c (DSYMBOL):
8389 * console-msw.c (DSYMNAME):
8392 * console-stream.c (stream_init_console):
8393 Fix text/binary problems.
8396 * device-msw.c (mswindows_finish_init_device):
8397 * device-msw.c (mswindows_delete_device):
8400 * device.c (handle_asynch_device_change):
8404 * dgif_lib.c (DGifOpenFileName):
8405 * dgif_lib.c (DGifOpenFileHandle):
8406 * dgif_lib.c (DGifGetLine):
8407 * dgif_lib.c (DGifGetPixel):
8408 Added config.h/lisp.h, fix up includes.
8415 * dired.c (file_name_completion):
8416 * dired.c (Ffile_attributes):
8417 * dired.c (syms_of_dired):
8421 * dumper.c (pdump_file_unmap):
8422 * dumper.c (pdump_load):
8426 * editfns.c (Ftemp_directory):
8427 * editfns.c (user_login_name):
8428 * editfns.c (Fuser_real_login_name):
8429 * editfns.c (get_home_directory):
8432 * elhash.c (finish_marking_weak_hash_tables):
8433 [[[[5]]]]: Fix GCC warnings.
8436 * emacs.c (mswindows_handle_hardware_exceptions):
8437 * emacs.c (make_arg_list_1):
8439 * emacs.c (Fkill_emacs):
8440 * emacs.c (Fdump_emacs):
8442 Fix problems with nested crashes, add long comment.
8444 * event-Xt.c (init_event_Xt_late):
8448 * event-msw.c (mswindows_dde_callback):
8449 * event-msw.c (mswindows_handle_sticky_modifiers):
8450 * event-msw.c (mswindows_wnd_proc):
8454 * events.c (character_to_event):
8458 * fileio.c (Ffile_name_directory):
8459 * fileio.c (Ffile_name_nondirectory):
8460 * fileio.c (directory_file_name):
8461 * fileio.c (Fexpand_file_name):
8462 * fileio.c (Fsubstitute_in_file_name):
8463 * fileio.c (Ffile_name_absolute_p):
8464 * fileio.c (check_executable):
8465 * fileio.c (Ffile_readable_p):
8466 * fileio.c (Ffile_accessible_directory_p):
8467 * fileio.c (Ffile_modes):
8468 * fileio.c (Funix_sync):
8469 * fileio.c (vars_of_fileio):
8472 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
8474 Expand getdefdir defn.
8475 Fix bogus rename() comment.
8477 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
8478 to use standard XEmacs include files, e.g. sysfile.h, rather
8479 than system-specific includes.
8485 * frame.c (vars_of_frame):
8489 * getloadavg.c (getloadavg):
8491 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
8492 (We don't use it elsewhere in the code; just add a comment.)
8499 * glyphs-msw.c (mswindows_resource_instantiate):
8502 * glyphs-x.c (x_native_layout_instantiate):
8505 * gui-msw.c (Fmswindows_shell_execute):
8514 * lread.c (locate_file_in_directory_mapper):
8521 * mem-limits.h (get_lim_data):
8533 * nt.c (rva_to_section):
8534 * nt.c (mswindows_executable_type):
8536 Fix closedir() defn.
8539 [[[[8]]]]: *_OK defs moved to sysfile.h.
8548 * print.c (std_handle_out_external):
8552 * process-nt.c (nt_create_process):
8554 try to fix process quoting somewhat.
8556 * process-unix.c (unix_create_process):
8560 * process.c (vars_of_process):
8567 * realpath.c (xrealpath):
8570 * redisplay-tty.c (init_tty_for_redisplay):
8580 * sheap.c (more_static_core):
8581 * sheap.c (report_sheap_usage):
8585 * signal.c (alarm_signal):
8592 * strftime.c (zone_name):
8595 * symsinit.h (init_sunpro):
8599 commctrl.h not in Cygwin b20.1.
8603 * sysdep.c (sys_subshell):
8604 * sysdep.c (init_baud_rate):
8605 * sysdep.c (emacs_get_tty):
8606 * sysdep.c (emacs_set_tty):
8607 * sysdep.c (tty_init_sys_modes_on_device):
8608 * sysdep.c (init_system_name):
8609 * sysdep.c (sys_open):
8610 * sysdep.c (interruptible_open):
8611 * sysdep.c (sys_fopen):
8612 * sysdep.c (sys_mkdir):
8613 * sysdep.c (sys_rename):
8614 * sysdep.c (get_process_times_1):
8621 * sysdir.h (DIRENTRY_NONEMPTY):
8624 * sysdll.c (dll_init):
8630 added text/binary defs.
8636 * sysproc.h (EDESTADDRREQ):
8637 * sysproc.h (poll_fds_for_input):
8654 Always define WIN32_LEAN_AND_MEAN.
8656 * unexcw.c (unexec):
8660 * unexec.c (copy_text_and_data):
8661 * unexec.c (adjust_lnnoptrs):
8665 * unexnt.c (_start):
8668 2000-06-07 Ben Wing <ben@xemacs.org>
8670 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
8671 was used only as a model. We've long since extracted any useful
8672 logic or code out of this. (I just did an exhaustive search.)
8674 * s\msdos.h: Removed.
8676 * s\windows95.h: Removed.
8678 2000-06-10 Ben Wing <ben@xemacs.org>
8682 Don't use extern with fun defs.
8686 Remove nt\inc include.
8687 Remove getdisk, getdefdir. (The former is unused, the latter
8688 expanded in fileio.h.)
8691 * s\windowsnt.h (WIN32_NATIVE):
8692 * s\windowsnt.h (HAVE_STRCASECMP):
8694 Add long comment about preprocessor changes.
8695 Remove getdisk, getdefdir. (The former is unused, the latter
8696 expanded in fileio.h.)
8698 2000-06-10 Ben Wing <ben@xemacs.org>
8707 Remove bogus/unused NO_SOCK_SIGIO.
8709 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
8711 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
8714 2000-06-04 Mike Sperber <mike@xemacs.org>
8716 * casetab.c (set_case_table): For `set-standard-case-table',
8717 actually deposit the new case tables where the rest of XEmacs can
8720 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
8722 * data.c (Faset): Don't cast XCHAR() to unsigned char.
8724 2000-06-05 Ben Wing <ben@xemacs.org>
8726 * callproc.c (child_setup): Don't do close_load_descs() under
8727 MS Windows. Put in a comment explaining why.
8729 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
8731 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
8732 Toolkit shell" which breaks `kill-compilation' on Windows NT
8733 native, retaining STDERR handling improvements.
8735 2000-06-01 Andreas Jaeger <aj@suse.de>
8737 * s/s390.h: Support for S390, based on a patch by Martin
8738 Schwidefsky <schwidefsky@de.ibm.com>.
8740 2000-05-30 Andy Piper <andy@xemacs.org>
8742 * window.c (allocate_window):
8743 (make_dummy_parent):
8744 (Fset_window_configuration): use new hashtable type.
8746 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
8747 (struct image_instantiator_methods):
8748 (struct Lisp_Image_Instance): make instance geometry signed.
8750 * glyphs.c (instantiate_image_instantiator):
8751 (image_instance_query_geometry):
8752 (image_instance_layout):
8753 (image_instance_layout):
8754 (query_string_geometry):
8755 (text_query_geometry):
8756 (image_instantiate):
8757 (image_instantiate):
8758 (cache_subwindow_instance_in_frame_maybe):
8759 (subwindow_query_geometry): make instance geometry signed.
8761 * glyphs-widget.c (widget_query_geometry):
8763 (button_query_geometry):
8764 (tree_view_query_geometry):
8765 (tab_control_query_geometry):
8766 (layout_query_geometry):
8768 (native_layout_layout): make instance geometry signed.
8770 2000-05-29 Olivier Galibert <galibert@pobox.com>
8772 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
8775 * general.c (syms_of_general): Add Qfull_assoc symbol.
8777 * data.c (finish_marking_weak_lists): Mark full-assoc lists
8779 (decode_weak_list_type): Decode full-assoc type.
8780 (encode_weak_list_type): Encode full-assoc type.
8781 (Fmake_weak_list): Update doc string.
8783 2000-05-30 Andy Piper <andy@xemacs.org>
8785 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
8787 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
8788 (decode_hash_table_weakness): ditto.
8789 (Fhash_table_weakness): ditto.
8790 (Fhash_table_type): ditto.
8791 (finish_marking_weak_hash_tables): ditto.
8792 (hash_table_weakness_validate): ditto.
8793 (syms_of_elhash): ditto.
8795 2000-05-28 Martin Buchholz <martin@xemacs.org>
8797 * XEmacs 21.2.34 is released.
8799 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8801 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
8803 (updating_line_start_cache): Gone.
8804 (regenerate_window): Replace resetting of VERTICAL_CLIP by
8805 generic code to force a minimum of 1 line laid out in the
8808 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8810 * glyphs.c (instantiate_image_instantiator): Check for initialized
8811 height & width no longer special cases IMAGE_NOTHING.
8812 (nothing_instantiate): Set height and width of instance.
8814 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8816 * unexelf.c (unexec): Search for ".data" section.
8817 Initialize new_data2_offset from old_data_index.
8818 Remove redundant check for ElfW.
8820 2000-05-23 Andy Piper <andy@xemacs.org>
8822 * glyphs.c (get_image_instantiator_governing_domain): allow more
8823 specific domains as the governing domain rather than expecting an
8824 exact match. This fixes problems with layouts.
8826 2000-05-22 Andy Piper <andy@xemacs.org>
8828 * redisplay-output.c (compare_runes): check for non-images
8830 * glyphs.c (set_glyph_dirty_p): ditto.
8831 (update_glyph_cachel_data): ditto.
8833 * glyphs-widget.c (layout_post_instantiate): ditto.
8834 (layout_post_instantiate): ditto.
8836 * event-msw.c (mswindows_wnd_proc): warning removal.
8838 2000-05-12 Craig Lanning <CraigL@DyCon.com>
8840 * s\mingw32.h: Added #undef for CLASH_DETECTION.
8842 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
8844 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
8846 * nt.c (rva_to_section): mingw32 needs rva_to_section.
8847 (mswindows_executable_type): mingw32 now has enough headers for
8850 2000-05-20 Andy Piper <andy@xemacs.org>
8852 * console-msw.c (mswindows_output_last_error): ; -> ,
8854 2000-05-12 Andy Piper <andy@xemacs.org>
8856 * console-msw.c (FROB): compare ints with ints.
8858 2000-05-11 Andy Piper <andy@xemacs.org>
8860 * glyphs-x.c (x_finalize_image_instance): make minimal build
8863 2000-05-20 Ben Wing <ben@xemacs.org>
8866 * event-Xt.c (vars_of_event_Xt):
8867 move modifier-keys-are-sticky to event-stream.c.
8870 * event-msw.c (mswindows_enqueue_mouse_button_event):
8871 * event-msw.c (key_needs_default_processing_p):
8872 * event-msw.c (XEMSW_LCONTROL):
8873 * event-msw.c (mswindows_handle_sticky_modifiers):
8874 * event-msw.c (FROB):
8875 * event-msw.c (clear_sticky_modifiers):
8876 * event-msw.c (output_modifier_keyboard_state):
8877 * event-msw.c (output_alt_keyboard_state):
8878 * event-msw.c (mswindows_wnd_proc):
8879 * event-msw.c (mswindows_modifier_state):
8880 * event-msw.c (emacs_mswindows_handle_magic_event):
8881 implement sticky modifiers.
8884 * event-stream.c (vars_of_event_stream):
8885 move modifier-keys-are-sticky here.
8891 implement map-range-table.
8894 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
8896 * redisplay-tty.c (reset_tty_modes):
8897 (tty_redisplay_shutdown): Adjust argument type to
8898 tty_frame_output_end.
8900 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8902 * eval.c (Fbacktrace): Don't output a line with only right
8905 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
8907 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
8908 (Fpq_reset_poll): Ditto.
8910 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
8912 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
8914 2000-05-16 Ben Wing <ben@xemacs.org>
8917 * buffer.c (dfc_convert_to/from_internal_format):
8918 * buffer.c (reinit_vars_of_buffer):
8919 Fix conversion functions to allow reentrancy.
8922 * console-msw.c (mswindows_output_last_error):
8923 New fun, generally useful -- output a human-readable
8924 version of GetLastError() on the console.
8927 * console-msw.h (struct mswindows_frame):
8928 Changes for DeferWindowPos. Declare mswindows_output_last_error().
8930 * console-stream.c (stream_output_begin):
8931 * console-stream.c (stream_output_end):
8932 * console-stream.c (stream_output_vertical_divider):
8933 * console-stream.c (stream_clear_region):
8934 * console-stream.c (stream_flash):
8935 * console-stream.c (console_type_create_stream):
8936 Delete blank stream methods, not needed.
8938 * console.h (struct console_methods):
8939 Split begin/end methods into window and frame.
8942 * event-msw.c (mswindows_handle_paint):
8943 * event-msw.c (output_alt_keyboard_state):
8944 * event-msw.c (mswindows_wnd_proc):
8945 * event-msw.c (vars_of_event_mswindows):
8946 Comment about problems with ignored-expose.
8947 Define mswindows-debug-events; not really implemented.
8949 * frame-msw.c (mswindows_init_frame_1):
8953 * glyphs-msw.c (begin_defer_window_pos):
8954 * glyphs-msw.c (mswindows_unmap_subwindow):
8955 * glyphs-msw.c (mswindows_map_subwindow):
8956 * glyphs-msw.c (mswindows_resize_subwindow):
8957 Use DeferWindowPos to reduce flashing when mapping/unmapping.
8959 * glyphs.c (make_image_instance_1):
8962 * gutter.c (Fredisplay_gutter_area):
8963 Use new begin/end methods.
8965 * lisp.h (Dynarr_new2):
8969 * redisplay-msw.c (mswindows_frame_output_begin):
8970 * redisplay-msw.c (mswindows_frame_output_end):
8971 * redisplay-msw.c (console_type_create_redisplay_mswindows):
8972 New begin/end methods -- handle DeferWindowPos.
8974 * redisplay-output.c (redisplay_move_cursor):
8975 * redisplay-output.c (redraw_cursor_in_window):
8976 * redisplay-output.c (redisplay_update_line):
8977 * redisplay-output.c (redisplay_output_window):
8978 New begin/end methods.
8981 * redisplay-tty.c (tty_frame_output_begin):
8982 * redisplay-tty.c (tty_frame_output_end):
8983 * redisplay-tty.c (console_type_create_redisplay_tty):
8984 New begin/end methods.
8987 * redisplay-x.c (x_window_output_begin):
8988 * redisplay-x.c (x_window_output_end):
8989 * redisplay-x.c (console_type_create_redisplay_x):
8990 New begin/end methods.
8992 * redisplay.c (redisplay_frame):
8993 * redisplay.c (Fredisplay_echo_area):
8994 New begin/end methods.
8995 use MAYBE_DEVMETH for clear_frame; it may not exist.
8997 * window.h (WINDOW_XFRAME):
8998 WINDOW_XFOO macros -- get locale and decode struct pointer.
9001 2000-05-12 Ben Wing <ben@xemacs.org>
9004 * emacs.c (ensure_no_quitting_from_now_on):
9005 * emacs.c (fatal_error_signal):
9006 * emacs.c (mswindows_handle_hardware_exceptions):
9008 * emacs.c (Fkill_emacs):
9009 * emacs.c (shut_down_emacs):
9010 * emacs.c (assert_failed):
9011 various improvements in fatal error handling.
9014 move preparing_for_armageddon to emacs.c.
9017 declare fatal_error_in_progress.
9020 * print.c (std_handle_out_external):
9021 * print.c (std_handle_out_va):
9022 * print.c (stderr_out):
9023 * print.c (stdout_out):
9024 use console under mswin when no standard output.
9025 don't do code conversion during fatal error.
9027 * scrollbar.c (Fscrollbar_page_up):
9028 * scrollbar.c (Fscrollbar_page_down):
9029 fix missing else. reindent.
9031 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
9035 * glyphs.h (GLYPH_CACHEL_DESCENT):
9036 (GLYPH_CACHEL_DESCENT):
9037 (GLYPH_CACHEL_DESCENT):
9038 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
9039 used in case these are inline functions.
9040 Use more absurd values to error check.
9042 include window.h for error check functions.
9044 2000-05-11 Ben Wing <ben@xemacs.org>
9046 * cmdloop.c (Freally_early_error_handler):
9047 Display message box under windows; otherwise, message will disappear
9048 before it can be viewed.
9051 * console-msw.c (Fmswindows_message_box):
9052 * console-msw.c (FROB):
9053 * console-msw.c (syms_of_console_mswindows):
9054 Define new fun `mswindows-message-box'.
9055 #### I will merge this into `popup-dialog-box'; just give me
9059 * general.c (syms_of_general):
9060 Some new symbols used in `mswindows-message-box'.
9063 * glyphs.c (Fset_image_instance_property):
9064 put warning in this fun.
9067 * glyphs.h (GLYPH_CACHEL_WIDTH):
9068 * glyphs.h (GLYPH_CACHEL_ASCENT):
9069 * glyphs.h (GLYPH_CACHEL):
9070 * glyphs.h (GLYPH_CACHEL_GLYPH):
9071 define error-checking versions to try to catch a bug i've seen --
9072 redisplay gets in an infinite loop because the glyph width of the
9073 continuation glyph is 65535.
9076 Extern message-box stuff.
9078 * window.c (allocate_window):
9079 * window.c (make_dummy_parent):
9080 * window.c (Fset_window_configuration):
9081 Use EQUAL not EQ for subwindow caches to make them work a bit
9082 better. (Something is still very broken.)
9085 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
9087 * glyphs.c (image_instantiate): Suppress gcc warnings.
9088 (Fmake_image_instance): Fix doc string.
9089 * specifier.c (Fmake_specifier): Ditto.
9091 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
9093 * paths.h.in (PATH_LOCK): Removed.
9094 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
9095 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
9097 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
9099 * fns.c (Ffeaturep): Update e-mail address in doc-string.
9100 Document (featurep '(and xemacs 21.02)).
9102 2000-05-09 Ben Wing <ben@xemacs.org>
9104 * buffer.c (complex_vars_of_buffer):
9105 update modeline-format doc.
9108 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
9111 timeline of all released versions of Emacs, for use in creating
9112 authorship comments and in synching up.
9114 * glyphs-widget.c (image_instantiator_buttons):
9115 * glyphs-widget.c (image_instantiator_edit_fields):
9116 * glyphs-widget.c (image_instantiator_combo_box):
9117 * glyphs-widget.c (image_instantiator_scrollbar):
9118 * glyphs-widget.c (image_instantiator_progress_guage):
9119 * glyphs-widget.c (image_instantiator_tree_view):
9120 * glyphs-widget.c (image_instantiator_tab_control):
9121 * glyphs-widget.c (image_instantiator_labels):
9122 * glyphs-widget.c (image_instantiator_layout):
9123 * glyphs-widget.c (image_instantiator_native_layout):
9124 rename decode_domain method to governing_domain.
9127 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
9128 * glyphs.c (add_entry_to_device_ii_format_list):
9129 make sure we don't put an entry more than once into the list.
9130 * glyphs.c (check_instance_cache_mapper):
9131 *************************************************************
9132 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
9134 *************************************************************
9135 * glyphs.c (get_image_instantiator_governing_domain):
9136 clean up, expand on new concept of governing domain.
9137 * glyphs.c (instantiate_image_instantiator):
9138 * glyphs.c (allocate_image_instance):
9139 use governing_domain instead of cache_domain in naming.
9140 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
9141 * glyphs.c (make_image_instance_1):
9142 * glyphs.c (Fmake_image_instance):
9143 allow for any domain (not just device), and process the
9144 governing domain correctly. very big doc fix.
9145 * glyphs.c (Fimage_instance_domain):
9146 new primitive, to retrieve the governing domain of an image instance.
9147 * glyphs.c (image_instantiate):
9148 use new governing_domain stuff. this fixes a crash you could get
9149 by instantiating certain widget glyphs in frame locales. (should
9150 signal an error instead of crashing.)
9151 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
9152 * glyphs.c (Fglyphp): clean up doc.
9153 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
9154 * glyphs.c (syms_of_glyphs):
9155 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
9156 * glyphs.c (image_instantiator_format_create): add some comments about
9158 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
9159 for current-display-table. (Apparently Hrjove implemented in 1998 a
9160 design I wrote up in 1996, but didn't update the doc string.)
9162 * glyphs.h: clean up a doc string.
9163 * glyphs.h (governing_domain):
9164 * glyphs.h (struct image_instantiator_methods):
9165 changes for governing_domain stuff.
9168 * gutter.c (Fgutter_specifier_p):
9169 * gutter.c (Fgutter_size_specifier_p):
9170 * gutter.c (Fgutter_visible_specifier_p):
9172 * objects.c (Fcolor_specifier_p):
9173 * objects.c (Ffont_specifier_p):
9174 * objects.c (Fface_boolean_specifier_p):
9175 doc strings moved to make-*-specifier.
9177 * redisplay.c (add_disp_table_entry_runes_1):
9178 * redisplay.c (generate_fstring_runes):
9179 * redisplay.c (screen):
9180 add random comments and doc strings.
9183 * specifier.c (Fmake_specifier):
9184 major overhaul of this doc string.
9186 * specifier.c (Fvalid_specifier_domain_p):
9187 comment about the bogosity of image instances being domains.
9188 * specifier.c (decode_domain):
9189 now non-static, used in glyphs.c.
9190 * specifier.c (specifier_instance):
9191 comment about the bogosity of image instances being domains.
9192 * specifier.c (Fgeneric_specifier_p):
9193 move doc string to make-generic-specifier.
9194 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
9198 * specifier.h (DOMAIN_FRAME):
9199 * specifier.h (DOMAIN_LIVE_P):
9200 * specifier.h (DOMAIN_XDEVICE):
9202 add comments about problems with these macros.
9203 prototype for decode_domain.
9206 * toolbar.c (Ftoolbar_specifier_p):
9207 move doc string to `make-toolbar-specifier'.
9209 * window.c (window_unmap_subwindows_cache_mapper):
9210 *************************************************************
9211 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
9213 *************************************************************
9215 2000-05-09 Andy Piper <andy@xemacs.org>
9217 * glyphs.h: declare reset_frame_subwindow_instance_cache.
9219 * window.c (Fset_window_configuration): reset the frame subwindow
9220 cache and re-initialize the window subwindow caches.
9222 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
9224 2000-05-09 Ben Wing <ben@xemacs.org>
9226 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
9229 2000-04-26 Mike Woolley <mike@bulsara.com>
9231 * ntheap.c: Changed recreate_heap to limit the amount reserved
9232 for the heap to that which is actually available. Also now
9233 displays a message box (with some dignostics) in the event that
9234 it still can't start.
9236 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
9238 * callproc.c (Fold_call_process_internal): GCPRO path
9240 2000-05-08 Jan Vroonhof <jan@xemacs.org>
9242 Patch by Bill Perry.
9244 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
9245 back data instead of #ifdef.
9246 (Fscrollbar_page_down): ditto.
9248 2000-05-07 Ben Wing <ben@xemacs.org>
9251 Kludge for defining Qmswindows_tstr.
9254 * nt.c (open_input_file):
9255 * nt.c (open_output_file):
9256 * nt.c (rva_to_section):
9257 * nt.c (mswindows_executable_type):
9258 Move all memory-mapped-file routines here (some were in unexnt.c,
9259 which is bad because they are used by process-nt.c, and unexnt
9260 won't be around when portable dumping). Synched the above routines
9264 Removed ifdef'd out bogus code.
9265 Fixed some prototypes.
9268 * nt.h (OFFSET_TO_RVA):
9269 * nt.h (RVA_TO_OFFSET):
9270 * nt.h (RVA_TO_PTR):
9271 Moved the memory-mapped-file structures, macros and prototypes
9272 here, to parallel nt.c. ntheap.h should really be removed
9273 entirely, and it's a non-portable-dumper specific file.
9275 * ntheap.h (round_to_next):
9276 Moved the memory-mapped-file structures, macros and prototypes
9279 * ntproc.c (compare_env):
9280 Moved rva_to_section and mswindows_executable_type to nt.c.
9281 Moved compare_env to process-nt.c.
9282 ntproc.c will die, one day.
9284 * ntproc.c (sys_spawnve):
9285 Account for win32_ -> mswindows_.
9288 * process-nt.c (struct nt_process_data):
9289 * process-nt.c (ensure_console_window_exists):
9290 * process-nt.c (compare_env):
9291 * process-nt.c (nt_create_process):
9292 * process-nt.c (nt_kill_process_by_pid):
9293 * process-nt.c (syms_of_process_nt):
9294 * process-nt.c (vars_of_process_nt):
9295 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
9296 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
9297 changes). Eliminate our old `nt-quote-process-args' mechanism.
9298 Synch up nt_create_process with FSF 20.6 sys_spawnve.
9299 Move compare_env here from ntproc.c.
9301 * process.c (Fprocess_send_region):
9302 Takes an optional fourth argument, BUFFER, which should fix some
9303 problems with call-process.
9306 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
9309 Move ICC_BAR_CLASSES to syscommctrl.h.
9310 Add preliminary macros for MSWindows/Mule. More to come.
9313 * unexnt.c (unexec):
9314 open_output_file moved to nt.c.
9317 2000-05-05 Andy Piper <andy@xemacs.org>
9319 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
9320 instance from the frame cache also since GC may catch up too late
9321 to make frame deletion sane.
9323 2000-05-04 Andy Piper <andy@xemacs.org>
9325 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
9326 (x_finalize_image_instance): ungcpro on deletion.
9328 * glyphs.c (image_instantiator_format_create): give pointers a
9329 query geometry method so that the geometry is at least set.
9331 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
9332 initialize layouts if using widgets.
9334 2000-05-03 Andy Piper <andy@xemacs.org>
9336 * nt.c: remove bogus reference to sysmmsystem.h
9338 * gui-x.c (popup_selection_callback): fix no selection abort.
9340 2000-05-02 Andy Piper <andy@xemacs.org>
9342 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
9343 (mswindows_widget_instantiate): ditto.
9345 * glyphs-widget.c (initialize_widget_image_instance): initialize
9347 (widget_instantiate): cope with children and items in the same
9350 * glyphs.c (mark_image_instance): cope with children as a first
9352 (image_instance_equal): ditto.
9353 (image_instance_hash): ditto.
9354 (image_instance_changed): ditto.
9356 2000-04-30 Andy Piper <andy@xemacs.org>
9358 * glyphs.c (subwindow_query_geometry): new function. Return some
9360 (subwindow_instantiate): don't assign dimensions if none have been
9362 (image_instantiator_format_create): add subwindow_query_geometry.
9363 (print_image_instance): cope with layouts as widgets.
9365 2000-04-29 Andy Piper <andy@xemacs.org>
9367 * frame.c (delete_frame_internal): call
9368 free_frame_subwindow_instance_cache so that all subwindows are
9369 finalized before their parent.
9370 (mark_frame): remove subwindow_cachels.
9371 (Fmake_frame): remove subwindow_cachel manipulation.
9372 (allocate_frame_core): subwindow_instance_cache is a weak list.
9373 (delete_frame_internal): set subwindow_instance_cache to nil.
9375 * glyphs-msw.c (mswindows_finalize_image_instance): make double
9377 (mswindows_finalize_image_instance): use the device
9378 not the domain as the domain may have died already.
9380 * glyphs-x.c (x_finalize_image_instance): ditto.
9381 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
9384 * redisplay-output.c (redisplay_unmap_subwindows): update for
9385 subwindow instance cache as a weak list.
9386 (redisplay_unmap_subwindows_maybe): ditto.
9387 (redisplay_unmap_subwindows_except_us): ditto.
9389 * glyphs.c (unmap_subwindow): error checking will check the domain
9390 so don't deal with it here. Don't use cachels anymore.
9391 (map_subwindow): ditto.
9392 (update_subwindow_cachel_data): remove old accessor names.
9393 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
9394 (Fresize_subwindow): don't update cachel.
9395 (mark_subwindow_cachels):
9396 (update_subwindow_cachel_data):
9397 (add_subwindow_cachel):
9398 (get_subwindow_cachel_index):
9399 (update_subwindow_cachel):
9400 (reset_subwindow_cachels):
9401 (mark_subwindow_cachels_as_not_updated): deleted.
9402 (cache_subwindow_instance_in_frame_maybe): new function. Add a
9403 subwindow instance to the frame cache.
9404 (find_matching_subwindow): update for subwindow instance cache as
9406 (update_widget_instances): ditto.
9407 (image_instance_type_to_mask):inlined.
9408 (free_frame_subwindow_instance_cache): new function. finalize all
9409 subwindows that are instantiated.
9411 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
9412 of cachel information.
9413 (IMAGE_INSTANCE_DISPLAY_X):
9414 (IMAGE_INSTANCE_DISPLAY_Y):
9415 (IMAGE_INSTANCE_DISPLAY_WIDTH):
9416 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
9417 (XIMAGE_INSTANCE_DISPLAY_X):
9418 (XIMAGE_INSTANCE_DISPLAY_Y):
9419 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
9420 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
9421 remove subwindow_cachel structure and function references.
9422 (image_instance_type_to_mask): inline from glyphs.c
9424 * redisplay.c (redisplay_frame): remove subwindow_cachel
9427 * frame.h (struct frame): remove subwindow_cachels.
9428 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
9430 * frameslots.h: add subwindow_instance_cache.
9432 * window.c (replace_window): check subwindow cache of replacement.
9433 (window_unmap_subwindows_cache_mapper):
9434 (window_unmap_subwindows): new functions. Unmap all subwindows
9435 cached on this window.
9436 (mark_window_as_deleted): unmap all subwindows.
9438 2000-04-27 Andy Piper <andy@xemacs.org>
9440 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
9442 * glyphs-widget.c (widget_layout): return something.
9443 (layout_layout): return something. Fail if not initialized.
9444 (layout_query_geometry): ditto.
9445 (image_instantiator_native_layout): new function. Initialized the
9447 (widget_instantiate): don't do layout stuff here.
9449 * glyphs.c (instantiate_image_instantiator): reorded calling or
9450 instantiate and post_instantiate with layout in between.
9451 (image_instance_layout): be more selective about deciding whether
9452 the layout has been done or not.
9454 * glyphs.h (struct image_instantiator_methods): return a value
9457 2000-04-26 Andy Piper <andy@xemacs.org>
9459 * glyphs.c (allocate_image_instance): make initial width and
9460 height unspecified. Set initialized to 0.
9462 * syscommctrl.h new file. Encapsulates commctrl.h.
9464 * syswindows.h new file. Encapsulates windows.h.
9466 * ntplay.c: use new syswindows.h and syscommctrl.h header.
9468 * console-msw.h: ditto.
9470 * redisplay-tty.c (tty_output_display_block): remove layout references.
9472 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
9473 window handle rather than just the frame.
9475 * glyphs.c (mark_image_instance): remove layout references.
9476 (print_image_instance): ditto.
9477 (image_instance_equal): ditto.
9478 (image_instance_hash): ditto.
9479 (decode_image_instance_type): ditto.
9480 (encode_image_instance_type): ditto.
9481 (image_instantiate): ditto.
9482 (allocate_glyph): ditto.
9483 (Fimage_instance_height): ditto.
9484 (Fimage_instance_width): ditto.
9485 (update_subwindow): ditto.
9487 * redisplay-x.c (x_output_display_block): recode for layouts as
9490 * redisplay-output.c (redisplay_output_layout): recode for layouts
9492 (compare_runes): remove layout references.
9494 * redisplay-msw.c (mswindows_output_display_block): recode for
9497 * glyphs-widget.c (image_instantiator_layout): remove
9498 layout_possible_dest_types.
9499 (layout_possible_dest_types): deleted.
9501 * glyphs.h (image_instance_type): remove layout references.
9502 (struct Lisp_Image_Instance): ditto. Add initialized flag.
9503 (IMAGE_INSTANCE_INITIALIZED): new accessor.
9504 (XIMAGE_INSTANCE_INITIALIZED): ditto.
9506 2000-04-25 Andy Piper <andy@xemacs.org>
9508 * glyphs-widget.c (image_instantiator_buttons):
9509 (image_instantiator_edit_fields):
9510 (image_instantiator_combo_box):
9511 (image_instantiator_scrollbar):
9512 (image_instantiator_progress_guage):
9513 (image_instantiator_tree_view):
9514 (image_instantiator_tab_control):
9515 (image_instantiator_labels):
9516 (image_instantiator_layout): call default post_instantiate method.
9517 (widget_post_instantiate): new function. Simply lays out the
9520 * glyphs.h (struct image_instantiator_methods): add
9521 post_instantiate method.
9523 * glyphs.c (instantiate_image_instantiator): add post_instantiate
9526 2000-04-23 Andy Piper <andy@xemacs.org>
9528 * glyphs.h (struct image_instantiator_methods): add
9529 decode_domain_method.
9530 (struct Lisp_Image_Instance): remove subwindow frame - it can be
9531 derived from the domain.
9532 (IMAGE_INSTANCE_FRAME): new accessor.
9533 (XIMAGE_INSTANCE_FRAME): ditto.
9535 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
9536 instead of _SUBWINDOW_FRAME.
9537 (finalize_image_instance): ditto.
9538 (Fimage_instance_foreground): ditto.
9539 (Fimage_instance_background): ditto.
9540 (image_instantiate): ditto.
9541 (update_subwindow_cachel): ditto.
9542 (update_subwindow): ditto.
9543 (unmap_subwindow): ditto.
9544 (map_subwindow): ditto
9545 (subwindow_instantiate): ditto.
9546 * glyphs-msw.c (mswindows_update_widget): ditto.
9547 (mswindows_progress_gauge_instantiate): ditto.
9548 (mswindows_tab_control_update): ditto.
9549 * glyphs-x.c (x_update_widget): ditto.
9550 (x_widget_instantiate): ditto.
9551 (x_tab_control_instantiate): ditto.
9552 (x_tab_control_update): ditto.
9553 * event-msw.c (mswindows_wnd_proc): ditto
9555 * glyphs-widget.c (image_instantiator_layout): use
9556 subwindow_decode_domain.
9557 (image_instantiator_buttons): ditto.
9558 (image_instantiator_edit_fields): ditto.
9559 (image_instantiator_combo_box): ditto.
9560 (image_instantiator_scrollbar): ditto.
9561 (image_instantiator_progress_guage): ditto.
9562 (image_instantiator_tree_view): ditto.
9563 (image_instantiator_tab_control): ditto.
9564 (image_instantiator_labels): ditto.
9565 (image_instantiator_layout): ditto.
9567 * glyphs.c: add instance error checking to many functions.
9568 (instantiate_image_instantiator): decode device from cache_domain.
9569 (image_instantiate): partially rewrite by using
9570 decode_image_instantiator_domain to determine what domain the
9571 instance needs to be cached in.
9572 (decode_image_instantiator_domain): new function. Determine what
9573 domain the image needs to be cached in.
9574 (check_window_subwindow_cache): new error checking function.
9575 (check_instance_cache_mapper): ditto.
9576 (check_image_instance_structure): ditto.
9577 (subwindow_decode_domain): new function. Encodes a window as a
9578 subwindow's cache domain.
9579 (image_instantiator_format_create): use it for text and
9582 2000-04-21 Andy Piper <andy@xemacs.org>
9584 * glyphs.c (image_instance_device): new function.
9585 (image_instance_frame): new function.
9586 (image_instance_window): new function.
9587 (image_instance_live_p): new function.
9589 * window.c (mark_window_as_deleted): reset the subwindow_instance_
9592 * glyphs.h (struct Lisp_Image_Instance): device->domain.
9593 (IMAGE_INSTANCE_DOMAIN): new accessor.
9594 (XIMAGE_INSTANCE_DOMAIN): ditto.
9596 * glyphs-x.c (x_finalize_image_instance): device->domain.
9598 * glyphs-msw.c (init_image_instance_geometry): device->domain.
9599 (mswindows_finalize_image_instance): ditto.
9601 * glyphs-eimage.c (jpeg_instantiate): device->domain.
9602 (gif_instantiate): ditto.
9603 (png_instantiate): ditto.
9604 (tiff_instantiate): ditto.
9606 * glyphs.c (instantiate_image_instantiator): use domain rather
9608 (mark_image_instance): device -> domain.
9609 (print_image_instance): ditto.
9610 (finalize_image_instance): ditto.
9611 (image_instance_equal): ditto.
9612 (allocate_image_instance): ditto.
9613 (Fcolorize_image_instance): ditto.
9614 (query_string_geometry): ditto.
9615 (image_instantiate): ditto
9616 (query_string_font): ditto.
9617 (image_instantiate): ditto.
9618 (update_subwindow): ditto.
9619 (unmap_subwindow): ditto.
9620 (map_subwindow): ditto.
9621 (subwindow_instantiate): ditto.
9623 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
9624 (DOMAIN_FRAME): ditto.
9625 (DOMAIN_WINDOW): ditto.
9626 (DOMAIN_LIVE_P): ditto.
9627 (XDOMAIN_DEVICE): ditto.
9628 (XDOMAIN_FRAME): ditto.
9629 (XDOMAIN_WINDOW): ditto.
9631 * specifier.c (Fvalid_specifier_domain_p): add image instances as
9632 a valid specifier domain.
9634 2000-04-19 Andy Piper <andy@xemacs.org>
9636 * glyphs-widget.c (syms_of_glyphs_widget): remove
9637 widget-callback-current-channel.
9638 (vars_of_glyphs_widget): ditto.
9641 * gui.c (get_gui_callback): revert to previous behaviour.
9643 2000-04-18 Andy Piper <andy@xemacs.org>
9645 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
9646 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
9647 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
9649 * glyphs.c (image_instance_equal): add margin_width.
9650 (image_instance_hash): ditto.
9652 * glyphs-widget.c (widget_instantiate): deal with margin-width.
9653 (layout_query_geometry): ditto.
9654 (layout_layout): ditto.
9655 (syms_of_glyphs_widget): add margin-width.
9656 (image_instantiator_layout): allow margin-width.
9658 * glyphs.c (update_widget_instances): make a normal function.
9659 (syms_of_glyphs): remove Qupdate_widget_instances.
9662 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
9663 so that we don't corrupt ideas about the last event or
9664 command. Remove widget-callback-current-channel fiddling.
9665 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9667 2000-05-01 Martin Buchholz <martin@xemacs.org>
9669 * XEmacs 21.2.33 is released.
9671 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
9673 * make-src-depend: Allow dots in header file name.
9675 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
9677 * mule-charset.h (struct charset_lookup): Add
9678 next_allocated_1_byte_leading_byte and
9679 next_allocated_2_byte_leading_byte.
9680 * mule-charset.c: Move above two variables so that those values
9683 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
9685 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
9686 when string length is zero.
9687 (find_charsets_in_emchar_string): Ditto.
9689 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
9691 * lisp.h: extern Qdialog and Qmenubar.
9693 * gui-x.c: added events.h.
9694 also fixed typo which made the file uncompilable.
9696 * general.c: Added Qmenubar and Qdialog
9698 2000-04-28 Ben Wing <ben@xemacs.org>
9700 * frame-msw.c (mswindows_init_frame_1):
9701 * frame-msw.c (mswindows_mark_frame):
9702 * event-msw.c (mswindows_enqueue_dispatch_event):
9704 * console-msw.h (struct mswindows_frame):
9705 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
9706 there are now three hash tables for callbacks.
9707 mswindows_enqueue_dispatch_event is no longer static.
9709 * dialog-x.c (maybe_run_dbox_text_callback):
9710 * dialog-x.c (dbox_descriptor_to_widget_value):
9711 switch to new cons3 form for callbacks.
9713 * glyphs-msw.c (mswindows_register_gui_item):
9714 * glyphs-msw.c (mswindows_widget_instantiate):
9715 * glyphs-msw.c (add_tree_item):
9716 * glyphs-msw.c (add_tab_item):
9717 new image instance parameter, so it can be passed to callback-ex.
9718 respect :callback-ex as well as :callback.
9720 * glyphs-widget.c (VALID_GUI_KEYWORDS):
9723 * glyphs.c (print_image_instance):
9724 prettify, e.g. now prints widget type.
9727 certain funs have new image instance parameter.
9730 * gui.c (get_gui_callback):
9731 * gui.c (gui_item_add_keyval_pair):
9732 * gui.c (gui_item_init):
9733 * gui.c (gui_add_item_keywords_to_plist):
9734 * gui.c (mark_gui_item):
9735 * gui.c (gui_item_hash):
9736 * gui.c (gui_item_equal):
9737 * gui.c (copy_gui_item):
9738 * gui.c (syms_of_gui):
9739 recognize callback-ex in a number of places.
9740 also, fix the annoying "can't get out of yes-no dialog" bug.
9743 * gui.h (struct Lisp_Gui_Item):
9744 recognize callback-ex in a number of places.
9746 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9747 new parameter in button_item_to_widget_value.
9749 * glyphs-x.c (x_update_widget):
9750 * glyphs-x.c (x_button_instantiate):
9751 * glyphs-x.c (x_button_update):
9752 * glyphs-x.c (x_progress_gauge_instantiate):
9753 * glyphs-x.c (x_edit_field_instantiate):
9754 * glyphs-x.c (x_combo_box_instantiate):
9755 * glyphs-x.c (x_tab_control_instantiate):
9756 * glyphs-x.c (x_label_instantiate):
9757 new image instance parameter in various places.
9760 * event-Xt.c (enqueue_Xt_dispatch_event):
9761 this fun gets exported.
9764 * gui-msw.c (mswindows_handle_gui_wm_command):
9765 handle both :callback and :callback-ex, and generate our own
9766 event because it's one of the callback-ex arguments.
9769 * gui-x.c (popup_selection_callback):
9770 handle both :callback and :callback-ex, and generate our own
9771 event because it's one of the callback-ex arguments.
9772 * gui-x.c (button_item_to_widget_value):
9773 * gui-x.c (gui_items_to_widget_values_1):
9774 * gui-x.c (gui_item_children_to_widget_values):
9775 * gui-x.c (gui_items_to_widget_values):
9776 new image instance parameter in various places.
9778 * fns.c (Freplace_list):
9779 fix small typo in doc string.
9782 declare enqueue_Xt_dispatch_event.
9784 2000-04-28 Ben Wing <ben@xemacs.org>
9787 * buffer.c (Frecord_buffer):
9788 * buffer.c (syms_of_buffer):
9789 delete record-buffer-hook.
9792 * fns.c (Freplace_list):
9793 * fns.c (syms_of_fns):
9794 new primitive replace-list.
9797 slot for old buffer-alist.
9803 * redisplay.c (redisplay_frame):
9804 * redisplay.c (syms_of_redisplay):
9805 * redisplay.c (vars_of_redisplay):
9806 new hook buffer-list-changed-hook.
9809 2000-04-27 Ben Wing <ben@xemacs.org>
9811 * extents.h: extern in_modeline_generation.
9813 * redisplay.c (generate_formatted_string_db): set
9814 in_modeline_generation.
9816 * extents.c (extent_changed_for_redisplay): don't mark redisplay
9817 flags if in modeline generation. otherwise frame-modified-tick
9818 is ticked far too often.
9819 Declare in_modeline_generation.
9821 2000-04-26 Ben Wing <ben@xemacs.org>
9823 * emacs.c (vars_of_emacs): document quick-build "error-checking"
9825 (vars_of_emacs): add quick-build as an error-checking option.
9826 A bit kludgy, but there doesn't seem much point in creating
9827 a real var for this.
9829 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
9831 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
9833 * redisplay.h (struct display_line): Add a new variable,
9836 * redisplay.c (create_text_block): Set dl->line_continuation if
9838 (create_string_text_block): Ditto.
9839 (regenerate_window_incrementally): Use line_continuation instead
9840 of searching continuation glyph.
9841 (add_margin_runes): Call add_glyph_rune.
9842 (add_glyph_rune): Handle margin glyph.
9844 2000-04-20 Martin Buchholz <martin@xemacs.org>
9846 * filelock.c (fill_in_lock_file_name):
9848 Check for IS_ANY_SEP instead of '/'.
9850 Avoid generating gratuitous garbage. Call user_login_name() directly.
9851 Never check errno without first seeing that system call failed.
9852 (unlock_file): Add GCPRO.
9853 (Flock_buffer): Fix docstring.
9854 (Ffile_locked_p): Fix docstring. Add GCPRO.
9856 2000-04-19 Martin Buchholz <martin@xemacs.org>
9858 * sysdep.c (get_pty_max_bytes):
9859 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
9860 strings longer than 252 bytes.
9862 * md5.c: Unconditionally include ANSI header <limits.h>
9864 * glyphs-x.c (convert_EImage_to_XImage):
9865 * lisp-union.h (union Lisp_Object):
9866 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
9868 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9870 * filelock.c (current_lock_owner): Remove unused variable o, p.
9872 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
9874 * callint.c: Remove multiply defined symbol Qlet
9875 (syms_of_callint): ditto.
9877 2000-04-14 Andy Piper <andy@xemacs.org>
9879 * general.c (syms_of_general): add last-command, this-command, let
9882 * lisp.h: declare various symbols.
9884 * glyphs.h: declare Qwidget_callback_current_channel;
9886 * glyphs-widget.c (syms_of_glyphs_widget): add
9887 Qgui_callback_current_channel.
9888 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
9890 * gui-msw.c (mswindows_handle_gui_wm_command): bind
9891 widget-callback-current-channel when invoking the interactive
9892 arg. Also bind last-command and next-command when invoking the
9894 * gui-x.c (popup_selection_callback): ditto.
9896 * gui.c (get_gui_callback): massage args so that we are always
9897 calling eval. This allows us to add our own variable bindings
9900 * glyphs-x.c (x_button_instantiate): use
9901 gui_items_to_widget_values since this is GC safe.
9902 (x_progress_gauge_instantiate): ditto.
9903 (x_edit_field_instantiate): ditto.
9904 (x_label_instantiate): ditto.
9906 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
9907 (emacs_Xt_event_widget_focus_out): new function
9908 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
9910 (emacs_Xt_event_add_widget_actions): new function. add focus
9911 functions as actions.
9912 (init_event_Xt_late): use it.
9914 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
9916 * event-stream.c (Fdispatch_event): Doc fix.
9918 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
9920 * postgresql.c: Remove all references to PQsetenv*.
9922 * postgresql.h: Remove references to PGsetenvHandler object.
9923 * lrecord.h (lrecord_type): Ditto.
9925 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9927 * glyphs-msw.h (struct mswindows_image_instance_data): Added
9928 real_heigh and real_width members, and accessor macros for these.
9930 * glyphs-msw.c (init_image_instance_geometry): New function.
9931 (init_image_instance_from_dibitmap): Use it.
9932 (mswindows_resource_instantiate): Use it.
9933 (init_image_instance_from_xbm_inline): Use it.
9934 (mswindows_initialize_image_instance_mask): Use real bitmap
9936 (mswindows_create_resized_bitmap): Ditto.
9937 (mswindows_create_resized_mask): Ditto.
9939 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
9940 and bitmap to their surface size.
9942 2000-04-11 Jan Vroonhof <jan@xemacs.org>
9944 * process-unix.c (unix_send_process): Guard against process MIA
9945 after Faccept_process_output.
9947 2000-04-11 Ben Wing <ben@xemacs.org>
9949 * eval.c (unbind_to_hairy): fix brokenness introduced by
9950 nanosecond speed improvements.
9952 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
9954 * sunplay.c (init_device): To play sounds correctly, the device
9955 apparently needs to be initialized at least once by XEmacs. Make
9958 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
9960 * redisplay.c (add_margin_runes): Add text image glyph
9963 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9965 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
9966 gcc is newer than 2.5.
9968 2000-04-06 Colin Rafferty <colin@xemacs.org>
9970 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
9972 * fns.c (size_bit_vector):
9973 * alloc.c (size_vector):
9974 (make_vector_internal):
9975 (make_bit_vector_internal):
9976 (sweep_bit_vectors_1):
9977 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
9979 2000-04-06 Andy Piper <andy@xemacs.org>
9981 * gmalloc.c (malloc): undo previous change.
9986 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
9988 * line-number.c (buffer_line_number): Revert to former version.
9990 2000-04-06 Andy Piper <andy@xemacs.org>
9992 * gmalloc.c (malloc): add error checking.
9997 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
9998 button_item_to_widget_value arg.
10000 * glyphs-x.c (x_button_instantiate): add extra
10001 button_item_to_widget_value arg.
10002 (x_progress_gauge_instantiate): ditto.
10003 (x_edit_field_instantiate): ditto.
10004 (x_label_instantiate): ditto.
10006 * gui-x.c (gui_items_to_widget_values_1): add extra
10007 button_item_to_widget_value arg.
10008 (button_item_to_widget_value): add extra menu_item_p arg.
10010 * gui-x.h: change signature of button_item_to_widget_value.
10012 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
10013 button_item_to_widget_value arg.
10015 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10017 * buffer.h (struct buffer): auto_save_modified should be long.
10019 2000-04-05 Andy Piper <andy@xemacs.org>
10021 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
10023 (button_query_geometry): give a little more room so that athena
10026 2000-04-05 Andy Piper <andy@xemacs.org>
10028 * faces.c (complex_vars_of_faces): The widget face should inherit
10029 the font of the gui-element face.
10031 2000-04-04 Andy Piper <andy@xemacs.org>
10033 * glyphs-x.c (x_button_update): new function. unconditionally
10034 update a button's state when the instance is dirty.
10035 (image_instantiator_format_create_glyphs_x): add x_button_update.
10036 (x_widget_instantiate): remove old resize cruft.
10038 2000-04-02 Andy Piper <andy@xemacs.org>
10040 * frame.c (change_frame_size_1): The introduction of gutters means
10041 that we need to allow 0 as a potential frame dimension.
10043 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
10045 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
10046 image glyph if allow_cursor.
10047 (add_hscroll_rune): Don't allow cursor to border glyph.
10048 (create_text_block): Ditto.
10050 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
10051 text not in buffer.
10052 (redisplay_output_layout): Call ensure_face_cachel_complete for
10056 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
10058 * redisplay.c (add_glyph_rune): Adding text image as text runes.
10060 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
10063 * redisplay-tty.c (tty_output_display_block): Delete the routine
10064 for text image glyph
10065 * redisplay-x.c (x_output_display_block): ditto
10066 * redisplay-msw.c (mswindows_output_display_block): ditto
10068 2000-02-02 Mike Alexander <mta@arbortext.com>
10070 Note: Some of these were committed by accident as part of other
10073 * regex.c (regex_compile): Avoid compiler warnings.
10075 * ntproc.c (sys_spawnve): Avoid compiler warnings.
10077 * nt.h: Declare term_ntproc correctly.
10079 * nt.c: Remove incorrect declaration of get_home_directory which
10080 is declared correctly in lisp.h.
10082 * keymap.c (get_keyelt): Avoid compiler warnings.
10083 (raw_lookup_key_mapper): Avoid compiler warnings.
10085 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
10087 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
10089 * filemode.c (mode_string): Avoid compiler warnings.
10091 * file-coding.c (Fcoding_system_aliasee): Add return statement to
10094 * events-mod.h: Undef some things that winuser.h defines differently.
10096 * data.c (Faset): Avoid compiler warnings.
10098 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
10100 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
10102 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
10103 Fall through to simple beep on error.
10104 Replace "extern" by real header file.
10106 * linuxplay.c: Use nativesound.h
10107 (play_sound_data): Return error code. Be less verbose on error.
10109 * sunplay.c: Use nativesound.h
10110 (play_sound_data): Return error code. Be less verbose on error.
10112 * ntplay.c: Use nativesound.h
10113 (play_sound_data): Return fake error code
10115 * sgiplay.c: Use nativesound.h
10116 (play_sound_data): Return error code
10118 * hpplay.c: Use nativesound.h, partially implement
10119 new error code. Break compilation until finished.
10120 (play_sound_data): error code.
10122 * nativesound.h (play_sound_file):
10123 (play_sound_data): Prototype in new header.
10125 2000-03-31 Andy Piper <andy@xemacs.org>
10127 * glyphs-widget.c: (button_query_geometry): new function. Adjust
10128 for toggle and radio buttons.
10129 (image_instantiator_buttons): use it.
10131 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
10133 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
10134 (x_update_horizontal_scrollbar_callback): Return if no mirror was
10135 found. Scrollbar event probably belonged to some old config.
10137 2000-03-31 Andy Piper <andy@xemacs.org>
10139 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
10141 (initialize_widget_image_instance): default layout to
10142 LAYOUT_HORIZONTAL rather than 0.
10143 (widget_instantiate): reverse the item list at the end rather than
10145 (layout_layout): re-code for the border text at the front of the
10146 item list rather than at the end.
10147 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
10148 provided by the user.
10149 (widget_query_geometry): comment.
10151 2000-03-30 Andy Piper <andy@xemacs.org>
10153 * glyphs-widget.c (image_instantiator_layout): allow standard
10154 widget keywords in layouts.
10156 * gutter.c (output_gutter): cope with nil gutter contents.
10158 * frame.c (Fset_frame_properties): add gutter docs.
10160 2000-03-29 Andy Piper <andy@xemacs.org>
10162 * toolbar-msw.c (TBSTYLE_FLAT): add.
10163 (mswindows_output_toolbar): minor fiddling.
10165 2000-03-29 Andy Piper <andy@xemacs.org>
10167 * gutter.c (output_gutter): force gutter size recalculation if
10168 what we are trying to display won't fit.
10169 (update_gutter_geometry): new function. A per-gutter version of
10170 update_frame_gutter_geometry.
10171 (update_frame_gutter_geometry): use it.
10172 (redraw_exposed_gutter): add extra debugging output.
10174 2000-03-28 Mike Alexander <mta@arbortext.com>
10176 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
10177 (pdump_file_unmap): Implement it on Windows
10178 (pdump_file_get): Save alocated handles for pdump_file_unmap
10180 2000-03-28 Andy Piper <andy@xemacs.org>
10182 * gui.c (get_gui_callback): treat Quit specially.
10184 2000-03-27 Andy Piper <andy@xemacs.org>
10186 * glyphs.c (image_instantiate): be careful to check in the same
10189 2000-03-27 Didier Verna <didier@xemacs.org>
10191 * config.h.in: define the proper SMART_INCLUDE macro.
10192 handle renaming of `foo_h_path' to `foo_h_file'.
10194 * database.c: ditto.
10198 * linuxplay.c: ditto.
10200 * terminfo.c: ditto.
10202 * tooltalk.h: ditto.
10204 2000-03-27 Andy Piper <andy@xemacs.org>
10206 * glyphs-msw.c (mswindows_update_widget): make sure the widget
10207 gets updated whenever the face might have changed.
10209 2000-03-26 Mike Alexander <mta@arbortext.com>
10211 * dumper.c (pdump_resource_free): Fix the comment.
10213 2000-03-21 Olivier Galibert <galibert@pobox.com>
10215 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
10217 2000-03-22 Mike Alexander <mta@arbortext.com>
10219 * dumper.c: Include Windows headers on Windows
10220 (pdump_resource_free): Add a body to the function
10221 (pdump_load): exe_name -> exe_path and add some comments.
10223 2000-03-25 Mike Alexander <mta@arbortext.com>
10225 * gui.c (copy_gui_item_tree): Return a value in all cases
10227 2000-03-21 Didier Verna <didier@xemacs.org>
10229 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
10231 (SMART_INCLUDE): new macro.
10232 (POSTGRES_INCLUDE): new macro to include postgresql headers from
10233 the proper location.
10235 * postgresql.c: use it.
10239 2000-03-24 Andy Piper <andy@xemacs.org>
10241 * gutter.c (redraw_exposed_gutters): must be "in display" when we
10244 2000-03-24 Andy Piper <andy@xemacs.org>
10246 * redisplay-output.c (compare_runes): use image_instance_changed
10247 to detect changes. Do not depend on glyphs_changed, only depend on
10249 (redisplay_output_layout): add debug messages.
10250 (compare_runes): ditto.
10252 * glyphs.h: declare new functions.
10253 (struct Lisp_Image_Instance): remove percent and associated
10256 * gui.h: declare new copying functions.
10258 * gui.c (copy_gui_item_tree): new function.
10259 (copy_gui_item): new function.
10260 (gui_item_id_hash): revert to standard hash.
10261 (gui_item_hash): ditto.
10262 (gui_item_hash_internal): deleted.
10263 (mark_gui_item): mark value.
10264 (gui_item_add_keyval_pair): add value.
10265 (gui_item_init): ditto.
10266 (gui_add_item_keywords_to_plist): ditto.
10267 (gui_item_equal): ditto.
10268 (syms_of_gui): add Q_value.
10270 * glyphs-x.c (x_progress_gauge_update): use pending items and
10271 value for setting the state.
10272 (x_update_widget): don't set items from pending here.
10274 * glyphs-widget.c (update_widget): update items here.
10275 (progress_gauge_set_property): use items for storing value. Put
10276 new value in pending items.
10278 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
10279 items for new value. Convert percent -> value.
10280 (mswindows_tab_control_update): don't update items here.
10282 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
10283 (update_subwindow): ditto.
10284 (image_instance_changed): new function. Compare hash values and
10285 past and present widget items.
10286 (image_instantiate): We more careful about where we instantiate
10288 (image_instantiate): add error checking.
10290 * gutter.c (syms_of_gutter): use -hook.
10292 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
10294 * console-tty.c (Fset_console_tty_input_coding_system): Use
10296 (Fset_console_tty_output_coding_system): Use Qterminal.
10297 (tty_init_console): Use Qkeyboard and Qterminal.
10299 2000-03-21 Ben Wing <ben@xemacs.org>
10301 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
10302 From Mike Alexander <mta@arbortext.com>.
10304 2000-03-21 Ben Wing <ben@xemacs.org>
10306 * event-msw.c (mswindows_need_event): Horrible kludge to fix
10307 process brokenness. Proper implementation to come.
10309 Rename call-process-internal to old-call-process-internal.
10310 New impl. in process.el.
10312 2000-03-21 Martin Buchholz <martin@xemacs.org>
10314 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
10316 2000-03-20 Andy Piper <andy@xemacs.org>
10318 * glyphs.c (full_list_hash): make hashes of the same elements in
10319 different orders return different values.
10321 2000-03-20 Martin Buchholz <martin@xemacs.org>
10323 * XEmacs 21.2.32 is released.
10325 2000-03-20 Martin Buchholz <martin@xemacs.org>
10327 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
10328 (DFC_MALLOC_USE_CONVERTED_DATA):
10329 Add aliasing-safe casts to allow use with char* or unsigned char*
10332 * eldap.c (Fldap_open):
10333 (Fldap_search_basic):
10336 Make C++-compilable.
10337 Make sure GCPRO'ed variables are initialized.
10338 Use temp variables to avoid repeated calls to Flength.
10340 2000-03-16 Martin Buchholz <martin@xemacs.org>
10343 Make sure PATH_MAX is always defined.
10344 Include limits.h for PATH_MAX.
10345 Deprecate use of MAXPATHLEN.
10347 2000-03-10 Martin Buchholz <martin@xemacs.org>
10349 * emacs.c: Add reinit_vars_of_fileio.
10350 * symsinit.h: Add reinit_vars_of_fileio.
10351 * fileio.c (reinit_vars_of_fileio): New.
10352 * fileio.c (Fmake_temp_name):
10353 Initialize temp_name random number from microseconds to make
10354 collisions even less likely. Initialize always at process startup
10355 time. (make-temp-name) used to return the same file name twice in
10357 Random stylistic fiddling.
10360 2000-03-20 Andy Piper <andy@xemacs.org>
10362 * glyphs.c (image_instantiate): allow text glyphs to be
10363 instantiated in the minibuffer window.
10365 2000-03-19 Andy Piper <andy@xemacs.org>
10367 * glyphs.c (image_instance_hash): be careful about which items we
10370 * glyphs-widget.c (tab_control_set_property): record into pending
10371 items rather than the actual items.
10373 * glyphs-x.c (x_update_widget): use pending items to update with.
10375 * glyphs-msw.c (mswindows_tab_control_update): use pending items
10378 * glyphs.c (mark_image_instance): mark pending items.
10380 * window.c (Fset_window_configuration): record the buffer.
10381 (Fselect_window): totally revert previous change which breaks many
10384 2000-03-18 Andy Piper <andy@xemacs.org>
10386 * glyphs-msw.c (mswindows_tab_control_update): force selected
10389 * glyphs.c (image_instantiate): don't allow the minibuffer as a
10390 window domain cache, otherwise we get inconsistencies at
10391 startup. There is something fishy at startup which can lead to the
10392 minibuffer being the selected window when the gutter content is
10395 * gui.c (parse_gui_item_tree_list): add probably unnecessary
10397 (parse_gui_item_tree_children): ditto.
10398 (parse_gui_item_tree_item): ditto.
10400 * glyphs.c (Fupdate_widget_instances): return something.
10402 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10404 * window.c (Fselect_window): Undo 2000-03-17 change.
10406 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
10408 * postgresql.c (Fpq_setenv): Remove this turkey when linking
10409 against v7.0 libraries. Insta-coredump city until the postgres
10412 2000-03-17 Andy Piper <andy@xemacs.org>
10414 * faces.c (complex_vars_of_faces): don't give the widget face an
10415 inherited background pixmap.
10417 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
10420 * event-stream.c (Fdispatch_non_command_events): return something.
10422 * gutter.c (output_gutter): use widget face.
10423 (clear_gutter): ditto.
10425 * NEWS: adjust again.
10427 * window.c (Fselect_window): make sure this runs to completion to
10428 avoid oddities with Fset_window_configuration.
10429 (Fcurrent_window_configuration): in general do not save the
10430 minibuffer as the selected window.
10432 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
10434 2000-03-16 Olivier Galibert <galibert@pobox.com>
10436 * emacs.c (Frunning_temacs_p): Revert previous patch.
10437 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
10439 2000-03-16 Andy Piper <andy@xemacs.org>
10441 * glyphs-x.c (x_tab_control_update): if no widget values then
10444 * NEWS: update for new features.
10446 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
10447 synthetic event to the native system.
10448 (reinit_vars_of_event_Xt): set force_event_pending to
10449 emacs_Xt_force_event_pending.
10451 * events.h (struct event_stream): add force_event_pending.
10453 * specifier.c (recompute_one_cached_specifier_in_window): add
10456 * redisplay.c (redisplay_frame): don't call
10457 update_frame_subwindows. Reset subwindow cachels when
10458 subwindows_changed, removing this was an optimization too far.
10460 * redisplay-output.c (compare_runes): reorganize so that we catch
10461 glyph changes when we want them. Set optimize_output when this
10462 would help layouts.
10463 (redisplay_output_layout): remove frame_really_changed, use
10464 optimize_output instead.
10466 * redisplay-msw.c (mswindows_output_display_block): reset
10467 optimize_output after outputting a glyph.
10468 * redisplay-x.c (x_output_display_block): ditto.
10469 * redisplay-tty.c (tty_output_display_block): ditto.
10471 * gutter.c: (specifier_vars_of_gutter): use new spec changed
10473 (gutter_specs_changed): do specific gutter positions.
10474 (top_gutter_specs_changed): new function. Only update the
10475 specified gutter specs.
10476 (bottom_gutter_specs_changed): ditto.
10477 (left_gutter_specs_changed): ditto.
10478 (right_gutter_specs_changed): ditto.
10480 * gui.c (gui_item_hash_internal): new function, does a real hash.
10481 (gui_item_id_hash): use it.
10482 (gui_item_hash): hash the eval'ed gui_item.
10484 * gui-x.c (popup_selection_callback): send an eval event to call
10485 Fupdate_widget_instances.
10487 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
10488 to call Fupdate_widget_instances.
10490 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
10491 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
10493 * glyphs.c: (update_frame_subwindows): deleted.
10494 (Fupdate_widget_instances): new function for updating the dirty
10495 state of widgets that might have changed.
10496 (syms_of_glyphs): add Qupdate_widget_instances.
10497 (full_list_hash): hash a list completely.
10498 (image_instance_hash): use it for items and properties.
10500 * frame-msw.c (mswindows_size_frame_internal): remove unused
10503 * faces.h (struct face_cachel): fix comment.
10505 * event-stream.c (Fdispatch_non_command_events): new
10506 function. Process non-command events, forcing an event cycle
10508 (syms_of_event_stream): declare.
10509 (event_stream_force_event_pending): new function. Force an event
10510 on the native event queue so that an event cycle will occur next
10514 (struct ntpipe_shove_stream):
10515 (mswindows_enqueue_dispatch_event):
10516 (mswindows_dequeue_dispatch_event):
10517 (mswindows_cancel_dispatch_event):
10518 (mswindows_pump_outstanding_events):
10519 (mswindows_drain_windows_queue):
10520 (mswindows_handle_paint):
10521 (mswindows_wnd_proc):
10522 (mswindows_key_to_emacs_keysym):
10523 (get_process_input_waitable):
10524 (emacs_mswindows_delete_stream_pair): re-indent file.
10525 (mswindows_need_event): do not process further fds if the windows
10526 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
10527 fixes the 100% cpu problem.
10528 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
10530 2000-03-15 Olivier Galibert <galibert@pobox.com>
10536 * emacs.c: Moved dump file searching to dumper.c.
10537 (Frunning_temacs_p): Fixed.
10539 * alloc.c: Moved everything pdump-related to dumper.c. Removed
10540 last_lrecord_type_index_assigned.
10542 2000-02-20 Olivier Galibert <galibert@pobox.com>
10544 * symsinit.h: Added reinit parameter to init_console_stream
10547 * lisp.h: Added file parameter to pdump_load declaration.
10549 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
10550 support. Added dump file searching.
10552 * config.h.in: Added EMACS_PROGNAME.
10554 * console-stream.c (init_console_stream): Fix reinitialisation
10555 when running from temacs.
10557 * alloc.c (pdump): Add id support.
10558 (pdump_load): Add file parameter and signature/id support.
10560 * Makefile.in.in: Add full pdump support.
10562 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
10564 * postgresql.c: Update documentation to reflect latest code
10566 (print_result): Show tuple counts in printed representation when
10568 (Fpq_put_nbytes): MULE-ize.
10569 (Fpq_get_line_async): Ditto.
10571 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10573 * postgresql.c (Fpq_lo_import): Fix return value.
10574 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
10576 2000-03-13 Ben Wing <ben@xemacs.org>
10578 * alloc.c (pdump_load):
10579 Fix compile warning under mswin.
10581 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10583 * postgresql.c: Mule-ization, bug fixes.
10584 Use PG_CODING to encapsulate coding system name changes.
10585 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
10586 (pg-coding-system): Create.
10588 (Fpq_conn_defaults): Mule-ize.
10589 (Fpq_connectdb): Mule-ize & bug fix.
10590 (Fpq_connect_start): Mule-ize.
10591 (Fpq_set_client_encoding): Mule-ize.
10592 (Fpq_finish): Document `DEAD' connection status.
10593 (Fpq_clear): Ditto.
10594 (Fpq_pgconn): Mule-ize.
10595 (Fpq_exec): Mule-ize & bug fix.
10596 (Fpq_send_query): Ditto.
10597 (Fpq_get_result): Ditto.
10598 (Fpq_res_status): Mule-ize.
10599 (Fpq_result_error_message): Mule-ize.
10600 (Fpq_ntuples): fix comments.
10601 (Fpq_fname): Mule-ize.
10602 (Fpq_fnumber): Mule-ize.
10603 (Fpq_ftype): fix comments.
10604 (Fpq_get_value): Mule-ize.
10605 (Fpq_cmd_status): Ditto.
10606 (Fpq_cmd_tuples): Ditto.
10607 (Fpq_oid_value): Ditto.
10608 (Fpq_notifies): Ditto.
10609 (Fpq_lo_import): Ditto.
10610 (Fpq_lo_export): Ditto.
10611 (Fpq_get_line): Ditto.
10612 (Fpq_put_line): Mule-ize and bug fix.
10613 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
10615 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10617 * postgresql.c (vars_of_postgresql): Mule-ize.
10618 (Fpq_conn_defaults): Ditto.
10620 2000-03-12 Ben Wing <ben@xemacs.org>
10622 * alloc.c (Fmake_byte_code):
10623 * alloc.c (debug_string_purity_print):
10624 * alloc.c (pdump_backtrace):
10625 * alloc.c (pdump_get_indirect_count):
10626 * alloc.c (pdump_register_sub):
10627 * alloc.c (pdump_register_object):
10628 * alloc.c (pdump_register_struct):
10629 * alloc.c (pdump_dump_data):
10630 * alloc.c (pdump_reloc_one):
10634 * console-msw.c (GetConsoleHwnd):
10635 * console-msw.c (msw_hide_console):
10636 * console-msw.c (msw_show_console):
10637 * console-msw.c (msw_ensure_console_buffered):
10638 * console-msw.c (msw_output_console_string):
10639 * console-msw.c (console_type_create_mswindows):
10641 a) Added functions to manipulate the console window for use with
10644 b) Added support for writing text to the console, which is now
10645 used under Windows when xemacs is not being run non-interactively,
10646 to write text that would otherwise be destined for stdout because
10647 under these circumstances, text written to stdout tends to
10648 disappear and not be seen.
10652 * event-Xt.c (x_event_to_emacs_event):
10653 * event-Xt.c (describe_event_window):
10654 * events-mod.h (XEMACS_MOD_CONTROL):
10656 * events.c (Fmake_event):
10657 * events.c (character_to_event):
10658 * events.c (event_to_character):
10659 * events.c (format_event_object):
10660 * events.c (Fevent_modifiers):
10662 * events.h (struct key_data):
10663 * events.h (struct button_data):
10664 * events.h (struct misc_user_data):
10665 * frame-x.c (Fcde_start_drag_internal):
10666 * frame-x.c (Foffix_start_drag_internal):
10667 * gpmevent.c (Freceive_gpm_event):
10669 * keymap.c (bucky_sym_to_bucky_bit):
10670 * keymap.c (control_meta_superify):
10671 * keymap.c (make_key_description):
10672 * keymap.c (keymap_lookup_directly):
10673 * keymap.c (create_bucky_submap):
10674 * keymap.c (keymap_store):
10675 * keymap.c (define_key_check_and_coerce_keysym):
10676 * keymap.c (define_key_parser):
10677 * keymap.c (define_key_alternate_name):
10678 * keymap.c (Fdefine_key):
10679 * keymap.c (raw_lookup_key_mapper):
10680 * keymap.c (struct map_keymap_unsorted_closure):
10681 * keymap.c (map_keymap_unsorted_mapper):
10682 * keymap.c (map_keymap_sort_predicate):
10683 * keymap.c (map_keymap_sorted):
10684 * keymap.c (accessible_keymaps_mapper_1):
10685 * keymap.c (where_is_recursive_mapper):
10686 * keymap.c (describe_map_mapper):
10687 * keymap.c (describe_map_sort_predicate):
10688 * keymap.c (describe_map):
10689 * keymap.c (complex_vars_of_keymap):
10690 And a number of other files, the key modifier preprocessor
10691 constants that xemacs uses have names that conflict with constants
10692 defined under MS Windows for other purposes, so they were renamed
10693 to begin with the prefix XEMACS_. The variables that hold such
10694 modifiers were changed to consistently be of type int to fix
10695 various compile warnings.
10697 * console.c (complex_vars_of_console):
10700 * device-msw.c (mswindows_finish_init_device):
10701 * device-msw.c (msw_get_workspace_coords):
10702 * device-msw.c (mswindows_device_system_metrics):
10703 and various other files, added support for a new
10704 device property called offset-workspace which returns the position
10705 of the upper left corner of the workspace area and goes along with
10706 the existing size-workspace property.
10709 * dialog-msw.c (push_bufbyte_string_as_unicode):
10710 * dialog-msw.c (mswindows_popup_dialog_box):
10711 Added support for XEmacs-style accelerator specifications in
10712 button text. Note: I didn't add support for this under X Windows,
10713 and somebody needs to do this.
10716 * dialog.c (Fpopup_dialog_box):
10717 Documented the support for accelerators that was just mentioned.
10719 editfns.c (get_home_directory): Changed behavior under Windows
10720 when HOME not defined; former behavior was irretrievably broken.
10723 * emacs.c (main_1):
10725 * minibuf.c (clear_echo_area_internal):
10726 * minibuf.c (echo_area_append):
10728 * print.c (std_handle_out_external):
10729 * print.c (std_handle_out_va):
10731 * print.c (write_string_to_stdio_stream):
10732 * print.c (output_string):
10733 * print.c (debug_print):
10734 * print.c (debug_backtrace):
10735 * print.c (debug_short_backtrace):
10736 Cleaned up the code that prints text to stdout so that this can be
10737 changed to output into a console window instead under MS Windows,
10738 as described above.
10741 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
10742 * eval.c (internal_catch):
10743 * eval.c (unwind_to_catch):
10744 * eval.c (throw_or_bomb_out):
10745 * eval.c (condition_case_1):
10746 * eval.c (signal_1):
10747 * eval.c (check_error_state_sanity):
10748 * eval.c (call_with_suspended_errors_1):
10749 * eval.c (call_with_suspended_errors):
10750 * eval.c (reinit_vars_of_eval):
10751 Added code to catch throw loops and check for a pesky bug that may
10755 * event-msw.c (key_needs_default_processing_p):
10756 * event-msw.c (mswindows_wnd_proc):
10757 * event-msw.c (mswindows_modifier_state):
10758 * event-msw.c (emacs_mswindows_quit_p):
10759 * event-msw.c (vars_of_event_mswindows):
10760 a) Added support for using the alt key to select menu items as is
10761 standard under MS Windows. This is controlled using the variable
10762 menu-accelerator-enabled, just like under X Windows. There is an
10763 option on the options menu to turn this support on. I really
10764 think that it should be on by default under Windows, but I'm not
10765 going to make this change yet.
10767 b) Added support for dynamic display size changes under Windows.
10770 * event-stream.c (maybe_echo_keys):
10771 * event-stream.c (Fnext_event):
10772 * event-stream.c (command_builder_find_leaf):
10773 * event-stream.c (lookup_command_event):
10774 * event-stream.c (execute_command_event):
10775 * event-stream.c (pre_command_hook):
10776 * event-stream.c (post_command_hook):
10777 * event-stream.c (syms_of_event_stream):
10778 * event-stream.c (vars_of_event_stream):
10779 * event-stream.c (complex_vars_of_event_stream):
10780 * events.h (struct command_builder):
10782 a) Tried to clean up a little bit the horribly written x-specific
10783 accelerator code that crept into this file. I moved this code
10784 into menubar-x.c where it belongs. I also needed to move the
10785 command builder structure into the file events.h because it is
10786 accessed directly by this accelerator code. What I didn't do, but
10787 which should be done at some point, is to properly abstract this
10788 code using device methods instead of the kludgy way that it
10789 currently hooks into the event code.
10791 b) Added the lisp variables this-command-properties and
10792 last-command- properties, which should be used to synchronize two
10793 adjacent commands in preference to playing games with the variable
10794 this-command, which is typically what happens.
10796 c) Added some slightly nasty code to hook into the lisp support
10797 for shifted- motion-key selection. This is actually necessary for
10798 somewhat complicated reasons, which are described in
10799 simple.el. (NB: I think the proper thing would be to have the code
10800 that calls the pre and post command hooks also call out to generic
10801 lisp functions in simple.el, where all built-in stuff could be
10802 added. I will think about this more.)
10804 * event-unixoid.c (poll_fds_for_input):
10805 * lread.c (readchar):
10806 * redisplay-tty.c (tty_clear_frame):
10807 * redisplay-x.c (x_get_gc):
10808 * signal.c (interrupt_signal):
10809 And a whole bunch of other files: fixed up places that printed
10810 directly to stderr to instead call the function stderr_out so that
10811 the changes I made under Windows work correctly.
10813 * filemode.c (mode_string):
10817 * frame-msw.c (mswindows_size_frame_internal):
10818 Fixed the computation of frame size and position to keep the frame
10819 within the workspace area, rather than within the physical
10820 dimensions of the screen, so that the frame doesn't overlap window
10821 manager decorations, such as the start menu and toolbar, typically
10822 at the bottom of the screen.
10824 * frame.c (vars_of_frame):
10825 Changed the default frame title format under MS Windows to consist
10826 of buffername-XEmacs, which is standard under MS Windows. I think
10827 it might be a good idea to change this everywhere because I think
10828 it is superior to the current frame title format, but this is the
10829 kind of change that is likely to cause some people to get annoyed,
10830 so I'm not making it.
10832 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
10834 * gui-msw.c (mswindows_handle_gui_wm_command):
10835 Fixed compile warnings.
10838 * gui-x.c (strdup_and_add_accel):
10839 * gui-x.c (button_item_to_widget_value):
10841 Added code to automatically put an accelerator onto the beginning
10842 of menu items that don't have one as is now the standard, and is
10843 described more later. Also fixed things so that the menu item
10844 name can be an evaluated expression, again a new standard.
10847 * gui.c (gui_item_add_keyval_pair):
10848 * gui.c (make_gui_item_from_keywords_internal):
10849 * gui.c (gui_add_item_keywords_to_plist):
10850 * gui.c (gui_item_accelerator):
10851 * gui.c (gui_name_accelerator):
10852 * gui.c (gui_item_included_p):
10853 * gui.c (gui_item_display_flush_left):
10854 * gui.c (gui_item_display_flush_right):
10855 * gui.c (parse_gui_item_tree_item):
10856 * gui.c (parse_gui_item_tree_children):
10857 * gui.c (parse_gui_item_tree_list):
10858 Mule-ized. Cleanup. GCPRO addition.
10860 * line-number.c (buffer_line_number):
10862 * lisp.h (EMACS_INT_MAX):
10863 Added the manifest constant EMACS_INT_MIN corresponding to the
10864 existing constant EMACS_INT_MAX. This is partially to fix compile
10865 warnings under Windows, and partly for cleanliness.
10868 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
10869 * menubar-msw.c (msw_translate_menu_or_dialog_item):
10870 * menubar-msw.c (displayable_menu_item):
10871 * menubar-msw.c (populate_menu_add_item):
10872 * menubar-msw.c (populate_or_checksum_helper):
10873 * menubar-msw.c (populate_menu):
10874 * menubar-msw.c (update_frame_menubar_maybe):
10875 * menubar-msw.c (prune_menubar):
10876 * menubar-msw.c (msw_char_is_accelerator):
10877 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
10878 * menubar-msw.c (mswindows_handle_wm_command):
10879 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
10880 * menubar-msw.c (mswindows_handle_wm_initmenu):
10881 * menubar-msw.c (mswindows_update_frame_menubars):
10882 * menubar-msw.c (mswindows_free_frame_menubars):
10883 * menubar-msw.c (mswindows_popup_menu):
10884 Fixed a bug in handling accelerators where an extra character
10885 would be displayed in the menu item. Also generalized the
10886 function displayable_menu_item because it is now used by the
10887 dialog box code as well. And finally, added code in the functions
10888 that create the menubar to extract a list of accelerators for the
10889 top level menubar, which is used in the event code to determine
10890 whether a particular alt-key combination should be used to invoke
10891 a menu item, or should be passed through to access the standard
10892 XEmacs keymap binding for this key combination.
10894 Much needed GCPROing.
10897 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10898 * menubar-x.c (menu_item_descriptor_to_widget_value):
10899 * menubar-x.c (restore_in_menu_callback):
10900 * menubar-x.c (x_popup_menu):
10901 * menubar-x.c (menu_move_up):
10902 * menubar-x.c (menu_move_down):
10903 * menubar-x.c (menu_move_left):
10904 * menubar-x.c (menu_move_right):
10905 * menubar-x.c (menu_select_item):
10906 * menubar-x.c (command_builder_operate_menu_accelerator):
10907 * menubar-x.c (menu_accelerator_junk_on_error):
10908 * menubar-x.c (command_builder_find_menu_accelerator):
10909 * menubar-x.c (Faccelerate_menu):
10911 Moved a whole bunch of code here that was previously in
10912 event-stream.c as described above. There is also code connected
10913 to the new standard of adding an accelerator to the beginning of
10914 menu items that don't have one as described above and below.
10917 * menubar.c (menu_parse_submenu_keywords):
10918 * menubar.c (Fmenu_find_real_submenu):
10919 * menubar.c (Fnormalize_menu_item_name):
10920 * menubar.c (syms_of_menubar):
10921 * menubar.c (vars_of_menubar):
10922 * menubar.c (complex_vars_of_menubar):
10924 a) Cleaned up a bunch of documentation and improved it.
10926 b) XEmacs now automatically adds an accelerator onto the beginning
10927 of any menu items that don't have one. I did this because there
10928 will inevitably be some menu items on the main menubar that don't
10929 have accelerators on them because the package that adds that
10930 particular menu item hasn't yet been fixed up to have accelerators
10931 in them and it looked rather strange to have some items with and
10932 some items without accelerators, especially since even in items
10933 without accelerators, you can, at least under windows, still
10934 access the item through an accelerator corresponding to the first
10935 character in the item's name. If people don't like this behavior,
10936 I can add a variable to turn it off optionally, but I'm not sure
10937 this is a good idea because we really do need to have accelerators
10938 on all of the menu items, and if a package doesn't like the
10939 accelerators being put on the first character, then it should put
10940 the accelerators where they belong.
10942 c) I made a behavior change, which is that the descriptor that
10943 specifies the text of the menu item, which formerly was just a
10944 string, can now also be an evaluated expression. This makes this
10945 descriptor parallel with all of the others, which could also be
10946 evaluated expressions. This also obviates the need for the
10947 keyword :label, which was previously listed in the documentation
10948 as unimplemented, and which was for the same purpose.
10953 * ntproc.c (new_child):
10954 * ntproc.c (sys_spawnve):
10955 * ntproc.c (find_child_console):
10956 * ntproc.c (sys_kill):
10957 Fixed compile warnings. By the way, this file should really go
10958 away entirely, and this will happen as soon as Kirill makes his
10959 final round of process cleanups, which affect the function
10963 * process-nt.c (struct nt_process_data):
10964 * process-nt.c (find_process_from_pid):
10965 * process-nt.c (send_signal_the_nt_way):
10966 * process-nt.c (enable_child_signals):
10967 * process-nt.c (find_child_console):
10968 * process-nt.c (send_signal_the_95_way):
10969 * process-nt.c (nt_finalize_process_data):
10970 * process-nt.c (ensure_console_window_exists):
10971 * process-nt.c (nt_create_process):
10972 * process-nt.c (nt_kill_child_process):
10973 * process-nt.c (nt_kill_process_by_pid):
10974 * process-nt.c (nt_open_network_stream):
10975 * process-nt.c (vars_of_process_nt):
10976 Copied over code from Emacs 20.5 to correctly send signals to sub-
10977 processes under Windows 95. Also added code to automatically
10978 create and hide console window when a sub-process is created under
10979 Windows 95, which obviates the need for the separate runemacs.exe
10980 executable, and finally implemented some variables that were
10981 implemented in Emacs 20.5, but previously not in XEmacs. These
10982 include mswindows- start-process-share-console and
10983 mswindows-start-process-inherit-error-mode. (Both of these only
10984 apply to Windows 95.)
10986 * regex.c (regex_compile): Fixed a compile warning.
10989 * select-msw.c (mswindows_own_selection):
10990 * select-msw.c (mswindows_get_foreign_selection):
10991 * select-msw.c (mswindows_disown_selection):
10992 * select-msw.c (console_type_create_select_mswindows):
10993 * select-msw.c (syms_of_select_mswindows):
10994 Cleaned up the file and implemented the device method
10995 selection_exists_p, which had accidentally been left out. Also
10996 removed four lisp functions that were remnants from before the
10997 time when the selection code was properly device abstracted.
10998 These functions are no longer needed because there are generic
10999 equivalents, and because they were added recently and don't exist
11000 in FSF Emacs, I don't think there's any problem with just deleting
11004 * sysdep.c (sys_subshell):
11005 Fixed a compile warning, although in this case there's probably
11006 something wrong with this code, and it ought to be looked into
11007 more thoroughly by somebody who understands it.
11010 * window.c (Fwindow_text_area_height):
11011 * window.c (Fwindow_width):
11012 * window.c (Fwindow_full_width):
11013 * window.c (Fwindow_pixel_width):
11014 * window.c (debug_print_window):
11015 * window.c (syms_of_window):
11016 Added functions window-text-area-height and window-full-width,
11017 which are functions for returning various width and height
11018 characteristics of a window. (One of these functions is necessary
11019 for making the file dialog box work correctly, and the other one
11020 was added for completeness.) Also added a table to the
11021 documentation for window-height which describes the entire scheme
11022 for accessing width and height characteristics of a window.
11024 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11026 * nt.c (fstat): Added a comment for another problem with
11027 non-encapsulated [f]stat(), reported by Adrian Aichner
11028 <aichner@ecf.teradyne.com>.
11030 2000-03-11 Andy Piper <andy@xemacs.org>
11032 * window.c (make_dummy_parent): initialize subwindow instance
11034 (Fset_window_configuration): zero extent_modiff.
11036 2000-03-10 Andy Piper <andy@xemacs.org>
11038 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
11039 more changes can be triggered.
11040 (Fredisplay_frame): ditto.
11041 (Fredraw_device): ditto.
11042 (Fredisplay_device): ditto.
11043 (redisplay_frame): make non-static.
11044 (redisplay_frame): call update_frame_gutter_geometry outside of
11047 * gutter.h: declare update_frame_gutter_geometry.
11049 * redisplay.h: declare redisplay_frame.
11051 * gutter.c (update_frame_gutter_geometry): move geometry changes
11052 in update_frame_gutters here. Geometry changes can only occur
11053 outside of redisplay.
11054 (update_frame_gutters): remove geometry change code.
11055 (Fredisplay_gutter_area): make sure that we are in display when we
11056 update and that we have flushed any size changes.
11058 2000-03-11 Andy Piper <andy@xemacs.org>
11060 * alloc.c (pdump_dump_data): remove i & count shadows.
11062 2000-02-27 Mike Alexander <mta@arbortext.com>
11064 * sysdep.h: Declare pdump_read_file
11066 * sysdep.c (pdump_read_file): New function
11068 * alloc.c (pdump_load): Call pdump_read_file to get the portable
11071 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
11073 * lrecord.h: add `lrecord_type_pgsetenv'.
11075 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
11077 * symsinit.h: declare (vars|syms)_of* functions.
11078 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
11080 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
11082 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
11084 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
11087 * emacs.c (main_1): Call postgres initialization code.
11089 * postgresql.h: New file. PostgreSQL RDBMS support.
11090 * postgresql.c: New file.
11092 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
11094 * redisplay-output.c (redisplay_output_display_block): Disable
11097 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11099 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
11100 (Fcanna_henkan_next): Ditto.
11101 (Fcanna_bunsetu_henkou): Ditto.
11102 (Fcanna_henkan_kakutei): Ditto.
11103 (Fcanna_henkan_end): Ditto.
11104 (Fcanna_henkan_quit): Ditto.
11105 (Fcanna_henkan_next): Set retun value correctly.
11106 (c2mu): Use unsigned char instead of signed char.
11108 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11110 * emacs.c (main_1): Always call syms_of_gui.
11111 * inline.c: include gui.h
11113 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11115 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
11116 converted to Lisp_Object.
11117 (Qtop_bottom): New variable.
11118 (syms_of_redisplay): Initialize it.
11119 * redisplay.h (Vvisible_bell): Ditto.
11120 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
11121 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
11122 only flash top and bottom.
11124 2000-03-08 Andy Piper <andy@xemacs.org>
11126 * buffer.c (Frename_buffer): record new buffer name the right way.
11128 2000-03-08 Andy Piper <andy@xemacs.org>
11130 * glyphs.c (update_subwindow): increase hash depth so that widget
11131 items get picked up properly.
11133 * redisplay-output.c (compare_runes): increase hash depth so that
11134 widget items get picked up properly.
11136 2000-03-08 Andy Piper <andy@xemacs.org>
11138 * gutter.c (output_gutter): add some debug.
11140 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
11141 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
11142 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
11144 * redisplay-output.c (compare_runes): use display_hash to
11145 determine if glyphs really are not the same.
11147 * glyphs.c (update_subwindow): check display_hash to see if
11148 anything really needs to be updated. If not then do
11149 nothing. Record the display_hash after updating.
11150 (image_instance_equal): compare the image_instance face also.
11152 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
11154 * redisplay.h: Fix comment style.
11156 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
11158 * consle-msw.h (struct mswindows_frame):
11159 Added new member paint_pending to indicate whether a WM_PAINT
11160 magic event has been queued for this frame.
11162 * event-msw.c (mswindows_drain_windows_queue):
11163 Don't queue a WM_PAINT magic event if one is already queued.
11164 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
11166 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
11168 2000-03-07 Didier Verna <didier@xemacs.org>
11170 * dired.c: #include `regex.h' after `sysfile.h'.
11172 2000-03-06 Martin Buchholz <martin@xemacs.org>
11174 * sound.c (init_nas_sound): Fix compiler warning.
11176 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
11178 (MARK_STRUCT_AS_FREE):
11179 (MARK_STRUCT_AS_NOT_FREE):
11180 Make `gcc -fstrict-aliasing' work properly.
11182 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
11184 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
11185 (mswindows_delete_device): Call CoUnnitialize().
11187 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
11189 2000-02-25 <CraigL@DyCon.com>
11191 * process-nt.c: MinGW now has <shellapi.h>, but still needs
11194 * sysdep.c: This extern declaration for environ prevents MinGW
11195 from finding the variable in CRTDLL.DLL.
11197 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
11199 (SHGFI_EXETYPE): ..
11200 (WM_MOUSEWHEEL): ..
11201 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
11203 (MMRESULT): Removed, now defined in cygwin's windows headers.
11205 (uid_t,gid_t,pid_t,ssize_t): ..
11206 (_timeb): Removed, MinGW defines both _timeb and timeb.
11207 (HAVE_H_ERRNO): Added.
11208 (HAVE_TZNAME): Added, configure is not detecting this.
11210 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
11212 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
11213 * syntax.c (syntax_match): Use it.
11215 * cmds.c: Import auto-fill-chars from FSF Emacs.
11216 (Vauto_fill_chars): New variables.
11217 (internal_self_insert): Check Vauto_fill_chars.
11219 Declare auto-fill-chars as a Lisp variable and initialize it.
11221 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
11223 * fileio.c (Fmake_symbolic_link):
11225 Run handlers even if local machine doesn't have symlinks.
11227 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
11229 * event-msw.c (mswindows_drain_windows_queue):
11230 Don't generate paint magic events for non-XEmacs frames.
11232 2000-03-05 Andy Piper <andy@xemacs.org>
11234 * redisplay.c (redisplay_frame): generate_displayable_area and
11235 friends assumes that we are not in GC, we therefore have to make
11236 sure that this doesn't happen.
11238 * gutter.c (calculate_gutter_size): generate_displayable_area
11239 assumes that we are not in GC, we therefore have to make sure that
11240 this doesn't happen.
11242 2000-03-05 Martin Buchholz <martin@xemacs.org>
11244 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
11246 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
11248 * redisplay.c (regenerate_window): Make sure we set a sane value
11249 for end_pos even if we jump out of the loop.
11250 (regenerate_window): Answer Ben's question :-).
11251 (start_end_of_last_line): Add may_error argument.
11252 (start_of_last_line):
11253 (end_of_last_line): Pass may_error = 0.
11254 (end_of_last_line_may_error): New function.
11255 (pixel_to_glyph_translation): Use it, so we don't crash in
11258 2000-03-04 Andy Piper <andy@xemacs.org>
11260 * window.h (struct window): add gutter_extent_modiff.
11262 * window.c (allocate_window): zero out gutter_extent_modiff.
11264 * redisplay.h: declare sync_display_line_structs.
11266 * redisplay.c (add_glyph_rune): add a better comment.
11268 * redisplay-output.c (sync_display_line_structs): made non-static.
11269 (compare_runes): remove unneccesary glyph cachel access.
11271 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
11273 * gutter.c (output_gutter): don't output the gutter if extent
11274 changes only involve extents in buffers. use 4 sets of display
11276 (gutter_extent_signal_changed_region_maybe): new function. Mark
11277 extents in gutters as changed.
11278 (update_frame_gutters): use 4 sets of display lines.
11279 (reset_gutter_display_lines): ditto.
11280 (free_frame_gutters): ditto.
11281 (redraw_exposed_gutter): force output of gutters.
11283 * frame.h (struct frame): add 4 sets of gutter display lines.
11285 * extents.c: (extent_changed_for_redisplay): signal changes to
11286 extents in strings in the gutter as well as extents in buffers.
11288 2000-03-02 Andy Piper <andy@xemacs.org>
11290 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
11292 * frame.c (Fmake_frame): make sure the gutters get initialized
11293 after the frame is visible.
11294 (set_frame_selected_window): re-arrange compilation macros a
11296 (change_frame_size_1): mark gutters changed.
11298 * device.c (Fset_device_class): mark gutters changed.
11300 2000-03-01 Andy Piper <andy@xemacs.org>
11302 * window.c (window_top_frame_gutter_height): deleted.
11303 (window_bottom_frame_gutter_height): ditto.
11304 (window_left_frame_gutter_height): ditto.
11305 (window_right_frame_gutter_height): ditto.
11306 (window_top_gutter_height): don't use them.
11307 (window_bottom_gutter_height): ditto.
11308 (window_left_gutter_width): ditto.
11309 (window_right_gutter_width): ditto.
11310 (Fsplit_window): ditto.
11311 (Fwindow_pixel_edges): don't use border dimensions here.
11313 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
11314 (update_scrollbar_instance): ditto.
11316 * redisplay.c (generate_modeline): don't take gutters into account.
11317 (generate_modeline): ditto.
11318 (redisplay_frame): small gutter display optimization.
11320 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
11322 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
11323 gutters into account.
11325 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
11326 for window position and type.
11328 * gutter.c (get_gutter_coords): fix for frame gutters.
11329 (update_frame_gutters): update frame geometry if the gutters have
11331 (init_frame_gutters): record current gutter geometries.
11333 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
11335 (mswindows_widget_instantiate): ditto.
11337 * frame.h (struct frame): add current_gutter_bounds.
11339 * frame.c (change_frame_size_1): position window and minibuffer
11340 appropriately taking into account the frame gutters.
11342 * frame-x.c: (x_initialize_frame_size): take into account the
11345 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11347 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
11349 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11351 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
11353 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11355 * file-coding.c (reset_decoding_stream): Clear previous
11356 detection state when autodetect.
11358 2000-02-29 Didier Verna <didier@xemacs.org>
11360 * extents.c (set_extent_glyph_1): don't require extents to be
11363 2000-02-27 Andy Piper <andy@xemacs.org>
11365 * gutter.c (Fset_default_gutter_position): don't default left and
11366 right gutter visibility to t.
11367 (Fset_default_gutter_position): run
11368 default-gutter-position-changed-hook.
11369 (syms_of_gutter): add default-gutter-position-changed-hook.
11371 2000-02-26 Andy Piper <andy@xemacs.org>
11373 * specifier.c (Fmake_specifier): add gutter references.
11375 * gutter.h (RAW_WINDOW_GUTTER): new macro.
11377 * lisp.h: declare Fvalid_plist_p.
11379 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
11381 (default_gutter_visible_p_changed_in_window): invalidate gutter as
11382 well as its visibility so that it gets reconstructed.
11383 (construct_window_gutter_spec): new function. Construct a string
11384 to be displayed in the gutter from a plist of strings. Take care
11385 to only use elements that are declared as visible.
11386 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
11388 (gutter_validate): allow plists of strings in the specifier.
11389 (gutter_specs_changed): construct the real_gutter from the gutter
11390 specs using construct_window_gutter_spec.
11391 (gutter_visible_validate): gutter-visible is a new specifier type.
11392 (Fgutter_visible_specifier_p): new function for the new specifier.
11393 (syms_of_gutter): declare gutter-visible and
11394 Fgutter_visible_specifier_p.
11395 (specifier_type_create_gutter): intitalize new gutter-visible
11397 (reinit_specifier_type_create_gutter): ditto.
11398 (specifier_vars_of_gutter): use new specifier type for gutter
11400 (init_frame_gutters): construct real_gutter correctly.
11401 (Fgutter_specifier_p): beef up documentation.
11402 (Fgutter_size_specifier_p): ditto.
11404 * winslots.h: add real_gutter slots.
11406 2000-02-25 Andy Piper <andy@xemacs.org>
11408 * device-msw.c: Be kind to older cygwin versions. From Raymond
11409 Toy <toy@rtp.ericsson.se>.
11411 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
11412 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
11414 2000-02-25 Martin Buchholz <martin@xemacs.org>
11416 * elhash.c (MARK_OBJ): Practice macro hygiene.
11418 2000-02-24 Martin Buchholz <martin@xemacs.org>
11420 * miscplay.c: s/__inline__/inline/g;
11421 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
11422 (get_device_compdc): INLINE ==> static inline
11423 * *.[ch]: Change INLINE to INLINE_HEADER globally.
11424 find -name '*.h' | \
11425 xargs global-replace \
11426 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
11428 2000-02-25 Andy Piper <andy@xemacs.org>
11430 * window.c (window_top_frame_gutter_height): new function.
11431 (window_top_window_gutter_height): ditto.
11432 (window_top_gutter_height): use them.
11433 (window_bottom_frame_gutter_height): new function.
11434 (window_bottom_window_gutter_height): ditto.
11435 (window_bottom_gutter_height): use them.
11436 (window_left_window_gutter_width): new function.
11437 (window_left_frame_gutter_width): ditto.
11438 (window_left_gutter_width): use them.
11439 (window_right_window_gutter_width): new function.
11440 (window_right_frame_gutter_width): ditto.
11441 (window_right_gutter_width): use them.
11442 (window_pixel_height): new function. calulate window pixel height
11443 with frame gutter involvement.
11444 (Fsplit_window): calculate new sizes taking frame gutters into
11446 (window_char_height_to_pixel_height): don't include frame gutters.
11447 (window_char_height): use window_pixel_height.
11448 (window_pixheight): rename from window_pixel_height.
11449 (change_window_height): use it.
11450 (window_pixel_height_to_char_height): don't include frame gutters.
11451 (window_char_width_to_pixel_width): ditto.
11453 2000-02-25 Andy Piper <andy@xemacs.org>
11455 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
11458 2000-02-24 Martin Buchholz <martin@xemacs.org>
11460 * alloc.c (staticpro):
11461 (staticpro_nodump):
11466 (compact_string_chars):
11467 (pdump_dump_wired):
11468 Convert: if (foo) abort(); ==> assert (! foo);
11470 * eldap.c (Fldap_search_basic):
11474 Fix compiler warnings, and possible crashes if (random) return
11475 value were to be used.
11477 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11479 * device-msw.c: Workaround ResetDC failure.
11481 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
11482 applying a devmode.
11484 * redisplay-msw.c (get_frame_dc): Added start_page_p.
11485 (mswindows_text_width): Do not start printer page.
11487 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
11489 * glyphs-msw.c: Added image methods to msprinter console and
11490 msprinter-specific image instantiation.
11492 2000-02-20 Mike Alexander <mta@arbortext.com>
11494 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
11495 to avoid crashes when selection-sets-clipboard is on
11496 (mswindows_own_selection): ditto
11498 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11501 * redisplay-msw.c (get_frame_dc):
11502 (get_frame_compdc):
11504 * device-msw.c (mswindows_init_device):
11505 (mswindows_delete_device):
11506 (msprinter_init_device):
11507 (msprinter_delete_device):
11508 * frame-msw.c (mswindows_init_frame_1):
11509 (mswindows_delete_frame):
11510 (msprinter_init_frame_3):
11511 (msprinter_delete_frame): Move compatible DC to device object from
11512 frame object, for both mswindows and msprinter. Only one at a time
11513 is needed, it is a real waste to have one per frame!
11515 2000-02-23 Andy Piper <andy@xemacs.org>
11517 * glyphs.c: add dynamic width and height elements.
11518 (image_instance_equal): ditto.
11520 * glyphs-widget.c (widget_query_geometry): calculate width and
11521 height dynamically if required.
11522 (initialize_widget_image_instance): initialize dynamic dimensions.
11523 (widget_instantiate): pick-up dynamic dimensions.
11525 * glyphs.h (struct Lisp_Image_Instance): add width and height for
11526 dynamic determination. Add appropriate macros.
11528 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
11530 (WINDOW_GUTTER_SIZE): ditto.
11531 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
11533 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
11535 (get_frame_dc): ditto.
11537 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
11540 2000-02-23 Martin Buchholz <martin@xemacs.org>
11542 * XEmacs 21.2.31 is released.
11544 2000-02-22 Ben Wing <ben@xemacs.org>
11546 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
11548 2000-02-22 Andy Piper <andy@xemacs.org>
11550 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
11552 2000-02-21 Mike Sperber <mike@xemacs.org>
11556 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
11559 2000-02-21 Mike Sperber <mike@xemacs.org>
11561 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
11563 2000-02-21 Martin Buchholz <martin@xemacs.org>
11565 * XEmacs 21.2.30 is released.
11567 2000-02-20 Martin Buchholz <martin@xemacs.org>
11569 Performance hacking.
11571 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
11572 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
11573 * emacs.c (main_1):
11575 * console.c (DEFVAR_CONSOLE_LOCAL_1):
11576 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
11577 * symeval.h (DEFVAR_SYMVAL_FWD):
11578 * symbols.c (guts_of_unbound_marker):
11579 Make all c_readonly objects also lisp_readonly and marked for life.
11580 * lrecord.h (struct lrecord_implementation):
11581 Document flags better.
11582 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
11583 * lrecord.h (DECLARE_LRECORD):
11584 * lrecord.h (XSETRECORD):
11585 * lrecord.h (RECORDP):
11586 * lrecord.h (RECORD_TYPEP):
11587 * lrecord.h (RECORD_MARKER): New.
11588 * lrecord.h (error_check_*):
11589 * lrecord.h (CONCHECK_NONRECORD):
11590 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
11591 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
11592 * lrecord.h (set_lheader_implementation):
11593 * lrecord.h (enum lrecord_type): New.
11594 * symeval.h (SYMBOL_VALUE_MAGIC_P):
11595 * alloc.c (disksave_object_finalization_1):
11596 * alloc.c (mark_object):
11597 * alloc.c (lrecord_type_index):
11598 * alloc.c (tick_lcrecord_stats):
11599 * alloc.c (Fgarbage_collect):
11600 * alloc.c (init_alloc_once_early):
11601 * alloc.c (pdump_load):
11602 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
11603 * alloc.c (lrecord_type_index): Delete.
11604 Make lisp object type indexes be constant.
11605 Makes (byte-compile) 5% faster.
11606 Put all marker functions into their own array.
11607 Makes (garbage-collect) 5% faster.
11608 Optimize SYMBOL_VALUE_MAGIC_P.
11609 Makes (byte-compile) 2-3% faster.
11610 * config.h.in (gc_checking_assert): New.
11611 * alloc.c: Use gc_checking_assert().
11612 * .dbxrc: Make compatible with new object type implementation.
11613 * .gdbinit: Make compatible with new object type implementation.
11614 * alloc.c: Delete all symbols defined only for debugging, such as
11615 Lisp_Type_Vector and lrecord_charset.
11617 2000-02-21 Andy Piper <andy@xemacs.org>
11619 * gui-msw.c (Fmswindows_shell_execute): fix file location
11622 * buffer.c (Fkill_buffer): remove buffer from alist buffer
11623 unshowing so that set_window_buffer doesn't undo
11624 kill_buffer_hook's hard work.
11626 * glyphs-widget.c (tab_control_query_geometry): don't count the
11627 first item when calculating geometry.
11629 * glyphs.c (map_subwindow): remove redundant code.
11630 (update_frame_subwindows): be more circumspect about when to
11633 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
11634 when items haven't changed. Update faces if faces have changed as
11635 well as just the widget face.
11636 (x_tab_control_update): Update faces if faces have changed as well
11637 as just the widget face.
11639 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11641 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
11643 (build_syscolor_string): Use mswindows_color_to_string to try to
11645 (mswindows_device_system_metrics): Reverse the foreground and
11646 background colors so that they match the documentation.
11648 * objects-msw.c: (mswindows_X_color_map): tweak some values so
11649 they match the default Windows palette.
11650 (mswindows_color_to_string): New function.
11652 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11654 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
11656 2000-02-18 Olivier Galibert <galibert@pobox.com>
11658 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
11659 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
11661 * symbols.c (init_symbols_once_early): Removed obsolete
11662 DATA_SEG_BITS related kludge.
11663 (defvar_magic): Ditto.
11665 * malloc.c: Removed obsolete DATA_SEG_BITS
11667 * mem-limits.h: Ditto.
11669 * Makefile.in.in: Removed obsolete HAVE_SHM
11672 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11674 * device-msw.c (mswindows_delete_device): Free DDE string
11677 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11679 * keymap.c (get_keyelt):
11680 * unexnt.c (unexec):
11681 * vm-limit.c (memory_warnings):
11682 * ntheap.c (recreate_heap):
11683 * ntheap.h (UNINIT_PTR):
11684 * select-msw.c (Fmswindows_get_clipboard):
11685 (Fmswindows_set_clipboard):
11686 * objects-msw.h (MSWINDOWS_BAD_HFONT):
11688 * menubar-msw.c (displayable_menu_item):
11690 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
11691 * sysdep.c (sys_subshell):
11692 * process-nt.c (nt_create_process):
11693 * nt.c (normalize_filename):
11694 (dostounix_filename):
11695 (unixtodos_filename):
11696 * ntproc.c (win32_executable_type):
11697 * ntplay.c (play_sound_data_1):
11699 * editfns.c (get_home_directory):
11700 * event-msw.c (struct winsock_stream):
11701 (mswindows_dde_callback):
11702 * device-msw.c (msprinter_init_device):
11703 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
11705 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
11706 mswindows_clear_toolbar were swapped!
11708 * objects-msw.c:(colormap_t):
11710 * emacs.c (struct standard_args): Fixed const jumble.
11712 * glyphs-widget.c (update_widget): Fixed comparison notation.
11714 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
11716 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
11717 __declspec(noreturn) syntax.
11719 2000-02-19 Martin Buchholz <martin@xemacs.org>
11721 * eldap.c (Fldap_open):
11722 (Fldap_search_basic):
11725 Use new coding system conversion macros.
11727 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11729 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
11731 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
11733 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
11734 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11736 * eldap.c (Qadd, Qreplace): New constant symbols
11737 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
11738 interruptions by XEmacs signals
11739 Remove unnecessary calls to slow_down_interrupts and
11740 speed_up_interrupts
11741 (Fldap_search_basic): Renamed from Fldap_search_internal
11742 Added new optional parameter VERBOSE that triggers the
11743 display of progress messages
11744 Remove unnecessary calls to slow_down_interrupts and
11745 speed_up_interrupts
11746 LDAP result code analysis rewritten
11747 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11748 (syms_of_eldap): Define the new symbols and functions
11751 2000-02-17 Martin Buchholz <martin@xemacs.org>
11753 * realpath.c: Determine PATH_MAX maximally portably.
11755 * insdel.c (bytecount_to_charcount): Optimize.
11756 The function used to be optimized for entirely ASCII sequences.
11757 Now it is optimized for successive characters from the same
11758 charset. This also wins big for _mostly_ ASCII sequences.
11760 * fileio.c (Ffile_truename): convert return from realpath() using
11761 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
11762 - Rewrite GCPROing slightly.
11764 * sysdep.c (sys_open): Do filename conversion, like all other
11765 sys_* functions. Fixes bug:
11766 (let ((file-name-coding-system 'iso-8859-2))
11767 (write-region x y latin2-name))
11768 ==> writes filename using internal encoding.
11770 2000-02-18 Martin Buchholz <martin@xemacs.org>
11772 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
11773 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
11774 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
11775 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
11776 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
11777 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
11778 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
11779 (CONST_IF_NOT_DEBUG): Delete.
11780 * alloc.c (this_one_is_unmarkable): Delete.
11781 (mark_object): Don't check for this_one_is_unmarkable. Use the
11782 c_readonly flag instead.
11783 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
11785 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
11787 * event-msw.c (mswindows_drain_windows_queue):
11788 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
11789 away redundant repaint events.
11791 2000-02-17 Andy Piper <andy@xemacs.org>
11793 * redisplay.h: declare mark_redisplay_structs.
11795 * redisplay.c (redisplay_window):
11796 (redisplay_frame): don't check subwindows_state_changed.
11797 (mark_redisplay): mark gutters here.
11799 * glyphs.c: (instantiate_image_instantiator): always layout if we
11800 haven't done so already.
11801 (allocate_image_instance): don't mark as dirty.
11802 (update_subwindow): bind inhibit_quit.
11804 * gutter.c (mark_gutters): new function.
11806 * glyphs-x.c (x_update_widget): Always resize to get round a
11809 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
11810 breaking absolutely everything.
11812 * gutter.h: declare mark_gutters.
11814 2000-02-16 Martin Buchholz <martin@xemacs.org>
11816 * XEmacs 21.2.29 is released.
11818 2000-02-15 Olivier Galibert <galibert@pobox.com>
11820 * fns.c (size_bit_vector): Fix computation of the size.
11822 2000-02-15 Martin Buchholz <martin@xemacs.org>
11824 * *.[ch]: Change CONST to const globally.
11825 find -name '*.[ch]' | \
11826 xargs global-replace \
11827 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
11828 - Remove vestigial references to CONST_IS_LOSING
11830 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11832 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
11833 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
11834 events instead of dispatching them directly.
11835 (mswindows_handle_paint): New function to do repainting.
11836 (mswindows_wnd_proc):
11837 (emacs_mswindows_handle_magic_event): Call above function.
11839 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11841 * objects-msw.c (mswindows_create_font_variant): Return the new
11843 (initialize_font_instance): Get font metrics from the underlined
11844 variant of the font to cope with the case where the underlined
11845 font has a bigger descent.
11847 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11849 * gui.c (gui_item_accelerator): Return the first underlined
11850 character in item name.
11852 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11854 * lisp.h: Added Qprinter.
11856 * general.c (syms_of_general): Initialized it.
11858 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
11860 (get_frame_compdc): Made inline.
11862 * console.h (struct console_methods): Added eject_page method.
11864 * frame.h: Added FRAME_DISPLAY_P and friends.
11865 Aligned backslahes in many macros in more readable fashion.
11866 Added page_number to struct frame, and an accessor macro
11869 * defice.h: Added DEVICE_DISPLAY_P and friends.
11871 * device.c (Fdevice_printer_p): Used these.
11873 * frame.c (allocate_frame_core): Initialize page number.
11874 (Fprint_job_page_number):
11875 (Fprint_job_eject_page): Implemented.
11877 * frame-msw.c (msprinter_eject_page): Added method.
11878 (msprinter_start_page): Added.
11880 * window.c (Fwindow_truncated_p): Fixed docstring.
11881 (Fwindow_last_line_visible_height): Implemented.
11883 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11885 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
11887 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11889 * syntax.c (scan_words): Always advance at least one character.
11891 2000-02-13 Andy Piper <andy@xemacs.org>
11893 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
11894 to make sure the glyph is in the cachels.
11896 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
11897 global image instance flag.
11898 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
11899 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
11901 * glyphs.c (allocate_image_instance): set dirty bits correctly.
11902 (Fset_image_instance_property): mark layout as changed.
11903 (invalidate_glyph_geometry_maybe): mark layout as changed.
11904 (glyph_width): use new NEEDS_LAYOUT macro.
11905 (glyph_ascent): ditto.
11906 (glyph_descent): ditto.
11907 (glyph_height): ditto.
11908 (image_instance_layout): mark layout as clean after laying out.
11909 (update_subwindow): don't mark layout as clean here.
11911 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
11912 should no longer be needed.
11914 * glyphs-x.c (x_update_widget): sanitize asserts.
11915 (x_finalize_image_instance): sanitize assignment to widgets.
11917 * glyphs-widget.c (widget_instantiate): don't need to clear the
11920 2000-02-13 Martin Buchholz <martin@xemacs.org>
11922 * sysdep.c (getcwd): Use standard prototype.
11923 * sysdep.h (getcwd): Use standard prototype.
11925 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
11926 (sequence, start, end).
11927 Remove redundant type checking.
11928 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
11929 view of `caller-protects') to avoid a crash where the real fix was
11932 2000-02-12 Martin Buchholz <martin@xemacs.org>
11934 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
11936 * s/sol2.h: Remove feature macro initialization.
11938 * alloc.c (alloc_lcrecord): Add more type checking assertions.
11939 (vector_hash): New. Code from internal_hash.
11941 Fix up allocation subsystem comments.
11943 * config.h.in: Add __EXTENSIONS__ for Solaris.
11945 * systime.h (EMACS_GETTIMEOFDAY): New.
11946 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
11947 Remove Solaris-specific code.
11948 Use void* for the (ignored) second arg for gettimeofday().
11950 * elhash.c (hash_table_hash): Implement it, finally.
11951 * elhash.c: Use hashcode_t.
11953 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
11954 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
11956 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
11957 * fns.c (size_bit_vector):
11958 * alloc.c (size_vector):
11959 (make_vector_internal):
11960 (make_bit_vector_internal):
11961 (sweep_bit_vectors_1):
11962 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
11964 2000-02-10 Martin Buchholz <martin@xemacs.org>
11966 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
11967 Include strings.h to avoid warnings for bzero and strcasecmp.
11969 2000-02-10 Olivier Galibert <galibert@pobox.com>
11971 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
11972 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
11974 * fns.c (size_bit_vector): New. Declare bit vectors as a
11977 2000-02-10 Olivier Galibert <galibert@pobox.com>
11979 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
11980 use a value field instead.
11981 (symbol_value_forward_forward): Use value field.
11982 (DEFVAR_SYMVAL_FWD): Use value field.
11983 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
11984 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
11985 (DEFVAR_CONST_INT): Ditto.
11986 (DEFVAR_BOOL): Ditto.
11987 (DEFVAR_CONST_BOOL): Ditto.
11988 (DEFVAR_INT_MAGIC): Ditto.
11989 (DEFVAR_BOOL_MAGIC): Ditto.
11991 * symbols.c (guts_of_unbound_marker): Use value field.
11992 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
11993 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
11995 * lisp.h: Declare dumpopaque and noninteractive1.
11997 * alloc.c (dumpopaque): Added.
11998 (pdump_dump_opaquevec): Added.
11999 (pdump): Call pdump_dump_opaquevec to dump opaque data.
12000 (pdump_load): Reload opaque data. Sync noninteractive1 with
12003 2000-02-10 Andy Piper <andy@xemacs.org>
12005 * glyphs.c (image_instance_layout): if the size changes, mark it
12008 * redisplay-output.c (redisplay_output_layout): Update the
12010 (redisplay_output_subwindow): ditto.
12012 * glyphs.c (update_subwindow): make sure we reset flags for
12013 layouts as well as everything else.
12015 * glyphs-widget.c (layout_layout): don't need to set the instances
12018 2000-02-09 Martin Buchholz <martin@xemacs.org>
12020 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
12021 not HAVE_DLOPEN, which is a lower-level thing.
12023 * .cvsignore: Ignore gmon.out
12025 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
12027 * .cvsignore: Ignore portable dumper xemacs.dmp file
12029 2000-02-09 Andy Piper <andy@xemacs.org>
12031 * redisplay-output.c (redisplay_output_layout): be more clever
12032 about when we output based on the changed flags.
12034 * glyphs.h (struct image_instantiator_methods): add update_method.
12035 (struct Lisp_Image_Instance): add changed flags. Declare new
12036 macros for manipulating them.
12038 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
12039 (image_instance_parent_glyph): find an image_instance's parent
12040 glyph or image_instance.
12041 (image_instance_layout): mark the size as changed.
12042 (set_image_instance_dirty_p): new function. mark an image
12043 instance, plus all of its parents, as dirty.
12044 (Fset_image_instance_property): use it.
12045 (Fglyph_animated_timeout_handler): use it.
12046 (update_subwindow): call update_widget and device methods for
12047 update_subwindow. Mark all changed flags as clean.
12048 (Fresize_subwindow): mark size as changed.
12050 * glyphs-x.c (x_finalize_image_instance): try and detect gc
12052 (x_update_subwindow): only resize subwindows here.
12053 (x_update_widget): new function. Update all changed properties of
12055 (x_resize_subwindow): deleted.
12056 (x_widget_set_property): deleted.
12057 (x_progress_gauge_set_property): deleted.
12058 (x_progress_gauge_update): new function. Implement recorded
12060 (x_tab_control_update): ditto.
12061 (x_tab_control_set_property): deleted.
12062 (console_type_create_glyphs_x): declare new functions.
12063 (image_instantiator_format_create_glyphs_x): ditto.
12065 * glyphs-widget.c (widget_set_property): mark text changed.
12066 (update_widget): new function. Update properties of a widget.
12067 (widget_instantiate): for layouts make sure we set their
12068 children's parent correctly.
12069 (tab_control_set_property): new function. Record changes that will
12070 take place under redisplay's control.
12071 (progress_gauge_set_property): ditto.
12072 (image_instantiator_progress_guage): declare new functions.
12073 (image_instantiator_tab_control): ditto.
12075 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
12077 (mswindows_update_widget): new function. Update all properties on
12078 a widget that have changed.
12079 (mswindows_button_update): new function. Update a button's set
12081 (mswindows_tab_control_update): new function. Update the items in
12083 (mswindows_tab_control_set_property): deleted.
12084 (mswindows_progress_gauge_update): new function. Update the
12085 progress gauge's progress.
12086 (mswindows_widget_set_property): deleted. This is all done
12087 asynchronously now.
12088 (mswindows_progress_gauge_set_property): ditto.
12089 (console_type_create_glyphs_mswindows): declare new methods.
12090 (image_instantiator_format_create_glyphs_mswindows): ditto.
12092 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
12093 (msprinter_set_frame_properties): ditto.
12095 * console.h (struct console_methods): Add update_widget_method.
12097 2000-02-09 Andy Piper <andy@xemacs.org>
12099 * gui-msw.c (Fmswindows_shell_execute): Make
12100 mswindows-shell-execute industrial strength.
12102 2000-02-08 Martin Buchholz <martin@xemacs.org>
12104 * lrecord.h: Make macro argument `props' match member function `plist'.
12107 * fns.c (Fremprop):
12108 * fns.c (Fobject_plist):
12111 Object property list frobbing cleanup.
12112 - Allow any lisp object (compared with `eq'), not just symbols, as
12113 keys in object plists.
12114 - Move symbol plist frobbing into symbols.c, where it belongs.
12115 - Move string plist frobbing into alloc.c, where it belongs.
12116 - Everything's an lrecord now, so no need to test for symbolp, etc.
12117 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
12119 * extents.c: Reorder code to remove declarations.
12121 * frame.h (store_in_alist): Remove useless declaration.
12123 2000-02-07 Martin Buchholz <martin@xemacs.org>
12125 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
12126 * config.h.in: Add HAVE_XCONVERTCASE.
12128 2000-02-07 Andy Piper <andy@xemacs.org>
12130 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
12131 it breaks many things.
12133 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
12135 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
12136 actually can start a common comment type.
12137 * src/syntax.h (SYNTAX_END_P): ditto for end.
12139 2000-02-07 Martin Buchholz <martin@xemacs.org>
12141 * XEmacs 21.2.28 is released.
12143 2000-02-06 Martin Buchholz <martin@xemacs.org>
12145 * event-Xt.c (x_keysym_to_character): New.
12146 (maybe_define_x_key_as_self_inserting_character): New.
12147 (x_has_keysym): New.
12148 Auto-define all keys on the keyboard as self-insert-key.
12150 2000-02-02 Martin Buchholz <martin@xemacs.org>
12152 * menubar.c (vars_of_menubar): A small code simplification.
12154 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
12157 * ExternalClient.c:
12158 * EmacsShell-sub.c:
12161 Use consistent style for specifying X resources.
12163 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
12164 This makes (dontusethis-set-symbol-value-handler) actually usable.
12166 * lrecord.h (lrecord_decription_type):
12167 * alloc.c (pdump_register_sub):
12170 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
12171 Comply with XEmacs coding style.
12172 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
12173 args, and XD_LISP_OBJECT_ARRAY with 3 args.
12175 * keymap.c (Faccessible_keymaps):
12176 Make (accessible-keymaps map "\C-h") do the Right Thing.
12177 Make (accessible-keymaps map []) do the Right Thing.
12178 Make (accessible-keymaps map "") do the Right Thing.
12179 (check_keymap_definition_loop): New function.
12180 (keymap_store_internal): Keep luser from shooting self in foot,
12181 via (define-key ctl-x-4-map "p" global-map).
12182 Remove fullness slot from struct Lisp_Keymap, since hash tables
12184 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
12186 2000-01-30 Martin Buchholz <martin@xemacs.org>
12188 * redisplay.c (init_redisplay): Fix small memory leak.
12190 * elhash.c (pdump_reorganize_hash_table):
12191 Rename from reorganize_hash_table. Change prototype.
12192 Reuse the original memory for hentries. Save 100k.
12193 * alloc.c (PDUMP_READ): new macro.
12194 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
12195 * alloc.c: No need to #ifndef before #undef.
12197 * print.c: Allow debug_print() to print readably by modifying
12198 debug_print_readably. Use consistent variable names.
12200 * .dbxrc: Try to get things to work even if stopped in a function
12201 without source available by explicitly specifying source files.
12202 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12204 * unexnt.c (_start): Removed bogus code which caused loading heap
12205 from differrent executable file.
12206 Removed bogus assignment to _fmode, which caused inconsistencies.
12208 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12210 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
12211 Have spawnve encapsulation regard DONT_ENCAPSULATE.
12212 Do not preliminary `#define signal sigset'.
12214 * systime.h: Do not prototype environ on windows nt and cygwin,
12215 this conflicts with system header.
12217 * syssignal.h: Use correct define for WINDOWSNT
12219 * sysdep.h: Do not prototype environ on windows nt, this conflicts
12220 with system header.
12222 * sysdep.c (near start of file): Fixed commentary and rearranged
12223 ifdefs in readable order.
12224 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
12227 (end_of_data): Do not compile in if using PDUMP.
12229 * symsinit.h: Prototyped vars_of_nt().
12231 * ntproc.c (windows9x_p): Added, instead of os_subtype.
12232 (find_child_console): Use it.
12233 (sys_kill): Use it.
12235 * ntheap.h: Do not extern os_subtype.
12237 * ntheap.c (cache_system_info): Do not cache unneeded:
12238 nt_major_version, nt_minor_version and os_subtype.
12239 (recreate_heap): Do not compile in when PDUMPing.
12241 * nt.c (geteuid and friends): Use the new varibale
12242 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
12243 (init_user_info): Removed the above mentioned hackery.
12244 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
12245 stat has been fixed in the C runtime.
12246 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
12248 * file-coding.c (struct file_coding_dump): Do not define
12249 ucs_to_mule_table in the struct if not MULE.
12250 (struct struct lrecord_description fcd_description_1): Do not dump
12253 * emacs.c (main_1): Call vars_of_nt().
12254 (right before Fdump_emacs_data): Don't need lastfile if using both
12255 portabe dumper and system malloc.
12257 * alloc.c (Fmemory_limit): Conditionalized out.
12258 (pdump): Use OPEN_BINARY for the portable dump file.
12259 (pdump_load): Ditto.
12261 2000-02-02 Mike Alexander <mta@arbortext.com>
12263 * nt.c (convert_time): Set tm_isdst before calling mktime and
12264 avoid calling it at all if the compiler supports 64 bit integers.
12265 Also initialize utc_base_ft before using it.
12267 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
12269 * frame.c (change_frame_size_1): Take f->internal_border_width
12270 into consideration when calculating the width of the frame.
12272 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12274 * window.c (frame_min_height):
12275 (frame_size_valid_p):
12276 (frame_pixsize_valid_p): Added.
12277 (check_frame_size): Generalized.
12279 * window.h: Prototyped the above.
12282 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
12283 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
12284 Deleted Vwin32_* and Vbinary_process_* unused variables.
12286 * device-msw.c (msprinter_init_device): Do not get printer font
12287 list; Added DEVMODE functions.
12289 * frame-msw.c: Added lots of printer code.
12291 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
12294 * console-msw.h: Added more msprinter device private slots.
12296 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12298 * event-msw.c (key_needs_default_processing_p): Added.
12299 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
12301 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12303 * glyphs.c (image_instance_layout): Mark image instance as clean
12305 (glyph_dirty_p): Removed redundant function.
12306 (invalidate_glyph_geometry_maybe): Added.
12307 (update_glyph_cachel_data): Call it.
12309 * glyphs.h: Prototyped it.
12311 * redisplay.c (add_glyph_rune): Call it.
12312 (redisplay_window): Reset glyphs cachels when frame faces have
12313 changed, thus forcing recomputation of built-in border glyphs.
12315 2000-01-30 Martin Buchholz <martin@xemacs.org>
12317 * Makefile.in.in: Make portable dumper and purify play well together.
12318 Add imperfect, but better than nothing, support for pdump.
12319 Remove xemacs.dmp when temacs is re-generated.
12320 Don't ignore errors when dumping xemacs.
12322 * symbols.c (maybe_call_magic_handler): Remove one magic number.
12324 2000-01-28 Andy Piper <andy@xemacs.org>
12326 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
12327 (setup_normal_frame): ditto.
12328 (setup_frame_without_minibuffer): ditto.
12329 (setup_minibuffer_frame): ditto.
12330 (delete_frame_internal): ditto.
12331 (Fmake_frame_invisible): ditto.
12332 (Ficonify_frame): ditto.
12334 * window.h: change Fset_window_buffer signature.
12336 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
12337 (Fset_window_buffer): allow recording of buffer if the window is
12338 the selected window.
12339 (window_loop): Use new Fset_window signature.
12341 2000-01-23 Daniel Pittman <daniel@danann.net>
12343 * config.h.in: Added template for `HAVE_ATHENA_3D'
12345 2000-01-29 Andy Piper <andy@xemacs.org>
12347 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
12349 * gutter.c (output_gutter): Don't output if the window isn't live.
12351 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12353 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
12354 of 01/12/00: Moved SetFocus back here where it belongs.
12356 2000-01-23 Andy Piper <andy@xemacs.org>
12358 * s/cygwin32.h: declare printer things.
12360 2000-01-26 Andy Piper <andy@xemacs.org>
12362 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
12365 2000-01-24 Andy Piper <andy@xemacs.org>
12367 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
12368 (mswindows_button_instantiate): Make sure glyph is a pixmap.
12370 * glyphs-widget.c (widget_instantiate): Avoid shadows.
12372 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
12374 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
12376 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
12377 (mswindows_output_display_block): Avoid local shadows.
12379 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
12380 (mswindows_enqueue_mouse_button_event): ditto.
12381 (mswindows_handle_gui_wm_command): remove declaration.
12383 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
12386 * console-msw.h: Avoid shadows.
12387 (mswindows_get_toolbar_button_text):
12388 (emacs_mswindows_create_stream_pair):
12389 (emacs_mswindows_delete_stream_pair):
12390 (mswindows_handle_toolbar_wm_command): declare.
12392 * device-msw.c (build_syscolor_string): Avoid shadows.
12394 2000-01-23 Andy Piper <andy@xemacs.org>
12396 * glyphs-widget.c (widget_instantiate): reverse the items for
12397 layouts so that children are in the expected order.
12399 2000-01-28 Martin Buchholz <martin@xemacs.org>
12401 * ralloc.c: safe_bcopy ==> memmove
12402 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
12403 * s/msdos.h: Remove BCOPY macros.
12404 * insdel.c (gap_right): Remove BCOPY conditional code.
12405 * insdel.c (gap_left): Remove BCOPY conditional code.
12406 XEmacs demands a working ANSI C compiler - hence memmove.
12408 * regex.c (regex_compile): Remove accidental use of trigraphs.
12410 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12412 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
12415 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12417 * event-msw.c (mswindows_drain_windows_queue): Added the
12419 (mswindows_need_event): Commented the call to
12420 mswindows_drain_windows_queue().
12421 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
12424 * console-msw.h: Moved a few function prototypes here from
12427 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
12428 parameter from unsigned short to unsigned long.
12429 (Fmswindows_shell_execute): Added return value.
12431 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12433 * sysdep.c (init_system_name):
12434 process-unix.c (unix_canonicalized_host_name):
12435 Don't call freeaddrinfo() if getaddrinfo() fails.
12437 * process-unix.c (unix_open_unix_network_stream):
12438 Moved the code to get a port # into address loop.
12440 2000-01-27 Martin Buchholz <martin@xemacs.org>
12442 * buffer.c (reinit_vars_of_buffer):
12443 The right place to initialize conversion_in_dynarr and
12444 conversion_out_dynarr.
12446 * alloc.c (pdump): Use the real open() till sys_open() is functional.
12448 * process-unix.c (unix_canonicalize_host_name): Muleize.
12449 (unix_open_network_stream): Muleize.
12451 * buffer.h: Fix up prototypes for ralloc.c functions.
12453 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12454 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
12455 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
12456 instead of gethostbyname()
12457 * process-unix.c: In unix_canonicalize_host_name() and
12458 unix_open_network_stream(), add code to use getaddrinfo()
12459 instead of gethostbyname().
12461 2000-01-27 Daniel Pittman <daniel@danann.net>
12463 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
12464 libs when built with flat Athena.
12466 2000-01-27 Martin Buchholz <martin@xemacs.org>
12468 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
12469 Use coding standards for function prototypes.
12471 2000-01-25 Martin Buchholz <martin@xemacs.org>
12473 * dialog-msw.c (push_lisp_string_as_unicode):
12474 * doc.c (unparesseuxify_doc_string):
12475 * dired.c (Fuser_name_completion_1):
12476 * dired.c (Fuser_name_all_completions):
12477 * dired.c (free_user_cache):
12478 * dired.c (user_name_completion):
12479 * console-x.c (get_display_arg_connection):
12480 * minibuf.c (clear_echo_area_internal):
12481 * minibuf.c (echo_area_append):
12482 * eldap.c (Fldap_open):
12483 * eldap.c (Fldap_search_internal):
12484 * frame-x.c (x_set_frame_text_value):
12485 * frame-x.c (x_set_frame_properties):
12486 * frame-x.c (x_create_widgets):
12487 * redisplay-tty.c (term_get_fkeys_1):
12488 * objects-x.c (x_parse_nearest_color):
12489 * objects-x.c (x_valid_color_name_p):
12490 * objects-x.c (x_initialize_font_instance):
12491 * objects-x.c (x_list_fonts):
12492 * objects-x.c (x_find_charset_font):
12493 * tooltalk.c (Fadd_tooltalk_message_arg):
12494 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12495 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12496 * process-unix.c (unix_create_process):
12497 * ntproc.c (sys_spawnve):
12498 * sound.c (Fplay_sound_file):
12499 * sound.c (Fplay_sound):
12500 * buffer.c (init_initial_directory):
12501 * buffer.c (init_buffer):
12502 * editfns.c (init_editfns):
12503 * editfns.c (Ftemp_directory):
12504 * editfns.c (Fuser_full_name):
12505 * editfns.c (uncache_home_directory):
12506 * editfns.c (get_home_directory):
12507 * editfns.c (Fuser_home_directory):
12508 * editfns.c (Fformat_time_string):
12509 * editfns.c (Fcurrent_time_string):
12510 * gui-x.c (button_item_to_widget_value):
12511 * database.c (Fopen_database):
12512 * event-Xt.c (x_to_emacs_keysym):
12513 * event-Xt.c (x_event_to_emacs_event):
12514 * event-Xt.c (describe_event_window):
12515 * event-msw.c (mswindows_wnd_proc):
12516 * glyphs-eimage.c (jpeg_instantiate):
12517 * glyphs-eimage.c (gif_instantiate):
12518 * glyphs-eimage.c (png_instantiate):
12519 * glyphs-eimage.c (tiff_instantiate):
12520 * glyphs-x.c (xbm_instantiate_1):
12521 * glyphs-x.c (x_xbm_instantiate):
12522 * glyphs-x.c (x_xface_instantiate):
12523 * glyphs-x.c (autodetect_instantiate):
12524 * glyphs-x.c (cursor_font_instantiate):
12525 * glyphs-x.c (x_widget_instantiate):
12526 * glyphs-x.c (x_widget_set_property):
12527 * glyphs-x.c (x_widget_property):
12528 * glyphs-x.c (BUILD_GLYPH_INST):
12529 * print.c (write_string_to_stdio_stream):
12530 * print.c (output_string):
12531 * print.c (Falternate_debugging_output):
12532 * print.c (Fexternal_debugging_output):
12533 * glyphs-msw.c (extract_xpm_color_names):
12534 * glyphs-msw.c (mswindows_xpm_instantiate):
12535 * glyphs-msw.c (bmp_instantiate):
12536 * glyphs-msw.c (resource_name_to_resource):
12537 * glyphs-msw.c (mswindows_resource_instantiate):
12538 * glyphs-msw.c (xbm_instantiate_1):
12539 * glyphs-msw.c (mswindows_xbm_instantiate):
12540 * glyphs-msw.c (mswindows_xface_instantiate):
12541 * glyphs-msw.c (mswindows_widget_instantiate):
12542 * glyphs-msw.c (add_tree_item):
12543 * glyphs-msw.c (add_tab_item):
12544 * glyphs-msw.c (mswindows_combo_box_instantiate):
12545 * glyphs-msw.c (mswindows_widget_property):
12546 * glyphs-msw.c (mswindows_combo_box_property):
12547 * glyphs-msw.c (mswindows_widget_set_property):
12548 * console.c (stuff_buffered_input):
12549 * objects-msw.c (mswindows_initialize_color_instance):
12550 * objects-msw.c (mswindows_valid_color_name_p):
12551 * objects-msw.c (mswindows_list_fonts):
12552 * objects-msw.c (mswindows_font_instance_truename):
12553 * bytecode.c (optimize_compiled_function):
12554 * select-x.c (symbol_to_x_atom):
12555 * select-x.c (x_atom_to_symbol):
12556 * select-x.c (hack_motif_clipboard_selection):
12557 * select-x.c (selection_data_to_lisp_data):
12558 * select-x.c (lisp_data_to_selection_data):
12559 * select-x.c (Fx_get_cutbuffer_internal):
12560 * select-x.c (Fx_store_cutbuffer_internal):
12561 * buffer.h (TO_EXTERNAL_FORMAT): New function.
12562 * buffer.h (TO_INTERNAL_FORMAT): New function.
12563 * emacs.c (make_arg_list_1):
12564 * emacs.c (make_argc_argv):
12565 * emacs.c (main_1):
12566 * emacs.c (Fdump_emacs):
12567 * emacs.c (split_string_by_emchar_1):
12572 * device-x.c (x_init_device):
12573 * device-x.c (Fx_valid_keysym_name_p):
12574 * device-x.c (Fx_get_font_path):
12575 * device-x.c (Fx_set_font_path):
12576 * glyphs.c (bitmap_to_lisp_data):
12577 * glyphs.c (pixmap_to_lisp_data):
12578 * alloc.c (make_ext_string): Use coding system arguments. Update
12580 * alloc.c (build_string):
12581 * callproc.c (child_setup):
12582 * callproc.c (init_callproc):
12583 * fileio.c (lisp_strerror):
12584 * fileio.c (directory_file_name):
12585 * fileio.c (Fexpand_file_name):
12586 * fileio.c (Ffile_truename):
12587 * fileio.c (Fsysnetunam):
12588 * fileio.c (Fdo_auto_save):
12589 * sysdep.c (sys_readdir):
12590 * tests.c: New file. Allow adding C tests.
12591 Replace GET_* macros with a more comprehensible and flexible
12592 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
12594 Any coding system can be used to do format conversion.
12595 Eliminate enum external_data_format.
12596 Eliminate convert_to_external_format.
12597 Eliminate convert_to_internal_format.
12598 Make sure file-name, keyboard, terminal, and ctext are always
12599 defined as coding systems or aliases. Make
12600 file-name-coding-system, terminal-coding-system, and
12601 keyboard-coding-system magical variables that are equivalent to
12602 defining the corresponding coding system aliases.
12604 * file-coding.c (Fcoding_system_canonical_name_p): New function.
12605 * file-coding.c (Fcoding_system_alias_p): New function.
12606 * file-coding.c (Fcoding_system_aliasee): New function.
12607 * file-coding.c (append_suffix_to_symbol): New function.
12608 * file-coding.c (dangling_coding_system_alias_p): New function.
12609 * file-coding.c (Ffind_coding_system):
12610 * file-coding.c (Fcopy_coding_system):
12611 * file-coding.c (encode_coding_no_conversion):
12612 * file-coding.c (syms_of_file_coding):
12613 * file-coding.c (vars_of_file_coding):
12614 Rewrite coding system alias code.
12615 Allow nested aliases, like symbolic links.
12616 Allow redefinition of coding system aliases.
12617 Prevent existence of dangling coding system aliases.
12619 * dired.c (Fuser_name_completion_1):
12620 * dired.c (Fuser_name_all_completions):
12621 A crash would happen if user did QUIT in the middle of building
12622 user_name_cache. Remove redundant code in mainline and unwind_protect.
12625 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
12627 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
12628 an unsigned char *. Update all callers.
12630 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12632 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
12634 2000-01-25 Martin Buchholz <martin@xemacs.org>
12636 * elhash.c (hentry_description): Use more portable definition.
12637 (resize_hash_table): Initialize new hentries using
12638 xnew_array_and_zero, thereby simplifying the code.
12640 * mule-charset.c (make_charset): Make sure entire object is
12641 initialized, to avoid Purify warnings.
12643 * alloc.c (resize_string): Fix unlikely crash with big strings.
12645 2000-01-24 Martin Buchholz <martin@xemacs.org>
12647 * realpath.c (xrealpath):
12648 Don't call getwd().
12650 2000-01-25 Martin Buchholz <martin@xemacs.org>
12652 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
12654 1999-12-28 Max Matveev <max@melbourne.sgi.com>
12656 * unexelfsgi.c (unexec): Change the way we decide which segment
12657 should be extended.
12659 Assumption that .bss section should be outside the PT_LOADable
12660 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
12661 it's present) is inside the 'data' segment. This would fail the
12662 test which was used to find a segment to grow and cover new
12663 heap. Instead of this assumption, I created another one - on IRIX
12664 the segment to grow should start below .bss and it's address
12665 should extent above the end of .bss. Once this segment is
12666 identified, it's grown to accommodate the new heap and new
12667 zero-length .bss section is added at the end of .data2.
12669 2000-01-25 Martin Buchholz <martin@xemacs.org>
12671 * eval.c (Feval): Wrong number of arguments should use original
12672 function, not the indirect_function version of it.
12674 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12676 * glyphs-x.c (x_button_instantiate): Don't add image if
12677 it is not a pixmap.
12678 (x_locate_pixmap_file): Call Fexpand_file_name when file name
12681 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
12683 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
12685 (DEFVAR_INT_MAGIC): Ditto.
12686 (DEFVAR_BOOL_MAGIC): Ditto.
12687 * glyphs.h: Reindent backslash.
12689 2000-01-24 Martin Buchholz <martin@xemacs.org>
12691 * glyphs-widget.c (layout_query_geometry):
12692 (layout_layout): Use correct types for gheight, gwidth.
12694 2000-01-24 Martin Buchholz <martin@xemacs.org>
12696 * EmacsManager.c (QueryGeometry): Purified.
12698 2000-01-23 Martin Buchholz <martin@xemacs.org>
12700 * alloc.c (make_float): Make sure entire object is initialized, to
12701 avoid Purify warnings.
12702 (pdump_register_sub): Remove useless assignment.
12703 (pdump): Use xmalloc, not malloc.
12704 (pdump_load): Use xmalloc, not malloc.
12706 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12713 * sysdep.c: Removed redundant #include <windows.h>
12715 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12717 * frame.c (delete_frame_internal): Do not delete device when its
12718 implementation so declares.
12719 (delete_frame_internal): Set device selected frame to nil when
12720 last frame goes away.
12722 * device-msw.c (msprinter_device_system_metrics): Implemented.
12723 (mswindows_device_system_metrics): Added 'device-dpi property.
12725 * device.c: (Fdevice_printer_p): Added.
12726 Added 'offset-workspace device metric.
12728 * console.h (device_metrics): Declared DM_offset_workspace.
12730 2000-01-23 Martin Buchholz <martin@xemacs.org>
12732 * fileio.c (Ffile_truename): Remove pointless and confusing
12733 initialization of elen.
12735 * glyphs-widget.c: Compiler warning fixes.
12737 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
12739 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
12740 instead of a Lisp_Object as argument to make it consistent with
12741 the other LIVE_P macros.
12742 (CHECK_LIVE_PROCESS): New macro.
12744 * process.c: Declare Qprocess_live_p.
12745 (Fprocess_live_p): New function.
12746 (create_process): Use PROCESS_LIVE_P.
12747 (read_process_output): Ditto.
12748 (set_process_filter): Ditto.
12749 (Fdelete_process): Ditto.
12750 (kill_buffer_processes): Ditto
12751 (process_send_signal): Use CHECK_LIVE_PROCESS.
12752 (Fprocess_input_coding_system): Check whether process is still
12753 alive (fix PR#1061).
12754 (Fprocess_output_coding_system): Ditto.
12755 (Fprocess_coding_system): Ditto.
12756 (Fset_process_input_coding_system): Ditto.
12757 (Fset_process_output_coding_system): Ditto.
12759 2000-01-23 Andy Piper <andy@xemacs.org>
12761 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
12764 * glyphs.c (mark_image_instance): take into account changed
12765 image_instance format.
12766 (image_instance_equal): ditto.
12767 (image_instance_hash): ditto.
12769 * glyphs-widget.c (widget_instantiate): Incorporate layout
12770 instantiation here. Delay layout of the layout until later.
12771 (layout_instantiate): deleted.
12772 (layout_query_geometry): new function. get the geometry of a
12774 (layout_layout): layout a layout dynamically.
12775 (image_instantiator_widget): New function - splitting up
12776 image_instantiator_format_create_glyphs_widget for netwinder
12778 (image_instantiator_buttons):
12779 (image_instantiator_edit_fields):
12780 (image_instantiator_combo_box):
12781 (image_instantiator_scrollbar):
12782 (image_instantiator_progress_guage):
12783 (image_instantiator_tree_view):
12784 (image_instantiator_tab_control):
12785 (image_instantiator_labels):
12786 (image_instantiator_layout): ditto.
12787 (image_instantiator_format_create_glyphs_widget): Call preceding
12790 2000-01-22 Martin Buchholz <martin@xemacs.org>
12792 * process.c (Fset_process_coding_system):
12793 * device-x.c (Fx_keysym_hash_table):
12796 * lstream.c (Lstream_write): Return documented value, not 0.
12798 * fileio.c (directory_file_name):
12799 (Fsubstitute_in_file_name):
12800 (Fsubstitute_insert_file_contents_internal):
12801 (Fwrite_region_internal):
12806 Remove vestigial APOLLO-conditional code.
12808 2000-01-21 Martin Buchholz <martin@xemacs.org>
12810 * getpagesize.h: Add guard macros.
12811 * libsst.h: Add guard macros.
12812 * libst.h: Add guard macros.
12813 * line-number.h: Add guard macros.
12814 * ndir.h: Add guard macros.
12815 * sysfloat.h: Add guard macros.
12816 * sysfile.h: Add guard macros.
12817 * sysproc.h: Add guard macros.
12818 * syswait.h: Add guard macros.
12819 * xintrinsic.h: Add guard macros.
12820 * xintrinsicp.h: Add guard macros.
12821 * xmmanager.h: Add guard macros.
12822 * xmmanagerp.h: Add guard macros.
12823 * xmprimitive.h: Add guard macros.
12824 * xmu.h: Add guard macros.
12825 * gpmevent.h: Add copyright statement. Add guard macros.
12826 * miscplay.h: Add guard macros.
12827 * *.h: Use consistent C-standards-approved guard macro names.
12829 * opaque.c (make_opaque): Switch parameter order.
12830 * opaque.h (make_opaque): Switch parameter order.
12831 Update all callers.
12832 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
12834 * config.h.in (type_checking_assert): Added.
12835 (bufpos_checking_assert): Added.
12837 2000-01-21 Martin Buchholz <martin@xemacs.org>
12839 * alloc.c: Harmless pdump changes.
12841 - spell alignment correctly.
12842 * sysdep.c: Use countof()
12844 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12846 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
12847 initially_selected_for_input() console method, default to 0.
12848 (semi_canonicalize_console_connection): Try to delegate to
12849 canonicalize_console_connection if no such console method.
12850 (canonicalize_console_connection): Vice versa.
12851 (print_console): Do not print nil connection.
12853 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
12854 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
12855 (XDEVIMPF_FRAMELESS_OK): Added.
12856 (CONSOLE_INHERITS_METHOD): Added.
12858 * console-msw.c (mswindows_canonicalize_console_connection):
12860 (mswindows_canonicalize_device_connection): Added.
12862 * console-msw.h (struct msprinter_device): Added this struct and
12864 (mswindows_device): Made fontlist a lisp object.
12866 * device.c (semi_canonicalize_device_connection): Try to delegate
12867 to canonicalize_device_connection if no such console method.
12868 (canonicalize_device_connection): Vice versa.
12869 (print_device): Do not print nil connection.
12871 * device-msw.c (mswindows_init_device): Call InitCommonControls
12873 (mswindows_delete_device): Removed fontlist deallocation.
12874 (mswindows_mark_device): Added.
12876 * events.c (event_equal): Added abort() at unreached code.
12877 (event_hash): Ditto.
12879 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
12880 fallback tags of Windows devices.
12882 * general.c (syms_of_general): Initialized Qmsprinter.
12884 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
12885 of fallback tags of Windows devices.
12887 * lisp.h: Declared Qmsprinter.
12889 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
12891 (mswindows_list_fonts): Ditto.
12892 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
12893 that it can be used by both mswindows and msprinter devices.
12894 (initialize_font_instance): Added.
12895 (mswindows_initialize_font_instance): Use it.
12896 (msprinter_initialize_font_instance): Added.
12898 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
12899 and implementation flags check.
12900 (redisplay_without_hooks): Changed the call to the above.
12901 (Fredraw_device): Ditto.
12902 (Fredisplay_device): Ditto.
12904 * redisplay-msw.c (get_frame_dc): Implemented.
12905 (get_frame_compdc): Implemented.
12906 (many functions): Use the two functions above to get device
12907 contexts, ether for a window or a printer.
12909 2000-01-21 Olivier Galibert <galibert@pobox.com>
12911 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
12912 initialization here.
12913 (init_symbols_once_early): Call it.
12914 * emacs.c (main_1): Call it.
12915 * symsinit.h: Declare it.
12917 2000-01-19 Olivier Galibert <galibert@pobox.com>
12919 * alloc.c: Use a lrecord_header * in the backtrace instead of a
12921 (pdump_backtrace): Ditto.
12922 (pdump_register_object): Ditto. Cleanup use of the pointers.
12923 (pdump_get_entry): Abort if trying to register a null pointer.
12924 (pdump_dump_data): Cleanup types when relocating.
12925 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
12926 (pdump_dump_rtables): Remove bad casts.
12927 (pdump_load): Cleanup relocation w.r.t union type. Use a
12928 Lisp_Object instead of a EMACS_INT for the hashtable
12931 2000-01-20 Martin Buchholz <martin@xemacs.org>
12933 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
12935 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
12937 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
12939 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
12941 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12943 * faces.h (FACE_STRIKETHRU_P): Added.
12945 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
12948 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
12949 (mswindows_set_dc_font): New function, aware of font variants,
12950 separated from mswindows_update_dc.
12952 * objects-msw.h (struct mswindows_font_instance_data): Added
12955 * objects-msw.c (mswindows_finalize_font_instance): Delete all
12956 cached fonts and the data structure.
12957 (mswindows_initialize_font_instance): Added creation of font data
12959 (mswindows_print_font_instance): Print at least something.
12960 (mswindows_create_font_variant): Implemented.
12961 (mswindows_get_hfont): Implemented.
12963 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
12965 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
12966 prototyping problem with msvc.
12968 * emacs.c (main_1): added syms_of_gui_mswindows() call
12970 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
12971 syms_of_gui_mswindows() function
12973 * symsinit.h: added the prototype for syms_of_gui_mswindows()
12975 2000-01-18 Martin Buchholz <martin@xemacs.org>
12977 * XEmacs 21.2.27 is released.
12979 2000-01-18 Martin Buchholz <martin@xemacs.org>
12981 * glyphs-eimage.c (struct tiff_error_struct):
12983 (tiff_warning_func):
12984 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
12989 * unexec.c: Remove vestigial Lucid C code.
12993 * libsst.c: Ansify.
12994 Remove declarations of errno and strerror().
12996 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
12998 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
13000 2000-01-16 Martin Buchholz <martin@xemacs.org>
13002 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
13005 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13010 Change enum eol_type to eol_type_t.
13012 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13014 * gui.c (get_gui_callback): Check cons before accessing car.
13016 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13018 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
13019 (XSETSPECIFIER_TYPE): Ditto.
13021 2000-01-17 Didier Verna <didier@xemacs.org>
13023 * redisplay.c (generate_fstring_runes): compute string size in
13024 characters, not bytes.
13026 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
13028 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
13030 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
13032 * print.c (print_error_message): Call print_prepare().
13034 2000-01-14 Martin Buchholz <martin@xemacs.org>
13036 * .dbxrc: Renamed from dbxrc.
13038 * events.c (event_to_character):
13039 Use `assert (foo)' instead of `if (!foo) abort()'
13041 * .gdbinit (xtype): Add documentation.
13042 * .gdbinit (check-temacs): New function.
13043 * .gdbinit (check-xemacs): New function.
13044 * dbxrc (check-xemacs): New function.
13045 * dbxrc (check-xemacs): New function.
13047 2000-01-14 Andy Piper <andy@xemacs.org>
13049 * glyphs-widget.c (widget_query_geometry): Make sure that we
13050 calculate default dimensions correctly.
13052 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13054 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
13056 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
13057 pdump_wire'd variable.
13059 * emacs.c: (main_1): Conditionalized calls to
13060 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
13062 2000-01-13 Martin Buchholz <martin@xemacs.org>
13064 * window.c (Fset_window_configuration):
13065 * sysdep.c (_start):
13066 * input-method-motif.c (res):
13067 * event-Xt.c (Xt_process_to_emacs_event):
13068 Simple compiler warning fixes.
13070 * bytecode.c (funcall_compiled_function): Use the original
13071 function symbol on the backtrace list in preference to the
13072 compiled_function object in error messages.
13074 2000-01-13 Andy Piper <andy@xemacs.org>
13076 * glyphs-x.c (update_widget_face): Make sure we update the widget
13077 background as well as foreground.
13079 2000-01-13 Andy Piper <andy@xemacs.org>
13081 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
13082 fields to subwindow.
13083 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
13084 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
13085 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
13086 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
13088 * glyphs-widget.c (check_valid_tab_orientation): new function.
13089 (initialize_widget_image_instance): zero orientation and
13091 (widget_instantiate): pick up orientation.
13092 (tab_control_query_geometry): return appropriate values for
13095 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
13096 appropriate creation flags for left, right and bottom tabs.
13098 * s/cygwin32.h: add tab definitions.
13100 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13102 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
13103 frame upon hiding a subwindow.
13104 (mswindows_button_instantiate): Changed the push button style to
13106 (mswindows_button_instantiate): Removed button BS_NOTIFY
13108 (mswindows_button_instantiate): Removed redundant check for
13109 a disabled gui item.
13110 (mswindows_button_instantiate): Made use of WS_TABSTOP
13111 consistent: "operable" controls (edit, button, tree, scroll) have
13112 this style, "display-only" ones (static, progress gauge) do
13113 not. This style is currently ignored by XEmacs though. Also,
13114 removed the WS_EX_CONTROLPARENT style - it is not for children,
13115 it is for their parents!
13116 (mswindows_edit_field_instantiate): Ditto.
13117 (mswindows_progress_gauge_instantiate): Ditto.
13118 (mswindows_tree_view_instantiate): Ditto.
13119 (mswindows_tab_control_instantiate): Ditto.
13120 (mswindows_scrollbar_instantiate): Ditto.
13121 (mswindows_combo_box_instantiate): Ditto.
13122 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
13123 style to the "clip" window.
13124 (mswindows_button_instantiate): Removed compilation warning by
13125 equally typing terms of the ?: operator.
13127 2000-01-12 Didier Verna <didier@xemacs.org>
13129 * redisplay.c (generate_fstring_runes): new parameter holding the
13130 last modeline-format extent.
13131 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
13132 extent, fill the glyph block with it.
13133 (generate_fstring_runes): handle these parameters.
13134 (generate_formatted_string_db): ditto.
13136 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
13137 glyphs'extents in the modeline.
13139 1999-01-11 Mike Woolley <mike@bulsara.com>
13141 * ntheap.c: Reduced the reserved heap space from 1Gb down to
13142 256Mb, as a workaround for the non-starting problem many people
13145 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13147 * console-tty.c (Fset_console_tty_output_coding_system):
13148 Force redrawing tty frame.
13150 2000-01-10 Didier Verna <didier@xemacs.org>
13152 * redisplay.c (generate_fstring_runes): fix size computation bug.
13154 2000-01-09 William M. Perry <wmperry@aventail.com>
13156 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
13158 2000-01-09 Andy Piper <andy@xemacs.org>
13160 * glyphs-msw.c: index -> i to avoid shadows.
13161 (xbm_create_bitmap_from_data): make static.
13162 (check_valid_string_or_int): deleted.
13163 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
13165 * glyphs-x.c (x_update_subwindow): remove unused args.
13167 * glyphs.c (glyph_image_instance): return the thing. Don't set the
13168 back pointer - this is done in allocate_image_instance.
13169 (query_string_font): return Qnil to make the compiler happy.
13170 (unmap_subwindow): set to ~0 to make the compiler happy.
13171 (glyph_query_geometry): comment out until used.
13172 (glyph_layout): ditto.
13174 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
13176 * insdel.c (signal_after_change): Remove extraneous unbind_to().