1 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
3 * mule-charset.c (Qmap_jis_x0212): Renamed from
5 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
7 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
10 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
12 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
14 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
15 of `japanese-jisx0208'.
16 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
19 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
21 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
22 `Qjapanese_jisx0208_1978'.
23 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
24 of `japanese-jisx0208-1978'.
25 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
28 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
30 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
31 only for XEmacs CHISE.
33 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
35 * char-ucs.h: Compact non-ISO-IR charset-ids.
36 (LEADING_BYTE_UCS): Changed to -177.
37 (LEADING_BYTE_CONTROL_1): Changed to -77.
38 (LEADING_BYTE_UCS_BMP): Changed to -176.
39 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
41 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
43 * mule-charset.c (Qiso_ir): New variable.
44 (Fmake_charset): Recognise new property `iso-ir'.
45 (syms_of_mule_charset): Add new symbol `iso-ir'.
47 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
49 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
50 n to -n; charset-id of non ISO-IR sets are changed to positive
53 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
55 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
57 (Qmap_ucs): New variable.
58 (syms_of_mule_charset): Add new symbol `=ucs'.
59 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
61 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
63 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
65 * char-ucs.h (Qmap_ucs): New extern variable.
67 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
69 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
70 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
71 don't define it when UTF2000 is not defined.
72 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
73 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
74 when UTF2000 is not defined.
75 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
76 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
78 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
80 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
82 * mule-charset.c (Vcharset_ucs_gb): Deleted.
84 (syms_of_mule_charset): Delete `ucs-gb'.
85 (complex_vars_of_mule_charset): Likewise.
87 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
89 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
91 * mule-charset.c (Vcharset_ucs_cns): Deleted.
93 (syms_of_mule_charset): Delete `ucs-cns'.
94 (complex_vars_of_mule_charset): Likewise.
96 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
98 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
100 * mule-charset.c (Vcharset_ucs_jis): Deleted.
102 (syms_of_mule_charset): Delete `ucs-jis'.
103 (complex_vars_of_mule_charset): Likewise.
105 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
107 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
109 * mule-charset.c (Vcharset_ucs_ks): Deleted.
111 (syms_of_mule_charset): Delete `ucs-ks'.
112 (complex_vars_of_mule_charset): Likewise.
114 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
116 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
117 (Qideograph_daikanwa_2): Deleted.
118 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
119 (complex_vars_of_mule_charset): Likewise.
121 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
122 (LEADING_BYTE_DAIKANWA_1): Deleted.
123 (LEADING_BYTE_DAIKANWA_2): Deleted.
124 (MIN_CHAR_DAIKANWA): Deleted.
125 (MAX_CHAR_DAIKANWA): Deleted.
127 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
129 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
130 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
131 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
133 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
134 (Vcharset_ideograph_daikanwa): Deleted.
135 (Qideograph_hanziku_{1..12}): Deleted.
136 (Qideograph_daikanwa): Deleted.
137 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
138 Vcharset_ideograph_daikanwa.
139 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
140 `ideograph-hanziku-{1..12}'.
141 (complex_vars_of_mule_charset): Likewise.
143 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
145 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
147 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
148 (Qideograph_gt_pj_{1..11}): Deleted.
149 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
150 (complex_vars_of_mule_charset): Likewise.
152 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
154 * mule-charset.c (Vcharset_ucs_big5): Deleted.
155 (Vcharset_ideograph_gt): Deleted.
156 (Qucs_big5): Deleted.
157 (Qideograph_gt): Deleted.
158 (syms_of_mule_charset): Delete symbol `ucs-big5' and
160 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
163 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
164 (LEADING_BYTE_GT): Deleted.
165 (GC_CHARSETP): Deleted.
166 (MIN_CHAR_GT): Deleted.
167 (MAX_CHAR_GT): Deleted.
169 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
171 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
173 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
175 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
176 (Qideograph_cbeta): Deleted.
177 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
178 (complex_vars_of_mule_charset): Likewise.
180 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
181 (MIN_CHAR_CBETA): Comment out.
182 (MAX_CHAR_CBETA): Likewise.
184 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
186 * mule-charset.c (charset_lookup_description_1): Use
187 `NUM_LEADING_BYTES' in UTF-2000.
189 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
191 * mule-charset.c (Vcharset_china3_jef): Deleted.
192 (Qchina3_jef): Deleted.
193 (syms_of_mule_charset): Don't define `china3-jef'.
194 (complex_vars_of_mule_charset): Likewise.
196 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
197 (MIN_CHAR_CHINA3_JEF): Comment out.
198 (MAX_CHAR_CHINA3_JEF): Comment out.
200 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
202 * mule-charset.c (Vcharset_ucs_gb): New variable.
203 (Qucs_gb): New variable.
204 (syms_of_mule_charset): Add new symbol `ucs-gb'.
205 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
207 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
209 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
211 * mule-charset.c (charset_code_point): if a coded-charset has a
212 final-byte, don't inherit the builtin range of the mother CCS.
214 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
216 * mule-charset.c (charset_code_point): Fix problem about
219 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
221 * mule-charset.c (decode_builtin_char): Reorganized.
223 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
225 * text-coding.c (char_encode_shift_jis): Modify for
226 `charset_code_point'.
227 (char_encode_big5): Likewise.
228 (char_encode_utf8): Likewise.
229 (char_encode_iso2022): Likewise.
231 * mule-charset.c (charset_code_point): Add new argument
233 (Fencode_char): Add new optional argument `defined_only'.
235 * chartab.c (put_char_table): Modify for `charset_code_point'.
236 (map_char_table): Likewise.
238 * char-ucs.h (charset_code_point): Add new argument
240 (encode_char_1): Modify for `charset_code_point'.
242 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
244 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
245 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
247 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
249 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
250 (Qjis_x0208): Likewise.
251 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
252 XCHARSET_FINAL(charset).
253 (charset_code_point): Modify condition for final-byte based
255 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
256 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
257 in UTF-2000; specify `=jis-x0208' as the mother of
258 `japanese-jisx0208-1978', `japanese-jisx0208' and
259 `japanese-jisx0208-1990' in UTF-2000.
261 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
263 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
265 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
267 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
268 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
269 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
270 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
271 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
272 CONVERSION_96x96x96x96 are introduced.
273 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
274 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
275 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
277 * char-ucs.h (CONVERSION_94): New macro.
278 (CONVERSION_96): New macro.
279 (CONVERSION_94x94): New macro.
280 (CONVERSION_96x96): New macro.
281 (CONVERSION_94x94x94): New macro.
282 (CONVERSION_96x96x96): New macro.
283 (CONVERSION_94x94x94x60): New macro.
284 (CONVERSION_94x94x94x94): New macro.
285 (CONVERSION_96x96x96x96): New macro.
287 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
289 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
291 * fns.c (Qideographic_structure): New variable.
292 (Qkeyword_char): New variable.
293 (ids_format_unit): New function.
294 (Fideographic_structure_to_ids): New function.
295 (syms_of_fns): Add new symbols `ideographic-structure' and
296 `:char'; add new builtin function `ideographic-structure-to-ids'.
298 * data.c (Fchar_ref_p): New function.
299 (syms_of_data): Add new builtin function `char-ref-p'.
301 * chartab.h: Add an EXFUN for `Ffind_char'.
303 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
305 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
306 and `COMPOSE_ADD_CHAR'.
307 (decode_coding_iso2022): Use `decode_flush_er_chars'.
309 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
311 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
312 instead of `DECODE_ADD_UCS_CHAR'.
313 (COMPOSE_ADD_CHAR): Likewise.
315 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
317 * text-coding.c (decode_flush_er_chars): New inline function.
318 (decode_add_er_char): New function.
319 (decode_coding_utf8): Use `decode_flush_er_chars' and
320 `decode_add_er_char'.
322 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
324 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
325 done before `decode_output_utf8_partial_char'.
327 * mule-charset.c (complex_vars_of_mule_charset): Specify
328 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
329 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
331 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
333 * mule-charset.c (decode_defined_char): New function; search
335 (decode_builtin_char): Don't search mother if
336 XCHARSET_MAX_CODE(charset) == 0.
337 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
338 == 0 even if code >= XCHARSET_MAX_CODE(charset).
339 (Fdecode_char): Use `decode_defined_char' instead of
340 `DECODE_DEFINED_CHAR'.
341 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
342 mother of `Vcharset_ucs_jis'.
344 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
345 instead of `DECODE_DEFINED_CHAR'.
347 * char-ucs.h (decode_defined_char): Renamed from
348 `DECODE_DEFINED_CHAR'; changed to normal function.
349 (DECODE_CHAR): Use `decode_defined_char' instead of
350 `DECODE_DEFINED_CHAR'.
352 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
354 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
356 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
358 * text-coding.c (Vcoded_charset_entity_reference_alist): New
360 (Quse_entity_reference): New variable.
364 (coding_system_description): Add description for
366 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
367 (allocate_coding_system): Initialize `ccs_priority_list' in
369 (Fmake_coding_system): Add description about
370 'use-entity-reference; setup
371 CODING_SYSTEM_USE_ENTITY_REFERENCE(codesys).
372 (Fcoding_system_property): Accept `disable-composition' and
373 `use-entity-reference' in UTF-2000.
374 (struct decoding_stream): Add new member `er_counter' and `er_buf'
376 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
377 (decode_coding_utf8): Decode entity-reference if
378 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
379 (char_encode_utf8): Encode non-Unicode characters as
380 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
382 (syms_of_file_coding): Add new symbols `use-entity-reference',
384 (vars_of_file_coding): Add new variable
385 `coded-charset-entity-reference-alist'.
386 (complex_vars_of_file_coding): Declare `disable-composition' and
387 `use-entity-reference' to be coding-system-properties in UTF-2000.
389 * file-coding.h (struct Lisp_Coding_System): Add new member
390 `use_entity_reference' and `ccs_priority_list'.
391 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
392 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
393 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
395 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
397 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
399 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
401 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
402 `XCHARSET_GRAPHIC(ccs)'.
404 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
406 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
409 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
411 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
412 instead of `XCHARSET_CHARS'.
414 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
416 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
417 (XCHARSET_BYTE_SIZE): Likewise.
419 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
421 (XCHARSET_BYTE_SIZE): Likewise.
423 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
425 * char-ucs.h (decoding_table_check_elements): Delete prototype.
426 (get_ccs_octet_table): New inline function.
427 (put_ccs_octet_table): Likewise.
428 (decoding_table_put_char): Use `get_ccs_octet_table' and
429 `put_ccs_octet_table'.
430 (decoding_table_remove_char): Use `decoding_table_put_char'.
431 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
433 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
435 (make_charset): Use Qunbound instead Qnil as initial value of
438 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
440 * mule-charset.c (put_char_ccs_code_point): Modify for
441 `decoding_table_remove_char' and `decoding_table_put_char'.
442 (remove_char_ccs): Modify for `decoding_table_remove_char'.
444 * char-ucs.h (decoding_table_remove_char): Change arguments to
445 hide decoding_table vector.
446 (decoding_table_put_char): Likewise.
448 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
450 * mule-charset.c (decoding_table_remove_char): Moved to
452 (decoding_table_put_char): Likewise.
454 * char-ucs.h (decoding_table_check_elements): New prototype [moved
455 from mule-charset.c].
456 (decoding_table_remove_char): New inline function [moved from
458 (decoding_table_put_char): Likewise.
460 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
462 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
463 instead of `DECODE_CHAR' for mother; don't use special code for
464 chinese-big5 to use code space of chinese-big5-1 and
466 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
467 `MAX_CHAR_BIG5_CDP' for chinese-big5.
469 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
470 (MAX_CHAR_BIG5_CDP): Revival.
472 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
474 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
475 the XLFD registry-encoding name of `chinese-big5'.
477 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
479 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
480 (Qchinese_big5_cdp): Deleted.
481 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
482 (complex_vars_of_mule_charset): Delete coded-charset
485 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
486 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
487 `CHARSET_ID_OFFSET - n' for private CCS.
488 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
489 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
490 of `MIN_LEADING_BYTE'.
491 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
492 `(CHARSET_ID_OFFSET - 97)'.
493 (MIN_CHAR_BIG5_CDP): Deleted.
494 (MAX_CHAR_BIG5_CDP): Deleted.
496 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
498 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
501 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
503 * mule-charset.c (decode_builtin_char): Support mother charsets.
505 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
507 * mule-charset.c (Q94x94x60): New variable.
508 (charset_code_point): Support conversion `94x94x60'.
509 (Fmake_charset): Likewise.
510 (syms_of_mule_charset): Add new symbol `94x94x60'.
512 * char-ucs.h (CONVERSION_94x94x60): New macro.
514 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
516 * mule-charset.c (charset_code_point): Unify code about
519 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
521 * mule-charset.c (charset_code_point): Merge code about builtin
522 characters into code about mother charsets; don't use
523 `range_charset_code_point'.
524 (range_charset_code_point): Deleted.
526 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
528 * mule-charset.c (Qcode_offset): New variable.
529 (Fmake_charset): Use `XUINT' to get value of `min-code' and
530 `max-code'; accept new property `code-offset'.
531 (syms_of_mule_charset): Add new symbol `code-offset'.
533 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
535 * mule-charset.c (range_charset_code_point): Fixed.
537 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
539 * mule-charset.c (decode_builtin_char): Change semantics of
540 code-offset of coded-charset.
541 (charset_code_point): Likewise.
542 (range_charset_code_point): Likewise.
543 (complex_vars_of_mule_charset): Modify for the change.
545 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
547 * mule-charset.c (Fencode_char): Reverse arguments.
549 * mule-charset.c (charset_code_point): Fixed.
551 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
553 * mule-charset.c (Vcharset_mojikyo): Deleted.
554 (Vcharset_mojikyo_2022_1): Deleted.
555 (Vcharset_mojikyo_pj_{1..21}): Deleted.
556 (Qmin_code): New variable in UTF-2000.
557 (Qmax_code): Likewise.
559 (Qconversion): Likewise.
562 (Qmojikyo_2022_1): Deleted.
563 (Qmojikyo_pj_{1..22}): Deleted.
564 (mark_charset): Mark `cs->mother'.
565 (charset_description): Add description for `mother'.
566 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
567 new arguments `mother' and `conversion'; use
568 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
569 (charset_code_point): Moved from char-ucs.h; support `mother'
571 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
572 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
573 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
574 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
575 allow 2 as the value of `graphic' in UTF-2000; add new properties
576 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
577 require `final' in UTF-2000; modify for `make_charset'.
578 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
579 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
580 (Fcharset_property): Support `mother', `min-code' and `max-code'.
581 (Fencode_char): New function.
582 (syms_of_mule_charset): Add new builtin function `encode-char' in
583 UTF-2000; add new symbols `min-code', `max-code', `mother',
584 `conversion' and `94x60'; delete symbols `mojikyo',
585 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
586 (complex_vars_of_mule_charset): Modify for `make_charset' change;
587 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
588 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
590 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
591 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
593 * char-ucs.h (Vcharset_mojikyo): Deleted.
594 (Vcharset_mojikyo_2022_1): Deleted.
595 (LEADING_BYTE_MOJIKYO): Deleted.
596 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
597 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
598 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
599 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
600 add new member `mother'; add new member `conversion'.
601 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
602 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
603 (CHARSET_MOTHER): New macro.
604 (CHARSET_CONVERSION): New macro.
605 (CONVERSION_IDENTICAL): New macro.
606 (CONVERSION_94x60): New macro.
607 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
608 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
609 (XCHARSET_MOTHER): New macro.
610 (XCHARSET_CONVERSION): New macro.
611 (MIN_CHAR_MOJIKYO): Deleted.
612 (MAX_CHAR_MOJIKYO): Deleted.
613 (DECODE_MOJIKYO_2022): Deleted.
614 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
615 (charset_code_point): Changed to non-inline function.
616 (encode_char_1): Use `charset_code_point'.
617 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
619 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
621 * lread.c (read_compiled_function): Fix prototype.
622 (read_vector): Likewise.
624 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
626 * lrecord.h (struct lrecord_header): Delete `older'.
627 (set_lheader_implementation): Delete code for `older'.
628 (set_lheader_older_implementation): Deleted.
629 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
630 (OLDER_RECORD_P): Deleted.
631 (OLDER_RECORD_HEADER_P): Deleted.
632 (alloc_older_lcrecord): Deleted.
633 (alloc_older_lcrecord_type): Deleted.
635 * alloc.c (all_older_lcrecords): Deleted.
636 (alloc_older_lcrecord): Deleted.
637 (disksave_object_finalization_1): Delete code for older objects.
638 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
639 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
641 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
643 * mule-charset.c (decoding_table_put_char): Use `make_vector'
644 instead of `make_older_vector'.
645 (put_char_ccs_code_point): Likewise.
646 (mark_charset): Mark `cs->decoding_table'.
647 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
649 * lisp.h (make_older_vector): Deleted.
650 (make_vector_newer): Deleted.
652 * config.h.in (HAVE_GGC): Deleted.
654 * alloc.c (make_older_vector): Deleted.
655 (make_vector_newer_1): Deleted.
656 (make_vector_newer): Deleted.
658 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
660 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
661 (Qideograph_daikanwa_2): New variable.
662 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
663 (complex_vars_of_mule_charset): Add new coded-charset
664 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
665 `LEADING_BYTE_DAIKANWA'.
667 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
668 (LEADING_BYTE_DAIKANWA_1): New macro.
669 (LEADING_BYTE_DAIKANWA_2): New macro.
670 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
672 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
674 * mule-charset.c (complex_vars_of_mule_charset): Change
675 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
676 the second revised version.
678 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
680 * mule-charset.c (Vcharset_ucs_smp): New variable.
681 (Vcharset_ucs_sip): New variable.
682 (Qucs_smp): New variable.
683 (Qucs_sip): New variable.
684 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
685 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
686 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
687 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
688 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
689 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
691 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
692 (LEADING_BYTE_UCS_SIP): New macro.
693 (MIN_CHAR_SMP): New macro.
694 (MAX_CHAR_SMP): New macro.
695 (MIN_CHAR_SIP): New macro.
696 (MAX_CHAR_SIP): New macro.
698 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
700 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
703 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
705 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
706 value; don't store value into `encoding_table' of `Lisp_Charset'.
707 (mark_charset): `encoding_table' was deleted.
708 (charset_description): Likewise.
709 (make_charset): Likewise.
710 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
711 `put_char_ccs_code_point'.
713 * chartab.h (Fput_char_attribute): New EXFUN.
715 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
716 is unified with normal symbol space.
717 (Fget_char_attribute): Likewise.
718 (Fput_char_attribute): Likewise; behavior of
719 `put_char_ccs_code_point' is changed.
721 * char-ucs.h: Include "elhash.h".
722 (Vchar_attribute_hash_table): New external variable.
723 (struct Lisp_Charset): Delete `encoding_table'.
724 (CHARSET_ENCODING_TABLE): New implementation; refer
725 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
728 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
730 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
733 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
735 * text-coding.c (char_encode_big5): Prefer charset-g1 than
738 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
740 * chartab.c (uint8_byte_table_description): New constant.
741 (uint8-byte-table): Use `uint8_byte_table_description'.
742 (uint16_byte_table_description): New constant.
743 (uint16-byte-table): Use `uint16_byte_table_description'.
745 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
747 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
748 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
750 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
752 * mule-charset.c (Vcharset_ucs_ks): New variable.
753 (Qucs_ks): New variable.
754 (syms_of_mule_charset): Add new symbol `ucs-ks'.
755 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
757 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
759 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
761 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
762 (Fdecode_char): Likewise.
764 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
766 (Fdefine_char): Modify for Fdecode_char.
767 (Ffind_char): Likewise.
769 * mule-charset.c (Fdecode_char): Add new optional argument
771 (Fdecode_builtin_char): Modify for `Fdecode_char'.
773 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
775 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
776 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
777 (allocate_coding_system): Initialize initial-charsets of
778 CODESYS_BIG5 in XEmacs UTF-2000.
779 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
780 CODESYS_BIG5 in XEmacs UTF-2000.
781 (decode_coding_big5): Use initial-charset-g0 and -g1 of
782 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
784 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
786 (Qideograph_hanziku_{1 .. 12}): Likewise.
787 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
789 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
790 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
791 `ideograph-hanziku-{1 .. 12}'.
793 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
794 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
795 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
796 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
797 (DECODE_DEFINED_CHAR): New inline function.
798 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
800 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
802 * mule-charset.c (Vcharset_china3_jef): Renamed from
803 `Vcharset_japanese_jef_china3'.
804 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
805 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
806 `{MIN|MAX}_CHAR_JEF_CHINA3'..
807 (syms_of_mule_charset): Rename `china3-jef' from
808 `japanese-jef-china3'.
809 (complex_vars_of_mule_charset): Likewise; rename
810 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
812 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
813 `LEADING_BYTE_JEF_CHINA3'.
814 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
815 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
817 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
819 * mule-charset.c (encode_builtin_char_1): Comment out special code
820 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
822 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
823 (MAX_CHAR_MOJIKYO_0): Comment out.
824 (MIN_CHAR_CBETA): Changed to 0x00E20000.
825 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
826 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
827 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
829 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
831 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
832 (Qideograph_cbeta): New variable.
833 (encode_builtin_char_1): Comment out special code for
834 coded-charset `mojikyo' and `japanese-jef-china3'.
835 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
836 (complex_vars_of_mule_charset): Add new coded-charset
839 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
840 (MIN_CHAR_CBETA): New macro.
841 (MAX_CHAR_CBETA): New macro.
843 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
845 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
846 (LEADING_BYTE_JEF_CHINA3): New macro.
847 (MIN_CHAR_JEF_CHINA3): New macro.
848 (MAX_CHAR_JEF_CHINA3): Likewise.
849 (DECODE_CHAR): Fixed.
851 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
853 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
854 (Qjapanese_jef_china3): New variable.
855 (encode_builtin_char_1): Support `japanese-jef-china3'.
856 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
857 (complex_vars_of_mule_charset): Add new coded-charset
858 `japanese-jef-china3'.
860 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
862 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
863 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
864 94^4, 96^3, 96^4, 128^n and 256^n set.
865 (put_char_table): Use `XCHARSET_CELL_RANGE'.
866 (map_char_table): Likewise.
868 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
870 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
873 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
875 * chartab.h (get_char_id_table): New inline function.
877 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
880 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
882 * chartab.h (decode_char_table_range): New prototype in XEmacs
884 (put_char_id_table): New inline function in XEmacs UTF-2000.
886 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
888 (decode_char_table_range): Delete static declaration in XEmacs
891 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
893 * chartab.c (put_char_id_table): Use `put_char_table'.
895 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
897 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
898 (map_over_uint16_byte_table): Likewise.
899 (map_over_byte_table): Likewise.
900 (map_char_table): Modify for `map_over_uint8_byte_table',
901 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
904 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
906 * chartab.c (struct map_char_table_for_charset_arg): New
908 (map_char_table_for_charset_fun): New function.
909 (map_char_table): Use `map_char_table' for encoding_table of
912 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
914 * chartab.c (map_char_table): Check a character is found in
915 range->charset instead of non default value is defined in
916 char-table when range is CHARTAB_RANGE_ROW.
918 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
920 * chartab.c (map_char_id_table): Deleted.
921 (Fmap_char_attribute): Use `map_char_table' instead of
924 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
926 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
928 (update_syntax_table): Deleted in XEmacs UTF-2000.
930 * syntax.c (find_defun_start): Use `syntax_table' instead of
931 `mirror_syntax_table' in XEmacs UTF-2000.
932 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
934 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
936 (Fmatching_paren): Likewise.
937 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
939 (find_start_of_comment): Likewise.
940 (find_end_of_comment): Likewise.
941 (Fforward_comment): Likewise.
942 (scan_lists): Likewise.
943 (char_quoted): Likewise.
944 (Fbackward_prefix_chars): Likewise.
945 (scan_sexps_forward): Likewise.
946 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
947 (update_syntax_table): Likewise.
949 * search.c (skip_chars): Use `syntax_table' instead of
950 `mirror_syntax_table' in XEmacs UTF-2000.
952 (Freplace_match): Likewise.
954 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
955 `mirror_syntax_table' in XEmacs UTF-2000.
956 (WORDCHAR_P_UNSAFE): Likewise.
957 (re_match_2_internal): Likewise.
959 * font-lock.c (find_context): Use `buf->syntax_table' instead of
960 `buf->mirror_syntax_table' in XEmacs UTF-2000.
962 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
963 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
965 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
968 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
970 (print_char_table): Print `default_value' in XEmacs UTF-2000.
971 (char_table_description): Delete `mirror_table' in XEmacs
973 (fill_char_table): Don't call `update_syntax_table' in XEmacs
975 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
976 (Fcopy_char_table): Likewise.
977 (put_char_table): Don't call `update_syntax_table' in XEmacs
980 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
981 `buf->mirror_syntax_table' in XEmacs UTF-2000.
982 (casify_region_internal): Likewise.
984 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
986 * buffer.c (common_init_complex_vars_of_buffer): Don't use
987 `mirror_syntax_table' in XEmacs UTF-2000.
989 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
990 `buf->mirror_syntax_table' in XEmacs UTF-2000.
991 (Fexpand_abbrev): Likewise.
993 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
995 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
997 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
999 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
1000 (map_over_uint16_byte_table): Likewise.
1001 (map_over_byte_table): Likewise.
1002 (get_char_id_table): Refer `cit->default_value'.
1003 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1004 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
1005 of character-id ranges.
1006 (mark_char_table): Mark `ct->default_value'.
1007 (char_table_description): Add `default_value'.
1008 (fill_char_table): Use `default_value'.
1009 (decode_char_table_range): Decode `nil' as
1010 `CHARTAB_RANGE_DEFAULT'.
1011 (get_char_id_table): Refer `cit->default_value'.
1012 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1013 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
1014 temporary hack; check value of char-table is bound or not.
1015 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
1017 * chartab.h (struct Lisp_Char_Table): Add new member
1018 `default_value' in XEmacs UTF-2000.
1019 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
1020 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
1023 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1025 * chartab.h (Lisp_Char_ID_Table): Deleted.
1027 * chartab.c (char_table_description): Fix typo.
1028 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
1029 `Lisp_Char_ID_Table'.
1031 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1033 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
1036 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
1039 * chartab.h (XCHAR_ID_TABLE): Deleted.
1040 (XSETCHAR_ID_TABLE): Deleted.
1041 (CHAR_ID_TABLE_P): Deleted.
1043 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
1045 (Fget_composite_char): Likewise.
1046 (put_char_table): Likewise.
1047 (add_char_attribute_alist_mapper): Fixed.
1048 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
1050 (Fget_char_attribute): Likewise.
1051 (Fget_char_attribute): Likewise.
1052 (Fmap_char_attribute): Likewise.
1054 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
1056 (encode_char_1): Likewise.
1058 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1060 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
1063 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
1064 instead of `XCHAR_ID_TABLE'.
1065 (remove_char_ccs): Likewise.
1067 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
1069 (Fget_composite_char): Likewise.
1070 (Fchar_variants): Likewise.
1071 (put_char_table): Likewise.
1072 (add_char_attribute_alist_mapper): Likewise.
1073 (Fchar_attribute_alist): Likewise.
1074 (Fget_char_attribute): Likewise.
1075 (Fput_char_attribute): Likewise.
1076 (Fmap_char_attribute): Likewise.
1077 (Fmap_char_attribute): Likewise.
1079 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
1081 (encode_char_1): Likewise.
1083 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1085 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
1086 `Lisp_Char_ID_Table'.
1087 (mark_char_id_table): Deleted.
1088 (print_char_id_table): Likewise.
1089 (char_id_table_equal): Likewise.
1090 (char_id_table_hash): Likewise.
1091 (char_id_table_description): Likewise.
1092 (char_id_table): Likewise.
1093 (make_char_id_table): Use `Fmake_char_table' and
1095 (get_char_id_table): Use `Lisp_Char_Table' instead of
1096 `Lisp_Char_ID_Table'.
1097 (put_char_id_table): Likewise.
1098 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
1100 (Fremove_char_attribute): Likewise.
1101 (syms_of_chartab): Don't define type `char-id-table'.
1103 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
1104 (char_id_table): Likewise.
1105 (GC_CHAR_ID_TABLE_P): Likewise.
1106 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
1107 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
1108 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
1109 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
1110 (get_char_id_table): Use `Lisp_Char_Table' instead of
1111 `Lisp_Char_ID_Table'.
1112 (put_char_id_table_0): Likewise.
1113 (put_char_id_table): Likewise.
1115 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1117 * chartab.h: Lisp_Byte_Table related codes are moved from
1120 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
1122 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1124 * chartab.h: Don't include "chartab.h".
1125 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
1126 (Lisp_Char_ID_Table): Likewise.
1127 (char_id_table): Likewise.
1128 (XCHAR_ID_TABLE): Likewise.
1129 (XSETCHAR_ID_TABLE): Likewise.
1130 (CHAR_ID_TABLE_P): Likewise.
1131 (GC_CHAR_ID_TABLE_P): Likewise.
1132 (get_char_id_table): Likewise.
1134 * char-ucs.h: Include "chartab.h".
1135 (struct Lisp_Char_ID_Table): Moved to chartab.h.
1136 (Lisp_Char_ID_Table): Likewise.
1137 (char_id_table): Likewise.
1138 (XCHAR_ID_TABLE): Likewise.
1139 (XSETCHAR_ID_TABLE): Likewise.
1140 (CHAR_ID_TABLE_P): Likewise.
1141 (GC_CHAR_ID_TABLE_P): Likewise.
1142 (get_char_id_table): Likewise.
1144 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1146 * chartab.c (copy_uint8_byte_table): New function.
1147 (copy_uint16_byte_table): New function.
1148 (copy_byte_table): New function.
1149 (map_over_uint8_byte_table): Modify to avoid huge numbers of
1151 (map_over_uint16_byte_table): Likewise.
1152 (map_over_byte_table): Likewise.
1153 (get_byte_table): Move prototype to chartab.h.
1154 (put_byte_table): Likewise.
1155 (put_char_id_table_0): Moved to chartab.h.
1156 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
1157 (char_table_entry_equal): Likewise.
1158 (char_table_entry_hash): Likewise.
1159 (char_table_entry_description): Likewise.
1160 (char_table_entry): Likewise.
1161 (make_char_table_entry): Likewise.
1162 (copy_char_table_entry): Likewise.
1163 (get_non_ascii_char_table_value): Likewise.
1164 (map_over_charset_ascii): Likewise.
1165 (map_over_charset_control_1): Likewise.
1166 (map_over_charset_row): Likewise.
1167 (map_over_other_charset): Likewise.
1168 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
1169 (print_char_table): Likewise.
1170 (char_table_equal): Likewise.
1171 (char_table_hash): Likewise.
1172 (char_table_description): Likewise.
1173 (fill_char_table): Likewise.
1174 (Fcopy_char_table): Likewise.
1175 (get_char_table): Likewise.
1176 (Fget_range_char_table): Likewise.
1177 (put_char_table): Likewise.
1178 (map_char_table): Likewise.
1179 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
1182 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1184 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
1185 `Vauto_fill_chars' in XEmacs UTF-2000.
1187 * chartab.h (get_byte_table): New prototype [moved from
1189 (put_byte_table): Likewise [moved from chartab.c].
1190 (put_char_id_table_0): New inline function [moved from chartab.c].
1191 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
1192 (Lisp_Char_Table_Entry): Likewise.
1193 (char_table_entry): Likewise.
1194 (XCHAR_TABLE_ENTRY): Likewise.
1195 (XSETCHAR_TABLE_ENTRY): Likewise.
1196 (CHAR_TABLE_ENTRYP): Likewise.
1197 (CHECK_CHAR_TABLE_ENTRY): Likewise.
1198 (NUM_ASCII_CHARS): Likewise.
1199 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
1200 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
1202 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1204 * chartab.c (get_char_id_table): Change interface.
1205 (put_char_id_table_0): New function.
1206 (put_char_id_table): Change interface; new implementation.
1207 (Fget_composite_char): Modify for interface change of
1208 `get_char_id_table'.
1209 (Fchar_variants): Likewise.
1210 (add_char_attribute_alist_mapper): Likewise.
1211 (Fchar_attribute_alist): Likewise.
1212 (Fget_char_attribute): Likewise.
1213 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
1214 as same as character as the first argument like `put-char-table';
1215 modify for interface change of `put_char_id_table'.
1216 (Fremove_char_attribute): Modify for interface change of
1217 `put_char_id_table'.
1219 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1221 * text-coding.c: Sync up with XEmacs 21.2.41.
1222 (COMPOSE_ADD_CHAR): Modify for interface change of
1223 `get_char_id_table'.
1225 * mule-charset.c (put_char_ccs_code_point): Modify for interface
1226 change of `put_char_id_table'.
1227 (remove_char_ccs): Likewise.
1229 * chartab.h (put_char_id_table): Change interface.
1231 * char-ucs.h (get_char_id_table): Change interface.
1232 (charset_code_point): Modify for interface change of
1233 `get_char_id_table'.
1234 (encode_char_1): Likewise.
1236 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1238 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
1240 (map_over_uint16_byte_table): Likewise.
1241 (map_over_byte_table): Likewise.
1242 (map_char_id_table): Add new argument `range' like
1244 (Fmap_char_attribute): Add new argument `range' like
1247 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1249 * chartab.c (map_over_uint8_byte_table): Change interface of
1250 mapping function to use struct chartab_range instead of Emchar.
1251 (map_over_uint16_byte_table): Likewise.
1252 (map_over_byte_table): Likewise.
1253 (map_char_id_table): Likewise.
1254 (struct slow_map_char_id_table_arg): Deleted.
1255 (slow_map_char_id_table_fun): Deleted.
1256 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1257 function `slow_map_char_table_fun' instead of struct
1258 `slow_map_char_id_table_arg' and function
1259 `slow_map_char_id_table_fun'.
1261 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1263 * mule-charset.c: Move char-it-table related codes to chartab.c.
1264 (Vutf_2000_version): Moved to chartab.c.
1265 (Fdefine_char): Likewise.
1266 (Ffind_char): Likewise.
1267 (syms_of_mule_charset): Move types `uint8-byte-table',
1268 `uint16-byte-table', `byte-table' and `char-id-table' to
1269 chartab.c; move functions `char_attribute_list,
1270 `find_char_attribute_table, `char_attribute_alist,
1271 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1272 `map_char_attribute, `define_char, `find_char, `char_variants and
1273 `get_composite_char to chartab.c; move symbols `=>ucs',
1274 `->decomposition', `compat', `isolated', `initial', `medial',
1275 `final', `vertical', `noBreak', `fraction', `super', `sub',
1276 `circle', `square', `wide', `narrow', `small' and `font' to
1278 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1279 setting codes for `Vcharacter_composition_table' and
1280 `Vcharacter_variant_table' to chartab.c.
1281 (complex_vars_of_mule_charset): Move setting code for
1282 `Vchar_attribute_hash_table' to chartab.c.
1284 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1285 (make_char_id_table): New prototype.
1286 (put_char_id_table): Likewise.
1287 (Fget_char_attribute): Likewise.
1289 * chartab.c: Move char-id-table related code from mule-charset.c.
1290 (Vutf_2000_version): Moved from mule-charset.c.
1292 * char-ucs.h (Qucs): New external variable.
1293 (put_char_ccs_code_point): New prototype.
1294 (remove_char_ccs): Likewise.
1296 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1298 * mule-charset.c (Vcharset_ucs_jis): New variable.
1299 (Qucs_jis): Likewise.
1300 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1301 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1303 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1305 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1307 * mule-charset.c (map_over_uint8_byte_table): New function.
1308 (map_over_uint16_byte_table): Likewise.
1309 (map_over_byte_table): Likewise.
1310 (map_char_id_table): Likewise.
1311 (slow_map_char_id_table_fun): Likewise.
1312 (Fmap_char_attribute): Likewise.
1313 (syms_of_mule_charset): Add new function `map-char-attribute'.
1315 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1317 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1318 (syms_of_mule_charset): Add new function `find-char'.
1320 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1322 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1324 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1325 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1327 (complex_vars_of_mule_charset): Add new coded-charset
1328 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1329 `ideograph-gt-pj-*'.
1331 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1333 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1335 * mule-charset.c (encode_builtin_char_1): Purge codes about
1336 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1337 {MIN|MAX}_CHAR_HEBREW.
1338 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1339 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1341 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1342 (MAX_CHAR_GREEK): Purged.
1343 (MIN_CHAR_CYRILLIC): Purged.
1344 (MAX_CHAR_CYRILLIC): Purged.
1345 (MIN_CHAR_HEBREW): Commented out.
1346 (MAX_CHAR_HEBREW): Likewise.
1348 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1350 * mule-charset.c (Qto_ucs): New variable.
1351 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1352 (Fdefine_char): Likewise.
1353 (syms_of_mule_charset): Add new symbol `=>ucs'.
1355 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1357 * mule-charset.c (Fdecode_char): Fixed.
1359 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1361 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1362 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1365 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1367 * mule-charset.c (Vcharset_ucs_big5): New variable.
1368 (Qucs_big5): Likewise.
1369 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1370 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1372 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1374 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1376 * mule-charset.c (decode_builtin_char): Check Big5 code range
1377 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1379 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1381 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1382 (Qchinese_gb12345): Likewise.
1383 (Fdecode_builtin_char): Fixed.
1384 (syms_of_mule_charset): Add `chinese-gb12345'.
1385 (complex_vars_of_mule_charset): Add coded-charset
1388 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1389 (LEADING_BYTE_CHINESE_GB12345): New macro.
1391 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1393 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
1394 and `latin-viscii-upper' for `latin-viscii'.
1396 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1398 * mule-charset.c (Fdecode_builtin_char): Comment out
1399 regularization code for ISO-IR GR representation.
1401 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1403 * mule-charset.c (decode_builtin_char): New function; renamed from
1404 `make_builtin_char'; return -1 instead of signal.
1405 (Fdecode_builtin_char): Use `decode_builtin_char'.
1407 * char-ucs.h (decode_builtin_char): New prototype; renamed from
1408 `make_builtin_char'.
1409 (DECODE_CHAR): Use `decode_builtin_char' instead of
1410 `make_builtin_char'; use mapping table of `chinese-big5' for
1411 `chinese-big5-{1,2}'.
1413 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1415 * text-coding.c (char_encode_big5): New function.
1416 (char_finish_big5): Likewise.
1417 (reset_encoding_stream): Use `char_encode_big5' and
1418 `char_finish_big5' for CODESYS_BIG5.
1419 (mule_encode): Don't use `encode_coding_big5'.
1420 (encode_coding_big5): Deleted.
1422 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1424 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
1425 0x81- in XEmacs UTF-2000.
1426 (detect_coding_big5): Likewise.
1428 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1430 * mule-charset.c (Fdefine_char): Don't use a CCS property to
1431 generate character-id if the CCS property does not have
1432 corresponding predefined character.
1433 (make_builtin_char): Return -1 if corresponding predefined
1434 character is not found.
1435 (Fdecode_char): Return nil if corresponding character is not
1437 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
1438 don't map to builtin ucs space.
1440 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1442 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
1443 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
1445 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1447 * mule-charset.c (Vcharset_ideograph_gt): New variable.
1448 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
1449 (Qideograph_gt): Likewise.
1450 (Qideograph_gt_pj_{1..11}): Likewise.
1451 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
1452 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
1453 `ideograph-gt-pj-11'.
1454 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
1455 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
1456 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
1458 * char-ucs.h (LEADING_BYTE_GT): New macro.
1459 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
1460 (MIN_CHAR_GT): Likewise.
1461 (MAX_CHAR_GT): Likewise.
1463 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1465 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
1466 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
1468 * doprnt.c (unsigned_int_converters): Add `c'.
1469 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
1471 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
1472 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
1474 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
1475 (MAX_CHAR_MOJIKYO_0): New macro.
1476 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
1478 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1480 * mule-charset.c (Fdefine_char): Delete cemented out code.
1481 (encode_builtin_char_1): Modify for new allocation of builtin
1484 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
1486 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1488 * mule-charset.c (Vcharset_ucs_cns): New variable.
1489 (Qucs_cns): New variable.
1490 (syms_of_mule_charset): Add new symbol `ucs-cns'.
1491 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
1493 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1495 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
1497 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1499 * search.c (search_buffer): Make `charset_base_code' as
1500 character-id >> 6 to eliminate the corresponding last byte in
1501 UTF-8 representation [I'm not sure it is right thing].
1502 (boyer_moore): Likewise.
1504 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1506 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
1507 representation in MULE.
1509 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1511 * text-coding.c (Fmake_coding_system): Use
1512 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
1513 `EXTERNAL_PROPERTY_LIST_LOOP'.
1515 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1517 * text-coding.c (decode_output_utf8_partial_char): New function.
1518 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
1520 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1522 * text-coding.c (decode_coding_utf8): Output original byte
1523 sequence if it is broken; change order of conditions.
1525 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
1528 * mb-multibyte.h (BYTE_ASCII_P):
1529 Use bit ops for char-signedness safety.
1530 (BYTE_C0_P): Use bit ops for char-signedness safety.
1531 (BYTE_C1_P): Use bit ops for char-signedness safety.
1533 * character.h: (XCHAR_OR_CHAR_INT):
1534 Always use inline function.
1535 Remove redundant type checking assert() - XINT will abort quite
1538 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1540 * text-coding.c: (Fencode_shift_jis_char):
1541 (Fencode_big5_char):
1542 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
1543 Replace 0 with '\0' when working with bytes.
1544 Replace initial "(" with "\(" in docstrings.
1546 (Fmake_coding_system):
1547 When type is ccl and value is vector, register it with a proper
1548 symbol. And checks whether the given ccl program is valid.
1549 (mule_decode): When calling ccl_driver, if src indicates
1550 NULL pointer, set an empty string instead.
1551 (mule_encode): Likewise.
1554 (detect_coding_sjis):
1555 (decode_coding_sjis):
1556 (detect_coding_big5):
1557 (decode_coding_big5):
1558 (detect_coding_ucs4):
1559 (decode_coding_ucs4):
1560 (detect_coding_utf8):
1561 (decode_coding_utf8):
1562 (detect_coding_iso2022):
1563 (decode_coding_iso2022):
1564 (decode_coding_no_conversion):
1566 Make all detecting and decoding functions take an Extbyte * arg.
1567 (text_encode_generic):
1568 (encode_coding_big5):
1569 (encode_coding_no_conversion):
1571 Make all encoding functions take a Bufbyte * arg.
1572 Use size_t instead of unsigned int for memory sizes.
1573 Only cast to unsigned char whenever dereferencing Extbyte *.
1575 (struct lrecord_description fcd_description_1): Use countof.
1576 (complex_vars_of_file_coding):
1577 Use countof instead of sizeof.
1578 Use CHECK_NATNUM instead of CHECK_INT.
1580 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1582 * mule-charset.c (Fget_char_attribute): Add new optional argument
1584 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
1585 (remove_char_ccs): Likewise.
1587 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1589 * text-coding.c (char_encode_shift_jis): New implementation in
1591 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
1594 * mule-charset.c (Vcharset_chinese_big5): New variable in
1596 (Qchinese_big5): New variable in UTF-2000.
1597 (BIG5_SAME_ROW): New macro in UTF-2000.
1598 (make_builtin_char): Use builtin characters of
1599 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
1600 characters of `Vcharset_chinese_big5'.
1601 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
1602 (complex_vars_of_mule_charset): Add new coded-charset
1603 `chinese-big5' in UTF-2000.
1605 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
1606 (Vcharset_chinese_big5): New external variable declaration.
1607 (Vcharset_japanese_jisx0208_1990): Likewise.
1609 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1611 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
1613 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
1615 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1617 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
1618 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
1619 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
1622 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1624 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
1626 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1628 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1631 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1633 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
1634 for `CHARSET_BY_ATTRIBUTES'.
1635 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1636 `CHARSET_BY_ATTRIBUTES'.
1638 * text-coding.c (struct decoding_stream): Rename member `CH' to
1640 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
1641 (decode_coding_sjis): Likewise.
1642 (decode_coding_big5): Likewise.
1643 (decode_coding_ucs4): Likewise.
1644 (decode_coding_utf8): Likewise.
1645 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1646 `CHARSET_BY_ATTRIBUTES'.
1647 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
1648 `str->counter'; decode 3, 4 bytes sets.
1649 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
1651 (decode_coding_no_conversion): Use `str->cpos' instead of
1654 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
1655 (Qmojikyo_2022_1): New variable.
1656 (make_charset): Don't use `CHARSET_TYPE_*'.
1657 (range_charset_code_point): Support coded-charset
1659 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
1660 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
1661 `CHARSET_BY_ATTRIBUTES'.
1662 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
1663 `CHARSET_BY_ATTRIBUTES'.
1664 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
1665 (complex_vars_of_mule_charset): Add new coded-charset
1668 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
1669 interface; changed to inline function.
1671 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
1672 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
1673 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
1674 (CHARSET_TYPE_94): Deleted.
1675 (CHARSET_TYPE_94X94): Deleted.
1676 (CHARSET_TYPE_96): Deleted.
1677 (CHARSET_TYPE_96X96): Deleted.
1678 (CHARSET_TYPE_128): Deleted.
1679 (CHARSET_TYPE_128X128): Deleted.
1680 (CHARSET_TYPE_256): Deleted.
1681 (CHARSET_TYPE_256X256): Deleted.
1682 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
1684 (DECODE_MOJIKYO_2022): New inline function.
1685 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
1686 `Vcharset_mojikyo_2022_1'.
1688 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1690 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
1692 (put_byte_table): Likewise.
1693 (char_id_table_equal): Use `get_byte_table' [new implementation].
1695 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1697 * mule-charset.c: Include <limits.h> in UTF-2000.
1698 (BT_UINT8_MIN): New macro in UTF-2000.
1699 (BT_UINT8_MAX): New macro in UTF-2000.
1700 (BT_UINT8_t): New macro in UTF-2000.
1701 (BT_UINT8_nil): New macro in UTF-2000.
1702 (BT_UINT8_unbound): New macro in UTF-2000.
1703 (INT_UINT8_P): New inline function in UTF-2000.
1704 (UINT8_VALUE_P): New inline function in UTF-2000.
1705 (UINT8_ENCODE): New inline function in UTF-2000.
1706 (UINT8_DECODE): New inline function in UTF-2000.
1707 (mark_uint8_byte_table): New function in UTF-2000.
1708 (print_uint8_byte_table): New function in UTF-2000.
1709 (uint8_byte_table_equal): New function in UTF-2000.
1710 (uint8_byte_table_hash): New function in UTF-2000.
1711 (make_uint8_byte_table): New function in UTF-2000.
1712 (uint8_byte_table_same_value_p): New function in UTF-2000.
1713 (BT_UINT16_MIN): New macro in UTF-2000.
1714 (BT_UINT16_MAX): New macro in UTF-2000.
1715 (BT_UINT16_t): New macro in UTF-2000.
1716 (BT_UINT16_nil): New macro in UTF-2000.
1717 (BT_UINT16_unbound): New macro in UTF-2000.
1718 (INT_UINT16_P): New inline function in UTF-2000.
1719 (UINT16_VALUE_P): New inline function in UTF-2000.
1720 (UINT16_ENCODE): New inline function in UTF-2000.
1721 (UINT16_DECODE): New inline function in UTF-2000.
1722 (UINT8_TO_UINT16): New inline function in UTF-2000.
1723 (mark_uint16_byte_table): New function in UTF-2000.
1724 (print_uint16_byte_table): New function in UTF-2000.
1725 (uint16_byte_table_equal): New function in UTF-2000.
1726 (uint16_byte_table_hash): New function in UTF-2000.
1727 (make_uint16_byte_table): New function in UTF-2000.
1728 (uint16_byte_table_same_value_p): New function in UTF-2000.
1729 (print_byte_table): New function in UTF-2000.
1730 (byte-table): Use `print_byte_table' as printer.
1731 (make_byte_table): Delete second argument `older'.
1732 (byte_table_same_value_p): New function in UTF-2000.
1733 (copy_byte_table): Deleted.
1734 (get_byte_table): New function in UTF-2000.
1735 (put_byte_table): New function in UTF-2000.
1736 (print_char_id_table): New function in UTF-2000.
1737 (char-id-table): Use `print_char_id_table' as printer.
1738 (make_char_id_table): Delete second argument `older'.
1739 (get_char_id_table): Use `get_byte_table [new implementation].
1740 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
1742 (Ffind_char_attribute_table): New function in UTF-2000.
1743 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1744 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
1745 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
1746 (syms_of_mule_charset): Add new function
1747 `find-char-attribute-table' in UTF-2000.
1749 * lrecord.h (enum lrecord_type): Add
1750 `lrecord_type_uint16_byte_table' and
1751 `lrecord_type_uint8_byte_table'.
1753 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
1754 (Lisp_Uint8_Byte_Table): New type.
1755 (XUINT8_BYTE_TABLE): New macro.
1756 (XSETUINT8_BYTE_TABLE): New macro.
1757 (UINT8_BYTE_TABLE_P): New macro.
1758 (GC_UINT8_BYTE_TABLE_P): New macro.
1759 (struct Lisp_Uint16_Byte_Table): New structure.
1760 (Lisp_Uint16_Byte_Table): New type.
1761 (XUINT16_BYTE_TABLE): New macro.
1762 (XSETUINT16_BYTE_TABLE): New macro.
1763 (UINT16_BYTE_TABLE_P): New macro.
1764 (GC_UINT16_BYTE_TABLE_P): New macro.
1766 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1768 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
1769 (Vcharacter_ideographic_strokes_table): Deleted.
1770 (Vcharacter_total_strokes_table): Deleted.
1771 (Vcharacter_morohashi_daikanwa_table): Deleted.
1772 (Vcharacter_decomposition_table): Deleted.
1773 (Qname): Deleted because it is duplicated.
1774 (Qideographic_radical): Deleted.
1775 (Qideographic_strokes): Deleted.
1776 (Qtotal_strokes): Deleted.
1777 (Qmorohashi_daikanwa): Deleted.
1778 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
1779 `ideographic-radical', `ideographic-strokes', `total-strokes',
1780 `morohashi-daikanwa' and `->decomposition'.
1781 (Fget_char_attribute): Likewise.
1782 (Fput_char_attribute): Likewise; use `make-vector' instead of
1783 `make_older_vector' for `->decomposition' value.
1784 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
1785 `ideograph-daikanwa'.
1786 (syms_of_mule_charset): Delete builtin symbols `name',
1787 `ideographic-radical', `ideographic-strokes', `total-strokes' and
1788 `morohashi-daikanwa'.
1789 (vars_of_mule_charset): Don't setup
1790 `Vcharacter_ideographic_radical_table',
1791 `Vcharacter_ideographic_strokes_table',
1792 `Vcharacter_total_strokes_table',
1793 `Vcharacter_morohashi_daikanwa_table' and
1794 `Vcharacter_decomposition_table'.
1796 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1798 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
1799 `make_older_vector', `make_vector_newer_1' and
1800 `make_vector_newer'.
1802 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
1803 `make_older_vector' and `make_vector_newer'.
1805 * config.h.in (HAVE_GGC): New macro.
1807 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1809 * mule-charset.c (struct char_attribute_list_closure): New
1810 structure in UTF-2000.
1811 (add_char_attribute_to_list_mapper): New function in UTF-2000.
1812 (Fchar_attribute_list): Likewise.
1813 (Fset_charset_mapping_table): Use `make_vector_newer'.
1814 (Fdecode_builtin_char): New function in UTF-2000.
1815 (syms_of_mule_charset): Add new function `char-attribute-list' and
1816 `decode-builtin-char' in UTF-2000.
1818 * lisp.h (make_vector_newer): New prototype.
1820 * alloc.c (make_vector_newer_1): New function.
1821 (make_vector_newer): New function.
1823 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1825 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
1828 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1830 * mule-charset.c (Vchar_attribute_hash_table): New variable.
1831 (Vcharacter_attribute_table): Deleted.
1832 (Vcharacter_name_table): Deleted.
1833 (put_char_attribute): Deleted.
1834 (remove_char_attribute): Deleted.
1835 (struct char_attribute_alist_closure): New structure.
1836 (add_char_attribute_alist_mapper): New function.
1837 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
1838 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
1839 (Fget_char_attribute): Likewise.
1840 (Fput_char_attribute): Likewise.
1841 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
1842 of `remove_char_attribute'.
1843 (Fdefine_char): Return character.
1844 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
1845 and `Vcharacter_name_table'.
1846 (complex_vars_of_mule_charset): Likewise
1847 `Vchar_attribute_hash_table'.
1849 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1851 * character.h (CHARC_CHARSET): New macro.
1852 (CHARC_CHARSET_ID): New macro.
1853 (CHARC_CODE_POINT): New macro.
1854 (CHARC_COLUMNS): New macro.
1855 (CHARC_TO_CHAR): New inline function.
1856 (CHARC_EQ): New inline function.
1857 (CHARC_ASCII_EQ): New inline function.
1858 (CHARC_IS_SPACE): New inline function.
1859 (ASCII_TO_CHARC): New inline function.
1861 * char-ucs.h (encode_char_2): Deleted.
1862 (ENCODE_CHAR): Use `encode_char_1' again.
1863 (breakup_char_1): Likewise.
1864 (CHAR_TO_CHARC): New inline function.
1866 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
1868 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1870 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
1871 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
1872 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
1873 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
1874 (create_string_text_block): Use `CHARC_ASCII_EQ' and
1876 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
1878 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
1880 (x_output_display_block): Use `CHARC_CHARSET' and
1883 * redisplay-tty.c (tty_output_display_block): Use
1885 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
1887 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
1889 * insdel.c (find_charsets_in_charc_string): Use
1891 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
1892 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
1893 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
1894 (convert_charc_string_into_malloced_string): Likewise.
1896 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1898 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
1899 instead of <Emchar_dynarr *> for buf; use
1900 `convert_bufbyte_string_into_charc_dynarr' instead of
1901 `convert_bufbyte_string_into_emchar_dynarr'; use
1902 `find_charsets_in_charc_string' instead of
1903 `find_charsets_in_emchar_string'.
1906 - Include "character.h".
1907 (struct rune): New member `cglyph'; delete member `chr'.
1909 * redisplay.c (redisplay_text_width_charc_string): New function;
1910 delete `redisplay_text_width_emchar_string'.
1911 (rtw_charc_dynarr): New variable; renamed from
1912 `rtw_emchar_dynarr'.
1913 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
1914 `rtw_emchar_dynarr'; use
1915 `convert_bufbyte_string_into_charc_dynarr' instead of
1916 `convert_bufbyte_string_into_emchar_dynarr'; use
1917 `redisplay_text_width_charc_string' instead of
1918 `redisplay_text_width_emchar_string'.
1919 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
1920 instead of `rtw_emchar_dynarr'; use
1921 `convert_bufbyte_string_into_charc_dynarr' instead of
1922 `convert_bufbyte_string_into_emchar_dynarr'.
1923 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
1924 `redisplay_text_width_charc_string' instead of
1925 `redisplay_text_width_emchar_string'.
1926 (create_text_block): Modify for <struct rune> change.
1927 (generate_formatted_string_db): Likewise.
1928 (create_string_text_block): Likewise.
1929 (pixel_to_glyph_translation): Likewise.
1931 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
1932 instead of <const Emchar *>.
1933 (x_text_width): Likewise.
1934 (x_output_display_block): Use <Charc_dynarr *> instead
1935 <Emchar_dynarr *>; modify for <structure rune> change.
1936 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
1939 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
1940 <const Emchar *>; use `charc_string_displayed_columns' instead of
1941 `emchar_string_displayed_columns'.
1942 (tty_output_display_block): Use <Charc_dynarr *> instead of
1943 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
1944 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
1945 (tty_output_charc_dynarr_dynarr): New variable; renamed from
1946 `tty_output_emchar_dynarr_dynarr'.
1947 (tty_output_charc_dynarr): New function; delete
1948 `tty_output_charc_dynarr'.
1950 * redisplay-output.c (compare_runes): Modify for `struct rune'.
1951 (redisplay_output_layout): Use <Charc_dynarr *> instead of
1952 <Emchar_dynarr *> for buf; use
1953 `convert_bufbyte_string_into_charc_dynarr' instead of
1954 `convert_bufbyte_string_into_emchar_dynarr'.
1956 * frame.c (title_string_charc_dynarr): New variable; renamed from
1957 `title_string_emchar_dynarr'.
1958 (generate_title_string): Use `title_string_charc_dynarr' instead
1959 of `title_string_emchar_dynarr'; use
1960 `convert_charc_string_into_malloced_string' instead of
1961 `convert_emchar_string_into_malloced_string'.
1962 (init_frame): Use `title_string_charc_dynarr' instead of
1963 `title_string_emchar_dynarr'.
1966 - Include "character.h".
1967 (struct console_methods): Use <const Charc *> instead of <const
1968 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
1969 <Emchar_dynarr *> in output_string_method.
1971 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
1974 * console-stream.c (stream_text_width): Use <const Charc *>
1975 instead of <const Emchar *>.
1977 * character.h (Charc_dynarr): New type.
1979 * char-ucs.h (structure Charc): New structure; define new type
1982 * char-lb.h (DECODE_CHAR): New inline function.
1983 (encode_char_1): New inline function.
1984 (ENCODE_CHAR): New macro.
1985 (structure Charc): New structure; define new type `Charc'.
1987 * char-1byte.h (Vcharset_control_1): New macro.
1988 (Vcharset_latin_iso8859_1): New macro.
1989 (DECODE_CHAR): New inline function.
1990 (encode_char_1): New inline function.
1991 (ENCODE_CHAR): New macro.
1992 (structure Charc): New structure; define new type `Charc'.
1994 * insdel.c (find_charsets_in_charc_string): New function; delete
1995 `find_charsets_in_emchar_string'.
1996 (charc_string_displayed_columns): New function; delete
1997 `emchar_string_displayed_columns'.
1998 (convert_bufbyte_string_into_charc_dynarr): New function; delete
1999 `convert_bufbyte_string_into_emchar_dynarr'.
2000 (convert_charc_string_into_bufbyte_dynarr): New function; delete
2001 `convert_charc_string_into_bufbyte_dynarr'.
2002 (convert_charc_string_into_malloced_string): New function; delete
2003 `convert_charc_string_into_malloced_string'.
2005 * buffer.h (find_charsets_in_charc_string): New prototype; delete
2006 `find_charsets_in_emchar_string'.
2007 (charc_string_displayed_columns): New prototype; delete
2008 `emchar_string_displayed_columns'.
2009 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
2010 `convert_charc_string_into_bufbyte_dynarr'.
2011 (convert_charc_string_into_malloced_string): New prototype; delete
2012 `convert_charc_string_into_malloced_string'.
2014 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2016 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
2018 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2020 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
2022 * char-ucs.h: Use <short> for <Charset_ID>.
2024 * mule-charset.h, char-1byte.h: Use <unsigned char> for
2027 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2029 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2032 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2034 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
2036 (Qmorohashi_daikanwa): New variable.
2037 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
2038 for `morohashi-daikanwa' attribute.
2039 (Fget_char_attribute): Likewise.
2040 (Fput_char_attribute): Likewise.
2041 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
2042 has the same value of `ideograph-daikanwa'.
2043 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
2044 (vars_of_mule_charset): Setup
2045 `Vcharacter_morohashi_daikanwa_table'.
2047 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2049 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
2051 (add_charset_to_list_mapper): Add `key' instead of
2052 `XCHARSET_NAME (value)' to return aliases.
2054 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2056 * mule-charset.c (Vcharacter_ideographic_radical_table): New
2058 (Vcharacter_ideographic_strokes_table): New variable.
2059 (Qideographic_radical): New variable.
2060 (Qideographic_strokes): New variable.
2061 (Fchar_attribute_alist): Use
2062 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
2063 attribute; use `Vcharacter_ideographic_strokes_table' for
2064 `ideographic-strokes' attribute.
2065 (Fget_char_attribute): Likewise.
2066 (Fput_char_attribute): Likewise.
2067 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
2068 `ideographic-strokes'.
2069 (vars_of_mule_charset): Setup
2070 `Vcharacter_ideographic_radical_table' and
2071 `Vcharacter_ideographic_strokes_table'.
2073 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2075 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
2076 (Qtotal_strokes): New variable.
2077 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
2078 `total-strokes' attribute.
2079 (Fget_char_attribute): Likewise.
2080 (Fput_char_attribute): Likewise.
2081 (syms_of_mule_charset): Add new symbol `total-strokes'.
2082 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
2084 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2086 * mule-charset.c (Vcharacter_decomposition_table): New variable.
2087 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
2089 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
2090 `->decomposition' attribute.
2091 (Fput_char_attribute): Likewise.
2092 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
2094 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2096 * mule-charset.c (decoding_table_check_elements): New function.
2097 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
2099 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2101 * mule-charset.c (Fset_charset_mapping_table): Use
2102 `put_char_ccs_code_point'.
2104 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2106 * mule-charset.c (decoding_table_put_char): New inline function.
2107 (put_char_ccs_code_point): Use `decoding_table_put_char'.
2109 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2111 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
2112 (XCHARSET_BYTE_SIZE): New macro.
2113 (decoding_table_remove_char): New inline function.
2114 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
2115 `decoding_table_remove_char'.
2116 (remove_char_ccs): Use `decoding_table_remove_char'.
2117 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
2119 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2121 * mule-charset.c (Vcharacter_name_table): New variable.
2122 (Qname): New variable.
2123 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
2125 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
2126 `Vcharacter_name_table' for `name' attribute.
2127 (Fremove_char_attribute): Use function `remove_char_ccs'.
2128 (put_char_ccs_code_point): New function.
2129 (remove_char_ccs): New function.
2130 (syms_of_mule_charset): Add new symbol `name'.
2131 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
2133 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2135 * mule-charset.c (make_byte_table): Add new argument `older'.
2136 (make_char_id_table): Likewise.
2137 (copy_char_id_table): Comment out because it is not used.
2138 (put_char_id_table): Modify for `make_byte_table'.
2139 (Fput_char_attribute): Make encoding_table as older object;
2140 inherit older bit of `Vcharacter_composition_table'.
2141 (mark_charset): Don't mark `cs->encoding_table'.
2142 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
2143 normal object; make `Vcharacter_composition_table' as an older
2144 object; delete staticpro for `Vcharacter_composition_table'; make
2145 `Vcharacter_variant_table' as a normal object.
2147 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
2148 (mark_object): Don't check older object in UTF-2000.
2150 * lrecord.h (struct lrecord_header): Add new member `older' in
2152 (set_lheader_implementation): Setup `SLI_header->older' in
2154 (set_lheader_older_implementation): New macro in UTF-2000.
2155 (OLDER_RECORD_P): New macro in UTF-2000.
2156 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
2157 (alloc_older_lcrecord): New prototype in UTF-2000.
2158 (alloc_older_lcrecord_type): New macro in UTF-2000.
2160 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2162 * mule-charset.c (byte_table_description): Use
2163 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
2164 (char_id_table_description): Delete bogus `, 1'.
2165 (Fget_char_attribute): Refer encoding_table of each coded-charset
2166 to get value of coded-charset attribute of a character.
2167 (Fput_char_attribute): Use `make_older_vector' instead of
2168 `make_vector'; use encoding_table of each coded-charset to store
2169 value of coded-charset attribute of a character.
2170 (Fremove_char_attribute): Use encoding_table of each coded-charset
2171 to store value of coded-charset attribute of a character.
2172 (mark_charset): Mark `cs->encoding_table'; don't mark
2173 `cs->decoding_table'.
2174 (charset_description): Add description of new member
2176 (make_charset): Initialize `encoding_table'.
2178 * char-ucs.h (struct Lisp_Charset): Add new member
2180 (CHARSET_ENCODING_TABLE): New macro.
2181 (XCHARSET_ENCODING_TABLE): New macro.
2182 (charset_code_point): New implementation.
2183 (encode_char_1): Likewise.
2185 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
2186 (disksave_object_finalization_1): Call finalizers of
2187 `all_older_lcrecords' in UTF-2000.
2188 (make_older_vector): New function in UTF-2000.
2189 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
2192 * lisp.h (make_older_vector): New prototype in UTF-2000.
2194 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2196 * lrecord.h (enum lrecord_type): Rename
2197 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
2199 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
2200 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
2201 `get_char_code_table'.
2203 * mule-charset.c (mark_char_id_table): Renamed from
2204 `mark_char_code_table'.
2205 (char_id_table_equal): Renamed from `char_code_table_equal'.
2206 (char_id_table_hash): Renamed from `char_code_table_hash'.
2207 (make_char_id_table): Renamed from `make_char_code_table'.
2208 (copy_char_id_table): Renamed from `copy_char_code_table'.
2209 (get_char_id_table): Renamed from `get_char_code_table'.
2210 (put_char_id_table): Renamed from `put_char_code_table'.
2211 (to_char_id): Renamed from `to_char_code'.
2213 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
2214 `Lisp_Char_Code_Table'.
2215 (char_id_table): Renamed from `char_code_table'.
2216 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
2217 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
2218 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
2219 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
2220 (get_char_id_table): Renamed from `get_char_code_table'.
2222 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2224 * lrecord.h (enum lrecord_type): Rename
2225 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
2227 * mule-charset.c (mark_byte_table): Renamed from
2228 `mark_char_byte_table'.
2229 (byte_table_equal): Renamed from `char_byte_table_equal'.
2230 (byte_table_hash): Renamed from `byte_table_hash'.
2231 (make_byte_table): Renamed from `make_byte_table'.
2232 (copy_byte_table): Renamed from `copy_char_byte_table'.
2234 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
2235 `Lisp_Char_Byte_Table'.
2236 (byte_table): Renamed from `char_byte_table'.
2237 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
2238 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
2239 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
2240 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
2242 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2244 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
2245 (dfc_convert_to_internal_format): Likewise.
2247 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2248 * text-coding.c (Fcoding_system_alias_p): New function.
2249 * text-coding.c (Fcoding_system_aliasee): New function.
2250 * text-coding.c (append_suffix_to_symbol): New function.
2251 * text-coding.c (dangling_coding_system_alias_p): New function.
2252 * text-coding.c (Ffind_coding_system):
2253 * text-coding.c (Fcopy_coding_system):
2254 * text-coding.c (encode_coding_no_conversion):
2255 * text-coding.c (syms_of_file_coding):
2256 * text-coding.c (vars_of_file_coding):
2257 Rewrite coding system alias code.
2258 Allow nested aliases, like symbolic links.
2259 Allow redefinition of coding system aliases.
2260 Prevent existence of dangling coding system aliases.
2261 Eliminate convert_to_external_format.
2262 Eliminate convert_to_internal_format.
2264 * text-coding.c: Change enum eol_type to eol_type_t.
2266 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2268 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2269 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2271 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2272 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2274 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2276 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2277 `ideograph-daikanwa'.
2279 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2280 (Vcharset_ucs_bmp): Likewise.
2281 (Vcharset_mojikyo): Add new extern variable definition.
2282 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2283 (Vcharset_latin_iso8859_3): Likewise.
2284 (Vcharset_latin_iso8859_4): Likewise.
2285 (Vcharset_latin_iso8859_9): Likewise.
2286 (Vcharset_latin_viscii_lower): Likewise.
2287 (Vcharset_latin_viscii_upper): Likewise.
2288 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2289 `mojikyo' code-point is used to decode.
2290 (encode_char_2): New function [to convert `mojikyo' code-point to
2291 Mojikyo font encoding].
2292 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2293 (breakup_char_1): Likewise.
2294 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2296 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2298 * text-coding.c (Fmake_coding_system): Add document about
2299 `disable-composition' property.
2301 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2303 * text-coding.c (Qdisable_composition): New variable; delete
2305 (Fmake_coding_system): Add new property `disable-composite';
2306 delete property `composite'.
2307 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2308 instead of `!CODING_SYSTEM_COMPOSITE'.
2309 (syms_of_file_coding): Add new symbol `disable-composition';
2310 delete symbol `composite'.
2312 * file-coding.h (struct Lisp_Coding_System): Add
2313 `disable_composition'; delete `enable_composition'.
2314 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2315 `CODING_SYSTEM_COMPOSITE'.
2316 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2317 `XCODING_SYSTEM_COMPOSITE'.
2319 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2321 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2324 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2326 * text-coding.c (Qcomposite): New variable.
2327 (Fmake_coding_system): Add new property `composite'.
2328 (struct decoding_stream): Add `combined_char_count',
2329 `combined_chars' and `combining_table' in UTF-2000.
2330 (COMPOSE_FLUSH_CHARS): New macro.
2331 (COMPOSE_ADD_CHAR): New macro.
2332 (reset_decoding_stream): Reset `str->combined_char_count' and
2333 `str->combining_table' in UTF-2000.
2334 (decode_coding_iso2022): Modify for character-decomposition.
2335 (syms_of_file_coding): Add new symbol `composite'.
2337 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2339 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2340 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2341 of `Vcharacter_composition_table' if `->decomposition' property
2343 (Qlatin_tcvn5712): New variable.
2344 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2345 (complex_vars_of_mule_charset): Add new coded-charset
2348 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2350 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2352 * file-coding.h (struct Lisp_Coding_System): Add
2353 `enable_composition'.
2354 (CODING_SYSTEM_COMPOSITE): New macro.
2355 (XCODING_SYSTEM_COMPOSITE): New macro.
2357 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2359 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2361 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2363 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2364 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2366 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2368 * mule-charset.c (Vcharset_mojikyo): New variable.
2369 (Fdefine_char): Don't use coded-charset which does not have
2370 non-builtin character range to allocate character-id.
2371 (Qmojikyo): New variable.
2372 (syms_of_mule_charset): Add new symbol `mojikyo'.
2373 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2375 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2376 (LEADING_BYTE_MOJIKYO): New macro.
2377 (MIN_CHAR_MOJIKYO): New macro.
2378 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2379 (MAX_CHAR_MOJIKYO): New macro.
2381 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2383 * mule-charset.c (remove_char_attribute): Fixed.
2385 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2387 * mule-charset.c (remove_char_attribute): New function.
2388 (Fremove_char_attribute): New function.
2389 (encode_builtin_char_1): Comment out builtin-support for
2390 greek-iso8859-7 and cyrillic-iso8859-5.
2391 (Fdecode_char): Check `code' is an integer.
2392 (syms_of_mule_charset): Add `remove-char-attribute'.
2393 (MIN_CHAR_GREEK): Deleted.
2394 (MAX_CHAR_GREEK): Likewise.
2395 (MIN_CHAR_CYRILLIC): Likewise.
2396 (MAX_CHAR_CYRILLIC): Likewise.
2397 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
2398 MAX_CHAR_GREEK for `greek-iso8859-7'.
2400 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
2401 (MAX_CHAR_GREEK): Likewise.
2402 (MIN_CHAR_CYRILLIC): Likewise.
2403 (MAX_CHAR_CYRILLIC): Likewise.
2405 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
2407 * mule-charset.c (Fdefine_char): Fix problem when new code-point
2408 format is used without `ucs' property.
2409 (Fdecode_char): Fix problem with GR representation.
2410 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
2411 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
2413 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2415 * mule-charset.c (make_builtin_char): New function.
2416 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
2417 (Fset_charset_mapping_table): Modify for new representation of
2419 (Fdecode_char): New function.
2420 (syms_of_mule_charset): Add new builtin function `decode-char' in
2423 * char-ucs.h (make_builtin_char): New prototype.
2424 (DECODE_CHAR): New inline function.
2425 (MAKE_CHAR): Use `DECODE_CHAR'.
2427 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
2429 * text-coding.c (parse_charset_conversion_specs): Use
2430 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
2432 (iso2022_designate): Likewise.
2434 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
2435 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
2437 * mule-charset.c (Vcharset_ucs): New variable.
2438 (print_charset): Change design; use `CHARSET_CHARS' and
2439 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
2440 (make_charset): Change signature to specify `chars' and
2441 `dimension' instead of `type'.
2442 (range_charset_code_point): Modify for 256^n-set.
2443 (encode_builtin_char_1): Encode as `ucs' in default.
2444 (Fmake_charset): Modify for `make_charset'.
2445 (Fmake_reverse_direction_charset): Likewise.
2446 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
2448 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
2451 * char-ucs.h (Vcharset_ucs): New variable.
2452 (LEADING_BYTE_UCS): New macro.
2453 (struct Lisp_Charset): Delete `type'; change type of `dimension'
2454 and `chars' to `unsigned short' from `unsigned int'.
2455 (CHARSET_TYPE): Deleted.
2456 (XCHARSET_TYPE): Deleted.
2458 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
2460 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
2462 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
2463 (ENCODE_CHAR): New macro.
2465 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2467 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2468 to 0.14 (Kawachi-Katakami).
2470 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2472 * text-coding.c (char_encode_shift_jis): Modify for
2473 `charset_code_point'.
2474 (char_encode_iso2022): Likewise.
2476 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
2477 (integer) instead of list of <Lisp_Object>s (integers) as the
2478 format of code-point of a coded-charset.
2479 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2480 (encode_builtin_char_1): New function; delete
2481 `split_builtin_char'.
2482 (charset_code_point): Return <int> instead of <Lisp_Object>.
2483 (Fsplit_char): Don't use `SPLIT_CHAR'.
2485 * char-ucs.h (encode_builtin_char_1): New prototype; delete
2486 prototype for `split_builtin_char'.
2487 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2488 (charset_code_point): Likewise.
2489 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
2490 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
2492 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
2494 * mule-charset.c (complex_vars_of_mule_charset): Don't define
2495 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
2497 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2499 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
2501 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
2502 (MAX_CHAR_OBS_94x94): Deleted.
2504 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2506 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
2508 * char-ucs.h (MAX_CHAR_BMP): New macro.
2510 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2512 * text-coding.c: Sync with r21-2-24.
2514 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2516 * file-coding.c: Modify for UTF-2000.
2518 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2520 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2523 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2525 * mule-charset.c (split_builtin_char): Delete builtin support for
2526 `katakana-jisx0201'.
2527 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
2528 BMP area in builtin representation.
2530 * char-ucs.h (MAKE_CHAR): Delete builtin support for
2531 `Vcharset_katakana_jisx0201'.
2533 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2535 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
2536 (Qisolated): New variable.
2537 (Qinitial): New variable.
2538 (Qmedial): New variable.
2539 (Qfinal): New variable.
2540 (Qvertical): New variable.
2541 (Qsmall): New variable.
2542 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
2543 `Qvertical' and `Qsmall'.
2544 (Qmojikyo_pj_[1 .. 21]): New variable.
2545 (syms_of_mule_charset): Add new symbols `isolated', `initial',
2546 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
2547 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
2550 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2552 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
2553 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
2554 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
2556 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2558 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
2559 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
2561 (Qjapanese_jisx0208_1990): New variable.
2562 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
2563 (complex_vars_of_mule_charset): Add new coded-charset
2564 `japanese-jisx0208-1990'.
2566 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
2567 (MIN_CHAR_JIS_X0208_1990): New macro.
2568 (MAX_CHAR_JIS_X0208_1990): New macro.
2570 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2572 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
2573 coded-charset is not found.
2575 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2577 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
2578 (Fdefine_char): Use `Fmake_char'.
2580 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2582 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
2583 (Vcharset_hiragana_jisx0208): Deleted.
2584 (Vcharset_katakana_jisx0208): Deleted.
2585 (Qideograph_daikanwa): New variable.
2586 (Qhiragana_jisx0208): Deleted.
2587 (Qkatakana_jisx0208): Deleted.
2588 (split_builtin_char): Split `ideograph-daikanwa'.
2589 (Fsplit_char): New implementation for UTF-2000.
2590 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
2591 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
2592 (complex_vars_of_mule_charset): Add new coded-charset
2593 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
2594 `katakana-jisx0208'.
2596 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
2597 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
2598 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
2599 (MIN_CHAR_DAIKANWA): New macro.
2600 (MAX_CHAR_DAIKANWA): New macro.
2602 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2604 * data.c (Fstring_to_number): Don't recognize floating point if
2607 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2609 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
2611 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2613 * mule-charset.c (Qsquare): New variable.
2614 (to_char_code): Add `Qsquare'.
2615 (syms_of_mule_charset): Add new symbol `square'.
2617 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2619 * mule-charset.c (Qcircle): New variable.
2620 (to_char_code): Add `Qcircle'.
2621 (syms_of_mule_charset): Add new symbol `circle'.
2623 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2625 * mule-charset.c (Qfont): New variable.
2626 (to_char_code): Add `Qfont'.
2627 (syms_of_mule_charset): Add new symbol `font'.
2629 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2631 * mule-charset.c (Qsub): New variable.
2632 (to_char_code): Add `Qsub'.
2633 (syms_of_mule_charset): Add new symbol `sub'.
2635 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2637 * mule-charset.c (Fput_char_attribute): Convert each element of
2638 VALUE to GL position if ATTRIBUTE is a GR-set,
2640 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2642 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
2643 coded-charset is a GR-set.
2645 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2647 * mule-charset.c (Fput_char_attribute): Check each element of
2648 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
2650 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2652 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
2654 (Qethiopic_ucs): New variable in UTF-2000.
2655 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
2656 (complex_vars_of_mule_charset): Add new coded-charset
2657 `ethiopic-ucs' in UTF-2000.
2659 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
2660 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2662 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2664 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
2666 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2668 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
2671 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2673 * mule-charset.c (Vcharacter_variant_table): New variable.
2674 (Q_ucs): New variable.
2675 (Fchar_variants): New function.
2676 (Fput_char_attribute): Register `->ucs' value to
2677 `Vcharacter_variant_table'.
2678 (syms_of_mule_charset): Add new function `char-variants' and new
2680 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
2682 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2684 * mule-charset.c (get_char_code_table): Allow negative character
2686 (put_char_code_table): Likewise.
2687 (Vcharacter_composition_table): New variable.
2688 (Q_decomposition): New variable.
2689 (Qwide): New variable.
2690 (Qnarrow): New variable.
2691 (Qcompat): New variable.
2692 (QnoBreak): New variable.
2693 (Qsuper): New variable.
2694 (Qfraction): New variable.
2695 (to_char_code): New function.
2696 (Fget_composite_char): New function.
2697 (Fput_char_attribute): Register `->decomposition' value to
2698 `Vcharacter_composition_table'.
2699 (syms_of_mule_charset): Add new function `get-composite-char', new
2700 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
2701 `super' and `fraction'.
2702 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
2704 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2706 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
2707 character; copy the return value.
2709 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2711 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
2713 * mule-charset.c (range_charset_code_point): Must use make_int.
2714 (split_builtin_char): New function.
2716 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2718 * mule-charset.c (char_byte_table): Change name from
2719 "char-code-table" to "char-byte-table".
2720 (mark_char_code_table): New function.
2721 (char_code_table_equal): New function.
2722 (char_code_table_hash): New function.
2723 (char_code_table_description): New constant.
2724 (char_code_table): New type.
2725 (make_char_code_table): New function.
2726 (copy_char_code_table): New function.
2727 (get_char_code_table): Modify for `char_code_table' type.
2728 (put_char_code_table): Likewise.
2729 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
2732 * char-ucs.h (char_code_table): New type.
2733 (XCHAR_CODE_TABLE): New macro.
2734 (XSETCHAR_CODE_TABLE): New macro.
2735 (CHAR_CODE_TABLE_P): New macro.
2736 (GC_CHAR_CODE_TABLE_P): New macro.
2737 (struct Lisp_Char_Code_Table): New structure.
2739 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2741 * mule-charset.c (Fmake_charset): Setup byte_offset for
2744 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
2746 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
2749 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2751 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
2754 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2756 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
2757 charset, it is regarded as a charset.
2758 (put_char_attribute): New function in UTF-2000.
2759 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
2760 charset, mapping-table of the charset is modified.
2761 (Fdefine_char): New function in UTF-2000.
2762 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
2763 `Fput_char_attribute'.
2764 (syms_of_mule_charset): Add new function `define-char' and new
2765 symbol `ucs' in UTF-2000.
2766 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
2768 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2770 * mule-charset.c (Fcharset_name): Define `byte_offset' in
2771 non-UTF-2000 configuration.
2773 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2775 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
2776 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
2778 * mule-charset.c (mark_charset): `cs->encoding_table' has been
2780 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
2781 (Fset_charset_mapping_table): Likewise.
2783 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
2784 (CHARSET_ENCODING_TABLE): Delete.
2785 (XCHARSET_ENCODING_TABLE): Delete.
2786 (charset_code_point): New interface.
2788 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2790 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
2791 instead of `charset_get_byte1' and `charset_get_byte2'.
2793 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
2794 (charset_get_byte2): Deleted.
2796 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2798 * char-ucs.h (SPLIT_CHAR): New inline function.
2799 (breakup_char_1): Use `SPLIT_CHAR'.
2801 * mule-charset.c (range_charset_code_point): New function.
2802 (charset_code_point): New function.
2804 * char-ucs.h (range_charset_code_point): New interface.
2805 (breakup_char_1): Use `range_charset_code_point'.
2807 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2809 * mule-charset.c (Fmake_charset): Delete unused local variable
2812 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
2813 (breakup_char_1): Find a charset and code-point in
2814 `Vcharacter_attribute_table'.
2816 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2818 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2821 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2823 * mule-charset.c (Vcharacter_attribute_table): New variable.
2824 (Fchar_attribute_alist): New function.
2825 (Fget_char_attribute): New function.
2826 (Fput_char_attribute): New function.
2827 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
2829 (syms_of_mule_charset): Add new function `char-attribute-alist',
2830 `get-char-attribute' and `put-char-attribute'.
2831 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
2833 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
2835 * mule-charset.c (Fmake_charset): Just use
2836 `get_unallocated_leading_byte'.
2838 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
2839 sets; don't use final-byte based number for private sets.
2841 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2843 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
2846 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2848 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2851 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2853 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
2854 of `CHAR_LEADING_BYTE' in UTF-2000.
2856 * insdel.c (find_charsets_in_bufbyte_string): Use
2857 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2858 (find_charsets_in_emchar_string): Likewise.
2860 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
2861 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2863 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
2864 (CHAR_CHARSET_ID): New macro.
2866 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2868 * chartab.c (get_char_table): Don't use type `Charset_ID' for
2869 charset-id - MIN_LEADING_BYTE.
2870 (put_char_table): Likewise.
2872 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2874 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
2875 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
2876 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
2877 (CHARSET_ID_OFFSET): New macro.
2878 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
2879 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
2880 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
2881 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2883 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2885 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
2886 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
2887 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
2888 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
2889 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
2891 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2893 * mule-charset.c (next_allocated_leading_byte): New variable in
2895 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
2896 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
2897 (get_unallocated_leading_byte): Simply use
2898 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
2899 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
2902 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
2903 (MAX_LEADING_BYTE_PRIVATE): New macro.
2904 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
2905 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
2907 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2909 * mule-charset.c (Fmake_charset): Allocate final-byte based
2910 charset-id for 94-set, 96-set and 94x94-set.
2912 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2914 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
2916 (Fmake_charset): Likewise.
2917 (complex_vars_of_mule_charset): Modify the font registry of
2918 `ucs-bmp' not to match `Ethiopic-Unicode'.
2920 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2922 * mule-charset.c (complex_vars_of_mule_charset): Add font
2923 registory of `ucs-bmp'.
2925 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2927 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
2928 coded-charsets in `default-coded-charset-priority-list' when
2929 breaking up a character.
2931 * mule-charset.c (Vcharset_latin_viscii): New variable.
2932 (Qlatin_viscii): New variable.
2933 (make_charset): Don't use `decoding_table'.
2934 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
2936 (Fset_charset_mapping_table): New implementation.
2937 (syms_of_mule_charset): Add new symbol `latin-viscii'.
2938 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
2939 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
2940 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
2941 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
2942 charset `latin_viscii'.
2944 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
2945 (CHARSET_TYPE_94X94): Change to 1 from 2.
2946 (CHARSET_TYPE_96): Change to 2 from 1.
2947 (CHARSET_TYPE_128): New macro.
2948 (CHARSET_TYPE_128X128): Change to 5 from 4.
2949 (CHARSET_TYPE_256): New macro.
2950 (CHARSET_TYPE_256X256): Change to 7 from 5.
2951 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
2953 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2955 * text-coding.c (char_encode_shift_jis): Refer
2956 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
2957 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
2959 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
2960 (char_byte_table_equal): New function in UTF-2000.
2961 (char_byte_table_hash): New function in UTF-2000.
2962 (char_byte_table_description): New constant in UTF-2000.
2963 (char_byte_table): New type in UTF-2000.
2964 (make_char_byte_table): New function in UTF-2000.
2965 (copy_char_byte_table): New function in UTF-2000.
2966 (make_char_code_table): New macro in UTF-2000.
2967 (get_char_code_table): New function in UTF-2000.
2968 (put_char_code_table): New function in UTF-2000.
2969 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2970 (charset_description): Add setting in UTF-2000.
2971 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
2972 `CHARSET_TO_BYTE1_TABLE(cs)'.
2973 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
2974 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
2975 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
2976 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
2977 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
2978 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
2979 `CHARSET_TO_BYTE2_TABLE(cs)'.
2981 * char-ucs.h (char_byte_table): New type.
2982 (XCHAR_BYTE_TABLE): New macro.
2983 (XSETCHAR_BYTE_TABLE): New macro.
2984 (CHAR_BYTE_TABLE_P): New macro.
2985 (GC_CHAR_BYTE_TABLE_P): New macro.
2986 (struct Lisp_Char_Byte_Table): New structure.
2987 (get_char_code_table): New interface.
2988 (Emchar_to_byte_table): Deleted.
2989 (get_byte_from_character_table): Deleted.
2990 (struct Lisp_Charset): Add `encoding_table'; delete
2991 `to_byte1_table' and `to_byte2_table'.
2992 (CHARSET_ENCODING_TABLE): New macro.
2993 (CHARSET_TO_BYTE1_TABLE): Deleted.
2994 (CHARSET_TO_BYTE2_TABLE): Deleted.
2995 (XCHARSET_ENCODING_TABLE): New macro.
2996 (XCHARSET_TO_BYTE1_TABLE): Deleted.
2997 (XCHARSET_TO_BYTE2_TABLE): Deleted.
2999 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3001 * mule-charset.c (syms_of_mule_charset): Delete charset alias
3002 `vietnamese-viscii-*'.
3004 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3006 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
3007 (Qvietnamese_viscii_upper): New variable.
3008 (Fdefine_charset_alias): New function.
3009 (syms_of_mule_charset): Add new function `define-charset-alias'.
3010 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
3011 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
3014 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
3016 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
3017 (MAX_CHAR_OBS_94x94): New macro.
3018 (breakup_char_1): Support obsolete XEmacs-UCS private code space
3021 * mule-charset.c (put_byte_from_character_table): Change unit size
3023 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
3025 (Fmake_reverse_direction_charset): Modify dummy argument of
3026 `make_charset' for non-UTF-2000 environment.
3028 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3030 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
3032 * mule-charset.c (destroy_byte_from_character_table): New macro.
3033 (latin_jisx0201_to_ucs): Deleted.
3034 (latin_iso8859_2_to_ucs): Deleted.
3035 (latin_iso8859_3_to_ucs): Deleted.
3036 (latin_iso8859_4_to_ucs): Deleted.
3037 (latin_iso8859_9_to_ucs): Deleted.
3038 (latin_viscii_lower_to_ucs): Deleted.
3039 (latin_viscii_upper_to_ucs): Deleted.
3040 (mark_charset): Mark `cs->decoding_table'.
3041 (Fcharset_mapping_table): Fix DOC-string.
3042 (Fset_charset_mapping_table): New function.
3043 (syms_of_mule_charset): Add nwe function
3044 `set-charset-mapping-table'.
3045 (complex_vars_of_mule_charset): Don't setup and use
3048 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
3050 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
3053 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
3055 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
3056 (Vcharset_katakana_jisx0208): New variable.
3057 (Qhiragana_jisx0208): New variable.
3058 (Qkatakana_jisx0208): New variable.
3059 (make_charset): Add new argument `byte_offset'.
3060 (charset_get_byte1): Modify for new coded-charset definition; use
3061 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3062 `XCHARSET_BYTE_OFFSET'.
3063 (Fmake_charset): Modify for `make_charset'.
3064 (Fmake_reverse_direction_charset): Likewise.
3065 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
3066 `katakana-jisx0208'.
3067 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
3068 `.' in font registry of charset `katakana-jisx0201',
3069 `latin-jisx0201', `vietnamese-viscii-lower' and
3070 `vietnamese-viscii-upper'; modify DOC-string of charset
3071 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
3072 registry of charset `japanese-jisx0208' not to use font for JIS
3073 X0208:1990; add new charset `hiragana-jisx0208' and
3074 `katakana-jisx0208'.
3076 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
3077 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
3078 (struct Lisp_Charset): Add `byte_offset'.
3079 (CHARSET_BYTE_OFFSET): New macro.
3080 (XCHARSET_UCS_MIN): New macro.
3081 (XCHARSET_UCS_MAX): New macro.
3082 (XCHARSET_CODE_OFFSET): New macro.
3083 (XCHARSET_BYTE_OFFSET): New macro.
3084 (MIN_CHAR_HIRAGANA): New macro.
3085 (MAX_CHAR_HIRAGANA): New macro.
3086 (MIN_CHAR_KATAKANA): New macro.
3087 (MAX_CHAR_KATAKANA): New macro.
3088 (MAKE_CHAR): Modify for new coded-charset definition; use
3089 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3090 `XCHARSET_BYTE_OFFSET'.
3092 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3094 * mule-charset.c (CHAR96): Deleted.
3095 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
3097 (latin_iso8859_2_to_ucs): Likewise.
3098 (latin_iso8859_3_to_ucs): Likewise.
3099 (latin_iso8859_4_to_ucs): Likewise.
3100 (latin_iso8859_9_to_ucs): Likewise.
3101 (latin_viscii_lower_to_ucs): Likewise.
3102 (latin_viscii_upper_to_ucs): Likewise.
3103 (latin_tcvn5712_to_ucs): Commented out.
3104 (make_charset): Change type of argument `decoding_table' from
3105 <Emchar*> to <Lisp_Object> [vector of characters].
3106 (Fmake_charset): Modify for `make_charset'.
3107 (Fmake_reverse_direction_charset): Likewise.
3108 (Fcharset_mapping_table): New function in UTF-2000.
3109 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
3111 (complex_vars_of_mule_charset): Modify for type change of
3112 `*_to_ucs'; modify for `make_charset'.
3114 * char-ucs.h (struct Lisp_Charset): Change type of
3115 `decoding_table' from <Emchar*> to <Lisp_Object>.
3116 (MAKE_CHAR): Modify for new specification of `decoding_table'.
3118 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3120 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
3121 error with non-UTF-2000-Mule.
3123 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
3125 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
3127 (Vcharset_chinese_cns11643_4): Likewise.
3128 (Vcharset_chinese_cns11643_5): Likewise.
3129 (Vcharset_chinese_cns11643_6): Likewise.
3130 (Vcharset_chinese_cns11643_7): Likewise.
3131 (Qchinese_cns11643_3): Likewise.
3132 (Qchinese_cns11643_4): Likewise.
3133 (Qchinese_cns11643_5): Likewise.
3134 (Qchinese_cns11643_6): Likewise.
3135 (Qchinese_cns11643_7): Likewise.
3136 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
3137 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3138 and `chinese-cns11643-7' to lisp/mule/chinese.el.
3139 (complex_vars_of_mule_charset): Likewise.
3141 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3143 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
3145 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
3146 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
3148 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3150 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
3152 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
3153 (breakup_char_1): Likewise.
3155 * text-coding.c (char_encode_iso2022): Keep designated charsets if
3156 one of them includes the specified character.
3158 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3160 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
3162 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3164 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
3166 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3168 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
3169 definition for non-UTF-2000 Mule.
3170 (latin_iso8859_3_to_ucs): Likewise.
3171 (latin_iso8859_4_to_ucs): Likewise.
3172 (latin_iso8859_9_to_ucs): Likewise.
3173 (latin_jisx0201_to_ucs): Likewise.
3174 (MIN_CHAR_THAI): Likewise.
3175 (MAX_CHAR_THAI): Likewise.
3176 (MIN_CHAR_GREEK): Likewise.
3177 (MAX_CHAR_GREEK): Likewise.
3178 (MIN_CHAR_HEBREW): Likewise.
3179 (MAX_CHAR_HEBREW): Likewise.
3180 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
3181 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
3182 (MIN_CHAR_CYRILLIC): Likewise.
3183 (MAX_CHAR_CYRILLIC): Likewise.
3185 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3187 * char-ucs.h (breakup_char_1): Use
3188 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
3189 thai-tis620 and katakana-jisx0201 area.
3191 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3193 * char-ucs.h (breakup_char_1): Use
3194 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
3197 * text-coding.c (reset_encoding_stream): Fixed.
3198 (char_encode_ucs4): Delete `& 255'.
3200 * char-ucs.h (breakup_char_1): Use
3201 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
3203 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3205 * file-coding.c (Fmake_coding_system): Don't set up
3206 `codesys->fixed.size'.
3207 (encode_coding_no_conversion): Don't refer
3208 `str->codesys->fixed.size'.
3210 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3212 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
3213 (latin_a_char_to_byte1): Deleted.
3214 (latin_a_char_to_byte2): Deleted.
3216 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3218 * mule-charset.c (make_charset): Add new argument `ucs_min',
3219 `ucs_max' and `code_offset'.
3220 (charset_get_byte1): New implementation [delete specific charset
3221 depended implementations].
3222 (Fmake_charset): Modify for `make_charset'.
3223 (Fmake_reverse_direction_charset): Likewise.
3224 (complex_vars_of_mule_charset): Likewise.
3226 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
3228 (CHARSET_UCS_MIN): New macro.
3229 (CHARSET_UCS_MAX): New macro.
3230 (CHARSET_CODE_OFFSET): New macro.
3231 (MAKE_CHAR): Delete charset depended definitions [except
3234 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3236 * char-ucs.h (breakup_char_1): Use
3237 `Vdefault_coded_charset_priority_list' for C0-Controls,
3238 Basic-Latin, C1-Controls and Latin-1-Supplement area.
3240 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3242 * char-ucs.h (charset_get_byte1): New function.
3243 (XCHARSET_GET_BYTE1): Deleted.
3244 (charset_get_byte2): New function.
3245 (XCHARSET_GET_BYTE2): Deleted.
3246 (Vdefault_coded_charset_priority_list): New external variable.
3247 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3248 `Vdefault_preferred_coded_charset_list'.
3250 * mule-charset.c (charset_get_byte1): New function.
3251 (charset_get_byte2): New function.
3252 (Vdefault_coded_charset_priority_list): New variable.
3253 (vars_of_mule_charset): Add new variable
3254 `default-coded-charset-priority-list'.
3256 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3258 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3259 (XCHARSET_GET_BYTE2): New inline function.
3260 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3261 `XCHARSET_GET_BYTE2'.
3263 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3265 * mule-charset.c (make_charset): Initialize
3266 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3267 NULL if table is not defined.
3269 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3271 * text-coding.c (char_encode_shift_jis): Use
3272 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3273 `ucs_to_latin_jisx0201'.
3275 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3276 (ucs_to_latin_iso8859_2): Deleted.
3277 (ucs_to_latin_iso8859_3): Deleted.
3278 (ucs_to_latin_iso8859_4): Deleted.
3279 (ucs_to_latin_iso8859_9): Deleted.
3280 (ucs_to_latin_viscii_lower): Deleted.
3281 (ucs_to_latin_viscii_upper): Deleted.
3282 (ucs_to_latin_tcvn5712): Deleted.
3283 (make_charset): Add new argument `decoding_table'; set up
3284 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3285 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3286 `decoding_table' is defined in UTF-2000.
3287 (Fmake_charset): Modify for `make_charset'.
3288 (Fmake_reverse_direction_charset): Likewise.
3289 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3290 and `GENERATE_96_SET'.
3292 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3293 (ucs_to_latin_jisx0201): Deleted.
3294 (latin_iso8859_2_to_ucs): Deleted.
3295 (ucs_to_latin_iso8859_2): Deleted.
3296 (latin_iso8859_3_to_ucs): Deleted.
3297 (ucs_to_latin_iso8859_3): Deleted.
3298 (latin_iso8859_4_to_ucs): Deleted.
3299 (ucs_to_latin_iso8859_4): Deleted.
3300 (latin_iso8859_9_to_ucs): Deleted.
3301 (ucs_to_latin_iso8859_9): Deleted.
3302 (latin_viscii_lower_to_ucs): Deleted.
3303 (ucs_to_latin_viscii_lower): Deleted.
3304 (latin_viscii_upper_to_ucs): Deleted.
3305 (ucs_to_latin_viscii_upper): Deleted.
3306 (struct Lisp_Charset): Renamed `encoding_table' to
3307 `to_byte1_table'; add `to_byte2_table'.
3308 (CHARSET_DECODING_TABLE): New macro.
3309 (CHARSET_TO_BYTE1_TABLE): New macro.
3310 (CHARSET_TO_BYTE2_TABLE): New macro.
3311 (XCHARSET_DECODING_TABLE): New macro.
3312 (XCHARSET_TO_BYTE1_TABLE): New macro.
3313 (XCHARSET_TO_BYTE2_TABLE): New macro.
3314 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3316 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3317 don't use `ucs_to_*' tables.
3319 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3321 * text-coding.c (Fmake_coding_system): Don't set up
3322 `codesys->fixed.size'.
3323 (encode_coding_no_conversion): Use `if' instead of `switch'.
3325 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3327 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3329 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3330 (Fmake_charset): Modify for `make_charset'.
3331 (Fmake_reverse_direction_charset): Likewise.
3332 (complex_vars_of_mule_charset): Likewise.
3334 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3336 * text-coding.c (char_encode_shift_jis): Use table
3337 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3339 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3341 * text-coding.c (text_encode_generic): Use `if' instead of
3343 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3346 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3348 * text-coding.c (encode_coding_sjis): Deleted.
3349 (char_encode_shift_jis): New function.
3350 (char_finish_shift_jis): New function.
3351 (reset_encoding_stream): Set up `encode_char' and `finish' for
3352 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3353 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3354 (char_encode_utf8): Treat `eol_type'.
3356 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3358 * file-coding.c (decode_coding_iso2022): Use
3359 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3361 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3363 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3366 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3368 * char-lb.h (CHAR_COLUMNS): New macro.
3370 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3372 * text-coding.c (char_encode_ucs4): New function.
3373 (char_finish_ucs4): New function.
3374 (encode_coding_ucs4): Deleted.
3375 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3376 (text_encode_generic): Delete local variable `charset' and `half'.
3377 (ucs_to_mule_table): Deleted.
3378 (mule_to_ucs_table): Deleted.
3379 (Fset_ucs_char): Deleted.
3380 (ucs_to_char): Deleted.
3381 (Fucs_char): Deleted.
3382 (Fset_char_ucs): Deleted.
3383 (Fchar_ucs): Deleted.
3384 (decode_ucs4): Deleted.
3385 (mule_char_to_ucs4): Deleted.
3386 (encode_ucs4): Deleted.
3387 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3388 (decode_coding_utf8): Likewise.
3389 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3390 (char_encode_iso2022): Fixed.
3391 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3392 `Fset_char_ucs' and `Fchar_ucs'.
3393 (complex_vars_of_file_coding): Don't initialize
3394 `ucs_to_mule_table'.
3396 * objects-tty.c (tty_initialize_font_instance): Don't use
3399 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
3402 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
3403 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3405 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
3406 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3407 (emchar_string_displayed_columns): Likewise.
3409 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
3410 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3411 (string_column_at_point): Likewise.
3412 (Fmove_to_column): Likewise.
3414 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
3415 `encoding_table' and `decoding_table'.
3416 (CHARSET_REP_BYTES): Deleted.
3417 (XCHARSET_REP_BYTES): Deleted.
3418 (XCHARSET_COLUMNS): Deleted.
3419 (CHAR_COLUMNS): New macro.
3420 (lookup_composite_char): Deleted unconditionally.
3421 (composite_char_string): Likewise.
3423 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3425 * char-ucs.h (Emchar_to_byte_table): New type.
3426 (get_byte_from_character_table): New function interface.
3427 (Vcharset_latin_jisx0201): New variable.
3428 (latin_jisx0201_to_ucs): New variable.
3429 (ucs_to_latin_jisx0201): New variable.
3430 (Vcharset_latin_iso8859_2): New variable.
3431 (latin_iso8859_2_to_ucs): New variable.
3432 (ucs_to_latin_iso8859_2): New variable.
3433 (Vcharset_latin_iso8859_3): New variable.
3434 (latin_iso8859_3_to_ucs): New variable.
3435 (ucs_to_latin_iso8859_3): New variable.
3436 (Vcharset_latin_iso8859_4): New variable.
3437 (latin_iso8859_4_to_ucs): New variable.
3438 (ucs_to_latin_iso8859_4): New variable.
3439 (Vcharset_latin_iso8859_9): New variable.
3440 (latin_iso8859_9_to_ucs): New variable.
3441 (ucs_to_latin_iso8859_9): New variable.
3442 (Vcharset_latin_viscii_lower): New variable.
3443 (latin_viscii_lower_to_ucs): New variable.
3444 (ucs_to_latin_viscii_lower): New variable.
3445 (Vcharset_latin_viscii_upper): New variable.
3446 (latin_viscii_upper_to_ucs): New variable.
3447 (ucs_to_latin_viscii_upper): New variable.
3448 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
3449 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
3450 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
3451 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
3452 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
3453 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
3454 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
3455 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
3456 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
3457 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
3459 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
3460 (Vcharset_latin_viscii_upper): New variable.
3461 (make_byte_from_character_table): New function.
3462 (put_byte_from_character_table): New function.
3463 (get_byte_from_character_table): New function.
3464 (CHAR96): New macro.
3465 (ucs_to_latin_jisx0201): New variable.
3466 (latin_jisx0201_to_ucs): New variable.
3467 (ucs_to_latin_iso8859_2): New variable.
3468 (latin_iso8859_2_to_ucs): New variable.
3469 (ucs_to_latin_iso8859_3): New variable.
3470 (latin_iso8859_3_to_ucs): New variable.
3471 (ucs_to_latin_iso8859_4): New variable.
3472 (latin_iso8859_4_to_ucs): New variable.
3473 (ucs_to_latin_iso8859_9): New variable.
3474 (latin_iso8859_9_to_ucs): New variable.
3475 (ucs_to_latin_viscii_lower): New variable.
3476 (latin_viscii_lower_to_ucs): New variable.
3477 (ucs_to_latin_viscii_upper): New variable.
3478 (latin_viscii_upper_to_ucs): New variable.
3479 (ucs_to_latin_tcvn5712): New variable.
3480 (latin_tcvn5712_to_ucs): New variable.
3481 (Qlatin_viscii_lower): New variable.
3482 (Qlatin_viscii_upper): New variable.
3483 (syms_of_mule_charset): Set up new symbol
3484 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
3485 (complex_vars_of_mule_charset): Set up new charset
3486 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
3487 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
3488 `ucs_to_<CHARSET>' tables.
3490 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3492 * text-coding.c: New file.
3494 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3496 * mule-charset.c (Fmake_char): Fix problem of 256-set.
3498 * char-ucs.h (Vcharset_ucs_bmp): New variable.
3499 (MAKE_CHAR): Modify for `ucs-bmp'.
3500 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
3501 non-MULE characters of BMP.
3503 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
3505 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3508 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
3511 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
3512 - Include character.h for `CHAR_ASCII_P'.
3514 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
3516 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
3517 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
3519 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
3520 (BYTE_C0_P): Likewise.
3521 (BYTE_C1_P): Likewise.
3522 (Lstream_get_emchar_1): Likewise.
3523 (Lstream_fput_emchar): Likewise.
3524 (Lstream_funget_emchar): Likewise.
3525 (copy_internal_to_external): Likewise.
3526 (copy_external_to_internal): Likewise.
3528 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
3529 (BYTE_C0_P): Likewise.
3530 (BYTE_C1_P): Likewise.
3531 (Lstream_get_emchar_1): Likewise.
3532 (Lstream_fput_emchar): Likewise.
3533 (Lstream_funget_emchar): Likewise.
3534 (copy_internal_to_external): Likewise.
3535 (copy_external_to_internal): Likewise.
3537 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
3538 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3540 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
3541 (BYTE_ASCII_P): Moved to mb-1byte.h.
3543 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
3545 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
3547 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
3548 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
3549 (VALID_CHARPTR_P): Moved to mb-*byte.h.
3550 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3551 (VALIDATE_CHARPTR_FORWARD): Likewise.
3552 (simple_charptr_emchar): Moved to mb-multibyte.h.
3553 (simple_set_charptr_emchar): Likewise.
3554 (simple_charptr_copy_char): Likewise.
3555 (non_ascii_charptr_emchar): Likewise.
3556 (non_ascii_set_charptr_emchar): Likewise.
3557 (non_ascii_charptr_copy_char): Likewise.
3558 (charptr_emchar): Moved to mb-*byte.h.
3559 (set_charptr_emchar): Likewise.
3560 (charptr_copy_char): Likewise.
3562 * mb-1byte.h, mb-multibyte.h: New files.
3564 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3566 * mb-utf-8.h (MULTIBYTE): New macro.
3567 (MAX_EMCHAR_LEN): Moved from buffer.h.
3568 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
3570 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
3572 * mb-lb.h, multibyte.h: New files.
3574 * char-1byte.h (Charset_ID): Moved from buffer.h.
3575 (MIN_LEADING_BYTE): Likewise.
3576 (LEADING_BYTE_ASCII): Likewise.
3577 (NUM_LEADING_BYTES): Likewise.
3578 (CHARSETP): Likewise.
3579 (CHARSET_BY_LEADING_BYTE): Likewise.
3580 (XCHARSET_LEADING_BYTE): Likewise.
3581 (XCHARSET_GRAPHIC): Likewise.
3582 (XCHARSET_COLUMNS): Likewise.
3583 (XCHARSET_DIMENSION): Likewise.
3584 (CHAR_CHARSET): Likewise.
3585 (CHAR_LEADING_BYTE): Likewise.
3586 (BREAKUP_CHAR): Likewise.
3587 (Vcharset_ascii): Likewise.
3589 * buffer.h: Include multibyte.h unconditionally.
3590 (VALID_CHARPTR_P): Moved to multibyte.h.
3591 (ASSERT_VALID_CHARPTR): Likewise.
3592 (REAL_INC_CHARPTR): Likewise.
3593 (REAL_INC_CHARBYTIND): Likewise.
3594 (REAL_DEC_CHARPTR): Likewise.
3595 (INC_CHARPTR): Likewise.
3596 (INC_CHARBYTIND): Likewise.
3597 (DEC_CHARPTR): Likewise.
3598 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3599 (VALIDATE_CHARPTR_FORWARD): Likewise.
3600 (charptr_n_addr): Likewise.
3601 (MAX_EMCHAR_LEN): Moved to mb-*.h.
3602 (simple_charptr_emchar): Moved to multibyte.h.
3603 (simple_set_charptr_emchar): Likewise.
3604 (simple_charptr_copy_char): Likewise.
3605 (non_ascii_charptr_emchar): Likewise.
3606 (non_ascii_set_charptr_emchar): Likewise.
3607 (non_ascii_charptr_copy_char): Likewise.
3608 (charptr_emchar): Likewise.
3609 (set_charptr_emchar): Likewise.
3610 (charptr_copy_char): Likewise.
3611 (charptr_emchar_n): Likewise.
3612 (Charset_ID): Moved to char-1byte.h.
3613 (Vcharset_ascii): Likewise.
3614 (CHAR_CHARSET): Likewise.
3615 (CHAR_LEADING_BYTE): Likewise.
3616 (LEADING_BYTE_ASCII): Likewise.
3617 (NUM_LEADING_BYTES): Likewise.
3618 (MIN_LEADING_BYTE): Likewise.
3619 (CHARSETP): Likewise.
3620 (CHARSET_BY_LEADING_BYTE): Likewise.
3621 (XCHARSET_LEADING_BYTE): Likewise.
3622 (XCHARSET_GRAPHIC): Likewise.
3623 (XCHARSET_COLUMNS): Likewise.
3624 (XCHARSET_DIMENSION): Likewise.
3625 (BREAKUP_CHAR): Likewise.
3627 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3629 * character.h: Add document about interface for characters.
3631 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
3632 (MAKE_CHAR): Delete comment about
3633 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
3634 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
3635 (BREAKUP_CHAR): Modify name of arguments.
3636 (CHAR_CHARSET): Modify name of argument.
3638 * buffer.h: Delete document about Emchar accessors.
3640 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3642 * character.h (CHAR_INTP): Moved from buffer.h
3643 (CHAR_OR_CHAR_INTP): Likewise.
3644 (XCHAR_OR_CHAR_INT): Likewise.
3645 (CHECK_CHAR_COERCE_INT): Likewise.
3647 * buffer.h (CHAR_INTP): Moved to character.h
3648 (CHAR_OR_CHAR_INTP): Likewise.
3649 (XCHAR_OR_CHAR_INT): Likewise.
3650 (CHECK_CHAR_COERCE_INT): Likewise.
3652 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3655 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
3656 - Include char-1byte.h, char-lb.h or char-ucs.h.
3658 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
3660 * buffer.h: Include character unconditionally.
3661 (valid_char_p): Moved to char-*.h.
3662 (non_ascii_valid_char_p): Moved to char-lb.h.
3664 * char-1byte.h, char-lb.h, char-ucs.h: New files.
3666 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3668 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
3669 in UTF-2000 because it is not ported yet and not to use
3670 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
3671 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
3672 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
3674 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
3675 (CHAR_ASCII_P): Moved from character.h.
3677 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
3678 (CHAR_ASCII_P): Likewise.
3679 (CHAR_FIELD1_MASK): Deleted.
3680 (CHAR_FIELD2_MASK): Deleted.
3681 (CHAR_FIELD3_MASK): Deleted.
3682 (MAX_CHAR_BASIC_LATIN): New macro.
3683 (CHAR_FIELD1): Deleted.
3684 (CHAR_FIELD2_INTERNAL): Deleted.
3685 (CHAR_FIELD3_INTERNAL): Deleted.
3686 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
3687 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
3688 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
3689 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
3690 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
3691 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
3692 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
3693 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
3694 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
3695 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
3696 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
3697 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
3698 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
3699 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
3700 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
3701 (MIN_CHAR_COMPOSITION): Deleted.
3702 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
3703 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
3705 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
3707 * buffer.h: Include mb-utf-8.h in UTF-2000.
3709 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
3711 * mb-utf-8.h: New file.
3713 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
3715 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
3718 * mule-charset.h, buffer.h (Charset_ID): New type.
3720 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3722 * mule-canna.c (c2mu): Use `MAKE_CHAR',
3723 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
3724 instead of `MULE_CHAR_PRIVATE_OFFSET',
3725 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
3726 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
3727 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
3729 * character.h (Vcharset_japanese_jisx0212): New variable
3732 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3734 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
3735 (charset_by_attributes): Delete array about direction.
3736 (latin_a_char_to_charset): New variable in UTF-2000.
3737 (latin_a_char_to_byte1): New variable in UTF-2000.
3738 (latin_a_char_to_byte2): New variable in UTF-2000.
3739 (Qucs_bmp): New variable.
3740 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
3742 (next_allocated_2_byte_leading_byte): Likewise.
3743 (non_ascii_set_charptr_emchar): Likewise.
3744 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
3745 `CHARSET_TYPE_256X256' in UTF-2000; modify for
3746 `charset_by_attributes'.
3747 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
3748 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
3749 and `CHARSET_BY_LEADING_BYTE'.
3750 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
3751 `utf-2000-version' to `vars_of_mule_charset'.
3752 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
3753 define `leading-code-private-11' in UTF-2000; move setting of
3754 `utf-2000-version' from `syms_of_mule_charset'.
3755 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
3758 * character.h (Charset_ID): New type.
3759 (LEADING_BYTE_UCS_BMP): New macro.
3760 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
3761 (CHARSET_ID_OFFSET_94): New macro.
3762 (MIN_CHARSET_ID_PRIVATE_94): New macro.
3763 (MAX_CHARSET_ID_PRIVATE_94): New macro.
3764 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
3766 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
3767 (LEADING_BYTE_LATIN_JISX0201): Likewise.
3768 (CHARSET_ID_OFFSET_96): New macro.
3769 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
3770 CHARSET_ID_OFFSET_96 and final-byte.
3771 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
3772 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
3773 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
3774 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
3775 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
3776 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
3777 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
3778 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
3779 (LEADING_BYTE_THAI_TIS620): Likewise.
3780 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
3781 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
3782 (CHARSET_ID_OFFSET_94x94): New macro.
3783 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
3784 CHARSET_ID_OFFSET_94x94 and final-byte.
3785 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
3786 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
3787 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
3788 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
3789 (LEADING_BYTE_CHINESE_GB2312): Likewise.
3790 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
3791 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
3792 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
3793 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
3794 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
3795 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
3796 (CHARSET_TYPE_128X128): New macro.
3797 (CHARSET_TYPE_256X256): New macro.
3798 (XCHARSET_PRIVATE_P): Delete unconditionally.
3799 (charset_by_attributes): Delete array about direction.
3800 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
3801 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
3802 (MIN_CHAR_94): New macro.
3803 (MAX_CHAR_94): New macro.
3804 (MIN_CHAR_96): New macro.
3805 (MAX_CHAR_96): New macro.
3806 (MIN_CHAR_94x94): New macro.
3807 (MAX_CHAR_94x94): New macro.
3808 (MIN_CHAR_96x96): New macro.
3809 (MAX_CHAR_96x96): New macro.
3810 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
3811 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3812 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
3814 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
3815 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
3816 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
3817 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
3818 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
3819 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
3820 `XCHARSET_LEADING_BYTE' to make code-point.
3821 (latin_a_char_to_charset): New variable.
3822 (latin_a_char_to_byte1): New variable.
3823 (latin_a_char_to_byte2): New variable.
3824 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
3825 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
3826 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
3828 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
3829 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
3830 (find_charsets_in_emchar_string): Likewise.
3831 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
3833 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
3835 (decode_coding_iso2022): Likewise.
3837 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
3840 * redisplay.c (redisplay_text_width_emchar_string): Use
3841 `Charset_ID' instead of `unsigned char'.
3842 (redisplay_frame_text_width_string): Likewise.
3844 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
3847 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
3848 instead of `unsigned char'.
3849 (face_cachel_charset_font_metric_info): Likewise.
3851 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
3852 (get_non_ascii_char_table_value): Likewise.
3853 (get_char_table): Likewise.
3854 (put_char_table): Likewise.
3855 (map_over_other_charset): Likewise.
3856 (map_char_table): Likewise.
3858 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
3859 instead of `unsigned char'.
3861 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
3863 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
3864 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
3866 * mule-charset.c (leading_code_private_11): Don't define in
3869 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
3870 in UTF-2000 because it is not ported yet and not to use
3871 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
3873 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
3875 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
3877 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3879 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
3882 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
3883 of unsigned char to store leading-byte.
3885 * chartab.c (get_non_ascii_char_table_value): Don't use
3886 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
3888 * file-coding.c (encode_coding_big5): Delete bogus implementation
3891 * character.h (LEADING_BYTE_*): Delete definition for
3893 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
3894 (LEADING_BYTE_PREFIX_P): Deleted.
3895 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
3896 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
3897 (BUFBYTE_LEADING_BYTE_P): Deleted.
3898 (CHARSET_PRIVATE_P): Deleted unconditionally.
3899 (rep_bytes_by_first_byte): Deleted unconditionally.
3900 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
3901 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
3902 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3903 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
3904 (CHAR_FIELD2): Deleted.
3905 (CHAR_FIELD3): Deleted.
3906 (MAKE_CHAR): Delete definition for non-UTF-2000.
3907 (BREAKUP_CHAR_1_UNSAFE): Deleted.
3908 (breakup_char_1): New implementation.
3909 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
3910 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
3912 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3914 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
3917 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3919 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
3920 (CHARSET_PRIVATE_P): Likewise.
3921 (XCHARSET_PRIVATE_P): Likewise.
3922 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
3924 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
3926 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
3928 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3930 * character.h (LEADING_BYTE_*): Changed in UTF2000.
3931 (NUM_LEADING_BYTES): Changed from 128 to 256.
3932 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3933 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
3935 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3937 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
3939 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
3940 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
3941 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
3942 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
3943 (Qchinese_cns11643_3): New variable in UTF2000.
3944 (Qchinese_cns11643_4): New variable in UTF2000.
3945 (Qchinese_cns11643_5): New variable in UTF2000.
3946 (Qchinese_cns11643_6): New variable in UTF2000.
3947 (Qchinese_cns11643_7): New variable in UTF2000.
3948 (syms_of_mule_charset): Define `chinese-cns11643-3',
3949 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3950 and `chinese-cns11643-7' in UTF2000.
3951 (vars_of_mule_charset): Initialize
3952 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
3954 (complex_vars_of_mule_charset): Setup charset
3955 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
3956 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
3958 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3960 * mule-charset.c: Move setting for `leading-code-private-11' from
3961 `syms_of_mule_charset' to `vars_of_mule_charset'.
3963 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3965 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
3966 and `NUM_LEADING_BYTES' in assert.
3968 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3970 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
3972 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
3973 `NUM_LEADING_BYTES' instead of 128.
3975 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3977 * mule-charset.h (charset_by_leading_byte): Use
3978 `NUM_LEADING_BYTES' instead of 128.
3979 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
3981 * mule-charset.c (charset_by_leading_byte): Use
3982 `NUM_LEADING_BYTES' instead of 128.
3983 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
3985 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
3988 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3990 * mule-charset.c (syms_of_mule_charset): Update to
3993 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
3995 * file-coding.c (encode_coding_sjis): New implementation for
3996 UTF2000. (decode_coding_sjis): Ditto.
3998 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4000 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
4001 Don't define in UTF2000.
4003 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
4006 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4007 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
4010 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4012 * config.h.in (CHAR_IS_UCS4): New macro.
4014 * mule-charset.c (rep_bytes_by_first_byte): Modify for
4015 conventional MULE representation.
4016 (syms_of_mule_charset): Update to 0.3 (Imamiya).
4018 * mule-charset.h: Reverted to original.
4020 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4021 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
4022 "mule-charset.h" if CHAR_IS_UCS4 is defined.
4024 * character.h: New file.
4026 * file-coding.c (Fmake_coding_system): Set 1 to
4027 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
4029 (encode_coding_no_conversion): New implementation for UTF2000.
4031 * file-coding.h (struct Lisp_Coding_System): Add new member
4034 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
4036 * file-coding.c (decode_coding_iso2022): Code-point arguments of
4037 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
4038 (encode_coding_iso2022): New implementation for UTF2000.
4040 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4042 * mule-canna.c (c2mu): New implementation for UTF2000.
4045 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4047 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
4049 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4051 * file-coding.c (reset_encoding_stream): Set 0 to
4052 `str->iso2022.current_char_boundary' in UTF2000.
4053 (encode_utf8): Don't define in UTF2000.
4054 (encode_coding_utf8): New implementation for UTF-8 representation
4056 (complex_vars_of_file_coding): Define coding-system `utf-8'.
4058 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4060 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
4062 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
4064 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4066 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
4068 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
4069 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
4070 as UTF-8 in UTF2000.
4071 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
4072 (non_ascii_valid_char_p): Don't define in UTF2000.
4073 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
4074 (Lstream_get_emchar_1): Likewise.
4075 (utf-2000-version): New variable in UTF2000.
4077 * lread.c (read_escape): Add new reader `u'.
4079 * insdel.c (three_to_one_table): Don't define in UTF2000.
4080 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
4081 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4083 (bytind_to_bufpos_func): Likewise.
4084 (buffer_mule_signal_inserted_region): Likewise.
4085 (vars_of_insdel): Don't initialize `three_to_one_table'.
4086 (init_buffer_text): Use `buf->text->mule_size' instead of
4087 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4090 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
4091 UTF-8 representation in UTF2000.
4092 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
4093 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
4094 (decode_coding_iso2022): Don't define local variable `lb' in
4095 UTF2000; don't use LEADING_BYTE in UTF2000; use
4096 `DECODE_ADD_UCS_CHAR' in UTF2000.
4097 (convert_to_external_format): Decode as UTF-8 in UTF2000.
4099 * config.h.in (UTF2000): New macro.
4101 * buffer.h (struct buffer_text): Add new member `mule_size' and
4102 don't add `mule_shifter' and `mule_three_p' in UTF2000.
4103 (valid_char_p): Return always 1 in UTF2000.
4104 (MAX_EMCHAR_LEN): 6 in UTF2000.
4105 (three_to_one_table): Don't define in UTF2000.
4106 (real_bufpos_to_bytind): Modify for UTF-8 representation in
4108 (real_bytind_to_bufpos): Likewise.
4110 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
4112 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4114 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
4115 representation change.
4116 (Vutf_2000_version): New variable.
4117 (leading_code_private_11): New variable.
4118 (syms_of_mule_charset): Add new variables `utf-2000-version' and
4119 `leading-code-private-11'.
4121 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
4122 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
4123 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
4124 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
4125 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
4126 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
4127 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
4128 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
4129 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
4130 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
4131 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
4132 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
4133 (MIN_CHAR_GREEK): New macro.
4134 (MAX_CHAR_GREEK): New macro.
4135 (MIN_CHAR_CYRILLIC): New macro.
4136 (MAX_CHAR_CYRILLIC): New macro.
4137 (MIN_CHAR_HEBREW): New macro.
4138 (MAX_CHAR_HEBREW): New macro.
4139 (MIN_CHAR_THAI): New macro.
4140 (MAX_CHAR_THAI): New macro.
4141 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
4142 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
4143 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
4144 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
4145 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
4146 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
4147 (CHAR_FIELD2): New inline function.
4148 (CHAR_FIELD3): New inline function.
4149 (MULE_CHAR_PRIVATE_OFFSET): New macro.
4150 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
4151 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
4152 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
4153 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
4154 (MIN_CHAR_COMPOSITION): Likewise.
4155 (CHAR_LEADING_BYTE): Modified for character representation change.
4156 (MAKE_CHAR): Likewise.
4158 * lisp.h (Vcharset_latin_iso8859_1): New variable.
4159 (Vcharset_greek_iso8859_7): Likewise.
4160 (Vcharset_cyrillic_iso8859_5): Likewise.
4161 (Vcharset_hebrew_iso8859_8): Likewise.
4162 (Vcharset_thai_tis620): Likewise.
4163 (Vcharset_katakana_jisx0201): Likewise.
4165 2001-02-08 Martin Buchholz <martin@xemacs.org>
4167 * XEmacs 21.2.44 "Thalia" is released.
4169 2001-02-06 Martin Buchholz <martin@xemacs.org>
4171 Fixes crashes in kill-emacs on some systems.
4172 * process-unix.c (unix_kill_child_process):
4173 It's OK for kill() to fail with ESRCH.
4175 2001-02-07 Martin Buchholz <martin@xemacs.org>
4177 Contortions to make .gdbinit tricks work on most systems.
4178 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
4179 * alloc.c (dbg_valmask): Make non-const.
4180 * alloc.c (dbg_typemask): Make non-const.
4181 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
4182 * alloc.c (dbg_valbits): Make non-const.
4183 * alloc.c (dbg_gctypebits): Make non-const.
4184 * .gdbinit (decode_object): Make it work with AIX cc.
4186 2001-02-06 Martin Buchholz <martin@xemacs.org>
4188 * elhash.c (make_general_lisp_hash_table):
4189 Use simpler and more efficient calloc to clear entries.
4191 2001-02-07 Martin Buchholz <martin@xemacs.org>
4193 * window.c (window_scroll): Work around an AIX C compiler bug.
4194 Fixes 'scroll-up' does nothing problem with xlC.
4196 2001-02-05 Martin Buchholz <martin@xemacs.org>
4198 * .gdbinit: Remove obsolete comment.
4200 2001-01-31 Mike Alexander <mta@arbortext.com>
4202 * select.c (Fown_selection_internal): Set owned_p for device
4205 2001-02-01 Martin Buchholz <martin@xemacs.org>
4208 "not" cannot be used as a macro name as it is an operator in C++
4209 * config.h.in: Stop #defining `not'.
4210 * chartab.c (check_category_char): not ==> not_p
4211 * chartab.h: Likewise.
4212 * regex.c (re_match_2_internal): Likewise.
4214 2001-02-02 Martin Buchholz <martin@xemacs.org>
4216 * lisp-disunion.h: Fix up comments.
4218 2001-01-31 Martin Buchholz <martin@xemacs.org>
4220 * keymap.c (define_key_check_and_coerce_keysym):
4222 Support mouse-6 and mouse-7 bindings in the obvious way.
4224 2001-02-01 Martin Buchholz <martin@xemacs.org>
4226 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
4228 2001-01-30 Martin Buchholz <martin@xemacs.org>
4230 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
4231 Previous patch missed DEFVAR_INT_MAGIC.
4232 Make sure future DEFVAR_foo use correct types.
4233 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
4234 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
4235 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
4236 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
4237 * (DEFVAR_INT): Likewise.
4238 * redisplay.c (vertical_clip): Should be of type Fixnum.
4239 * redisplay.c (horizontal_clip): Likewise.
4240 * lisp.h (dump_add_opaque_int): New.
4241 (dump_add_opaque_fixnum): New.
4243 2001-01-29 Andy Piper <andy@xemacs.org>
4245 * glyphs-widget.c (check_valid_int_or_function): allow symbols
4246 since they can be eval'ed
4248 2001-01-29 Martin Buchholz <martin@xemacs.org>
4250 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
4251 Oops, XEmacs redefines `class'. Use `typename' instead.
4253 2001-01-28 Martin Buchholz <martin@xemacs.org>
4255 * dumper.c: Fix C++ compile errors.
4257 2001-01-29 Martin Buchholz <martin@xemacs.org>
4259 * tparam.c: Use correct prototypes.
4261 2001-01-28 Martin Buchholz <martin@xemacs.org>
4263 * sysproc.h: #include util.h for NetBSD's openpty.
4265 2001-01-27 Martin Buchholz <martin@xemacs.org>
4267 More 64-bit correctness.
4268 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
4269 Use a typedef `fixnum' for the type used for DEFVAR_INT.
4271 This finally finishes the 64-bit SGI port.
4272 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
4273 * symbols.c: Fix up comments and type casts.
4274 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
4275 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
4276 * symeval.h (Fixnum): New type.
4277 * symeval.h (symbol_value_type): Fix up comment.
4293 * mule-canna.c: A million DEFVAR_INTs here...
4294 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
4307 s/int/Fixnum/g in DEFVAR_INT declarations.
4309 2001-01-26 Martin Buchholz <martin@xemacs.org>
4311 Port pdump to SGI alignment-sensitive environment.
4312 Lisp Object sizeof methods now return aligned sizes. Rely on that.
4313 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
4315 Define and use aligned reading and writing macros.
4316 Use buffered stdio instead of posix i/o for faster dumping.
4317 Eliminate kludgy 256 byte space for header.
4318 Read and write from dump file using structs for alignment safety.
4319 * dumper.c (pdump_align_stream): New.
4320 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
4321 * dumper.c (PDUMP_READ_ALIGNED): New.
4322 * dumper.c (PDUMP_WRITE_ALIGNED): New.
4323 * dumper.c (pdump_static_Lisp_Object): New struct.
4324 * dumper.c (pdump_static_pointer): New struct.
4325 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
4326 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
4327 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
4328 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
4330 * dumper.c (pdump_backtrace):
4331 * dumper.c (pdump_get_indirect_count):
4332 * dumper.c (pdump_register_object):
4333 * dumper.c (pdump_register_struct):
4334 * dumper.c (pdump_reloc_one):
4335 * dumper.c (pdump_scan_by_alignment):
4336 * dumper.c (pdump_dump_from_root_struct_ptrs):
4337 * dumper.c (pdump_dump_opaques):
4338 * dumper.c (pdump_dump_rtables):
4339 * dumper.c (pdump_dump_from_root_objects):
4341 * dumper.c (pdump_load_finish):
4342 Use aligned reading and writing.
4344 * dumper.c (pdump_free): Make static.
4345 * dumper.c (pdump_hFile): Likewise.
4346 * dumper.c (pdump_hMap): Likewise.
4348 2001-01-26 Martin Buchholz <martin@xemacs.org>
4350 * XEmacs 21.2.43 "Terspichore" is released.
4352 2001-01-25 Martin Buchholz <martin@xemacs.org>
4354 Type fiddling for window_config.saved_windows_count
4355 * window.c (struct window_config):
4356 Make saved_windows_count member unsigned.
4357 * window.c (sizeof_window_config_for_n_windows):
4358 Make parameter unsigned.
4359 * window.c (mark_window_config):
4360 * window.c (window_config_equal):
4361 * window.c (free_window_configuration):
4362 * window.c (Fset_window_configuration):
4363 * window.c (count_windows):
4364 * window.c (Fcurrent_window_configuration):
4365 * window.c (reinit_vars_of_window):
4366 Update all callers and users.
4368 2001-01-25 Martin Buchholz <martin@xemacs.org>
4370 Alignment correctness for flexible arrays.
4371 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
4372 Make alignment-correct. Add interesting comments.
4373 * alloc.c (size_vector):
4374 * alloc.c (make_vector_internal):
4375 * alloc.c (make_bit_vector_internal):
4376 * alloc.c (sweep_bit_vectors_1):
4377 * fns.c (size_bit_vector):
4378 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
4379 * window.c (sizeof_window_config_for_n_windows):
4380 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
4382 2001-01-24 Martin Buchholz <martin@xemacs.org>
4384 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
4386 2001-01-23 Andy Piper <andy@xemacs.org>
4388 * select.c (Fown_selection_internal): pass owned_p
4390 * select-msw.c (mswindows_own_selection): New Signature.
4392 * console.h (struct console_methods): add owned_p to
4395 * select-x.c (x_own_selection): pass owned_p
4396 (hack_motif_clipboard_selection): use owned_p
4397 (vars_of_select_x): new variable -
4398 x_selection_strict_motif_ownership.
4400 2001-01-23 Martin Buchholz <martin@xemacs.org>
4402 * specifier.h (specifier_data_offset): Remove pointless parens.
4403 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
4405 2001-01-24 Martin Buchholz <martin@xemacs.org>
4407 Make Lisp_Object sizeof methods be alignment-correct.
4408 pdump must restore objects to the same alignment as the C compiler
4409 assumes. It really matters on SGIs.
4410 * lstream.c (aligned_sizeof_lstream): New.
4411 (sizeof_lstream): Use aligned_sizeof_lstream.
4412 (Lstream_new): Likewise.
4413 * opaque.c (aligned_sizeof_opaque): New.
4414 (sizeof_opaque): Use aligned_sizeof_opaque.
4415 (make_opaque): Likewise.
4416 * specifier.c (aligned_sizeof_specifier): New.
4417 (sizeof_specifier): Use aligned_sizeof_specifier.
4418 (make_specifier_internal): Likewise.
4420 2001-01-23 Martin Buchholz <martin@xemacs.org>
4422 * lstream.h (struct lstream): Use max_align_t for trailing data.
4423 * specifier.h (struct Lisp_Specifier): Likewise.
4425 2001-01-22 Martin Buchholz <martin@xemacs.org>
4427 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
4428 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
4429 (CCL_SUSPEND): Likewise.
4430 (CCL_INVALID_CMD): Likewise.
4431 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
4432 (ccl_driver): Likewise.
4433 (CCL_WRITE_CHAR): Macro hygiene.
4434 (CCL_WRITE_STRING): Macro hygiene.
4436 2001-01-22 Martin Buchholz <martin@xemacs.org>
4438 Port "portable" dumper to SunOS 4 and HP-UX.
4439 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
4440 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
4441 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
4443 2001-01-22 Martin Buchholz <martin@xemacs.org>
4445 * lisp.h (ALIGNOF): A better definition for C++.
4447 2001-01-20 Martin Buchholz <martin@xemacs.org>
4450 Fix printf warnings: int format, long int arg.
4451 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
4452 (PUSH_FAILURE_POINT): Use correct printf formats.
4453 (POP_FAILURE_POINT): Use correct printf formats.
4454 Use do {...} while (0)
4456 2001-01-20 Martin Buchholz <martin@xemacs.org>
4458 * XEmacs 21.2.42 "Poseidon" is released.
4460 2001-01-20 Martin Buchholz <martin@xemacs.org>
4462 * console-x.h: typo fix du jour. Remove #if 0'ed code.
4464 2001-01-19 Martin Buchholz <martin@xemacs.org>
4466 De-kludgify FIXED_TYPE free list frobbing.
4467 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
4468 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
4469 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
4470 * alloc.c (Lisp_Free): New pseudo lisp object definition.
4471 * alloc.c (LRECORD_FREE_P): New.
4472 * alloc.c (MARK_LRECORD_AS_FREE): New.
4473 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
4474 * alloc.c (STRUCT_FREE_P): Deleted.
4475 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
4476 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
4477 * alloc.c (STRING_CHARS_FREE_P): New.
4478 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
4479 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
4480 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
4481 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
4482 * alloc.c (resize_string): Use new definitions.
4483 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
4484 * alloc.c (verify_string_chars_integrity): Use new definitions.
4485 * alloc.c (compact_string_chars): Use new definitions.
4486 * alloc.c: Update monster comments.
4487 * lrecord.h (lrecord_type): Add some new lrecord types for
4490 2001-01-18 Martin Buchholz <martin@xemacs.org>
4492 Improve alignment hackery.
4493 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
4494 (max_align_t): Moved from opaque.h - general purpose.
4495 (ALIGN_PTR): Use size_t, not long.
4496 * opaque.h (max_align_t): Move to lisp.h.
4498 2001-01-18 Norbert Koch <nk@LF.net>
4500 * gui.h: Fix and add prototypes to fix build problems.
4502 2001-01-18 Martin Buchholz <martin@xemacs.org>
4504 temacs is going away, so `dump-temacs' is now a bad name.
4505 * .dbxrc (dump-temacs): Rename to `dmp'.
4506 * .gdbinit (dump-temacs): Rename to `dmp'.
4508 2001-01-17 Andy Piper <andy@xemacs.org>
4510 * glyphs.c (print_image_instance): comment to make martin happy.
4512 * glyphs-x.c (x_redisplay_widget): update faces after a frame
4515 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
4517 (mswindows_tab_control_redisplay): warning suppression.
4519 * glyphs-widget.c (widget_update): re-write to cope with updated
4521 (widget_instantiate): use new gui_item functions.
4522 (tab_control_update): deleted.
4523 (progress_gauge_update): deleted.
4524 (image_instantiator_progress_guage): take out update reference.
4525 (image_instantiator_tree_view): ditto.
4526 (image_instantiator_tab_control): ditto.
4528 * gui.c (widget_gui_parse_item_keywords): new function. Do things
4530 (gui_item_add_keyval_pair): re-write to cope with descriptors and
4531 return whether anything was changed.
4532 (update_gui_item_keywords): as it sounds.
4534 * gui.h: declare widget_gui_parse_item_keywords.
4536 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
4537 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
4539 2001-01-17 Martin Buchholz <martin@xemacs.org>
4541 * XEmacs 21.2.41 "Polyhymnia" is released.
4543 2001-01-16 Didier Verna <didier@xemacs.org>
4545 * glyphs.c (image_instantiate): don't use fallbacks when
4546 instantiating a face's background pixmap by inheritance.
4548 2001-01-14 Mike Sperber <mike@xemacs.org>
4550 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
4551 Conditionalize accordingly.
4553 2001-01-16 Martin Buchholz <martin@xemacs.org>
4555 * dumper.c (pdump_file_get): Fix a compiler warning.
4557 2001-01-15 Martin Buchholz <martin@xemacs.org>
4559 Make Purify happy when pdumping.
4560 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
4561 iniitalizing all bits of new lisp object memory.
4562 * symbols.c (Fmake_local_variable): Likewise.
4563 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
4564 * symbols.c (Fdefvaralias): Likewise.
4565 * mule-charset.c (vars_of_mule_charset): Likewise.
4567 2001-01-15 Martin Buchholz <martin@xemacs.org>
4568 Add the `-nd' flag when running pre-dump operations under the debugger.
4569 * .dbxrc (run-temacs): Add `-nd'.
4570 * .dbxrc (update-elc): Likewise.
4571 * .dbxrc (dump-temacs): Likewise.
4572 * .gdbinit (run-temacs): Likewise.
4573 * .gdbinit (check-temacs): Likewise.
4574 * .gdbinit (update-elc): Likewise.
4575 * .gdbinit (dump-temacs): Likewise.
4577 2001-01-14 Martin Buchholz <martin@xemacs.org>
4579 Allow building 64-bit executables on AIX with GNU malloc, e.g.
4580 export OBJECT_MODE=64
4581 configure --pdump --use-union-type=no
4582 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
4583 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
4585 * miscplay.c (sndcnv8U_2mono):
4586 Avoid two uses of `++' in the same expression.
4587 Suppresses a GCC warning.
4589 2001-01-13 Martin Buchholz <martin@xemacs.org>
4591 Make sure future compilers don't miscompile alloc.c.
4593 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
4594 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
4596 2001-01-12 Martin Buchholz <martin@xemacs.org>
4598 * dumper.c: A little post-pdump-rename comment fixup.
4600 2001-01-09 Jerry James <james@eecs.ku.edu>
4602 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
4604 2001-01-13 Martin Buchholz <martin@xemacs.org>
4606 * *.[ch]: Globally rename symbols using the following `pdump-rename'
4610 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
4613 replace_symbol pdump_wire_lists pdump_weak_object_chains
4614 replace_symbol pdump_wire_list dump_add_weak_object_chain
4616 replace_symbol pdump_wires pdump_root_objects
4617 replace_symbol pdump_wire dump_add_root_object
4619 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
4620 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
4622 replace_symbol dumpstructinfos pdump_root_struct_ptrs
4623 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
4624 replace_symbol dumpstructinfo pdump_root_struct_ptr
4625 replace_symbol dumpstruct dump_add_root_struct_ptr
4627 replace_symbol dumpopaque dump_add_opaque
4628 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
4629 replace_symbol dumpopaqueinfos pdump_opaques
4630 replace_symbol dumpopaqueinfo pdump_opaque
4632 replace_symbol nb_structdump nb_root_struct_ptrs
4633 replace_symbol nb_opaquedump nb_opaques
4635 replace_symbol align_table pdump_align_table
4636 replace_symbol dump_header pdump_header
4638 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
4639 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
4642 2001-01-12 Martin Buchholz <martin@xemacs.org>
4644 * s/aix4.h: Keep the C for AIX compiler from overaggressively
4645 optimizing bytecount_to_charcount().
4647 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4650 (HAVE_DLFCN_H): Removed.
4651 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
4653 2001-01-06 Martin Buchholz <martin@xemacs.org>
4655 Portable dumper maintainability improvements.
4656 * alloc.c (staticpro):
4657 * alloc.c (staticpro_nodump):
4658 * alloc.c (garbage_collect_1):
4659 * alloc.c (reinit_alloc_once_early):
4660 * alloc.c (init_alloc_once_early):
4661 * alloc.c: Move dumper functions to alloc.c.
4662 * dumper.c (pdump_backtrace):
4663 * dumper.c (pdump_dump_structs):
4664 * dumper.c (pdump_dump_opaques):
4665 * dumper.c (pdump_dump_rtables):
4666 * dumper.c (pdump_dump_wired):
4668 * dumper.c (pdump_load_check):
4669 * dumper.c (pdump_load_finish):
4670 * dumper.c (pdump_file_unmap):
4671 * dumper.c (pdump_file_get):
4672 * dumper.c (pdump_resource_free):
4673 * dumper.c (pdump_resource_get):
4674 * dumper.c (pdump_file_free):
4675 * dumper.c (pdump_file_try):
4676 * dumper.c (pdump_load):
4677 Remove fixed size limits on staticpro(), staticpro_nodump(),
4678 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
4679 Remove custom code for dumping lrecord_implementations_table - use
4681 Remove (most of the) custom code for dumping staticpros - dump it
4682 like any other dynarr.
4684 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
4685 * dumper.c: Moved functions from alloc.c.
4686 * alloc.c (dumpstruct): Moved to dumper.c.
4687 * alloc.c (dumpopaque): Likewise.
4688 * alloc.c (pdump_wire): Likewise.
4689 * alloc.c (pdump_wire_list): Likewise.
4691 * lisp.h (Dynarr_sizeof): New.
4692 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
4693 * lisp.h (Dynarr_end): New. Very slightly C++oid.
4694 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
4696 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
4697 * lisp.h (dumpopaque): ditto.
4698 * lisp.h (pdump_wire): ditto.
4699 * lisp.h (pdump_wire_list): ditto.
4701 2001-01-09 Martin Buchholz <martin@xemacs.org>
4703 * make-src-depend (PrintPatternDeps):
4704 Use `sort' to make output independent of perl version.
4706 2001-01-08 Martin Buchholz <martin@xemacs.org>
4709 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
4710 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
4712 2001-01-03 Didier Verna <didier@xemacs.org>
4714 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
4715 that `focus_frame' is alive before thinking of calling
4716 `redisplay_redraw_cursor' on it.
4718 2001-01-08 Martin Buchholz <martin@xemacs.org>
4720 * XEmacs 21.2.40 is released.
4722 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4724 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
4726 2001-01-06 Martin Buchholz <martin@xemacs.org>
4728 * alloc.c (dbg_valmask): Make const.
4729 * alloc.c (dbg_typemask): Make const.
4730 * alloc.c (dbg_USE_UNION_TYPE): Make const.
4731 * alloc.c (dbg_valbits): Make const.
4732 * alloc.c (dbg_gctypebits): Make const.
4734 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
4736 * redisplay-x.c (x_bevel_area):
4737 redisplay.h (struct rune):
4738 Typo fixes in comments.
4740 2001-01-05 Andy Piper <andy@xemacs.org>
4742 * glyphs-x.c (x_redisplay_widget): use size changed for offset
4745 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
4747 2001-01-05 Martin Buchholz <martin@xemacs.org>
4749 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
4751 * mule-ccl.c (stack_idx_of_map_multiple):
4752 Non const global data must not be initialized!
4753 Found by MIYASHITA Hisashi.
4755 2001-01-02 Andy Piper <andy@xemacs.org>
4757 * frame.c (change_frame_size): make sure frame size is always
4760 * glyphs.c (image_instance_layout): minor code reuse.
4762 * window.c (Fcurrent_window_configuration): revert previous
4765 2001-01-02 Martin Buchholz <martin@xemacs.org>
4768 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
4770 2000-12-31 Andy Piper <andy@xemacs.org>
4772 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
4773 when widget gets unmapped.
4775 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
4776 function. Make sure widgets losing focus don't just drop it.
4777 (handle_focus_event_1): record the widget with focus.
4779 2000-12-31 Andy Piper <andy@xemacs.org>
4781 * window.c (allocate_window): use
4782 make_image_instance_cache_hash_table.
4783 (make_dummy_parent): ditto.
4784 (Fset_window_configuration): ditto.
4786 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
4788 * glyphs.c (process_image_string_instantiator): use
4790 (get_image_instantiator_governing_domain): ditto.
4791 (normalize_image_instantiator): ditto.
4792 (instantiate_image_instantiator): ditto.
4793 (make_image_instance_1): ditto.
4794 (image_instantiate): ditto. Key on glyph *and* instantiator type.
4795 (instantiator_eq_equal): new function for use with instance hash
4797 (instantiator_eq_hash): ditto.
4798 (make_image_instance_cache_hash_table): create a suitable hash
4799 table for storing image instances.
4801 * elhash.h (hash_table_weakness): new internal weakness type
4802 HASH_TABLE_KEY_CAR_VALUE_WEAK.
4803 declare new functions.
4805 * elhash.c (finish_marking_weak_hash_tables): introduce yet
4806 another weakness type for glyphs.
4807 (make_standard_lisp_hash_table): new function split out from
4808 make_general_lisp_hash_table.
4809 (make_lisp_hash_table): call make_standard_lisp_hash_table.
4810 (hash_table_instantiate): ditto.
4811 (Fmake_hash_table): ditto.
4813 2000-12-31 Martin Buchholz <martin@xemacs.org>
4815 * XEmacs 21.2.39 is released.
4817 2000-12-29 Andy Piper <andy@xemacs.org>
4819 * menubar.c (menubar_visible_p_changed): signal the frame changed.
4821 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
4822 the frame has changed so that we pick up geometry changes such as
4825 2000-12-28 Andy Piper <andy@xemacs.org>
4827 * lastfile.c (my_ebss): make a char array so we can pad the
4828 bss. Fixes cygwin unexec.
4830 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
4832 2000-12-26 Andy Piper <andy@xemacs.org>
4834 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
4835 comments and try and be more precise about a non-/SIGIO world.
4836 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
4839 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
4840 we don't normalize to zero width or height.
4842 2000-12-24 Andy Piper <andy@xemacs.org>
4844 * Makefile.in.in (ldflags): add -mwindows when appropriate.
4846 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
4848 * s/sco5.h: SCO 5 has pty support.
4850 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
4852 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
4853 input-method-xlib.c contains whole contents of input-method-xfs.c,
4854 so we can use input-method-xlib.c's code for USE_XFONTSET
4856 * input-method-xfs.c: removed.
4858 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
4860 * file-coding.h (enum coding_category_type): reorder enumerators to
4861 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
4862 (now one greater than largest real coding_category_type enumerator).
4863 * file-coding.c (coding_category_symbol, coding_category_by_priority,
4864 coding_category_system, fcd_descriptihon_1, decode_coding_category,
4865 Fcoding_category_list, Fset_coding_priority_list,
4866 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
4867 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
4869 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4871 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
4872 * redisplay-output.c (redisplay_output_window): Clear top of window
4873 when face is changed.
4874 * redisplay-x.c (x_redraw_exposed_window): Call
4875 redisplay_clear_top_of_window.
4876 * redisplay.h: Publish redisplay_clear_top_of_window.
4878 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4880 * buffer.c (Fkill_buffer): Map over all devices.
4881 * window.c (window_loop): Remove UNSHOW_BUFFER code.
4882 (list_windows): New function.
4883 (list_all_windows): Ditto.
4884 (Freplace_buffer_in_windows): Use them.
4886 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4888 * database.c (berkdb_subtype): Recognize new subtype `queue'.
4889 (Fopen_database): Use `db_create' instead of `db_open'.
4890 (syms_of_database): Initialize Qqueue.
4892 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
4894 * buffer.c (common_init_complex_vars_of_buffer): Initialize
4895 buffer_local_face_property.
4896 * buffer.h (struct buffer): New member buffer_local_face_property.
4897 * window.c (Fset_window_buffer): Mark window's face as changed
4898 when buffer has buffer local face.
4899 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
4900 * objects.c (color_after_change): Set buffer_local_face_property
4901 when locale of face specifier is buffer.
4902 * objects.c (font_after_change): Ditto.
4903 * objects.c (face_boolean_after_change): Ditto.
4904 * glyphs.c (image_after_change): Ditto.
4906 2000-12-09 Dan Holmsand <dan@eyebee.com>
4908 * nt.c (mswindows_fstat): Report file permissions, volume serial
4909 number, etc. Code adapted from FSF Emacs 20.7.
4911 2000-12-09 Dan Holmsand <dan@eyebee.com>
4913 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
4914 of stat when we don't have symbolic links, to make sure
4915 mswindows_stat is called on mswindows.
4917 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
4919 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
4921 2000-12-12 Martin Buchholz <martin@xemacs.org>
4923 * doprnt.c (emacs_doprnt_1): More printing fixes.
4924 Make printing of numbers compatible with libc and FSF Emacs.
4925 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
4926 Use the system printf to do most of the hard work of formatting,
4927 instead of doprnt_1().
4928 Calculate memory to allocate for format string.
4929 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
4930 (doprnt_1): Cleaner code and documentation.
4932 2000-12-01 Jerry James <james@eecs.ukans.edu>
4934 * Makefile.in.in: Use the loop variable to install headers.
4936 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4938 * window.c (Fsplit_window): Don't invalidate face cache.
4940 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4942 * minibuf.c (Fall_completions): Undo the previous change
4943 which removed checking elements start with space.
4945 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4947 * mule-canna.c: Didier suppression.
4949 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4951 * mule-canna.c: rename static unsigned char buf[] to key_buffer
4952 (warning suppression). Add English comment translations.
4954 2000-12-05 Martin Buchholz <martin@xemacs.org>
4956 * unexelfsgi.c (unexec): Better test for mmap failure.
4958 2000-12-05 Martin Buchholz <martin@xemacs.org>
4960 * XEmacs 21.2.38 is released.
4962 2000-12-05 Martin Buchholz <martin@xemacs.org>
4964 * redisplay.c (bar-cursor): Make a user variable.
4966 * symsinit.h: Add init_postgresql_from_environment.
4968 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4970 * regex.c: Convert to clean C.
4972 2000-12-05 Dan Holmsand <dan@eyebee.com>
4975 Don't #include sysfile.h. Revert to duplicating PATH_MAX
4977 (sys_readlink): renamed to system_readlink to avoid conflict with
4978 the other sys_readlink.
4980 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
4982 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
4984 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
4986 * postgresql.c (init_postgresql_from_environment): new function.
4987 (vars_of_postgresql): Move code initializing Lisp variables out and
4988 into init_postgresql_from_environment.
4989 emacs.c (main_1): Call init_postgresql_from_environment if and only
4990 if running a dumped XEmacs.
4992 2000-08-31 Dan Holmsand <dan@eyebee.com>
4994 * buffer.c: Make find-file-compare-truenames default to true on
4997 * realpath.c (win32_abs_start):
4999 (win32_readlink): New functions.
5000 (xrealpath): Return really real filenames on windows.
5002 * fileio.c (Ffile_truename): Make file-truename work on windows.
5004 2000-11-29 Didier Verna <didier@xemacs.org>
5006 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
5007 * faces.c (update_face_cachel_data): use it.
5008 * faces.c (add_face_cachel): use it. Complete background pixmap
5009 frobbing in face cache if `update_face_cachel_data' has not done so.
5011 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
5013 * search.c (string_match_1): Don't set last_thing_searched
5016 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
5018 * buffer.c: Include casetab.h
5019 (common_init_complex_vars_of_buffer): Use new case-table object.
5020 * buffer.h: Include casetab.h
5021 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
5022 (DOWNCASE_TABLE_OF): Ditto.
5023 * bufslots.h: Remove char-tables and add case-table.
5024 * casetab.c: Include casetab.h
5025 (CASE_TABLE_P): Removed.
5026 (mark_case_table): New function.
5027 (allocate_case_table): New function.
5028 (Fcase_table_p): Use new case-table.
5029 (case_table_char): New function.
5030 (Fget_case_table): Ditto.
5031 (Fput_case_table): Ditto.
5032 (Fput_case_table_pair): Ditto.
5033 (Fcopy_case_table): Ditto.
5034 (Fcurrent_case_table): Return case-table.
5035 (Fstandard_case_table): Return case-table.
5036 (Fset_case_table): Fix doc-string.
5037 (set_case_table): Use case-table
5038 (syms_of_casetab): DEFSUBR new functions.
5039 (complex_vars_of_casetab): Set up standard case-table.
5040 * casetab.h: New file.
5041 * editfns.c: Include casetab.h
5042 (Fcompare_buffer_substrings): Use case-table.
5043 * inline.c: Include casetab.h
5044 * lisp.h: Remove bogus extern.
5045 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
5046 * search.c: Include casetab.h
5047 (TRANSLATE_ASCII): Removed.
5048 (TRANSLATE): Unconditionally translate character.
5049 (looking_at_1): Use case-table.
5050 (string_match_1): Ditto.
5051 (fast_string_match): Ditto.
5052 (search_command): Ditto.
5053 (search_buffer): Separate boyer_moore. Check whether
5054 boyer_moore is possible.
5055 (simple_search): New function.
5056 (boyer_moore): Separated from search_buffer. Translate char.
5058 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
5060 * regex.c (RE_TR_ASCII): Removed.
5061 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
5062 (PATFETCH): Call PATFETCH_RAW.
5063 (PATFETCH_RAW): Fetch Emchar.
5064 (PATUNFETCH): Decrement charptr.
5065 (GET_BUFFER_SPACE): Rename b to buf_end.
5067 (BUF_PUSH_2): Ditto.
5068 (BUF_PUSH_3): Ditto.
5069 (EXTEND_BUFFER): Ditto.
5070 (SET_LIST_BIT): Ditto.
5071 (regex_compile): Ditto. Translate non ASCII char.
5072 (compile_range): Ditto.
5073 (re_search_2): Ditto.
5074 (re_match_2_internal): Compare Emchar.
5075 (bcmp_translate): Ditto.
5077 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
5079 * lisp.h (basic char/int typedefs): comment improvement.
5081 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
5083 * emacs.c (main_1): unconditional pdump unstomping; don't save and
5084 unstomp inhibit_site_lisp. Improve comments.
5086 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
5088 * mule-charset.c (Fcharset_property): improve type checking, comments.
5090 2000-11-28 Andy Piper <andy@xemacs.org>
5092 * redisplay-output.c (redisplay_output_subwindow): make sure we do
5093 clipped display for windows in the gutter also.
5094 (redisplay_display_boxes_in_window_p): change semantics of return
5095 codes to be more intuitive.
5097 * gutter.h: declare display_boxes_in_gutter_p.
5099 * gutter.c (display_boxes_in_gutter_p): new function for
5102 2000-11-22 Andy Piper <andy@xemacs.org>
5104 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
5107 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
5109 * callproc.c (Fold_call_process_internal):
5110 * gpm.c (Freceive_gpm_event):
5111 (tty_get_foreign_selection): Might be just warning supression.
5112 * fileio.c (Fwrite_region_internal):
5113 (Fset_visited_file_modtime):
5114 * keymap.c (event_matches_key_specifier_p):
5115 Initialize GCPROed variable.
5117 * menubar-x.c (command_builder_find_menu_accelerator):
5118 Initialize before use.
5120 2000-11-23 Andy Piper <andy@xemacs.org>
5122 * unexcw.c (unexec): make the resulting executable executable.
5124 2000-11-21 Martin Buchholz <martin@xemacs.org>
5126 * doc.c (get_doc_string):
5127 Use size_t, not int, for result of XSTRING_LENGTH.
5129 * cmds.c (Fdelete_char):
5130 * cmds.c (Fpoint_at_eol):
5131 * cmds.c (Fself_insert_command):
5132 Use EMACS_INT, not int, for result of XINT.
5133 Someday, someone will want to insert more than 2**31 identical characters.
5135 * cmds.c (Fdelete_char):
5136 * cmds.c (Fdelete_backward_char):
5137 * syntax.c (Fforward_word):
5138 * syntax.c (Fforward_comment):
5139 Make COUNT argument optional, for consistency with forward-char et al.
5141 2000-11-22 Martin Buchholz <martin@xemacs.org>
5144 * print.c (long_to_string):
5145 Return a useful value: the pointer at end of data written.
5148 Use `static const char * const' for constant strings.
5149 (union printf_arg): Delete `i', `ui' members.
5152 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
5153 Do all printf-ing via the `l' specifier.
5154 Use EMACS_INT instead of int.
5157 2000-11-20 Didier Verna <didier@xemacs.org>
5159 * faces.c (update_face_cachel_data): don't frob the background
5160 pixmap when the window is being created. The face is needed but
5163 2000-11-20 Andy Piper <andy@xemacs.org>
5165 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
5166 messing with a debug environment.
5168 2000-11-20 Martin Buchholz <martin@xemacs.org>
5170 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
5172 2000-11-20 Martin Buchholz <martin@xemacs.org>
5174 * casetab.c (Fcase_table_p): Fix compile error and crash.
5176 2000-11-18 Philip Aston <philipa@mail.com>
5178 * s/cygwin32.h: Cygwin has SVR4-like pty support.
5180 2000-11-18 Martin Buchholz <martin@xemacs.org>
5182 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
5183 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
5185 2000-11-17 Martin Buchholz <martin@xemacs.org>
5187 * config.h.in: Define HAVE_ELF_H if elf.h exists.
5188 * unexelf.c: Use HAVE_ELF_H.
5189 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
5190 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
5191 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
5192 Greg Harrington <greg_harrington@hotmail.com> provided a machine
5194 So this is an unexelfsgi.c from a different line of development.
5196 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5198 * regex.c (RE_TR_ASCII): New function.
5199 (RE_TRANSLATE): Call it.
5201 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5203 * buffer.h (TRT_TABLE_OF): Remove assert.
5204 (IN_TRT_TABLE_DOMAIN): Removed.
5206 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
5208 * free-hook.c (log_gcpro):
5209 (show_gcprohist): Add support for GCPRO5.
5211 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
5213 * emacs.c (main_1): Improve -sd error message when --pdump=no.
5215 2000-11-16 Olivier Galibert <galibert@xemacs.org>
5217 * symeval.h: Declare flush_all_buffer_local_cache.
5219 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
5220 (flush_buffer_local_cache): Added.
5221 (flush_all_buffer_local_cache): Added.
5223 * lrecord.h: Remove unused XD_LO_RESET_NIL.
5225 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
5226 (pdump_dump_data): Ditto.
5227 (pdump_reloc_one): Ditto.
5228 (pdump): Remove unused pdump_qnil. Flush buffer local caches
5232 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5234 * buffer.c: Remove if 0'ed entry.
5235 * buffer.h: Rewrite TRT to use char-table.
5236 * bufslots.h: Remove mirror tables.
5237 * casetab.c: Remove mirror tables.
5238 (CASE_TABLE_P): New macro.
5239 (Fcase_table_p): Element of a case table is string or char-table.
5240 (make_mirror_trt_table): Removed.
5241 (set_case_table): Setup char-table from strings for backward
5243 * dired.c (Fdirectory_files):
5244 * dired-msw.c: (mswindows_get_files):
5245 * lisp.h: Change prototype of re_pattern_buffer.
5246 * regex.c: (RE_TRANSLATE): New macro.
5247 (TRANSLATE_P): Ditto.
5248 Change translate to type RE_TRANSLATE_TYPE.
5249 * regex.h: Define RE_TRANSLATE_TYPE
5250 * search.c (TRANSLATE): New macro.
5251 (TRANSLATE_ASCII): New macro.
5252 Translate table is changed to Lisp_Object.
5253 (signal_failure): Inhibit return.
5255 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5262 Do UNGCPRO before return.
5264 2000-11-14 Martin Buchholz <martin@xemacs.org>
5266 * XEmacs 21.2.37 is released.
5268 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
5270 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
5271 Add comments about discarded return value.
5273 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
5276 * event-stream.c: Fix comments. Remove some #if 0'ed part.
5278 2000-10-27 Andy Piper <andy@xemacs.org>
5280 * gutter.c (Fset_default_gutter_position): default left and right
5282 (calculate_gutter_size): calculate resonable heuristic for left
5283 and right gutter sizes.
5284 (specifier_vars_of_gutter): change left and right gutter sizes to
5286 (calculate_gutter_size_from_display_lines): new function.
5287 (output_gutter): check for resizing on left and right gutters.
5288 (clear_gutter): don't special case top and left gutters.
5289 (specifier_vars_of_gutter): use new signature for
5290 set_specifier_caching.
5292 * glyphs-x.c (x_redisplay_widget): spelling fix.
5293 * glyphs.c (specifier_vars_of_glyphs):
5294 * menubar.c (specifier_vars_of_menubar):
5295 * redisplay.c (specifier_vars_of_redisplay):
5296 * toolbar.c (specifier_vars_of_toolbar):
5297 * window.c (specifier_vars_of_window):
5298 * scrollbar.c (specifier_vars_of_scrollbar):
5299 (complex_vars_of_scrollbar): use new signature for
5300 set_specifier_caching.
5302 * specifier.c (set_specifier_caching): include recompute flag.
5303 (recompute_one_cached_specifier_in_window): always recompute if
5305 (recompute_one_cached_specifier_in_frame): ditto.
5307 * specifier.h (struct specifier_caching): add recompute flag.
5309 2000-10-24 Andy Piper <andy@xemacs.org>
5311 * unexcw.c (copy_executable_and_dump_data_section): add new
5312 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
5315 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5317 * console-x.h (x_device): New member modifier_release_time.
5318 * event-Xt.c (x_handle_sticky_modifiers):
5319 Bound interval modifier keys are sticky.
5320 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
5321 * events.h: extern it.
5323 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5325 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
5327 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5329 * event-stream.c (execute_command_event): Preserve current_events
5330 and the like when event is misc-user-event.
5331 Inhibit quit during the call to maybe_echo_keys.
5333 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
5335 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
5336 symlink when buffer is killed.
5337 (inhibit_clash_detection): New variable.
5339 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5341 * console.c (Fset_input_method): Trigger redisplay on tty.
5343 2000-11-07 Martin Buchholz <martin@xemacs.org>
5345 * process.c (Fprocess_status): Revert to previous behavior:
5346 (process-status "nosuchprocess") ==> nil
5348 2000-11-06 Martin Buchholz <martin@xemacs.org>
5350 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
5351 Work around another GCC 2.95.2 optimizer bug.
5353 2000-11-02 Martin Buchholz <martin@xemacs.org>
5355 * process.c (Fget_process): Use LIST_LOOP_2.
5356 (kill_buffer_processes): Use LIST_LOOP_2.
5358 * minibuf.c (Fall_completions):
5359 Delete old non-functional code for FSF fourth argument.
5361 * frame.c (frame_matches_frame_spec):
5362 Renamed from `frame_matches_frametype'. Update all callers.
5363 (device_matches_device_spec):
5364 Renamed from 'device_matches_console_spec'. Update all callers.
5366 * doc.c (Fsubstitute_command_keys):
5367 Remove buffer overflow crash. Small code cleanups.
5369 * casetab.c (check_case_table): Simpler code.
5371 * window.c (Freplace_buffer_in_windows):
5372 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
5373 (and similar implementation) as Fdelete_windows_on.
5376 * alloc.c (Fmake_list):
5377 * alloc.c (make_vector):
5378 * alloc.c (Fmake_vector):
5379 * alloc.c (make_bit_vector):
5380 * alloc.c (Fmake_bit_vector):
5381 * alloc.c (Fbit_vector):
5382 * alloc.c (Fmake_string):
5383 * alloc.c (Fpurecopy):
5384 * alloc.c (Fmemory_limit):
5386 * buffer.c (Fget_buffer):
5387 * buffer.c (Fkill_buffer):
5388 * buffer.c (complex_vars_of_buffer):
5389 * bytecode.c (Fcompiled_function_stack_depth):
5390 * callint.c (Fprefix_numeric_value):
5392 * event-stream.c (Fread_key_sequence):
5394 * casetab.c (Fcase_table_p):
5395 * casetab.c (check_case_table):
5396 * casetab.c (Fset_case_table):
5397 * casetab.c (Fset_standard_case_table):
5399 * chartab.c (Fchar_table_type):
5400 * chartab.c (Freset_char_table):
5401 * chartab.c (Fget_char_table):
5402 * chartab.c (Fget_range_char_table):
5403 * chartab.c (Fput_char_table):
5404 * chartab.c (Fmap_char_table):
5405 * chartab.c (Fcategory_table_p):
5406 * chartab.c (Fcheck_category_at):
5407 * chartab.c (Fchar_in_category_p):
5408 * chartab.c (Fcategory_table):
5409 * chartab.c (Fcopy_category_table):
5410 * chartab.c (Fset_category_table):
5411 * chartab.c (Fcategory_designator_p):
5412 * chartab.c (Fcategory_table_value_p):
5413 * cmds.c (Fdelete_char):
5414 * cmds.c (Fdelete_backward_char):
5415 * cmds.c (Fself_insert_command):
5416 * cmds.c (Fself_insert_internal):
5417 * console.c (Fvalid_console_type_p):
5418 * console.c (Fcdfw_console):
5419 * console.c (Fconsole_type):
5420 * console.c (Fconsole_name):
5421 * console.c (Fconsole_device_list):
5422 * console.c (Fconsole_on_window_system_p):
5426 * data.c (Fsubr_interactive):
5427 * data.c (Fchar_to_int):
5428 * data.c (Fint_to_char):
5431 * data.c (Fnumber_to_string):
5432 * data.c (Fstring_to_number):
5434 * database.c (mark_database):
5435 * database.c (finalize_database):
5436 * database.c (Fdatabase_live_p):
5437 * database.c (Fdatabasep):
5438 * device-x.c (Fx_get_resource):
5439 * device.c (Fdfw_device):
5441 * dired.c (Ffile_name_completion):
5442 * dired.c (Ffile_name_all_completions):
5443 * dired.c (Fuser_name_completion):
5444 * dired.c (Fuser_name_completion_1):
5445 * dired.c (Fuser_name_all_completions):
5446 * doc.c (Fdocumentation):
5447 * doc.c (Fdocumentation_property):
5448 * doc.c (Fsubstitute_command_keys):
5450 * editfns.c (Fchar_to_string):
5451 * editfns.c (Fstring_to_char):
5452 * editfns.c (Ftemp_directory):
5453 * editfns.c (Finsert_char):
5454 * editfns.c (Fbuffer_substring_no_properties):
5455 * editfns.c (Fnarrow_to_region):
5456 * editfns.c (Fchar_equal):
5457 * editfns.c (Fchar_Equal):
5458 * editfns.c (Ftranspose_regions):
5459 * emacs.c (Fdump_emacs):
5461 * eval.c (Fcommand_execute):
5462 * eval.c (Fautoload):
5463 * eval.c (Fbacktrace):
5464 * eval.c (Fbacktrace_frame):
5466 * events.c (Fcopy_event):
5467 * events.c (Fcharacter_to_event):
5468 * events.c (Fevent_button):
5469 * events.c (Fevent_process):
5471 * extents.c (Fnext_extent_change):
5472 * extents.c (Fextent_property):
5474 * faces.c (Fmake_face):
5476 * file-coding.c (Fencode_shift_jis_char):
5477 * file-coding.c (Fencode_big5_char):
5478 * fileio.c (Ffile_name_directory):
5479 * fileio.c (Ffile_name_nondirectory):
5480 * fileio.c (Ffile_name_as_directory):
5481 * fileio.c (Fdirectory_file_name):
5482 * fileio.c (Ffile_truename):
5483 * fileio.c (Fsubstitute_in_file_name):
5484 * fileio.c (Ffile_modes):
5485 * fileio.c (Fset_file_modes):
5486 * fileio.c (Fset_default_file_modes):
5487 * fileio.c (Fverify_visited_file_modtime):
5488 * floatfns.c (Facos):
5489 * floatfns.c (Fasin):
5490 * floatfns.c (Fatan):
5491 * floatfns.c (Fcos):
5492 * floatfns.c (Fsin):
5493 * floatfns.c (Ftan):
5494 * floatfns.c (Fbessel_j0):
5495 * floatfns.c (Fbessel_j1):
5496 * floatfns.c (Fbessel_jn):
5497 * floatfns.c (Fbessel_y0):
5498 * floatfns.c (Fbessel_y1):
5499 * floatfns.c (Fbessel_yn):
5500 * floatfns.c (Ferf):
5501 * floatfns.c (Ferfc):
5502 * floatfns.c (Flog_gamma):
5503 * floatfns.c (Fexp):
5504 * floatfns.c (Fexpt):
5505 * floatfns.c (Flog):
5506 * floatfns.c (Flog10):
5507 * floatfns.c (Fsqrt):
5508 * floatfns.c (Fcube_root):
5509 * floatfns.c (Facosh):
5510 * floatfns.c (Fasinh):
5511 * floatfns.c (Fatanh):
5512 * floatfns.c (Fcosh):
5513 * floatfns.c (Fsinh):
5514 * floatfns.c (Ftanh):
5515 * floatfns.c (Fabs):
5516 * floatfns.c (Ffloat):
5517 * floatfns.c (Flogb):
5518 * floatfns.c (Fceiling):
5519 * floatfns.c (Ffloor):
5520 * floatfns.c (Fround):
5521 * floatfns.c (Ftruncate):
5522 * floatfns.c (Ffceiling):
5523 * floatfns.c (Fffloor):
5524 * floatfns.c (Ffround):
5525 * floatfns.c (Fftruncate):
5526 * fns.c (Fstring_equal):
5527 * fns.c (Fstring_lessp):
5532 * fns.c (Fsubstring):
5534 * fns.c (Fold_assoc):
5535 * fns.c (assoc_no_quit):
5537 * fns.c (Fold_assq):
5538 * fns.c (assq_no_quit):
5540 * fns.c (Fold_rassoc):
5542 * fns.c (Fold_rassq):
5543 * fns.c (rassq_no_quit):
5544 * fns.c (Fremassoc):
5545 * fns.c (remassoc_no_quit):
5547 * fns.c (remassq_no_quit):
5548 * fns.c (Fremrassoc):
5549 * fns.c (Fremrassq):
5550 * fns.c (remrassq_no_quit):
5552 * fns.c (Fplist_get):
5553 * fns.c (Fplist_put):
5554 * fns.c (Fplist_remprop):
5555 * fns.c (Fplist_member):
5556 * fns.c (Flax_plist_get):
5557 * fns.c (Flax_plist_put):
5558 * fns.c (Flax_plist_remprop):
5559 * fns.c (Flax_plist_member):
5561 * fns.c (Fold_equal):
5563 * fns.c (Fbase64_encode_region):
5564 * fns.c (Fbase64_encode_string):
5565 * fns.c (Fbase64_decode_region):
5567 * frame.c (frame_matches_frame_spec):
5568 * frame.c (device_matches_device_spec):
5569 * frame.c (next_frame):
5570 * frame.c (previous_frame):
5571 * frame.c (Fnext_frame):
5572 * frame.c (Fprevious_frame):
5573 * frame.c (Fframe_property):
5574 * frame.c (Fset_frame_height):
5575 * frame.c (Fset_frame_size):
5579 * glyphs.c (decode_error_behavior_flag):
5580 * glyphs.c (Fmake_image_instance):
5581 * indent.c (Findent_to):
5582 * intl.c (Fignore_defer_gettext):
5583 * keymap.c (Fkeymapp):
5584 * keymap.c (Flookup_key):
5586 * lread.c (Fload_internal):
5587 * lread.c (Feval_buffer):
5588 * lread.c (Feval_region):
5589 * macros.c (Fexecute_kbd_macro):
5590 * marker.c (set_marker_internal):
5591 * marker.c (Fset_marker):
5592 * marker.c (set_marker_restricted):
5593 * marker.c (Fcopy_marker):
5594 * marker.c (noseeum_copy_marker):
5596 * menubar.c (Fpopup_menu):
5598 * mule-charset.c (Fcharset_name):
5599 * mule-charset.c (Fchar_charset):
5600 * mule-charset.c (Fchar_octet):
5601 * mule-charset.c (Fsplit_char):
5602 * mule-wnnfns.c (Fwnn_open):
5603 * mule-wnnfns.c (Fwnn_dict_comment):
5604 * mule-wnnfns.c (Fwnn_quit_henkan):
5605 * mule-wnnfns.c (Fwnn_word_toroku):
5606 * mule-wnnfns.c (Fwnn_word_sakujo):
5607 * mule-wnnfns.c (Fwnn_word_use):
5608 * mule-wnnfns.c (Fwnn_hindo_set):
5610 * objects.c (Fmake_color_instance):
5611 * objects.c (Fmake_font_instance):
5612 * print.c (Fwrite_char):
5614 * process.c (mark_process):
5615 * process.c (print_process):
5616 * process.c (get_process_from_usid):
5617 * process.c (Fprocessp):
5618 * process.c (Fprocess_live_p):
5619 * process.c (Fget_process):
5620 * process.c (Fget_buffer_process):
5621 * process.c (get_process):
5622 * process.c (Fprocess_id):
5623 * process.c (Fprocess_name):
5624 * process.c (Fprocess_command):
5625 * process.c (init_process_io_handles):
5626 * process.c (start_process_unwind):
5627 * process.c (Fstart_process_internal):
5628 * process.c (Fopen_multicast_group_internal):
5629 * process.c (Fset_process_window_size):
5630 * process.c (read_process_output):
5631 * process.c (send_process):
5632 * process.c (Fprocess_tty_name):
5633 * process.c (Fset_process_buffer):
5634 * process.c (Fprocess_buffer):
5635 * process.c (Fprocess_mark):
5636 * process.c (set_process_filter):
5637 * process.c (Fset_process_filter):
5638 * process.c (Fprocess_filter):
5639 * process.c (Fprocess_send_region):
5640 * process.c (Fprocess_send_string):
5641 * process.c (exec_sentinel):
5642 * process.c (Fset_process_sentinel):
5643 * process.c (Fprocess_sentinel):
5644 * process.c (status_notify):
5645 * process.c (Fprocess_status):
5646 * process.c (Fprocess_exit_status):
5647 * process.c (process_send_signal):
5648 * process.c (Fprocess_send_eof):
5649 * process.c (deactivate_process):
5650 * process.c (remove_process):
5651 * process.c (Fdelete_process):
5652 * process.c (kill_buffer_processes):
5653 * process.c (Fprocess_kill_without_query):
5654 * process.c (Fprocess_kill_without_query_p):
5656 * rangetab.c (Fget_range_table):
5657 * rangetab.c (Fput_range_table):
5658 * rangetab.c (Fremove_range_table):
5659 * rangetab.c (Fclear_range_table):
5661 * search.c (Fskip_chars_forward):
5662 * search.c (Fskip_chars_backward):
5663 * search.c (Fskip_syntax_forward):
5664 * search.c (Fskip_syntax_backward):
5665 * search.c (search_command):
5666 * search.c (Freplace_match):
5667 * search.c (Fregexp_quote):
5668 * select.c (Fown_selection_internal):
5669 * select.c (Fselection_owner_p):
5670 * select.c (Fselection_exists_p):
5671 * select.c (Fget_selection_internal):
5674 * symbols.c (Fintern):
5675 * symbols.c (Fintern_soft):
5676 * symbols.c (Funintern):
5677 * symbols.c (Fapropos_internal):
5678 * symbols.c (Fset_default):
5680 * syntax.c (Fsyntax_table_p):
5681 * syntax.c (Fcopy_syntax_table):
5682 * syntax.c (Fset_syntax_table):
5683 * syntax.c (Fchar_syntax):
5684 * syntax.c (syntax_match):
5685 * syntax.c (Fmatching_paren):
5686 * syntax.c (Fforward_word):
5687 * syntax.c (scan_lists):
5688 * syntax.c (Fscan_lists):
5689 * syntax.c (Fscan_sexps):
5690 * syntax.c (Fparse_partial_sexp):
5691 * toolbar.c (Fcheck_toolbar_button_syntax):
5694 * window.c (Fwindowp):
5695 * window.c (Fwindow_live_p):
5696 * window.c (Fwindow_point):
5697 * window.c (Fdelete_window):
5698 * window.c (Fnext_window):
5699 * window.c (Fprevious_window):
5700 * window.c (Fother_window):
5701 * window.c (window_loop):
5702 * window.c (Fget_lru_window):
5703 * window.c (Fsplit_window):
5704 * window.c (Fenlarge_window):
5705 * window.c (Fenlarge_window_pixels):
5706 * window.c (Fshrink_window):
5707 * window.c (Fshrink_window_pixels):
5708 * window.c (change_window_height):
5709 * window.c (Fwindow_configuration_p):
5710 * window.c (Fcurrent_window_configuration):
5712 * casefiddle.c (casify_object):
5713 * casefiddle.c (Fupcase):
5714 * casefiddle.c (Fdowncase):
5715 * casefiddle.c (Fcapitalize):
5716 * casefiddle.c (Fupcase_initials):
5717 * casefiddle.c (casify_region_internal):
5718 * casefiddle.c (casify_region):
5719 * casefiddle.c (Fupcase_region):
5720 * casefiddle.c (Fdowncase_region):
5721 * casefiddle.c (Fcapitalize_region):
5722 * casefiddle.c (Fupcase_initials_region):
5723 * casefiddle.c (Fupcase_word):
5724 * casefiddle.c (Fdowncase_word):
5725 * casefiddle.c (Fcapitalize_word):
5726 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
5727 Replace 0 with '\0' when working with bytes.
5728 Replace initial "(" with "\(" in docstrings.
5730 2000-11-01 Martin Buchholz <martin@xemacs.org>
5732 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
5734 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
5736 2000-10-31 Martin Buchholz <martin@xemacs.org>
5738 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
5740 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5742 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
5745 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5747 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
5748 (inhibit_auto_save_session): New variable.
5749 (vars_of_fileio): Declare and initialize them.
5750 * fileio.c (Fdo_auto_save): Don't create session file if
5751 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
5753 2000-10-31 Martin Buchholz <martin@xemacs.org>
5755 * sgiplay.c (play_internal): C++ compilability.
5756 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
5757 * callproc.c (Fold_call_process_internal):
5758 Remove unused vars `env', `first'.
5759 * scrollbar.c (update_scrollbar_instance):
5760 #### unused var `current_window'.
5761 * redisplay-tty.c: Put currently unused vars insert_mode_on,
5762 etc. within #ifdef NOT_YET.
5763 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
5764 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
5765 * specifier.c (specifier_instance):
5766 #### unused var `tag'.
5767 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
5769 2000-10-27 Martin Buchholz <martin@xemacs.org>
5772 * fns.c (list_sort):
5773 * fns.c (Ffillarray):
5774 * fns.c (bytecode_nconc2):
5777 * fns.c (Fmapconcat):
5778 Be pedantically 64-bit correct. For the time when someone will
5779 want to have a list with length > 2**32.
5781 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
5782 Work around MIPSpro compiler bug.
5784 * process-unix.c (unix_kill_child_process): Add snarky comment.
5785 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
5787 * config.h.in: Oops, _getpt ==> _getpty
5789 2000-10-26 Martin Buchholz <martin@xemacs.org>
5793 Use void*, not char*, as return type of alloca().
5795 * alloc.c (free_marker): Side effect inside assert expression!
5797 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
5799 * mule-charset.c (Fset_charset_ccl_program): To check
5800 if the given ccl program is valid, use setup_ccl_program()
5801 instead of CHECK_VECTOR().
5802 (Fmake_charset): Likewise.
5804 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
5806 * faces.c (get_extent_fragment_face_cache_index):
5807 Fix cachel.merged_faces memory leak.
5809 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
5811 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
5812 Reset MSB of octets obtained by DECODE_SJIS
5813 because of the incompatibility with Emacs.
5814 (ccl_driver)<CCL_ENCODE_SJIS>:
5815 Set MSB of octets before passing them to
5816 ENCODE_SJIS because of the incompatibility
5819 2000-10-18 Daiki Ueno <ueno@unixuser.org>
5821 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
5822 (DECLARE_LRECORD): Undo the last change.
5823 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
5825 2000-10-17 Daiki Ueno <ueno@unixuser.org>
5827 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
5828 the implementation to lrecord_implementations_table.
5830 2000-10-14 Daiki Ueno <ueno@unixuser.org>
5832 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
5833 initial value of `lrecord_type_##c_name' and
5834 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
5835 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
5836 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
5837 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
5838 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
5840 2000-10-17 Martin Buchholz <martin@xemacs.org>
5842 * miscplay.c (sndcnv8S_2mono):
5843 (sndcnv2monounsigned):
5844 (sndcnvULaw_2linear):
5846 Remove implementation-defined behavior.
5848 2000-10-12 Martin Buchholz <martin@xemacs.org>
5850 * input-method-xlib.c: Warning suppression.
5852 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
5854 * mule-ccl.c: Sync up with Emacs 21.0.90.
5855 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
5857 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
5859 (ccl_driver[WriteMultibyteChar2]): Bug fix.
5860 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
5861 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
5862 leading char belongs to official 2-dimensional charset.
5863 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
5864 write the given character as is. Otherwise,
5865 if it is a multibyte char, convert it by
5866 non_ascii_set_charptr_emchar, then write it.
5867 (CCL_WRITE_STRING): Likewise.
5868 (ccl_get_compiled_code): New function.
5869 (setup_ccl_program): When ccl_prog is invalid,
5871 (Fregister_code_conversion_map): New function.
5872 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
5874 * mule-ccl.h: Sync up with Emacs 21.0.90.
5875 (Fregister_ccl_program): export it.
5877 * redisplay-msw.c (separate_textual_runs):
5878 If ccl program is not valid, don't do ccl conversion.
5880 * redisplay-x.c (separate_textual_runs): Ditto.
5882 * file-coding.c (Fmake_coding_system):
5883 When type is ccl and value is vector, register it
5884 with a proper symbol. And checks whether the
5885 given ccl program is valid.
5886 (mule_decode): When calling ccl_driver, if src indicates
5887 NULL pointer, set an empty string instead.
5888 (mule_encode): Likewise.
5890 2000-10-11 Martin Buchholz <martin@xemacs.org>
5892 The following large batch of changes gets us back to a state of
5893 C++ compilability. Extbyte is now a char, which means that
5894 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
5896 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
5898 * sound.c (Fplay_sound): Type correctness.
5900 * select-x.c (hack_motif_clipboard_selection): Type correctness.
5901 (x_get_window_property): Type correctness.
5902 (receive_incremental_selection): unsigned char ==> Extbyte
5903 (selection_data_to_lisp_data): unsigned char ==> Extbyte
5904 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
5905 (Fx_store_cutbuffer_internal): Type correctness.
5907 * process-unix.c (try_to_initialize_subtty): Type correctness.
5909 * objects-x.c (x_print_color_instance): Type correctness.
5910 (x_print_font_instance): Type correctness.
5911 (x_list_fonts): SExtbyte ==> Extbyte.
5912 (valid_x_font_name_p): SExtbyte ==> Extbyte.
5913 (x_find_charset_font): SExtbyte ==> Extbyte.
5914 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
5915 (truename_via_XListFonts): SExtbyte ==> Extbyte.
5916 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
5919 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
5920 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
5921 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
5922 (BYTE_C0_P): Use bit ops for char-signedness safety.
5923 (BYTE_C1_P): Use bit ops for char-signedness safety.
5924 (CHARSET_BY_LEADING_BYTE):
5925 (CHARSET_BY_ATTRIBUTES):
5926 Always use inline function.
5927 Use type_checking_assert.
5930 * mule-charset.c (non_ascii_charptr_copy_char):
5931 Modify to work with both ASCII and non-ASCII characters.
5932 Improve docs and variable names.
5933 Replace over-clever fall-through switch with a simple loop.
5934 (Lstream_get_emchar_1):
5935 Replace over-clever fall-through switch with a simple loop.
5937 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5938 Warning suppression.
5940 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
5941 the return value of Lstream_getc, which could be EOF as well.
5943 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
5945 * lisp.h: Make Extbyte a char, not unsigned char, so that external
5946 APIs can be used on Extbytes without casts. Risky!
5950 * input-method-xlib.c (XIM_init_device):
5951 Use Xlib.h instead of IntrinsicP.h.
5952 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
5953 which will break in X11R7.
5954 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
5955 to call XRegisterIMInstantiateCallback with correct types.
5957 * gui-x.c (button_item_to_widget_value): Type correctness.
5959 * glyphs.c (bitmap_to_lisp_data): Type correctness.
5961 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
5962 (xbm_instantiate_1): Type correctness.
5963 (BUILD_GLYPH_INST): Type correctness.
5965 * fileio.c (Fsubstitute_in_file_name): Type correctness.
5968 (decode_coding_sjis):
5969 (decode_coding_big5):
5970 (decode_coding_ucs4):
5971 (decode_coding_utf8):
5972 (decode_coding_iso2022):
5973 (decode_coding_no_conversion):
5974 Make all decoding functions take an Extbyte * arg.
5975 (encode_coding_sjis):
5976 (encode_coding_big5):
5977 (encode_coding_ucs4):
5978 (encode_coding_utf8):
5979 (encode_coding_iso2022):
5980 (encode_coding_no_conversion):
5981 Make all encoding functions take a Bufbyte * arg.
5982 Use size_t instead of unsigned int for memory sizes.
5983 Only cast to unsigned char whenever dereferencing Extbyte *.
5985 * doc.c (unparesseuxify_doc_string): Type correctness.
5987 * console-x.c (split_up_display_spec):
5988 Rewrite without using details of internal string representation.
5989 (x_semi_canonicalize_device_connection): Type correctness.
5992 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
5993 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
5994 (HAVE_XFREE386): Removed.
5996 * buffer.h (DEC_CHARPTR): `const' correctness.
5997 (bufbyte_strcmp): New.
5998 (bufbyte_memcmp): New.
6000 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
6002 * buffer.h (XCHAR_OR_CHAR_INT):
6003 Always use inline function.
6004 Remove redundant type checking assert() - XINT will abort quite nicely.
6006 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6008 * search.c (Freplace_match): Set newtext to an empty string.
6010 2000-10-10 Martin Buchholz <martin@xemacs.org>
6012 * s/decosf1-3.h: Remove #include of stropts.h
6013 * s/ptx.h: Remove #include of stropts.h
6014 * s/usg5-4.h: Remove #include of stropts.h
6017 Use stropts.h, not sys/stropts.h.
6018 Use strtio.h, not sys/strtio.h.
6020 2000-10-04 Martin Buchholz <martin@xemacs.org>
6022 * XEmacs 21.2.36 is released.
6024 2000-09-21 Andy Piper <andy@xemacs.org>
6026 * glyphs-x.c (x_redisplay_widget): make sure non-structural
6027 changes still involve copying the widget tree.
6028 (update_widget_face): make sure a change is register in the widget
6029 tree. Call update_tab_widget_face appropriately.
6030 (update_tab_widget_face): ditto.
6031 (x_tab_control_redisplay): make sure non-structural changes still
6032 involve copying the widget tree.
6034 2000-08-31 Daiki Ueno <ueno@unixuser.org>
6036 * lread.c (locate_file): Check the path element is non-nil.
6038 2000-10-02 Martin Buchholz <martin@xemacs.org>
6040 * lisp.h: Warning suppression for SCO compilers.
6042 * redisplay-tty.c (reset_tty_modes): Fix crash.
6043 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
6045 2000-09-27 Martin Buchholz <martin@xemacs.org>
6047 Big signal/process handling overhaul. Bugs fixed:
6048 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
6049 M-x comint-kill-subjob should work for both values nil and t of
6050 process-connection-type. It was broken on most platforms.
6051 Testing on Irix and Cygwin still needed. Other plaforms tested.
6052 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
6053 * process-unix.c: Signal/Process handling overhaul.
6054 (pty_name): make 64 bytes, as `expect' does, for paranoia.
6055 (allocate_pty): Use all available modern methods of allocating
6056 ptys, falling back to old style BSD allocation as a last resort.
6057 Use allegedly more secure Unix98 pty allocation by default.
6058 (allocate_pty_the_old_fashioned_way): New. the last resort.
6059 (unix_create_process): Push ptem, ldterm, ttcompat where
6060 available. Autoconfiscate.
6061 (try_to_initialize_subtty): New.
6062 (unix_kill_child_process): Proper signal handling for ptys on most
6063 platforms, using special knowledge of AIX, BSD, etc...
6064 (unix_create_process): Always disconnect_controlling_terminal() for
6065 subprocesses, whether using ptys or not.
6066 * process.h: Remove old getpt-dependent PTY code.
6067 * process.c (Fprocess_send_signal): New, obvious generic function.
6068 (decode_signal): New.
6069 (Finterrupt_process):
6073 (Fcontinue_process):
6074 (Fsignal_process): Use decode_signal.
6075 (process_send_signal):
6076 Many docstring corrections.
6077 Allow any signal to be sent to a process object.
6078 * config.h.in: Add symbols for big signal/process overhaul.
6079 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
6080 * sysproc.h: Include process-related headers, where available:
6081 sys/stropts.h sys/strtio.h pty.h libutil.h
6089 Remove old S&M pty stuff.
6090 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
6091 * systty.h: Simplify cpp hackery, improve comments.
6092 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
6094 * editfns.c (Fformat_time_string):
6095 Be a little more paranoid with the return value of ctime.
6097 * fileio.c (check_executable):
6099 Use symbolic constants X_OK, W_OK.
6101 * console-x.c (split_up_display_spec): Fix a warning.
6103 2000-10-02 Martin Buchholz <martin@xemacs.org>
6105 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
6106 * ntproc.c (sys_spawnve): make_string ==> build_string
6107 Small clarity improvements.
6109 2000-09-30 Martin Buchholz <martin@xemacs.org>
6111 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
6113 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
6115 * config.h.in (HAVE_STRCASECMP): Remove.
6117 2000-09-29 Martin Buchholz <martin@xemacs.org>
6119 * redisplay-output.c (redisplay_output_pixmap):
6120 Cleaner and possibly more 64-bit correct code.
6122 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
6124 * dumper.c (pdump_load_finish): move restoration of
6125 `noninteractive1' to emacs.c (main_1).
6126 * emacs.c (main_1): protect LISP-visible command-line flags
6129 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
6131 * Makefile.in.in (versionclean): Use EXE_TARGET and
6132 DUMP_TARGET instead of literal program names.
6134 2000-09-20 Martin Buchholz <martin@xemacs.org>
6136 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
6138 2000-09-19 Martin Buchholz <martin@xemacs.org>
6140 * *: Spelling mega-patch
6142 2000-09-19 Martin Buchholz <martin@xemacs.org>
6144 * fns.c (bad_bad_turtle):
6145 Delete "Eek!" comment, since we fixed the bug to which it refers.
6147 2000-09-16 Martin Buchholz <martin@xemacs.org>
6149 * alloca.c: Replace REGISTER with register.
6151 2000-09-16 Daiki Ueno <ueno@unixuser.org>
6153 * file-coding.c (ucs_to_char): Use countof.
6155 2000-09-16 Martin Buchholz <martin@xemacs.org>
6157 * file-coding.c: (ucs_to_char):
6158 (complex_vars_of_file_coding):
6159 Use countof instead of sizeof.
6160 Use CHECK_NATNUM instead of CHECK_INT.
6162 * sysdep.c (strcasecmp): Remove.
6163 * device-x.c (ascii_strcasecmp): New.
6164 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
6165 Avoid using non-standard non-portable strcasecmp.
6167 2000-09-16 Martin Buchholz <martin@xemacs.org>
6169 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
6170 * font-lock.c: remove reference to emacsfns.h.
6171 * search.c: small doc improvement.
6172 * event-Xt.c: correct file names in comments.
6173 * console-x.h Correct file names in comments.
6174 * frame.c: Correct file names in comments.
6175 * event-stream.c: remove Energize from comments.
6177 2000-09-15 Martin Buchholz <martin@xemacs.org>
6179 * symeval.h (DEFERROR_STANDARD):
6182 (DEFSYMBOL_NO_DUMP):
6183 (DEFSYMBOL_MULTIWORD_PREDICATE):
6184 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
6186 The construct &##name is not sensible C.
6187 Fixes compilation errors with Unixware native compiler.
6189 2000-09-14 Martin Buchholz <martin@xemacs.org>
6191 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
6192 (next_frame_internal): Removed. We now just have next_frame.
6194 Write a simpler and cleaner one-pass algorithm.
6195 Remove called_from_delete_device arg and #ifdefed-out code.
6197 Renamed from prev_frame. Update callers.
6198 Cleaned up to have an analogous implementation to next_frame.
6199 (other_visible_frames_internal): Remove the
6200 called_from_delete_device bogus arg, and hence, remove this
6201 function. Just use other_visible_frames().
6203 * window.c (Fnext_window):
6205 Since next_frame() is guaranteed to return a frame, remove check
6206 for nil inserted in previous patch.
6209 Make code look more like Fnext_window.
6211 Respect the `console' arg when iterating through windows.
6212 Fixes bug: (get-buffer-window buffer t device) not respecting
6214 This function needs more work, as others have pointed out.
6216 * frame.h: Rename prev_frame to previous_frame.
6217 device_matches_console_spec no longer takes a `frame' arg.
6222 Use EMACS_BLOCK_SIGNAL instead of sigblock.
6223 From "Golubev I. N." <gin@mo.msk.ru>.
6225 * make-src-depend: Fix typo.
6227 2000-09-13 Martin Buchholz <martin@xemacs.org>
6229 * window.c (Fnext_window):
6230 next_frame() might return nil, not a frame.
6232 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6234 * frame.c (next_frame_internal):
6235 We've passed a frame if we've passed its device.
6237 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6238 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
6240 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6242 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6243 Allow option to suppress accelerators in menu/dialog items.
6244 (populate_or_checksum_helper): Pass dialog title through above.
6246 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
6248 * event-msw.c (mswindows_key_to_emacs_keysym):
6249 Add "pause" key, fix "menu" key.
6251 2000-09-09 Martin Buchholz <martin@xemacs.org>
6253 * eval.c (reinit_vars_of_eval):
6254 Increase max_lisp_eval_depth to 1000,
6255 required for thai-xtis.el to byte-compile under some circumstances.
6257 2000-09-04 Martin Buchholz <martin@xemacs.org>
6259 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
6262 2000-09-01 Martin Buchholz <martin@xemacs.org>
6264 * make-src-depend: Make the generated Makefiles smaller.
6266 * s/hpux.h (SETUP_SLAVE_PTY):
6267 Provide a %d in the format string for the errno argument.
6269 * editfns.c (Ftemp_directory):
6271 Avoid buffer overrun on very long file name.
6273 * input-method-xlib.c (XIM_init_device):
6274 6th parameter of XRegisterIMInstantiateCallback has different
6275 pointer types on different OSes, so simply cast to (void *).
6277 * unexhp9k800.c: Warning fixes. Fiddly changes.
6279 * sysdll.c (dll_open):
6280 shl_load will hang hard if passed a NULL filename.
6281 Simply return NULL for compatibility with dlopen.
6282 * sysdll.c: Conform to XEmacs coding standards.
6284 * sysdep.c (get_pty_max_bytes):
6285 Support pty input lines longer than 512 bytes on HP-UX 10.20.
6287 2000-08-31 Martin Buchholz <martin@xemacs.org>
6289 * tooltalk.c: Add #include <syssignal.h>
6291 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
6293 * s/hpux.h: Don't use undefined function sigunblock().
6295 2000-08-31 Martin Buchholz <martin@xemacs.org>
6297 * config.h.in: Add HAVE_BALLOON_HELP.
6298 * emacs.c: Use HAVE_BALLOON_HELP.
6299 * Makefile.in.in (x_objs):
6300 Make Balloon Help conditional on finding shape.h.
6302 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
6304 * syntax.c (regex_emacs_buffer_p): New variable.
6305 * syntax.h (regex_emacs_buffer_p): extern.
6306 * search.c (looking_at_1):
6308 (fast_string_match):
6309 (search_buffer): Set regex_emacs_buffer_p.
6310 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
6311 when before_dot, at_dot, after_dot.
6313 2000-08-23 Andy Piper <andy@xemacs.org>
6315 * gui-x.c (popup_selection_callback): Only set action_occurred
6316 when we really have an image instance.
6317 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
6319 2000-08-23 Andy Piper <andy@xemacs.org>
6321 * gui-msw.c (mswindows_handle_gui_wm_command): set
6323 * gui-x.c (popup_selection_callback): ditto.
6325 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
6326 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
6327 (struct Lisp_Image_Instance): add action_occurred flag.
6329 * glyphs.c (redisplay_subwindow): use action_occurred flag.
6330 (image_instance_changed): ditto.
6331 (reset_frame_subwindow_instance_cache): only unmap windows - do
6332 not remove them from the cache also.
6334 * glyphs-widget.c (tab_control_update): better debug.
6335 (progress_gauge_update): ditto.
6336 (layout_update): ditto.
6337 (layout_instantiate): ditto.
6338 (tab_control_order_only_changed): cope with null pending items.
6340 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
6341 debug. Force selection of an item when an action occurred. Cope
6342 with null pending_items.
6343 (mswindows_progress_gauge_redisplay): better debug.
6344 * glyphs-x.c (x_tab_control_redisplay): ditto.
6346 * redisplay.c (redisplay_frame): reset the frame cache if the
6349 * window.c (Fset_window_configuration): potentially re-enable
6351 (window_unmap_subwindows): need to finalize instances here since
6352 it is only used in mark_window_as_deleted.
6354 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
6356 * nas.c (SndOpenDataForReading):
6357 nas.c (WaveOpenDataForReading):
6358 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
6359 Somehow escaped from the 2000-08-14 patch.
6361 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6363 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
6364 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
6366 2000-08-21 Andy Piper <andy@xemacs.org>
6368 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
6369 window if it is not already displayed.
6371 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
6372 it is not already displayed.
6374 * window.c (Fset_window_configuration): don't reset the frame
6377 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
6378 instances from the frame cache if we are actually finalizing them.
6379 (reset_frame_subwindow_instance_cache): reset frame cache only
6380 after unmapping everything.
6381 (map_subwindow): set displayed flag after mapping.
6383 2000-08-21 Martin Buchholz <martin@xemacs.org>
6385 * data.c (indirect_function):
6386 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
6388 * eval.c (function_argcount):
6389 Use original function when signaling errors.
6391 2000-08-18 Andy Piper <andy@xemacs.org>
6393 * frame.c (delete_frame_internal): use new
6394 free_frame_subwindow_instances name.
6396 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
6397 (add_tab_item): make return type correct.
6398 (mswindows_tab_control_instantiate): assert index of tab.
6399 (mswindows_tab_control_redisplay): Re-code to use
6400 gui_item_equal_sans_selected and gui_item_list_find_selected.
6402 * glyphs-widget.c (tab_control_update): Correct comment.
6404 * window.c (window_unmap_subwindows): use new
6405 unmap_subwindow_instance_cache_mapper.
6406 (window_unmap_subwindows_cache_mapper): deleted.
6407 (Fset_window_configuration): comparisons should now be with
6408 EQ. Preserve the subwindow instance cache across configuration
6410 (allocate_window): ditto.
6411 (make_dummy_parent): ditto.
6413 * glyphs.c (free_frame_subwindow_instances): rename from
6414 free_frame_subwindow_instance_cache. finalize all instances rather
6415 than just those in the display cache.
6416 (finalize_all_subwindow_instances): walk windows unmapping and
6417 finalizing subwindows.
6418 (unmap_subwindow_instance_cache_mapper): moved from
6419 window.c. Allow finalization as well as unmapping.
6421 * gui.c (gui_item_list_find_selected): new function.
6423 * gui.h (gui_item_list_find_selected): declare.
6425 * glyphs-x.c (x_tab_control_redisplay): pick tab
6426 explicitly. Re-code to use gui_item_equal_sans_selected and
6427 gui_item_list_find_selected.
6429 * glyphs-x.h: add lwlib-utils.h
6431 * buffer.c (Frecord_buffer): undo previous change.
6433 2000-08-09 Vin Shelton <acs@xemacs.org>
6435 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
6436 possible. Create temporary files more securely. The patch was
6437 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
6438 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
6439 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
6442 2000-08-07 Ben Wing <ben@xemacs.org>
6444 * getloadavg.c: remove duplicate (and windows-breaking)
6445 includes of fcntl.h and sys/file.h.
6447 * nt.c: remove duplicate getloadavg() definition.
6449 * sysdll.h (Qdll_filename_encoding): add missing stand-in
6452 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
6454 * eval.c (function_argcount): If function needs to be autoloaded
6455 actually use the loaded definition.
6458 2000-08-05 Ben Wing <ben@xemacs.org>
6460 * getloadavg.c: add prototype for getloadavg(). remove
6461 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
6462 of the code). remove duplicate header includes.
6464 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
6466 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
6467 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
6468 useful load average.
6470 * alloc.c (reinit_alloc_once_early): removed references to
6471 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
6472 the lisp vars are the only things referencing the malloc_sbrk_*
6473 vars, and they were already if 0'd out. these vars only exist
6474 in the older malloc.c, which is basically unused, and they're
6475 only for informational purposes.
6477 * m\*.h: removed useless VIRT_ADDR_VARIES.
6479 * m\powerpc.h: removed stray NO_ARG_ARRAY.
6481 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
6483 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
6484 color if the image is a mono pixmap.
6486 2000-07-30 Ben Wing <ben@xemacs.org>
6488 * Makefile.in.in (release):
6491 * buffer.c (directory_is_current_directory):
6492 * dired-msw.c (mswindows_get_files):
6494 * dired.c (Fdirectory_files):
6495 * dired.c (file_name_completion_stat):
6496 * dired.c (Ffile_attributes):
6497 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
6498 preprocessor tricks, to avoid problems on some machines
6501 * callproc.c (egetenv): GC docs.
6504 * console-msw.h (struct mswindows_dialog_id):
6505 * lrecord.h (lrecord_type):
6506 New object for use with MSW dialogs.
6508 * console.h (struct console_methods):
6509 New enable/disable frame methods, for proper modal dialogs.
6511 * device-msw.c (msprinter_default_printer): Fix to follow
6512 proper Mule conventions.
6515 * device-msw.c (signal_open_printer_error):
6516 * device-msw.c (msprinter_init_device):
6517 * device-msw.c (ensure_not_printing):
6518 * device-msw.c (plist_get_margin):
6519 * device-msw.c (Fmsprinter_select_settings):
6520 * device-msw.c (finalize_devmode):
6521 * device-msw.c (Fmsprinter_settings_despecialize):
6522 * device-msw.c (signal_enum_priner_error):
6523 * extents.c (decode_extent):
6524 * extents.c (decode_map_extents_flags):
6525 * extents.c (decode_extent_at_flag):
6526 * extents.c (Fextent_at):
6527 * extents.c (Fextents_at):
6528 * extents.c (symbol_to_glyph_layout):
6529 [[[[2]]]] Use structured errors.
6532 * dialog-msw.c (mswindows_is_dialog_msg):
6533 * dialog-msw.c (mark_mswindows_dialog_id):
6534 * dialog-msw.c (dialog_proc):
6535 * dialog-msw.c (handle_question_dialog_box):
6536 * dialog-msw.c (syms_of_dialog_mswindows):
6537 Define new object to clean up marking; use it as a dialog identifier.
6538 Call new delete-dialog-box-hook.
6540 * dialog-x.c (dbox_selection_callback):
6541 * dialog-x.c (dbox_descriptor_to_widget_value):
6542 * dialog-x.c (x_make_dialog_box_internal):
6543 Call new delete-dialog-box-hook.
6547 * dialog.c (syms_of_dialog):
6548 * dialog.c (vars_of_dialog):
6549 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
6552 * eval.c (signal_call_debugger):
6553 when noninteractive, output stack traces on the console instead
6554 of in a (never-seen) buffer.
6556 * eval.c (signal_type_error):
6557 * eval.c (invalid_argument_2):
6559 new funs for use w/structured errors.
6562 * event-Xt.c (x_to_emacs_keysym):
6563 * event-Xt.c (describe_event):
6564 * event-Xt.c (emacs_Xt_event_handler):
6565 * event-Xt.c (vars_of_event_Xt):
6567 * event-msw.c (mswindows_wnd_proc):
6568 * event-msw.c (vars_of_event_mswindows):
6569 rename {x,mswindows}-debug-events to debug-{}-events for
6570 consistency with other debug-foo variables.
6573 document next-event more clearly.
6575 * fileio.c (Ffile_name_directory):
6576 * fileio.c (Ffile_name_nondirectory):
6577 * fileio.c (Funhandled_file_name_directory):
6578 * fileio.c (file_name_as_directory):
6579 * fileio.c (Ffile_name_as_directory):
6580 * fileio.c (directory_file_name):
6581 * fileio.c (Fdirectory_file_name):
6582 * fileio.c (Fmake_temp_name):
6583 * fileio.c (Ffile_truename):
6584 * fileio.c (Fsubstitute_in_file_name):
6585 * fileio.c (expand_and_dir_to_file):
6586 * fileio.c (barf_or_query_if_file_exists):
6587 * fileio.c (check_executable):
6588 * fileio.c (Ffile_exists_p):
6589 * fileio.c (Ffile_writable_p):
6590 * fileio.c (Ffile_directory_p):
6591 * fileio.c (Ffile_regular_p):
6592 * fileio.c (Ffile_modes):
6593 * fileio.c (Ffile_newer_than_file_p):
6594 * fileio.c (Fverify_visited_file_modtime):
6595 * fileio.c (Fset_visited_file_modtime):
6596 * fileio.c (auto_save_1):
6601 * frame-msw.c (mswindows_init_frame_1):
6602 * frame-msw.c (mswindows_enable_frame):
6603 * frame-msw.c (error_frame_unsizable):
6604 * frame-msw.c (msprinter_init_frame_1):
6605 * frame-msw.c (msprinter_init_frame_3):
6606 * frame-msw.c (console_type_create_frame_mswindows):
6608 implement new enable/disable frame methods.
6611 * frame-x.c (x_enable_frame):
6612 * frame-x.c (console_type_create_frame_x):
6613 implement new enable/disable frame methods.
6616 * frame.c (Fdisable_frame):
6617 * frame.c (syms_of_frame):
6618 * frame.h (struct frame):
6619 implement new enable/disable frame methods/functions.
6624 * glyphs-msw.c (mswindows_widget_instantiate):
6625 comment that initial-focus should be implemented.
6628 * glyphs-widget.c (check_valid_instantiator):
6629 * glyphs-widget.c (check_valid_orientation):
6630 * glyphs-widget.c (check_valid_tab_orientation):
6631 * glyphs-widget.c (check_valid_justification):
6632 * glyphs-widget.c (check_valid_border):
6633 * glyphs-widget.c (check_valid_callback):
6634 * glyphs-widget.c (check_valid_int_or_function):
6635 * glyphs-widget.c (check_valid_string_or_vector):
6636 * glyphs-widget.c (check_valid_item_list_1):
6637 * glyphs-widget.c (widget_validate):
6638 * glyphs-widget.c (combo_box_validate):
6639 * glyphs-widget.c (widget_instantiate):
6640 * glyphs-widget.c (syms_of_glyphs_widget):
6641 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
6642 * glyphs-widget.c (image_instantiator_combo_box):
6643 * glyphs-widget.c (image_instantiator_scrollbar):
6644 * glyphs-widget.c (image_instantiator_tab_control):
6645 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
6647 support (unimplemented) keyword initial-focus.
6648 reindent long macros.
6650 * glyphs-x.c (x_redisplay_widget):
6651 * glyphs-x.c (x_button_instantiate):
6652 * glyphs-x.c (x_button_redisplay):
6653 * glyphs-x.c (x_progress_gauge_instantiate):
6654 * glyphs-x.c (x_edit_field_instantiate):
6655 * glyphs-x.c (x_combo_box_instantiate):
6656 * glyphs-x.c (x_tab_control_instantiate):
6657 * glyphs-x.c (x_label_instantiate):
6659 * gui-x.c (button_item_to_widget_value):
6660 * gui-x.c (gui_items_to_widget_values_1):
6661 * gui-x.c (gui_item_children_to_widget_values):
6662 * gui-x.c (gui_items_to_widget_values):
6664 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6665 add new flag to gui-parsing routines to indicate whether
6666 accelerator specs should be supported.
6668 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
6670 * glyphs.h (struct Lisp_Image_Instance):
6671 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
6672 add initial-focus flag.
6675 * gui.c (syms_of_gui):
6676 * gui.c (vars_of_gui):
6677 clean up menu-no-selection-hook.
6680 support delete-dialog-box-hook.
6682 * lread.c (Fload_internal):
6683 * lread.c (locate_file_in_directory_mapper):
6687 * lrecord.h (struct toolbar_button):
6688 * lrecord.h (syms_of_toolbar):
6689 document how to create a new object.
6691 * menubar-msw.c (mswindows_char_is_accelerator):
6692 may be called on frames w/o menus.
6694 * menubar.c (vars_of_menubar):
6695 clean up :filter docs.
6702 * process-nt.c (validate_signal_number):
6703 * process-nt.c (signal_cannot_launch):
6704 * process-nt.c (nt_create_process):
6705 * process-nt.c (nt_send_process):
6706 * process-nt.c (nt_kill_child_process):
6707 * process-nt.c (nt_open_network_stream):
6708 * process-nt.c (syms_of_process_nt):
6710 delete quote-handling. call new lisp code that does it better.
6712 * process-unix.c (connect_to_file_descriptor):
6713 * process-unix.c (allocate_pty):
6714 * process-unix.c (unix_send_process):
6715 * process-unix.c (unix_kill_child_process):
6716 * process-unix.c (unix_open_network_stream):
6717 * process-unix.c (unix_open_multicast_group):
6721 * process.c (Fstart_process_internal):
6722 (2). need to canonicalize process path even if absolute.
6724 * select-msw.c (symbol_to_ms_cf):
6725 * select-msw.c (ms_cf_to_symbol):
6726 * select-msw.c (cf_is_autofreed):
6727 * select-msw.c (mswindows_destroy_selection):
6729 * select.c (syms_of_select):
6731 support dibv5, fix bugs. (from Mike Alexander)
6733 * select.c (Fget_selection_internal):
6734 * select.c (select_convert_out):
6737 * sysdep.c (xemacs_stat):
6742 but keep original stat() here because we provide encapsulation
6746 * sysfile.h (fstat):
6747 remove stat garbage.
6751 don't include tchar.h. it's inappropriate because it makes
6752 compile-time distinctions when we want runtime distinctions.
6753 (we provide our own tchar replacements)
6756 use default object printer for toolbar-button.
6759 make sure we don't encapsulate.
6761 * window.c (vars_of_window):
6762 emphasize that temp-buffer-show-hook is obsolete.
6764 2000-08-05 Martin Buchholz <martin@xemacs.org>
6766 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
6767 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
6769 * events.c (Fevent_timestamp_lessp):
6770 Not 64-bit clean. Use EMACS_INT, not int.
6772 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
6774 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
6775 unsigned int and changed the last enum to
6776 lrecord_type_last_built_in_type.
6777 (lrecord_implementations_table): changed prototype to know how
6778 long the array is supposed to be.
6779 (lrecord_type_count): new unsigned int to keep track of the
6780 current number of lisp lrecord types.
6781 (DEFINE_EXTERNAL_LRECORD):
6782 (DECLARE_EXTERNAL_LRECORD): Added these two for external
6783 dynamic-modules to declare new lisp types. They are the same
6784 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
6785 int for each new type, and increment lrecord_type_count by 1.
6787 * alloc.c (lrecord_implementations_table): Changed to reference
6788 lrecord_type_last_built_in_type for the size of the array.
6789 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
6791 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6793 * glyphs.h (check_valid_item_list): Renamed from
6794 check_valid_item_list_1.
6796 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
6798 * select.c (Qselect_coerce): New.
6799 * select.c (Vselection_coercion_alist): New.
6800 * select.c (syms_of_select): Declare.
6801 * select.c (get-selection-internal): Use it.
6802 Use the new select-coerce functionality.
6804 * select.c (select_coerce): New.
6805 * select.h (select_coerce): Declare.
6806 New function to coerce one type of data into another.
6808 2000-08-03 Martin Buchholz <martin@xemacs.org>
6810 * callproc.c (Fcall_process_internal):
6811 (Fcall_process_internal):
6812 * process-unix.c (unix_create_process):
6813 Save and restore the value of errno, so that error messages are accurate.
6815 2000-08-01 Martin Buchholz <martin@xemacs.org>
6817 * elhash.c (print_hash_table):
6818 Fix printing of hash tables to also use `key-and-value' instead of `t'.
6819 Prettify docstrings and indentation.
6821 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
6823 * window.c (Fwindow_pixel_edges): Subtract frame border and
6826 2000-07-31 Andy Piper <andy@xemacs.org>
6828 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
6829 will acknowledge the change.
6831 * glyphs.h: declare tab_control_order_only_changed.
6833 * glyphs-x.c (x_tab_control_redisplay): use
6834 tab_control_order_only_changed.
6836 * glyphs-widget.c (tab_control_order_only_changed): new function.
6838 * glyphs-msw.c (mswindows_tab_control_redisplay): use
6839 tab_control_order_only_changed.
6841 * gui.c (gui_item_equal_sans_selected): new function.
6842 (gui_item_equal): use it.
6844 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
6845 :properties in favor of :items..
6847 * glyphs-widget.c (check_valid_item_list): rename from
6848 check_valid_item_list_1.
6849 (check_valid_item_list_1): renamed.
6850 (combo_box_validate): deprecate :properties in favor of :items.
6851 (widget_instantiate): ditto.
6852 (tab_control_update): ditto.
6853 (image_instantiator_combo_box): ditto.
6854 (image_instantiator_tree_view): ditto.
6855 (image_instantiator_tab_control): ditto.
6856 (layout_post_instantiate): remove dead code.
6858 * print.c (debug_print_no_newline): only write to debugger if in
6861 * elhash.c (Fmake_hash_table): update doc string.
6863 * event-msw.c (mswindows_wnd_proc): don't allow processing of
6864 messages whilst in GC. This at least stops XEmacs crashing but has
6865 the potential for wierd behaviour.
6867 2000-07-31 Martin Buchholz <martin@xemacs.org>
6870 Make existence of s&m files optional.
6872 * s/bsd386.h: Remove HAVE_GETLOADAVG.
6873 * s/freebsd.h: Remove HAVE_GETLOADAVG.
6874 * s/gnu.h: Remove HAVE_GETLOADAVG.
6875 * s/netbsd.h: Remove HAVE_GETLOADAVG.
6876 * s/sol2.h: Remove HAVE_GETLOADAVG.
6877 * lisp.h: Remove getloadavg() declaration.
6879 Include <sys/loadavg.h> if available.
6880 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
6881 * config.h.in: Group together getloadavg()-related macros.
6882 Use only configure-time tests to detect getloadavg().
6884 2000-07-30 Martin Buchholz <martin@xemacs.org>
6886 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
6888 2000-07-25 Andy Piper <andy@xemacs.org>
6890 * syswindows.h: add tchar.h for native builds.
6892 * frame.c (syms_of_frame): remove set-glyph-image.
6894 * general-slots.h: add Qset_glyph_image.
6896 * glyphs-widget.c (layout_update): add domain arg to
6898 (syms_of_glyphs_widget): remove set-glyph-image.
6900 2000-07-23 Ben Wing <ben@xemacs.org>
6902 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
6905 2000-07-22 Andy Piper <andy@xemacs.org>
6907 * symsinit.h: add syms_of_win32().
6909 * gui-msw.c (syms_of_gui_mswindows): remove
6910 Fmswindows_shell_execute.
6911 (Fmswindows_shell_execute): moved to win32.c.
6913 * emacs.c (main_1): add syms_of_win32 ().
6915 * win32.c (init_potentially_nonexistent_functions): rewrite in
6916 compiler-friendly terms.
6917 (Fmswindows_shell_execute): move here from gui-msw.c.
6918 (syms_of_win32): new.
6920 * device-msw.c (Fmswindows_printer_list): clean up args to
6922 Don't include tchar under cygwin or mingw.
6923 (msprinter_default_printer): make cygwin-friendly.
6925 2000-07-21 Andy Piper <andy@xemacs.org>
6927 * glyphs-widget.c (image_instantiator_tree_view): use tab
6928 control's update function.
6929 (layout_property): new function. Retrieve items.
6931 * glyphs-msw.c (mswindows_tree_view_redisplay): new
6932 function. Re-populate the tree view from the pending items.
6934 * glyphs.c (instantiate_image_instantiator): Make sure the domain
6935 is designated the parent if the domain is an image instance. This
6936 is needed so that dirtiness can be cascade up the hierarchy and
6937 thus for layout children to be redisplayed correctly.
6938 (allocate_image_instance): rename glyph -> parent.
6940 * redisplay.h: change redisplay_output_layout signature.
6942 * redisplay-msw.c (mswindows_output_display_block): use domain
6945 * redisplay-x.c (x_output_display_block): use domain arg.
6947 2000-07-10 Andy Piper <andy@xemacs.org>
6949 * window.c (Fset_window_configuration): add comment.
6951 * redisplay-output.c (compare_runes):
6952 (redisplay_output_subwindow): redisplay rather than update subwindow.
6953 (redisplay_output_layout): ditto.
6955 * redisplay-msw.c (mswindows_frame_output_end):
6956 (mswindows_frame_output_end): make defer window pos optional.
6958 * lisp.h: add Flast.
6960 * glyphs.h (struct image_instantiator_methods): add dest_mask top
6961 normalize method. Change update method to be for changed
6962 instantiators. Add redisplay method. Change signature of layout
6964 (struct Lisp_Image_Instance): add instantiator.
6965 (IMAGE_INSTANCE_INSTANTIATOR): new.
6966 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
6967 (XIMAGE_INSTANCE_INSTANTIATOR): new.
6968 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
6971 (find_instantiator_differences): new function.
6972 (Fset_instantiator_property): new convenience function.
6973 (check_image_instance_structure): strictly check for vector
6975 (normalize_image_instantiator): make non-static.
6976 (instantiate_image_instantiator): pass on dest_mask and use new
6977 signatures for image_instance_layout and friends.
6978 (mark_image_instance): mark the instantiator. Mark the subwindow
6979 face not the widget face.
6980 (image_instance_equal): add instantiator.
6981 (image_instance_hash): ditto.
6982 (allocate_image_instance): ditto.
6983 (Fset_image_instance_property): removed.
6984 (Fimage_instance_file_name): ditto.
6985 (Fcolorize_image_instance): ditto.
6986 (image_instance_layout): add offsets to be set.
6987 (update_image_instance): new function. update an image instance
6988 from its changed instantiator.
6989 (inherit_normalize): add dest_mask.
6990 (xbm_normalize): ditto.
6991 (xface_normalize): ditto.
6992 (xpm_normalize): ditto.
6993 (text_update): set_property -> update.
6994 (image_instantiate): use the glyph identity as a hash key, not the
6996 (glyph_width): use new image_instance_layout signature.
6997 (glyph_ascent): ditto.
6998 (glyph_descent): ditto.
6999 (glyph_height): ditto.
7000 (glyph_query_geometry): ressurrect.
7001 (glyph_layout): ditto.
7002 (redisplay_subwindow): update -> redisplay.
7003 (syms_of_glyphs): add Fset_instantiator_property.
7004 (image_instantiator_format_create): set_property -> update.
7007 (autodetect_normalize): add dest_maks to signature.
7008 (x_redisplay_subwindow): update -> redisplay.
7009 (x_redisplay_widget): ditto.
7010 (x_button_redisplay): ditto.
7011 (x_progress_gauge_redisplay): ditto.
7012 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
7014 (console_type_create_glyphs_x): update -> redisplay.
7015 (image_instantiator_format_create_glyphs_x): ditto.
7018 (check_valid_instantiator): disallow glyphs in the instantiator,
7019 they must now be vectors.
7020 (check_valid_instantiator_list): ditto.
7021 (glyph_instantiator_to_glyph): use internal symbol rather than
7023 (widget_update): renamed from widget_set_property. Call cascaded
7025 (redisplay_widget): renamed from update_widget.
7026 (widget_layout): image_instance_layout now takes position as well
7028 (widget_normalize): ditto.
7029 (widget_instantiate): ditto.
7030 (tab_control_query_geometry) ditto.:
7031 (tab_control_update): renamed from tab_control_set_property.
7032 (progress_gauge_update): set_property -> update.
7033 (layout_normalize): rewrite so that child instantiators are
7035 (layout_update): new function. Create glyphs from the normalized
7036 children and cope with any other layout keywords. We do not
7037 instantiate children here that will be take care of by
7038 redisplay_output_layout.
7039 (layout_instantiate): call layout_update and not much else.
7040 (layout_post_instantiate): not sure whether this is needed
7042 (layout_query_geometry): query glyph geometry rather than
7043 image_instance geometry.
7044 (layout_layout): set offsets from pass in parameters. Use glyph
7045 geometry and layout functions rather than image instance ones.
7046 (native_layout_layout): ditto.
7047 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
7048 (image_instantiator_widget): set_property -> update.
7049 (image_instantiator_buttons): ditto.
7050 (image_instantiator_progress_guage): ditto.
7051 (image_instantiator_tab_control): ditto.
7052 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
7053 (image_instantiator_layout): add update method.
7055 * glyphs-msw.c (bmp_normalize):
7056 (mswindows_resource_normalize): add dest_mask so that it can be
7057 proprogated by layout_normalize.
7058 (begin_defer_window_pos): make optional because it may not be the
7059 right thing to do and it introduces differences with X.
7060 (mswindows_unmap_subwindow): ditto.
7061 (mswindows_map_subwindow): ditto.
7062 (mswindows_redisplay_subwindow): renamed from
7063 mswindows_update_subwindow.
7064 (mswindows_redisplay_widget): ditto.
7065 (mswindows_button_redisplay): renamed from
7066 mswindows_button_update. Update is now what the instantiation
7067 function does for a changed instantiator.
7068 (mswindows_progress_gauge_instantiate): set the progress value
7069 here if appropriate.
7070 (mswindows_tab_control_redisplay): cope with re-ordering of the
7071 members of the tab widget by simply selecting the new top
7072 widget. This makes things appear ok if you click on a tab.
7073 (mswindows_combo_box_instantiate): image_instance_layout now takes
7074 position as well as size.
7075 (mswindows_progress_gauge_redisplay): renamed from
7076 mswindows_progress_gauge_update.
7077 (console_type_create_glyphs_mswindows): fix update -> redisplay.
7078 (image_instantiator_format_create_glyphs_mswindows): ditto.
7080 * glyphs-eimage.c (jpeg_normalize):
7083 (tiff_normalize): add dest_mask so that it can be proprogated by
7088 (hash_table_weakness_validate):
7089 (decode_hash_table_weakness):
7090 (Fhash_table_weakness):
7092 (syms_of_elhash): use Ben's naming scheme for hashtable types..
7094 * console.h (struct console_methods): move update_* to
7097 2000-07-20 Ben Wing <ben@xemacs.org>
7099 * *.[ch] (XSETOBJ): remove unused middle argument.
7100 lisp-disunion.h: correct wrap_object() to one argument.
7102 2000-07-15 Ben Wing <ben@xemacs.org>
7105 * s/cygwin32.h (CYGWIN_CONV_PATH):
7106 Add missing logb prototype for v1.1.
7107 Use post-b20 names and alias to pre-b20 names when pre-b20.
7109 * s/windowsnt.h: [5].
7111 2000-07-15 Ben Wing <ben@xemacs.org>
7113 * Makefile.in.in (x_objs):
7114 * Makefile.in.in (sheap_objs):
7115 * Makefile.in.in (objs):
7116 added win32.o, cosmetic cleanups.
7118 * alloc.c (Fmake_byte_code):
7119 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
7120 etc. macros which declare their own args now.
7122 * alloc.c (syms_of_alloc):
7123 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
7126 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
7128 * buffer.c (Fget_file_buffer):
7129 Fixed GCPRO problem.
7131 * buffer.c (get_truename_buffer):
7132 Fixed comment about GC checking.
7134 * buffer.c (syms_of_buffer):
7135 Undeclared those dedicated frame funs.
7139 Define convenience macros for internal/external conversions.
7140 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
7141 and Qenvironment_variable_encoding for cleaner code.
7144 Remove dedicated-frame; in lisp.
7146 * bytecode.c (funcall_compiled_function):
7149 * bytecode.c (syms_of_bytecode):
7153 * console-msw.c (mswindows_show_console): Rewrote.
7155 * console-msw.c (Fmswindows_debugging_output): New.
7156 Sends to OutputDebugString (special MSWin debugger interface).
7158 * console-msw.c (Fmswindows_message_box):
7159 Fixed stupid bugs so it works when called from kill-emacs.
7161 * console-msw.c (syms_of_console_mswindows):
7162 Declare Fmswindows_debugging_output.
7165 New MSWin prototypes.
7167 * console-msw.h (struct mswindows_frame):
7168 New entry last-click-mods for improved button-modifier support.
7170 * console-msw.h (FRAME_MSWINDOWS_POPUP):
7171 New struct entry `popup' with corresponding accessor.
7174 * console-x.c (split_up_display_spec):
7175 * console-x.c (get_display_arg_connection):
7176 * console-x.c (x_semi_canonicalize_console_connection):
7177 * console-x.c (x_canonicalize_device_connection):
7178 [[[6]]]: Change char to more specific type.
7179 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
7181 * console-x.c (x_semi_canonicalize_console_connection):
7182 * console-x.c (x_canonicalize_device_connection):
7183 [[[9]]]: Fix up error signalling to use new structured error system.
7186 [[[4]]]: Define codesys aliases:
7187 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
7188 Qx_color_name_encoding, Qx_display_name_encoding.
7190 * console.h (struct console_methods):
7191 New method make_dialog_box_internal supersedes older
7192 popup_dialog_box method.
7195 Define many new errors, part of new structured errors.
7197 * data.c (init_errors_once_early):
7198 * data.c (syms_of_data):
7201 * device-msw.c (mswindows_init_device):
7202 [[[5]]]: Cleanup to support NT 3.51.
7204 * device-msw.c (decode_devmode): Cleanup.
7206 * device-msw.c (mswindows_handle_print_setup_dialog_box):
7207 * device-msw.c (mswindows_handle_print_dialog_box):
7208 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7209 * device-msw.c (syms_of_device_mswindows):
7210 Delete the dialog box primitives recently introduced by Kirill and
7211 instead interface to general dialog box interface.
7214 * device-x.c (compute_x_app_name):
7215 * device-x.c (x_init_device):
7216 * device-x.c (Fx_valid_keysym_name_p):
7217 * device-x.c (Fx_set_font_path):
7221 * device.h (wrap_device): New.
7222 First of its kind; meant to replace XSETDEVICE.
7224 * dialog-msw.c: Many file-dialog symbols.
7226 * dialog-msw.c (mswindows_register_popup_frame): New.
7227 * dialog-msw.c (mswindows_is_dialog_msg): New.
7228 For supporting kbd traversal in dialog boxes.
7230 * dialog-msw.c (dialog_proc):
7231 Support hitting ESC in dialogs.
7233 * dialog-msw.c (struct):
7234 Common dialog box errors.
7236 * dialog-msw.c (handle_file_dialog_box): New.
7237 Add file dialog code.
7239 * dialog-msw.c (handle_question_dialog_box):
7240 Redo existing code to support new question dialog syntax.
7242 * dialog-msw.c (console_type_create_dialog_mswindows):
7243 We support new dialog console method.
7245 * dialog-msw.c (syms_of_dialog_mswindows):
7246 * dialog-msw.c (vars_of_dialog_mswindows):
7247 New file dialog symbols, vars.
7250 * dialog-x.c (maybe_run_dbox_text_callback):
7251 * dialog-x.c (dbox_descriptor_to_widget_value):
7252 * dialog-x.c (x_make_dialog_box_internal):
7253 * dialog-x.c (console_type_create_dialog_x):
7254 Mule-ize entire file.
7255 Redo to support question dialog syntax.
7259 * dialog.c (Fmake_dialog_box_internal):
7260 * dialog.c (syms_of_dialog):
7261 Kill old popup-dialog-box, replace with new primitive.
7262 Just call device method or signal error.
7264 * eldap.c (Fldap_open):
7265 * eldap.c (Fldap_search_basic):
7266 * eldap.c (Fldap_add):
7267 * eldap.c (Fldap_modify):
7272 * emacs.c (make_arg_list_1):
7273 * emacs.c (make_arg_list):
7274 Mule-ize call to dll_init().
7278 * emacs.c (make_argc_argv):
7279 * emacs.c (free_argc_argv):
7280 * emacs.c (init_cmdargs):
7282 * emacs.c (Fkill_emacs):
7283 * emacs.c (Fdump_emacs):
7284 Update comments about what can be used in syms_* etc.
7285 Call init_win32() when necessary.
7286 Fix up MS Win dialog box in kill-buffer to actually work right.
7297 * eval.c (condition_case_3):
7299 * eval.c (function_argcount):
7300 * eval.c (funcall_lambda):
7303 * eval.c (type_error): New.
7304 * eval.c (maybe_type_error): New.
7305 * eval.c (continuable_type_error): New.
7306 * eval.c (maybe_continuable_type_error): New.
7307 * eval.c (type_error_with_frob): New.
7308 * eval.c (maybe_type_error_with_frob): New.
7309 * eval.c (continuable_type_error_with_frob): New.
7310 * eval.c (maybe_continuable_type_error_with_frob): New.
7311 New functions for use with structured errors.
7314 * event-Xt.c (x_event_to_emacs_event):
7315 Buttons are now modifiers too.
7317 * event-Xt.c (emacs_Xt_current_event_timestamp):
7318 Implement new event method.
7319 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
7322 * event-msw.c (ntpipe_shove_writer): [5].
7323 * event-msw.c (mswindows_enqueue_mouse_button_event):
7324 * event-msw.c (mswindows_drain_windows_queue):
7325 * event-msw.c (mswindows_wnd_proc): [7].
7326 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
7327 * event-msw.c (mswindows_modifier_state):
7328 Throughout: support new button modifiers.
7330 * event-msw.c (emacs_mswindows_current_event_timestamp):
7331 Implement new event method.
7332 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
7335 * event-stream.c (event_stream_current_event_timestamp): New.
7336 * event-stream.c (maybe_kbd_translate): New functionality.
7337 * event-stream.c (vars_of_event_stream):
7338 Document new kbd-translate-table functionality.
7340 * event-stream.c (Fcurrent_event_timestamp): New.
7341 New primitive for use in fabricated events.
7342 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
7344 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
7347 * events.c (Fmake_event):
7348 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
7352 * events.c (format_event_object): fix gcc warnings.
7354 * events.c (Fevent_timestamp): Document new primitives.
7356 * events.c (TIMESTAMP_HALFSPACE): New.
7358 * events.c (Fevent_timestamp_lessp): New. New primitive for
7359 comparing timestamps correctly (half-space algorithm).
7361 * events.c (Fevent_modifier_bits): Doc fix.
7363 * events.c (Fevent_modifiers): Major doc addition.
7364 * events.c (event_x_y_pixel_internal): Typo fix.
7365 * events.c (syms_of_events): Declare new primitives.
7368 Update long comment for button modifiers, timestamps.
7370 * events.h (struct event_stream):
7371 New current_event_timestamp method.
7374 * extents.c (extent_in_region_p):
7375 * extents.c (decode_extent):
7376 * extents.c (Fset_extent_parent):
7377 * extents.c (decode_map_extents_flags):
7381 * extents.c (struct extent_at_arg):
7382 * extents.c (decode_extent_at_flag):
7383 * extents.c (extent_at_mapper):
7384 * extents.c (extent_at_bytind):
7385 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
7386 * extents.c (Fextents_at): New primitive. [9].
7387 * extents.c (symbol_to_glyph_layout): [9].
7388 Support new primitive `extents-at'.
7391 * extents.c (get_text_property_bytind):
7392 extent_at_bytind has another arg.
7395 * extents.c (syms_of_extents): New primitive.
7397 * file-coding.c (Fmake_coding_system): [1].
7398 * file-coding.c (subsidiary_coding_system): fix gcc warning
7399 * file-coding.c (syms_of_file_coding): [2].
7401 * fileio.c (Fexpand_file_name):
7402 * fileio.c (Fsysnetunam):
7403 * fileio.c (Ffile_exists_p):
7404 * fileio.c (Ffile_executable_p):
7405 * fileio.c (Fverify_visited_file_modtime):
7408 * fileio.c (syms_of_fileio): [2].
7410 * filelock.c (lock_file_1):
7411 * filelock.c (current_lock_owner):
7412 * filelock.c (lock_if_free):
7413 * filelock.c (lock_file):
7414 * filelock.c (unlock_file):
7417 * fns.c (concat): Fix gcc warning.
7420 * fns.c (Fold_member):
7422 * fns.c (Fold_memq):
7423 * fns.c (memq_no_quit):
7425 * fns.c (Fold_assoc):
7427 * fns.c (Fold_assq):
7428 * fns.c (assq_no_quit):
7430 * fns.c (Fold_rassoc):
7432 * fns.c (Fold_rassq):
7433 * fns.c (rassq_no_quit):
7435 * fns.c (Fold_delete):
7437 * fns.c (Fold_delq):
7438 * fns.c (delq_no_quit):
7439 * fns.c (Fremassoc):
7441 * fns.c (remassq_no_quit):
7442 * fns.c (Fremrassoc):
7443 * fns.c (Fremrassq):
7444 * fns.c (remrassq_no_quit):
7449 * frame-msw.c (mswindows_init_frame_1):
7450 * frame-msw.c (mswindows_delete_frame):
7451 Register popups with dialog code so keyboard traversing works.
7453 * frame-tty.c (tty_raise_frame_no_select): [1].
7456 * frame-x.c (x_set_frame_text_value):
7457 * frame-x.c (x_set_frame_properties):
7458 * frame-x.c (x_create_widgets):
7462 * frame.c (Fmouse_pixel_position): Minor doc fixes.
7464 * frame.h (wrap_frame): New.
7465 Macro like wrap_device.
7468 * general.c (SYMBOL):
7469 * general.c (syms_of_general):
7470 Major reorg. This is now just a wrapper and symbols themselves
7471 are listed in general-slots.h.
7473 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
7474 * glyphs-msw.c (mswindows_resource_instantiate): [5].
7476 * glyphs-msw.c (mswindows_native_layout_instantiate):
7477 Add DS_CONTROL so keyboard traversal will work.
7480 * glyphs-widget.c (syms_of_glyphs_widget):
7481 Move some symbols to general-slots.h.
7484 * glyphs-x.c (xbm_instantiate_1):
7485 * glyphs-x.c (x_xbm_instantiate):
7486 * glyphs-x.c (x_xface_instantiate):
7487 * glyphs-x.c (autodetect_instantiate):
7488 * glyphs-x.c (cursor_font_instantiate):
7489 * glyphs-x.c (x_update_widget):
7490 * glyphs-x.c (x_widget_instantiate):
7491 * glyphs.c (bitmap_to_lisp_data):
7492 * glyphs.c (pixmap_to_lisp_data):
7495 * glyphs.c (syms_of_glyphs):
7499 * gui-x.c (print_widget_value):
7500 * gui-x.c (menu_separator_style_and_to_external):
7501 * gui-x.c (add_accel_and_to_external):
7502 * gui-x.c (button_item_to_widget_value):
7503 * gui-x.c (gui_items_to_widget_values_1):
7504 * gui-x.c (gui_items_to_widget_values):
7505 * gui-x.c (syms_of_gui_x):
7506 * gui-x.c (vars_of_gui_x):
7507 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
7511 Muleize, prototype changes matching gui-x.c.
7514 * gui.c (separator_string_p):
7515 * gui.c (gui_item_add_keyval_pair):
7516 * gui.c (make_gui_item_from_keywords_internal):
7517 * gui.c (signal_too_long_error):
7518 * gui.c (parse_gui_item_tree_item):
7519 * gui.c (syms_of_gui):
7520 * gui.c (vars_of_gui):
7522 menu-no-selection-hook moved here (used by MSWin).
7523 Move some symbols to general-slots.h.
7527 * insdel.c (get_buffer_pos_char):
7528 * insdel.c (get_buffer_range_char):
7531 * keymap.c (keymap_lookup_directly):
7532 * keymap.c (keymap_store):
7533 * keymap.c (ensure_meta_prefix_char_keymapp):
7534 * keymap.c (describe_map):
7536 Support new button modifiers.
7538 * lisp-disunion.h (wrap_object):
7539 * lisp-disunion.h (XSETOBJ):
7540 Rename make_obj to wrap_object.
7543 * lisp-union.h (make_int):
7544 * lisp-union.h (make_char):
7545 Support wrap_object.
7548 * lisp.h (LIST_LOOP):
7549 * lisp.h (EXTERNAL_LIST_LOOP):
7550 * lisp.h (LIST_LOOP_2):
7551 * lisp.h (EXTERNAL_LIST_LOOP_1):
7552 * lisp.h (EXTERNAL_LIST_LOOP_2):
7553 * lisp.h (EXTERNAL_LIST_LOOP_3):
7554 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
7555 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
7556 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
7557 * lisp.h (EXTERNAL_ALIST_LOOP_5):
7558 * lisp.h (EXTERNAL_ALIST_LOOP_6):
7559 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
7560 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
7561 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
7562 * lisp.h (struct Lisp_Symbol):
7563 * lisp.h (maybe_continuable_error_with_frob):
7564 Fix up section comments.
7565 Add new types for char to indicate usage.
7566 Delete symbols auto-generated from general-slots.h.
7567 Add prototypes for structured error functions.
7568 Add long comments describing looping macros and change interface
7569 so that lvalues are automatically declared.
7570 Add NO_DECLARE macro in case callers want to declare lvalues
7573 * lread.c (read_syntax_error):
7574 * lread.c (continuable_read_syntax_error):
7575 * lread.c (read_structure):
7576 * lread.c (sequence_reader):
7577 * lread.c (read_list_conser):
7578 * lread.c (read_compiled_function):
7579 Rename syntax_error and continuable_syntax_error to avoid clash
7580 with same-named structured error functions.
7582 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7583 * menubar-msw.c (populate_menu_add_item):
7584 * menubar-msw.c (populate_or_checksum_helper):
7589 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7590 Mule-ize whole file.
7592 * menubar.c (Fnormalize_menu_item_name): Add optimization.
7594 * mule-charset.c (Fmake_charset):
7595 * mule-wnnfns.c (Fwnn_set_param):
7598 * ntproc.c (create_child):
7599 * ntproc.c (Fwin32_set_current_locale):
7600 Add comments portending doom.
7603 * objects-msw.c (old_font_enum_callback_2):
7604 * objects-msw.c (font_enum_callback_1):
7605 * objects-msw.c (mswindows_enumerate_fonts):
7609 * objects-x.c (allocate_nearest_color):
7610 * objects-x.c (x_parse_nearest_color):
7611 * objects-x.c (x_initialize_color_instance):
7612 * objects-x.c (x_print_color_instance):
7613 * objects-x.c (x_finalize_color_instance):
7614 * objects-x.c (x_valid_color_name_p):
7615 * objects-x.c (x_initialize_font_instance):
7616 * objects-x.c (x_print_font_instance):
7617 * objects-x.c (valid_x_font_name_p):
7618 * objects-x.c (truename_via_FONT_prop):
7619 * objects-x.c (truename_via_random_props):
7620 * objects-x.c (truename_via_XListFonts):
7621 * objects-x.c (x_font_truename):
7622 * objects-x.c (x_font_instance_truename):
7623 * objects-x.c (x_font_instance_properties):
7624 * objects-x.c (x_list_fonts):
7625 * objects-x.c (x_find_charset_font):
7626 Mule-ize entire file.
7633 * print.c (std_handle_out_external):
7634 * print.c (debug_print_no_newline):
7635 * print.c (syms_of_print):
7636 Output to all debugger kinds in debug-print.
7637 Fix console-output code under MSWin to actually work.
7639 * process-nt.c (send_signal):
7640 * process-nt.c (nt_create_process):
7641 Use newer Unicode macros.
7643 * process-unix.c (unix_create_process):
7644 * process-unix.c (unix_canonicalize_host_name):
7645 * process-unix.c (unix_open_network_stream):
7651 * search.c (syms_of_search):
7654 * select-msw.c (mswindows_destroy_selection):
7657 * select-x.c (symbol_to_x_atom):
7660 * select.c (syms_of_select):
7663 * sound.c (Fplay_sound_file):
7667 * specifier.c (decode_specifier_type):
7668 * specifier.c (Fvalid_specifier_locale_type_p):
7669 * specifier.c (check_valid_locale_or_locale_type):
7670 * specifier.c (decode_locale):
7671 * specifier.c (decode_locale_type):
7672 * specifier.c (decode_locale_list):
7673 * specifier.c (check_valid_domain):
7674 * specifier.c (decode_specifier_tag_set):
7675 * specifier.c (Fcanonicalize_tag_set):
7676 * specifier.c (Fdefine_specifier_tag):
7677 * specifier.c (Fspecifier_tag_predicate):
7678 * specifier.c (check_valid_inst_list):
7679 * specifier.c (check_valid_spec_list):
7680 * specifier.c (decode_how_to_add_specification):
7681 * specifier.c (check_modifiable_specifier):
7682 * specifier.c (specifier_add_spec):
7683 * specifier.c (boolean_validate):
7684 * specifier.c (display_table_validate):
7687 * specifier.c (syms_of_specifier):
7688 Move some symbols to general-slots.h.
7692 * symbols.c (Fmapatoms):
7693 * symbols.c (Fapropos_internal):
7696 * symbols.c (set_default_buffer_slot_variable):
7697 * symbols.c (set_default_console_slot_variable):
7700 * symbols.c (defsymbol_massage_name_1):
7701 * symbols.c (defkeyword_massage_name):
7702 * symbols.c (deferror_1):
7703 * symbols.c (deferror):
7704 * symbols.c (deferror_massage_name_and_message):
7706 * symeval.h (DEFSYMBOL):
7707 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
7709 * symbols.c (syms_of_symbols):
7713 * symsinit.h (init_win32): New.
7714 Also new is syms_of_dialog_mswindows.
7717 Add new Unicode macros, missing Cygwin wide-char functions,
7718 convenience conversion macros for Qmswindows_tstr, macros for
7719 encapsulating required MSWin <-> Cygwin filename conversions,
7720 prototype for dynamically-extracted (not in NT 3.51) functions.
7725 * tooltalk.c (Fadd_tooltalk_message_arg):
7726 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
7727 * tooltalk.c (Fadd_tooltalk_pattern_arg):
7730 * tooltalk.c (syms_of_tooltalk):
7734 * unexnt.c (unexec):
7735 Fix up headers, declaration of unexec() to be more standard.
7737 2000-07-20 Martin Buchholz <martin@xemacs.org>
7739 * offix.h: Revert change to guard macros - they're used in offix.c!
7741 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7743 * lisp.h: Defsubred Fdelete.
7745 * console-msw.h: (msprinter_default_printer): Added.
7747 * console-msw.c (msprinter_canonicalize_console_connection):
7748 (msprinter_canonicalize_device_connection): Added.
7750 * device-msw.c (msprinter_default_printer):
7751 (Fmswingows_get_default_printer):
7752 (signal_enum_priner_error):
7753 (Fmswingows_printer_list): Added.
7755 2000-07-19 Martin Buchholz <martin@xemacs.org>
7757 * XEmacs 21.2.35 is released.
7759 2000-07-19 Martin Buchholz <martin@xemacs.org>
7761 * select-x.c (x_handle_selection_request):
7762 Text selected in xemacs and pasted into xterm failed to appear.
7763 Spelling fixes and cosmetic changes.
7765 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7767 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
7768 XEmacs frame (fix for doubling chars in dialog boxes).
7770 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7772 * select.c (select_convert_in, select_convert_out):
7773 Don't call intern() every time.
7775 * select.c (Qselect_convert_in, Qselect_convert_out): New.
7776 * select.c (vars_of_select): Initialise them.
7778 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7780 * select.c (selection-coercible-types): New.
7782 * select.c (own-selection-internal):
7783 * select.c (get-selection-internal):
7784 MULE bug fix - these should default to COMPOUND_TEXT and not
7785 STRING for MULE. I think.
7787 * select.c (select_convert_out): Use selection-coercible-types
7788 to find types that we can attempt to perform coercions on.
7790 2000-07-18 Martin Buchholz <martin@xemacs.org>
7794 Add coding: cookie to identify encoding.
7796 * mule-canna.c (CANNA_mode_keys): make static.
7797 Use proper prototypes, even for functions of no arguments.
7798 Remove external prototype for Fding().
7800 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
7802 * select.c (syms_of_select): Add missing DEFSUBR.
7804 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7806 * select.c (get_selection_internal, own_selection_internal):
7807 Make the type default to STRING, rather than placing a nil type
7808 into Vselection_alist.
7810 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7812 * gpmevent.c (tty_selection_exists_p):
7813 * gpmevent.c (tty_own_selection):
7814 Updated parameter lists.
7816 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
7818 * select.h (selection-alist): Removed declaration.
7820 * select.h (get_local_selection):
7821 * select.c (get_local_selection):
7824 * select.h (convert_selection): Removed declaration.
7825 * select.c (convert_selection): Removed.
7826 This function belongs in Lisp.
7828 * select.h (select_convert_in): Declare.
7829 * select.h (select_convert_out): Declare.
7830 * select.c (select_convert_in): New.
7831 * select.c (select_convert_out): New.
7832 New conversion functions for other files to call.
7834 * select.h (select_notify_buffer_kill): Declare.
7835 * select.c (select_notify_buffer_kill): New.
7836 New functions that get called from kill-buffer.
7838 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
7839 X-specific lisp code.
7841 * select.h: Declare some of the lisp-visible functions for
7844 * select.c (clean_local_selection_data): Removed. This was
7845 a disgusting function, and previously should have been in
7846 select-x.c in any case. The functionality is now provided
7847 in select-convert-from-integer (select.el).
7849 * select.c (available-selection-types): Fixed stupidity where
7850 INTEGER and ATOM got added twice. Also add STRING when we see an
7853 * select.c (get-selection-internal): Removed symbol stripping. No
7854 longer causes conversion when data comes from the internal cache.
7856 * select.c (syms_of_select): Added new functions.
7858 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
7859 error checking - previously this called abort!
7861 * select-x.c (x_own_selection): Changed comment.
7863 * select-x.c (x_handle_selection_request): Use select_convert_out.
7864 Don't mess with selection-alist; it's an internal variable of select.c.
7866 * select-x.c (x_get_foreign_selection): Use select_convert_in.
7868 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
7869 rather than messing with selection-alist.
7871 * select-msw.c (mswindows_get_foreign_selection):
7872 Use TO_INTERNAL_FORMAT rather than hacking.
7874 2000-07-14 Martin Buchholz <martin@xemacs.org>
7876 * process-unix.c (unix_open_multicast_group):
7877 (unix_open_multicast_group): Remove useless casts.
7879 2000-07-13 Martin Buchholz <martin@xemacs.org>
7881 * sound.c (Fplay_sound): Fix `unused variable' warning.
7883 * emacs.c (main): Use correct type for _environ on SCO5.
7885 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
7887 * console.h (own_selection_method):
7888 * console.h (selection_exists_p_method):
7889 * console.h (available_selection_types_method): New.
7890 * console.h (register_selection_data_type_method): New.
7891 * console.h (selection_data_type_name): New.
7893 * console-msw.h (mswindows_destroy_selection): Declare it. New
7894 function & alist to track GlobalAlloc()'d handles that need
7895 releasing when the clipboard data gets replaced or emptied.
7897 * event-msw.c (mswindows_wnd_proc): Call it.
7899 * lisp.h, general.c (Qappend): New symbol representing a
7902 * select.c (own-selection-internal):
7903 * select.c (selection-exists-p):
7904 * select.c (available-selection-types): New.
7905 * select.c (register-selection-data-type): New.
7906 * select.c (selection-data-type-name): New. New functions to deal
7907 with device-specific selection data formats.
7908 * select.c (selection-converter-out-alist): Renamed.
7909 * select.c (selection-converter-in-alist): New.
7910 * select.c (selection-appender-alist): New. Added new alists.
7911 * select.c (syms_of_select, vars_of_select): Added new symbols &
7913 * select.c (get_local_selection): Split.
7914 * select.c: Removed spurious type checking - selections may now be
7915 of any type, not just strings.
7916 * select.c (own-selection-internal):
7918 * select.h, select.c (convert_selection): New. Created
7919 convert_selection() function based on get_local_selection().
7920 * select.h, select.c (QCF_*): New symbols representing mswindows
7922 * select.h, select.c (Qreplace_all, Qreplace_existing): New
7923 symbols representing `how-to-add' modes.
7925 * select-msw.c (x_sym_p): New.
7926 * select-msw.c (symbol_to_ms_cf): New.
7927 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
7928 symbols & clipboard formats. Can also handle string names.
7929 * select-msw.c (mswindows_own_selection):
7930 * select-msw.c (mswindows_selection_exists_p):
7931 Added `data-type' parameter. Use it.
7932 * select-msw.c (mswindows_available_selection_types): New.
7933 * select-msw.c (mswindows_register_selection_data_type): New.
7934 * select-msw.c (mswindows_selection_data_type_name): New.
7935 * select-msw.c (mswindows_own_selection):
7936 * select-msw.c (mswindows_get_foreign_selection):
7937 * select-msw.c (mswindows_selection_exists_p): Rewrote.
7938 * select-msw.c (console_create_select_mswindows): Added new methods.
7939 * select-msw.c (mswindows_destroy_selection): New.
7940 * select-msw.c (Vhandle_alist): New list.
7941 * select-msw.c (mswindows_own_selection):
7943 * select-x.c (x_own_selection):
7944 * select-x.c (x_selection_exists_p):
7945 * select-x.c: Added some comments about maybe using new
7947 * select-x.c (x_own_selection):
7949 * specifier.c: Remove definition of Qappend (now in general.c)
7950 * specifier.c (syms_of_specifier): Remove Qappend.
7952 2000-07-12 Martin Buchholz <martin@xemacs.org>
7954 * config.h.in: Add socklen_t.
7956 * s/decosf4-0.h: No special compiler flags needed or desired.
7957 In particular, undefine _BSD for DEC OSF 4.0.
7959 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7961 * redisplay-msw.c (msprinter_frame_output_end): Added.
7962 (console_type_create_redisplay_mswindows): Referred the above.
7964 * frame.c (setup_frame_without_minibuffer): Do not create a
7965 default minibuffer frame on a printer device.
7967 * frame-msw.c (apply_dc_geometry): Added.
7968 (msprinter_start_page):
7969 (msprinter_init_frame_3):
7970 (msprinter_eject_page): Use it.
7972 * console-msw.h (struct msprinter_frame): Added pix_left and top,
7973 and removed residual duplex and orientation properties.
7975 2000-07-11 Martin Buchholz <martin@xemacs.org>
7977 * eval.c (function_argcount): Work around a DEC CC compiler bug.
7979 * unexalpha.c: Remove system prototypes from C sources!
7981 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
7983 * eval.c: Remove references to M-x edit-options in DEFUNs for
7984 `defvar' and `defconst'.
7986 2000-07-09 Martin Buchholz <martin@xemacs.org>
7988 * config.h.in: Remove SMART_INCLUDE hackery.
7991 * config.h.in: Don't use SMART_INCLUDE.
7993 * postgresql.h: Include libpq-fe.h here. Fix typo.
7994 * inline.c: Simply #include "postgresql.h"
7996 - Don't use SMART_INCLUDE
7997 - Use simply "const".
7998 - Use standard doc string conventions.
7999 - Use correct type for result of PQstatus.
8001 2000-07-09 Martin Buchholz <martin@xemacs.org>
8003 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
8005 C++ compilation changes.
8006 * config.h.in (EXTERN_C): Define.
8007 * config.h.in (not): This is also a C++ keyword.
8008 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
8009 * cm.c: Use EXTERN_C.
8010 * redisplay-tty.c: Use EXTERN_C.
8011 * sysdep.c: Use EXTERN_C. Remove Gould support.
8013 2000-07-09 Martin Buchholz <martin@xemacs.org>
8015 * general.c: Remove duplicate definition for Qfunction.
8017 2000-07-08 Ben Wing <ben@xemacs.org>
8019 * device-msw.c (msprinter_init_device):
8020 * device-msw.c (sync_printer_with_devmode):
8021 * device-msw.c (handle_devmode_changes):
8022 * device-msw.c (print_dialog_worker):
8023 * device-msw.c (Fmsprinter_apply_settings):
8024 * device-msw.c (hash_devmode):
8025 * device-msw.c (Fmsprinter_settings_despecialize):
8026 use Qmswindows_tstr, not Qctext.
8028 * vm-limit.c (check_memory_limits):
8029 avoid infinite loop printing warning messages.
8031 2000-07-05 Craig Lanning <lanning@scra.org>
8033 * Makefile.in.in: Add support for including the Windows resources
8034 when building with the cygwin and mingw targets.
8036 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
8037 not set or not correct.
8038 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
8039 (init_initial_directory): Don't try to use $PWD on the
8040 WIN32_NATIVE target.
8043 [[Add -mwindows to eliminate console window.]] not required --ben
8044 (HAVE_NATIVE_SOUND): removed; now handled by configure.
8045 (MAIL_USE_POP): removed; now handled by configure.
8047 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
8048 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
8049 (HAVE_NATIVE_SOUND): removed; now handled by configure.
8050 (MAIL_USE_POP): removed; now handled by configure.
8051 (ENCAPSULATE_STAT): from Dan Holmsand, added.
8052 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
8053 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
8055 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
8056 up from <winsock.h> via systime.h.
8057 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
8058 (getpagesize): from Dan Holmsand, added.
8059 Added #endif which was left dangling by Ben's mega patch; added
8060 comment to help prevent this in the future.
8062 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
8064 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8066 * console-msw.h (struct mswindows_device): Removed unnecessary
8067 cached device geometry values.
8068 Added update_tick and an accessor macro.
8069 (Lisp_Devmode): Added lrecord declaration.
8070 (struct msprinter_device): Contain devmode as a Lisp object.
8071 Added mswindows_get_selected_frame_hwnd();
8073 * console.h (struct console_methods): Indentation nitpicking.
8075 * device-msw.c (mswindows_init_device): Do not initialize geometry
8076 cache. Initialize update tick.
8077 (mswindows_device_system_metrics): Ask the device for its geometry.
8078 (global_free_2_maybe):
8079 (devmode_to_hglobal):
8080 (handle_printer_changes):
8081 (ensure_not_printing):
8082 (print_dialog_worker):
8083 (Fmsprinter_print_setup_dialog):
8084 (Fmsprinter_print_dialog):
8087 (Fmsprinter_page_setup_dialog): Added functions.
8088 (sync_printer_with_devmode):
8089 (handle_devmode_changes):
8090 (Fmsprinter_get_settings):
8091 (Fmsprinter_select_settings):
8092 (Fmsprinter_apply_settings):
8094 (Fmsprinter_settings_copy):
8095 (Fmsprinter_settings_despecialize):
8099 (hash_devmode): Added functions
8100 (syms_of_device_mswindows): Init devmode lrecord class.
8102 * device.h: Added an exfun for find-device.
8104 * event-msw.c (mswindows_wnd_proc): Do not update the cached
8105 geometry; although, recreate the device compatible DC.
8107 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
8108 (msprinter_init_frame_3):
8109 (msprinter_frame_property):
8110 (msprinter_internal_frame_property_p):
8111 (msprinter_frame_properties):
8112 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
8113 print job properties (will move to device settings).
8115 * lisp.h: Added symbols.
8117 * general.c (syms_of_general): Declared them.
8119 * hash.c (string_hash): Added.
8121 * lrecord.h (lrecord_type): Added devmode lrecord type.
8123 2000-07-02 Mike Sperber <mike@xemacs.org>
8125 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
8128 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
8130 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
8133 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
8135 * data.c (Fstring_to_number): Don't recognize floating point if
8138 2000-06-22 Martin Buchholz <martin@xemacs.org>
8140 * glyphs-widget.c (tab_control_query_geometry):
8141 (widget_query_geometry):
8142 (button_query_geometry):
8143 * glyphs.c (text_query_geometry):
8144 Enforce type correctness.
8146 2000-06-18 Martin Buchholz <martin@xemacs.org>
8148 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
8149 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
8151 2000-06-17 Martin Buchholz <martin@xemacs.org>
8153 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
8154 conflicts with gcc's fixincluded version of FOO.h.
8156 * glyphs.h (image_instance_geometry): Remove trailing `,'
8158 2000-06-08 Mike Alexander <mta@arbortext.com>
8160 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
8161 (shove_thread): Don't write the same output twice
8162 (make_ntpipe_output_stream): Increase priority of shove thread
8163 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
8165 (ntpipe_shove_closer): Don't delete the pipe until we're done with
8168 2000-06-12 Ben Wing <ben@xemacs.org>
8170 * s\mingw32.h (sigset):
8171 * s\windowsnt.h (sigset):
8172 rename msw_ to mswindows_ for consistency with general convention.
8174 2000-06-12 Ben Wing <ben@xemacs.org>
8177 * console-msw.c (mswindows_get_console_hwnd):
8178 * console-msw.c (mswindows_ensure_console_allocated):
8179 * console-msw.c (mswindows_hide_console):
8180 * console-msw.c (mswindows_show_console):
8181 * console-msw.c (mswindows_ensure_console_buffered):
8182 * console-msw.c (mswindows_output_console_string):
8183 * console-msw.c (mswindows_windows9x_p):
8185 * device-msw.c (mswindows_get_workspace_coords):
8186 * device-msw.c (mswindows_device_system_metrics):
8187 * dialog-msw.c (mswindows_popup_dialog_box):
8188 * event-msw.c (mswindows_wnd_proc):
8189 * frame-msw.c (mswindows_size_frame_internal):
8190 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
8191 * menubar-msw.c (displayable_menu_item):
8192 * menubar-msw.c (mswindows_char_is_accelerator):
8194 * nt.c (mswindows_sigset):
8195 * nt.c (mswindows_sigrelse):
8196 * nt.c (mswindows_sigpause):
8197 * nt.c (mswindows_raise):
8198 * nt.c (timer_proc):
8200 * ntproc.c (find_child_console):
8201 * ntproc.c (sys_kill):
8203 * print.c (std_handle_out_external):
8204 * process-nt.c (find_child_console):
8205 * process-nt.c (send_signal_the_95_way):
8206 * process-nt.c (ensure_console_window_exists):
8207 * process-nt.c (nt_create_process):
8209 rename msw_ to mswindows_ for consistency with general convention.
8213 include nt.h, not syswindows.h.
8215 * nt.c (mswindows_fstat):
8216 * nt.c (mswindows_stat):
8217 prefix mswindows_ instead of attempting to directly override the
8218 library functions. fix declarations.
8221 include syswindows.h. move some sysdep.h stuff here.
8224 include syswindows.h, not <windows.h>.
8232 * sysdep.c (sys_fstat):
8233 * sysdep.c (sys_stat):
8234 call mswindows versions when appropriate.
8237 move mswin decls to nt.h.
8240 add long comment describing appropriate use of the various windows
8243 2000-06-11 Ben Wing <ben@xemacs.org>
8245 * device-x.c: Correct doc string for sixth arg of x-get-resource.
8247 2000-06-10 Ben Wing <ben@xemacs.org>
8249 * Makefile.in.in (release):
8250 Correction to make sure xemacs.exe always dumped when correct.
8254 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
8256 * buffer.c (set_buffer_internal):
8257 [[[[2]]]]: Remove HAVE_FEP code.
8259 * buffer.c (init_initial_directory):
8263 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
8267 * callproc.c (call_process_cleanup):
8268 * callproc.c (Fold_call_process_internal):
8269 * callproc.c (child_setup):
8270 * callproc.c (getenv_internal):
8271 * callproc.c (init_callproc):
8272 * callproc.c (vars_of_callproc):
8273 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
8274 __CYGWIN32__ -> CYGWIN.
8275 DOS_NT -> WIN32_NATIVE.
8276 Remove MSDOS support/references, converting to WIN32_NATIVE
8278 __MINGW32__ -> MINGW.
8279 Fix windows.h includes.
8280 Remove bogus HAVE_NTGUI.
8286 mswindows_message_outputted added for use in allowing startup
8287 errors on the console to be seen.
8289 * console-msw.c (msw_ensure_console_allocated):
8290 * console-msw.c (msw_output_console_string):
8291 * console-msw.c (DHEADER):
8292 * console-msw.c (DOPAQUE_DATA):
8293 * console-msw.c (DEVENT):
8294 * console-msw.c (DCONS):
8295 * console-msw.c (DCONSCDR):
8296 * console-msw.c (DSTRING):
8297 * console-msw.c (DVECTOR):
8298 * console-msw.c (DSYMBOL):
8299 * console-msw.c (DSYMNAME):
8302 * console-stream.c (stream_init_console):
8303 Fix text/binary problems.
8306 * device-msw.c (mswindows_finish_init_device):
8307 * device-msw.c (mswindows_delete_device):
8310 * device.c (handle_asynch_device_change):
8314 * dgif_lib.c (DGifOpenFileName):
8315 * dgif_lib.c (DGifOpenFileHandle):
8316 * dgif_lib.c (DGifGetLine):
8317 * dgif_lib.c (DGifGetPixel):
8318 Added config.h/lisp.h, fix up includes.
8325 * dired.c (file_name_completion):
8326 * dired.c (Ffile_attributes):
8327 * dired.c (syms_of_dired):
8331 * dumper.c (pdump_file_unmap):
8332 * dumper.c (pdump_load):
8336 * editfns.c (Ftemp_directory):
8337 * editfns.c (user_login_name):
8338 * editfns.c (Fuser_real_login_name):
8339 * editfns.c (get_home_directory):
8342 * elhash.c (finish_marking_weak_hash_tables):
8343 [[[[5]]]]: Fix GCC warnings.
8346 * emacs.c (mswindows_handle_hardware_exceptions):
8347 * emacs.c (make_arg_list_1):
8349 * emacs.c (Fkill_emacs):
8350 * emacs.c (Fdump_emacs):
8352 Fix problems with nested crashes, add long comment.
8354 * event-Xt.c (init_event_Xt_late):
8358 * event-msw.c (mswindows_dde_callback):
8359 * event-msw.c (mswindows_handle_sticky_modifiers):
8360 * event-msw.c (mswindows_wnd_proc):
8364 * events.c (character_to_event):
8368 * fileio.c (Ffile_name_directory):
8369 * fileio.c (Ffile_name_nondirectory):
8370 * fileio.c (directory_file_name):
8371 * fileio.c (Fexpand_file_name):
8372 * fileio.c (Fsubstitute_in_file_name):
8373 * fileio.c (Ffile_name_absolute_p):
8374 * fileio.c (check_executable):
8375 * fileio.c (Ffile_readable_p):
8376 * fileio.c (Ffile_accessible_directory_p):
8377 * fileio.c (Ffile_modes):
8378 * fileio.c (Funix_sync):
8379 * fileio.c (vars_of_fileio):
8382 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
8384 Expand getdefdir defn.
8385 Fix bogus rename() comment.
8387 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
8388 to use standard XEmacs include files, e.g. sysfile.h, rather
8389 than system-specific includes.
8395 * frame.c (vars_of_frame):
8399 * getloadavg.c (getloadavg):
8401 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
8402 (We don't use it elsewhere in the code; just add a comment.)
8409 * glyphs-msw.c (mswindows_resource_instantiate):
8412 * glyphs-x.c (x_native_layout_instantiate):
8415 * gui-msw.c (Fmswindows_shell_execute):
8424 * lread.c (locate_file_in_directory_mapper):
8431 * mem-limits.h (get_lim_data):
8443 * nt.c (rva_to_section):
8444 * nt.c (mswindows_executable_type):
8446 Fix closedir() defn.
8449 [[[[8]]]]: *_OK defs moved to sysfile.h.
8458 * print.c (std_handle_out_external):
8462 * process-nt.c (nt_create_process):
8464 try to fix process quoting somewhat.
8466 * process-unix.c (unix_create_process):
8470 * process.c (vars_of_process):
8477 * realpath.c (xrealpath):
8480 * redisplay-tty.c (init_tty_for_redisplay):
8490 * sheap.c (more_static_core):
8491 * sheap.c (report_sheap_usage):
8495 * signal.c (alarm_signal):
8502 * strftime.c (zone_name):
8505 * symsinit.h (init_sunpro):
8509 commctrl.h not in Cygwin b20.1.
8513 * sysdep.c (sys_subshell):
8514 * sysdep.c (init_baud_rate):
8515 * sysdep.c (emacs_get_tty):
8516 * sysdep.c (emacs_set_tty):
8517 * sysdep.c (tty_init_sys_modes_on_device):
8518 * sysdep.c (init_system_name):
8519 * sysdep.c (sys_open):
8520 * sysdep.c (interruptible_open):
8521 * sysdep.c (sys_fopen):
8522 * sysdep.c (sys_mkdir):
8523 * sysdep.c (sys_rename):
8524 * sysdep.c (get_process_times_1):
8531 * sysdir.h (DIRENTRY_NONEMPTY):
8534 * sysdll.c (dll_init):
8540 added text/binary defs.
8546 * sysproc.h (EDESTADDRREQ):
8547 * sysproc.h (poll_fds_for_input):
8564 Always define WIN32_LEAN_AND_MEAN.
8566 * unexcw.c (unexec):
8570 * unexec.c (copy_text_and_data):
8571 * unexec.c (adjust_lnnoptrs):
8575 * unexnt.c (_start):
8578 2000-06-07 Ben Wing <ben@xemacs.org>
8580 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
8581 was used only as a model. We've long since extracted any useful
8582 logic or code out of this. (I just did an exhaustive search.)
8584 * s\msdos.h: Removed.
8586 * s\windows95.h: Removed.
8588 2000-06-10 Ben Wing <ben@xemacs.org>
8592 Don't use extern with fun defs.
8596 Remove nt\inc include.
8597 Remove getdisk, getdefdir. (The former is unused, the latter
8598 expanded in fileio.h.)
8601 * s\windowsnt.h (WIN32_NATIVE):
8602 * s\windowsnt.h (HAVE_STRCASECMP):
8604 Add long comment about preprocessor changes.
8605 Remove getdisk, getdefdir. (The former is unused, the latter
8606 expanded in fileio.h.)
8608 2000-06-10 Ben Wing <ben@xemacs.org>
8617 Remove bogus/unused NO_SOCK_SIGIO.
8619 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
8621 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
8624 2000-06-04 Mike Sperber <mike@xemacs.org>
8626 * casetab.c (set_case_table): For `set-standard-case-table',
8627 actually deposit the new case tables where the rest of XEmacs can
8630 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
8632 * data.c (Faset): Don't cast XCHAR() to unsigned char.
8634 2000-06-05 Ben Wing <ben@xemacs.org>
8636 * callproc.c (child_setup): Don't do close_load_descs() under
8637 MS Windows. Put in a comment explaining why.
8639 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
8641 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
8642 Toolkit shell" which breaks `kill-compilation' on Windows NT
8643 native, retaining STDERR handling improvements.
8645 2000-06-01 Andreas Jaeger <aj@suse.de>
8647 * s/s390.h: Support for S390, based on a patch by Martin
8648 Schwidefsky <schwidefsky@de.ibm.com>.
8650 2000-05-30 Andy Piper <andy@xemacs.org>
8652 * window.c (allocate_window):
8653 (make_dummy_parent):
8654 (Fset_window_configuration): use new hashtable type.
8656 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
8657 (struct image_instantiator_methods):
8658 (struct Lisp_Image_Instance): make instance geometry signed.
8660 * glyphs.c (instantiate_image_instantiator):
8661 (image_instance_query_geometry):
8662 (image_instance_layout):
8663 (image_instance_layout):
8664 (query_string_geometry):
8665 (text_query_geometry):
8666 (image_instantiate):
8667 (image_instantiate):
8668 (cache_subwindow_instance_in_frame_maybe):
8669 (subwindow_query_geometry): make instance geometry signed.
8671 * glyphs-widget.c (widget_query_geometry):
8673 (button_query_geometry):
8674 (tree_view_query_geometry):
8675 (tab_control_query_geometry):
8676 (layout_query_geometry):
8678 (native_layout_layout): make instance geometry signed.
8680 2000-05-29 Olivier Galibert <galibert@pobox.com>
8682 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
8685 * general.c (syms_of_general): Add Qfull_assoc symbol.
8687 * data.c (finish_marking_weak_lists): Mark full-assoc lists
8689 (decode_weak_list_type): Decode full-assoc type.
8690 (encode_weak_list_type): Encode full-assoc type.
8691 (Fmake_weak_list): Update doc string.
8693 2000-05-30 Andy Piper <andy@xemacs.org>
8695 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
8697 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
8698 (decode_hash_table_weakness): ditto.
8699 (Fhash_table_weakness): ditto.
8700 (Fhash_table_type): ditto.
8701 (finish_marking_weak_hash_tables): ditto.
8702 (hash_table_weakness_validate): ditto.
8703 (syms_of_elhash): ditto.
8705 2000-05-28 Martin Buchholz <martin@xemacs.org>
8707 * XEmacs 21.2.34 is released.
8709 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8711 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
8713 (updating_line_start_cache): Gone.
8714 (regenerate_window): Replace resetting of VERTICAL_CLIP by
8715 generic code to force a minimum of 1 line laid out in the
8718 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8720 * glyphs.c (instantiate_image_instantiator): Check for initialized
8721 height & width no longer special cases IMAGE_NOTHING.
8722 (nothing_instantiate): Set height and width of instance.
8724 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8726 * unexelf.c (unexec): Search for ".data" section.
8727 Initialize new_data2_offset from old_data_index.
8728 Remove redundant check for ElfW.
8730 2000-05-23 Andy Piper <andy@xemacs.org>
8732 * glyphs.c (get_image_instantiator_governing_domain): allow more
8733 specific domains as the governing domain rather than expecting an
8734 exact match. This fixes problems with layouts.
8736 2000-05-22 Andy Piper <andy@xemacs.org>
8738 * redisplay-output.c (compare_runes): check for non-images
8740 * glyphs.c (set_glyph_dirty_p): ditto.
8741 (update_glyph_cachel_data): ditto.
8743 * glyphs-widget.c (layout_post_instantiate): ditto.
8744 (layout_post_instantiate): ditto.
8746 * event-msw.c (mswindows_wnd_proc): warning removal.
8748 2000-05-12 Craig Lanning <CraigL@DyCon.com>
8750 * s\mingw32.h: Added #undef for CLASH_DETECTION.
8752 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
8754 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
8756 * nt.c (rva_to_section): mingw32 needs rva_to_section.
8757 (mswindows_executable_type): mingw32 now has enough headers for
8760 2000-05-20 Andy Piper <andy@xemacs.org>
8762 * console-msw.c (mswindows_output_last_error): ; -> ,
8764 2000-05-12 Andy Piper <andy@xemacs.org>
8766 * console-msw.c (FROB): compare ints with ints.
8768 2000-05-11 Andy Piper <andy@xemacs.org>
8770 * glyphs-x.c (x_finalize_image_instance): make minimal build
8773 2000-05-20 Ben Wing <ben@xemacs.org>
8776 * event-Xt.c (vars_of_event_Xt):
8777 move modifier-keys-are-sticky to event-stream.c.
8780 * event-msw.c (mswindows_enqueue_mouse_button_event):
8781 * event-msw.c (key_needs_default_processing_p):
8782 * event-msw.c (XEMSW_LCONTROL):
8783 * event-msw.c (mswindows_handle_sticky_modifiers):
8784 * event-msw.c (FROB):
8785 * event-msw.c (clear_sticky_modifiers):
8786 * event-msw.c (output_modifier_keyboard_state):
8787 * event-msw.c (output_alt_keyboard_state):
8788 * event-msw.c (mswindows_wnd_proc):
8789 * event-msw.c (mswindows_modifier_state):
8790 * event-msw.c (emacs_mswindows_handle_magic_event):
8791 implement sticky modifiers.
8794 * event-stream.c (vars_of_event_stream):
8795 move modifier-keys-are-sticky here.
8801 implement map-range-table.
8804 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
8806 * redisplay-tty.c (reset_tty_modes):
8807 (tty_redisplay_shutdown): Adjust argument type to
8808 tty_frame_output_end.
8810 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8812 * eval.c (Fbacktrace): Don't output a line with only right
8815 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
8817 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
8818 (Fpq_reset_poll): Ditto.
8820 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
8822 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
8824 2000-05-16 Ben Wing <ben@xemacs.org>
8827 * buffer.c (dfc_convert_to/from_internal_format):
8828 * buffer.c (reinit_vars_of_buffer):
8829 Fix conversion functions to allow reentrancy.
8832 * console-msw.c (mswindows_output_last_error):
8833 New fun, generally useful -- output a human-readable
8834 version of GetLastError() on the console.
8837 * console-msw.h (struct mswindows_frame):
8838 Changes for DeferWindowPos. Declare mswindows_output_last_error().
8840 * console-stream.c (stream_output_begin):
8841 * console-stream.c (stream_output_end):
8842 * console-stream.c (stream_output_vertical_divider):
8843 * console-stream.c (stream_clear_region):
8844 * console-stream.c (stream_flash):
8845 * console-stream.c (console_type_create_stream):
8846 Delete blank stream methods, not needed.
8848 * console.h (struct console_methods):
8849 Split begin/end methods into window and frame.
8852 * event-msw.c (mswindows_handle_paint):
8853 * event-msw.c (output_alt_keyboard_state):
8854 * event-msw.c (mswindows_wnd_proc):
8855 * event-msw.c (vars_of_event_mswindows):
8856 Comment about problems with ignored-expose.
8857 Define mswindows-debug-events; not really implemented.
8859 * frame-msw.c (mswindows_init_frame_1):
8863 * glyphs-msw.c (begin_defer_window_pos):
8864 * glyphs-msw.c (mswindows_unmap_subwindow):
8865 * glyphs-msw.c (mswindows_map_subwindow):
8866 * glyphs-msw.c (mswindows_resize_subwindow):
8867 Use DeferWindowPos to reduce flashing when mapping/unmapping.
8869 * glyphs.c (make_image_instance_1):
8872 * gutter.c (Fredisplay_gutter_area):
8873 Use new begin/end methods.
8875 * lisp.h (Dynarr_new2):
8879 * redisplay-msw.c (mswindows_frame_output_begin):
8880 * redisplay-msw.c (mswindows_frame_output_end):
8881 * redisplay-msw.c (console_type_create_redisplay_mswindows):
8882 New begin/end methods -- handle DeferWindowPos.
8884 * redisplay-output.c (redisplay_move_cursor):
8885 * redisplay-output.c (redraw_cursor_in_window):
8886 * redisplay-output.c (redisplay_update_line):
8887 * redisplay-output.c (redisplay_output_window):
8888 New begin/end methods.
8891 * redisplay-tty.c (tty_frame_output_begin):
8892 * redisplay-tty.c (tty_frame_output_end):
8893 * redisplay-tty.c (console_type_create_redisplay_tty):
8894 New begin/end methods.
8897 * redisplay-x.c (x_window_output_begin):
8898 * redisplay-x.c (x_window_output_end):
8899 * redisplay-x.c (console_type_create_redisplay_x):
8900 New begin/end methods.
8902 * redisplay.c (redisplay_frame):
8903 * redisplay.c (Fredisplay_echo_area):
8904 New begin/end methods.
8905 use MAYBE_DEVMETH for clear_frame; it may not exist.
8907 * window.h (WINDOW_XFRAME):
8908 WINDOW_XFOO macros -- get locale and decode struct pointer.
8911 2000-05-12 Ben Wing <ben@xemacs.org>
8914 * emacs.c (ensure_no_quitting_from_now_on):
8915 * emacs.c (fatal_error_signal):
8916 * emacs.c (mswindows_handle_hardware_exceptions):
8918 * emacs.c (Fkill_emacs):
8919 * emacs.c (shut_down_emacs):
8920 * emacs.c (assert_failed):
8921 various improvements in fatal error handling.
8924 move preparing_for_armageddon to emacs.c.
8927 declare fatal_error_in_progress.
8930 * print.c (std_handle_out_external):
8931 * print.c (std_handle_out_va):
8932 * print.c (stderr_out):
8933 * print.c (stdout_out):
8934 use console under mswin when no standard output.
8935 don't do code conversion during fatal error.
8937 * scrollbar.c (Fscrollbar_page_up):
8938 * scrollbar.c (Fscrollbar_page_down):
8939 fix missing else. reindent.
8941 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
8945 * glyphs.h (GLYPH_CACHEL_DESCENT):
8946 (GLYPH_CACHEL_DESCENT):
8947 (GLYPH_CACHEL_DESCENT):
8948 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
8949 used in case these are inline functions.
8950 Use more absurd values to error check.
8952 include window.h for error check functions.
8954 2000-05-11 Ben Wing <ben@xemacs.org>
8956 * cmdloop.c (Freally_early_error_handler):
8957 Display message box under windows; otherwise, message will disappear
8958 before it can be viewed.
8961 * console-msw.c (Fmswindows_message_box):
8962 * console-msw.c (FROB):
8963 * console-msw.c (syms_of_console_mswindows):
8964 Define new fun `mswindows-message-box'.
8965 #### I will merge this into `popup-dialog-box'; just give me
8969 * general.c (syms_of_general):
8970 Some new symbols used in `mswindows-message-box'.
8973 * glyphs.c (Fset_image_instance_property):
8974 put warning in this fun.
8977 * glyphs.h (GLYPH_CACHEL_WIDTH):
8978 * glyphs.h (GLYPH_CACHEL_ASCENT):
8979 * glyphs.h (GLYPH_CACHEL):
8980 * glyphs.h (GLYPH_CACHEL_GLYPH):
8981 define error-checking versions to try to catch a bug i've seen --
8982 redisplay gets in an infinite loop because the glyph width of the
8983 continuation glyph is 65535.
8986 Extern message-box stuff.
8988 * window.c (allocate_window):
8989 * window.c (make_dummy_parent):
8990 * window.c (Fset_window_configuration):
8991 Use EQUAL not EQ for subwindow caches to make them work a bit
8992 better. (Something is still very broken.)
8995 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8997 * glyphs.c (image_instantiate): Suppress gcc warnings.
8998 (Fmake_image_instance): Fix doc string.
8999 * specifier.c (Fmake_specifier): Ditto.
9001 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
9003 * paths.h.in (PATH_LOCK): Removed.
9004 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
9005 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
9007 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
9009 * fns.c (Ffeaturep): Update e-mail address in doc-string.
9010 Document (featurep '(and xemacs 21.02)).
9012 2000-05-09 Ben Wing <ben@xemacs.org>
9014 * buffer.c (complex_vars_of_buffer):
9015 update modeline-format doc.
9018 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
9021 timeline of all released versions of Emacs, for use in creating
9022 authorship comments and in synching up.
9024 * glyphs-widget.c (image_instantiator_buttons):
9025 * glyphs-widget.c (image_instantiator_edit_fields):
9026 * glyphs-widget.c (image_instantiator_combo_box):
9027 * glyphs-widget.c (image_instantiator_scrollbar):
9028 * glyphs-widget.c (image_instantiator_progress_guage):
9029 * glyphs-widget.c (image_instantiator_tree_view):
9030 * glyphs-widget.c (image_instantiator_tab_control):
9031 * glyphs-widget.c (image_instantiator_labels):
9032 * glyphs-widget.c (image_instantiator_layout):
9033 * glyphs-widget.c (image_instantiator_native_layout):
9034 rename decode_domain method to governing_domain.
9037 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
9038 * glyphs.c (add_entry_to_device_ii_format_list):
9039 make sure we don't put an entry more than once into the list.
9040 * glyphs.c (check_instance_cache_mapper):
9041 *************************************************************
9042 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
9044 *************************************************************
9045 * glyphs.c (get_image_instantiator_governing_domain):
9046 clean up, expand on new concept of governing domain.
9047 * glyphs.c (instantiate_image_instantiator):
9048 * glyphs.c (allocate_image_instance):
9049 use governing_domain instead of cache_domain in naming.
9050 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
9051 * glyphs.c (make_image_instance_1):
9052 * glyphs.c (Fmake_image_instance):
9053 allow for any domain (not just device), and process the
9054 governing domain correctly. very big doc fix.
9055 * glyphs.c (Fimage_instance_domain):
9056 new primitive, to retrieve the governing domain of an image instance.
9057 * glyphs.c (image_instantiate):
9058 use new governing_domain stuff. this fixes a crash you could get
9059 by instantiating certain widget glyphs in frame locales. (should
9060 signal an error instead of crashing.)
9061 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
9062 * glyphs.c (Fglyphp): clean up doc.
9063 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
9064 * glyphs.c (syms_of_glyphs):
9065 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
9066 * glyphs.c (image_instantiator_format_create): add some comments about
9068 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
9069 for current-display-table. (Apparently Hrjove implemented in 1998 a
9070 design I wrote up in 1996, but didn't update the doc string.)
9072 * glyphs.h: clean up a doc string.
9073 * glyphs.h (governing_domain):
9074 * glyphs.h (struct image_instantiator_methods):
9075 changes for governing_domain stuff.
9078 * gutter.c (Fgutter_specifier_p):
9079 * gutter.c (Fgutter_size_specifier_p):
9080 * gutter.c (Fgutter_visible_specifier_p):
9082 * objects.c (Fcolor_specifier_p):
9083 * objects.c (Ffont_specifier_p):
9084 * objects.c (Fface_boolean_specifier_p):
9085 doc strings moved to make-*-specifier.
9087 * redisplay.c (add_disp_table_entry_runes_1):
9088 * redisplay.c (generate_fstring_runes):
9089 * redisplay.c (screen):
9090 add random comments and doc strings.
9093 * specifier.c (Fmake_specifier):
9094 major overhaul of this doc string.
9096 * specifier.c (Fvalid_specifier_domain_p):
9097 comment about the bogosity of image instances being domains.
9098 * specifier.c (decode_domain):
9099 now non-static, used in glyphs.c.
9100 * specifier.c (specifier_instance):
9101 comment about the bogosity of image instances being domains.
9102 * specifier.c (Fgeneric_specifier_p):
9103 move doc string to make-generic-specifier.
9104 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
9108 * specifier.h (DOMAIN_FRAME):
9109 * specifier.h (DOMAIN_LIVE_P):
9110 * specifier.h (DOMAIN_XDEVICE):
9112 add comments about problems with these macros.
9113 prototype for decode_domain.
9116 * toolbar.c (Ftoolbar_specifier_p):
9117 move doc string to `make-toolbar-specifier'.
9119 * window.c (window_unmap_subwindows_cache_mapper):
9120 *************************************************************
9121 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
9123 *************************************************************
9125 2000-05-09 Andy Piper <andy@xemacs.org>
9127 * glyphs.h: declare reset_frame_subwindow_instance_cache.
9129 * window.c (Fset_window_configuration): reset the frame subwindow
9130 cache and re-initialize the window subwindow caches.
9132 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
9134 2000-05-09 Ben Wing <ben@xemacs.org>
9136 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
9139 2000-04-26 Mike Woolley <mike@bulsara.com>
9141 * ntheap.c: Changed recreate_heap to limit the amount reserved
9142 for the heap to that which is actually available. Also now
9143 displays a message box (with some dignostics) in the event that
9144 it still can't start.
9146 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
9148 * callproc.c (Fold_call_process_internal): GCPRO path
9150 2000-05-08 Jan Vroonhof <jan@xemacs.org>
9152 Patch by Bill Perry.
9154 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
9155 back data instead of #ifdef.
9156 (Fscrollbar_page_down): ditto.
9158 2000-05-07 Ben Wing <ben@xemacs.org>
9161 Kludge for defining Qmswindows_tstr.
9164 * nt.c (open_input_file):
9165 * nt.c (open_output_file):
9166 * nt.c (rva_to_section):
9167 * nt.c (mswindows_executable_type):
9168 Move all memory-mapped-file routines here (some were in unexnt.c,
9169 which is bad because they are used by process-nt.c, and unexnt
9170 won't be around when portable dumping). Synched the above routines
9174 Removed ifdef'd out bogus code.
9175 Fixed some prototypes.
9178 * nt.h (OFFSET_TO_RVA):
9179 * nt.h (RVA_TO_OFFSET):
9180 * nt.h (RVA_TO_PTR):
9181 Moved the memory-mapped-file structures, macros and prototypes
9182 here, to parallel nt.c. ntheap.h should really be removed
9183 entirely, and it's a non-portable-dumper specific file.
9185 * ntheap.h (round_to_next):
9186 Moved the memory-mapped-file structures, macros and prototypes
9189 * ntproc.c (compare_env):
9190 Moved rva_to_section and mswindows_executable_type to nt.c.
9191 Moved compare_env to process-nt.c.
9192 ntproc.c will die, one day.
9194 * ntproc.c (sys_spawnve):
9195 Account for win32_ -> mswindows_.
9198 * process-nt.c (struct nt_process_data):
9199 * process-nt.c (ensure_console_window_exists):
9200 * process-nt.c (compare_env):
9201 * process-nt.c (nt_create_process):
9202 * process-nt.c (nt_kill_process_by_pid):
9203 * process-nt.c (syms_of_process_nt):
9204 * process-nt.c (vars_of_process_nt):
9205 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
9206 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
9207 changes). Eliminate our old `nt-quote-process-args' mechanism.
9208 Synch up nt_create_process with FSF 20.6 sys_spawnve.
9209 Move compare_env here from ntproc.c.
9211 * process.c (Fprocess_send_region):
9212 Takes an optional fourth argument, BUFFER, which should fix some
9213 problems with call-process.
9216 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
9219 Move ICC_BAR_CLASSES to syscommctrl.h.
9220 Add preliminary macros for MSWindows/Mule. More to come.
9223 * unexnt.c (unexec):
9224 open_output_file moved to nt.c.
9227 2000-05-05 Andy Piper <andy@xemacs.org>
9229 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
9230 instance from the frame cache also since GC may catch up too late
9231 to make frame deletion sane.
9233 2000-05-04 Andy Piper <andy@xemacs.org>
9235 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
9236 (x_finalize_image_instance): ungcpro on deletion.
9238 * glyphs.c (image_instantiator_format_create): give pointers a
9239 query geometry method so that the geometry is at least set.
9241 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
9242 initialize layouts if using widgets.
9244 2000-05-03 Andy Piper <andy@xemacs.org>
9246 * nt.c: remove bogus reference to sysmmsystem.h
9248 * gui-x.c (popup_selection_callback): fix no selection abort.
9250 2000-05-02 Andy Piper <andy@xemacs.org>
9252 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
9253 (mswindows_widget_instantiate): ditto.
9255 * glyphs-widget.c (initialize_widget_image_instance): initialize
9257 (widget_instantiate): cope with children and items in the same
9260 * glyphs.c (mark_image_instance): cope with children as a first
9262 (image_instance_equal): ditto.
9263 (image_instance_hash): ditto.
9264 (image_instance_changed): ditto.
9266 2000-04-30 Andy Piper <andy@xemacs.org>
9268 * glyphs.c (subwindow_query_geometry): new function. Return some
9270 (subwindow_instantiate): don't assign dimensions if none have been
9272 (image_instantiator_format_create): add subwindow_query_geometry.
9273 (print_image_instance): cope with layouts as widgets.
9275 2000-04-29 Andy Piper <andy@xemacs.org>
9277 * frame.c (delete_frame_internal): call
9278 free_frame_subwindow_instance_cache so that all subwindows are
9279 finalized before their parent.
9280 (mark_frame): remove subwindow_cachels.
9281 (Fmake_frame): remove subwindow_cachel manipulation.
9282 (allocate_frame_core): subwindow_instance_cache is a weak list.
9283 (delete_frame_internal): set subwindow_instance_cache to nil.
9285 * glyphs-msw.c (mswindows_finalize_image_instance): make double
9287 (mswindows_finalize_image_instance): use the device
9288 not the domain as the domain may have died already.
9290 * glyphs-x.c (x_finalize_image_instance): ditto.
9291 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
9294 * redisplay-output.c (redisplay_unmap_subwindows): update for
9295 subwindow instance cache as a weak list.
9296 (redisplay_unmap_subwindows_maybe): ditto.
9297 (redisplay_unmap_subwindows_except_us): ditto.
9299 * glyphs.c (unmap_subwindow): error checking will check the domain
9300 so don't deal with it here. Don't use cachels anymore.
9301 (map_subwindow): ditto.
9302 (update_subwindow_cachel_data): remove old accessor names.
9303 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
9304 (Fresize_subwindow): don't update cachel.
9305 (mark_subwindow_cachels):
9306 (update_subwindow_cachel_data):
9307 (add_subwindow_cachel):
9308 (get_subwindow_cachel_index):
9309 (update_subwindow_cachel):
9310 (reset_subwindow_cachels):
9311 (mark_subwindow_cachels_as_not_updated): deleted.
9312 (cache_subwindow_instance_in_frame_maybe): new function. Add a
9313 subwindow instance to the frame cache.
9314 (find_matching_subwindow): update for subwindow instance cache as
9316 (update_widget_instances): ditto.
9317 (image_instance_type_to_mask):inlined.
9318 (free_frame_subwindow_instance_cache): new function. finalize all
9319 subwindows that are instantiated.
9321 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
9322 of cachel information.
9323 (IMAGE_INSTANCE_DISPLAY_X):
9324 (IMAGE_INSTANCE_DISPLAY_Y):
9325 (IMAGE_INSTANCE_DISPLAY_WIDTH):
9326 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
9327 (XIMAGE_INSTANCE_DISPLAY_X):
9328 (XIMAGE_INSTANCE_DISPLAY_Y):
9329 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
9330 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
9331 remove subwindow_cachel structure and function references.
9332 (image_instance_type_to_mask): inline from glyphs.c
9334 * redisplay.c (redisplay_frame): remove subwindow_cachel
9337 * frame.h (struct frame): remove subwindow_cachels.
9338 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
9340 * frameslots.h: add subwindow_instance_cache.
9342 * window.c (replace_window): check subwindow cache of replacement.
9343 (window_unmap_subwindows_cache_mapper):
9344 (window_unmap_subwindows): new functions. Unmap all subwindows
9345 cached on this window.
9346 (mark_window_as_deleted): unmap all subwindows.
9348 2000-04-27 Andy Piper <andy@xemacs.org>
9350 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
9352 * glyphs-widget.c (widget_layout): return something.
9353 (layout_layout): return something. Fail if not initialized.
9354 (layout_query_geometry): ditto.
9355 (image_instantiator_native_layout): new function. Initialized the
9357 (widget_instantiate): don't do layout stuff here.
9359 * glyphs.c (instantiate_image_instantiator): reorded calling or
9360 instantiate and post_instantiate with layout in between.
9361 (image_instance_layout): be more selective about deciding whether
9362 the layout has been done or not.
9364 * glyphs.h (struct image_instantiator_methods): return a value
9367 2000-04-26 Andy Piper <andy@xemacs.org>
9369 * glyphs.c (allocate_image_instance): make initial width and
9370 height unspecified. Set initialized to 0.
9372 * syscommctrl.h new file. Encapsulates commctrl.h.
9374 * syswindows.h new file. Encapsulates windows.h.
9376 * ntplay.c: use new syswindows.h and syscommctrl.h header.
9378 * console-msw.h: ditto.
9380 * redisplay-tty.c (tty_output_display_block): remove layout references.
9382 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
9383 window handle rather than just the frame.
9385 * glyphs.c (mark_image_instance): remove layout references.
9386 (print_image_instance): ditto.
9387 (image_instance_equal): ditto.
9388 (image_instance_hash): ditto.
9389 (decode_image_instance_type): ditto.
9390 (encode_image_instance_type): ditto.
9391 (image_instantiate): ditto.
9392 (allocate_glyph): ditto.
9393 (Fimage_instance_height): ditto.
9394 (Fimage_instance_width): ditto.
9395 (update_subwindow): ditto.
9397 * redisplay-x.c (x_output_display_block): recode for layouts as
9400 * redisplay-output.c (redisplay_output_layout): recode for layouts
9402 (compare_runes): remove layout references.
9404 * redisplay-msw.c (mswindows_output_display_block): recode for
9407 * glyphs-widget.c (image_instantiator_layout): remove
9408 layout_possible_dest_types.
9409 (layout_possible_dest_types): deleted.
9411 * glyphs.h (image_instance_type): remove layout references.
9412 (struct Lisp_Image_Instance): ditto. Add initialized flag.
9413 (IMAGE_INSTANCE_INITIALIZED): new accessor.
9414 (XIMAGE_INSTANCE_INITIALIZED): ditto.
9416 2000-04-25 Andy Piper <andy@xemacs.org>
9418 * glyphs-widget.c (image_instantiator_buttons):
9419 (image_instantiator_edit_fields):
9420 (image_instantiator_combo_box):
9421 (image_instantiator_scrollbar):
9422 (image_instantiator_progress_guage):
9423 (image_instantiator_tree_view):
9424 (image_instantiator_tab_control):
9425 (image_instantiator_labels):
9426 (image_instantiator_layout): call default post_instantiate method.
9427 (widget_post_instantiate): new function. Simply lays out the
9430 * glyphs.h (struct image_instantiator_methods): add
9431 post_instantiate method.
9433 * glyphs.c (instantiate_image_instantiator): add post_instantiate
9436 2000-04-23 Andy Piper <andy@xemacs.org>
9438 * glyphs.h (struct image_instantiator_methods): add
9439 decode_domain_method.
9440 (struct Lisp_Image_Instance): remove subwindow frame - it can be
9441 derived from the domain.
9442 (IMAGE_INSTANCE_FRAME): new accessor.
9443 (XIMAGE_INSTANCE_FRAME): ditto.
9445 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
9446 instead of _SUBWINDOW_FRAME.
9447 (finalize_image_instance): ditto.
9448 (Fimage_instance_foreground): ditto.
9449 (Fimage_instance_background): ditto.
9450 (image_instantiate): ditto.
9451 (update_subwindow_cachel): ditto.
9452 (update_subwindow): ditto.
9453 (unmap_subwindow): ditto.
9454 (map_subwindow): ditto
9455 (subwindow_instantiate): ditto.
9456 * glyphs-msw.c (mswindows_update_widget): ditto.
9457 (mswindows_progress_gauge_instantiate): ditto.
9458 (mswindows_tab_control_update): ditto.
9459 * glyphs-x.c (x_update_widget): ditto.
9460 (x_widget_instantiate): ditto.
9461 (x_tab_control_instantiate): ditto.
9462 (x_tab_control_update): ditto.
9463 * event-msw.c (mswindows_wnd_proc): ditto
9465 * glyphs-widget.c (image_instantiator_layout): use
9466 subwindow_decode_domain.
9467 (image_instantiator_buttons): ditto.
9468 (image_instantiator_edit_fields): ditto.
9469 (image_instantiator_combo_box): ditto.
9470 (image_instantiator_scrollbar): ditto.
9471 (image_instantiator_progress_guage): ditto.
9472 (image_instantiator_tree_view): ditto.
9473 (image_instantiator_tab_control): ditto.
9474 (image_instantiator_labels): ditto.
9475 (image_instantiator_layout): ditto.
9477 * glyphs.c: add instance error checking to many functions.
9478 (instantiate_image_instantiator): decode device from cache_domain.
9479 (image_instantiate): partially rewrite by using
9480 decode_image_instantiator_domain to determine what domain the
9481 instance needs to be cached in.
9482 (decode_image_instantiator_domain): new function. Determine what
9483 domain the image needs to be cached in.
9484 (check_window_subwindow_cache): new error checking function.
9485 (check_instance_cache_mapper): ditto.
9486 (check_image_instance_structure): ditto.
9487 (subwindow_decode_domain): new function. Encodes a window as a
9488 subwindow's cache domain.
9489 (image_instantiator_format_create): use it for text and
9492 2000-04-21 Andy Piper <andy@xemacs.org>
9494 * glyphs.c (image_instance_device): new function.
9495 (image_instance_frame): new function.
9496 (image_instance_window): new function.
9497 (image_instance_live_p): new function.
9499 * window.c (mark_window_as_deleted): reset the subwindow_instance_
9502 * glyphs.h (struct Lisp_Image_Instance): device->domain.
9503 (IMAGE_INSTANCE_DOMAIN): new accessor.
9504 (XIMAGE_INSTANCE_DOMAIN): ditto.
9506 * glyphs-x.c (x_finalize_image_instance): device->domain.
9508 * glyphs-msw.c (init_image_instance_geometry): device->domain.
9509 (mswindows_finalize_image_instance): ditto.
9511 * glyphs-eimage.c (jpeg_instantiate): device->domain.
9512 (gif_instantiate): ditto.
9513 (png_instantiate): ditto.
9514 (tiff_instantiate): ditto.
9516 * glyphs.c (instantiate_image_instantiator): use domain rather
9518 (mark_image_instance): device -> domain.
9519 (print_image_instance): ditto.
9520 (finalize_image_instance): ditto.
9521 (image_instance_equal): ditto.
9522 (allocate_image_instance): ditto.
9523 (Fcolorize_image_instance): ditto.
9524 (query_string_geometry): ditto.
9525 (image_instantiate): ditto
9526 (query_string_font): ditto.
9527 (image_instantiate): ditto.
9528 (update_subwindow): ditto.
9529 (unmap_subwindow): ditto.
9530 (map_subwindow): ditto.
9531 (subwindow_instantiate): ditto.
9533 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
9534 (DOMAIN_FRAME): ditto.
9535 (DOMAIN_WINDOW): ditto.
9536 (DOMAIN_LIVE_P): ditto.
9537 (XDOMAIN_DEVICE): ditto.
9538 (XDOMAIN_FRAME): ditto.
9539 (XDOMAIN_WINDOW): ditto.
9541 * specifier.c (Fvalid_specifier_domain_p): add image instances as
9542 a valid specifier domain.
9544 2000-04-19 Andy Piper <andy@xemacs.org>
9546 * glyphs-widget.c (syms_of_glyphs_widget): remove
9547 widget-callback-current-channel.
9548 (vars_of_glyphs_widget): ditto.
9551 * gui.c (get_gui_callback): revert to previous behaviour.
9553 2000-04-18 Andy Piper <andy@xemacs.org>
9555 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
9556 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
9557 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
9559 * glyphs.c (image_instance_equal): add margin_width.
9560 (image_instance_hash): ditto.
9562 * glyphs-widget.c (widget_instantiate): deal with margin-width.
9563 (layout_query_geometry): ditto.
9564 (layout_layout): ditto.
9565 (syms_of_glyphs_widget): add margin-width.
9566 (image_instantiator_layout): allow margin-width.
9568 * glyphs.c (update_widget_instances): make a normal function.
9569 (syms_of_glyphs): remove Qupdate_widget_instances.
9572 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
9573 so that we don't corrupt ideas about the last event or
9574 command. Remove widget-callback-current-channel fiddling.
9575 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9577 2000-05-01 Martin Buchholz <martin@xemacs.org>
9579 * XEmacs 21.2.33 is released.
9581 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
9583 * make-src-depend: Allow dots in header file name.
9585 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
9587 * mule-charset.h (struct charset_lookup): Add
9588 next_allocated_1_byte_leading_byte and
9589 next_allocated_2_byte_leading_byte.
9590 * mule-charset.c: Move above two variables so that those values
9593 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
9595 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
9596 when string length is zero.
9597 (find_charsets_in_emchar_string): Ditto.
9599 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
9601 * lisp.h: extern Qdialog and Qmenubar.
9603 * gui-x.c: added events.h.
9604 also fixed typo which made the file uncompilable.
9606 * general.c: Added Qmenubar and Qdialog
9608 2000-04-28 Ben Wing <ben@xemacs.org>
9610 * frame-msw.c (mswindows_init_frame_1):
9611 * frame-msw.c (mswindows_mark_frame):
9612 * event-msw.c (mswindows_enqueue_dispatch_event):
9614 * console-msw.h (struct mswindows_frame):
9615 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
9616 there are now three hash tables for callbacks.
9617 mswindows_enqueue_dispatch_event is no longer static.
9619 * dialog-x.c (maybe_run_dbox_text_callback):
9620 * dialog-x.c (dbox_descriptor_to_widget_value):
9621 switch to new cons3 form for callbacks.
9623 * glyphs-msw.c (mswindows_register_gui_item):
9624 * glyphs-msw.c (mswindows_widget_instantiate):
9625 * glyphs-msw.c (add_tree_item):
9626 * glyphs-msw.c (add_tab_item):
9627 new image instance parameter, so it can be passed to callback-ex.
9628 respect :callback-ex as well as :callback.
9630 * glyphs-widget.c (VALID_GUI_KEYWORDS):
9633 * glyphs.c (print_image_instance):
9634 prettify, e.g. now prints widget type.
9637 certain funs have new image instance parameter.
9640 * gui.c (get_gui_callback):
9641 * gui.c (gui_item_add_keyval_pair):
9642 * gui.c (gui_item_init):
9643 * gui.c (gui_add_item_keywords_to_plist):
9644 * gui.c (mark_gui_item):
9645 * gui.c (gui_item_hash):
9646 * gui.c (gui_item_equal):
9647 * gui.c (copy_gui_item):
9648 * gui.c (syms_of_gui):
9649 recognize callback-ex in a number of places.
9650 also, fix the annoying "can't get out of yes-no dialog" bug.
9653 * gui.h (struct Lisp_Gui_Item):
9654 recognize callback-ex in a number of places.
9656 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9657 new parameter in button_item_to_widget_value.
9659 * glyphs-x.c (x_update_widget):
9660 * glyphs-x.c (x_button_instantiate):
9661 * glyphs-x.c (x_button_update):
9662 * glyphs-x.c (x_progress_gauge_instantiate):
9663 * glyphs-x.c (x_edit_field_instantiate):
9664 * glyphs-x.c (x_combo_box_instantiate):
9665 * glyphs-x.c (x_tab_control_instantiate):
9666 * glyphs-x.c (x_label_instantiate):
9667 new image instance parameter in various places.
9670 * event-Xt.c (enqueue_Xt_dispatch_event):
9671 this fun gets exported.
9674 * gui-msw.c (mswindows_handle_gui_wm_command):
9675 handle both :callback and :callback-ex, and generate our own
9676 event because it's one of the callback-ex arguments.
9679 * gui-x.c (popup_selection_callback):
9680 handle both :callback and :callback-ex, and generate our own
9681 event because it's one of the callback-ex arguments.
9682 * gui-x.c (button_item_to_widget_value):
9683 * gui-x.c (gui_items_to_widget_values_1):
9684 * gui-x.c (gui_item_children_to_widget_values):
9685 * gui-x.c (gui_items_to_widget_values):
9686 new image instance parameter in various places.
9688 * fns.c (Freplace_list):
9689 fix small typo in doc string.
9692 declare enqueue_Xt_dispatch_event.
9694 2000-04-28 Ben Wing <ben@xemacs.org>
9697 * buffer.c (Frecord_buffer):
9698 * buffer.c (syms_of_buffer):
9699 delete record-buffer-hook.
9702 * fns.c (Freplace_list):
9703 * fns.c (syms_of_fns):
9704 new primitive replace-list.
9707 slot for old buffer-alist.
9713 * redisplay.c (redisplay_frame):
9714 * redisplay.c (syms_of_redisplay):
9715 * redisplay.c (vars_of_redisplay):
9716 new hook buffer-list-changed-hook.
9719 2000-04-27 Ben Wing <ben@xemacs.org>
9721 * extents.h: extern in_modeline_generation.
9723 * redisplay.c (generate_formatted_string_db): set
9724 in_modeline_generation.
9726 * extents.c (extent_changed_for_redisplay): don't mark redisplay
9727 flags if in modeline generation. otherwise frame-modified-tick
9728 is ticked far too often.
9729 Declare in_modeline_generation.
9731 2000-04-26 Ben Wing <ben@xemacs.org>
9733 * emacs.c (vars_of_emacs): document quick-build "error-checking"
9735 (vars_of_emacs): add quick-build as an error-checking option.
9736 A bit kludgy, but there doesn't seem much point in creating
9737 a real var for this.
9739 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
9741 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
9743 * redisplay.h (struct display_line): Add a new variable,
9746 * redisplay.c (create_text_block): Set dl->line_continuation if
9748 (create_string_text_block): Ditto.
9749 (regenerate_window_incrementally): Use line_continuation instead
9750 of searching continuation glyph.
9751 (add_margin_runes): Call add_glyph_rune.
9752 (add_glyph_rune): Handle margin glyph.
9754 2000-04-20 Martin Buchholz <martin@xemacs.org>
9756 * filelock.c (fill_in_lock_file_name):
9758 Check for IS_ANY_SEP instead of '/'.
9760 Avoid generating gratuitous garbage. Call user_login_name() directly.
9761 Never check errno without first seeing that system call failed.
9762 (unlock_file): Add GCPRO.
9763 (Flock_buffer): Fix docstring.
9764 (Ffile_locked_p): Fix docstring. Add GCPRO.
9766 2000-04-19 Martin Buchholz <martin@xemacs.org>
9768 * sysdep.c (get_pty_max_bytes):
9769 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
9770 strings longer than 252 bytes.
9772 * md5.c: Unconditionally include ANSI header <limits.h>
9774 * glyphs-x.c (convert_EImage_to_XImage):
9775 * lisp-union.h (union Lisp_Object):
9776 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
9778 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9780 * filelock.c (current_lock_owner): Remove unused variable o, p.
9782 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
9784 * callint.c: Remove multiply defined symbol Qlet
9785 (syms_of_callint): ditto.
9787 2000-04-14 Andy Piper <andy@xemacs.org>
9789 * general.c (syms_of_general): add last-command, this-command, let
9792 * lisp.h: declare various symbols.
9794 * glyphs.h: declare Qwidget_callback_current_channel;
9796 * glyphs-widget.c (syms_of_glyphs_widget): add
9797 Qgui_callback_current_channel.
9798 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
9800 * gui-msw.c (mswindows_handle_gui_wm_command): bind
9801 widget-callback-current-channel when invoking the interactive
9802 arg. Also bind last-command and next-command when invoking the
9804 * gui-x.c (popup_selection_callback): ditto.
9806 * gui.c (get_gui_callback): massage args so that we are always
9807 calling eval. This allows us to add our own variable bindings
9810 * glyphs-x.c (x_button_instantiate): use
9811 gui_items_to_widget_values since this is GC safe.
9812 (x_progress_gauge_instantiate): ditto.
9813 (x_edit_field_instantiate): ditto.
9814 (x_label_instantiate): ditto.
9816 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
9817 (emacs_Xt_event_widget_focus_out): new function
9818 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
9820 (emacs_Xt_event_add_widget_actions): new function. add focus
9821 functions as actions.
9822 (init_event_Xt_late): use it.
9824 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
9826 * event-stream.c (Fdispatch_event): Doc fix.
9828 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
9830 * postgresql.c: Remove all references to PQsetenv*.
9832 * postgresql.h: Remove references to PGsetenvHandler object.
9833 * lrecord.h (lrecord_type): Ditto.
9835 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9837 * glyphs-msw.h (struct mswindows_image_instance_data): Added
9838 real_heigh and real_width members, and accessor macros for these.
9840 * glyphs-msw.c (init_image_instance_geometry): New function.
9841 (init_image_instance_from_dibitmap): Use it.
9842 (mswindows_resource_instantiate): Use it.
9843 (init_image_instance_from_xbm_inline): Use it.
9844 (mswindows_initialize_image_instance_mask): Use real bitmap
9846 (mswindows_create_resized_bitmap): Ditto.
9847 (mswindows_create_resized_mask): Ditto.
9849 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
9850 and bitmap to their surface size.
9852 2000-04-11 Jan Vroonhof <jan@xemacs.org>
9854 * process-unix.c (unix_send_process): Guard against process MIA
9855 after Faccept_process_output.
9857 2000-04-11 Ben Wing <ben@xemacs.org>
9859 * eval.c (unbind_to_hairy): fix brokenness introduced by
9860 nanosecond speed improvements.
9862 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
9864 * sunplay.c (init_device): To play sounds correctly, the device
9865 apparently needs to be initialized at least once by XEmacs. Make
9868 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
9870 * redisplay.c (add_margin_runes): Add text image glyph
9873 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9875 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
9876 gcc is newer than 2.5.
9878 2000-04-06 Colin Rafferty <colin@xemacs.org>
9880 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
9882 * fns.c (size_bit_vector):
9883 * alloc.c (size_vector):
9884 (make_vector_internal):
9885 (make_bit_vector_internal):
9886 (sweep_bit_vectors_1):
9887 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
9889 2000-04-06 Andy Piper <andy@xemacs.org>
9891 * gmalloc.c (malloc): undo previous change.
9896 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
9898 * line-number.c (buffer_line_number): Revert to former version.
9900 2000-04-06 Andy Piper <andy@xemacs.org>
9902 * gmalloc.c (malloc): add error checking.
9907 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
9908 button_item_to_widget_value arg.
9910 * glyphs-x.c (x_button_instantiate): add extra
9911 button_item_to_widget_value arg.
9912 (x_progress_gauge_instantiate): ditto.
9913 (x_edit_field_instantiate): ditto.
9914 (x_label_instantiate): ditto.
9916 * gui-x.c (gui_items_to_widget_values_1): add extra
9917 button_item_to_widget_value arg.
9918 (button_item_to_widget_value): add extra menu_item_p arg.
9920 * gui-x.h: change signature of button_item_to_widget_value.
9922 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
9923 button_item_to_widget_value arg.
9925 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9927 * buffer.h (struct buffer): auto_save_modified should be long.
9929 2000-04-05 Andy Piper <andy@xemacs.org>
9931 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
9933 (button_query_geometry): give a little more room so that athena
9936 2000-04-05 Andy Piper <andy@xemacs.org>
9938 * faces.c (complex_vars_of_faces): The widget face should inherit
9939 the font of the gui-element face.
9941 2000-04-04 Andy Piper <andy@xemacs.org>
9943 * glyphs-x.c (x_button_update): new function. unconditionally
9944 update a button's state when the instance is dirty.
9945 (image_instantiator_format_create_glyphs_x): add x_button_update.
9946 (x_widget_instantiate): remove old resize cruft.
9948 2000-04-02 Andy Piper <andy@xemacs.org>
9950 * frame.c (change_frame_size_1): The introduction of gutters means
9951 that we need to allow 0 as a potential frame dimension.
9953 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
9955 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
9956 image glyph if allow_cursor.
9957 (add_hscroll_rune): Don't allow cursor to border glyph.
9958 (create_text_block): Ditto.
9960 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
9962 (redisplay_output_layout): Call ensure_face_cachel_complete for
9966 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
9968 * redisplay.c (add_glyph_rune): Adding text image as text runes.
9970 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
9973 * redisplay-tty.c (tty_output_display_block): Delete the routine
9974 for text image glyph
9975 * redisplay-x.c (x_output_display_block): ditto
9976 * redisplay-msw.c (mswindows_output_display_block): ditto
9978 2000-02-02 Mike Alexander <mta@arbortext.com>
9980 Note: Some of these were committed by accident as part of other
9983 * regex.c (regex_compile): Avoid compiler warnings.
9985 * ntproc.c (sys_spawnve): Avoid compiler warnings.
9987 * nt.h: Declare term_ntproc correctly.
9989 * nt.c: Remove incorrect declaration of get_home_directory which
9990 is declared correctly in lisp.h.
9992 * keymap.c (get_keyelt): Avoid compiler warnings.
9993 (raw_lookup_key_mapper): Avoid compiler warnings.
9995 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
9997 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
9999 * filemode.c (mode_string): Avoid compiler warnings.
10001 * file-coding.c (Fcoding_system_aliasee): Add return statement to
10004 * events-mod.h: Undef some things that winuser.h defines differently.
10006 * data.c (Faset): Avoid compiler warnings.
10008 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
10010 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
10012 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
10013 Fall through to simple beep on error.
10014 Replace "extern" by real header file.
10016 * linuxplay.c: Use nativesound.h
10017 (play_sound_data): Return error code. Be less verbose on error.
10019 * sunplay.c: Use nativesound.h
10020 (play_sound_data): Return error code. Be less verbose on error.
10022 * ntplay.c: Use nativesound.h
10023 (play_sound_data): Return fake error code
10025 * sgiplay.c: Use nativesound.h
10026 (play_sound_data): Return error code
10028 * hpplay.c: Use nativesound.h, partially implement
10029 new error code. Break compilation until finished.
10030 (play_sound_data): error code.
10032 * nativesound.h (play_sound_file):
10033 (play_sound_data): Prototype in new header.
10035 2000-03-31 Andy Piper <andy@xemacs.org>
10037 * glyphs-widget.c: (button_query_geometry): new function. Adjust
10038 for toggle and radio buttons.
10039 (image_instantiator_buttons): use it.
10041 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
10043 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
10044 (x_update_horizontal_scrollbar_callback): Return if no mirror was
10045 found. Scrollbar event probably belonged to some old config.
10047 2000-03-31 Andy Piper <andy@xemacs.org>
10049 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
10051 (initialize_widget_image_instance): default layout to
10052 LAYOUT_HORIZONTAL rather than 0.
10053 (widget_instantiate): reverse the item list at the end rather than
10055 (layout_layout): re-code for the border text at the front of the
10056 item list rather than at the end.
10057 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
10058 provided by the user.
10059 (widget_query_geometry): comment.
10061 2000-03-30 Andy Piper <andy@xemacs.org>
10063 * glyphs-widget.c (image_instantiator_layout): allow standard
10064 widget keywords in layouts.
10066 * gutter.c (output_gutter): cope with nil gutter contents.
10068 * frame.c (Fset_frame_properties): add gutter docs.
10070 2000-03-29 Andy Piper <andy@xemacs.org>
10072 * toolbar-msw.c (TBSTYLE_FLAT): add.
10073 (mswindows_output_toolbar): minor fiddling.
10075 2000-03-29 Andy Piper <andy@xemacs.org>
10077 * gutter.c (output_gutter): force gutter size recalculation if
10078 what we are trying to display won't fit.
10079 (update_gutter_geometry): new function. A per-gutter version of
10080 update_frame_gutter_geometry.
10081 (update_frame_gutter_geometry): use it.
10082 (redraw_exposed_gutter): add extra debugging output.
10084 2000-03-28 Mike Alexander <mta@arbortext.com>
10086 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
10087 (pdump_file_unmap): Implement it on Windows
10088 (pdump_file_get): Save alocated handles for pdump_file_unmap
10090 2000-03-28 Andy Piper <andy@xemacs.org>
10092 * gui.c (get_gui_callback): treat Quit specially.
10094 2000-03-27 Andy Piper <andy@xemacs.org>
10096 * glyphs.c (image_instantiate): be careful to check in the same
10099 2000-03-27 Didier Verna <didier@xemacs.org>
10101 * config.h.in: define the proper SMART_INCLUDE macro.
10102 handle renaming of `foo_h_path' to `foo_h_file'.
10104 * database.c: ditto.
10108 * linuxplay.c: ditto.
10110 * terminfo.c: ditto.
10112 * tooltalk.h: ditto.
10114 2000-03-27 Andy Piper <andy@xemacs.org>
10116 * glyphs-msw.c (mswindows_update_widget): make sure the widget
10117 gets updated whenever the face might have changed.
10119 2000-03-26 Mike Alexander <mta@arbortext.com>
10121 * dumper.c (pdump_resource_free): Fix the comment.
10123 2000-03-21 Olivier Galibert <galibert@pobox.com>
10125 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
10127 2000-03-22 Mike Alexander <mta@arbortext.com>
10129 * dumper.c: Include Windows headers on Windows
10130 (pdump_resource_free): Add a body to the function
10131 (pdump_load): exe_name -> exe_path and add some comments.
10133 2000-03-25 Mike Alexander <mta@arbortext.com>
10135 * gui.c (copy_gui_item_tree): Return a value in all cases
10137 2000-03-21 Didier Verna <didier@xemacs.org>
10139 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
10141 (SMART_INCLUDE): new macro.
10142 (POSTGRES_INCLUDE): new macro to include postgresql headers from
10143 the proper location.
10145 * postgresql.c: use it.
10149 2000-03-24 Andy Piper <andy@xemacs.org>
10151 * gutter.c (redraw_exposed_gutters): must be "in display" when we
10154 2000-03-24 Andy Piper <andy@xemacs.org>
10156 * redisplay-output.c (compare_runes): use image_instance_changed
10157 to detect changes. Do not depend on glyphs_changed, only depend on
10159 (redisplay_output_layout): add debug messages.
10160 (compare_runes): ditto.
10162 * glyphs.h: declare new functions.
10163 (struct Lisp_Image_Instance): remove percent and associated
10166 * gui.h: declare new copying functions.
10168 * gui.c (copy_gui_item_tree): new function.
10169 (copy_gui_item): new function.
10170 (gui_item_id_hash): revert to standard hash.
10171 (gui_item_hash): ditto.
10172 (gui_item_hash_internal): deleted.
10173 (mark_gui_item): mark value.
10174 (gui_item_add_keyval_pair): add value.
10175 (gui_item_init): ditto.
10176 (gui_add_item_keywords_to_plist): ditto.
10177 (gui_item_equal): ditto.
10178 (syms_of_gui): add Q_value.
10180 * glyphs-x.c (x_progress_gauge_update): use pending items and
10181 value for setting the state.
10182 (x_update_widget): don't set items from pending here.
10184 * glyphs-widget.c (update_widget): update items here.
10185 (progress_gauge_set_property): use items for storing value. Put
10186 new value in pending items.
10188 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
10189 items for new value. Convert percent -> value.
10190 (mswindows_tab_control_update): don't update items here.
10192 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
10193 (update_subwindow): ditto.
10194 (image_instance_changed): new function. Compare hash values and
10195 past and present widget items.
10196 (image_instantiate): We more careful about where we instantiate
10198 (image_instantiate): add error checking.
10200 * gutter.c (syms_of_gutter): use -hook.
10202 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
10204 * console-tty.c (Fset_console_tty_input_coding_system): Use
10206 (Fset_console_tty_output_coding_system): Use Qterminal.
10207 (tty_init_console): Use Qkeyboard and Qterminal.
10209 2000-03-21 Ben Wing <ben@xemacs.org>
10211 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
10212 From Mike Alexander <mta@arbortext.com>.
10214 2000-03-21 Ben Wing <ben@xemacs.org>
10216 * event-msw.c (mswindows_need_event): Horrible kludge to fix
10217 process brokenness. Proper implementation to come.
10219 Rename call-process-internal to old-call-process-internal.
10220 New impl. in process.el.
10222 2000-03-21 Martin Buchholz <martin@xemacs.org>
10224 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
10226 2000-03-20 Andy Piper <andy@xemacs.org>
10228 * glyphs.c (full_list_hash): make hashes of the same elements in
10229 different orders return different values.
10231 2000-03-20 Martin Buchholz <martin@xemacs.org>
10233 * XEmacs 21.2.32 is released.
10235 2000-03-20 Martin Buchholz <martin@xemacs.org>
10237 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
10238 (DFC_MALLOC_USE_CONVERTED_DATA):
10239 Add aliasing-safe casts to allow use with char* or unsigned char*
10242 * eldap.c (Fldap_open):
10243 (Fldap_search_basic):
10246 Make C++-compilable.
10247 Make sure GCPRO'ed variables are initialized.
10248 Use temp variables to avoid repeated calls to Flength.
10250 2000-03-16 Martin Buchholz <martin@xemacs.org>
10253 Make sure PATH_MAX is always defined.
10254 Include limits.h for PATH_MAX.
10255 Deprecate use of MAXPATHLEN.
10257 2000-03-10 Martin Buchholz <martin@xemacs.org>
10259 * emacs.c: Add reinit_vars_of_fileio.
10260 * symsinit.h: Add reinit_vars_of_fileio.
10261 * fileio.c (reinit_vars_of_fileio): New.
10262 * fileio.c (Fmake_temp_name):
10263 Initialize temp_name random number from microseconds to make
10264 collisions even less likely. Initialize always at process startup
10265 time. (make-temp-name) used to return the same file name twice in
10267 Random stylistic fiddling.
10270 2000-03-20 Andy Piper <andy@xemacs.org>
10272 * glyphs.c (image_instantiate): allow text glyphs to be
10273 instantiated in the minibuffer window.
10275 2000-03-19 Andy Piper <andy@xemacs.org>
10277 * glyphs.c (image_instance_hash): be careful about which items we
10280 * glyphs-widget.c (tab_control_set_property): record into pending
10281 items rather than the actual items.
10283 * glyphs-x.c (x_update_widget): use pending items to update with.
10285 * glyphs-msw.c (mswindows_tab_control_update): use pending items
10288 * glyphs.c (mark_image_instance): mark pending items.
10290 * window.c (Fset_window_configuration): record the buffer.
10291 (Fselect_window): totally revert previous change which breaks many
10294 2000-03-18 Andy Piper <andy@xemacs.org>
10296 * glyphs-msw.c (mswindows_tab_control_update): force selected
10299 * glyphs.c (image_instantiate): don't allow the minibuffer as a
10300 window domain cache, otherwise we get inconsistencies at
10301 startup. There is something fishy at startup which can lead to the
10302 minibuffer being the selected window when the gutter content is
10305 * gui.c (parse_gui_item_tree_list): add probably unnecessary
10307 (parse_gui_item_tree_children): ditto.
10308 (parse_gui_item_tree_item): ditto.
10310 * glyphs.c (Fupdate_widget_instances): return something.
10312 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10314 * window.c (Fselect_window): Undo 2000-03-17 change.
10316 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
10318 * postgresql.c (Fpq_setenv): Remove this turkey when linking
10319 against v7.0 libraries. Insta-coredump city until the postgres
10322 2000-03-17 Andy Piper <andy@xemacs.org>
10324 * faces.c (complex_vars_of_faces): don't give the widget face an
10325 inherited background pixmap.
10327 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
10330 * event-stream.c (Fdispatch_non_command_events): return something.
10332 * gutter.c (output_gutter): use widget face.
10333 (clear_gutter): ditto.
10335 * NEWS: adjust again.
10337 * window.c (Fselect_window): make sure this runs to completion to
10338 avoid oddities with Fset_window_configuration.
10339 (Fcurrent_window_configuration): in general do not save the
10340 minibuffer as the selected window.
10342 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
10344 2000-03-16 Olivier Galibert <galibert@pobox.com>
10346 * emacs.c (Frunning_temacs_p): Revert previous patch.
10347 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
10349 2000-03-16 Andy Piper <andy@xemacs.org>
10351 * glyphs-x.c (x_tab_control_update): if no widget values then
10354 * NEWS: update for new features.
10356 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
10357 synthetic event to the native system.
10358 (reinit_vars_of_event_Xt): set force_event_pending to
10359 emacs_Xt_force_event_pending.
10361 * events.h (struct event_stream): add force_event_pending.
10363 * specifier.c (recompute_one_cached_specifier_in_window): add
10366 * redisplay.c (redisplay_frame): don't call
10367 update_frame_subwindows. Reset subwindow cachels when
10368 subwindows_changed, removing this was an optimization too far.
10370 * redisplay-output.c (compare_runes): reorganize so that we catch
10371 glyph changes when we want them. Set optimize_output when this
10372 would help layouts.
10373 (redisplay_output_layout): remove frame_really_changed, use
10374 optimize_output instead.
10376 * redisplay-msw.c (mswindows_output_display_block): reset
10377 optimize_output after outputting a glyph.
10378 * redisplay-x.c (x_output_display_block): ditto.
10379 * redisplay-tty.c (tty_output_display_block): ditto.
10381 * gutter.c: (specifier_vars_of_gutter): use new spec changed
10383 (gutter_specs_changed): do specific gutter positions.
10384 (top_gutter_specs_changed): new function. Only update the
10385 specified gutter specs.
10386 (bottom_gutter_specs_changed): ditto.
10387 (left_gutter_specs_changed): ditto.
10388 (right_gutter_specs_changed): ditto.
10390 * gui.c (gui_item_hash_internal): new function, does a real hash.
10391 (gui_item_id_hash): use it.
10392 (gui_item_hash): hash the eval'ed gui_item.
10394 * gui-x.c (popup_selection_callback): send an eval event to call
10395 Fupdate_widget_instances.
10397 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
10398 to call Fupdate_widget_instances.
10400 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
10401 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
10403 * glyphs.c: (update_frame_subwindows): deleted.
10404 (Fupdate_widget_instances): new function for updating the dirty
10405 state of widgets that might have changed.
10406 (syms_of_glyphs): add Qupdate_widget_instances.
10407 (full_list_hash): hash a list completely.
10408 (image_instance_hash): use it for items and properties.
10410 * frame-msw.c (mswindows_size_frame_internal): remove unused
10413 * faces.h (struct face_cachel): fix comment.
10415 * event-stream.c (Fdispatch_non_command_events): new
10416 function. Process non-command events, forcing an event cycle
10418 (syms_of_event_stream): declare.
10419 (event_stream_force_event_pending): new function. Force an event
10420 on the native event queue so that an event cycle will occur next
10424 (struct ntpipe_shove_stream):
10425 (mswindows_enqueue_dispatch_event):
10426 (mswindows_dequeue_dispatch_event):
10427 (mswindows_cancel_dispatch_event):
10428 (mswindows_pump_outstanding_events):
10429 (mswindows_drain_windows_queue):
10430 (mswindows_handle_paint):
10431 (mswindows_wnd_proc):
10432 (mswindows_key_to_emacs_keysym):
10433 (get_process_input_waitable):
10434 (emacs_mswindows_delete_stream_pair): re-indent file.
10435 (mswindows_need_event): do not process further fds if the windows
10436 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
10437 fixes the 100% cpu problem.
10438 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
10440 2000-03-15 Olivier Galibert <galibert@pobox.com>
10446 * emacs.c: Moved dump file searching to dumper.c.
10447 (Frunning_temacs_p): Fixed.
10449 * alloc.c: Moved everything pdump-related to dumper.c. Removed
10450 last_lrecord_type_index_assigned.
10452 2000-02-20 Olivier Galibert <galibert@pobox.com>
10454 * symsinit.h: Added reinit parameter to init_console_stream
10457 * lisp.h: Added file parameter to pdump_load declaration.
10459 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
10460 support. Added dump file searching.
10462 * config.h.in: Added EMACS_PROGNAME.
10464 * console-stream.c (init_console_stream): Fix reinitialisation
10465 when running from temacs.
10467 * alloc.c (pdump): Add id support.
10468 (pdump_load): Add file parameter and signature/id support.
10470 * Makefile.in.in: Add full pdump support.
10472 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
10474 * postgresql.c: Update documentation to reflect latest code
10476 (print_result): Show tuple counts in printed representation when
10478 (Fpq_put_nbytes): MULE-ize.
10479 (Fpq_get_line_async): Ditto.
10481 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10483 * postgresql.c (Fpq_lo_import): Fix return value.
10484 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
10486 2000-03-13 Ben Wing <ben@xemacs.org>
10488 * alloc.c (pdump_load):
10489 Fix compile warning under mswin.
10491 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10493 * postgresql.c: Mule-ization, bug fixes.
10494 Use PG_CODING to encapsulate coding system name changes.
10495 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
10496 (pg-coding-system): Create.
10498 (Fpq_conn_defaults): Mule-ize.
10499 (Fpq_connectdb): Mule-ize & bug fix.
10500 (Fpq_connect_start): Mule-ize.
10501 (Fpq_set_client_encoding): Mule-ize.
10502 (Fpq_finish): Document `DEAD' connection status.
10503 (Fpq_clear): Ditto.
10504 (Fpq_pgconn): Mule-ize.
10505 (Fpq_exec): Mule-ize & bug fix.
10506 (Fpq_send_query): Ditto.
10507 (Fpq_get_result): Ditto.
10508 (Fpq_res_status): Mule-ize.
10509 (Fpq_result_error_message): Mule-ize.
10510 (Fpq_ntuples): fix comments.
10511 (Fpq_fname): Mule-ize.
10512 (Fpq_fnumber): Mule-ize.
10513 (Fpq_ftype): fix comments.
10514 (Fpq_get_value): Mule-ize.
10515 (Fpq_cmd_status): Ditto.
10516 (Fpq_cmd_tuples): Ditto.
10517 (Fpq_oid_value): Ditto.
10518 (Fpq_notifies): Ditto.
10519 (Fpq_lo_import): Ditto.
10520 (Fpq_lo_export): Ditto.
10521 (Fpq_get_line): Ditto.
10522 (Fpq_put_line): Mule-ize and bug fix.
10523 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
10525 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10527 * postgresql.c (vars_of_postgresql): Mule-ize.
10528 (Fpq_conn_defaults): Ditto.
10530 2000-03-12 Ben Wing <ben@xemacs.org>
10532 * alloc.c (Fmake_byte_code):
10533 * alloc.c (debug_string_purity_print):
10534 * alloc.c (pdump_backtrace):
10535 * alloc.c (pdump_get_indirect_count):
10536 * alloc.c (pdump_register_sub):
10537 * alloc.c (pdump_register_object):
10538 * alloc.c (pdump_register_struct):
10539 * alloc.c (pdump_dump_data):
10540 * alloc.c (pdump_reloc_one):
10544 * console-msw.c (GetConsoleHwnd):
10545 * console-msw.c (msw_hide_console):
10546 * console-msw.c (msw_show_console):
10547 * console-msw.c (msw_ensure_console_buffered):
10548 * console-msw.c (msw_output_console_string):
10549 * console-msw.c (console_type_create_mswindows):
10551 a) Added functions to manipulate the console window for use with
10554 b) Added support for writing text to the console, which is now
10555 used under Windows when xemacs is not being run non-interactively,
10556 to write text that would otherwise be destined for stdout because
10557 under these circumstances, text written to stdout tends to
10558 disappear and not be seen.
10562 * event-Xt.c (x_event_to_emacs_event):
10563 * event-Xt.c (describe_event_window):
10564 * events-mod.h (XEMACS_MOD_CONTROL):
10566 * events.c (Fmake_event):
10567 * events.c (character_to_event):
10568 * events.c (event_to_character):
10569 * events.c (format_event_object):
10570 * events.c (Fevent_modifiers):
10572 * events.h (struct key_data):
10573 * events.h (struct button_data):
10574 * events.h (struct misc_user_data):
10575 * frame-x.c (Fcde_start_drag_internal):
10576 * frame-x.c (Foffix_start_drag_internal):
10577 * gpmevent.c (Freceive_gpm_event):
10579 * keymap.c (bucky_sym_to_bucky_bit):
10580 * keymap.c (control_meta_superify):
10581 * keymap.c (make_key_description):
10582 * keymap.c (keymap_lookup_directly):
10583 * keymap.c (create_bucky_submap):
10584 * keymap.c (keymap_store):
10585 * keymap.c (define_key_check_and_coerce_keysym):
10586 * keymap.c (define_key_parser):
10587 * keymap.c (define_key_alternate_name):
10588 * keymap.c (Fdefine_key):
10589 * keymap.c (raw_lookup_key_mapper):
10590 * keymap.c (struct map_keymap_unsorted_closure):
10591 * keymap.c (map_keymap_unsorted_mapper):
10592 * keymap.c (map_keymap_sort_predicate):
10593 * keymap.c (map_keymap_sorted):
10594 * keymap.c (accessible_keymaps_mapper_1):
10595 * keymap.c (where_is_recursive_mapper):
10596 * keymap.c (describe_map_mapper):
10597 * keymap.c (describe_map_sort_predicate):
10598 * keymap.c (describe_map):
10599 * keymap.c (complex_vars_of_keymap):
10600 And a number of other files, the key modifier preprocessor
10601 constants that xemacs uses have names that conflict with constants
10602 defined under MS Windows for other purposes, so they were renamed
10603 to begin with the prefix XEMACS_. The variables that hold such
10604 modifiers were changed to consistently be of type int to fix
10605 various compile warnings.
10607 * console.c (complex_vars_of_console):
10610 * device-msw.c (mswindows_finish_init_device):
10611 * device-msw.c (msw_get_workspace_coords):
10612 * device-msw.c (mswindows_device_system_metrics):
10613 and various other files, added support for a new
10614 device property called offset-workspace which returns the position
10615 of the upper left corner of the workspace area and goes along with
10616 the existing size-workspace property.
10619 * dialog-msw.c (push_bufbyte_string_as_unicode):
10620 * dialog-msw.c (mswindows_popup_dialog_box):
10621 Added support for XEmacs-style accelerator specifications in
10622 button text. Note: I didn't add support for this under X Windows,
10623 and somebody needs to do this.
10626 * dialog.c (Fpopup_dialog_box):
10627 Documented the support for accelerators that was just mentioned.
10629 editfns.c (get_home_directory): Changed behavior under Windows
10630 when HOME not defined; former behavior was irretrievably broken.
10633 * emacs.c (main_1):
10635 * minibuf.c (clear_echo_area_internal):
10636 * minibuf.c (echo_area_append):
10638 * print.c (std_handle_out_external):
10639 * print.c (std_handle_out_va):
10641 * print.c (write_string_to_stdio_stream):
10642 * print.c (output_string):
10643 * print.c (debug_print):
10644 * print.c (debug_backtrace):
10645 * print.c (debug_short_backtrace):
10646 Cleaned up the code that prints text to stdout so that this can be
10647 changed to output into a console window instead under MS Windows,
10648 as described above.
10651 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
10652 * eval.c (internal_catch):
10653 * eval.c (unwind_to_catch):
10654 * eval.c (throw_or_bomb_out):
10655 * eval.c (condition_case_1):
10656 * eval.c (signal_1):
10657 * eval.c (check_error_state_sanity):
10658 * eval.c (call_with_suspended_errors_1):
10659 * eval.c (call_with_suspended_errors):
10660 * eval.c (reinit_vars_of_eval):
10661 Added code to catch throw loops and check for a pesky bug that may
10665 * event-msw.c (key_needs_default_processing_p):
10666 * event-msw.c (mswindows_wnd_proc):
10667 * event-msw.c (mswindows_modifier_state):
10668 * event-msw.c (emacs_mswindows_quit_p):
10669 * event-msw.c (vars_of_event_mswindows):
10670 a) Added support for using the alt key to select menu items as is
10671 standard under MS Windows. This is controlled using the variable
10672 menu-accelerator-enabled, just like under X Windows. There is an
10673 option on the options menu to turn this support on. I really
10674 think that it should be on by default under Windows, but I'm not
10675 going to make this change yet.
10677 b) Added support for dynamic display size changes under Windows.
10680 * event-stream.c (maybe_echo_keys):
10681 * event-stream.c (Fnext_event):
10682 * event-stream.c (command_builder_find_leaf):
10683 * event-stream.c (lookup_command_event):
10684 * event-stream.c (execute_command_event):
10685 * event-stream.c (pre_command_hook):
10686 * event-stream.c (post_command_hook):
10687 * event-stream.c (syms_of_event_stream):
10688 * event-stream.c (vars_of_event_stream):
10689 * event-stream.c (complex_vars_of_event_stream):
10690 * events.h (struct command_builder):
10692 a) Tried to clean up a little bit the horribly written x-specific
10693 accelerator code that crept into this file. I moved this code
10694 into menubar-x.c where it belongs. I also needed to move the
10695 command builder structure into the file events.h because it is
10696 accessed directly by this accelerator code. What I didn't do, but
10697 which should be done at some point, is to properly abstract this
10698 code using device methods instead of the kludgy way that it
10699 currently hooks into the event code.
10701 b) Added the lisp variables this-command-properties and
10702 last-command- properties, which should be used to synchronize two
10703 adjacent commands in preference to playing games with the variable
10704 this-command, which is typically what happens.
10706 c) Added some slightly nasty code to hook into the lisp support
10707 for shifted- motion-key selection. This is actually necessary for
10708 somewhat complicated reasons, which are described in
10709 simple.el. (NB: I think the proper thing would be to have the code
10710 that calls the pre and post command hooks also call out to generic
10711 lisp functions in simple.el, where all built-in stuff could be
10712 added. I will think about this more.)
10714 * event-unixoid.c (poll_fds_for_input):
10715 * lread.c (readchar):
10716 * redisplay-tty.c (tty_clear_frame):
10717 * redisplay-x.c (x_get_gc):
10718 * signal.c (interrupt_signal):
10719 And a whole bunch of other files: fixed up places that printed
10720 directly to stderr to instead call the function stderr_out so that
10721 the changes I made under Windows work correctly.
10723 * filemode.c (mode_string):
10727 * frame-msw.c (mswindows_size_frame_internal):
10728 Fixed the computation of frame size and position to keep the frame
10729 within the workspace area, rather than within the physical
10730 dimensions of the screen, so that the frame doesn't overlap window
10731 manager decorations, such as the start menu and toolbar, typically
10732 at the bottom of the screen.
10734 * frame.c (vars_of_frame):
10735 Changed the default frame title format under MS Windows to consist
10736 of buffername-XEmacs, which is standard under MS Windows. I think
10737 it might be a good idea to change this everywhere because I think
10738 it is superior to the current frame title format, but this is the
10739 kind of change that is likely to cause some people to get annoyed,
10740 so I'm not making it.
10742 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
10744 * gui-msw.c (mswindows_handle_gui_wm_command):
10745 Fixed compile warnings.
10748 * gui-x.c (strdup_and_add_accel):
10749 * gui-x.c (button_item_to_widget_value):
10751 Added code to automatically put an accelerator onto the beginning
10752 of menu items that don't have one as is now the standard, and is
10753 described more later. Also fixed things so that the menu item
10754 name can be an evaluated expression, again a new standard.
10757 * gui.c (gui_item_add_keyval_pair):
10758 * gui.c (make_gui_item_from_keywords_internal):
10759 * gui.c (gui_add_item_keywords_to_plist):
10760 * gui.c (gui_item_accelerator):
10761 * gui.c (gui_name_accelerator):
10762 * gui.c (gui_item_included_p):
10763 * gui.c (gui_item_display_flush_left):
10764 * gui.c (gui_item_display_flush_right):
10765 * gui.c (parse_gui_item_tree_item):
10766 * gui.c (parse_gui_item_tree_children):
10767 * gui.c (parse_gui_item_tree_list):
10768 Mule-ized. Cleanup. GCPRO addition.
10770 * line-number.c (buffer_line_number):
10772 * lisp.h (EMACS_INT_MAX):
10773 Added the manifest constant EMACS_INT_MIN corresponding to the
10774 existing constant EMACS_INT_MAX. This is partially to fix compile
10775 warnings under Windows, and partly for cleanliness.
10778 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
10779 * menubar-msw.c (msw_translate_menu_or_dialog_item):
10780 * menubar-msw.c (displayable_menu_item):
10781 * menubar-msw.c (populate_menu_add_item):
10782 * menubar-msw.c (populate_or_checksum_helper):
10783 * menubar-msw.c (populate_menu):
10784 * menubar-msw.c (update_frame_menubar_maybe):
10785 * menubar-msw.c (prune_menubar):
10786 * menubar-msw.c (msw_char_is_accelerator):
10787 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
10788 * menubar-msw.c (mswindows_handle_wm_command):
10789 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
10790 * menubar-msw.c (mswindows_handle_wm_initmenu):
10791 * menubar-msw.c (mswindows_update_frame_menubars):
10792 * menubar-msw.c (mswindows_free_frame_menubars):
10793 * menubar-msw.c (mswindows_popup_menu):
10794 Fixed a bug in handling accelerators where an extra character
10795 would be displayed in the menu item. Also generalized the
10796 function displayable_menu_item because it is now used by the
10797 dialog box code as well. And finally, added code in the functions
10798 that create the menubar to extract a list of accelerators for the
10799 top level menubar, which is used in the event code to determine
10800 whether a particular alt-key combination should be used to invoke
10801 a menu item, or should be passed through to access the standard
10802 XEmacs keymap binding for this key combination.
10804 Much needed GCPROing.
10807 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10808 * menubar-x.c (menu_item_descriptor_to_widget_value):
10809 * menubar-x.c (restore_in_menu_callback):
10810 * menubar-x.c (x_popup_menu):
10811 * menubar-x.c (menu_move_up):
10812 * menubar-x.c (menu_move_down):
10813 * menubar-x.c (menu_move_left):
10814 * menubar-x.c (menu_move_right):
10815 * menubar-x.c (menu_select_item):
10816 * menubar-x.c (command_builder_operate_menu_accelerator):
10817 * menubar-x.c (menu_accelerator_junk_on_error):
10818 * menubar-x.c (command_builder_find_menu_accelerator):
10819 * menubar-x.c (Faccelerate_menu):
10821 Moved a whole bunch of code here that was previously in
10822 event-stream.c as described above. There is also code connected
10823 to the new standard of adding an accelerator to the beginning of
10824 menu items that don't have one as described above and below.
10827 * menubar.c (menu_parse_submenu_keywords):
10828 * menubar.c (Fmenu_find_real_submenu):
10829 * menubar.c (Fnormalize_menu_item_name):
10830 * menubar.c (syms_of_menubar):
10831 * menubar.c (vars_of_menubar):
10832 * menubar.c (complex_vars_of_menubar):
10834 a) Cleaned up a bunch of documentation and improved it.
10836 b) XEmacs now automatically adds an accelerator onto the beginning
10837 of any menu items that don't have one. I did this because there
10838 will inevitably be some menu items on the main menubar that don't
10839 have accelerators on them because the package that adds that
10840 particular menu item hasn't yet been fixed up to have accelerators
10841 in them and it looked rather strange to have some items with and
10842 some items without accelerators, especially since even in items
10843 without accelerators, you can, at least under windows, still
10844 access the item through an accelerator corresponding to the first
10845 character in the item's name. If people don't like this behavior,
10846 I can add a variable to turn it off optionally, but I'm not sure
10847 this is a good idea because we really do need to have accelerators
10848 on all of the menu items, and if a package doesn't like the
10849 accelerators being put on the first character, then it should put
10850 the accelerators where they belong.
10852 c) I made a behavior change, which is that the descriptor that
10853 specifies the text of the menu item, which formerly was just a
10854 string, can now also be an evaluated expression. This makes this
10855 descriptor parallel with all of the others, which could also be
10856 evaluated expressions. This also obviates the need for the
10857 keyword :label, which was previously listed in the documentation
10858 as unimplemented, and which was for the same purpose.
10863 * ntproc.c (new_child):
10864 * ntproc.c (sys_spawnve):
10865 * ntproc.c (find_child_console):
10866 * ntproc.c (sys_kill):
10867 Fixed compile warnings. By the way, this file should really go
10868 away entirely, and this will happen as soon as Kirill makes his
10869 final round of process cleanups, which affect the function
10873 * process-nt.c (struct nt_process_data):
10874 * process-nt.c (find_process_from_pid):
10875 * process-nt.c (send_signal_the_nt_way):
10876 * process-nt.c (enable_child_signals):
10877 * process-nt.c (find_child_console):
10878 * process-nt.c (send_signal_the_95_way):
10879 * process-nt.c (nt_finalize_process_data):
10880 * process-nt.c (ensure_console_window_exists):
10881 * process-nt.c (nt_create_process):
10882 * process-nt.c (nt_kill_child_process):
10883 * process-nt.c (nt_kill_process_by_pid):
10884 * process-nt.c (nt_open_network_stream):
10885 * process-nt.c (vars_of_process_nt):
10886 Copied over code from Emacs 20.5 to correctly send signals to sub-
10887 processes under Windows 95. Also added code to automatically
10888 create and hide console window when a sub-process is created under
10889 Windows 95, which obviates the need for the separate runemacs.exe
10890 executable, and finally implemented some variables that were
10891 implemented in Emacs 20.5, but previously not in XEmacs. These
10892 include mswindows- start-process-share-console and
10893 mswindows-start-process-inherit-error-mode. (Both of these only
10894 apply to Windows 95.)
10896 * regex.c (regex_compile): Fixed a compile warning.
10899 * select-msw.c (mswindows_own_selection):
10900 * select-msw.c (mswindows_get_foreign_selection):
10901 * select-msw.c (mswindows_disown_selection):
10902 * select-msw.c (console_type_create_select_mswindows):
10903 * select-msw.c (syms_of_select_mswindows):
10904 Cleaned up the file and implemented the device method
10905 selection_exists_p, which had accidentally been left out. Also
10906 removed four lisp functions that were remnants from before the
10907 time when the selection code was properly device abstracted.
10908 These functions are no longer needed because there are generic
10909 equivalents, and because they were added recently and don't exist
10910 in FSF Emacs, I don't think there's any problem with just deleting
10914 * sysdep.c (sys_subshell):
10915 Fixed a compile warning, although in this case there's probably
10916 something wrong with this code, and it ought to be looked into
10917 more thoroughly by somebody who understands it.
10920 * window.c (Fwindow_text_area_height):
10921 * window.c (Fwindow_width):
10922 * window.c (Fwindow_full_width):
10923 * window.c (Fwindow_pixel_width):
10924 * window.c (debug_print_window):
10925 * window.c (syms_of_window):
10926 Added functions window-text-area-height and window-full-width,
10927 which are functions for returning various width and height
10928 characteristics of a window. (One of these functions is necessary
10929 for making the file dialog box work correctly, and the other one
10930 was added for completeness.) Also added a table to the
10931 documentation for window-height which describes the entire scheme
10932 for accessing width and height characteristics of a window.
10934 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10936 * nt.c (fstat): Added a comment for another problem with
10937 non-encapsulated [f]stat(), reported by Adrian Aichner
10938 <aichner@ecf.teradyne.com>.
10940 2000-03-11 Andy Piper <andy@xemacs.org>
10942 * window.c (make_dummy_parent): initialize subwindow instance
10944 (Fset_window_configuration): zero extent_modiff.
10946 2000-03-10 Andy Piper <andy@xemacs.org>
10948 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
10949 more changes can be triggered.
10950 (Fredisplay_frame): ditto.
10951 (Fredraw_device): ditto.
10952 (Fredisplay_device): ditto.
10953 (redisplay_frame): make non-static.
10954 (redisplay_frame): call update_frame_gutter_geometry outside of
10957 * gutter.h: declare update_frame_gutter_geometry.
10959 * redisplay.h: declare redisplay_frame.
10961 * gutter.c (update_frame_gutter_geometry): move geometry changes
10962 in update_frame_gutters here. Geometry changes can only occur
10963 outside of redisplay.
10964 (update_frame_gutters): remove geometry change code.
10965 (Fredisplay_gutter_area): make sure that we are in display when we
10966 update and that we have flushed any size changes.
10968 2000-03-11 Andy Piper <andy@xemacs.org>
10970 * alloc.c (pdump_dump_data): remove i & count shadows.
10972 2000-02-27 Mike Alexander <mta@arbortext.com>
10974 * sysdep.h: Declare pdump_read_file
10976 * sysdep.c (pdump_read_file): New function
10978 * alloc.c (pdump_load): Call pdump_read_file to get the portable
10981 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10983 * lrecord.h: add `lrecord_type_pgsetenv'.
10985 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
10987 * symsinit.h: declare (vars|syms)_of* functions.
10988 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
10990 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
10992 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
10994 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
10997 * emacs.c (main_1): Call postgres initialization code.
10999 * postgresql.h: New file. PostgreSQL RDBMS support.
11000 * postgresql.c: New file.
11002 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
11004 * redisplay-output.c (redisplay_output_display_block): Disable
11007 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11009 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
11010 (Fcanna_henkan_next): Ditto.
11011 (Fcanna_bunsetu_henkou): Ditto.
11012 (Fcanna_henkan_kakutei): Ditto.
11013 (Fcanna_henkan_end): Ditto.
11014 (Fcanna_henkan_quit): Ditto.
11015 (Fcanna_henkan_next): Set retun value correctly.
11016 (c2mu): Use unsigned char instead of signed char.
11018 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11020 * emacs.c (main_1): Always call syms_of_gui.
11021 * inline.c: include gui.h
11023 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11025 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
11026 converted to Lisp_Object.
11027 (Qtop_bottom): New variable.
11028 (syms_of_redisplay): Initialize it.
11029 * redisplay.h (Vvisible_bell): Ditto.
11030 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
11031 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
11032 only flash top and bottom.
11034 2000-03-08 Andy Piper <andy@xemacs.org>
11036 * buffer.c (Frename_buffer): record new buffer name the right way.
11038 2000-03-08 Andy Piper <andy@xemacs.org>
11040 * glyphs.c (update_subwindow): increase hash depth so that widget
11041 items get picked up properly.
11043 * redisplay-output.c (compare_runes): increase hash depth so that
11044 widget items get picked up properly.
11046 2000-03-08 Andy Piper <andy@xemacs.org>
11048 * gutter.c (output_gutter): add some debug.
11050 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
11051 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
11052 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
11054 * redisplay-output.c (compare_runes): use display_hash to
11055 determine if glyphs really are not the same.
11057 * glyphs.c (update_subwindow): check display_hash to see if
11058 anything really needs to be updated. If not then do
11059 nothing. Record the display_hash after updating.
11060 (image_instance_equal): compare the image_instance face also.
11062 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
11064 * redisplay.h: Fix comment style.
11066 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
11068 * consle-msw.h (struct mswindows_frame):
11069 Added new member paint_pending to indicate whether a WM_PAINT
11070 magic event has been queued for this frame.
11072 * event-msw.c (mswindows_drain_windows_queue):
11073 Don't queue a WM_PAINT magic event if one is already queued.
11074 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
11076 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
11078 2000-03-07 Didier Verna <didier@xemacs.org>
11080 * dired.c: #include `regex.h' after `sysfile.h'.
11082 2000-03-06 Martin Buchholz <martin@xemacs.org>
11084 * sound.c (init_nas_sound): Fix compiler warning.
11086 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
11088 (MARK_STRUCT_AS_FREE):
11089 (MARK_STRUCT_AS_NOT_FREE):
11090 Make `gcc -fstrict-aliasing' work properly.
11092 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
11094 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
11095 (mswindows_delete_device): Call CoUnnitialize().
11097 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
11099 2000-02-25 <CraigL@DyCon.com>
11101 * process-nt.c: MinGW now has <shellapi.h>, but still needs
11104 * sysdep.c: This extern declaration for environ prevents MinGW
11105 from finding the variable in CRTDLL.DLL.
11107 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
11109 (SHGFI_EXETYPE): ..
11110 (WM_MOUSEWHEEL): ..
11111 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
11113 (MMRESULT): Removed, now defined in cygwin's windows headers.
11115 (uid_t,gid_t,pid_t,ssize_t): ..
11116 (_timeb): Removed, MinGW defines both _timeb and timeb.
11117 (HAVE_H_ERRNO): Added.
11118 (HAVE_TZNAME): Added, configure is not detecting this.
11120 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
11122 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
11123 * syntax.c (syntax_match): Use it.
11125 * cmds.c: Import auto-fill-chars from FSF Emacs.
11126 (Vauto_fill_chars): New variables.
11127 (internal_self_insert): Check Vauto_fill_chars.
11129 Declare auto-fill-chars as a Lisp variable and initialize it.
11131 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
11133 * fileio.c (Fmake_symbolic_link):
11135 Run handlers even if local machine doesn't have symlinks.
11137 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
11139 * event-msw.c (mswindows_drain_windows_queue):
11140 Don't generate paint magic events for non-XEmacs frames.
11142 2000-03-05 Andy Piper <andy@xemacs.org>
11144 * redisplay.c (redisplay_frame): generate_displayable_area and
11145 friends assumes that we are not in GC, we therefore have to make
11146 sure that this doesn't happen.
11148 * gutter.c (calculate_gutter_size): generate_displayable_area
11149 assumes that we are not in GC, we therefore have to make sure that
11150 this doesn't happen.
11152 2000-03-05 Martin Buchholz <martin@xemacs.org>
11154 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
11156 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
11158 * redisplay.c (regenerate_window): Make sure we set a sane value
11159 for end_pos even if we jump out of the loop.
11160 (regenerate_window): Answer Ben's question :-).
11161 (start_end_of_last_line): Add may_error argument.
11162 (start_of_last_line):
11163 (end_of_last_line): Pass may_error = 0.
11164 (end_of_last_line_may_error): New function.
11165 (pixel_to_glyph_translation): Use it, so we don't crash in
11168 2000-03-04 Andy Piper <andy@xemacs.org>
11170 * window.h (struct window): add gutter_extent_modiff.
11172 * window.c (allocate_window): zero out gutter_extent_modiff.
11174 * redisplay.h: declare sync_display_line_structs.
11176 * redisplay.c (add_glyph_rune): add a better comment.
11178 * redisplay-output.c (sync_display_line_structs): made non-static.
11179 (compare_runes): remove unneccesary glyph cachel access.
11181 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
11183 * gutter.c (output_gutter): don't output the gutter if extent
11184 changes only involve extents in buffers. use 4 sets of display
11186 (gutter_extent_signal_changed_region_maybe): new function. Mark
11187 extents in gutters as changed.
11188 (update_frame_gutters): use 4 sets of display lines.
11189 (reset_gutter_display_lines): ditto.
11190 (free_frame_gutters): ditto.
11191 (redraw_exposed_gutter): force output of gutters.
11193 * frame.h (struct frame): add 4 sets of gutter display lines.
11195 * extents.c: (extent_changed_for_redisplay): signal changes to
11196 extents in strings in the gutter as well as extents in buffers.
11198 2000-03-02 Andy Piper <andy@xemacs.org>
11200 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
11202 * frame.c (Fmake_frame): make sure the gutters get initialized
11203 after the frame is visible.
11204 (set_frame_selected_window): re-arrange compilation macros a
11206 (change_frame_size_1): mark gutters changed.
11208 * device.c (Fset_device_class): mark gutters changed.
11210 2000-03-01 Andy Piper <andy@xemacs.org>
11212 * window.c (window_top_frame_gutter_height): deleted.
11213 (window_bottom_frame_gutter_height): ditto.
11214 (window_left_frame_gutter_height): ditto.
11215 (window_right_frame_gutter_height): ditto.
11216 (window_top_gutter_height): don't use them.
11217 (window_bottom_gutter_height): ditto.
11218 (window_left_gutter_width): ditto.
11219 (window_right_gutter_width): ditto.
11220 (Fsplit_window): ditto.
11221 (Fwindow_pixel_edges): don't use border dimensions here.
11223 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
11224 (update_scrollbar_instance): ditto.
11226 * redisplay.c (generate_modeline): don't take gutters into account.
11227 (generate_modeline): ditto.
11228 (redisplay_frame): small gutter display optimization.
11230 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
11232 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
11233 gutters into account.
11235 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
11236 for window position and type.
11238 * gutter.c (get_gutter_coords): fix for frame gutters.
11239 (update_frame_gutters): update frame geometry if the gutters have
11241 (init_frame_gutters): record current gutter geometries.
11243 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
11245 (mswindows_widget_instantiate): ditto.
11247 * frame.h (struct frame): add current_gutter_bounds.
11249 * frame.c (change_frame_size_1): position window and minibuffer
11250 appropriately taking into account the frame gutters.
11252 * frame-x.c: (x_initialize_frame_size): take into account the
11255 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11257 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
11259 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11261 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
11263 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11265 * file-coding.c (reset_decoding_stream): Clear previous
11266 detection state when autodetect.
11268 2000-02-29 Didier Verna <didier@xemacs.org>
11270 * extents.c (set_extent_glyph_1): don't require extents to be
11273 2000-02-27 Andy Piper <andy@xemacs.org>
11275 * gutter.c (Fset_default_gutter_position): don't default left and
11276 right gutter visibility to t.
11277 (Fset_default_gutter_position): run
11278 default-gutter-position-changed-hook.
11279 (syms_of_gutter): add default-gutter-position-changed-hook.
11281 2000-02-26 Andy Piper <andy@xemacs.org>
11283 * specifier.c (Fmake_specifier): add gutter references.
11285 * gutter.h (RAW_WINDOW_GUTTER): new macro.
11287 * lisp.h: declare Fvalid_plist_p.
11289 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
11291 (default_gutter_visible_p_changed_in_window): invalidate gutter as
11292 well as its visibility so that it gets reconstructed.
11293 (construct_window_gutter_spec): new function. Construct a string
11294 to be displayed in the gutter from a plist of strings. Take care
11295 to only use elements that are declared as visible.
11296 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
11298 (gutter_validate): allow plists of strings in the specifier.
11299 (gutter_specs_changed): construct the real_gutter from the gutter
11300 specs using construct_window_gutter_spec.
11301 (gutter_visible_validate): gutter-visible is a new specifier type.
11302 (Fgutter_visible_specifier_p): new function for the new specifier.
11303 (syms_of_gutter): declare gutter-visible and
11304 Fgutter_visible_specifier_p.
11305 (specifier_type_create_gutter): intitalize new gutter-visible
11307 (reinit_specifier_type_create_gutter): ditto.
11308 (specifier_vars_of_gutter): use new specifier type for gutter
11310 (init_frame_gutters): construct real_gutter correctly.
11311 (Fgutter_specifier_p): beef up documentation.
11312 (Fgutter_size_specifier_p): ditto.
11314 * winslots.h: add real_gutter slots.
11316 2000-02-25 Andy Piper <andy@xemacs.org>
11318 * device-msw.c: Be kind to older cygwin versions. From Raymond
11319 Toy <toy@rtp.ericsson.se>.
11321 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
11322 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
11324 2000-02-25 Martin Buchholz <martin@xemacs.org>
11326 * elhash.c (MARK_OBJ): Practice macro hygiene.
11328 2000-02-24 Martin Buchholz <martin@xemacs.org>
11330 * miscplay.c: s/__inline__/inline/g;
11331 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
11332 (get_device_compdc): INLINE ==> static inline
11333 * *.[ch]: Change INLINE to INLINE_HEADER globally.
11334 find -name '*.h' | \
11335 xargs global-replace \
11336 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
11338 2000-02-25 Andy Piper <andy@xemacs.org>
11340 * window.c (window_top_frame_gutter_height): new function.
11341 (window_top_window_gutter_height): ditto.
11342 (window_top_gutter_height): use them.
11343 (window_bottom_frame_gutter_height): new function.
11344 (window_bottom_window_gutter_height): ditto.
11345 (window_bottom_gutter_height): use them.
11346 (window_left_window_gutter_width): new function.
11347 (window_left_frame_gutter_width): ditto.
11348 (window_left_gutter_width): use them.
11349 (window_right_window_gutter_width): new function.
11350 (window_right_frame_gutter_width): ditto.
11351 (window_right_gutter_width): use them.
11352 (window_pixel_height): new function. calulate window pixel height
11353 with frame gutter involvement.
11354 (Fsplit_window): calculate new sizes taking frame gutters into
11356 (window_char_height_to_pixel_height): don't include frame gutters.
11357 (window_char_height): use window_pixel_height.
11358 (window_pixheight): rename from window_pixel_height.
11359 (change_window_height): use it.
11360 (window_pixel_height_to_char_height): don't include frame gutters.
11361 (window_char_width_to_pixel_width): ditto.
11363 2000-02-25 Andy Piper <andy@xemacs.org>
11365 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
11368 2000-02-24 Martin Buchholz <martin@xemacs.org>
11370 * alloc.c (staticpro):
11371 (staticpro_nodump):
11376 (compact_string_chars):
11377 (pdump_dump_wired):
11378 Convert: if (foo) abort(); ==> assert (! foo);
11380 * eldap.c (Fldap_search_basic):
11384 Fix compiler warnings, and possible crashes if (random) return
11385 value were to be used.
11387 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11389 * device-msw.c: Workaround ResetDC failure.
11391 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
11392 applying a devmode.
11394 * redisplay-msw.c (get_frame_dc): Added start_page_p.
11395 (mswindows_text_width): Do not start printer page.
11397 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
11399 * glyphs-msw.c: Added image methods to msprinter console and
11400 msprinter-specific image instantiation.
11402 2000-02-20 Mike Alexander <mta@arbortext.com>
11404 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
11405 to avoid crashes when selection-sets-clipboard is on
11406 (mswindows_own_selection): ditto
11408 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11411 * redisplay-msw.c (get_frame_dc):
11412 (get_frame_compdc):
11414 * device-msw.c (mswindows_init_device):
11415 (mswindows_delete_device):
11416 (msprinter_init_device):
11417 (msprinter_delete_device):
11418 * frame-msw.c (mswindows_init_frame_1):
11419 (mswindows_delete_frame):
11420 (msprinter_init_frame_3):
11421 (msprinter_delete_frame): Move compatible DC to device object from
11422 frame object, for both mswindows and msprinter. Only one at a time
11423 is needed, it is a real waste to have one per frame!
11425 2000-02-23 Andy Piper <andy@xemacs.org>
11427 * glyphs.c: add dynamic width and height elements.
11428 (image_instance_equal): ditto.
11430 * glyphs-widget.c (widget_query_geometry): calculate width and
11431 height dynamically if required.
11432 (initialize_widget_image_instance): initialize dynamic dimensions.
11433 (widget_instantiate): pick-up dynamic dimensions.
11435 * glyphs.h (struct Lisp_Image_Instance): add width and height for
11436 dynamic determination. Add appropriate macros.
11438 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
11440 (WINDOW_GUTTER_SIZE): ditto.
11441 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
11443 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
11445 (get_frame_dc): ditto.
11447 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
11450 2000-02-23 Martin Buchholz <martin@xemacs.org>
11452 * XEmacs 21.2.31 is released.
11454 2000-02-22 Ben Wing <ben@xemacs.org>
11456 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
11458 2000-02-22 Andy Piper <andy@xemacs.org>
11460 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
11462 2000-02-21 Mike Sperber <mike@xemacs.org>
11466 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
11469 2000-02-21 Mike Sperber <mike@xemacs.org>
11471 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
11473 2000-02-21 Martin Buchholz <martin@xemacs.org>
11475 * XEmacs 21.2.30 is released.
11477 2000-02-20 Martin Buchholz <martin@xemacs.org>
11479 Performance hacking.
11481 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
11482 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
11483 * emacs.c (main_1):
11485 * console.c (DEFVAR_CONSOLE_LOCAL_1):
11486 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
11487 * symeval.h (DEFVAR_SYMVAL_FWD):
11488 * symbols.c (guts_of_unbound_marker):
11489 Make all c_readonly objects also lisp_readonly and marked for life.
11490 * lrecord.h (struct lrecord_implementation):
11491 Document flags better.
11492 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
11493 * lrecord.h (DECLARE_LRECORD):
11494 * lrecord.h (XSETRECORD):
11495 * lrecord.h (RECORDP):
11496 * lrecord.h (RECORD_TYPEP):
11497 * lrecord.h (RECORD_MARKER): New.
11498 * lrecord.h (error_check_*):
11499 * lrecord.h (CONCHECK_NONRECORD):
11500 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
11501 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
11502 * lrecord.h (set_lheader_implementation):
11503 * lrecord.h (enum lrecord_type): New.
11504 * symeval.h (SYMBOL_VALUE_MAGIC_P):
11505 * alloc.c (disksave_object_finalization_1):
11506 * alloc.c (mark_object):
11507 * alloc.c (lrecord_type_index):
11508 * alloc.c (tick_lcrecord_stats):
11509 * alloc.c (Fgarbage_collect):
11510 * alloc.c (init_alloc_once_early):
11511 * alloc.c (pdump_load):
11512 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
11513 * alloc.c (lrecord_type_index): Delete.
11514 Make lisp object type indexes be constant.
11515 Makes (byte-compile) 5% faster.
11516 Put all marker functions into their own array.
11517 Makes (garbage-collect) 5% faster.
11518 Optimize SYMBOL_VALUE_MAGIC_P.
11519 Makes (byte-compile) 2-3% faster.
11520 * config.h.in (gc_checking_assert): New.
11521 * alloc.c: Use gc_checking_assert().
11522 * .dbxrc: Make compatible with new object type implementation.
11523 * .gdbinit: Make compatible with new object type implementation.
11524 * alloc.c: Delete all symbols defined only for debugging, such as
11525 Lisp_Type_Vector and lrecord_charset.
11527 2000-02-21 Andy Piper <andy@xemacs.org>
11529 * gui-msw.c (Fmswindows_shell_execute): fix file location
11532 * buffer.c (Fkill_buffer): remove buffer from alist buffer
11533 unshowing so that set_window_buffer doesn't undo
11534 kill_buffer_hook's hard work.
11536 * glyphs-widget.c (tab_control_query_geometry): don't count the
11537 first item when calculating geometry.
11539 * glyphs.c (map_subwindow): remove redundant code.
11540 (update_frame_subwindows): be more circumspect about when to
11543 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
11544 when items haven't changed. Update faces if faces have changed as
11545 well as just the widget face.
11546 (x_tab_control_update): Update faces if faces have changed as well
11547 as just the widget face.
11549 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11551 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
11553 (build_syscolor_string): Use mswindows_color_to_string to try to
11555 (mswindows_device_system_metrics): Reverse the foreground and
11556 background colors so that they match the documentation.
11558 * objects-msw.c: (mswindows_X_color_map): tweak some values so
11559 they match the default Windows palette.
11560 (mswindows_color_to_string): New function.
11562 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11564 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
11566 2000-02-18 Olivier Galibert <galibert@pobox.com>
11568 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
11569 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
11571 * symbols.c (init_symbols_once_early): Removed obsolete
11572 DATA_SEG_BITS related kludge.
11573 (defvar_magic): Ditto.
11575 * malloc.c: Removed obsolete DATA_SEG_BITS
11577 * mem-limits.h: Ditto.
11579 * Makefile.in.in: Removed obsolete HAVE_SHM
11582 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11584 * device-msw.c (mswindows_delete_device): Free DDE string
11587 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11589 * keymap.c (get_keyelt):
11590 * unexnt.c (unexec):
11591 * vm-limit.c (memory_warnings):
11592 * ntheap.c (recreate_heap):
11593 * ntheap.h (UNINIT_PTR):
11594 * select-msw.c (Fmswindows_get_clipboard):
11595 (Fmswindows_set_clipboard):
11596 * objects-msw.h (MSWINDOWS_BAD_HFONT):
11598 * menubar-msw.c (displayable_menu_item):
11600 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
11601 * sysdep.c (sys_subshell):
11602 * process-nt.c (nt_create_process):
11603 * nt.c (normalize_filename):
11604 (dostounix_filename):
11605 (unixtodos_filename):
11606 * ntproc.c (win32_executable_type):
11607 * ntplay.c (play_sound_data_1):
11609 * editfns.c (get_home_directory):
11610 * event-msw.c (struct winsock_stream):
11611 (mswindows_dde_callback):
11612 * device-msw.c (msprinter_init_device):
11613 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
11615 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
11616 mswindows_clear_toolbar were swapped!
11618 * objects-msw.c:(colormap_t):
11620 * emacs.c (struct standard_args): Fixed const jumble.
11622 * glyphs-widget.c (update_widget): Fixed comparison notation.
11624 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
11626 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
11627 __declspec(noreturn) syntax.
11629 2000-02-19 Martin Buchholz <martin@xemacs.org>
11631 * eldap.c (Fldap_open):
11632 (Fldap_search_basic):
11635 Use new coding system conversion macros.
11637 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11639 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
11641 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
11643 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
11644 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11646 * eldap.c (Qadd, Qreplace): New constant symbols
11647 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
11648 interruptions by XEmacs signals
11649 Remove unnecessary calls to slow_down_interrupts and
11650 speed_up_interrupts
11651 (Fldap_search_basic): Renamed from Fldap_search_internal
11652 Added new optional parameter VERBOSE that triggers the
11653 display of progress messages
11654 Remove unnecessary calls to slow_down_interrupts and
11655 speed_up_interrupts
11656 LDAP result code analysis rewritten
11657 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11658 (syms_of_eldap): Define the new symbols and functions
11661 2000-02-17 Martin Buchholz <martin@xemacs.org>
11663 * realpath.c: Determine PATH_MAX maximally portably.
11665 * insdel.c (bytecount_to_charcount): Optimize.
11666 The function used to be optimized for entirely ASCII sequences.
11667 Now it is optimized for successive characters from the same
11668 charset. This also wins big for _mostly_ ASCII sequences.
11670 * fileio.c (Ffile_truename): convert return from realpath() using
11671 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
11672 - Rewrite GCPROing slightly.
11674 * sysdep.c (sys_open): Do filename conversion, like all other
11675 sys_* functions. Fixes bug:
11676 (let ((file-name-coding-system 'iso-8859-2))
11677 (write-region x y latin2-name))
11678 ==> writes filename using internal encoding.
11680 2000-02-18 Martin Buchholz <martin@xemacs.org>
11682 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
11683 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
11684 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
11685 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
11686 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
11687 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
11688 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
11689 (CONST_IF_NOT_DEBUG): Delete.
11690 * alloc.c (this_one_is_unmarkable): Delete.
11691 (mark_object): Don't check for this_one_is_unmarkable. Use the
11692 c_readonly flag instead.
11693 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
11695 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
11697 * event-msw.c (mswindows_drain_windows_queue):
11698 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
11699 away redundant repaint events.
11701 2000-02-17 Andy Piper <andy@xemacs.org>
11703 * redisplay.h: declare mark_redisplay_structs.
11705 * redisplay.c (redisplay_window):
11706 (redisplay_frame): don't check subwindows_state_changed.
11707 (mark_redisplay): mark gutters here.
11709 * glyphs.c: (instantiate_image_instantiator): always layout if we
11710 haven't done so already.
11711 (allocate_image_instance): don't mark as dirty.
11712 (update_subwindow): bind inhibit_quit.
11714 * gutter.c (mark_gutters): new function.
11716 * glyphs-x.c (x_update_widget): Always resize to get round a
11719 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
11720 breaking absolutely everything.
11722 * gutter.h: declare mark_gutters.
11724 2000-02-16 Martin Buchholz <martin@xemacs.org>
11726 * XEmacs 21.2.29 is released.
11728 2000-02-15 Olivier Galibert <galibert@pobox.com>
11730 * fns.c (size_bit_vector): Fix computation of the size.
11732 2000-02-15 Martin Buchholz <martin@xemacs.org>
11734 * *.[ch]: Change CONST to const globally.
11735 find -name '*.[ch]' | \
11736 xargs global-replace \
11737 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
11738 - Remove vestigial references to CONST_IS_LOSING
11740 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11742 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
11743 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
11744 events instead of dispatching them directly.
11745 (mswindows_handle_paint): New function to do repainting.
11746 (mswindows_wnd_proc):
11747 (emacs_mswindows_handle_magic_event): Call above function.
11749 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11751 * objects-msw.c (mswindows_create_font_variant): Return the new
11753 (initialize_font_instance): Get font metrics from the underlined
11754 variant of the font to cope with the case where the underlined
11755 font has a bigger descent.
11757 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11759 * gui.c (gui_item_accelerator): Return the first underlined
11760 character in item name.
11762 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11764 * lisp.h: Added Qprinter.
11766 * general.c (syms_of_general): Initialized it.
11768 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
11770 (get_frame_compdc): Made inline.
11772 * console.h (struct console_methods): Added eject_page method.
11774 * frame.h: Added FRAME_DISPLAY_P and friends.
11775 Aligned backslahes in many macros in more readable fashion.
11776 Added page_number to struct frame, and an accessor macro
11779 * defice.h: Added DEVICE_DISPLAY_P and friends.
11781 * device.c (Fdevice_printer_p): Used these.
11783 * frame.c (allocate_frame_core): Initialize page number.
11784 (Fprint_job_page_number):
11785 (Fprint_job_eject_page): Implemented.
11787 * frame-msw.c (msprinter_eject_page): Added method.
11788 (msprinter_start_page): Added.
11790 * window.c (Fwindow_truncated_p): Fixed docstring.
11791 (Fwindow_last_line_visible_height): Implemented.
11793 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11795 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
11797 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11799 * syntax.c (scan_words): Always advance at least one character.
11801 2000-02-13 Andy Piper <andy@xemacs.org>
11803 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
11804 to make sure the glyph is in the cachels.
11806 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
11807 global image instance flag.
11808 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
11809 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
11811 * glyphs.c (allocate_image_instance): set dirty bits correctly.
11812 (Fset_image_instance_property): mark layout as changed.
11813 (invalidate_glyph_geometry_maybe): mark layout as changed.
11814 (glyph_width): use new NEEDS_LAYOUT macro.
11815 (glyph_ascent): ditto.
11816 (glyph_descent): ditto.
11817 (glyph_height): ditto.
11818 (image_instance_layout): mark layout as clean after laying out.
11819 (update_subwindow): don't mark layout as clean here.
11821 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
11822 should no longer be needed.
11824 * glyphs-x.c (x_update_widget): sanitize asserts.
11825 (x_finalize_image_instance): sanitize assignment to widgets.
11827 * glyphs-widget.c (widget_instantiate): don't need to clear the
11830 2000-02-13 Martin Buchholz <martin@xemacs.org>
11832 * sysdep.c (getcwd): Use standard prototype.
11833 * sysdep.h (getcwd): Use standard prototype.
11835 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
11836 (sequence, start, end).
11837 Remove redundant type checking.
11838 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
11839 view of `caller-protects') to avoid a crash where the real fix was
11842 2000-02-12 Martin Buchholz <martin@xemacs.org>
11844 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
11846 * s/sol2.h: Remove feature macro initialization.
11848 * alloc.c (alloc_lcrecord): Add more type checking assertions.
11849 (vector_hash): New. Code from internal_hash.
11851 Fix up allocation subsystem comments.
11853 * config.h.in: Add __EXTENSIONS__ for Solaris.
11855 * systime.h (EMACS_GETTIMEOFDAY): New.
11856 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
11857 Remove Solaris-specific code.
11858 Use void* for the (ignored) second arg for gettimeofday().
11860 * elhash.c (hash_table_hash): Implement it, finally.
11861 * elhash.c: Use hashcode_t.
11863 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
11864 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
11866 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
11867 * fns.c (size_bit_vector):
11868 * alloc.c (size_vector):
11869 (make_vector_internal):
11870 (make_bit_vector_internal):
11871 (sweep_bit_vectors_1):
11872 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
11874 2000-02-10 Martin Buchholz <martin@xemacs.org>
11876 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
11877 Include strings.h to avoid warnings for bzero and strcasecmp.
11879 2000-02-10 Olivier Galibert <galibert@pobox.com>
11881 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
11882 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
11884 * fns.c (size_bit_vector): New. Declare bit vectors as a
11887 2000-02-10 Olivier Galibert <galibert@pobox.com>
11889 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
11890 use a value field instead.
11891 (symbol_value_forward_forward): Use value field.
11892 (DEFVAR_SYMVAL_FWD): Use value field.
11893 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
11894 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
11895 (DEFVAR_CONST_INT): Ditto.
11896 (DEFVAR_BOOL): Ditto.
11897 (DEFVAR_CONST_BOOL): Ditto.
11898 (DEFVAR_INT_MAGIC): Ditto.
11899 (DEFVAR_BOOL_MAGIC): Ditto.
11901 * symbols.c (guts_of_unbound_marker): Use value field.
11902 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
11903 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
11905 * lisp.h: Declare dumpopaque and noninteractive1.
11907 * alloc.c (dumpopaque): Added.
11908 (pdump_dump_opaquevec): Added.
11909 (pdump): Call pdump_dump_opaquevec to dump opaque data.
11910 (pdump_load): Reload opaque data. Sync noninteractive1 with
11913 2000-02-10 Andy Piper <andy@xemacs.org>
11915 * glyphs.c (image_instance_layout): if the size changes, mark it
11918 * redisplay-output.c (redisplay_output_layout): Update the
11920 (redisplay_output_subwindow): ditto.
11922 * glyphs.c (update_subwindow): make sure we reset flags for
11923 layouts as well as everything else.
11925 * glyphs-widget.c (layout_layout): don't need to set the instances
11928 2000-02-09 Martin Buchholz <martin@xemacs.org>
11930 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
11931 not HAVE_DLOPEN, which is a lower-level thing.
11933 * .cvsignore: Ignore gmon.out
11935 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
11937 * .cvsignore: Ignore portable dumper xemacs.dmp file
11939 2000-02-09 Andy Piper <andy@xemacs.org>
11941 * redisplay-output.c (redisplay_output_layout): be more clever
11942 about when we output based on the changed flags.
11944 * glyphs.h (struct image_instantiator_methods): add update_method.
11945 (struct Lisp_Image_Instance): add changed flags. Declare new
11946 macros for manipulating them.
11948 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
11949 (image_instance_parent_glyph): find an image_instance's parent
11950 glyph or image_instance.
11951 (image_instance_layout): mark the size as changed.
11952 (set_image_instance_dirty_p): new function. mark an image
11953 instance, plus all of its parents, as dirty.
11954 (Fset_image_instance_property): use it.
11955 (Fglyph_animated_timeout_handler): use it.
11956 (update_subwindow): call update_widget and device methods for
11957 update_subwindow. Mark all changed flags as clean.
11958 (Fresize_subwindow): mark size as changed.
11960 * glyphs-x.c (x_finalize_image_instance): try and detect gc
11962 (x_update_subwindow): only resize subwindows here.
11963 (x_update_widget): new function. Update all changed properties of
11965 (x_resize_subwindow): deleted.
11966 (x_widget_set_property): deleted.
11967 (x_progress_gauge_set_property): deleted.
11968 (x_progress_gauge_update): new function. Implement recorded
11970 (x_tab_control_update): ditto.
11971 (x_tab_control_set_property): deleted.
11972 (console_type_create_glyphs_x): declare new functions.
11973 (image_instantiator_format_create_glyphs_x): ditto.
11975 * glyphs-widget.c (widget_set_property): mark text changed.
11976 (update_widget): new function. Update properties of a widget.
11977 (widget_instantiate): for layouts make sure we set their
11978 children's parent correctly.
11979 (tab_control_set_property): new function. Record changes that will
11980 take place under redisplay's control.
11981 (progress_gauge_set_property): ditto.
11982 (image_instantiator_progress_guage): declare new functions.
11983 (image_instantiator_tab_control): ditto.
11985 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
11987 (mswindows_update_widget): new function. Update all properties on
11988 a widget that have changed.
11989 (mswindows_button_update): new function. Update a button's set
11991 (mswindows_tab_control_update): new function. Update the items in
11993 (mswindows_tab_control_set_property): deleted.
11994 (mswindows_progress_gauge_update): new function. Update the
11995 progress gauge's progress.
11996 (mswindows_widget_set_property): deleted. This is all done
11997 asynchronously now.
11998 (mswindows_progress_gauge_set_property): ditto.
11999 (console_type_create_glyphs_mswindows): declare new methods.
12000 (image_instantiator_format_create_glyphs_mswindows): ditto.
12002 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
12003 (msprinter_set_frame_properties): ditto.
12005 * console.h (struct console_methods): Add update_widget_method.
12007 2000-02-09 Andy Piper <andy@xemacs.org>
12009 * gui-msw.c (Fmswindows_shell_execute): Make
12010 mswindows-shell-execute industrial strength.
12012 2000-02-08 Martin Buchholz <martin@xemacs.org>
12014 * lrecord.h: Make macro argument `props' match member function `plist'.
12017 * fns.c (Fremprop):
12018 * fns.c (Fobject_plist):
12021 Object property list frobbing cleanup.
12022 - Allow any lisp object (compared with `eq'), not just symbols, as
12023 keys in object plists.
12024 - Move symbol plist frobbing into symbols.c, where it belongs.
12025 - Move string plist frobbing into alloc.c, where it belongs.
12026 - Everything's an lrecord now, so no need to test for symbolp, etc.
12027 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
12029 * extents.c: Reorder code to remove declarations.
12031 * frame.h (store_in_alist): Remove useless declaration.
12033 2000-02-07 Martin Buchholz <martin@xemacs.org>
12035 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
12036 * config.h.in: Add HAVE_XCONVERTCASE.
12038 2000-02-07 Andy Piper <andy@xemacs.org>
12040 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
12041 it breaks many things.
12043 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
12045 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
12046 actually can start a common comment type.
12047 * src/syntax.h (SYNTAX_END_P): ditto for end.
12049 2000-02-07 Martin Buchholz <martin@xemacs.org>
12051 * XEmacs 21.2.28 is released.
12053 2000-02-06 Martin Buchholz <martin@xemacs.org>
12055 * event-Xt.c (x_keysym_to_character): New.
12056 (maybe_define_x_key_as_self_inserting_character): New.
12057 (x_has_keysym): New.
12058 Auto-define all keys on the keyboard as self-insert-key.
12060 2000-02-02 Martin Buchholz <martin@xemacs.org>
12062 * menubar.c (vars_of_menubar): A small code simplification.
12064 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
12067 * ExternalClient.c:
12068 * EmacsShell-sub.c:
12071 Use consistent style for specifying X resources.
12073 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
12074 This makes (dontusethis-set-symbol-value-handler) actually usable.
12076 * lrecord.h (lrecord_decription_type):
12077 * alloc.c (pdump_register_sub):
12080 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
12081 Comply with XEmacs coding style.
12082 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
12083 args, and XD_LISP_OBJECT_ARRAY with 3 args.
12085 * keymap.c (Faccessible_keymaps):
12086 Make (accessible-keymaps map "\C-h") do the Right Thing.
12087 Make (accessible-keymaps map []) do the Right Thing.
12088 Make (accessible-keymaps map "") do the Right Thing.
12089 (check_keymap_definition_loop): New function.
12090 (keymap_store_internal): Keep luser from shooting self in foot,
12091 via (define-key ctl-x-4-map "p" global-map).
12092 Remove fullness slot from struct Lisp_Keymap, since hash tables
12094 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
12096 2000-01-30 Martin Buchholz <martin@xemacs.org>
12098 * redisplay.c (init_redisplay): Fix small memory leak.
12100 * elhash.c (pdump_reorganize_hash_table):
12101 Rename from reorganize_hash_table. Change prototype.
12102 Reuse the original memory for hentries. Save 100k.
12103 * alloc.c (PDUMP_READ): new macro.
12104 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
12105 * alloc.c: No need to #ifndef before #undef.
12107 * print.c: Allow debug_print() to print readably by modifying
12108 debug_print_readably. Use consistent variable names.
12110 * .dbxrc: Try to get things to work even if stopped in a function
12111 without source available by explicitly specifying source files.
12112 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12114 * unexnt.c (_start): Removed bogus code which caused loading heap
12115 from differrent executable file.
12116 Removed bogus assignment to _fmode, which caused inconsistencies.
12118 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12120 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
12121 Have spawnve encapsulation regard DONT_ENCAPSULATE.
12122 Do not preliminary `#define signal sigset'.
12124 * systime.h: Do not prototype environ on windows nt and cygwin,
12125 this conflicts with system header.
12127 * syssignal.h: Use correct define for WINDOWSNT
12129 * sysdep.h: Do not prototype environ on windows nt, this conflicts
12130 with system header.
12132 * sysdep.c (near start of file): Fixed commentary and rearranged
12133 ifdefs in readable order.
12134 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
12137 (end_of_data): Do not compile in if using PDUMP.
12139 * symsinit.h: Prototyped vars_of_nt().
12141 * ntproc.c (windows9x_p): Added, instead of os_subtype.
12142 (find_child_console): Use it.
12143 (sys_kill): Use it.
12145 * ntheap.h: Do not extern os_subtype.
12147 * ntheap.c (cache_system_info): Do not cache unneeded:
12148 nt_major_version, nt_minor_version and os_subtype.
12149 (recreate_heap): Do not compile in when PDUMPing.
12151 * nt.c (geteuid and friends): Use the new varibale
12152 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
12153 (init_user_info): Removed the above mentioned hackery.
12154 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
12155 stat has been fixed in the C runtime.
12156 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
12158 * file-coding.c (struct file_coding_dump): Do not define
12159 ucs_to_mule_table in the struct if not MULE.
12160 (struct struct lrecord_description fcd_description_1): Do not dump
12163 * emacs.c (main_1): Call vars_of_nt().
12164 (right before Fdump_emacs_data): Don't need lastfile if using both
12165 portabe dumper and system malloc.
12167 * alloc.c (Fmemory_limit): Conditionalized out.
12168 (pdump): Use OPEN_BINARY for the portable dump file.
12169 (pdump_load): Ditto.
12171 2000-02-02 Mike Alexander <mta@arbortext.com>
12173 * nt.c (convert_time): Set tm_isdst before calling mktime and
12174 avoid calling it at all if the compiler supports 64 bit integers.
12175 Also initialize utc_base_ft before using it.
12177 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
12179 * frame.c (change_frame_size_1): Take f->internal_border_width
12180 into consideration when calculating the width of the frame.
12182 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12184 * window.c (frame_min_height):
12185 (frame_size_valid_p):
12186 (frame_pixsize_valid_p): Added.
12187 (check_frame_size): Generalized.
12189 * window.h: Prototyped the above.
12192 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
12193 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
12194 Deleted Vwin32_* and Vbinary_process_* unused variables.
12196 * device-msw.c (msprinter_init_device): Do not get printer font
12197 list; Added DEVMODE functions.
12199 * frame-msw.c: Added lots of printer code.
12201 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
12204 * console-msw.h: Added more msprinter device private slots.
12206 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12208 * event-msw.c (key_needs_default_processing_p): Added.
12209 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
12211 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12213 * glyphs.c (image_instance_layout): Mark image instance as clean
12215 (glyph_dirty_p): Removed redundant function.
12216 (invalidate_glyph_geometry_maybe): Added.
12217 (update_glyph_cachel_data): Call it.
12219 * glyphs.h: Prototyped it.
12221 * redisplay.c (add_glyph_rune): Call it.
12222 (redisplay_window): Reset glyphs cachels when frame faces have
12223 changed, thus forcing recomputation of built-in border glyphs.
12225 2000-01-30 Martin Buchholz <martin@xemacs.org>
12227 * Makefile.in.in: Make portable dumper and purify play well together.
12228 Add imperfect, but better than nothing, support for pdump.
12229 Remove xemacs.dmp when temacs is re-generated.
12230 Don't ignore errors when dumping xemacs.
12232 * symbols.c (maybe_call_magic_handler): Remove one magic number.
12234 2000-01-28 Andy Piper <andy@xemacs.org>
12236 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
12237 (setup_normal_frame): ditto.
12238 (setup_frame_without_minibuffer): ditto.
12239 (setup_minibuffer_frame): ditto.
12240 (delete_frame_internal): ditto.
12241 (Fmake_frame_invisible): ditto.
12242 (Ficonify_frame): ditto.
12244 * window.h: change Fset_window_buffer signature.
12246 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
12247 (Fset_window_buffer): allow recording of buffer if the window is
12248 the selected window.
12249 (window_loop): Use new Fset_window signature.
12251 2000-01-23 Daniel Pittman <daniel@danann.net>
12253 * config.h.in: Added template for `HAVE_ATHENA_3D'
12255 2000-01-29 Andy Piper <andy@xemacs.org>
12257 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
12259 * gutter.c (output_gutter): Don't output if the window isn't live.
12261 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12263 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
12264 of 01/12/00: Moved SetFocus back here where it belongs.
12266 2000-01-23 Andy Piper <andy@xemacs.org>
12268 * s/cygwin32.h: declare printer things.
12270 2000-01-26 Andy Piper <andy@xemacs.org>
12272 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
12275 2000-01-24 Andy Piper <andy@xemacs.org>
12277 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
12278 (mswindows_button_instantiate): Make sure glyph is a pixmap.
12280 * glyphs-widget.c (widget_instantiate): Avoid shadows.
12282 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
12284 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
12286 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
12287 (mswindows_output_display_block): Avoid local shadows.
12289 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
12290 (mswindows_enqueue_mouse_button_event): ditto.
12291 (mswindows_handle_gui_wm_command): remove declaration.
12293 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
12296 * console-msw.h: Avoid shadows.
12297 (mswindows_get_toolbar_button_text):
12298 (emacs_mswindows_create_stream_pair):
12299 (emacs_mswindows_delete_stream_pair):
12300 (mswindows_handle_toolbar_wm_command): declare.
12302 * device-msw.c (build_syscolor_string): Avoid shadows.
12304 2000-01-23 Andy Piper <andy@xemacs.org>
12306 * glyphs-widget.c (widget_instantiate): reverse the items for
12307 layouts so that children are in the expected order.
12309 2000-01-28 Martin Buchholz <martin@xemacs.org>
12311 * ralloc.c: safe_bcopy ==> memmove
12312 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
12313 * s/msdos.h: Remove BCOPY macros.
12314 * insdel.c (gap_right): Remove BCOPY conditional code.
12315 * insdel.c (gap_left): Remove BCOPY conditional code.
12316 XEmacs demands a working ANSI C compiler - hence memmove.
12318 * regex.c (regex_compile): Remove accidental use of trigraphs.
12320 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12322 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
12325 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12327 * event-msw.c (mswindows_drain_windows_queue): Added the
12329 (mswindows_need_event): Commented the call to
12330 mswindows_drain_windows_queue().
12331 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
12334 * console-msw.h: Moved a few function prototypes here from
12337 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
12338 parameter from unsigned short to unsigned long.
12339 (Fmswindows_shell_execute): Added return value.
12341 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12343 * sysdep.c (init_system_name):
12344 process-unix.c (unix_canonicalized_host_name):
12345 Don't call freeaddrinfo() if getaddrinfo() fails.
12347 * process-unix.c (unix_open_unix_network_stream):
12348 Moved the code to get a port # into address loop.
12350 2000-01-27 Martin Buchholz <martin@xemacs.org>
12352 * buffer.c (reinit_vars_of_buffer):
12353 The right place to initialize conversion_in_dynarr and
12354 conversion_out_dynarr.
12356 * alloc.c (pdump): Use the real open() till sys_open() is functional.
12358 * process-unix.c (unix_canonicalize_host_name): Muleize.
12359 (unix_open_network_stream): Muleize.
12361 * buffer.h: Fix up prototypes for ralloc.c functions.
12363 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12364 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
12365 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
12366 instead of gethostbyname()
12367 * process-unix.c: In unix_canonicalize_host_name() and
12368 unix_open_network_stream(), add code to use getaddrinfo()
12369 instead of gethostbyname().
12371 2000-01-27 Daniel Pittman <daniel@danann.net>
12373 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
12374 libs when built with flat Athena.
12376 2000-01-27 Martin Buchholz <martin@xemacs.org>
12378 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
12379 Use coding standards for function prototypes.
12381 2000-01-25 Martin Buchholz <martin@xemacs.org>
12383 * dialog-msw.c (push_lisp_string_as_unicode):
12384 * doc.c (unparesseuxify_doc_string):
12385 * dired.c (Fuser_name_completion_1):
12386 * dired.c (Fuser_name_all_completions):
12387 * dired.c (free_user_cache):
12388 * dired.c (user_name_completion):
12389 * console-x.c (get_display_arg_connection):
12390 * minibuf.c (clear_echo_area_internal):
12391 * minibuf.c (echo_area_append):
12392 * eldap.c (Fldap_open):
12393 * eldap.c (Fldap_search_internal):
12394 * frame-x.c (x_set_frame_text_value):
12395 * frame-x.c (x_set_frame_properties):
12396 * frame-x.c (x_create_widgets):
12397 * redisplay-tty.c (term_get_fkeys_1):
12398 * objects-x.c (x_parse_nearest_color):
12399 * objects-x.c (x_valid_color_name_p):
12400 * objects-x.c (x_initialize_font_instance):
12401 * objects-x.c (x_list_fonts):
12402 * objects-x.c (x_find_charset_font):
12403 * tooltalk.c (Fadd_tooltalk_message_arg):
12404 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12405 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12406 * process-unix.c (unix_create_process):
12407 * ntproc.c (sys_spawnve):
12408 * sound.c (Fplay_sound_file):
12409 * sound.c (Fplay_sound):
12410 * buffer.c (init_initial_directory):
12411 * buffer.c (init_buffer):
12412 * editfns.c (init_editfns):
12413 * editfns.c (Ftemp_directory):
12414 * editfns.c (Fuser_full_name):
12415 * editfns.c (uncache_home_directory):
12416 * editfns.c (get_home_directory):
12417 * editfns.c (Fuser_home_directory):
12418 * editfns.c (Fformat_time_string):
12419 * editfns.c (Fcurrent_time_string):
12420 * gui-x.c (button_item_to_widget_value):
12421 * database.c (Fopen_database):
12422 * event-Xt.c (x_to_emacs_keysym):
12423 * event-Xt.c (x_event_to_emacs_event):
12424 * event-Xt.c (describe_event_window):
12425 * event-msw.c (mswindows_wnd_proc):
12426 * glyphs-eimage.c (jpeg_instantiate):
12427 * glyphs-eimage.c (gif_instantiate):
12428 * glyphs-eimage.c (png_instantiate):
12429 * glyphs-eimage.c (tiff_instantiate):
12430 * glyphs-x.c (xbm_instantiate_1):
12431 * glyphs-x.c (x_xbm_instantiate):
12432 * glyphs-x.c (x_xface_instantiate):
12433 * glyphs-x.c (autodetect_instantiate):
12434 * glyphs-x.c (cursor_font_instantiate):
12435 * glyphs-x.c (x_widget_instantiate):
12436 * glyphs-x.c (x_widget_set_property):
12437 * glyphs-x.c (x_widget_property):
12438 * glyphs-x.c (BUILD_GLYPH_INST):
12439 * print.c (write_string_to_stdio_stream):
12440 * print.c (output_string):
12441 * print.c (Falternate_debugging_output):
12442 * print.c (Fexternal_debugging_output):
12443 * glyphs-msw.c (extract_xpm_color_names):
12444 * glyphs-msw.c (mswindows_xpm_instantiate):
12445 * glyphs-msw.c (bmp_instantiate):
12446 * glyphs-msw.c (resource_name_to_resource):
12447 * glyphs-msw.c (mswindows_resource_instantiate):
12448 * glyphs-msw.c (xbm_instantiate_1):
12449 * glyphs-msw.c (mswindows_xbm_instantiate):
12450 * glyphs-msw.c (mswindows_xface_instantiate):
12451 * glyphs-msw.c (mswindows_widget_instantiate):
12452 * glyphs-msw.c (add_tree_item):
12453 * glyphs-msw.c (add_tab_item):
12454 * glyphs-msw.c (mswindows_combo_box_instantiate):
12455 * glyphs-msw.c (mswindows_widget_property):
12456 * glyphs-msw.c (mswindows_combo_box_property):
12457 * glyphs-msw.c (mswindows_widget_set_property):
12458 * console.c (stuff_buffered_input):
12459 * objects-msw.c (mswindows_initialize_color_instance):
12460 * objects-msw.c (mswindows_valid_color_name_p):
12461 * objects-msw.c (mswindows_list_fonts):
12462 * objects-msw.c (mswindows_font_instance_truename):
12463 * bytecode.c (optimize_compiled_function):
12464 * select-x.c (symbol_to_x_atom):
12465 * select-x.c (x_atom_to_symbol):
12466 * select-x.c (hack_motif_clipboard_selection):
12467 * select-x.c (selection_data_to_lisp_data):
12468 * select-x.c (lisp_data_to_selection_data):
12469 * select-x.c (Fx_get_cutbuffer_internal):
12470 * select-x.c (Fx_store_cutbuffer_internal):
12471 * buffer.h (TO_EXTERNAL_FORMAT): New function.
12472 * buffer.h (TO_INTERNAL_FORMAT): New function.
12473 * emacs.c (make_arg_list_1):
12474 * emacs.c (make_argc_argv):
12475 * emacs.c (main_1):
12476 * emacs.c (Fdump_emacs):
12477 * emacs.c (split_string_by_emchar_1):
12482 * device-x.c (x_init_device):
12483 * device-x.c (Fx_valid_keysym_name_p):
12484 * device-x.c (Fx_get_font_path):
12485 * device-x.c (Fx_set_font_path):
12486 * glyphs.c (bitmap_to_lisp_data):
12487 * glyphs.c (pixmap_to_lisp_data):
12488 * alloc.c (make_ext_string): Use coding system arguments. Update
12490 * alloc.c (build_string):
12491 * callproc.c (child_setup):
12492 * callproc.c (init_callproc):
12493 * fileio.c (lisp_strerror):
12494 * fileio.c (directory_file_name):
12495 * fileio.c (Fexpand_file_name):
12496 * fileio.c (Ffile_truename):
12497 * fileio.c (Fsysnetunam):
12498 * fileio.c (Fdo_auto_save):
12499 * sysdep.c (sys_readdir):
12500 * tests.c: New file. Allow adding C tests.
12501 Replace GET_* macros with a more comprehensible and flexible
12502 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
12504 Any coding system can be used to do format conversion.
12505 Eliminate enum external_data_format.
12506 Eliminate convert_to_external_format.
12507 Eliminate convert_to_internal_format.
12508 Make sure file-name, keyboard, terminal, and ctext are always
12509 defined as coding systems or aliases. Make
12510 file-name-coding-system, terminal-coding-system, and
12511 keyboard-coding-system magical variables that are equivalent to
12512 defining the corresponding coding system aliases.
12514 * file-coding.c (Fcoding_system_canonical_name_p): New function.
12515 * file-coding.c (Fcoding_system_alias_p): New function.
12516 * file-coding.c (Fcoding_system_aliasee): New function.
12517 * file-coding.c (append_suffix_to_symbol): New function.
12518 * file-coding.c (dangling_coding_system_alias_p): New function.
12519 * file-coding.c (Ffind_coding_system):
12520 * file-coding.c (Fcopy_coding_system):
12521 * file-coding.c (encode_coding_no_conversion):
12522 * file-coding.c (syms_of_file_coding):
12523 * file-coding.c (vars_of_file_coding):
12524 Rewrite coding system alias code.
12525 Allow nested aliases, like symbolic links.
12526 Allow redefinition of coding system aliases.
12527 Prevent existence of dangling coding system aliases.
12529 * dired.c (Fuser_name_completion_1):
12530 * dired.c (Fuser_name_all_completions):
12531 A crash would happen if user did QUIT in the middle of building
12532 user_name_cache. Remove redundant code in mainline and unwind_protect.
12535 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
12537 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
12538 an unsigned char *. Update all callers.
12540 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12542 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
12544 2000-01-25 Martin Buchholz <martin@xemacs.org>
12546 * elhash.c (hentry_description): Use more portable definition.
12547 (resize_hash_table): Initialize new hentries using
12548 xnew_array_and_zero, thereby simplifying the code.
12550 * mule-charset.c (make_charset): Make sure entire object is
12551 initialized, to avoid Purify warnings.
12553 * alloc.c (resize_string): Fix unlikely crash with big strings.
12555 2000-01-24 Martin Buchholz <martin@xemacs.org>
12557 * realpath.c (xrealpath):
12558 Don't call getwd().
12560 2000-01-25 Martin Buchholz <martin@xemacs.org>
12562 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
12564 1999-12-28 Max Matveev <max@melbourne.sgi.com>
12566 * unexelfsgi.c (unexec): Change the way we decide which segment
12567 should be extended.
12569 Assumption that .bss section should be outside the PT_LOADable
12570 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
12571 it's present) is inside the 'data' segment. This would fail the
12572 test which was used to find a segment to grow and cover new
12573 heap. Instead of this assumption, I created another one - on IRIX
12574 the segment to grow should start below .bss and it's address
12575 should extent above the end of .bss. Once this segment is
12576 identified, it's grown to accommodate the new heap and new
12577 zero-length .bss section is added at the end of .data2.
12579 2000-01-25 Martin Buchholz <martin@xemacs.org>
12581 * eval.c (Feval): Wrong number of arguments should use original
12582 function, not the indirect_function version of it.
12584 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12586 * glyphs-x.c (x_button_instantiate): Don't add image if
12587 it is not a pixmap.
12588 (x_locate_pixmap_file): Call Fexpand_file_name when file name
12591 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
12593 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
12595 (DEFVAR_INT_MAGIC): Ditto.
12596 (DEFVAR_BOOL_MAGIC): Ditto.
12597 * glyphs.h: Reindent backslash.
12599 2000-01-24 Martin Buchholz <martin@xemacs.org>
12601 * glyphs-widget.c (layout_query_geometry):
12602 (layout_layout): Use correct types for gheight, gwidth.
12604 2000-01-24 Martin Buchholz <martin@xemacs.org>
12606 * EmacsManager.c (QueryGeometry): Purified.
12608 2000-01-23 Martin Buchholz <martin@xemacs.org>
12610 * alloc.c (make_float): Make sure entire object is initialized, to
12611 avoid Purify warnings.
12612 (pdump_register_sub): Remove useless assignment.
12613 (pdump): Use xmalloc, not malloc.
12614 (pdump_load): Use xmalloc, not malloc.
12616 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12623 * sysdep.c: Removed redundant #include <windows.h>
12625 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12627 * frame.c (delete_frame_internal): Do not delete device when its
12628 implementation so declares.
12629 (delete_frame_internal): Set device selected frame to nil when
12630 last frame goes away.
12632 * device-msw.c (msprinter_device_system_metrics): Implemented.
12633 (mswindows_device_system_metrics): Added 'device-dpi property.
12635 * device.c: (Fdevice_printer_p): Added.
12636 Added 'offset-workspace device metric.
12638 * console.h (device_metrics): Declared DM_offset_workspace.
12640 2000-01-23 Martin Buchholz <martin@xemacs.org>
12642 * fileio.c (Ffile_truename): Remove pointless and confusing
12643 initialization of elen.
12645 * glyphs-widget.c: Compiler warning fixes.
12647 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
12649 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
12650 instead of a Lisp_Object as argument to make it consistent with
12651 the other LIVE_P macros.
12652 (CHECK_LIVE_PROCESS): New macro.
12654 * process.c: Declare Qprocess_live_p.
12655 (Fprocess_live_p): New function.
12656 (create_process): Use PROCESS_LIVE_P.
12657 (read_process_output): Ditto.
12658 (set_process_filter): Ditto.
12659 (Fdelete_process): Ditto.
12660 (kill_buffer_processes): Ditto
12661 (process_send_signal): Use CHECK_LIVE_PROCESS.
12662 (Fprocess_input_coding_system): Check whether process is still
12663 alive (fix PR#1061).
12664 (Fprocess_output_coding_system): Ditto.
12665 (Fprocess_coding_system): Ditto.
12666 (Fset_process_input_coding_system): Ditto.
12667 (Fset_process_output_coding_system): Ditto.
12669 2000-01-23 Andy Piper <andy@xemacs.org>
12671 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
12674 * glyphs.c (mark_image_instance): take into account changed
12675 image_instance format.
12676 (image_instance_equal): ditto.
12677 (image_instance_hash): ditto.
12679 * glyphs-widget.c (widget_instantiate): Incorporate layout
12680 instantiation here. Delay layout of the layout until later.
12681 (layout_instantiate): deleted.
12682 (layout_query_geometry): new function. get the geometry of a
12684 (layout_layout): layout a layout dynamically.
12685 (image_instantiator_widget): New function - splitting up
12686 image_instantiator_format_create_glyphs_widget for netwinder
12688 (image_instantiator_buttons):
12689 (image_instantiator_edit_fields):
12690 (image_instantiator_combo_box):
12691 (image_instantiator_scrollbar):
12692 (image_instantiator_progress_guage):
12693 (image_instantiator_tree_view):
12694 (image_instantiator_tab_control):
12695 (image_instantiator_labels):
12696 (image_instantiator_layout): ditto.
12697 (image_instantiator_format_create_glyphs_widget): Call preceding
12700 2000-01-22 Martin Buchholz <martin@xemacs.org>
12702 * process.c (Fset_process_coding_system):
12703 * device-x.c (Fx_keysym_hash_table):
12706 * lstream.c (Lstream_write): Return documented value, not 0.
12708 * fileio.c (directory_file_name):
12709 (Fsubstitute_in_file_name):
12710 (Fsubstitute_insert_file_contents_internal):
12711 (Fwrite_region_internal):
12716 Remove vestigial APOLLO-conditional code.
12718 2000-01-21 Martin Buchholz <martin@xemacs.org>
12720 * getpagesize.h: Add guard macros.
12721 * libsst.h: Add guard macros.
12722 * libst.h: Add guard macros.
12723 * line-number.h: Add guard macros.
12724 * ndir.h: Add guard macros.
12725 * sysfloat.h: Add guard macros.
12726 * sysfile.h: Add guard macros.
12727 * sysproc.h: Add guard macros.
12728 * syswait.h: Add guard macros.
12729 * xintrinsic.h: Add guard macros.
12730 * xintrinsicp.h: Add guard macros.
12731 * xmmanager.h: Add guard macros.
12732 * xmmanagerp.h: Add guard macros.
12733 * xmprimitive.h: Add guard macros.
12734 * xmu.h: Add guard macros.
12735 * gpmevent.h: Add copyright statement. Add guard macros.
12736 * miscplay.h: Add guard macros.
12737 * *.h: Use consistent C-standards-approved guard macro names.
12739 * opaque.c (make_opaque): Switch parameter order.
12740 * opaque.h (make_opaque): Switch parameter order.
12741 Update all callers.
12742 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
12744 * config.h.in (type_checking_assert): Added.
12745 (bufpos_checking_assert): Added.
12747 2000-01-21 Martin Buchholz <martin@xemacs.org>
12749 * alloc.c: Harmless pdump changes.
12751 - spell alignment correctly.
12752 * sysdep.c: Use countof()
12754 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12756 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
12757 initially_selected_for_input() console method, default to 0.
12758 (semi_canonicalize_console_connection): Try to delegate to
12759 canonicalize_console_connection if no such console method.
12760 (canonicalize_console_connection): Vice versa.
12761 (print_console): Do not print nil connection.
12763 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
12764 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
12765 (XDEVIMPF_FRAMELESS_OK): Added.
12766 (CONSOLE_INHERITS_METHOD): Added.
12768 * console-msw.c (mswindows_canonicalize_console_connection):
12770 (mswindows_canonicalize_device_connection): Added.
12772 * console-msw.h (struct msprinter_device): Added this struct and
12774 (mswindows_device): Made fontlist a lisp object.
12776 * device.c (semi_canonicalize_device_connection): Try to delegate
12777 to canonicalize_device_connection if no such console method.
12778 (canonicalize_device_connection): Vice versa.
12779 (print_device): Do not print nil connection.
12781 * device-msw.c (mswindows_init_device): Call InitCommonControls
12783 (mswindows_delete_device): Removed fontlist deallocation.
12784 (mswindows_mark_device): Added.
12786 * events.c (event_equal): Added abort() at unreached code.
12787 (event_hash): Ditto.
12789 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
12790 fallback tags of Windows devices.
12792 * general.c (syms_of_general): Initialized Qmsprinter.
12794 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
12795 of fallback tags of Windows devices.
12797 * lisp.h: Declared Qmsprinter.
12799 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
12801 (mswindows_list_fonts): Ditto.
12802 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
12803 that it can be used by both mswindows and msprinter devices.
12804 (initialize_font_instance): Added.
12805 (mswindows_initialize_font_instance): Use it.
12806 (msprinter_initialize_font_instance): Added.
12808 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
12809 and implementation flags check.
12810 (redisplay_without_hooks): Changed the call to the above.
12811 (Fredraw_device): Ditto.
12812 (Fredisplay_device): Ditto.
12814 * redisplay-msw.c (get_frame_dc): Implemented.
12815 (get_frame_compdc): Implemented.
12816 (many functions): Use the two functions above to get device
12817 contexts, ether for a window or a printer.
12819 2000-01-21 Olivier Galibert <galibert@pobox.com>
12821 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
12822 initialization here.
12823 (init_symbols_once_early): Call it.
12824 * emacs.c (main_1): Call it.
12825 * symsinit.h: Declare it.
12827 2000-01-19 Olivier Galibert <galibert@pobox.com>
12829 * alloc.c: Use a lrecord_header * in the backtrace instead of a
12831 (pdump_backtrace): Ditto.
12832 (pdump_register_object): Ditto. Cleanup use of the pointers.
12833 (pdump_get_entry): Abort if trying to register a null pointer.
12834 (pdump_dump_data): Cleanup types when relocating.
12835 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
12836 (pdump_dump_rtables): Remove bad casts.
12837 (pdump_load): Cleanup relocation w.r.t union type. Use a
12838 Lisp_Object instead of a EMACS_INT for the hashtable
12841 2000-01-20 Martin Buchholz <martin@xemacs.org>
12843 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
12845 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
12847 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
12849 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
12851 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12853 * faces.h (FACE_STRIKETHRU_P): Added.
12855 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
12858 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
12859 (mswindows_set_dc_font): New function, aware of font variants,
12860 separated from mswindows_update_dc.
12862 * objects-msw.h (struct mswindows_font_instance_data): Added
12865 * objects-msw.c (mswindows_finalize_font_instance): Delete all
12866 cached fonts and the data structure.
12867 (mswindows_initialize_font_instance): Added creation of font data
12869 (mswindows_print_font_instance): Print at least something.
12870 (mswindows_create_font_variant): Implemented.
12871 (mswindows_get_hfont): Implemented.
12873 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
12875 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
12876 prototyping problem with msvc.
12878 * emacs.c (main_1): added syms_of_gui_mswindows() call
12880 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
12881 syms_of_gui_mswindows() function
12883 * symsinit.h: added the prototype for syms_of_gui_mswindows()
12885 2000-01-18 Martin Buchholz <martin@xemacs.org>
12887 * XEmacs 21.2.27 is released.
12889 2000-01-18 Martin Buchholz <martin@xemacs.org>
12891 * glyphs-eimage.c (struct tiff_error_struct):
12893 (tiff_warning_func):
12894 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
12899 * unexec.c: Remove vestigial Lucid C code.
12903 * libsst.c: Ansify.
12904 Remove declarations of errno and strerror().
12906 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
12908 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
12910 2000-01-16 Martin Buchholz <martin@xemacs.org>
12912 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
12915 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12920 Change enum eol_type to eol_type_t.
12922 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12924 * gui.c (get_gui_callback): Check cons before accessing car.
12926 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12928 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
12929 (XSETSPECIFIER_TYPE): Ditto.
12931 2000-01-17 Didier Verna <didier@xemacs.org>
12933 * redisplay.c (generate_fstring_runes): compute string size in
12934 characters, not bytes.
12936 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12938 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
12940 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
12942 * print.c (print_error_message): Call print_prepare().
12944 2000-01-14 Martin Buchholz <martin@xemacs.org>
12946 * .dbxrc: Renamed from dbxrc.
12948 * events.c (event_to_character):
12949 Use `assert (foo)' instead of `if (!foo) abort()'
12951 * .gdbinit (xtype): Add documentation.
12952 * .gdbinit (check-temacs): New function.
12953 * .gdbinit (check-xemacs): New function.
12954 * dbxrc (check-xemacs): New function.
12955 * dbxrc (check-xemacs): New function.
12957 2000-01-14 Andy Piper <andy@xemacs.org>
12959 * glyphs-widget.c (widget_query_geometry): Make sure that we
12960 calculate default dimensions correctly.
12962 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12964 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
12966 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
12967 pdump_wire'd variable.
12969 * emacs.c: (main_1): Conditionalized calls to
12970 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
12972 2000-01-13 Martin Buchholz <martin@xemacs.org>
12974 * window.c (Fset_window_configuration):
12975 * sysdep.c (_start):
12976 * input-method-motif.c (res):
12977 * event-Xt.c (Xt_process_to_emacs_event):
12978 Simple compiler warning fixes.
12980 * bytecode.c (funcall_compiled_function): Use the original
12981 function symbol on the backtrace list in preference to the
12982 compiled_function object in error messages.
12984 2000-01-13 Andy Piper <andy@xemacs.org>
12986 * glyphs-x.c (update_widget_face): Make sure we update the widget
12987 background as well as foreground.
12989 2000-01-13 Andy Piper <andy@xemacs.org>
12991 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
12992 fields to subwindow.
12993 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
12994 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
12995 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12996 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12998 * glyphs-widget.c (check_valid_tab_orientation): new function.
12999 (initialize_widget_image_instance): zero orientation and
13001 (widget_instantiate): pick up orientation.
13002 (tab_control_query_geometry): return appropriate values for
13005 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
13006 appropriate creation flags for left, right and bottom tabs.
13008 * s/cygwin32.h: add tab definitions.
13010 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13012 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
13013 frame upon hiding a subwindow.
13014 (mswindows_button_instantiate): Changed the push button style to
13016 (mswindows_button_instantiate): Removed button BS_NOTIFY
13018 (mswindows_button_instantiate): Removed redundant check for
13019 a disabled gui item.
13020 (mswindows_button_instantiate): Made use of WS_TABSTOP
13021 consistent: "operable" controls (edit, button, tree, scroll) have
13022 this style, "display-only" ones (static, progress gauge) do
13023 not. This style is currently ignored by XEmacs though. Also,
13024 removed the WS_EX_CONTROLPARENT style - it is not for children,
13025 it is for their parents!
13026 (mswindows_edit_field_instantiate): Ditto.
13027 (mswindows_progress_gauge_instantiate): Ditto.
13028 (mswindows_tree_view_instantiate): Ditto.
13029 (mswindows_tab_control_instantiate): Ditto.
13030 (mswindows_scrollbar_instantiate): Ditto.
13031 (mswindows_combo_box_instantiate): Ditto.
13032 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
13033 style to the "clip" window.
13034 (mswindows_button_instantiate): Removed compilation warning by
13035 equally typing terms of the ?: operator.
13037 2000-01-12 Didier Verna <didier@xemacs.org>
13039 * redisplay.c (generate_fstring_runes): new parameter holding the
13040 last modeline-format extent.
13041 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
13042 extent, fill the glyph block with it.
13043 (generate_fstring_runes): handle these parameters.
13044 (generate_formatted_string_db): ditto.
13046 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
13047 glyphs'extents in the modeline.
13049 1999-01-11 Mike Woolley <mike@bulsara.com>
13051 * ntheap.c: Reduced the reserved heap space from 1Gb down to
13052 256Mb, as a workaround for the non-starting problem many people
13055 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13057 * console-tty.c (Fset_console_tty_output_coding_system):
13058 Force redrawing tty frame.
13060 2000-01-10 Didier Verna <didier@xemacs.org>
13062 * redisplay.c (generate_fstring_runes): fix size computation bug.
13064 2000-01-09 William M. Perry <wmperry@aventail.com>
13066 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
13068 2000-01-09 Andy Piper <andy@xemacs.org>
13070 * glyphs-msw.c: index -> i to avoid shadows.
13071 (xbm_create_bitmap_from_data): make static.
13072 (check_valid_string_or_int): deleted.
13073 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
13075 * glyphs-x.c (x_update_subwindow): remove unused args.
13077 * glyphs.c (glyph_image_instance): return the thing. Don't set the
13078 back pointer - this is done in allocate_image_instance.
13079 (query_string_font): return Qnil to make the compiler happy.
13080 (unmap_subwindow): set to ~0 to make the compiler happy.
13081 (glyph_query_geometry): comment out until used.
13082 (glyph_layout): ditto.
13084 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
13086 * insdel.c (signal_after_change): Remove extraneous unbind_to().