1 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
3 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
5 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
6 of `japanese-jisx0208'.
7 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
10 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
12 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
13 `Qjapanese_jisx0208_1978'.
14 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
15 of `japanese-jisx0208-1978'.
16 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
19 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
21 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
22 only for XEmacs CHISE.
24 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
26 * char-ucs.h: Compact non-ISO-IR charset-ids.
27 (LEADING_BYTE_UCS): Changed to -177.
28 (LEADING_BYTE_CONTROL_1): Changed to -77.
29 (LEADING_BYTE_UCS_BMP): Changed to -176.
30 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
32 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
34 * mule-charset.c (Qiso_ir): New variable.
35 (Fmake_charset): Recognise new property `iso-ir'.
36 (syms_of_mule_charset): Add new symbol `iso-ir'.
38 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
40 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
41 n to -n; charset-id of non ISO-IR sets are changed to positive
44 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
46 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
48 (Qmap_ucs): New variable.
49 (syms_of_mule_charset): Add new symbol `=ucs'.
50 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
52 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
54 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
56 * char-ucs.h (Qmap_ucs): New extern variable.
58 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
60 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
61 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
62 don't define it when UTF2000 is not defined.
63 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
64 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
65 when UTF2000 is not defined.
66 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
67 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
69 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
71 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
73 * mule-charset.c (Vcharset_ucs_gb): Deleted.
75 (syms_of_mule_charset): Delete `ucs-gb'.
76 (complex_vars_of_mule_charset): Likewise.
78 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
80 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
82 * mule-charset.c (Vcharset_ucs_cns): Deleted.
84 (syms_of_mule_charset): Delete `ucs-cns'.
85 (complex_vars_of_mule_charset): Likewise.
87 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
89 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
91 * mule-charset.c (Vcharset_ucs_jis): Deleted.
93 (syms_of_mule_charset): Delete `ucs-jis'.
94 (complex_vars_of_mule_charset): Likewise.
96 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
98 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
100 * mule-charset.c (Vcharset_ucs_ks): Deleted.
102 (syms_of_mule_charset): Delete `ucs-ks'.
103 (complex_vars_of_mule_charset): Likewise.
105 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
107 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
108 (Qideograph_daikanwa_2): Deleted.
109 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
110 (complex_vars_of_mule_charset): Likewise.
112 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
113 (LEADING_BYTE_DAIKANWA_1): Deleted.
114 (LEADING_BYTE_DAIKANWA_2): Deleted.
115 (MIN_CHAR_DAIKANWA): Deleted.
116 (MAX_CHAR_DAIKANWA): Deleted.
118 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
120 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
121 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
122 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
124 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
125 (Vcharset_ideograph_daikanwa): Deleted.
126 (Qideograph_hanziku_{1..12}): Deleted.
127 (Qideograph_daikanwa): Deleted.
128 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
129 Vcharset_ideograph_daikanwa.
130 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
131 `ideograph-hanziku-{1..12}'.
132 (complex_vars_of_mule_charset): Likewise.
134 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
136 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
138 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
139 (Qideograph_gt_pj_{1..11}): Deleted.
140 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
141 (complex_vars_of_mule_charset): Likewise.
143 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
145 * mule-charset.c (Vcharset_ucs_big5): Deleted.
146 (Vcharset_ideograph_gt): Deleted.
147 (Qucs_big5): Deleted.
148 (Qideograph_gt): Deleted.
149 (syms_of_mule_charset): Delete symbol `ucs-big5' and
151 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
154 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
155 (LEADING_BYTE_GT): Deleted.
156 (GC_CHARSETP): Deleted.
157 (MIN_CHAR_GT): Deleted.
158 (MAX_CHAR_GT): Deleted.
160 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
162 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
164 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
166 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
167 (Qideograph_cbeta): Deleted.
168 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
169 (complex_vars_of_mule_charset): Likewise.
171 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
172 (MIN_CHAR_CBETA): Comment out.
173 (MAX_CHAR_CBETA): Likewise.
175 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
177 * mule-charset.c (charset_lookup_description_1): Use
178 `NUM_LEADING_BYTES' in UTF-2000.
180 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
182 * mule-charset.c (Vcharset_china3_jef): Deleted.
183 (Qchina3_jef): Deleted.
184 (syms_of_mule_charset): Don't define `china3-jef'.
185 (complex_vars_of_mule_charset): Likewise.
187 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
188 (MIN_CHAR_CHINA3_JEF): Comment out.
189 (MAX_CHAR_CHINA3_JEF): Comment out.
191 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
193 * mule-charset.c (Vcharset_ucs_gb): New variable.
194 (Qucs_gb): New variable.
195 (syms_of_mule_charset): Add new symbol `ucs-gb'.
196 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
198 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
200 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
202 * mule-charset.c (charset_code_point): if a coded-charset has a
203 final-byte, don't inherit the builtin range of the mother CCS.
205 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
207 * mule-charset.c (charset_code_point): Fix problem about
210 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
212 * mule-charset.c (decode_builtin_char): Reorganized.
214 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
216 * text-coding.c (char_encode_shift_jis): Modify for
217 `charset_code_point'.
218 (char_encode_big5): Likewise.
219 (char_encode_utf8): Likewise.
220 (char_encode_iso2022): Likewise.
222 * mule-charset.c (charset_code_point): Add new argument
224 (Fencode_char): Add new optional argument `defined_only'.
226 * chartab.c (put_char_table): Modify for `charset_code_point'.
227 (map_char_table): Likewise.
229 * char-ucs.h (charset_code_point): Add new argument
231 (encode_char_1): Modify for `charset_code_point'.
233 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
235 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
236 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
238 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
240 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
241 (Qjis_x0208): Likewise.
242 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
243 XCHARSET_FINAL(charset).
244 (charset_code_point): Modify condition for final-byte based
246 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
247 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
248 in UTF-2000; specify `=jis-x0208' as the mother of
249 `japanese-jisx0208-1978', `japanese-jisx0208' and
250 `japanese-jisx0208-1990' in UTF-2000.
252 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
254 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
256 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
258 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
259 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
260 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
261 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
262 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
263 CONVERSION_96x96x96x96 are introduced.
264 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
265 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
266 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
268 * char-ucs.h (CONVERSION_94): New macro.
269 (CONVERSION_96): New macro.
270 (CONVERSION_94x94): New macro.
271 (CONVERSION_96x96): New macro.
272 (CONVERSION_94x94x94): New macro.
273 (CONVERSION_96x96x96): New macro.
274 (CONVERSION_94x94x94x60): New macro.
275 (CONVERSION_94x94x94x94): New macro.
276 (CONVERSION_96x96x96x96): New macro.
278 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
280 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
282 * fns.c (Qideographic_structure): New variable.
283 (Qkeyword_char): New variable.
284 (ids_format_unit): New function.
285 (Fideographic_structure_to_ids): New function.
286 (syms_of_fns): Add new symbols `ideographic-structure' and
287 `:char'; add new builtin function `ideographic-structure-to-ids'.
289 * data.c (Fchar_ref_p): New function.
290 (syms_of_data): Add new builtin function `char-ref-p'.
292 * chartab.h: Add an EXFUN for `Ffind_char'.
294 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
296 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
297 and `COMPOSE_ADD_CHAR'.
298 (decode_coding_iso2022): Use `decode_flush_er_chars'.
300 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
302 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
303 instead of `DECODE_ADD_UCS_CHAR'.
304 (COMPOSE_ADD_CHAR): Likewise.
306 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
308 * text-coding.c (decode_flush_er_chars): New inline function.
309 (decode_add_er_char): New function.
310 (decode_coding_utf8): Use `decode_flush_er_chars' and
311 `decode_add_er_char'.
313 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
315 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
316 done before `decode_output_utf8_partial_char'.
318 * mule-charset.c (complex_vars_of_mule_charset): Specify
319 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
320 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
322 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
324 * mule-charset.c (decode_defined_char): New function; search
326 (decode_builtin_char): Don't search mother if
327 XCHARSET_MAX_CODE(charset) == 0.
328 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
329 == 0 even if code >= XCHARSET_MAX_CODE(charset).
330 (Fdecode_char): Use `decode_defined_char' instead of
331 `DECODE_DEFINED_CHAR'.
332 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
333 mother of `Vcharset_ucs_jis'.
335 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
336 instead of `DECODE_DEFINED_CHAR'.
338 * char-ucs.h (decode_defined_char): Renamed from
339 `DECODE_DEFINED_CHAR'; changed to normal function.
340 (DECODE_CHAR): Use `decode_defined_char' instead of
341 `DECODE_DEFINED_CHAR'.
343 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
345 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
347 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
349 * text-coding.c (Vcoded_charset_entity_reference_alist): New
351 (Quse_entity_reference): New variable.
355 (coding_system_description): Add description for
357 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
358 (allocate_coding_system): Initialize `ccs_priority_list' in
360 (Fmake_coding_system): Add description about
361 'use-entity-reference; setup
362 CODING_SYSTEM_USE_ENTITY_REFERENCE(codesys).
363 (Fcoding_system_property): Accept `disable-composition' and
364 `use-entity-reference' in UTF-2000.
365 (struct decoding_stream): Add new member `er_counter' and `er_buf'
367 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
368 (decode_coding_utf8): Decode entity-reference if
369 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
370 (char_encode_utf8): Encode non-Unicode characters as
371 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
373 (syms_of_file_coding): Add new symbols `use-entity-reference',
375 (vars_of_file_coding): Add new variable
376 `coded-charset-entity-reference-alist'.
377 (complex_vars_of_file_coding): Declare `disable-composition' and
378 `use-entity-reference' to be coding-system-properties in UTF-2000.
380 * file-coding.h (struct Lisp_Coding_System): Add new member
381 `use_entity_reference' and `ccs_priority_list'.
382 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
383 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
384 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
386 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
388 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
390 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
392 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
393 `XCHARSET_GRAPHIC(ccs)'.
395 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
397 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
400 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
402 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
403 instead of `XCHARSET_CHARS'.
405 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
407 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
408 (XCHARSET_BYTE_SIZE): Likewise.
410 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
412 (XCHARSET_BYTE_SIZE): Likewise.
414 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
416 * char-ucs.h (decoding_table_check_elements): Delete prototype.
417 (get_ccs_octet_table): New inline function.
418 (put_ccs_octet_table): Likewise.
419 (decoding_table_put_char): Use `get_ccs_octet_table' and
420 `put_ccs_octet_table'.
421 (decoding_table_remove_char): Use `decoding_table_put_char'.
422 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
424 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
426 (make_charset): Use Qunbound instead Qnil as initial value of
429 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
431 * mule-charset.c (put_char_ccs_code_point): Modify for
432 `decoding_table_remove_char' and `decoding_table_put_char'.
433 (remove_char_ccs): Modify for `decoding_table_remove_char'.
435 * char-ucs.h (decoding_table_remove_char): Change arguments to
436 hide decoding_table vector.
437 (decoding_table_put_char): Likewise.
439 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
441 * mule-charset.c (decoding_table_remove_char): Moved to
443 (decoding_table_put_char): Likewise.
445 * char-ucs.h (decoding_table_check_elements): New prototype [moved
446 from mule-charset.c].
447 (decoding_table_remove_char): New inline function [moved from
449 (decoding_table_put_char): Likewise.
451 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
453 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
454 instead of `DECODE_CHAR' for mother; don't use special code for
455 chinese-big5 to use code space of chinese-big5-1 and
457 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
458 `MAX_CHAR_BIG5_CDP' for chinese-big5.
460 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
461 (MAX_CHAR_BIG5_CDP): Revival.
463 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
465 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
466 the XLFD registry-encoding name of `chinese-big5'.
468 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
470 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
471 (Qchinese_big5_cdp): Deleted.
472 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
473 (complex_vars_of_mule_charset): Delete coded-charset
476 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
477 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
478 `CHARSET_ID_OFFSET - n' for private CCS.
479 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
480 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
481 of `MIN_LEADING_BYTE'.
482 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
483 `(CHARSET_ID_OFFSET - 97)'.
484 (MIN_CHAR_BIG5_CDP): Deleted.
485 (MAX_CHAR_BIG5_CDP): Deleted.
487 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
489 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
492 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
494 * mule-charset.c (decode_builtin_char): Support mother charsets.
496 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
498 * mule-charset.c (Q94x94x60): New variable.
499 (charset_code_point): Support conversion `94x94x60'.
500 (Fmake_charset): Likewise.
501 (syms_of_mule_charset): Add new symbol `94x94x60'.
503 * char-ucs.h (CONVERSION_94x94x60): New macro.
505 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
507 * mule-charset.c (charset_code_point): Unify code about
510 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
512 * mule-charset.c (charset_code_point): Merge code about builtin
513 characters into code about mother charsets; don't use
514 `range_charset_code_point'.
515 (range_charset_code_point): Deleted.
517 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
519 * mule-charset.c (Qcode_offset): New variable.
520 (Fmake_charset): Use `XUINT' to get value of `min-code' and
521 `max-code'; accept new property `code-offset'.
522 (syms_of_mule_charset): Add new symbol `code-offset'.
524 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
526 * mule-charset.c (range_charset_code_point): Fixed.
528 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
530 * mule-charset.c (decode_builtin_char): Change semantics of
531 code-offset of coded-charset.
532 (charset_code_point): Likewise.
533 (range_charset_code_point): Likewise.
534 (complex_vars_of_mule_charset): Modify for the change.
536 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
538 * mule-charset.c (Fencode_char): Reverse arguments.
540 * mule-charset.c (charset_code_point): Fixed.
542 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
544 * mule-charset.c (Vcharset_mojikyo): Deleted.
545 (Vcharset_mojikyo_2022_1): Deleted.
546 (Vcharset_mojikyo_pj_{1..21}): Deleted.
547 (Qmin_code): New variable in UTF-2000.
548 (Qmax_code): Likewise.
550 (Qconversion): Likewise.
553 (Qmojikyo_2022_1): Deleted.
554 (Qmojikyo_pj_{1..22}): Deleted.
555 (mark_charset): Mark `cs->mother'.
556 (charset_description): Add description for `mother'.
557 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
558 new arguments `mother' and `conversion'; use
559 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
560 (charset_code_point): Moved from char-ucs.h; support `mother'
562 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
563 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
564 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
565 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
566 allow 2 as the value of `graphic' in UTF-2000; add new properties
567 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
568 require `final' in UTF-2000; modify for `make_charset'.
569 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
570 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
571 (Fcharset_property): Support `mother', `min-code' and `max-code'.
572 (Fencode_char): New function.
573 (syms_of_mule_charset): Add new builtin function `encode-char' in
574 UTF-2000; add new symbols `min-code', `max-code', `mother',
575 `conversion' and `94x60'; delete symbols `mojikyo',
576 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
577 (complex_vars_of_mule_charset): Modify for `make_charset' change;
578 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
579 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
581 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
582 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
584 * char-ucs.h (Vcharset_mojikyo): Deleted.
585 (Vcharset_mojikyo_2022_1): Deleted.
586 (LEADING_BYTE_MOJIKYO): Deleted.
587 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
588 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
589 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
590 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
591 add new member `mother'; add new member `conversion'.
592 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
593 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
594 (CHARSET_MOTHER): New macro.
595 (CHARSET_CONVERSION): New macro.
596 (CONVERSION_IDENTICAL): New macro.
597 (CONVERSION_94x60): New macro.
598 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
599 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
600 (XCHARSET_MOTHER): New macro.
601 (XCHARSET_CONVERSION): New macro.
602 (MIN_CHAR_MOJIKYO): Deleted.
603 (MAX_CHAR_MOJIKYO): Deleted.
604 (DECODE_MOJIKYO_2022): Deleted.
605 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
606 (charset_code_point): Changed to non-inline function.
607 (encode_char_1): Use `charset_code_point'.
608 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
610 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
612 * lread.c (read_compiled_function): Fix prototype.
613 (read_vector): Likewise.
615 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
617 * lrecord.h (struct lrecord_header): Delete `older'.
618 (set_lheader_implementation): Delete code for `older'.
619 (set_lheader_older_implementation): Deleted.
620 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
621 (OLDER_RECORD_P): Deleted.
622 (OLDER_RECORD_HEADER_P): Deleted.
623 (alloc_older_lcrecord): Deleted.
624 (alloc_older_lcrecord_type): Deleted.
626 * alloc.c (all_older_lcrecords): Deleted.
627 (alloc_older_lcrecord): Deleted.
628 (disksave_object_finalization_1): Delete code for older objects.
629 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
630 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
632 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
634 * mule-charset.c (decoding_table_put_char): Use `make_vector'
635 instead of `make_older_vector'.
636 (put_char_ccs_code_point): Likewise.
637 (mark_charset): Mark `cs->decoding_table'.
638 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
640 * lisp.h (make_older_vector): Deleted.
641 (make_vector_newer): Deleted.
643 * config.h.in (HAVE_GGC): Deleted.
645 * alloc.c (make_older_vector): Deleted.
646 (make_vector_newer_1): Deleted.
647 (make_vector_newer): Deleted.
649 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
651 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
652 (Qideograph_daikanwa_2): New variable.
653 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
654 (complex_vars_of_mule_charset): Add new coded-charset
655 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
656 `LEADING_BYTE_DAIKANWA'.
658 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
659 (LEADING_BYTE_DAIKANWA_1): New macro.
660 (LEADING_BYTE_DAIKANWA_2): New macro.
661 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
663 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
665 * mule-charset.c (complex_vars_of_mule_charset): Change
666 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
667 the second revised version.
669 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
671 * mule-charset.c (Vcharset_ucs_smp): New variable.
672 (Vcharset_ucs_sip): New variable.
673 (Qucs_smp): New variable.
674 (Qucs_sip): New variable.
675 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
676 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
677 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
678 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
679 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
680 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
682 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
683 (LEADING_BYTE_UCS_SIP): New macro.
684 (MIN_CHAR_SMP): New macro.
685 (MAX_CHAR_SMP): New macro.
686 (MIN_CHAR_SIP): New macro.
687 (MAX_CHAR_SIP): New macro.
689 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
691 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
694 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
696 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
697 value; don't store value into `encoding_table' of `Lisp_Charset'.
698 (mark_charset): `encoding_table' was deleted.
699 (charset_description): Likewise.
700 (make_charset): Likewise.
701 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
702 `put_char_ccs_code_point'.
704 * chartab.h (Fput_char_attribute): New EXFUN.
706 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
707 is unified with normal symbol space.
708 (Fget_char_attribute): Likewise.
709 (Fput_char_attribute): Likewise; behavior of
710 `put_char_ccs_code_point' is changed.
712 * char-ucs.h: Include "elhash.h".
713 (Vchar_attribute_hash_table): New external variable.
714 (struct Lisp_Charset): Delete `encoding_table'.
715 (CHARSET_ENCODING_TABLE): New implementation; refer
716 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
719 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
721 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
724 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
726 * text-coding.c (char_encode_big5): Prefer charset-g1 than
729 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
731 * chartab.c (uint8_byte_table_description): New constant.
732 (uint8-byte-table): Use `uint8_byte_table_description'.
733 (uint16_byte_table_description): New constant.
734 (uint16-byte-table): Use `uint16_byte_table_description'.
736 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
738 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
739 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
741 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
743 * mule-charset.c (Vcharset_ucs_ks): New variable.
744 (Qucs_ks): New variable.
745 (syms_of_mule_charset): Add new symbol `ucs-ks'.
746 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
748 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
750 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
752 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
753 (Fdecode_char): Likewise.
755 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
757 (Fdefine_char): Modify for Fdecode_char.
758 (Ffind_char): Likewise.
760 * mule-charset.c (Fdecode_char): Add new optional argument
762 (Fdecode_builtin_char): Modify for `Fdecode_char'.
764 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
766 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
767 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
768 (allocate_coding_system): Initialize initial-charsets of
769 CODESYS_BIG5 in XEmacs UTF-2000.
770 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
771 CODESYS_BIG5 in XEmacs UTF-2000.
772 (decode_coding_big5): Use initial-charset-g0 and -g1 of
773 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
775 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
777 (Qideograph_hanziku_{1 .. 12}): Likewise.
778 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
780 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
781 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
782 `ideograph-hanziku-{1 .. 12}'.
784 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
785 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
786 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
787 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
788 (DECODE_DEFINED_CHAR): New inline function.
789 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
791 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
793 * mule-charset.c (Vcharset_china3_jef): Renamed from
794 `Vcharset_japanese_jef_china3'.
795 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
796 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
797 `{MIN|MAX}_CHAR_JEF_CHINA3'..
798 (syms_of_mule_charset): Rename `china3-jef' from
799 `japanese-jef-china3'.
800 (complex_vars_of_mule_charset): Likewise; rename
801 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
803 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
804 `LEADING_BYTE_JEF_CHINA3'.
805 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
806 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
808 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
810 * mule-charset.c (encode_builtin_char_1): Comment out special code
811 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
813 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
814 (MAX_CHAR_MOJIKYO_0): Comment out.
815 (MIN_CHAR_CBETA): Changed to 0x00E20000.
816 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
817 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
818 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
820 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
822 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
823 (Qideograph_cbeta): New variable.
824 (encode_builtin_char_1): Comment out special code for
825 coded-charset `mojikyo' and `japanese-jef-china3'.
826 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
827 (complex_vars_of_mule_charset): Add new coded-charset
830 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
831 (MIN_CHAR_CBETA): New macro.
832 (MAX_CHAR_CBETA): New macro.
834 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
836 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
837 (LEADING_BYTE_JEF_CHINA3): New macro.
838 (MIN_CHAR_JEF_CHINA3): New macro.
839 (MAX_CHAR_JEF_CHINA3): Likewise.
840 (DECODE_CHAR): Fixed.
842 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
844 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
845 (Qjapanese_jef_china3): New variable.
846 (encode_builtin_char_1): Support `japanese-jef-china3'.
847 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
848 (complex_vars_of_mule_charset): Add new coded-charset
849 `japanese-jef-china3'.
851 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
853 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
854 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
855 94^4, 96^3, 96^4, 128^n and 256^n set.
856 (put_char_table): Use `XCHARSET_CELL_RANGE'.
857 (map_char_table): Likewise.
859 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
861 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
864 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
866 * chartab.h (get_char_id_table): New inline function.
868 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
871 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
873 * chartab.h (decode_char_table_range): New prototype in XEmacs
875 (put_char_id_table): New inline function in XEmacs UTF-2000.
877 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
879 (decode_char_table_range): Delete static declaration in XEmacs
882 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
884 * chartab.c (put_char_id_table): Use `put_char_table'.
886 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
888 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
889 (map_over_uint16_byte_table): Likewise.
890 (map_over_byte_table): Likewise.
891 (map_char_table): Modify for `map_over_uint8_byte_table',
892 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
895 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
897 * chartab.c (struct map_char_table_for_charset_arg): New
899 (map_char_table_for_charset_fun): New function.
900 (map_char_table): Use `map_char_table' for encoding_table of
903 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
905 * chartab.c (map_char_table): Check a character is found in
906 range->charset instead of non default value is defined in
907 char-table when range is CHARTAB_RANGE_ROW.
909 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
911 * chartab.c (map_char_id_table): Deleted.
912 (Fmap_char_attribute): Use `map_char_table' instead of
915 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
917 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
919 (update_syntax_table): Deleted in XEmacs UTF-2000.
921 * syntax.c (find_defun_start): Use `syntax_table' instead of
922 `mirror_syntax_table' in XEmacs UTF-2000.
923 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
925 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
927 (Fmatching_paren): Likewise.
928 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
930 (find_start_of_comment): Likewise.
931 (find_end_of_comment): Likewise.
932 (Fforward_comment): Likewise.
933 (scan_lists): Likewise.
934 (char_quoted): Likewise.
935 (Fbackward_prefix_chars): Likewise.
936 (scan_sexps_forward): Likewise.
937 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
938 (update_syntax_table): Likewise.
940 * search.c (skip_chars): Use `syntax_table' instead of
941 `mirror_syntax_table' in XEmacs UTF-2000.
943 (Freplace_match): Likewise.
945 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
946 `mirror_syntax_table' in XEmacs UTF-2000.
947 (WORDCHAR_P_UNSAFE): Likewise.
948 (re_match_2_internal): Likewise.
950 * font-lock.c (find_context): Use `buf->syntax_table' instead of
951 `buf->mirror_syntax_table' in XEmacs UTF-2000.
953 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
954 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
956 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
959 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
961 (print_char_table): Print `default_value' in XEmacs UTF-2000.
962 (char_table_description): Delete `mirror_table' in XEmacs
964 (fill_char_table): Don't call `update_syntax_table' in XEmacs
966 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
967 (Fcopy_char_table): Likewise.
968 (put_char_table): Don't call `update_syntax_table' in XEmacs
971 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
972 `buf->mirror_syntax_table' in XEmacs UTF-2000.
973 (casify_region_internal): Likewise.
975 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
977 * buffer.c (common_init_complex_vars_of_buffer): Don't use
978 `mirror_syntax_table' in XEmacs UTF-2000.
980 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
981 `buf->mirror_syntax_table' in XEmacs UTF-2000.
982 (Fexpand_abbrev): Likewise.
984 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
986 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
988 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
990 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
991 (map_over_uint16_byte_table): Likewise.
992 (map_over_byte_table): Likewise.
993 (get_char_id_table): Refer `cit->default_value'.
994 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
995 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
996 of character-id ranges.
997 (mark_char_table): Mark `ct->default_value'.
998 (char_table_description): Add `default_value'.
999 (fill_char_table): Use `default_value'.
1000 (decode_char_table_range): Decode `nil' as
1001 `CHARTAB_RANGE_DEFAULT'.
1002 (get_char_id_table): Refer `cit->default_value'.
1003 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1004 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
1005 temporary hack; check value of char-table is bound or not.
1006 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
1008 * chartab.h (struct Lisp_Char_Table): Add new member
1009 `default_value' in XEmacs UTF-2000.
1010 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
1011 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
1014 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1016 * chartab.h (Lisp_Char_ID_Table): Deleted.
1018 * chartab.c (char_table_description): Fix typo.
1019 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
1020 `Lisp_Char_ID_Table'.
1022 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1024 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
1027 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
1030 * chartab.h (XCHAR_ID_TABLE): Deleted.
1031 (XSETCHAR_ID_TABLE): Deleted.
1032 (CHAR_ID_TABLE_P): Deleted.
1034 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
1036 (Fget_composite_char): Likewise.
1037 (put_char_table): Likewise.
1038 (add_char_attribute_alist_mapper): Fixed.
1039 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
1041 (Fget_char_attribute): Likewise.
1042 (Fget_char_attribute): Likewise.
1043 (Fmap_char_attribute): Likewise.
1045 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
1047 (encode_char_1): Likewise.
1049 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1051 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
1054 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
1055 instead of `XCHAR_ID_TABLE'.
1056 (remove_char_ccs): Likewise.
1058 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
1060 (Fget_composite_char): Likewise.
1061 (Fchar_variants): Likewise.
1062 (put_char_table): Likewise.
1063 (add_char_attribute_alist_mapper): Likewise.
1064 (Fchar_attribute_alist): Likewise.
1065 (Fget_char_attribute): Likewise.
1066 (Fput_char_attribute): Likewise.
1067 (Fmap_char_attribute): Likewise.
1068 (Fmap_char_attribute): Likewise.
1070 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
1072 (encode_char_1): Likewise.
1074 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1076 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
1077 `Lisp_Char_ID_Table'.
1078 (mark_char_id_table): Deleted.
1079 (print_char_id_table): Likewise.
1080 (char_id_table_equal): Likewise.
1081 (char_id_table_hash): Likewise.
1082 (char_id_table_description): Likewise.
1083 (char_id_table): Likewise.
1084 (make_char_id_table): Use `Fmake_char_table' and
1086 (get_char_id_table): Use `Lisp_Char_Table' instead of
1087 `Lisp_Char_ID_Table'.
1088 (put_char_id_table): Likewise.
1089 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
1091 (Fremove_char_attribute): Likewise.
1092 (syms_of_chartab): Don't define type `char-id-table'.
1094 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
1095 (char_id_table): Likewise.
1096 (GC_CHAR_ID_TABLE_P): Likewise.
1097 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
1098 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
1099 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
1100 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
1101 (get_char_id_table): Use `Lisp_Char_Table' instead of
1102 `Lisp_Char_ID_Table'.
1103 (put_char_id_table_0): Likewise.
1104 (put_char_id_table): Likewise.
1106 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1108 * chartab.h: Lisp_Byte_Table related codes are moved from
1111 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
1113 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1115 * chartab.h: Don't include "chartab.h".
1116 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
1117 (Lisp_Char_ID_Table): Likewise.
1118 (char_id_table): Likewise.
1119 (XCHAR_ID_TABLE): Likewise.
1120 (XSETCHAR_ID_TABLE): Likewise.
1121 (CHAR_ID_TABLE_P): Likewise.
1122 (GC_CHAR_ID_TABLE_P): Likewise.
1123 (get_char_id_table): Likewise.
1125 * char-ucs.h: Include "chartab.h".
1126 (struct Lisp_Char_ID_Table): Moved to chartab.h.
1127 (Lisp_Char_ID_Table): Likewise.
1128 (char_id_table): Likewise.
1129 (XCHAR_ID_TABLE): Likewise.
1130 (XSETCHAR_ID_TABLE): Likewise.
1131 (CHAR_ID_TABLE_P): Likewise.
1132 (GC_CHAR_ID_TABLE_P): Likewise.
1133 (get_char_id_table): Likewise.
1135 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1137 * chartab.c (copy_uint8_byte_table): New function.
1138 (copy_uint16_byte_table): New function.
1139 (copy_byte_table): New function.
1140 (map_over_uint8_byte_table): Modify to avoid huge numbers of
1142 (map_over_uint16_byte_table): Likewise.
1143 (map_over_byte_table): Likewise.
1144 (get_byte_table): Move prototype to chartab.h.
1145 (put_byte_table): Likewise.
1146 (put_char_id_table_0): Moved to chartab.h.
1147 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
1148 (char_table_entry_equal): Likewise.
1149 (char_table_entry_hash): Likewise.
1150 (char_table_entry_description): Likewise.
1151 (char_table_entry): Likewise.
1152 (make_char_table_entry): Likewise.
1153 (copy_char_table_entry): Likewise.
1154 (get_non_ascii_char_table_value): Likewise.
1155 (map_over_charset_ascii): Likewise.
1156 (map_over_charset_control_1): Likewise.
1157 (map_over_charset_row): Likewise.
1158 (map_over_other_charset): Likewise.
1159 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
1160 (print_char_table): Likewise.
1161 (char_table_equal): Likewise.
1162 (char_table_hash): Likewise.
1163 (char_table_description): Likewise.
1164 (fill_char_table): Likewise.
1165 (Fcopy_char_table): Likewise.
1166 (get_char_table): Likewise.
1167 (Fget_range_char_table): Likewise.
1168 (put_char_table): Likewise.
1169 (map_char_table): Likewise.
1170 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
1173 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1175 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
1176 `Vauto_fill_chars' in XEmacs UTF-2000.
1178 * chartab.h (get_byte_table): New prototype [moved from
1180 (put_byte_table): Likewise [moved from chartab.c].
1181 (put_char_id_table_0): New inline function [moved from chartab.c].
1182 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
1183 (Lisp_Char_Table_Entry): Likewise.
1184 (char_table_entry): Likewise.
1185 (XCHAR_TABLE_ENTRY): Likewise.
1186 (XSETCHAR_TABLE_ENTRY): Likewise.
1187 (CHAR_TABLE_ENTRYP): Likewise.
1188 (CHECK_CHAR_TABLE_ENTRY): Likewise.
1189 (NUM_ASCII_CHARS): Likewise.
1190 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
1191 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
1193 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1195 * chartab.c (get_char_id_table): Change interface.
1196 (put_char_id_table_0): New function.
1197 (put_char_id_table): Change interface; new implementation.
1198 (Fget_composite_char): Modify for interface change of
1199 `get_char_id_table'.
1200 (Fchar_variants): Likewise.
1201 (add_char_attribute_alist_mapper): Likewise.
1202 (Fchar_attribute_alist): Likewise.
1203 (Fget_char_attribute): Likewise.
1204 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
1205 as same as character as the first argument like `put-char-table';
1206 modify for interface change of `put_char_id_table'.
1207 (Fremove_char_attribute): Modify for interface change of
1208 `put_char_id_table'.
1210 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1212 * text-coding.c: Sync up with XEmacs 21.2.41.
1213 (COMPOSE_ADD_CHAR): Modify for interface change of
1214 `get_char_id_table'.
1216 * mule-charset.c (put_char_ccs_code_point): Modify for interface
1217 change of `put_char_id_table'.
1218 (remove_char_ccs): Likewise.
1220 * chartab.h (put_char_id_table): Change interface.
1222 * char-ucs.h (get_char_id_table): Change interface.
1223 (charset_code_point): Modify for interface change of
1224 `get_char_id_table'.
1225 (encode_char_1): Likewise.
1227 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1229 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
1231 (map_over_uint16_byte_table): Likewise.
1232 (map_over_byte_table): Likewise.
1233 (map_char_id_table): Add new argument `range' like
1235 (Fmap_char_attribute): Add new argument `range' like
1238 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1240 * chartab.c (map_over_uint8_byte_table): Change interface of
1241 mapping function to use struct chartab_range instead of Emchar.
1242 (map_over_uint16_byte_table): Likewise.
1243 (map_over_byte_table): Likewise.
1244 (map_char_id_table): Likewise.
1245 (struct slow_map_char_id_table_arg): Deleted.
1246 (slow_map_char_id_table_fun): Deleted.
1247 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1248 function `slow_map_char_table_fun' instead of struct
1249 `slow_map_char_id_table_arg' and function
1250 `slow_map_char_id_table_fun'.
1252 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1254 * mule-charset.c: Move char-it-table related codes to chartab.c.
1255 (Vutf_2000_version): Moved to chartab.c.
1256 (Fdefine_char): Likewise.
1257 (Ffind_char): Likewise.
1258 (syms_of_mule_charset): Move types `uint8-byte-table',
1259 `uint16-byte-table', `byte-table' and `char-id-table' to
1260 chartab.c; move functions `char_attribute_list,
1261 `find_char_attribute_table, `char_attribute_alist,
1262 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1263 `map_char_attribute, `define_char, `find_char, `char_variants and
1264 `get_composite_char to chartab.c; move symbols `=>ucs',
1265 `->decomposition', `compat', `isolated', `initial', `medial',
1266 `final', `vertical', `noBreak', `fraction', `super', `sub',
1267 `circle', `square', `wide', `narrow', `small' and `font' to
1269 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1270 setting codes for `Vcharacter_composition_table' and
1271 `Vcharacter_variant_table' to chartab.c.
1272 (complex_vars_of_mule_charset): Move setting code for
1273 `Vchar_attribute_hash_table' to chartab.c.
1275 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1276 (make_char_id_table): New prototype.
1277 (put_char_id_table): Likewise.
1278 (Fget_char_attribute): Likewise.
1280 * chartab.c: Move char-id-table related code from mule-charset.c.
1281 (Vutf_2000_version): Moved from mule-charset.c.
1283 * char-ucs.h (Qucs): New external variable.
1284 (put_char_ccs_code_point): New prototype.
1285 (remove_char_ccs): Likewise.
1287 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1289 * mule-charset.c (Vcharset_ucs_jis): New variable.
1290 (Qucs_jis): Likewise.
1291 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1292 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1294 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1296 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1298 * mule-charset.c (map_over_uint8_byte_table): New function.
1299 (map_over_uint16_byte_table): Likewise.
1300 (map_over_byte_table): Likewise.
1301 (map_char_id_table): Likewise.
1302 (slow_map_char_id_table_fun): Likewise.
1303 (Fmap_char_attribute): Likewise.
1304 (syms_of_mule_charset): Add new function `map-char-attribute'.
1306 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1308 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1309 (syms_of_mule_charset): Add new function `find-char'.
1311 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1313 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1315 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1316 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1318 (complex_vars_of_mule_charset): Add new coded-charset
1319 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1320 `ideograph-gt-pj-*'.
1322 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1324 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1326 * mule-charset.c (encode_builtin_char_1): Purge codes about
1327 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1328 {MIN|MAX}_CHAR_HEBREW.
1329 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1330 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1332 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1333 (MAX_CHAR_GREEK): Purged.
1334 (MIN_CHAR_CYRILLIC): Purged.
1335 (MAX_CHAR_CYRILLIC): Purged.
1336 (MIN_CHAR_HEBREW): Commented out.
1337 (MAX_CHAR_HEBREW): Likewise.
1339 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1341 * mule-charset.c (Qto_ucs): New variable.
1342 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1343 (Fdefine_char): Likewise.
1344 (syms_of_mule_charset): Add new symbol `=>ucs'.
1346 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1348 * mule-charset.c (Fdecode_char): Fixed.
1350 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1352 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1353 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1356 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1358 * mule-charset.c (Vcharset_ucs_big5): New variable.
1359 (Qucs_big5): Likewise.
1360 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1361 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1363 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1365 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1367 * mule-charset.c (decode_builtin_char): Check Big5 code range
1368 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1370 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1372 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1373 (Qchinese_gb12345): Likewise.
1374 (Fdecode_builtin_char): Fixed.
1375 (syms_of_mule_charset): Add `chinese-gb12345'.
1376 (complex_vars_of_mule_charset): Add coded-charset
1379 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1380 (LEADING_BYTE_CHINESE_GB12345): New macro.
1382 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1384 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
1385 and `latin-viscii-upper' for `latin-viscii'.
1387 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1389 * mule-charset.c (Fdecode_builtin_char): Comment out
1390 regularization code for ISO-IR GR representation.
1392 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1394 * mule-charset.c (decode_builtin_char): New function; renamed from
1395 `make_builtin_char'; return -1 instead of signal.
1396 (Fdecode_builtin_char): Use `decode_builtin_char'.
1398 * char-ucs.h (decode_builtin_char): New prototype; renamed from
1399 `make_builtin_char'.
1400 (DECODE_CHAR): Use `decode_builtin_char' instead of
1401 `make_builtin_char'; use mapping table of `chinese-big5' for
1402 `chinese-big5-{1,2}'.
1404 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1406 * text-coding.c (char_encode_big5): New function.
1407 (char_finish_big5): Likewise.
1408 (reset_encoding_stream): Use `char_encode_big5' and
1409 `char_finish_big5' for CODESYS_BIG5.
1410 (mule_encode): Don't use `encode_coding_big5'.
1411 (encode_coding_big5): Deleted.
1413 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1415 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
1416 0x81- in XEmacs UTF-2000.
1417 (detect_coding_big5): Likewise.
1419 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1421 * mule-charset.c (Fdefine_char): Don't use a CCS property to
1422 generate character-id if the CCS property does not have
1423 corresponding predefined character.
1424 (make_builtin_char): Return -1 if corresponding predefined
1425 character is not found.
1426 (Fdecode_char): Return nil if corresponding character is not
1428 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
1429 don't map to builtin ucs space.
1431 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1433 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
1434 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
1436 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1438 * mule-charset.c (Vcharset_ideograph_gt): New variable.
1439 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
1440 (Qideograph_gt): Likewise.
1441 (Qideograph_gt_pj_{1..11}): Likewise.
1442 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
1443 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
1444 `ideograph-gt-pj-11'.
1445 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
1446 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
1447 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
1449 * char-ucs.h (LEADING_BYTE_GT): New macro.
1450 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
1451 (MIN_CHAR_GT): Likewise.
1452 (MAX_CHAR_GT): Likewise.
1454 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1456 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
1457 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
1459 * doprnt.c (unsigned_int_converters): Add `c'.
1460 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
1462 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
1463 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
1465 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
1466 (MAX_CHAR_MOJIKYO_0): New macro.
1467 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
1469 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1471 * mule-charset.c (Fdefine_char): Delete cemented out code.
1472 (encode_builtin_char_1): Modify for new allocation of builtin
1475 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
1477 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1479 * mule-charset.c (Vcharset_ucs_cns): New variable.
1480 (Qucs_cns): New variable.
1481 (syms_of_mule_charset): Add new symbol `ucs-cns'.
1482 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
1484 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1486 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
1488 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1490 * search.c (search_buffer): Make `charset_base_code' as
1491 character-id >> 6 to eliminate the corresponding last byte in
1492 UTF-8 representation [I'm not sure it is right thing].
1493 (boyer_moore): Likewise.
1495 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1497 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
1498 representation in MULE.
1500 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1502 * text-coding.c (Fmake_coding_system): Use
1503 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
1504 `EXTERNAL_PROPERTY_LIST_LOOP'.
1506 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1508 * text-coding.c (decode_output_utf8_partial_char): New function.
1509 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
1511 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1513 * text-coding.c (decode_coding_utf8): Output original byte
1514 sequence if it is broken; change order of conditions.
1516 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
1519 * mb-multibyte.h (BYTE_ASCII_P):
1520 Use bit ops for char-signedness safety.
1521 (BYTE_C0_P): Use bit ops for char-signedness safety.
1522 (BYTE_C1_P): Use bit ops for char-signedness safety.
1524 * character.h: (XCHAR_OR_CHAR_INT):
1525 Always use inline function.
1526 Remove redundant type checking assert() - XINT will abort quite
1529 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1531 * text-coding.c: (Fencode_shift_jis_char):
1532 (Fencode_big5_char):
1533 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
1534 Replace 0 with '\0' when working with bytes.
1535 Replace initial "(" with "\(" in docstrings.
1537 (Fmake_coding_system):
1538 When type is ccl and value is vector, register it with a proper
1539 symbol. And checks whether the given ccl program is valid.
1540 (mule_decode): When calling ccl_driver, if src indicates
1541 NULL pointer, set an empty string instead.
1542 (mule_encode): Likewise.
1545 (detect_coding_sjis):
1546 (decode_coding_sjis):
1547 (detect_coding_big5):
1548 (decode_coding_big5):
1549 (detect_coding_ucs4):
1550 (decode_coding_ucs4):
1551 (detect_coding_utf8):
1552 (decode_coding_utf8):
1553 (detect_coding_iso2022):
1554 (decode_coding_iso2022):
1555 (decode_coding_no_conversion):
1557 Make all detecting and decoding functions take an Extbyte * arg.
1558 (text_encode_generic):
1559 (encode_coding_big5):
1560 (encode_coding_no_conversion):
1562 Make all encoding functions take a Bufbyte * arg.
1563 Use size_t instead of unsigned int for memory sizes.
1564 Only cast to unsigned char whenever dereferencing Extbyte *.
1566 (struct lrecord_description fcd_description_1): Use countof.
1567 (complex_vars_of_file_coding):
1568 Use countof instead of sizeof.
1569 Use CHECK_NATNUM instead of CHECK_INT.
1571 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1573 * mule-charset.c (Fget_char_attribute): Add new optional argument
1575 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
1576 (remove_char_ccs): Likewise.
1578 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1580 * text-coding.c (char_encode_shift_jis): New implementation in
1582 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
1585 * mule-charset.c (Vcharset_chinese_big5): New variable in
1587 (Qchinese_big5): New variable in UTF-2000.
1588 (BIG5_SAME_ROW): New macro in UTF-2000.
1589 (make_builtin_char): Use builtin characters of
1590 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
1591 characters of `Vcharset_chinese_big5'.
1592 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
1593 (complex_vars_of_mule_charset): Add new coded-charset
1594 `chinese-big5' in UTF-2000.
1596 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
1597 (Vcharset_chinese_big5): New external variable declaration.
1598 (Vcharset_japanese_jisx0208_1990): Likewise.
1600 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1602 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
1604 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
1606 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1608 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
1609 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
1610 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
1613 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1615 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
1617 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1619 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1622 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1624 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
1625 for `CHARSET_BY_ATTRIBUTES'.
1626 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1627 `CHARSET_BY_ATTRIBUTES'.
1629 * text-coding.c (struct decoding_stream): Rename member `CH' to
1631 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
1632 (decode_coding_sjis): Likewise.
1633 (decode_coding_big5): Likewise.
1634 (decode_coding_ucs4): Likewise.
1635 (decode_coding_utf8): Likewise.
1636 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1637 `CHARSET_BY_ATTRIBUTES'.
1638 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
1639 `str->counter'; decode 3, 4 bytes sets.
1640 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
1642 (decode_coding_no_conversion): Use `str->cpos' instead of
1645 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
1646 (Qmojikyo_2022_1): New variable.
1647 (make_charset): Don't use `CHARSET_TYPE_*'.
1648 (range_charset_code_point): Support coded-charset
1650 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
1651 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
1652 `CHARSET_BY_ATTRIBUTES'.
1653 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
1654 `CHARSET_BY_ATTRIBUTES'.
1655 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
1656 (complex_vars_of_mule_charset): Add new coded-charset
1659 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
1660 interface; changed to inline function.
1662 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
1663 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
1664 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
1665 (CHARSET_TYPE_94): Deleted.
1666 (CHARSET_TYPE_94X94): Deleted.
1667 (CHARSET_TYPE_96): Deleted.
1668 (CHARSET_TYPE_96X96): Deleted.
1669 (CHARSET_TYPE_128): Deleted.
1670 (CHARSET_TYPE_128X128): Deleted.
1671 (CHARSET_TYPE_256): Deleted.
1672 (CHARSET_TYPE_256X256): Deleted.
1673 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
1675 (DECODE_MOJIKYO_2022): New inline function.
1676 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
1677 `Vcharset_mojikyo_2022_1'.
1679 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1681 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
1683 (put_byte_table): Likewise.
1684 (char_id_table_equal): Use `get_byte_table' [new implementation].
1686 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1688 * mule-charset.c: Include <limits.h> in UTF-2000.
1689 (BT_UINT8_MIN): New macro in UTF-2000.
1690 (BT_UINT8_MAX): New macro in UTF-2000.
1691 (BT_UINT8_t): New macro in UTF-2000.
1692 (BT_UINT8_nil): New macro in UTF-2000.
1693 (BT_UINT8_unbound): New macro in UTF-2000.
1694 (INT_UINT8_P): New inline function in UTF-2000.
1695 (UINT8_VALUE_P): New inline function in UTF-2000.
1696 (UINT8_ENCODE): New inline function in UTF-2000.
1697 (UINT8_DECODE): New inline function in UTF-2000.
1698 (mark_uint8_byte_table): New function in UTF-2000.
1699 (print_uint8_byte_table): New function in UTF-2000.
1700 (uint8_byte_table_equal): New function in UTF-2000.
1701 (uint8_byte_table_hash): New function in UTF-2000.
1702 (make_uint8_byte_table): New function in UTF-2000.
1703 (uint8_byte_table_same_value_p): New function in UTF-2000.
1704 (BT_UINT16_MIN): New macro in UTF-2000.
1705 (BT_UINT16_MAX): New macro in UTF-2000.
1706 (BT_UINT16_t): New macro in UTF-2000.
1707 (BT_UINT16_nil): New macro in UTF-2000.
1708 (BT_UINT16_unbound): New macro in UTF-2000.
1709 (INT_UINT16_P): New inline function in UTF-2000.
1710 (UINT16_VALUE_P): New inline function in UTF-2000.
1711 (UINT16_ENCODE): New inline function in UTF-2000.
1712 (UINT16_DECODE): New inline function in UTF-2000.
1713 (UINT8_TO_UINT16): New inline function in UTF-2000.
1714 (mark_uint16_byte_table): New function in UTF-2000.
1715 (print_uint16_byte_table): New function in UTF-2000.
1716 (uint16_byte_table_equal): New function in UTF-2000.
1717 (uint16_byte_table_hash): New function in UTF-2000.
1718 (make_uint16_byte_table): New function in UTF-2000.
1719 (uint16_byte_table_same_value_p): New function in UTF-2000.
1720 (print_byte_table): New function in UTF-2000.
1721 (byte-table): Use `print_byte_table' as printer.
1722 (make_byte_table): Delete second argument `older'.
1723 (byte_table_same_value_p): New function in UTF-2000.
1724 (copy_byte_table): Deleted.
1725 (get_byte_table): New function in UTF-2000.
1726 (put_byte_table): New function in UTF-2000.
1727 (print_char_id_table): New function in UTF-2000.
1728 (char-id-table): Use `print_char_id_table' as printer.
1729 (make_char_id_table): Delete second argument `older'.
1730 (get_char_id_table): Use `get_byte_table [new implementation].
1731 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
1733 (Ffind_char_attribute_table): New function in UTF-2000.
1734 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1735 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
1736 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
1737 (syms_of_mule_charset): Add new function
1738 `find-char-attribute-table' in UTF-2000.
1740 * lrecord.h (enum lrecord_type): Add
1741 `lrecord_type_uint16_byte_table' and
1742 `lrecord_type_uint8_byte_table'.
1744 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
1745 (Lisp_Uint8_Byte_Table): New type.
1746 (XUINT8_BYTE_TABLE): New macro.
1747 (XSETUINT8_BYTE_TABLE): New macro.
1748 (UINT8_BYTE_TABLE_P): New macro.
1749 (GC_UINT8_BYTE_TABLE_P): New macro.
1750 (struct Lisp_Uint16_Byte_Table): New structure.
1751 (Lisp_Uint16_Byte_Table): New type.
1752 (XUINT16_BYTE_TABLE): New macro.
1753 (XSETUINT16_BYTE_TABLE): New macro.
1754 (UINT16_BYTE_TABLE_P): New macro.
1755 (GC_UINT16_BYTE_TABLE_P): New macro.
1757 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1759 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
1760 (Vcharacter_ideographic_strokes_table): Deleted.
1761 (Vcharacter_total_strokes_table): Deleted.
1762 (Vcharacter_morohashi_daikanwa_table): Deleted.
1763 (Vcharacter_decomposition_table): Deleted.
1764 (Qname): Deleted because it is duplicated.
1765 (Qideographic_radical): Deleted.
1766 (Qideographic_strokes): Deleted.
1767 (Qtotal_strokes): Deleted.
1768 (Qmorohashi_daikanwa): Deleted.
1769 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
1770 `ideographic-radical', `ideographic-strokes', `total-strokes',
1771 `morohashi-daikanwa' and `->decomposition'.
1772 (Fget_char_attribute): Likewise.
1773 (Fput_char_attribute): Likewise; use `make-vector' instead of
1774 `make_older_vector' for `->decomposition' value.
1775 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
1776 `ideograph-daikanwa'.
1777 (syms_of_mule_charset): Delete builtin symbols `name',
1778 `ideographic-radical', `ideographic-strokes', `total-strokes' and
1779 `morohashi-daikanwa'.
1780 (vars_of_mule_charset): Don't setup
1781 `Vcharacter_ideographic_radical_table',
1782 `Vcharacter_ideographic_strokes_table',
1783 `Vcharacter_total_strokes_table',
1784 `Vcharacter_morohashi_daikanwa_table' and
1785 `Vcharacter_decomposition_table'.
1787 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1789 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
1790 `make_older_vector', `make_vector_newer_1' and
1791 `make_vector_newer'.
1793 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
1794 `make_older_vector' and `make_vector_newer'.
1796 * config.h.in (HAVE_GGC): New macro.
1798 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1800 * mule-charset.c (struct char_attribute_list_closure): New
1801 structure in UTF-2000.
1802 (add_char_attribute_to_list_mapper): New function in UTF-2000.
1803 (Fchar_attribute_list): Likewise.
1804 (Fset_charset_mapping_table): Use `make_vector_newer'.
1805 (Fdecode_builtin_char): New function in UTF-2000.
1806 (syms_of_mule_charset): Add new function `char-attribute-list' and
1807 `decode-builtin-char' in UTF-2000.
1809 * lisp.h (make_vector_newer): New prototype.
1811 * alloc.c (make_vector_newer_1): New function.
1812 (make_vector_newer): New function.
1814 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1816 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
1819 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1821 * mule-charset.c (Vchar_attribute_hash_table): New variable.
1822 (Vcharacter_attribute_table): Deleted.
1823 (Vcharacter_name_table): Deleted.
1824 (put_char_attribute): Deleted.
1825 (remove_char_attribute): Deleted.
1826 (struct char_attribute_alist_closure): New structure.
1827 (add_char_attribute_alist_mapper): New function.
1828 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
1829 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
1830 (Fget_char_attribute): Likewise.
1831 (Fput_char_attribute): Likewise.
1832 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
1833 of `remove_char_attribute'.
1834 (Fdefine_char): Return character.
1835 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
1836 and `Vcharacter_name_table'.
1837 (complex_vars_of_mule_charset): Likewise
1838 `Vchar_attribute_hash_table'.
1840 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1842 * character.h (CHARC_CHARSET): New macro.
1843 (CHARC_CHARSET_ID): New macro.
1844 (CHARC_CODE_POINT): New macro.
1845 (CHARC_COLUMNS): New macro.
1846 (CHARC_TO_CHAR): New inline function.
1847 (CHARC_EQ): New inline function.
1848 (CHARC_ASCII_EQ): New inline function.
1849 (CHARC_IS_SPACE): New inline function.
1850 (ASCII_TO_CHARC): New inline function.
1852 * char-ucs.h (encode_char_2): Deleted.
1853 (ENCODE_CHAR): Use `encode_char_1' again.
1854 (breakup_char_1): Likewise.
1855 (CHAR_TO_CHARC): New inline function.
1857 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
1859 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1861 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
1862 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
1863 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
1864 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
1865 (create_string_text_block): Use `CHARC_ASCII_EQ' and
1867 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
1869 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
1871 (x_output_display_block): Use `CHARC_CHARSET' and
1874 * redisplay-tty.c (tty_output_display_block): Use
1876 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
1878 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
1880 * insdel.c (find_charsets_in_charc_string): Use
1882 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
1883 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
1884 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
1885 (convert_charc_string_into_malloced_string): Likewise.
1887 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1889 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
1890 instead of <Emchar_dynarr *> for buf; use
1891 `convert_bufbyte_string_into_charc_dynarr' instead of
1892 `convert_bufbyte_string_into_emchar_dynarr'; use
1893 `find_charsets_in_charc_string' instead of
1894 `find_charsets_in_emchar_string'.
1897 - Include "character.h".
1898 (struct rune): New member `cglyph'; delete member `chr'.
1900 * redisplay.c (redisplay_text_width_charc_string): New function;
1901 delete `redisplay_text_width_emchar_string'.
1902 (rtw_charc_dynarr): New variable; renamed from
1903 `rtw_emchar_dynarr'.
1904 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
1905 `rtw_emchar_dynarr'; use
1906 `convert_bufbyte_string_into_charc_dynarr' instead of
1907 `convert_bufbyte_string_into_emchar_dynarr'; use
1908 `redisplay_text_width_charc_string' instead of
1909 `redisplay_text_width_emchar_string'.
1910 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
1911 instead of `rtw_emchar_dynarr'; use
1912 `convert_bufbyte_string_into_charc_dynarr' instead of
1913 `convert_bufbyte_string_into_emchar_dynarr'.
1914 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
1915 `redisplay_text_width_charc_string' instead of
1916 `redisplay_text_width_emchar_string'.
1917 (create_text_block): Modify for <struct rune> change.
1918 (generate_formatted_string_db): Likewise.
1919 (create_string_text_block): Likewise.
1920 (pixel_to_glyph_translation): Likewise.
1922 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
1923 instead of <const Emchar *>.
1924 (x_text_width): Likewise.
1925 (x_output_display_block): Use <Charc_dynarr *> instead
1926 <Emchar_dynarr *>; modify for <structure rune> change.
1927 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
1930 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
1931 <const Emchar *>; use `charc_string_displayed_columns' instead of
1932 `emchar_string_displayed_columns'.
1933 (tty_output_display_block): Use <Charc_dynarr *> instead of
1934 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
1935 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
1936 (tty_output_charc_dynarr_dynarr): New variable; renamed from
1937 `tty_output_emchar_dynarr_dynarr'.
1938 (tty_output_charc_dynarr): New function; delete
1939 `tty_output_charc_dynarr'.
1941 * redisplay-output.c (compare_runes): Modify for `struct rune'.
1942 (redisplay_output_layout): Use <Charc_dynarr *> instead of
1943 <Emchar_dynarr *> for buf; use
1944 `convert_bufbyte_string_into_charc_dynarr' instead of
1945 `convert_bufbyte_string_into_emchar_dynarr'.
1947 * frame.c (title_string_charc_dynarr): New variable; renamed from
1948 `title_string_emchar_dynarr'.
1949 (generate_title_string): Use `title_string_charc_dynarr' instead
1950 of `title_string_emchar_dynarr'; use
1951 `convert_charc_string_into_malloced_string' instead of
1952 `convert_emchar_string_into_malloced_string'.
1953 (init_frame): Use `title_string_charc_dynarr' instead of
1954 `title_string_emchar_dynarr'.
1957 - Include "character.h".
1958 (struct console_methods): Use <const Charc *> instead of <const
1959 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
1960 <Emchar_dynarr *> in output_string_method.
1962 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
1965 * console-stream.c (stream_text_width): Use <const Charc *>
1966 instead of <const Emchar *>.
1968 * character.h (Charc_dynarr): New type.
1970 * char-ucs.h (structure Charc): New structure; define new type
1973 * char-lb.h (DECODE_CHAR): New inline function.
1974 (encode_char_1): New inline function.
1975 (ENCODE_CHAR): New macro.
1976 (structure Charc): New structure; define new type `Charc'.
1978 * char-1byte.h (Vcharset_control_1): New macro.
1979 (Vcharset_latin_iso8859_1): New macro.
1980 (DECODE_CHAR): New inline function.
1981 (encode_char_1): New inline function.
1982 (ENCODE_CHAR): New macro.
1983 (structure Charc): New structure; define new type `Charc'.
1985 * insdel.c (find_charsets_in_charc_string): New function; delete
1986 `find_charsets_in_emchar_string'.
1987 (charc_string_displayed_columns): New function; delete
1988 `emchar_string_displayed_columns'.
1989 (convert_bufbyte_string_into_charc_dynarr): New function; delete
1990 `convert_bufbyte_string_into_emchar_dynarr'.
1991 (convert_charc_string_into_bufbyte_dynarr): New function; delete
1992 `convert_charc_string_into_bufbyte_dynarr'.
1993 (convert_charc_string_into_malloced_string): New function; delete
1994 `convert_charc_string_into_malloced_string'.
1996 * buffer.h (find_charsets_in_charc_string): New prototype; delete
1997 `find_charsets_in_emchar_string'.
1998 (charc_string_displayed_columns): New prototype; delete
1999 `emchar_string_displayed_columns'.
2000 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
2001 `convert_charc_string_into_bufbyte_dynarr'.
2002 (convert_charc_string_into_malloced_string): New prototype; delete
2003 `convert_charc_string_into_malloced_string'.
2005 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2007 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
2009 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2011 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
2013 * char-ucs.h: Use <short> for <Charset_ID>.
2015 * mule-charset.h, char-1byte.h: Use <unsigned char> for
2018 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2020 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2023 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2025 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
2027 (Qmorohashi_daikanwa): New variable.
2028 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
2029 for `morohashi-daikanwa' attribute.
2030 (Fget_char_attribute): Likewise.
2031 (Fput_char_attribute): Likewise.
2032 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
2033 has the same value of `ideograph-daikanwa'.
2034 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
2035 (vars_of_mule_charset): Setup
2036 `Vcharacter_morohashi_daikanwa_table'.
2038 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2040 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
2042 (add_charset_to_list_mapper): Add `key' instead of
2043 `XCHARSET_NAME (value)' to return aliases.
2045 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2047 * mule-charset.c (Vcharacter_ideographic_radical_table): New
2049 (Vcharacter_ideographic_strokes_table): New variable.
2050 (Qideographic_radical): New variable.
2051 (Qideographic_strokes): New variable.
2052 (Fchar_attribute_alist): Use
2053 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
2054 attribute; use `Vcharacter_ideographic_strokes_table' for
2055 `ideographic-strokes' attribute.
2056 (Fget_char_attribute): Likewise.
2057 (Fput_char_attribute): Likewise.
2058 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
2059 `ideographic-strokes'.
2060 (vars_of_mule_charset): Setup
2061 `Vcharacter_ideographic_radical_table' and
2062 `Vcharacter_ideographic_strokes_table'.
2064 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2066 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
2067 (Qtotal_strokes): New variable.
2068 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
2069 `total-strokes' attribute.
2070 (Fget_char_attribute): Likewise.
2071 (Fput_char_attribute): Likewise.
2072 (syms_of_mule_charset): Add new symbol `total-strokes'.
2073 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
2075 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2077 * mule-charset.c (Vcharacter_decomposition_table): New variable.
2078 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
2080 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
2081 `->decomposition' attribute.
2082 (Fput_char_attribute): Likewise.
2083 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
2085 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2087 * mule-charset.c (decoding_table_check_elements): New function.
2088 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
2090 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2092 * mule-charset.c (Fset_charset_mapping_table): Use
2093 `put_char_ccs_code_point'.
2095 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2097 * mule-charset.c (decoding_table_put_char): New inline function.
2098 (put_char_ccs_code_point): Use `decoding_table_put_char'.
2100 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2102 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
2103 (XCHARSET_BYTE_SIZE): New macro.
2104 (decoding_table_remove_char): New inline function.
2105 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
2106 `decoding_table_remove_char'.
2107 (remove_char_ccs): Use `decoding_table_remove_char'.
2108 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
2110 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2112 * mule-charset.c (Vcharacter_name_table): New variable.
2113 (Qname): New variable.
2114 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
2116 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
2117 `Vcharacter_name_table' for `name' attribute.
2118 (Fremove_char_attribute): Use function `remove_char_ccs'.
2119 (put_char_ccs_code_point): New function.
2120 (remove_char_ccs): New function.
2121 (syms_of_mule_charset): Add new symbol `name'.
2122 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
2124 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2126 * mule-charset.c (make_byte_table): Add new argument `older'.
2127 (make_char_id_table): Likewise.
2128 (copy_char_id_table): Comment out because it is not used.
2129 (put_char_id_table): Modify for `make_byte_table'.
2130 (Fput_char_attribute): Make encoding_table as older object;
2131 inherit older bit of `Vcharacter_composition_table'.
2132 (mark_charset): Don't mark `cs->encoding_table'.
2133 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
2134 normal object; make `Vcharacter_composition_table' as an older
2135 object; delete staticpro for `Vcharacter_composition_table'; make
2136 `Vcharacter_variant_table' as a normal object.
2138 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
2139 (mark_object): Don't check older object in UTF-2000.
2141 * lrecord.h (struct lrecord_header): Add new member `older' in
2143 (set_lheader_implementation): Setup `SLI_header->older' in
2145 (set_lheader_older_implementation): New macro in UTF-2000.
2146 (OLDER_RECORD_P): New macro in UTF-2000.
2147 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
2148 (alloc_older_lcrecord): New prototype in UTF-2000.
2149 (alloc_older_lcrecord_type): New macro in UTF-2000.
2151 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2153 * mule-charset.c (byte_table_description): Use
2154 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
2155 (char_id_table_description): Delete bogus `, 1'.
2156 (Fget_char_attribute): Refer encoding_table of each coded-charset
2157 to get value of coded-charset attribute of a character.
2158 (Fput_char_attribute): Use `make_older_vector' instead of
2159 `make_vector'; use encoding_table of each coded-charset to store
2160 value of coded-charset attribute of a character.
2161 (Fremove_char_attribute): Use encoding_table of each coded-charset
2162 to store value of coded-charset attribute of a character.
2163 (mark_charset): Mark `cs->encoding_table'; don't mark
2164 `cs->decoding_table'.
2165 (charset_description): Add description of new member
2167 (make_charset): Initialize `encoding_table'.
2169 * char-ucs.h (struct Lisp_Charset): Add new member
2171 (CHARSET_ENCODING_TABLE): New macro.
2172 (XCHARSET_ENCODING_TABLE): New macro.
2173 (charset_code_point): New implementation.
2174 (encode_char_1): Likewise.
2176 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
2177 (disksave_object_finalization_1): Call finalizers of
2178 `all_older_lcrecords' in UTF-2000.
2179 (make_older_vector): New function in UTF-2000.
2180 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
2183 * lisp.h (make_older_vector): New prototype in UTF-2000.
2185 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2187 * lrecord.h (enum lrecord_type): Rename
2188 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
2190 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
2191 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
2192 `get_char_code_table'.
2194 * mule-charset.c (mark_char_id_table): Renamed from
2195 `mark_char_code_table'.
2196 (char_id_table_equal): Renamed from `char_code_table_equal'.
2197 (char_id_table_hash): Renamed from `char_code_table_hash'.
2198 (make_char_id_table): Renamed from `make_char_code_table'.
2199 (copy_char_id_table): Renamed from `copy_char_code_table'.
2200 (get_char_id_table): Renamed from `get_char_code_table'.
2201 (put_char_id_table): Renamed from `put_char_code_table'.
2202 (to_char_id): Renamed from `to_char_code'.
2204 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
2205 `Lisp_Char_Code_Table'.
2206 (char_id_table): Renamed from `char_code_table'.
2207 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
2208 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
2209 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
2210 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
2211 (get_char_id_table): Renamed from `get_char_code_table'.
2213 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2215 * lrecord.h (enum lrecord_type): Rename
2216 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
2218 * mule-charset.c (mark_byte_table): Renamed from
2219 `mark_char_byte_table'.
2220 (byte_table_equal): Renamed from `char_byte_table_equal'.
2221 (byte_table_hash): Renamed from `byte_table_hash'.
2222 (make_byte_table): Renamed from `make_byte_table'.
2223 (copy_byte_table): Renamed from `copy_char_byte_table'.
2225 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
2226 `Lisp_Char_Byte_Table'.
2227 (byte_table): Renamed from `char_byte_table'.
2228 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
2229 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
2230 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
2231 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
2233 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2235 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
2236 (dfc_convert_to_internal_format): Likewise.
2238 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2239 * text-coding.c (Fcoding_system_alias_p): New function.
2240 * text-coding.c (Fcoding_system_aliasee): New function.
2241 * text-coding.c (append_suffix_to_symbol): New function.
2242 * text-coding.c (dangling_coding_system_alias_p): New function.
2243 * text-coding.c (Ffind_coding_system):
2244 * text-coding.c (Fcopy_coding_system):
2245 * text-coding.c (encode_coding_no_conversion):
2246 * text-coding.c (syms_of_file_coding):
2247 * text-coding.c (vars_of_file_coding):
2248 Rewrite coding system alias code.
2249 Allow nested aliases, like symbolic links.
2250 Allow redefinition of coding system aliases.
2251 Prevent existence of dangling coding system aliases.
2252 Eliminate convert_to_external_format.
2253 Eliminate convert_to_internal_format.
2255 * text-coding.c: Change enum eol_type to eol_type_t.
2257 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2259 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2260 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2262 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2263 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2265 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2267 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2268 `ideograph-daikanwa'.
2270 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2271 (Vcharset_ucs_bmp): Likewise.
2272 (Vcharset_mojikyo): Add new extern variable definition.
2273 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2274 (Vcharset_latin_iso8859_3): Likewise.
2275 (Vcharset_latin_iso8859_4): Likewise.
2276 (Vcharset_latin_iso8859_9): Likewise.
2277 (Vcharset_latin_viscii_lower): Likewise.
2278 (Vcharset_latin_viscii_upper): Likewise.
2279 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2280 `mojikyo' code-point is used to decode.
2281 (encode_char_2): New function [to convert `mojikyo' code-point to
2282 Mojikyo font encoding].
2283 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2284 (breakup_char_1): Likewise.
2285 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2287 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2289 * text-coding.c (Fmake_coding_system): Add document about
2290 `disable-composition' property.
2292 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2294 * text-coding.c (Qdisable_composition): New variable; delete
2296 (Fmake_coding_system): Add new property `disable-composite';
2297 delete property `composite'.
2298 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2299 instead of `!CODING_SYSTEM_COMPOSITE'.
2300 (syms_of_file_coding): Add new symbol `disable-composition';
2301 delete symbol `composite'.
2303 * file-coding.h (struct Lisp_Coding_System): Add
2304 `disable_composition'; delete `enable_composition'.
2305 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2306 `CODING_SYSTEM_COMPOSITE'.
2307 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2308 `XCODING_SYSTEM_COMPOSITE'.
2310 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2312 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2315 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2317 * text-coding.c (Qcomposite): New variable.
2318 (Fmake_coding_system): Add new property `composite'.
2319 (struct decoding_stream): Add `combined_char_count',
2320 `combined_chars' and `combining_table' in UTF-2000.
2321 (COMPOSE_FLUSH_CHARS): New macro.
2322 (COMPOSE_ADD_CHAR): New macro.
2323 (reset_decoding_stream): Reset `str->combined_char_count' and
2324 `str->combining_table' in UTF-2000.
2325 (decode_coding_iso2022): Modify for character-decomposition.
2326 (syms_of_file_coding): Add new symbol `composite'.
2328 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2330 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2331 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2332 of `Vcharacter_composition_table' if `->decomposition' property
2334 (Qlatin_tcvn5712): New variable.
2335 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2336 (complex_vars_of_mule_charset): Add new coded-charset
2339 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2341 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2343 * file-coding.h (struct Lisp_Coding_System): Add
2344 `enable_composition'.
2345 (CODING_SYSTEM_COMPOSITE): New macro.
2346 (XCODING_SYSTEM_COMPOSITE): New macro.
2348 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2350 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2352 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2354 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2355 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2357 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2359 * mule-charset.c (Vcharset_mojikyo): New variable.
2360 (Fdefine_char): Don't use coded-charset which does not have
2361 non-builtin character range to allocate character-id.
2362 (Qmojikyo): New variable.
2363 (syms_of_mule_charset): Add new symbol `mojikyo'.
2364 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2366 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2367 (LEADING_BYTE_MOJIKYO): New macro.
2368 (MIN_CHAR_MOJIKYO): New macro.
2369 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2370 (MAX_CHAR_MOJIKYO): New macro.
2372 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2374 * mule-charset.c (remove_char_attribute): Fixed.
2376 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2378 * mule-charset.c (remove_char_attribute): New function.
2379 (Fremove_char_attribute): New function.
2380 (encode_builtin_char_1): Comment out builtin-support for
2381 greek-iso8859-7 and cyrillic-iso8859-5.
2382 (Fdecode_char): Check `code' is an integer.
2383 (syms_of_mule_charset): Add `remove-char-attribute'.
2384 (MIN_CHAR_GREEK): Deleted.
2385 (MAX_CHAR_GREEK): Likewise.
2386 (MIN_CHAR_CYRILLIC): Likewise.
2387 (MAX_CHAR_CYRILLIC): Likewise.
2388 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
2389 MAX_CHAR_GREEK for `greek-iso8859-7'.
2391 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
2392 (MAX_CHAR_GREEK): Likewise.
2393 (MIN_CHAR_CYRILLIC): Likewise.
2394 (MAX_CHAR_CYRILLIC): Likewise.
2396 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
2398 * mule-charset.c (Fdefine_char): Fix problem when new code-point
2399 format is used without `ucs' property.
2400 (Fdecode_char): Fix problem with GR representation.
2401 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
2402 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
2404 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2406 * mule-charset.c (make_builtin_char): New function.
2407 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
2408 (Fset_charset_mapping_table): Modify for new representation of
2410 (Fdecode_char): New function.
2411 (syms_of_mule_charset): Add new builtin function `decode-char' in
2414 * char-ucs.h (make_builtin_char): New prototype.
2415 (DECODE_CHAR): New inline function.
2416 (MAKE_CHAR): Use `DECODE_CHAR'.
2418 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
2420 * text-coding.c (parse_charset_conversion_specs): Use
2421 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
2423 (iso2022_designate): Likewise.
2425 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
2426 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
2428 * mule-charset.c (Vcharset_ucs): New variable.
2429 (print_charset): Change design; use `CHARSET_CHARS' and
2430 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
2431 (make_charset): Change signature to specify `chars' and
2432 `dimension' instead of `type'.
2433 (range_charset_code_point): Modify for 256^n-set.
2434 (encode_builtin_char_1): Encode as `ucs' in default.
2435 (Fmake_charset): Modify for `make_charset'.
2436 (Fmake_reverse_direction_charset): Likewise.
2437 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
2439 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
2442 * char-ucs.h (Vcharset_ucs): New variable.
2443 (LEADING_BYTE_UCS): New macro.
2444 (struct Lisp_Charset): Delete `type'; change type of `dimension'
2445 and `chars' to `unsigned short' from `unsigned int'.
2446 (CHARSET_TYPE): Deleted.
2447 (XCHARSET_TYPE): Deleted.
2449 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
2451 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
2453 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
2454 (ENCODE_CHAR): New macro.
2456 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2458 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2459 to 0.14 (Kawachi-Katakami).
2461 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2463 * text-coding.c (char_encode_shift_jis): Modify for
2464 `charset_code_point'.
2465 (char_encode_iso2022): Likewise.
2467 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
2468 (integer) instead of list of <Lisp_Object>s (integers) as the
2469 format of code-point of a coded-charset.
2470 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2471 (encode_builtin_char_1): New function; delete
2472 `split_builtin_char'.
2473 (charset_code_point): Return <int> instead of <Lisp_Object>.
2474 (Fsplit_char): Don't use `SPLIT_CHAR'.
2476 * char-ucs.h (encode_builtin_char_1): New prototype; delete
2477 prototype for `split_builtin_char'.
2478 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2479 (charset_code_point): Likewise.
2480 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
2481 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
2483 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
2485 * mule-charset.c (complex_vars_of_mule_charset): Don't define
2486 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
2488 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2490 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
2492 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
2493 (MAX_CHAR_OBS_94x94): Deleted.
2495 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2497 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
2499 * char-ucs.h (MAX_CHAR_BMP): New macro.
2501 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2503 * text-coding.c: Sync with r21-2-24.
2505 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2507 * file-coding.c: Modify for UTF-2000.
2509 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2511 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2514 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2516 * mule-charset.c (split_builtin_char): Delete builtin support for
2517 `katakana-jisx0201'.
2518 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
2519 BMP area in builtin representation.
2521 * char-ucs.h (MAKE_CHAR): Delete builtin support for
2522 `Vcharset_katakana_jisx0201'.
2524 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2526 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
2527 (Qisolated): New variable.
2528 (Qinitial): New variable.
2529 (Qmedial): New variable.
2530 (Qfinal): New variable.
2531 (Qvertical): New variable.
2532 (Qsmall): New variable.
2533 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
2534 `Qvertical' and `Qsmall'.
2535 (Qmojikyo_pj_[1 .. 21]): New variable.
2536 (syms_of_mule_charset): Add new symbols `isolated', `initial',
2537 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
2538 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
2541 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2543 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
2544 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
2545 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
2547 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2549 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
2550 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
2552 (Qjapanese_jisx0208_1990): New variable.
2553 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
2554 (complex_vars_of_mule_charset): Add new coded-charset
2555 `japanese-jisx0208-1990'.
2557 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
2558 (MIN_CHAR_JIS_X0208_1990): New macro.
2559 (MAX_CHAR_JIS_X0208_1990): New macro.
2561 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2563 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
2564 coded-charset is not found.
2566 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2568 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
2569 (Fdefine_char): Use `Fmake_char'.
2571 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2573 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
2574 (Vcharset_hiragana_jisx0208): Deleted.
2575 (Vcharset_katakana_jisx0208): Deleted.
2576 (Qideograph_daikanwa): New variable.
2577 (Qhiragana_jisx0208): Deleted.
2578 (Qkatakana_jisx0208): Deleted.
2579 (split_builtin_char): Split `ideograph-daikanwa'.
2580 (Fsplit_char): New implementation for UTF-2000.
2581 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
2582 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
2583 (complex_vars_of_mule_charset): Add new coded-charset
2584 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
2585 `katakana-jisx0208'.
2587 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
2588 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
2589 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
2590 (MIN_CHAR_DAIKANWA): New macro.
2591 (MAX_CHAR_DAIKANWA): New macro.
2593 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2595 * data.c (Fstring_to_number): Don't recognize floating point if
2598 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2600 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
2602 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2604 * mule-charset.c (Qsquare): New variable.
2605 (to_char_code): Add `Qsquare'.
2606 (syms_of_mule_charset): Add new symbol `square'.
2608 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2610 * mule-charset.c (Qcircle): New variable.
2611 (to_char_code): Add `Qcircle'.
2612 (syms_of_mule_charset): Add new symbol `circle'.
2614 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2616 * mule-charset.c (Qfont): New variable.
2617 (to_char_code): Add `Qfont'.
2618 (syms_of_mule_charset): Add new symbol `font'.
2620 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2622 * mule-charset.c (Qsub): New variable.
2623 (to_char_code): Add `Qsub'.
2624 (syms_of_mule_charset): Add new symbol `sub'.
2626 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2628 * mule-charset.c (Fput_char_attribute): Convert each element of
2629 VALUE to GL position if ATTRIBUTE is a GR-set,
2631 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2633 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
2634 coded-charset is a GR-set.
2636 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2638 * mule-charset.c (Fput_char_attribute): Check each element of
2639 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
2641 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2643 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
2645 (Qethiopic_ucs): New variable in UTF-2000.
2646 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
2647 (complex_vars_of_mule_charset): Add new coded-charset
2648 `ethiopic-ucs' in UTF-2000.
2650 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
2651 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2653 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2655 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
2657 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2659 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
2662 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2664 * mule-charset.c (Vcharacter_variant_table): New variable.
2665 (Q_ucs): New variable.
2666 (Fchar_variants): New function.
2667 (Fput_char_attribute): Register `->ucs' value to
2668 `Vcharacter_variant_table'.
2669 (syms_of_mule_charset): Add new function `char-variants' and new
2671 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
2673 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2675 * mule-charset.c (get_char_code_table): Allow negative character
2677 (put_char_code_table): Likewise.
2678 (Vcharacter_composition_table): New variable.
2679 (Q_decomposition): New variable.
2680 (Qwide): New variable.
2681 (Qnarrow): New variable.
2682 (Qcompat): New variable.
2683 (QnoBreak): New variable.
2684 (Qsuper): New variable.
2685 (Qfraction): New variable.
2686 (to_char_code): New function.
2687 (Fget_composite_char): New function.
2688 (Fput_char_attribute): Register `->decomposition' value to
2689 `Vcharacter_composition_table'.
2690 (syms_of_mule_charset): Add new function `get-composite-char', new
2691 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
2692 `super' and `fraction'.
2693 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
2695 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2697 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
2698 character; copy the return value.
2700 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2702 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
2704 * mule-charset.c (range_charset_code_point): Must use make_int.
2705 (split_builtin_char): New function.
2707 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2709 * mule-charset.c (char_byte_table): Change name from
2710 "char-code-table" to "char-byte-table".
2711 (mark_char_code_table): New function.
2712 (char_code_table_equal): New function.
2713 (char_code_table_hash): New function.
2714 (char_code_table_description): New constant.
2715 (char_code_table): New type.
2716 (make_char_code_table): New function.
2717 (copy_char_code_table): New function.
2718 (get_char_code_table): Modify for `char_code_table' type.
2719 (put_char_code_table): Likewise.
2720 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
2723 * char-ucs.h (char_code_table): New type.
2724 (XCHAR_CODE_TABLE): New macro.
2725 (XSETCHAR_CODE_TABLE): New macro.
2726 (CHAR_CODE_TABLE_P): New macro.
2727 (GC_CHAR_CODE_TABLE_P): New macro.
2728 (struct Lisp_Char_Code_Table): New structure.
2730 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2732 * mule-charset.c (Fmake_charset): Setup byte_offset for
2735 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
2737 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
2740 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2742 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
2745 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2747 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
2748 charset, it is regarded as a charset.
2749 (put_char_attribute): New function in UTF-2000.
2750 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
2751 charset, mapping-table of the charset is modified.
2752 (Fdefine_char): New function in UTF-2000.
2753 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
2754 `Fput_char_attribute'.
2755 (syms_of_mule_charset): Add new function `define-char' and new
2756 symbol `ucs' in UTF-2000.
2757 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
2759 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2761 * mule-charset.c (Fcharset_name): Define `byte_offset' in
2762 non-UTF-2000 configuration.
2764 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2766 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
2767 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
2769 * mule-charset.c (mark_charset): `cs->encoding_table' has been
2771 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
2772 (Fset_charset_mapping_table): Likewise.
2774 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
2775 (CHARSET_ENCODING_TABLE): Delete.
2776 (XCHARSET_ENCODING_TABLE): Delete.
2777 (charset_code_point): New interface.
2779 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2781 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
2782 instead of `charset_get_byte1' and `charset_get_byte2'.
2784 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
2785 (charset_get_byte2): Deleted.
2787 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2789 * char-ucs.h (SPLIT_CHAR): New inline function.
2790 (breakup_char_1): Use `SPLIT_CHAR'.
2792 * mule-charset.c (range_charset_code_point): New function.
2793 (charset_code_point): New function.
2795 * char-ucs.h (range_charset_code_point): New interface.
2796 (breakup_char_1): Use `range_charset_code_point'.
2798 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2800 * mule-charset.c (Fmake_charset): Delete unused local variable
2803 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
2804 (breakup_char_1): Find a charset and code-point in
2805 `Vcharacter_attribute_table'.
2807 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2809 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2812 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2814 * mule-charset.c (Vcharacter_attribute_table): New variable.
2815 (Fchar_attribute_alist): New function.
2816 (Fget_char_attribute): New function.
2817 (Fput_char_attribute): New function.
2818 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
2820 (syms_of_mule_charset): Add new function `char-attribute-alist',
2821 `get-char-attribute' and `put-char-attribute'.
2822 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
2824 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
2826 * mule-charset.c (Fmake_charset): Just use
2827 `get_unallocated_leading_byte'.
2829 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
2830 sets; don't use final-byte based number for private sets.
2832 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2834 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
2837 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2839 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2842 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2844 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
2845 of `CHAR_LEADING_BYTE' in UTF-2000.
2847 * insdel.c (find_charsets_in_bufbyte_string): Use
2848 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2849 (find_charsets_in_emchar_string): Likewise.
2851 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
2852 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2854 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
2855 (CHAR_CHARSET_ID): New macro.
2857 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2859 * chartab.c (get_char_table): Don't use type `Charset_ID' for
2860 charset-id - MIN_LEADING_BYTE.
2861 (put_char_table): Likewise.
2863 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2865 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
2866 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
2867 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
2868 (CHARSET_ID_OFFSET): New macro.
2869 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
2870 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
2871 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
2872 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2874 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2876 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
2877 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
2878 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
2879 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
2880 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
2882 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2884 * mule-charset.c (next_allocated_leading_byte): New variable in
2886 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
2887 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
2888 (get_unallocated_leading_byte): Simply use
2889 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
2890 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
2893 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
2894 (MAX_LEADING_BYTE_PRIVATE): New macro.
2895 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
2896 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
2898 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2900 * mule-charset.c (Fmake_charset): Allocate final-byte based
2901 charset-id for 94-set, 96-set and 94x94-set.
2903 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2905 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
2907 (Fmake_charset): Likewise.
2908 (complex_vars_of_mule_charset): Modify the font registry of
2909 `ucs-bmp' not to match `Ethiopic-Unicode'.
2911 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2913 * mule-charset.c (complex_vars_of_mule_charset): Add font
2914 registory of `ucs-bmp'.
2916 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2918 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
2919 coded-charsets in `default-coded-charset-priority-list' when
2920 breaking up a character.
2922 * mule-charset.c (Vcharset_latin_viscii): New variable.
2923 (Qlatin_viscii): New variable.
2924 (make_charset): Don't use `decoding_table'.
2925 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
2927 (Fset_charset_mapping_table): New implementation.
2928 (syms_of_mule_charset): Add new symbol `latin-viscii'.
2929 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
2930 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
2931 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
2932 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
2933 charset `latin_viscii'.
2935 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
2936 (CHARSET_TYPE_94X94): Change to 1 from 2.
2937 (CHARSET_TYPE_96): Change to 2 from 1.
2938 (CHARSET_TYPE_128): New macro.
2939 (CHARSET_TYPE_128X128): Change to 5 from 4.
2940 (CHARSET_TYPE_256): New macro.
2941 (CHARSET_TYPE_256X256): Change to 7 from 5.
2942 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
2944 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2946 * text-coding.c (char_encode_shift_jis): Refer
2947 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
2948 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
2950 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
2951 (char_byte_table_equal): New function in UTF-2000.
2952 (char_byte_table_hash): New function in UTF-2000.
2953 (char_byte_table_description): New constant in UTF-2000.
2954 (char_byte_table): New type in UTF-2000.
2955 (make_char_byte_table): New function in UTF-2000.
2956 (copy_char_byte_table): New function in UTF-2000.
2957 (make_char_code_table): New macro in UTF-2000.
2958 (get_char_code_table): New function in UTF-2000.
2959 (put_char_code_table): New function in UTF-2000.
2960 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2961 (charset_description): Add setting in UTF-2000.
2962 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
2963 `CHARSET_TO_BYTE1_TABLE(cs)'.
2964 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
2965 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
2966 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
2967 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
2968 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
2969 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
2970 `CHARSET_TO_BYTE2_TABLE(cs)'.
2972 * char-ucs.h (char_byte_table): New type.
2973 (XCHAR_BYTE_TABLE): New macro.
2974 (XSETCHAR_BYTE_TABLE): New macro.
2975 (CHAR_BYTE_TABLE_P): New macro.
2976 (GC_CHAR_BYTE_TABLE_P): New macro.
2977 (struct Lisp_Char_Byte_Table): New structure.
2978 (get_char_code_table): New interface.
2979 (Emchar_to_byte_table): Deleted.
2980 (get_byte_from_character_table): Deleted.
2981 (struct Lisp_Charset): Add `encoding_table'; delete
2982 `to_byte1_table' and `to_byte2_table'.
2983 (CHARSET_ENCODING_TABLE): New macro.
2984 (CHARSET_TO_BYTE1_TABLE): Deleted.
2985 (CHARSET_TO_BYTE2_TABLE): Deleted.
2986 (XCHARSET_ENCODING_TABLE): New macro.
2987 (XCHARSET_TO_BYTE1_TABLE): Deleted.
2988 (XCHARSET_TO_BYTE2_TABLE): Deleted.
2990 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2992 * mule-charset.c (syms_of_mule_charset): Delete charset alias
2993 `vietnamese-viscii-*'.
2995 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2997 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
2998 (Qvietnamese_viscii_upper): New variable.
2999 (Fdefine_charset_alias): New function.
3000 (syms_of_mule_charset): Add new function `define-charset-alias'.
3001 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
3002 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
3005 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
3007 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
3008 (MAX_CHAR_OBS_94x94): New macro.
3009 (breakup_char_1): Support obsolete XEmacs-UCS private code space
3012 * mule-charset.c (put_byte_from_character_table): Change unit size
3014 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
3016 (Fmake_reverse_direction_charset): Modify dummy argument of
3017 `make_charset' for non-UTF-2000 environment.
3019 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3021 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
3023 * mule-charset.c (destroy_byte_from_character_table): New macro.
3024 (latin_jisx0201_to_ucs): Deleted.
3025 (latin_iso8859_2_to_ucs): Deleted.
3026 (latin_iso8859_3_to_ucs): Deleted.
3027 (latin_iso8859_4_to_ucs): Deleted.
3028 (latin_iso8859_9_to_ucs): Deleted.
3029 (latin_viscii_lower_to_ucs): Deleted.
3030 (latin_viscii_upper_to_ucs): Deleted.
3031 (mark_charset): Mark `cs->decoding_table'.
3032 (Fcharset_mapping_table): Fix DOC-string.
3033 (Fset_charset_mapping_table): New function.
3034 (syms_of_mule_charset): Add nwe function
3035 `set-charset-mapping-table'.
3036 (complex_vars_of_mule_charset): Don't setup and use
3039 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
3041 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
3044 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
3046 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
3047 (Vcharset_katakana_jisx0208): New variable.
3048 (Qhiragana_jisx0208): New variable.
3049 (Qkatakana_jisx0208): New variable.
3050 (make_charset): Add new argument `byte_offset'.
3051 (charset_get_byte1): Modify for new coded-charset definition; use
3052 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3053 `XCHARSET_BYTE_OFFSET'.
3054 (Fmake_charset): Modify for `make_charset'.
3055 (Fmake_reverse_direction_charset): Likewise.
3056 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
3057 `katakana-jisx0208'.
3058 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
3059 `.' in font registry of charset `katakana-jisx0201',
3060 `latin-jisx0201', `vietnamese-viscii-lower' and
3061 `vietnamese-viscii-upper'; modify DOC-string of charset
3062 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
3063 registry of charset `japanese-jisx0208' not to use font for JIS
3064 X0208:1990; add new charset `hiragana-jisx0208' and
3065 `katakana-jisx0208'.
3067 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
3068 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
3069 (struct Lisp_Charset): Add `byte_offset'.
3070 (CHARSET_BYTE_OFFSET): New macro.
3071 (XCHARSET_UCS_MIN): New macro.
3072 (XCHARSET_UCS_MAX): New macro.
3073 (XCHARSET_CODE_OFFSET): New macro.
3074 (XCHARSET_BYTE_OFFSET): New macro.
3075 (MIN_CHAR_HIRAGANA): New macro.
3076 (MAX_CHAR_HIRAGANA): New macro.
3077 (MIN_CHAR_KATAKANA): New macro.
3078 (MAX_CHAR_KATAKANA): New macro.
3079 (MAKE_CHAR): Modify for new coded-charset definition; use
3080 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3081 `XCHARSET_BYTE_OFFSET'.
3083 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3085 * mule-charset.c (CHAR96): Deleted.
3086 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
3088 (latin_iso8859_2_to_ucs): Likewise.
3089 (latin_iso8859_3_to_ucs): Likewise.
3090 (latin_iso8859_4_to_ucs): Likewise.
3091 (latin_iso8859_9_to_ucs): Likewise.
3092 (latin_viscii_lower_to_ucs): Likewise.
3093 (latin_viscii_upper_to_ucs): Likewise.
3094 (latin_tcvn5712_to_ucs): Commented out.
3095 (make_charset): Change type of argument `decoding_table' from
3096 <Emchar*> to <Lisp_Object> [vector of characters].
3097 (Fmake_charset): Modify for `make_charset'.
3098 (Fmake_reverse_direction_charset): Likewise.
3099 (Fcharset_mapping_table): New function in UTF-2000.
3100 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
3102 (complex_vars_of_mule_charset): Modify for type change of
3103 `*_to_ucs'; modify for `make_charset'.
3105 * char-ucs.h (struct Lisp_Charset): Change type of
3106 `decoding_table' from <Emchar*> to <Lisp_Object>.
3107 (MAKE_CHAR): Modify for new specification of `decoding_table'.
3109 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3111 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
3112 error with non-UTF-2000-Mule.
3114 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
3116 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
3118 (Vcharset_chinese_cns11643_4): Likewise.
3119 (Vcharset_chinese_cns11643_5): Likewise.
3120 (Vcharset_chinese_cns11643_6): Likewise.
3121 (Vcharset_chinese_cns11643_7): Likewise.
3122 (Qchinese_cns11643_3): Likewise.
3123 (Qchinese_cns11643_4): Likewise.
3124 (Qchinese_cns11643_5): Likewise.
3125 (Qchinese_cns11643_6): Likewise.
3126 (Qchinese_cns11643_7): Likewise.
3127 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
3128 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3129 and `chinese-cns11643-7' to lisp/mule/chinese.el.
3130 (complex_vars_of_mule_charset): Likewise.
3132 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3134 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
3136 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
3137 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
3139 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3141 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
3143 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
3144 (breakup_char_1): Likewise.
3146 * text-coding.c (char_encode_iso2022): Keep designated charsets if
3147 one of them includes the specified character.
3149 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3151 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
3153 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3155 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
3157 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3159 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
3160 definition for non-UTF-2000 Mule.
3161 (latin_iso8859_3_to_ucs): Likewise.
3162 (latin_iso8859_4_to_ucs): Likewise.
3163 (latin_iso8859_9_to_ucs): Likewise.
3164 (latin_jisx0201_to_ucs): Likewise.
3165 (MIN_CHAR_THAI): Likewise.
3166 (MAX_CHAR_THAI): Likewise.
3167 (MIN_CHAR_GREEK): Likewise.
3168 (MAX_CHAR_GREEK): Likewise.
3169 (MIN_CHAR_HEBREW): Likewise.
3170 (MAX_CHAR_HEBREW): Likewise.
3171 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
3172 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
3173 (MIN_CHAR_CYRILLIC): Likewise.
3174 (MAX_CHAR_CYRILLIC): Likewise.
3176 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3178 * char-ucs.h (breakup_char_1): Use
3179 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
3180 thai-tis620 and katakana-jisx0201 area.
3182 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3184 * char-ucs.h (breakup_char_1): Use
3185 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
3188 * text-coding.c (reset_encoding_stream): Fixed.
3189 (char_encode_ucs4): Delete `& 255'.
3191 * char-ucs.h (breakup_char_1): Use
3192 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
3194 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3196 * file-coding.c (Fmake_coding_system): Don't set up
3197 `codesys->fixed.size'.
3198 (encode_coding_no_conversion): Don't refer
3199 `str->codesys->fixed.size'.
3201 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3203 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
3204 (latin_a_char_to_byte1): Deleted.
3205 (latin_a_char_to_byte2): Deleted.
3207 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3209 * mule-charset.c (make_charset): Add new argument `ucs_min',
3210 `ucs_max' and `code_offset'.
3211 (charset_get_byte1): New implementation [delete specific charset
3212 depended implementations].
3213 (Fmake_charset): Modify for `make_charset'.
3214 (Fmake_reverse_direction_charset): Likewise.
3215 (complex_vars_of_mule_charset): Likewise.
3217 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
3219 (CHARSET_UCS_MIN): New macro.
3220 (CHARSET_UCS_MAX): New macro.
3221 (CHARSET_CODE_OFFSET): New macro.
3222 (MAKE_CHAR): Delete charset depended definitions [except
3225 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3227 * char-ucs.h (breakup_char_1): Use
3228 `Vdefault_coded_charset_priority_list' for C0-Controls,
3229 Basic-Latin, C1-Controls and Latin-1-Supplement area.
3231 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3233 * char-ucs.h (charset_get_byte1): New function.
3234 (XCHARSET_GET_BYTE1): Deleted.
3235 (charset_get_byte2): New function.
3236 (XCHARSET_GET_BYTE2): Deleted.
3237 (Vdefault_coded_charset_priority_list): New external variable.
3238 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3239 `Vdefault_preferred_coded_charset_list'.
3241 * mule-charset.c (charset_get_byte1): New function.
3242 (charset_get_byte2): New function.
3243 (Vdefault_coded_charset_priority_list): New variable.
3244 (vars_of_mule_charset): Add new variable
3245 `default-coded-charset-priority-list'.
3247 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3249 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3250 (XCHARSET_GET_BYTE2): New inline function.
3251 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3252 `XCHARSET_GET_BYTE2'.
3254 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3256 * mule-charset.c (make_charset): Initialize
3257 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3258 NULL if table is not defined.
3260 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3262 * text-coding.c (char_encode_shift_jis): Use
3263 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3264 `ucs_to_latin_jisx0201'.
3266 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3267 (ucs_to_latin_iso8859_2): Deleted.
3268 (ucs_to_latin_iso8859_3): Deleted.
3269 (ucs_to_latin_iso8859_4): Deleted.
3270 (ucs_to_latin_iso8859_9): Deleted.
3271 (ucs_to_latin_viscii_lower): Deleted.
3272 (ucs_to_latin_viscii_upper): Deleted.
3273 (ucs_to_latin_tcvn5712): Deleted.
3274 (make_charset): Add new argument `decoding_table'; set up
3275 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3276 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3277 `decoding_table' is defined in UTF-2000.
3278 (Fmake_charset): Modify for `make_charset'.
3279 (Fmake_reverse_direction_charset): Likewise.
3280 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3281 and `GENERATE_96_SET'.
3283 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3284 (ucs_to_latin_jisx0201): Deleted.
3285 (latin_iso8859_2_to_ucs): Deleted.
3286 (ucs_to_latin_iso8859_2): Deleted.
3287 (latin_iso8859_3_to_ucs): Deleted.
3288 (ucs_to_latin_iso8859_3): Deleted.
3289 (latin_iso8859_4_to_ucs): Deleted.
3290 (ucs_to_latin_iso8859_4): Deleted.
3291 (latin_iso8859_9_to_ucs): Deleted.
3292 (ucs_to_latin_iso8859_9): Deleted.
3293 (latin_viscii_lower_to_ucs): Deleted.
3294 (ucs_to_latin_viscii_lower): Deleted.
3295 (latin_viscii_upper_to_ucs): Deleted.
3296 (ucs_to_latin_viscii_upper): Deleted.
3297 (struct Lisp_Charset): Renamed `encoding_table' to
3298 `to_byte1_table'; add `to_byte2_table'.
3299 (CHARSET_DECODING_TABLE): New macro.
3300 (CHARSET_TO_BYTE1_TABLE): New macro.
3301 (CHARSET_TO_BYTE2_TABLE): New macro.
3302 (XCHARSET_DECODING_TABLE): New macro.
3303 (XCHARSET_TO_BYTE1_TABLE): New macro.
3304 (XCHARSET_TO_BYTE2_TABLE): New macro.
3305 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3307 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3308 don't use `ucs_to_*' tables.
3310 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3312 * text-coding.c (Fmake_coding_system): Don't set up
3313 `codesys->fixed.size'.
3314 (encode_coding_no_conversion): Use `if' instead of `switch'.
3316 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3318 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3320 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3321 (Fmake_charset): Modify for `make_charset'.
3322 (Fmake_reverse_direction_charset): Likewise.
3323 (complex_vars_of_mule_charset): Likewise.
3325 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3327 * text-coding.c (char_encode_shift_jis): Use table
3328 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3330 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3332 * text-coding.c (text_encode_generic): Use `if' instead of
3334 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3337 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3339 * text-coding.c (encode_coding_sjis): Deleted.
3340 (char_encode_shift_jis): New function.
3341 (char_finish_shift_jis): New function.
3342 (reset_encoding_stream): Set up `encode_char' and `finish' for
3343 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3344 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3345 (char_encode_utf8): Treat `eol_type'.
3347 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3349 * file-coding.c (decode_coding_iso2022): Use
3350 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3352 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3354 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3357 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3359 * char-lb.h (CHAR_COLUMNS): New macro.
3361 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3363 * text-coding.c (char_encode_ucs4): New function.
3364 (char_finish_ucs4): New function.
3365 (encode_coding_ucs4): Deleted.
3366 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3367 (text_encode_generic): Delete local variable `charset' and `half'.
3368 (ucs_to_mule_table): Deleted.
3369 (mule_to_ucs_table): Deleted.
3370 (Fset_ucs_char): Deleted.
3371 (ucs_to_char): Deleted.
3372 (Fucs_char): Deleted.
3373 (Fset_char_ucs): Deleted.
3374 (Fchar_ucs): Deleted.
3375 (decode_ucs4): Deleted.
3376 (mule_char_to_ucs4): Deleted.
3377 (encode_ucs4): Deleted.
3378 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3379 (decode_coding_utf8): Likewise.
3380 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3381 (char_encode_iso2022): Fixed.
3382 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3383 `Fset_char_ucs' and `Fchar_ucs'.
3384 (complex_vars_of_file_coding): Don't initialize
3385 `ucs_to_mule_table'.
3387 * objects-tty.c (tty_initialize_font_instance): Don't use
3390 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
3393 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
3394 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3396 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
3397 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3398 (emchar_string_displayed_columns): Likewise.
3400 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
3401 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3402 (string_column_at_point): Likewise.
3403 (Fmove_to_column): Likewise.
3405 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
3406 `encoding_table' and `decoding_table'.
3407 (CHARSET_REP_BYTES): Deleted.
3408 (XCHARSET_REP_BYTES): Deleted.
3409 (XCHARSET_COLUMNS): Deleted.
3410 (CHAR_COLUMNS): New macro.
3411 (lookup_composite_char): Deleted unconditionally.
3412 (composite_char_string): Likewise.
3414 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3416 * char-ucs.h (Emchar_to_byte_table): New type.
3417 (get_byte_from_character_table): New function interface.
3418 (Vcharset_latin_jisx0201): New variable.
3419 (latin_jisx0201_to_ucs): New variable.
3420 (ucs_to_latin_jisx0201): New variable.
3421 (Vcharset_latin_iso8859_2): New variable.
3422 (latin_iso8859_2_to_ucs): New variable.
3423 (ucs_to_latin_iso8859_2): New variable.
3424 (Vcharset_latin_iso8859_3): New variable.
3425 (latin_iso8859_3_to_ucs): New variable.
3426 (ucs_to_latin_iso8859_3): New variable.
3427 (Vcharset_latin_iso8859_4): New variable.
3428 (latin_iso8859_4_to_ucs): New variable.
3429 (ucs_to_latin_iso8859_4): New variable.
3430 (Vcharset_latin_iso8859_9): New variable.
3431 (latin_iso8859_9_to_ucs): New variable.
3432 (ucs_to_latin_iso8859_9): New variable.
3433 (Vcharset_latin_viscii_lower): New variable.
3434 (latin_viscii_lower_to_ucs): New variable.
3435 (ucs_to_latin_viscii_lower): New variable.
3436 (Vcharset_latin_viscii_upper): New variable.
3437 (latin_viscii_upper_to_ucs): New variable.
3438 (ucs_to_latin_viscii_upper): New variable.
3439 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
3440 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
3441 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
3442 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
3443 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
3444 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
3445 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
3446 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
3447 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
3448 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
3450 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
3451 (Vcharset_latin_viscii_upper): New variable.
3452 (make_byte_from_character_table): New function.
3453 (put_byte_from_character_table): New function.
3454 (get_byte_from_character_table): New function.
3455 (CHAR96): New macro.
3456 (ucs_to_latin_jisx0201): New variable.
3457 (latin_jisx0201_to_ucs): New variable.
3458 (ucs_to_latin_iso8859_2): New variable.
3459 (latin_iso8859_2_to_ucs): New variable.
3460 (ucs_to_latin_iso8859_3): New variable.
3461 (latin_iso8859_3_to_ucs): New variable.
3462 (ucs_to_latin_iso8859_4): New variable.
3463 (latin_iso8859_4_to_ucs): New variable.
3464 (ucs_to_latin_iso8859_9): New variable.
3465 (latin_iso8859_9_to_ucs): New variable.
3466 (ucs_to_latin_viscii_lower): New variable.
3467 (latin_viscii_lower_to_ucs): New variable.
3468 (ucs_to_latin_viscii_upper): New variable.
3469 (latin_viscii_upper_to_ucs): New variable.
3470 (ucs_to_latin_tcvn5712): New variable.
3471 (latin_tcvn5712_to_ucs): New variable.
3472 (Qlatin_viscii_lower): New variable.
3473 (Qlatin_viscii_upper): New variable.
3474 (syms_of_mule_charset): Set up new symbol
3475 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
3476 (complex_vars_of_mule_charset): Set up new charset
3477 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
3478 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
3479 `ucs_to_<CHARSET>' tables.
3481 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3483 * text-coding.c: New file.
3485 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3487 * mule-charset.c (Fmake_char): Fix problem of 256-set.
3489 * char-ucs.h (Vcharset_ucs_bmp): New variable.
3490 (MAKE_CHAR): Modify for `ucs-bmp'.
3491 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
3492 non-MULE characters of BMP.
3494 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
3496 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3499 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
3502 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
3503 - Include character.h for `CHAR_ASCII_P'.
3505 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
3507 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
3508 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
3510 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
3511 (BYTE_C0_P): Likewise.
3512 (BYTE_C1_P): Likewise.
3513 (Lstream_get_emchar_1): Likewise.
3514 (Lstream_fput_emchar): Likewise.
3515 (Lstream_funget_emchar): Likewise.
3516 (copy_internal_to_external): Likewise.
3517 (copy_external_to_internal): Likewise.
3519 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.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 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
3529 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3531 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
3532 (BYTE_ASCII_P): Moved to mb-1byte.h.
3534 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
3536 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
3538 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
3539 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
3540 (VALID_CHARPTR_P): Moved to mb-*byte.h.
3541 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3542 (VALIDATE_CHARPTR_FORWARD): Likewise.
3543 (simple_charptr_emchar): Moved to mb-multibyte.h.
3544 (simple_set_charptr_emchar): Likewise.
3545 (simple_charptr_copy_char): Likewise.
3546 (non_ascii_charptr_emchar): Likewise.
3547 (non_ascii_set_charptr_emchar): Likewise.
3548 (non_ascii_charptr_copy_char): Likewise.
3549 (charptr_emchar): Moved to mb-*byte.h.
3550 (set_charptr_emchar): Likewise.
3551 (charptr_copy_char): Likewise.
3553 * mb-1byte.h, mb-multibyte.h: New files.
3555 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3557 * mb-utf-8.h (MULTIBYTE): New macro.
3558 (MAX_EMCHAR_LEN): Moved from buffer.h.
3559 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
3561 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
3563 * mb-lb.h, multibyte.h: New files.
3565 * char-1byte.h (Charset_ID): Moved from buffer.h.
3566 (MIN_LEADING_BYTE): Likewise.
3567 (LEADING_BYTE_ASCII): Likewise.
3568 (NUM_LEADING_BYTES): Likewise.
3569 (CHARSETP): Likewise.
3570 (CHARSET_BY_LEADING_BYTE): Likewise.
3571 (XCHARSET_LEADING_BYTE): Likewise.
3572 (XCHARSET_GRAPHIC): Likewise.
3573 (XCHARSET_COLUMNS): Likewise.
3574 (XCHARSET_DIMENSION): Likewise.
3575 (CHAR_CHARSET): Likewise.
3576 (CHAR_LEADING_BYTE): Likewise.
3577 (BREAKUP_CHAR): Likewise.
3578 (Vcharset_ascii): Likewise.
3580 * buffer.h: Include multibyte.h unconditionally.
3581 (VALID_CHARPTR_P): Moved to multibyte.h.
3582 (ASSERT_VALID_CHARPTR): Likewise.
3583 (REAL_INC_CHARPTR): Likewise.
3584 (REAL_INC_CHARBYTIND): Likewise.
3585 (REAL_DEC_CHARPTR): Likewise.
3586 (INC_CHARPTR): Likewise.
3587 (INC_CHARBYTIND): Likewise.
3588 (DEC_CHARPTR): Likewise.
3589 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3590 (VALIDATE_CHARPTR_FORWARD): Likewise.
3591 (charptr_n_addr): Likewise.
3592 (MAX_EMCHAR_LEN): Moved to mb-*.h.
3593 (simple_charptr_emchar): Moved to multibyte.h.
3594 (simple_set_charptr_emchar): Likewise.
3595 (simple_charptr_copy_char): Likewise.
3596 (non_ascii_charptr_emchar): Likewise.
3597 (non_ascii_set_charptr_emchar): Likewise.
3598 (non_ascii_charptr_copy_char): Likewise.
3599 (charptr_emchar): Likewise.
3600 (set_charptr_emchar): Likewise.
3601 (charptr_copy_char): Likewise.
3602 (charptr_emchar_n): Likewise.
3603 (Charset_ID): Moved to char-1byte.h.
3604 (Vcharset_ascii): Likewise.
3605 (CHAR_CHARSET): Likewise.
3606 (CHAR_LEADING_BYTE): Likewise.
3607 (LEADING_BYTE_ASCII): Likewise.
3608 (NUM_LEADING_BYTES): Likewise.
3609 (MIN_LEADING_BYTE): Likewise.
3610 (CHARSETP): Likewise.
3611 (CHARSET_BY_LEADING_BYTE): Likewise.
3612 (XCHARSET_LEADING_BYTE): Likewise.
3613 (XCHARSET_GRAPHIC): Likewise.
3614 (XCHARSET_COLUMNS): Likewise.
3615 (XCHARSET_DIMENSION): Likewise.
3616 (BREAKUP_CHAR): Likewise.
3618 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3620 * character.h: Add document about interface for characters.
3622 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
3623 (MAKE_CHAR): Delete comment about
3624 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
3625 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
3626 (BREAKUP_CHAR): Modify name of arguments.
3627 (CHAR_CHARSET): Modify name of argument.
3629 * buffer.h: Delete document about Emchar accessors.
3631 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3633 * character.h (CHAR_INTP): Moved from buffer.h
3634 (CHAR_OR_CHAR_INTP): Likewise.
3635 (XCHAR_OR_CHAR_INT): Likewise.
3636 (CHECK_CHAR_COERCE_INT): Likewise.
3638 * buffer.h (CHAR_INTP): Moved to character.h
3639 (CHAR_OR_CHAR_INTP): Likewise.
3640 (XCHAR_OR_CHAR_INT): Likewise.
3641 (CHECK_CHAR_COERCE_INT): Likewise.
3643 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3646 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
3647 - Include char-1byte.h, char-lb.h or char-ucs.h.
3649 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
3651 * buffer.h: Include character unconditionally.
3652 (valid_char_p): Moved to char-*.h.
3653 (non_ascii_valid_char_p): Moved to char-lb.h.
3655 * char-1byte.h, char-lb.h, char-ucs.h: New files.
3657 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3659 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
3660 in UTF-2000 because it is not ported yet and not to use
3661 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
3662 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
3663 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
3665 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
3666 (CHAR_ASCII_P): Moved from character.h.
3668 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
3669 (CHAR_ASCII_P): Likewise.
3670 (CHAR_FIELD1_MASK): Deleted.
3671 (CHAR_FIELD2_MASK): Deleted.
3672 (CHAR_FIELD3_MASK): Deleted.
3673 (MAX_CHAR_BASIC_LATIN): New macro.
3674 (CHAR_FIELD1): Deleted.
3675 (CHAR_FIELD2_INTERNAL): Deleted.
3676 (CHAR_FIELD3_INTERNAL): Deleted.
3677 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
3678 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
3679 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
3680 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
3681 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
3682 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
3683 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
3684 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
3685 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
3686 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
3687 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
3688 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
3689 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
3690 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
3691 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
3692 (MIN_CHAR_COMPOSITION): Deleted.
3693 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
3694 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
3696 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
3698 * buffer.h: Include mb-utf-8.h in UTF-2000.
3700 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
3702 * mb-utf-8.h: New file.
3704 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
3706 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
3709 * mule-charset.h, buffer.h (Charset_ID): New type.
3711 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3713 * mule-canna.c (c2mu): Use `MAKE_CHAR',
3714 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
3715 instead of `MULE_CHAR_PRIVATE_OFFSET',
3716 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
3717 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
3718 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
3720 * character.h (Vcharset_japanese_jisx0212): New variable
3723 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3725 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
3726 (charset_by_attributes): Delete array about direction.
3727 (latin_a_char_to_charset): New variable in UTF-2000.
3728 (latin_a_char_to_byte1): New variable in UTF-2000.
3729 (latin_a_char_to_byte2): New variable in UTF-2000.
3730 (Qucs_bmp): New variable.
3731 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
3733 (next_allocated_2_byte_leading_byte): Likewise.
3734 (non_ascii_set_charptr_emchar): Likewise.
3735 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
3736 `CHARSET_TYPE_256X256' in UTF-2000; modify for
3737 `charset_by_attributes'.
3738 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
3739 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
3740 and `CHARSET_BY_LEADING_BYTE'.
3741 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
3742 `utf-2000-version' to `vars_of_mule_charset'.
3743 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
3744 define `leading-code-private-11' in UTF-2000; move setting of
3745 `utf-2000-version' from `syms_of_mule_charset'.
3746 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
3749 * character.h (Charset_ID): New type.
3750 (LEADING_BYTE_UCS_BMP): New macro.
3751 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
3752 (CHARSET_ID_OFFSET_94): New macro.
3753 (MIN_CHARSET_ID_PRIVATE_94): New macro.
3754 (MAX_CHARSET_ID_PRIVATE_94): New macro.
3755 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
3757 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
3758 (LEADING_BYTE_LATIN_JISX0201): Likewise.
3759 (CHARSET_ID_OFFSET_96): New macro.
3760 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
3761 CHARSET_ID_OFFSET_96 and final-byte.
3762 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
3763 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
3764 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
3765 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
3766 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
3767 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
3768 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
3769 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
3770 (LEADING_BYTE_THAI_TIS620): Likewise.
3771 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
3772 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
3773 (CHARSET_ID_OFFSET_94x94): New macro.
3774 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
3775 CHARSET_ID_OFFSET_94x94 and final-byte.
3776 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
3777 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
3778 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
3779 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
3780 (LEADING_BYTE_CHINESE_GB2312): Likewise.
3781 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
3782 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
3783 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
3784 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
3785 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
3786 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
3787 (CHARSET_TYPE_128X128): New macro.
3788 (CHARSET_TYPE_256X256): New macro.
3789 (XCHARSET_PRIVATE_P): Delete unconditionally.
3790 (charset_by_attributes): Delete array about direction.
3791 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
3792 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
3793 (MIN_CHAR_94): New macro.
3794 (MAX_CHAR_94): New macro.
3795 (MIN_CHAR_96): New macro.
3796 (MAX_CHAR_96): New macro.
3797 (MIN_CHAR_94x94): New macro.
3798 (MAX_CHAR_94x94): New macro.
3799 (MIN_CHAR_96x96): New macro.
3800 (MAX_CHAR_96x96): New macro.
3801 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
3802 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3803 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
3805 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
3806 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
3807 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
3808 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
3809 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
3810 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
3811 `XCHARSET_LEADING_BYTE' to make code-point.
3812 (latin_a_char_to_charset): New variable.
3813 (latin_a_char_to_byte1): New variable.
3814 (latin_a_char_to_byte2): New variable.
3815 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
3816 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
3817 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
3819 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
3820 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
3821 (find_charsets_in_emchar_string): Likewise.
3822 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
3824 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
3826 (decode_coding_iso2022): Likewise.
3828 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
3831 * redisplay.c (redisplay_text_width_emchar_string): Use
3832 `Charset_ID' instead of `unsigned char'.
3833 (redisplay_frame_text_width_string): Likewise.
3835 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
3838 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
3839 instead of `unsigned char'.
3840 (face_cachel_charset_font_metric_info): Likewise.
3842 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
3843 (get_non_ascii_char_table_value): Likewise.
3844 (get_char_table): Likewise.
3845 (put_char_table): Likewise.
3846 (map_over_other_charset): Likewise.
3847 (map_char_table): Likewise.
3849 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
3850 instead of `unsigned char'.
3852 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
3854 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
3855 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
3857 * mule-charset.c (leading_code_private_11): Don't define in
3860 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
3861 in UTF-2000 because it is not ported yet and not to use
3862 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
3864 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
3866 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
3868 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3870 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
3873 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
3874 of unsigned char to store leading-byte.
3876 * chartab.c (get_non_ascii_char_table_value): Don't use
3877 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
3879 * file-coding.c (encode_coding_big5): Delete bogus implementation
3882 * character.h (LEADING_BYTE_*): Delete definition for
3884 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
3885 (LEADING_BYTE_PREFIX_P): Deleted.
3886 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
3887 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
3888 (BUFBYTE_LEADING_BYTE_P): Deleted.
3889 (CHARSET_PRIVATE_P): Deleted unconditionally.
3890 (rep_bytes_by_first_byte): Deleted unconditionally.
3891 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
3892 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
3893 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3894 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
3895 (CHAR_FIELD2): Deleted.
3896 (CHAR_FIELD3): Deleted.
3897 (MAKE_CHAR): Delete definition for non-UTF-2000.
3898 (BREAKUP_CHAR_1_UNSAFE): Deleted.
3899 (breakup_char_1): New implementation.
3900 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
3901 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
3903 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3905 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
3908 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3910 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
3911 (CHARSET_PRIVATE_P): Likewise.
3912 (XCHARSET_PRIVATE_P): Likewise.
3913 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
3915 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
3917 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
3919 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3921 * character.h (LEADING_BYTE_*): Changed in UTF2000.
3922 (NUM_LEADING_BYTES): Changed from 128 to 256.
3923 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3924 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
3926 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3928 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
3930 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
3931 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
3932 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
3933 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
3934 (Qchinese_cns11643_3): New variable in UTF2000.
3935 (Qchinese_cns11643_4): New variable in UTF2000.
3936 (Qchinese_cns11643_5): New variable in UTF2000.
3937 (Qchinese_cns11643_6): New variable in UTF2000.
3938 (Qchinese_cns11643_7): New variable in UTF2000.
3939 (syms_of_mule_charset): Define `chinese-cns11643-3',
3940 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3941 and `chinese-cns11643-7' in UTF2000.
3942 (vars_of_mule_charset): Initialize
3943 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
3945 (complex_vars_of_mule_charset): Setup charset
3946 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
3947 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
3949 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3951 * mule-charset.c: Move setting for `leading-code-private-11' from
3952 `syms_of_mule_charset' to `vars_of_mule_charset'.
3954 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3956 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
3957 and `NUM_LEADING_BYTES' in assert.
3959 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3961 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
3963 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
3964 `NUM_LEADING_BYTES' instead of 128.
3966 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3968 * mule-charset.h (charset_by_leading_byte): Use
3969 `NUM_LEADING_BYTES' instead of 128.
3970 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
3972 * mule-charset.c (charset_by_leading_byte): Use
3973 `NUM_LEADING_BYTES' instead of 128.
3974 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
3976 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
3979 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3981 * mule-charset.c (syms_of_mule_charset): Update to
3984 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
3986 * file-coding.c (encode_coding_sjis): New implementation for
3987 UTF2000. (decode_coding_sjis): Ditto.
3989 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3991 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
3992 Don't define in UTF2000.
3994 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
3997 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3998 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
4001 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4003 * config.h.in (CHAR_IS_UCS4): New macro.
4005 * mule-charset.c (rep_bytes_by_first_byte): Modify for
4006 conventional MULE representation.
4007 (syms_of_mule_charset): Update to 0.3 (Imamiya).
4009 * mule-charset.h: Reverted to original.
4011 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4012 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
4013 "mule-charset.h" if CHAR_IS_UCS4 is defined.
4015 * character.h: New file.
4017 * file-coding.c (Fmake_coding_system): Set 1 to
4018 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
4020 (encode_coding_no_conversion): New implementation for UTF2000.
4022 * file-coding.h (struct Lisp_Coding_System): Add new member
4025 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
4027 * file-coding.c (decode_coding_iso2022): Code-point arguments of
4028 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
4029 (encode_coding_iso2022): New implementation for UTF2000.
4031 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4033 * mule-canna.c (c2mu): New implementation for UTF2000.
4036 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4038 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
4040 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4042 * file-coding.c (reset_encoding_stream): Set 0 to
4043 `str->iso2022.current_char_boundary' in UTF2000.
4044 (encode_utf8): Don't define in UTF2000.
4045 (encode_coding_utf8): New implementation for UTF-8 representation
4047 (complex_vars_of_file_coding): Define coding-system `utf-8'.
4049 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4051 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
4053 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
4055 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4057 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
4059 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
4060 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
4061 as UTF-8 in UTF2000.
4062 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
4063 (non_ascii_valid_char_p): Don't define in UTF2000.
4064 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
4065 (Lstream_get_emchar_1): Likewise.
4066 (utf-2000-version): New variable in UTF2000.
4068 * lread.c (read_escape): Add new reader `u'.
4070 * insdel.c (three_to_one_table): Don't define in UTF2000.
4071 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
4072 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4074 (bytind_to_bufpos_func): Likewise.
4075 (buffer_mule_signal_inserted_region): Likewise.
4076 (vars_of_insdel): Don't initialize `three_to_one_table'.
4077 (init_buffer_text): Use `buf->text->mule_size' instead of
4078 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4081 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
4082 UTF-8 representation in UTF2000.
4083 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
4084 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
4085 (decode_coding_iso2022): Don't define local variable `lb' in
4086 UTF2000; don't use LEADING_BYTE in UTF2000; use
4087 `DECODE_ADD_UCS_CHAR' in UTF2000.
4088 (convert_to_external_format): Decode as UTF-8 in UTF2000.
4090 * config.h.in (UTF2000): New macro.
4092 * buffer.h (struct buffer_text): Add new member `mule_size' and
4093 don't add `mule_shifter' and `mule_three_p' in UTF2000.
4094 (valid_char_p): Return always 1 in UTF2000.
4095 (MAX_EMCHAR_LEN): 6 in UTF2000.
4096 (three_to_one_table): Don't define in UTF2000.
4097 (real_bufpos_to_bytind): Modify for UTF-8 representation in
4099 (real_bytind_to_bufpos): Likewise.
4101 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
4103 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4105 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
4106 representation change.
4107 (Vutf_2000_version): New variable.
4108 (leading_code_private_11): New variable.
4109 (syms_of_mule_charset): Add new variables `utf-2000-version' and
4110 `leading-code-private-11'.
4112 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
4113 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
4114 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
4115 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
4116 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
4117 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
4118 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
4119 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
4120 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
4121 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
4122 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
4123 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
4124 (MIN_CHAR_GREEK): New macro.
4125 (MAX_CHAR_GREEK): New macro.
4126 (MIN_CHAR_CYRILLIC): New macro.
4127 (MAX_CHAR_CYRILLIC): New macro.
4128 (MIN_CHAR_HEBREW): New macro.
4129 (MAX_CHAR_HEBREW): New macro.
4130 (MIN_CHAR_THAI): New macro.
4131 (MAX_CHAR_THAI): New macro.
4132 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
4133 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
4134 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
4135 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
4136 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
4137 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
4138 (CHAR_FIELD2): New inline function.
4139 (CHAR_FIELD3): New inline function.
4140 (MULE_CHAR_PRIVATE_OFFSET): New macro.
4141 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
4142 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
4143 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
4144 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
4145 (MIN_CHAR_COMPOSITION): Likewise.
4146 (CHAR_LEADING_BYTE): Modified for character representation change.
4147 (MAKE_CHAR): Likewise.
4149 * lisp.h (Vcharset_latin_iso8859_1): New variable.
4150 (Vcharset_greek_iso8859_7): Likewise.
4151 (Vcharset_cyrillic_iso8859_5): Likewise.
4152 (Vcharset_hebrew_iso8859_8): Likewise.
4153 (Vcharset_thai_tis620): Likewise.
4154 (Vcharset_katakana_jisx0201): Likewise.
4156 2001-02-08 Martin Buchholz <martin@xemacs.org>
4158 * XEmacs 21.2.44 "Thalia" is released.
4160 2001-02-06 Martin Buchholz <martin@xemacs.org>
4162 Fixes crashes in kill-emacs on some systems.
4163 * process-unix.c (unix_kill_child_process):
4164 It's OK for kill() to fail with ESRCH.
4166 2001-02-07 Martin Buchholz <martin@xemacs.org>
4168 Contortions to make .gdbinit tricks work on most systems.
4169 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
4170 * alloc.c (dbg_valmask): Make non-const.
4171 * alloc.c (dbg_typemask): Make non-const.
4172 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
4173 * alloc.c (dbg_valbits): Make non-const.
4174 * alloc.c (dbg_gctypebits): Make non-const.
4175 * .gdbinit (decode_object): Make it work with AIX cc.
4177 2001-02-06 Martin Buchholz <martin@xemacs.org>
4179 * elhash.c (make_general_lisp_hash_table):
4180 Use simpler and more efficient calloc to clear entries.
4182 2001-02-07 Martin Buchholz <martin@xemacs.org>
4184 * window.c (window_scroll): Work around an AIX C compiler bug.
4185 Fixes 'scroll-up' does nothing problem with xlC.
4187 2001-02-05 Martin Buchholz <martin@xemacs.org>
4189 * .gdbinit: Remove obsolete comment.
4191 2001-01-31 Mike Alexander <mta@arbortext.com>
4193 * select.c (Fown_selection_internal): Set owned_p for device
4196 2001-02-01 Martin Buchholz <martin@xemacs.org>
4199 "not" cannot be used as a macro name as it is an operator in C++
4200 * config.h.in: Stop #defining `not'.
4201 * chartab.c (check_category_char): not ==> not_p
4202 * chartab.h: Likewise.
4203 * regex.c (re_match_2_internal): Likewise.
4205 2001-02-02 Martin Buchholz <martin@xemacs.org>
4207 * lisp-disunion.h: Fix up comments.
4209 2001-01-31 Martin Buchholz <martin@xemacs.org>
4211 * keymap.c (define_key_check_and_coerce_keysym):
4213 Support mouse-6 and mouse-7 bindings in the obvious way.
4215 2001-02-01 Martin Buchholz <martin@xemacs.org>
4217 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
4219 2001-01-30 Martin Buchholz <martin@xemacs.org>
4221 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
4222 Previous patch missed DEFVAR_INT_MAGIC.
4223 Make sure future DEFVAR_foo use correct types.
4224 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
4225 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
4226 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
4227 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
4228 * (DEFVAR_INT): Likewise.
4229 * redisplay.c (vertical_clip): Should be of type Fixnum.
4230 * redisplay.c (horizontal_clip): Likewise.
4231 * lisp.h (dump_add_opaque_int): New.
4232 (dump_add_opaque_fixnum): New.
4234 2001-01-29 Andy Piper <andy@xemacs.org>
4236 * glyphs-widget.c (check_valid_int_or_function): allow symbols
4237 since they can be eval'ed
4239 2001-01-29 Martin Buchholz <martin@xemacs.org>
4241 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
4242 Oops, XEmacs redefines `class'. Use `typename' instead.
4244 2001-01-28 Martin Buchholz <martin@xemacs.org>
4246 * dumper.c: Fix C++ compile errors.
4248 2001-01-29 Martin Buchholz <martin@xemacs.org>
4250 * tparam.c: Use correct prototypes.
4252 2001-01-28 Martin Buchholz <martin@xemacs.org>
4254 * sysproc.h: #include util.h for NetBSD's openpty.
4256 2001-01-27 Martin Buchholz <martin@xemacs.org>
4258 More 64-bit correctness.
4259 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
4260 Use a typedef `fixnum' for the type used for DEFVAR_INT.
4262 This finally finishes the 64-bit SGI port.
4263 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
4264 * symbols.c: Fix up comments and type casts.
4265 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
4266 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
4267 * symeval.h (Fixnum): New type.
4268 * symeval.h (symbol_value_type): Fix up comment.
4284 * mule-canna.c: A million DEFVAR_INTs here...
4285 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
4298 s/int/Fixnum/g in DEFVAR_INT declarations.
4300 2001-01-26 Martin Buchholz <martin@xemacs.org>
4302 Port pdump to SGI alignment-sensitive environment.
4303 Lisp Object sizeof methods now return aligned sizes. Rely on that.
4304 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
4306 Define and use aligned reading and writing macros.
4307 Use buffered stdio instead of posix i/o for faster dumping.
4308 Eliminate kludgy 256 byte space for header.
4309 Read and write from dump file using structs for alignment safety.
4310 * dumper.c (pdump_align_stream): New.
4311 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
4312 * dumper.c (PDUMP_READ_ALIGNED): New.
4313 * dumper.c (PDUMP_WRITE_ALIGNED): New.
4314 * dumper.c (pdump_static_Lisp_Object): New struct.
4315 * dumper.c (pdump_static_pointer): New struct.
4316 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
4317 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
4318 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
4319 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
4321 * dumper.c (pdump_backtrace):
4322 * dumper.c (pdump_get_indirect_count):
4323 * dumper.c (pdump_register_object):
4324 * dumper.c (pdump_register_struct):
4325 * dumper.c (pdump_reloc_one):
4326 * dumper.c (pdump_scan_by_alignment):
4327 * dumper.c (pdump_dump_from_root_struct_ptrs):
4328 * dumper.c (pdump_dump_opaques):
4329 * dumper.c (pdump_dump_rtables):
4330 * dumper.c (pdump_dump_from_root_objects):
4332 * dumper.c (pdump_load_finish):
4333 Use aligned reading and writing.
4335 * dumper.c (pdump_free): Make static.
4336 * dumper.c (pdump_hFile): Likewise.
4337 * dumper.c (pdump_hMap): Likewise.
4339 2001-01-26 Martin Buchholz <martin@xemacs.org>
4341 * XEmacs 21.2.43 "Terspichore" is released.
4343 2001-01-25 Martin Buchholz <martin@xemacs.org>
4345 Type fiddling for window_config.saved_windows_count
4346 * window.c (struct window_config):
4347 Make saved_windows_count member unsigned.
4348 * window.c (sizeof_window_config_for_n_windows):
4349 Make parameter unsigned.
4350 * window.c (mark_window_config):
4351 * window.c (window_config_equal):
4352 * window.c (free_window_configuration):
4353 * window.c (Fset_window_configuration):
4354 * window.c (count_windows):
4355 * window.c (Fcurrent_window_configuration):
4356 * window.c (reinit_vars_of_window):
4357 Update all callers and users.
4359 2001-01-25 Martin Buchholz <martin@xemacs.org>
4361 Alignment correctness for flexible arrays.
4362 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
4363 Make alignment-correct. Add interesting comments.
4364 * alloc.c (size_vector):
4365 * alloc.c (make_vector_internal):
4366 * alloc.c (make_bit_vector_internal):
4367 * alloc.c (sweep_bit_vectors_1):
4368 * fns.c (size_bit_vector):
4369 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
4370 * window.c (sizeof_window_config_for_n_windows):
4371 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
4373 2001-01-24 Martin Buchholz <martin@xemacs.org>
4375 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
4377 2001-01-23 Andy Piper <andy@xemacs.org>
4379 * select.c (Fown_selection_internal): pass owned_p
4381 * select-msw.c (mswindows_own_selection): New Signature.
4383 * console.h (struct console_methods): add owned_p to
4386 * select-x.c (x_own_selection): pass owned_p
4387 (hack_motif_clipboard_selection): use owned_p
4388 (vars_of_select_x): new variable -
4389 x_selection_strict_motif_ownership.
4391 2001-01-23 Martin Buchholz <martin@xemacs.org>
4393 * specifier.h (specifier_data_offset): Remove pointless parens.
4394 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
4396 2001-01-24 Martin Buchholz <martin@xemacs.org>
4398 Make Lisp_Object sizeof methods be alignment-correct.
4399 pdump must restore objects to the same alignment as the C compiler
4400 assumes. It really matters on SGIs.
4401 * lstream.c (aligned_sizeof_lstream): New.
4402 (sizeof_lstream): Use aligned_sizeof_lstream.
4403 (Lstream_new): Likewise.
4404 * opaque.c (aligned_sizeof_opaque): New.
4405 (sizeof_opaque): Use aligned_sizeof_opaque.
4406 (make_opaque): Likewise.
4407 * specifier.c (aligned_sizeof_specifier): New.
4408 (sizeof_specifier): Use aligned_sizeof_specifier.
4409 (make_specifier_internal): Likewise.
4411 2001-01-23 Martin Buchholz <martin@xemacs.org>
4413 * lstream.h (struct lstream): Use max_align_t for trailing data.
4414 * specifier.h (struct Lisp_Specifier): Likewise.
4416 2001-01-22 Martin Buchholz <martin@xemacs.org>
4418 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
4419 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
4420 (CCL_SUSPEND): Likewise.
4421 (CCL_INVALID_CMD): Likewise.
4422 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
4423 (ccl_driver): Likewise.
4424 (CCL_WRITE_CHAR): Macro hygiene.
4425 (CCL_WRITE_STRING): Macro hygiene.
4427 2001-01-22 Martin Buchholz <martin@xemacs.org>
4429 Port "portable" dumper to SunOS 4 and HP-UX.
4430 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
4431 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
4432 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
4434 2001-01-22 Martin Buchholz <martin@xemacs.org>
4436 * lisp.h (ALIGNOF): A better definition for C++.
4438 2001-01-20 Martin Buchholz <martin@xemacs.org>
4441 Fix printf warnings: int format, long int arg.
4442 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
4443 (PUSH_FAILURE_POINT): Use correct printf formats.
4444 (POP_FAILURE_POINT): Use correct printf formats.
4445 Use do {...} while (0)
4447 2001-01-20 Martin Buchholz <martin@xemacs.org>
4449 * XEmacs 21.2.42 "Poseidon" is released.
4451 2001-01-20 Martin Buchholz <martin@xemacs.org>
4453 * console-x.h: typo fix du jour. Remove #if 0'ed code.
4455 2001-01-19 Martin Buchholz <martin@xemacs.org>
4457 De-kludgify FIXED_TYPE free list frobbing.
4458 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
4459 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
4460 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
4461 * alloc.c (Lisp_Free): New pseudo lisp object definition.
4462 * alloc.c (LRECORD_FREE_P): New.
4463 * alloc.c (MARK_LRECORD_AS_FREE): New.
4464 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
4465 * alloc.c (STRUCT_FREE_P): Deleted.
4466 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
4467 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
4468 * alloc.c (STRING_CHARS_FREE_P): New.
4469 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
4470 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
4471 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
4472 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
4473 * alloc.c (resize_string): Use new definitions.
4474 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
4475 * alloc.c (verify_string_chars_integrity): Use new definitions.
4476 * alloc.c (compact_string_chars): Use new definitions.
4477 * alloc.c: Update monster comments.
4478 * lrecord.h (lrecord_type): Add some new lrecord types for
4481 2001-01-18 Martin Buchholz <martin@xemacs.org>
4483 Improve alignment hackery.
4484 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
4485 (max_align_t): Moved from opaque.h - general purpose.
4486 (ALIGN_PTR): Use size_t, not long.
4487 * opaque.h (max_align_t): Move to lisp.h.
4489 2001-01-18 Norbert Koch <nk@LF.net>
4491 * gui.h: Fix and add prototypes to fix build problems.
4493 2001-01-18 Martin Buchholz <martin@xemacs.org>
4495 temacs is going away, so `dump-temacs' is now a bad name.
4496 * .dbxrc (dump-temacs): Rename to `dmp'.
4497 * .gdbinit (dump-temacs): Rename to `dmp'.
4499 2001-01-17 Andy Piper <andy@xemacs.org>
4501 * glyphs.c (print_image_instance): comment to make martin happy.
4503 * glyphs-x.c (x_redisplay_widget): update faces after a frame
4506 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
4508 (mswindows_tab_control_redisplay): warning suppression.
4510 * glyphs-widget.c (widget_update): re-write to cope with updated
4512 (widget_instantiate): use new gui_item functions.
4513 (tab_control_update): deleted.
4514 (progress_gauge_update): deleted.
4515 (image_instantiator_progress_guage): take out update reference.
4516 (image_instantiator_tree_view): ditto.
4517 (image_instantiator_tab_control): ditto.
4519 * gui.c (widget_gui_parse_item_keywords): new function. Do things
4521 (gui_item_add_keyval_pair): re-write to cope with descriptors and
4522 return whether anything was changed.
4523 (update_gui_item_keywords): as it sounds.
4525 * gui.h: declare widget_gui_parse_item_keywords.
4527 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
4528 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
4530 2001-01-17 Martin Buchholz <martin@xemacs.org>
4532 * XEmacs 21.2.41 "Polyhymnia" is released.
4534 2001-01-16 Didier Verna <didier@xemacs.org>
4536 * glyphs.c (image_instantiate): don't use fallbacks when
4537 instantiating a face's background pixmap by inheritance.
4539 2001-01-14 Mike Sperber <mike@xemacs.org>
4541 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
4542 Conditionalize accordingly.
4544 2001-01-16 Martin Buchholz <martin@xemacs.org>
4546 * dumper.c (pdump_file_get): Fix a compiler warning.
4548 2001-01-15 Martin Buchholz <martin@xemacs.org>
4550 Make Purify happy when pdumping.
4551 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
4552 iniitalizing all bits of new lisp object memory.
4553 * symbols.c (Fmake_local_variable): Likewise.
4554 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
4555 * symbols.c (Fdefvaralias): Likewise.
4556 * mule-charset.c (vars_of_mule_charset): Likewise.
4558 2001-01-15 Martin Buchholz <martin@xemacs.org>
4559 Add the `-nd' flag when running pre-dump operations under the debugger.
4560 * .dbxrc (run-temacs): Add `-nd'.
4561 * .dbxrc (update-elc): Likewise.
4562 * .dbxrc (dump-temacs): Likewise.
4563 * .gdbinit (run-temacs): Likewise.
4564 * .gdbinit (check-temacs): Likewise.
4565 * .gdbinit (update-elc): Likewise.
4566 * .gdbinit (dump-temacs): Likewise.
4568 2001-01-14 Martin Buchholz <martin@xemacs.org>
4570 Allow building 64-bit executables on AIX with GNU malloc, e.g.
4571 export OBJECT_MODE=64
4572 configure --pdump --use-union-type=no
4573 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
4574 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
4576 * miscplay.c (sndcnv8U_2mono):
4577 Avoid two uses of `++' in the same expression.
4578 Suppresses a GCC warning.
4580 2001-01-13 Martin Buchholz <martin@xemacs.org>
4582 Make sure future compilers don't miscompile alloc.c.
4584 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
4585 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
4587 2001-01-12 Martin Buchholz <martin@xemacs.org>
4589 * dumper.c: A little post-pdump-rename comment fixup.
4591 2001-01-09 Jerry James <james@eecs.ku.edu>
4593 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
4595 2001-01-13 Martin Buchholz <martin@xemacs.org>
4597 * *.[ch]: Globally rename symbols using the following `pdump-rename'
4601 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
4604 replace_symbol pdump_wire_lists pdump_weak_object_chains
4605 replace_symbol pdump_wire_list dump_add_weak_object_chain
4607 replace_symbol pdump_wires pdump_root_objects
4608 replace_symbol pdump_wire dump_add_root_object
4610 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
4611 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
4613 replace_symbol dumpstructinfos pdump_root_struct_ptrs
4614 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
4615 replace_symbol dumpstructinfo pdump_root_struct_ptr
4616 replace_symbol dumpstruct dump_add_root_struct_ptr
4618 replace_symbol dumpopaque dump_add_opaque
4619 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
4620 replace_symbol dumpopaqueinfos pdump_opaques
4621 replace_symbol dumpopaqueinfo pdump_opaque
4623 replace_symbol nb_structdump nb_root_struct_ptrs
4624 replace_symbol nb_opaquedump nb_opaques
4626 replace_symbol align_table pdump_align_table
4627 replace_symbol dump_header pdump_header
4629 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
4630 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
4633 2001-01-12 Martin Buchholz <martin@xemacs.org>
4635 * s/aix4.h: Keep the C for AIX compiler from overaggressively
4636 optimizing bytecount_to_charcount().
4638 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4641 (HAVE_DLFCN_H): Removed.
4642 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
4644 2001-01-06 Martin Buchholz <martin@xemacs.org>
4646 Portable dumper maintainability improvements.
4647 * alloc.c (staticpro):
4648 * alloc.c (staticpro_nodump):
4649 * alloc.c (garbage_collect_1):
4650 * alloc.c (reinit_alloc_once_early):
4651 * alloc.c (init_alloc_once_early):
4652 * alloc.c: Move dumper functions to alloc.c.
4653 * dumper.c (pdump_backtrace):
4654 * dumper.c (pdump_dump_structs):
4655 * dumper.c (pdump_dump_opaques):
4656 * dumper.c (pdump_dump_rtables):
4657 * dumper.c (pdump_dump_wired):
4659 * dumper.c (pdump_load_check):
4660 * dumper.c (pdump_load_finish):
4661 * dumper.c (pdump_file_unmap):
4662 * dumper.c (pdump_file_get):
4663 * dumper.c (pdump_resource_free):
4664 * dumper.c (pdump_resource_get):
4665 * dumper.c (pdump_file_free):
4666 * dumper.c (pdump_file_try):
4667 * dumper.c (pdump_load):
4668 Remove fixed size limits on staticpro(), staticpro_nodump(),
4669 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
4670 Remove custom code for dumping lrecord_implementations_table - use
4672 Remove (most of the) custom code for dumping staticpros - dump it
4673 like any other dynarr.
4675 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
4676 * dumper.c: Moved functions from alloc.c.
4677 * alloc.c (dumpstruct): Moved to dumper.c.
4678 * alloc.c (dumpopaque): Likewise.
4679 * alloc.c (pdump_wire): Likewise.
4680 * alloc.c (pdump_wire_list): Likewise.
4682 * lisp.h (Dynarr_sizeof): New.
4683 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
4684 * lisp.h (Dynarr_end): New. Very slightly C++oid.
4685 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
4687 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
4688 * lisp.h (dumpopaque): ditto.
4689 * lisp.h (pdump_wire): ditto.
4690 * lisp.h (pdump_wire_list): ditto.
4692 2001-01-09 Martin Buchholz <martin@xemacs.org>
4694 * make-src-depend (PrintPatternDeps):
4695 Use `sort' to make output independent of perl version.
4697 2001-01-08 Martin Buchholz <martin@xemacs.org>
4700 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
4701 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
4703 2001-01-03 Didier Verna <didier@xemacs.org>
4705 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
4706 that `focus_frame' is alive before thinking of calling
4707 `redisplay_redraw_cursor' on it.
4709 2001-01-08 Martin Buchholz <martin@xemacs.org>
4711 * XEmacs 21.2.40 is released.
4713 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4715 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
4717 2001-01-06 Martin Buchholz <martin@xemacs.org>
4719 * alloc.c (dbg_valmask): Make const.
4720 * alloc.c (dbg_typemask): Make const.
4721 * alloc.c (dbg_USE_UNION_TYPE): Make const.
4722 * alloc.c (dbg_valbits): Make const.
4723 * alloc.c (dbg_gctypebits): Make const.
4725 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
4727 * redisplay-x.c (x_bevel_area):
4728 redisplay.h (struct rune):
4729 Typo fixes in comments.
4731 2001-01-05 Andy Piper <andy@xemacs.org>
4733 * glyphs-x.c (x_redisplay_widget): use size changed for offset
4736 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
4738 2001-01-05 Martin Buchholz <martin@xemacs.org>
4740 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
4742 * mule-ccl.c (stack_idx_of_map_multiple):
4743 Non const global data must not be initialized!
4744 Found by MIYASHITA Hisashi.
4746 2001-01-02 Andy Piper <andy@xemacs.org>
4748 * frame.c (change_frame_size): make sure frame size is always
4751 * glyphs.c (image_instance_layout): minor code reuse.
4753 * window.c (Fcurrent_window_configuration): revert previous
4756 2001-01-02 Martin Buchholz <martin@xemacs.org>
4759 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
4761 2000-12-31 Andy Piper <andy@xemacs.org>
4763 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
4764 when widget gets unmapped.
4766 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
4767 function. Make sure widgets losing focus don't just drop it.
4768 (handle_focus_event_1): record the widget with focus.
4770 2000-12-31 Andy Piper <andy@xemacs.org>
4772 * window.c (allocate_window): use
4773 make_image_instance_cache_hash_table.
4774 (make_dummy_parent): ditto.
4775 (Fset_window_configuration): ditto.
4777 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
4779 * glyphs.c (process_image_string_instantiator): use
4781 (get_image_instantiator_governing_domain): ditto.
4782 (normalize_image_instantiator): ditto.
4783 (instantiate_image_instantiator): ditto.
4784 (make_image_instance_1): ditto.
4785 (image_instantiate): ditto. Key on glyph *and* instantiator type.
4786 (instantiator_eq_equal): new function for use with instance hash
4788 (instantiator_eq_hash): ditto.
4789 (make_image_instance_cache_hash_table): create a suitable hash
4790 table for storing image instances.
4792 * elhash.h (hash_table_weakness): new internal weakness type
4793 HASH_TABLE_KEY_CAR_VALUE_WEAK.
4794 declare new functions.
4796 * elhash.c (finish_marking_weak_hash_tables): introduce yet
4797 another weakness type for glyphs.
4798 (make_standard_lisp_hash_table): new function split out from
4799 make_general_lisp_hash_table.
4800 (make_lisp_hash_table): call make_standard_lisp_hash_table.
4801 (hash_table_instantiate): ditto.
4802 (Fmake_hash_table): ditto.
4804 2000-12-31 Martin Buchholz <martin@xemacs.org>
4806 * XEmacs 21.2.39 is released.
4808 2000-12-29 Andy Piper <andy@xemacs.org>
4810 * menubar.c (menubar_visible_p_changed): signal the frame changed.
4812 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
4813 the frame has changed so that we pick up geometry changes such as
4816 2000-12-28 Andy Piper <andy@xemacs.org>
4818 * lastfile.c (my_ebss): make a char array so we can pad the
4819 bss. Fixes cygwin unexec.
4821 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
4823 2000-12-26 Andy Piper <andy@xemacs.org>
4825 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
4826 comments and try and be more precise about a non-/SIGIO world.
4827 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
4830 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
4831 we don't normalize to zero width or height.
4833 2000-12-24 Andy Piper <andy@xemacs.org>
4835 * Makefile.in.in (ldflags): add -mwindows when appropriate.
4837 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
4839 * s/sco5.h: SCO 5 has pty support.
4841 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
4843 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
4844 input-method-xlib.c contains whole contents of input-method-xfs.c,
4845 so we can use input-method-xlib.c's code for USE_XFONTSET
4847 * input-method-xfs.c: removed.
4849 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
4851 * file-coding.h (enum coding_category_type): reorder enumerators to
4852 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
4853 (now one greater than largest real coding_category_type enumerator).
4854 * file-coding.c (coding_category_symbol, coding_category_by_priority,
4855 coding_category_system, fcd_descriptihon_1, decode_coding_category,
4856 Fcoding_category_list, Fset_coding_priority_list,
4857 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
4858 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
4860 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4862 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
4863 * redisplay-output.c (redisplay_output_window): Clear top of window
4864 when face is changed.
4865 * redisplay-x.c (x_redraw_exposed_window): Call
4866 redisplay_clear_top_of_window.
4867 * redisplay.h: Publish redisplay_clear_top_of_window.
4869 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4871 * buffer.c (Fkill_buffer): Map over all devices.
4872 * window.c (window_loop): Remove UNSHOW_BUFFER code.
4873 (list_windows): New function.
4874 (list_all_windows): Ditto.
4875 (Freplace_buffer_in_windows): Use them.
4877 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4879 * database.c (berkdb_subtype): Recognize new subtype `queue'.
4880 (Fopen_database): Use `db_create' instead of `db_open'.
4881 (syms_of_database): Initialize Qqueue.
4883 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
4885 * buffer.c (common_init_complex_vars_of_buffer): Initialize
4886 buffer_local_face_property.
4887 * buffer.h (struct buffer): New member buffer_local_face_property.
4888 * window.c (Fset_window_buffer): Mark window's face as changed
4889 when buffer has buffer local face.
4890 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
4891 * objects.c (color_after_change): Set buffer_local_face_property
4892 when locale of face specifier is buffer.
4893 * objects.c (font_after_change): Ditto.
4894 * objects.c (face_boolean_after_change): Ditto.
4895 * glyphs.c (image_after_change): Ditto.
4897 2000-12-09 Dan Holmsand <dan@eyebee.com>
4899 * nt.c (mswindows_fstat): Report file permissions, volume serial
4900 number, etc. Code adapted from FSF Emacs 20.7.
4902 2000-12-09 Dan Holmsand <dan@eyebee.com>
4904 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
4905 of stat when we don't have symbolic links, to make sure
4906 mswindows_stat is called on mswindows.
4908 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
4910 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
4912 2000-12-12 Martin Buchholz <martin@xemacs.org>
4914 * doprnt.c (emacs_doprnt_1): More printing fixes.
4915 Make printing of numbers compatible with libc and FSF Emacs.
4916 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
4917 Use the system printf to do most of the hard work of formatting,
4918 instead of doprnt_1().
4919 Calculate memory to allocate for format string.
4920 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
4921 (doprnt_1): Cleaner code and documentation.
4923 2000-12-01 Jerry James <james@eecs.ukans.edu>
4925 * Makefile.in.in: Use the loop variable to install headers.
4927 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4929 * window.c (Fsplit_window): Don't invalidate face cache.
4931 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4933 * minibuf.c (Fall_completions): Undo the previous change
4934 which removed checking elements start with space.
4936 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4938 * mule-canna.c: Didier suppression.
4940 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4942 * mule-canna.c: rename static unsigned char buf[] to key_buffer
4943 (warning suppression). Add English comment translations.
4945 2000-12-05 Martin Buchholz <martin@xemacs.org>
4947 * unexelfsgi.c (unexec): Better test for mmap failure.
4949 2000-12-05 Martin Buchholz <martin@xemacs.org>
4951 * XEmacs 21.2.38 is released.
4953 2000-12-05 Martin Buchholz <martin@xemacs.org>
4955 * redisplay.c (bar-cursor): Make a user variable.
4957 * symsinit.h: Add init_postgresql_from_environment.
4959 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4961 * regex.c: Convert to clean C.
4963 2000-12-05 Dan Holmsand <dan@eyebee.com>
4966 Don't #include sysfile.h. Revert to duplicating PATH_MAX
4968 (sys_readlink): renamed to system_readlink to avoid conflict with
4969 the other sys_readlink.
4971 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
4973 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
4975 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
4977 * postgresql.c (init_postgresql_from_environment): new function.
4978 (vars_of_postgresql): Move code initializing Lisp variables out and
4979 into init_postgresql_from_environment.
4980 emacs.c (main_1): Call init_postgresql_from_environment if and only
4981 if running a dumped XEmacs.
4983 2000-08-31 Dan Holmsand <dan@eyebee.com>
4985 * buffer.c: Make find-file-compare-truenames default to true on
4988 * realpath.c (win32_abs_start):
4990 (win32_readlink): New functions.
4991 (xrealpath): Return really real filenames on windows.
4993 * fileio.c (Ffile_truename): Make file-truename work on windows.
4995 2000-11-29 Didier Verna <didier@xemacs.org>
4997 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
4998 * faces.c (update_face_cachel_data): use it.
4999 * faces.c (add_face_cachel): use it. Complete background pixmap
5000 frobbing in face cache if `update_face_cachel_data' has not done so.
5002 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
5004 * search.c (string_match_1): Don't set last_thing_searched
5007 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
5009 * buffer.c: Include casetab.h
5010 (common_init_complex_vars_of_buffer): Use new case-table object.
5011 * buffer.h: Include casetab.h
5012 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
5013 (DOWNCASE_TABLE_OF): Ditto.
5014 * bufslots.h: Remove char-tables and add case-table.
5015 * casetab.c: Include casetab.h
5016 (CASE_TABLE_P): Removed.
5017 (mark_case_table): New function.
5018 (allocate_case_table): New function.
5019 (Fcase_table_p): Use new case-table.
5020 (case_table_char): New function.
5021 (Fget_case_table): Ditto.
5022 (Fput_case_table): Ditto.
5023 (Fput_case_table_pair): Ditto.
5024 (Fcopy_case_table): Ditto.
5025 (Fcurrent_case_table): Return case-table.
5026 (Fstandard_case_table): Return case-table.
5027 (Fset_case_table): Fix doc-string.
5028 (set_case_table): Use case-table
5029 (syms_of_casetab): DEFSUBR new functions.
5030 (complex_vars_of_casetab): Set up standard case-table.
5031 * casetab.h: New file.
5032 * editfns.c: Include casetab.h
5033 (Fcompare_buffer_substrings): Use case-table.
5034 * inline.c: Include casetab.h
5035 * lisp.h: Remove bogus extern.
5036 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
5037 * search.c: Include casetab.h
5038 (TRANSLATE_ASCII): Removed.
5039 (TRANSLATE): Unconditionally translate character.
5040 (looking_at_1): Use case-table.
5041 (string_match_1): Ditto.
5042 (fast_string_match): Ditto.
5043 (search_command): Ditto.
5044 (search_buffer): Separate boyer_moore. Check whether
5045 boyer_moore is possible.
5046 (simple_search): New function.
5047 (boyer_moore): Separated from search_buffer. Translate char.
5049 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
5051 * regex.c (RE_TR_ASCII): Removed.
5052 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
5053 (PATFETCH): Call PATFETCH_RAW.
5054 (PATFETCH_RAW): Fetch Emchar.
5055 (PATUNFETCH): Decrement charptr.
5056 (GET_BUFFER_SPACE): Rename b to buf_end.
5058 (BUF_PUSH_2): Ditto.
5059 (BUF_PUSH_3): Ditto.
5060 (EXTEND_BUFFER): Ditto.
5061 (SET_LIST_BIT): Ditto.
5062 (regex_compile): Ditto. Translate non ASCII char.
5063 (compile_range): Ditto.
5064 (re_search_2): Ditto.
5065 (re_match_2_internal): Compare Emchar.
5066 (bcmp_translate): Ditto.
5068 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
5070 * lisp.h (basic char/int typedefs): comment improvement.
5072 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
5074 * emacs.c (main_1): unconditional pdump unstomping; don't save and
5075 unstomp inhibit_site_lisp. Improve comments.
5077 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
5079 * mule-charset.c (Fcharset_property): improve type checking, comments.
5081 2000-11-28 Andy Piper <andy@xemacs.org>
5083 * redisplay-output.c (redisplay_output_subwindow): make sure we do
5084 clipped display for windows in the gutter also.
5085 (redisplay_display_boxes_in_window_p): change semantics of return
5086 codes to be more intuitive.
5088 * gutter.h: declare display_boxes_in_gutter_p.
5090 * gutter.c (display_boxes_in_gutter_p): new function for
5093 2000-11-22 Andy Piper <andy@xemacs.org>
5095 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
5098 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
5100 * callproc.c (Fold_call_process_internal):
5101 * gpm.c (Freceive_gpm_event):
5102 (tty_get_foreign_selection): Might be just warning supression.
5103 * fileio.c (Fwrite_region_internal):
5104 (Fset_visited_file_modtime):
5105 * keymap.c (event_matches_key_specifier_p):
5106 Initialize GCPROed variable.
5108 * menubar-x.c (command_builder_find_menu_accelerator):
5109 Initialize before use.
5111 2000-11-23 Andy Piper <andy@xemacs.org>
5113 * unexcw.c (unexec): make the resulting executable executable.
5115 2000-11-21 Martin Buchholz <martin@xemacs.org>
5117 * doc.c (get_doc_string):
5118 Use size_t, not int, for result of XSTRING_LENGTH.
5120 * cmds.c (Fdelete_char):
5121 * cmds.c (Fpoint_at_eol):
5122 * cmds.c (Fself_insert_command):
5123 Use EMACS_INT, not int, for result of XINT.
5124 Someday, someone will want to insert more than 2**31 identical characters.
5126 * cmds.c (Fdelete_char):
5127 * cmds.c (Fdelete_backward_char):
5128 * syntax.c (Fforward_word):
5129 * syntax.c (Fforward_comment):
5130 Make COUNT argument optional, for consistency with forward-char et al.
5132 2000-11-22 Martin Buchholz <martin@xemacs.org>
5135 * print.c (long_to_string):
5136 Return a useful value: the pointer at end of data written.
5139 Use `static const char * const' for constant strings.
5140 (union printf_arg): Delete `i', `ui' members.
5143 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
5144 Do all printf-ing via the `l' specifier.
5145 Use EMACS_INT instead of int.
5148 2000-11-20 Didier Verna <didier@xemacs.org>
5150 * faces.c (update_face_cachel_data): don't frob the background
5151 pixmap when the window is being created. The face is needed but
5154 2000-11-20 Andy Piper <andy@xemacs.org>
5156 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
5157 messing with a debug environment.
5159 2000-11-20 Martin Buchholz <martin@xemacs.org>
5161 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
5163 2000-11-20 Martin Buchholz <martin@xemacs.org>
5165 * casetab.c (Fcase_table_p): Fix compile error and crash.
5167 2000-11-18 Philip Aston <philipa@mail.com>
5169 * s/cygwin32.h: Cygwin has SVR4-like pty support.
5171 2000-11-18 Martin Buchholz <martin@xemacs.org>
5173 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
5174 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
5176 2000-11-17 Martin Buchholz <martin@xemacs.org>
5178 * config.h.in: Define HAVE_ELF_H if elf.h exists.
5179 * unexelf.c: Use HAVE_ELF_H.
5180 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
5181 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
5182 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
5183 Greg Harrington <greg_harrington@hotmail.com> provided a machine
5185 So this is an unexelfsgi.c from a different line of development.
5187 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5189 * regex.c (RE_TR_ASCII): New function.
5190 (RE_TRANSLATE): Call it.
5192 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5194 * buffer.h (TRT_TABLE_OF): Remove assert.
5195 (IN_TRT_TABLE_DOMAIN): Removed.
5197 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
5199 * free-hook.c (log_gcpro):
5200 (show_gcprohist): Add support for GCPRO5.
5202 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
5204 * emacs.c (main_1): Improve -sd error message when --pdump=no.
5206 2000-11-16 Olivier Galibert <galibert@xemacs.org>
5208 * symeval.h: Declare flush_all_buffer_local_cache.
5210 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
5211 (flush_buffer_local_cache): Added.
5212 (flush_all_buffer_local_cache): Added.
5214 * lrecord.h: Remove unused XD_LO_RESET_NIL.
5216 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
5217 (pdump_dump_data): Ditto.
5218 (pdump_reloc_one): Ditto.
5219 (pdump): Remove unused pdump_qnil. Flush buffer local caches
5223 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5225 * buffer.c: Remove if 0'ed entry.
5226 * buffer.h: Rewrite TRT to use char-table.
5227 * bufslots.h: Remove mirror tables.
5228 * casetab.c: Remove mirror tables.
5229 (CASE_TABLE_P): New macro.
5230 (Fcase_table_p): Element of a case table is string or char-table.
5231 (make_mirror_trt_table): Removed.
5232 (set_case_table): Setup char-table from strings for backward
5234 * dired.c (Fdirectory_files):
5235 * dired-msw.c: (mswindows_get_files):
5236 * lisp.h: Change prototype of re_pattern_buffer.
5237 * regex.c: (RE_TRANSLATE): New macro.
5238 (TRANSLATE_P): Ditto.
5239 Change translate to type RE_TRANSLATE_TYPE.
5240 * regex.h: Define RE_TRANSLATE_TYPE
5241 * search.c (TRANSLATE): New macro.
5242 (TRANSLATE_ASCII): New macro.
5243 Translate table is changed to Lisp_Object.
5244 (signal_failure): Inhibit return.
5246 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5253 Do UNGCPRO before return.
5255 2000-11-14 Martin Buchholz <martin@xemacs.org>
5257 * XEmacs 21.2.37 is released.
5259 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
5261 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
5262 Add comments about discarded return value.
5264 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
5267 * event-stream.c: Fix comments. Remove some #if 0'ed part.
5269 2000-10-27 Andy Piper <andy@xemacs.org>
5271 * gutter.c (Fset_default_gutter_position): default left and right
5273 (calculate_gutter_size): calculate resonable heuristic for left
5274 and right gutter sizes.
5275 (specifier_vars_of_gutter): change left and right gutter sizes to
5277 (calculate_gutter_size_from_display_lines): new function.
5278 (output_gutter): check for resizing on left and right gutters.
5279 (clear_gutter): don't special case top and left gutters.
5280 (specifier_vars_of_gutter): use new signature for
5281 set_specifier_caching.
5283 * glyphs-x.c (x_redisplay_widget): spelling fix.
5284 * glyphs.c (specifier_vars_of_glyphs):
5285 * menubar.c (specifier_vars_of_menubar):
5286 * redisplay.c (specifier_vars_of_redisplay):
5287 * toolbar.c (specifier_vars_of_toolbar):
5288 * window.c (specifier_vars_of_window):
5289 * scrollbar.c (specifier_vars_of_scrollbar):
5290 (complex_vars_of_scrollbar): use new signature for
5291 set_specifier_caching.
5293 * specifier.c (set_specifier_caching): include recompute flag.
5294 (recompute_one_cached_specifier_in_window): always recompute if
5296 (recompute_one_cached_specifier_in_frame): ditto.
5298 * specifier.h (struct specifier_caching): add recompute flag.
5300 2000-10-24 Andy Piper <andy@xemacs.org>
5302 * unexcw.c (copy_executable_and_dump_data_section): add new
5303 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
5306 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5308 * console-x.h (x_device): New member modifier_release_time.
5309 * event-Xt.c (x_handle_sticky_modifiers):
5310 Bound interval modifier keys are sticky.
5311 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
5312 * events.h: extern it.
5314 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5316 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
5318 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5320 * event-stream.c (execute_command_event): Preserve current_events
5321 and the like when event is misc-user-event.
5322 Inhibit quit during the call to maybe_echo_keys.
5324 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
5326 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
5327 symlink when buffer is killed.
5328 (inhibit_clash_detection): New variable.
5330 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5332 * console.c (Fset_input_method): Trigger redisplay on tty.
5334 2000-11-07 Martin Buchholz <martin@xemacs.org>
5336 * process.c (Fprocess_status): Revert to previous behavior:
5337 (process-status "nosuchprocess") ==> nil
5339 2000-11-06 Martin Buchholz <martin@xemacs.org>
5341 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
5342 Work around another GCC 2.95.2 optimizer bug.
5344 2000-11-02 Martin Buchholz <martin@xemacs.org>
5346 * process.c (Fget_process): Use LIST_LOOP_2.
5347 (kill_buffer_processes): Use LIST_LOOP_2.
5349 * minibuf.c (Fall_completions):
5350 Delete old non-functional code for FSF fourth argument.
5352 * frame.c (frame_matches_frame_spec):
5353 Renamed from `frame_matches_frametype'. Update all callers.
5354 (device_matches_device_spec):
5355 Renamed from 'device_matches_console_spec'. Update all callers.
5357 * doc.c (Fsubstitute_command_keys):
5358 Remove buffer overflow crash. Small code cleanups.
5360 * casetab.c (check_case_table): Simpler code.
5362 * window.c (Freplace_buffer_in_windows):
5363 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
5364 (and similar implementation) as Fdelete_windows_on.
5367 * alloc.c (Fmake_list):
5368 * alloc.c (make_vector):
5369 * alloc.c (Fmake_vector):
5370 * alloc.c (make_bit_vector):
5371 * alloc.c (Fmake_bit_vector):
5372 * alloc.c (Fbit_vector):
5373 * alloc.c (Fmake_string):
5374 * alloc.c (Fpurecopy):
5375 * alloc.c (Fmemory_limit):
5377 * buffer.c (Fget_buffer):
5378 * buffer.c (Fkill_buffer):
5379 * buffer.c (complex_vars_of_buffer):
5380 * bytecode.c (Fcompiled_function_stack_depth):
5381 * callint.c (Fprefix_numeric_value):
5383 * event-stream.c (Fread_key_sequence):
5385 * casetab.c (Fcase_table_p):
5386 * casetab.c (check_case_table):
5387 * casetab.c (Fset_case_table):
5388 * casetab.c (Fset_standard_case_table):
5390 * chartab.c (Fchar_table_type):
5391 * chartab.c (Freset_char_table):
5392 * chartab.c (Fget_char_table):
5393 * chartab.c (Fget_range_char_table):
5394 * chartab.c (Fput_char_table):
5395 * chartab.c (Fmap_char_table):
5396 * chartab.c (Fcategory_table_p):
5397 * chartab.c (Fcheck_category_at):
5398 * chartab.c (Fchar_in_category_p):
5399 * chartab.c (Fcategory_table):
5400 * chartab.c (Fcopy_category_table):
5401 * chartab.c (Fset_category_table):
5402 * chartab.c (Fcategory_designator_p):
5403 * chartab.c (Fcategory_table_value_p):
5404 * cmds.c (Fdelete_char):
5405 * cmds.c (Fdelete_backward_char):
5406 * cmds.c (Fself_insert_command):
5407 * cmds.c (Fself_insert_internal):
5408 * console.c (Fvalid_console_type_p):
5409 * console.c (Fcdfw_console):
5410 * console.c (Fconsole_type):
5411 * console.c (Fconsole_name):
5412 * console.c (Fconsole_device_list):
5413 * console.c (Fconsole_on_window_system_p):
5417 * data.c (Fsubr_interactive):
5418 * data.c (Fchar_to_int):
5419 * data.c (Fint_to_char):
5422 * data.c (Fnumber_to_string):
5423 * data.c (Fstring_to_number):
5425 * database.c (mark_database):
5426 * database.c (finalize_database):
5427 * database.c (Fdatabase_live_p):
5428 * database.c (Fdatabasep):
5429 * device-x.c (Fx_get_resource):
5430 * device.c (Fdfw_device):
5432 * dired.c (Ffile_name_completion):
5433 * dired.c (Ffile_name_all_completions):
5434 * dired.c (Fuser_name_completion):
5435 * dired.c (Fuser_name_completion_1):
5436 * dired.c (Fuser_name_all_completions):
5437 * doc.c (Fdocumentation):
5438 * doc.c (Fdocumentation_property):
5439 * doc.c (Fsubstitute_command_keys):
5441 * editfns.c (Fchar_to_string):
5442 * editfns.c (Fstring_to_char):
5443 * editfns.c (Ftemp_directory):
5444 * editfns.c (Finsert_char):
5445 * editfns.c (Fbuffer_substring_no_properties):
5446 * editfns.c (Fnarrow_to_region):
5447 * editfns.c (Fchar_equal):
5448 * editfns.c (Fchar_Equal):
5449 * editfns.c (Ftranspose_regions):
5450 * emacs.c (Fdump_emacs):
5452 * eval.c (Fcommand_execute):
5453 * eval.c (Fautoload):
5454 * eval.c (Fbacktrace):
5455 * eval.c (Fbacktrace_frame):
5457 * events.c (Fcopy_event):
5458 * events.c (Fcharacter_to_event):
5459 * events.c (Fevent_button):
5460 * events.c (Fevent_process):
5462 * extents.c (Fnext_extent_change):
5463 * extents.c (Fextent_property):
5465 * faces.c (Fmake_face):
5467 * file-coding.c (Fencode_shift_jis_char):
5468 * file-coding.c (Fencode_big5_char):
5469 * fileio.c (Ffile_name_directory):
5470 * fileio.c (Ffile_name_nondirectory):
5471 * fileio.c (Ffile_name_as_directory):
5472 * fileio.c (Fdirectory_file_name):
5473 * fileio.c (Ffile_truename):
5474 * fileio.c (Fsubstitute_in_file_name):
5475 * fileio.c (Ffile_modes):
5476 * fileio.c (Fset_file_modes):
5477 * fileio.c (Fset_default_file_modes):
5478 * fileio.c (Fverify_visited_file_modtime):
5479 * floatfns.c (Facos):
5480 * floatfns.c (Fasin):
5481 * floatfns.c (Fatan):
5482 * floatfns.c (Fcos):
5483 * floatfns.c (Fsin):
5484 * floatfns.c (Ftan):
5485 * floatfns.c (Fbessel_j0):
5486 * floatfns.c (Fbessel_j1):
5487 * floatfns.c (Fbessel_jn):
5488 * floatfns.c (Fbessel_y0):
5489 * floatfns.c (Fbessel_y1):
5490 * floatfns.c (Fbessel_yn):
5491 * floatfns.c (Ferf):
5492 * floatfns.c (Ferfc):
5493 * floatfns.c (Flog_gamma):
5494 * floatfns.c (Fexp):
5495 * floatfns.c (Fexpt):
5496 * floatfns.c (Flog):
5497 * floatfns.c (Flog10):
5498 * floatfns.c (Fsqrt):
5499 * floatfns.c (Fcube_root):
5500 * floatfns.c (Facosh):
5501 * floatfns.c (Fasinh):
5502 * floatfns.c (Fatanh):
5503 * floatfns.c (Fcosh):
5504 * floatfns.c (Fsinh):
5505 * floatfns.c (Ftanh):
5506 * floatfns.c (Fabs):
5507 * floatfns.c (Ffloat):
5508 * floatfns.c (Flogb):
5509 * floatfns.c (Fceiling):
5510 * floatfns.c (Ffloor):
5511 * floatfns.c (Fround):
5512 * floatfns.c (Ftruncate):
5513 * floatfns.c (Ffceiling):
5514 * floatfns.c (Fffloor):
5515 * floatfns.c (Ffround):
5516 * floatfns.c (Fftruncate):
5517 * fns.c (Fstring_equal):
5518 * fns.c (Fstring_lessp):
5523 * fns.c (Fsubstring):
5525 * fns.c (Fold_assoc):
5526 * fns.c (assoc_no_quit):
5528 * fns.c (Fold_assq):
5529 * fns.c (assq_no_quit):
5531 * fns.c (Fold_rassoc):
5533 * fns.c (Fold_rassq):
5534 * fns.c (rassq_no_quit):
5535 * fns.c (Fremassoc):
5536 * fns.c (remassoc_no_quit):
5538 * fns.c (remassq_no_quit):
5539 * fns.c (Fremrassoc):
5540 * fns.c (Fremrassq):
5541 * fns.c (remrassq_no_quit):
5543 * fns.c (Fplist_get):
5544 * fns.c (Fplist_put):
5545 * fns.c (Fplist_remprop):
5546 * fns.c (Fplist_member):
5547 * fns.c (Flax_plist_get):
5548 * fns.c (Flax_plist_put):
5549 * fns.c (Flax_plist_remprop):
5550 * fns.c (Flax_plist_member):
5552 * fns.c (Fold_equal):
5554 * fns.c (Fbase64_encode_region):
5555 * fns.c (Fbase64_encode_string):
5556 * fns.c (Fbase64_decode_region):
5558 * frame.c (frame_matches_frame_spec):
5559 * frame.c (device_matches_device_spec):
5560 * frame.c (next_frame):
5561 * frame.c (previous_frame):
5562 * frame.c (Fnext_frame):
5563 * frame.c (Fprevious_frame):
5564 * frame.c (Fframe_property):
5565 * frame.c (Fset_frame_height):
5566 * frame.c (Fset_frame_size):
5570 * glyphs.c (decode_error_behavior_flag):
5571 * glyphs.c (Fmake_image_instance):
5572 * indent.c (Findent_to):
5573 * intl.c (Fignore_defer_gettext):
5574 * keymap.c (Fkeymapp):
5575 * keymap.c (Flookup_key):
5577 * lread.c (Fload_internal):
5578 * lread.c (Feval_buffer):
5579 * lread.c (Feval_region):
5580 * macros.c (Fexecute_kbd_macro):
5581 * marker.c (set_marker_internal):
5582 * marker.c (Fset_marker):
5583 * marker.c (set_marker_restricted):
5584 * marker.c (Fcopy_marker):
5585 * marker.c (noseeum_copy_marker):
5587 * menubar.c (Fpopup_menu):
5589 * mule-charset.c (Fcharset_name):
5590 * mule-charset.c (Fchar_charset):
5591 * mule-charset.c (Fchar_octet):
5592 * mule-charset.c (Fsplit_char):
5593 * mule-wnnfns.c (Fwnn_open):
5594 * mule-wnnfns.c (Fwnn_dict_comment):
5595 * mule-wnnfns.c (Fwnn_quit_henkan):
5596 * mule-wnnfns.c (Fwnn_word_toroku):
5597 * mule-wnnfns.c (Fwnn_word_sakujo):
5598 * mule-wnnfns.c (Fwnn_word_use):
5599 * mule-wnnfns.c (Fwnn_hindo_set):
5601 * objects.c (Fmake_color_instance):
5602 * objects.c (Fmake_font_instance):
5603 * print.c (Fwrite_char):
5605 * process.c (mark_process):
5606 * process.c (print_process):
5607 * process.c (get_process_from_usid):
5608 * process.c (Fprocessp):
5609 * process.c (Fprocess_live_p):
5610 * process.c (Fget_process):
5611 * process.c (Fget_buffer_process):
5612 * process.c (get_process):
5613 * process.c (Fprocess_id):
5614 * process.c (Fprocess_name):
5615 * process.c (Fprocess_command):
5616 * process.c (init_process_io_handles):
5617 * process.c (start_process_unwind):
5618 * process.c (Fstart_process_internal):
5619 * process.c (Fopen_multicast_group_internal):
5620 * process.c (Fset_process_window_size):
5621 * process.c (read_process_output):
5622 * process.c (send_process):
5623 * process.c (Fprocess_tty_name):
5624 * process.c (Fset_process_buffer):
5625 * process.c (Fprocess_buffer):
5626 * process.c (Fprocess_mark):
5627 * process.c (set_process_filter):
5628 * process.c (Fset_process_filter):
5629 * process.c (Fprocess_filter):
5630 * process.c (Fprocess_send_region):
5631 * process.c (Fprocess_send_string):
5632 * process.c (exec_sentinel):
5633 * process.c (Fset_process_sentinel):
5634 * process.c (Fprocess_sentinel):
5635 * process.c (status_notify):
5636 * process.c (Fprocess_status):
5637 * process.c (Fprocess_exit_status):
5638 * process.c (process_send_signal):
5639 * process.c (Fprocess_send_eof):
5640 * process.c (deactivate_process):
5641 * process.c (remove_process):
5642 * process.c (Fdelete_process):
5643 * process.c (kill_buffer_processes):
5644 * process.c (Fprocess_kill_without_query):
5645 * process.c (Fprocess_kill_without_query_p):
5647 * rangetab.c (Fget_range_table):
5648 * rangetab.c (Fput_range_table):
5649 * rangetab.c (Fremove_range_table):
5650 * rangetab.c (Fclear_range_table):
5652 * search.c (Fskip_chars_forward):
5653 * search.c (Fskip_chars_backward):
5654 * search.c (Fskip_syntax_forward):
5655 * search.c (Fskip_syntax_backward):
5656 * search.c (search_command):
5657 * search.c (Freplace_match):
5658 * search.c (Fregexp_quote):
5659 * select.c (Fown_selection_internal):
5660 * select.c (Fselection_owner_p):
5661 * select.c (Fselection_exists_p):
5662 * select.c (Fget_selection_internal):
5665 * symbols.c (Fintern):
5666 * symbols.c (Fintern_soft):
5667 * symbols.c (Funintern):
5668 * symbols.c (Fapropos_internal):
5669 * symbols.c (Fset_default):
5671 * syntax.c (Fsyntax_table_p):
5672 * syntax.c (Fcopy_syntax_table):
5673 * syntax.c (Fset_syntax_table):
5674 * syntax.c (Fchar_syntax):
5675 * syntax.c (syntax_match):
5676 * syntax.c (Fmatching_paren):
5677 * syntax.c (Fforward_word):
5678 * syntax.c (scan_lists):
5679 * syntax.c (Fscan_lists):
5680 * syntax.c (Fscan_sexps):
5681 * syntax.c (Fparse_partial_sexp):
5682 * toolbar.c (Fcheck_toolbar_button_syntax):
5685 * window.c (Fwindowp):
5686 * window.c (Fwindow_live_p):
5687 * window.c (Fwindow_point):
5688 * window.c (Fdelete_window):
5689 * window.c (Fnext_window):
5690 * window.c (Fprevious_window):
5691 * window.c (Fother_window):
5692 * window.c (window_loop):
5693 * window.c (Fget_lru_window):
5694 * window.c (Fsplit_window):
5695 * window.c (Fenlarge_window):
5696 * window.c (Fenlarge_window_pixels):
5697 * window.c (Fshrink_window):
5698 * window.c (Fshrink_window_pixels):
5699 * window.c (change_window_height):
5700 * window.c (Fwindow_configuration_p):
5701 * window.c (Fcurrent_window_configuration):
5703 * casefiddle.c (casify_object):
5704 * casefiddle.c (Fupcase):
5705 * casefiddle.c (Fdowncase):
5706 * casefiddle.c (Fcapitalize):
5707 * casefiddle.c (Fupcase_initials):
5708 * casefiddle.c (casify_region_internal):
5709 * casefiddle.c (casify_region):
5710 * casefiddle.c (Fupcase_region):
5711 * casefiddle.c (Fdowncase_region):
5712 * casefiddle.c (Fcapitalize_region):
5713 * casefiddle.c (Fupcase_initials_region):
5714 * casefiddle.c (Fupcase_word):
5715 * casefiddle.c (Fdowncase_word):
5716 * casefiddle.c (Fcapitalize_word):
5717 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
5718 Replace 0 with '\0' when working with bytes.
5719 Replace initial "(" with "\(" in docstrings.
5721 2000-11-01 Martin Buchholz <martin@xemacs.org>
5723 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
5725 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
5727 2000-10-31 Martin Buchholz <martin@xemacs.org>
5729 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
5731 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5733 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
5736 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5738 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
5739 (inhibit_auto_save_session): New variable.
5740 (vars_of_fileio): Declare and initialize them.
5741 * fileio.c (Fdo_auto_save): Don't create session file if
5742 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
5744 2000-10-31 Martin Buchholz <martin@xemacs.org>
5746 * sgiplay.c (play_internal): C++ compilability.
5747 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
5748 * callproc.c (Fold_call_process_internal):
5749 Remove unused vars `env', `first'.
5750 * scrollbar.c (update_scrollbar_instance):
5751 #### unused var `current_window'.
5752 * redisplay-tty.c: Put currently unused vars insert_mode_on,
5753 etc. within #ifdef NOT_YET.
5754 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
5755 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
5756 * specifier.c (specifier_instance):
5757 #### unused var `tag'.
5758 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
5760 2000-10-27 Martin Buchholz <martin@xemacs.org>
5763 * fns.c (list_sort):
5764 * fns.c (Ffillarray):
5765 * fns.c (bytecode_nconc2):
5768 * fns.c (Fmapconcat):
5769 Be pedantically 64-bit correct. For the time when someone will
5770 want to have a list with length > 2**32.
5772 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
5773 Work around MIPSpro compiler bug.
5775 * process-unix.c (unix_kill_child_process): Add snarky comment.
5776 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
5778 * config.h.in: Oops, _getpt ==> _getpty
5780 2000-10-26 Martin Buchholz <martin@xemacs.org>
5784 Use void*, not char*, as return type of alloca().
5786 * alloc.c (free_marker): Side effect inside assert expression!
5788 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
5790 * mule-charset.c (Fset_charset_ccl_program): To check
5791 if the given ccl program is valid, use setup_ccl_program()
5792 instead of CHECK_VECTOR().
5793 (Fmake_charset): Likewise.
5795 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
5797 * faces.c (get_extent_fragment_face_cache_index):
5798 Fix cachel.merged_faces memory leak.
5800 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
5802 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
5803 Reset MSB of octets obtained by DECODE_SJIS
5804 because of the incompatibility with Emacs.
5805 (ccl_driver)<CCL_ENCODE_SJIS>:
5806 Set MSB of octets before passing them to
5807 ENCODE_SJIS because of the incompatibility
5810 2000-10-18 Daiki Ueno <ueno@unixuser.org>
5812 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
5813 (DECLARE_LRECORD): Undo the last change.
5814 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
5816 2000-10-17 Daiki Ueno <ueno@unixuser.org>
5818 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
5819 the implementation to lrecord_implementations_table.
5821 2000-10-14 Daiki Ueno <ueno@unixuser.org>
5823 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
5824 initial value of `lrecord_type_##c_name' and
5825 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
5826 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
5827 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
5828 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
5829 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
5831 2000-10-17 Martin Buchholz <martin@xemacs.org>
5833 * miscplay.c (sndcnv8S_2mono):
5834 (sndcnv2monounsigned):
5835 (sndcnvULaw_2linear):
5837 Remove implementation-defined behavior.
5839 2000-10-12 Martin Buchholz <martin@xemacs.org>
5841 * input-method-xlib.c: Warning suppression.
5843 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
5845 * mule-ccl.c: Sync up with Emacs 21.0.90.
5846 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
5848 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
5850 (ccl_driver[WriteMultibyteChar2]): Bug fix.
5851 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
5852 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
5853 leading char belongs to official 2-dimensional charset.
5854 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
5855 write the given character as is. Otherwise,
5856 if it is a multibyte char, convert it by
5857 non_ascii_set_charptr_emchar, then write it.
5858 (CCL_WRITE_STRING): Likewise.
5859 (ccl_get_compiled_code): New function.
5860 (setup_ccl_program): When ccl_prog is invalid,
5862 (Fregister_code_conversion_map): New function.
5863 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
5865 * mule-ccl.h: Sync up with Emacs 21.0.90.
5866 (Fregister_ccl_program): export it.
5868 * redisplay-msw.c (separate_textual_runs):
5869 If ccl program is not valid, don't do ccl conversion.
5871 * redisplay-x.c (separate_textual_runs): Ditto.
5873 * file-coding.c (Fmake_coding_system):
5874 When type is ccl and value is vector, register it
5875 with a proper symbol. And checks whether the
5876 given ccl program is valid.
5877 (mule_decode): When calling ccl_driver, if src indicates
5878 NULL pointer, set an empty string instead.
5879 (mule_encode): Likewise.
5881 2000-10-11 Martin Buchholz <martin@xemacs.org>
5883 The following large batch of changes gets us back to a state of
5884 C++ compilability. Extbyte is now a char, which means that
5885 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
5887 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
5889 * sound.c (Fplay_sound): Type correctness.
5891 * select-x.c (hack_motif_clipboard_selection): Type correctness.
5892 (x_get_window_property): Type correctness.
5893 (receive_incremental_selection): unsigned char ==> Extbyte
5894 (selection_data_to_lisp_data): unsigned char ==> Extbyte
5895 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
5896 (Fx_store_cutbuffer_internal): Type correctness.
5898 * process-unix.c (try_to_initialize_subtty): Type correctness.
5900 * objects-x.c (x_print_color_instance): Type correctness.
5901 (x_print_font_instance): Type correctness.
5902 (x_list_fonts): SExtbyte ==> Extbyte.
5903 (valid_x_font_name_p): SExtbyte ==> Extbyte.
5904 (x_find_charset_font): SExtbyte ==> Extbyte.
5905 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
5906 (truename_via_XListFonts): SExtbyte ==> Extbyte.
5907 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
5910 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
5911 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
5912 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
5913 (BYTE_C0_P): Use bit ops for char-signedness safety.
5914 (BYTE_C1_P): Use bit ops for char-signedness safety.
5915 (CHARSET_BY_LEADING_BYTE):
5916 (CHARSET_BY_ATTRIBUTES):
5917 Always use inline function.
5918 Use type_checking_assert.
5921 * mule-charset.c (non_ascii_charptr_copy_char):
5922 Modify to work with both ASCII and non-ASCII characters.
5923 Improve docs and variable names.
5924 Replace over-clever fall-through switch with a simple loop.
5925 (Lstream_get_emchar_1):
5926 Replace over-clever fall-through switch with a simple loop.
5928 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5929 Warning suppression.
5931 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
5932 the return value of Lstream_getc, which could be EOF as well.
5934 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
5936 * lisp.h: Make Extbyte a char, not unsigned char, so that external
5937 APIs can be used on Extbytes without casts. Risky!
5941 * input-method-xlib.c (XIM_init_device):
5942 Use Xlib.h instead of IntrinsicP.h.
5943 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
5944 which will break in X11R7.
5945 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
5946 to call XRegisterIMInstantiateCallback with correct types.
5948 * gui-x.c (button_item_to_widget_value): Type correctness.
5950 * glyphs.c (bitmap_to_lisp_data): Type correctness.
5952 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
5953 (xbm_instantiate_1): Type correctness.
5954 (BUILD_GLYPH_INST): Type correctness.
5956 * fileio.c (Fsubstitute_in_file_name): Type correctness.
5959 (decode_coding_sjis):
5960 (decode_coding_big5):
5961 (decode_coding_ucs4):
5962 (decode_coding_utf8):
5963 (decode_coding_iso2022):
5964 (decode_coding_no_conversion):
5965 Make all decoding functions take an Extbyte * arg.
5966 (encode_coding_sjis):
5967 (encode_coding_big5):
5968 (encode_coding_ucs4):
5969 (encode_coding_utf8):
5970 (encode_coding_iso2022):
5971 (encode_coding_no_conversion):
5972 Make all encoding functions take a Bufbyte * arg.
5973 Use size_t instead of unsigned int for memory sizes.
5974 Only cast to unsigned char whenever dereferencing Extbyte *.
5976 * doc.c (unparesseuxify_doc_string): Type correctness.
5978 * console-x.c (split_up_display_spec):
5979 Rewrite without using details of internal string representation.
5980 (x_semi_canonicalize_device_connection): Type correctness.
5983 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
5984 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
5985 (HAVE_XFREE386): Removed.
5987 * buffer.h (DEC_CHARPTR): `const' correctness.
5988 (bufbyte_strcmp): New.
5989 (bufbyte_memcmp): New.
5991 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
5993 * buffer.h (XCHAR_OR_CHAR_INT):
5994 Always use inline function.
5995 Remove redundant type checking assert() - XINT will abort quite nicely.
5997 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
5999 * search.c (Freplace_match): Set newtext to an empty string.
6001 2000-10-10 Martin Buchholz <martin@xemacs.org>
6003 * s/decosf1-3.h: Remove #include of stropts.h
6004 * s/ptx.h: Remove #include of stropts.h
6005 * s/usg5-4.h: Remove #include of stropts.h
6008 Use stropts.h, not sys/stropts.h.
6009 Use strtio.h, not sys/strtio.h.
6011 2000-10-04 Martin Buchholz <martin@xemacs.org>
6013 * XEmacs 21.2.36 is released.
6015 2000-09-21 Andy Piper <andy@xemacs.org>
6017 * glyphs-x.c (x_redisplay_widget): make sure non-structural
6018 changes still involve copying the widget tree.
6019 (update_widget_face): make sure a change is register in the widget
6020 tree. Call update_tab_widget_face appropriately.
6021 (update_tab_widget_face): ditto.
6022 (x_tab_control_redisplay): make sure non-structural changes still
6023 involve copying the widget tree.
6025 2000-08-31 Daiki Ueno <ueno@unixuser.org>
6027 * lread.c (locate_file): Check the path element is non-nil.
6029 2000-10-02 Martin Buchholz <martin@xemacs.org>
6031 * lisp.h: Warning suppression for SCO compilers.
6033 * redisplay-tty.c (reset_tty_modes): Fix crash.
6034 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
6036 2000-09-27 Martin Buchholz <martin@xemacs.org>
6038 Big signal/process handling overhaul. Bugs fixed:
6039 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
6040 M-x comint-kill-subjob should work for both values nil and t of
6041 process-connection-type. It was broken on most platforms.
6042 Testing on Irix and Cygwin still needed. Other plaforms tested.
6043 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
6044 * process-unix.c: Signal/Process handling overhaul.
6045 (pty_name): make 64 bytes, as `expect' does, for paranoia.
6046 (allocate_pty): Use all available modern methods of allocating
6047 ptys, falling back to old style BSD allocation as a last resort.
6048 Use allegedly more secure Unix98 pty allocation by default.
6049 (allocate_pty_the_old_fashioned_way): New. the last resort.
6050 (unix_create_process): Push ptem, ldterm, ttcompat where
6051 available. Autoconfiscate.
6052 (try_to_initialize_subtty): New.
6053 (unix_kill_child_process): Proper signal handling for ptys on most
6054 platforms, using special knowledge of AIX, BSD, etc...
6055 (unix_create_process): Always disconnect_controlling_terminal() for
6056 subprocesses, whether using ptys or not.
6057 * process.h: Remove old getpt-dependent PTY code.
6058 * process.c (Fprocess_send_signal): New, obvious generic function.
6059 (decode_signal): New.
6060 (Finterrupt_process):
6064 (Fcontinue_process):
6065 (Fsignal_process): Use decode_signal.
6066 (process_send_signal):
6067 Many docstring corrections.
6068 Allow any signal to be sent to a process object.
6069 * config.h.in: Add symbols for big signal/process overhaul.
6070 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
6071 * sysproc.h: Include process-related headers, where available:
6072 sys/stropts.h sys/strtio.h pty.h libutil.h
6080 Remove old S&M pty stuff.
6081 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
6082 * systty.h: Simplify cpp hackery, improve comments.
6083 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
6085 * editfns.c (Fformat_time_string):
6086 Be a little more paranoid with the return value of ctime.
6088 * fileio.c (check_executable):
6090 Use symbolic constants X_OK, W_OK.
6092 * console-x.c (split_up_display_spec): Fix a warning.
6094 2000-10-02 Martin Buchholz <martin@xemacs.org>
6096 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
6097 * ntproc.c (sys_spawnve): make_string ==> build_string
6098 Small clarity improvements.
6100 2000-09-30 Martin Buchholz <martin@xemacs.org>
6102 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
6104 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
6106 * config.h.in (HAVE_STRCASECMP): Remove.
6108 2000-09-29 Martin Buchholz <martin@xemacs.org>
6110 * redisplay-output.c (redisplay_output_pixmap):
6111 Cleaner and possibly more 64-bit correct code.
6113 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
6115 * dumper.c (pdump_load_finish): move restoration of
6116 `noninteractive1' to emacs.c (main_1).
6117 * emacs.c (main_1): protect LISP-visible command-line flags
6120 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
6122 * Makefile.in.in (versionclean): Use EXE_TARGET and
6123 DUMP_TARGET instead of literal program names.
6125 2000-09-20 Martin Buchholz <martin@xemacs.org>
6127 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
6129 2000-09-19 Martin Buchholz <martin@xemacs.org>
6131 * *: Spelling mega-patch
6133 2000-09-19 Martin Buchholz <martin@xemacs.org>
6135 * fns.c (bad_bad_turtle):
6136 Delete "Eek!" comment, since we fixed the bug to which it refers.
6138 2000-09-16 Martin Buchholz <martin@xemacs.org>
6140 * alloca.c: Replace REGISTER with register.
6142 2000-09-16 Daiki Ueno <ueno@unixuser.org>
6144 * file-coding.c (ucs_to_char): Use countof.
6146 2000-09-16 Martin Buchholz <martin@xemacs.org>
6148 * file-coding.c: (ucs_to_char):
6149 (complex_vars_of_file_coding):
6150 Use countof instead of sizeof.
6151 Use CHECK_NATNUM instead of CHECK_INT.
6153 * sysdep.c (strcasecmp): Remove.
6154 * device-x.c (ascii_strcasecmp): New.
6155 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
6156 Avoid using non-standard non-portable strcasecmp.
6158 2000-09-16 Martin Buchholz <martin@xemacs.org>
6160 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
6161 * font-lock.c: remove reference to emacsfns.h.
6162 * search.c: small doc improvement.
6163 * event-Xt.c: correct file names in comments.
6164 * console-x.h Correct file names in comments.
6165 * frame.c: Correct file names in comments.
6166 * event-stream.c: remove Energize from comments.
6168 2000-09-15 Martin Buchholz <martin@xemacs.org>
6170 * symeval.h (DEFERROR_STANDARD):
6173 (DEFSYMBOL_NO_DUMP):
6174 (DEFSYMBOL_MULTIWORD_PREDICATE):
6175 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
6177 The construct &##name is not sensible C.
6178 Fixes compilation errors with Unixware native compiler.
6180 2000-09-14 Martin Buchholz <martin@xemacs.org>
6182 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
6183 (next_frame_internal): Removed. We now just have next_frame.
6185 Write a simpler and cleaner one-pass algorithm.
6186 Remove called_from_delete_device arg and #ifdefed-out code.
6188 Renamed from prev_frame. Update callers.
6189 Cleaned up to have an analogous implementation to next_frame.
6190 (other_visible_frames_internal): Remove the
6191 called_from_delete_device bogus arg, and hence, remove this
6192 function. Just use other_visible_frames().
6194 * window.c (Fnext_window):
6196 Since next_frame() is guaranteed to return a frame, remove check
6197 for nil inserted in previous patch.
6200 Make code look more like Fnext_window.
6202 Respect the `console' arg when iterating through windows.
6203 Fixes bug: (get-buffer-window buffer t device) not respecting
6205 This function needs more work, as others have pointed out.
6207 * frame.h: Rename prev_frame to previous_frame.
6208 device_matches_console_spec no longer takes a `frame' arg.
6213 Use EMACS_BLOCK_SIGNAL instead of sigblock.
6214 From "Golubev I. N." <gin@mo.msk.ru>.
6216 * make-src-depend: Fix typo.
6218 2000-09-13 Martin Buchholz <martin@xemacs.org>
6220 * window.c (Fnext_window):
6221 next_frame() might return nil, not a frame.
6223 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6225 * frame.c (next_frame_internal):
6226 We've passed a frame if we've passed its device.
6228 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6229 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
6231 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6233 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6234 Allow option to suppress accelerators in menu/dialog items.
6235 (populate_or_checksum_helper): Pass dialog title through above.
6237 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
6239 * event-msw.c (mswindows_key_to_emacs_keysym):
6240 Add "pause" key, fix "menu" key.
6242 2000-09-09 Martin Buchholz <martin@xemacs.org>
6244 * eval.c (reinit_vars_of_eval):
6245 Increase max_lisp_eval_depth to 1000,
6246 required for thai-xtis.el to byte-compile under some circumstances.
6248 2000-09-04 Martin Buchholz <martin@xemacs.org>
6250 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
6253 2000-09-01 Martin Buchholz <martin@xemacs.org>
6255 * make-src-depend: Make the generated Makefiles smaller.
6257 * s/hpux.h (SETUP_SLAVE_PTY):
6258 Provide a %d in the format string for the errno argument.
6260 * editfns.c (Ftemp_directory):
6262 Avoid buffer overrun on very long file name.
6264 * input-method-xlib.c (XIM_init_device):
6265 6th parameter of XRegisterIMInstantiateCallback has different
6266 pointer types on different OSes, so simply cast to (void *).
6268 * unexhp9k800.c: Warning fixes. Fiddly changes.
6270 * sysdll.c (dll_open):
6271 shl_load will hang hard if passed a NULL filename.
6272 Simply return NULL for compatibility with dlopen.
6273 * sysdll.c: Conform to XEmacs coding standards.
6275 * sysdep.c (get_pty_max_bytes):
6276 Support pty input lines longer than 512 bytes on HP-UX 10.20.
6278 2000-08-31 Martin Buchholz <martin@xemacs.org>
6280 * tooltalk.c: Add #include <syssignal.h>
6282 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
6284 * s/hpux.h: Don't use undefined function sigunblock().
6286 2000-08-31 Martin Buchholz <martin@xemacs.org>
6288 * config.h.in: Add HAVE_BALLOON_HELP.
6289 * emacs.c: Use HAVE_BALLOON_HELP.
6290 * Makefile.in.in (x_objs):
6291 Make Balloon Help conditional on finding shape.h.
6293 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
6295 * syntax.c (regex_emacs_buffer_p): New variable.
6296 * syntax.h (regex_emacs_buffer_p): extern.
6297 * search.c (looking_at_1):
6299 (fast_string_match):
6300 (search_buffer): Set regex_emacs_buffer_p.
6301 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
6302 when before_dot, at_dot, after_dot.
6304 2000-08-23 Andy Piper <andy@xemacs.org>
6306 * gui-x.c (popup_selection_callback): Only set action_occurred
6307 when we really have an image instance.
6308 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
6310 2000-08-23 Andy Piper <andy@xemacs.org>
6312 * gui-msw.c (mswindows_handle_gui_wm_command): set
6314 * gui-x.c (popup_selection_callback): ditto.
6316 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
6317 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
6318 (struct Lisp_Image_Instance): add action_occurred flag.
6320 * glyphs.c (redisplay_subwindow): use action_occurred flag.
6321 (image_instance_changed): ditto.
6322 (reset_frame_subwindow_instance_cache): only unmap windows - do
6323 not remove them from the cache also.
6325 * glyphs-widget.c (tab_control_update): better debug.
6326 (progress_gauge_update): ditto.
6327 (layout_update): ditto.
6328 (layout_instantiate): ditto.
6329 (tab_control_order_only_changed): cope with null pending items.
6331 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
6332 debug. Force selection of an item when an action occurred. Cope
6333 with null pending_items.
6334 (mswindows_progress_gauge_redisplay): better debug.
6335 * glyphs-x.c (x_tab_control_redisplay): ditto.
6337 * redisplay.c (redisplay_frame): reset the frame cache if the
6340 * window.c (Fset_window_configuration): potentially re-enable
6342 (window_unmap_subwindows): need to finalize instances here since
6343 it is only used in mark_window_as_deleted.
6345 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
6347 * nas.c (SndOpenDataForReading):
6348 nas.c (WaveOpenDataForReading):
6349 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
6350 Somehow escaped from the 2000-08-14 patch.
6352 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6354 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
6355 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
6357 2000-08-21 Andy Piper <andy@xemacs.org>
6359 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
6360 window if it is not already displayed.
6362 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
6363 it is not already displayed.
6365 * window.c (Fset_window_configuration): don't reset the frame
6368 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
6369 instances from the frame cache if we are actually finalizing them.
6370 (reset_frame_subwindow_instance_cache): reset frame cache only
6371 after unmapping everything.
6372 (map_subwindow): set displayed flag after mapping.
6374 2000-08-21 Martin Buchholz <martin@xemacs.org>
6376 * data.c (indirect_function):
6377 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
6379 * eval.c (function_argcount):
6380 Use original function when signaling errors.
6382 2000-08-18 Andy Piper <andy@xemacs.org>
6384 * frame.c (delete_frame_internal): use new
6385 free_frame_subwindow_instances name.
6387 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
6388 (add_tab_item): make return type correct.
6389 (mswindows_tab_control_instantiate): assert index of tab.
6390 (mswindows_tab_control_redisplay): Re-code to use
6391 gui_item_equal_sans_selected and gui_item_list_find_selected.
6393 * glyphs-widget.c (tab_control_update): Correct comment.
6395 * window.c (window_unmap_subwindows): use new
6396 unmap_subwindow_instance_cache_mapper.
6397 (window_unmap_subwindows_cache_mapper): deleted.
6398 (Fset_window_configuration): comparisons should now be with
6399 EQ. Preserve the subwindow instance cache across configuration
6401 (allocate_window): ditto.
6402 (make_dummy_parent): ditto.
6404 * glyphs.c (free_frame_subwindow_instances): rename from
6405 free_frame_subwindow_instance_cache. finalize all instances rather
6406 than just those in the display cache.
6407 (finalize_all_subwindow_instances): walk windows unmapping and
6408 finalizing subwindows.
6409 (unmap_subwindow_instance_cache_mapper): moved from
6410 window.c. Allow finalization as well as unmapping.
6412 * gui.c (gui_item_list_find_selected): new function.
6414 * gui.h (gui_item_list_find_selected): declare.
6416 * glyphs-x.c (x_tab_control_redisplay): pick tab
6417 explicitly. Re-code to use gui_item_equal_sans_selected and
6418 gui_item_list_find_selected.
6420 * glyphs-x.h: add lwlib-utils.h
6422 * buffer.c (Frecord_buffer): undo previous change.
6424 2000-08-09 Vin Shelton <acs@xemacs.org>
6426 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
6427 possible. Create temporary files more securely. The patch was
6428 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
6429 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
6430 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
6433 2000-08-07 Ben Wing <ben@xemacs.org>
6435 * getloadavg.c: remove duplicate (and windows-breaking)
6436 includes of fcntl.h and sys/file.h.
6438 * nt.c: remove duplicate getloadavg() definition.
6440 * sysdll.h (Qdll_filename_encoding): add missing stand-in
6443 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
6445 * eval.c (function_argcount): If function needs to be autoloaded
6446 actually use the loaded definition.
6449 2000-08-05 Ben Wing <ben@xemacs.org>
6451 * getloadavg.c: add prototype for getloadavg(). remove
6452 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
6453 of the code). remove duplicate header includes.
6455 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
6457 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
6458 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
6459 useful load average.
6461 * alloc.c (reinit_alloc_once_early): removed references to
6462 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
6463 the lisp vars are the only things referencing the malloc_sbrk_*
6464 vars, and they were already if 0'd out. these vars only exist
6465 in the older malloc.c, which is basically unused, and they're
6466 only for informational purposes.
6468 * m\*.h: removed useless VIRT_ADDR_VARIES.
6470 * m\powerpc.h: removed stray NO_ARG_ARRAY.
6472 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
6474 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
6475 color if the image is a mono pixmap.
6477 2000-07-30 Ben Wing <ben@xemacs.org>
6479 * Makefile.in.in (release):
6482 * buffer.c (directory_is_current_directory):
6483 * dired-msw.c (mswindows_get_files):
6485 * dired.c (Fdirectory_files):
6486 * dired.c (file_name_completion_stat):
6487 * dired.c (Ffile_attributes):
6488 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
6489 preprocessor tricks, to avoid problems on some machines
6492 * callproc.c (egetenv): GC docs.
6495 * console-msw.h (struct mswindows_dialog_id):
6496 * lrecord.h (lrecord_type):
6497 New object for use with MSW dialogs.
6499 * console.h (struct console_methods):
6500 New enable/disable frame methods, for proper modal dialogs.
6502 * device-msw.c (msprinter_default_printer): Fix to follow
6503 proper Mule conventions.
6506 * device-msw.c (signal_open_printer_error):
6507 * device-msw.c (msprinter_init_device):
6508 * device-msw.c (ensure_not_printing):
6509 * device-msw.c (plist_get_margin):
6510 * device-msw.c (Fmsprinter_select_settings):
6511 * device-msw.c (finalize_devmode):
6512 * device-msw.c (Fmsprinter_settings_despecialize):
6513 * device-msw.c (signal_enum_priner_error):
6514 * extents.c (decode_extent):
6515 * extents.c (decode_map_extents_flags):
6516 * extents.c (decode_extent_at_flag):
6517 * extents.c (Fextent_at):
6518 * extents.c (Fextents_at):
6519 * extents.c (symbol_to_glyph_layout):
6520 [[[[2]]]] Use structured errors.
6523 * dialog-msw.c (mswindows_is_dialog_msg):
6524 * dialog-msw.c (mark_mswindows_dialog_id):
6525 * dialog-msw.c (dialog_proc):
6526 * dialog-msw.c (handle_question_dialog_box):
6527 * dialog-msw.c (syms_of_dialog_mswindows):
6528 Define new object to clean up marking; use it as a dialog identifier.
6529 Call new delete-dialog-box-hook.
6531 * dialog-x.c (dbox_selection_callback):
6532 * dialog-x.c (dbox_descriptor_to_widget_value):
6533 * dialog-x.c (x_make_dialog_box_internal):
6534 Call new delete-dialog-box-hook.
6538 * dialog.c (syms_of_dialog):
6539 * dialog.c (vars_of_dialog):
6540 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
6543 * eval.c (signal_call_debugger):
6544 when noninteractive, output stack traces on the console instead
6545 of in a (never-seen) buffer.
6547 * eval.c (signal_type_error):
6548 * eval.c (invalid_argument_2):
6550 new funs for use w/structured errors.
6553 * event-Xt.c (x_to_emacs_keysym):
6554 * event-Xt.c (describe_event):
6555 * event-Xt.c (emacs_Xt_event_handler):
6556 * event-Xt.c (vars_of_event_Xt):
6558 * event-msw.c (mswindows_wnd_proc):
6559 * event-msw.c (vars_of_event_mswindows):
6560 rename {x,mswindows}-debug-events to debug-{}-events for
6561 consistency with other debug-foo variables.
6564 document next-event more clearly.
6566 * fileio.c (Ffile_name_directory):
6567 * fileio.c (Ffile_name_nondirectory):
6568 * fileio.c (Funhandled_file_name_directory):
6569 * fileio.c (file_name_as_directory):
6570 * fileio.c (Ffile_name_as_directory):
6571 * fileio.c (directory_file_name):
6572 * fileio.c (Fdirectory_file_name):
6573 * fileio.c (Fmake_temp_name):
6574 * fileio.c (Ffile_truename):
6575 * fileio.c (Fsubstitute_in_file_name):
6576 * fileio.c (expand_and_dir_to_file):
6577 * fileio.c (barf_or_query_if_file_exists):
6578 * fileio.c (check_executable):
6579 * fileio.c (Ffile_exists_p):
6580 * fileio.c (Ffile_writable_p):
6581 * fileio.c (Ffile_directory_p):
6582 * fileio.c (Ffile_regular_p):
6583 * fileio.c (Ffile_modes):
6584 * fileio.c (Ffile_newer_than_file_p):
6585 * fileio.c (Fverify_visited_file_modtime):
6586 * fileio.c (Fset_visited_file_modtime):
6587 * fileio.c (auto_save_1):
6592 * frame-msw.c (mswindows_init_frame_1):
6593 * frame-msw.c (mswindows_enable_frame):
6594 * frame-msw.c (error_frame_unsizable):
6595 * frame-msw.c (msprinter_init_frame_1):
6596 * frame-msw.c (msprinter_init_frame_3):
6597 * frame-msw.c (console_type_create_frame_mswindows):
6599 implement new enable/disable frame methods.
6602 * frame-x.c (x_enable_frame):
6603 * frame-x.c (console_type_create_frame_x):
6604 implement new enable/disable frame methods.
6607 * frame.c (Fdisable_frame):
6608 * frame.c (syms_of_frame):
6609 * frame.h (struct frame):
6610 implement new enable/disable frame methods/functions.
6615 * glyphs-msw.c (mswindows_widget_instantiate):
6616 comment that initial-focus should be implemented.
6619 * glyphs-widget.c (check_valid_instantiator):
6620 * glyphs-widget.c (check_valid_orientation):
6621 * glyphs-widget.c (check_valid_tab_orientation):
6622 * glyphs-widget.c (check_valid_justification):
6623 * glyphs-widget.c (check_valid_border):
6624 * glyphs-widget.c (check_valid_callback):
6625 * glyphs-widget.c (check_valid_int_or_function):
6626 * glyphs-widget.c (check_valid_string_or_vector):
6627 * glyphs-widget.c (check_valid_item_list_1):
6628 * glyphs-widget.c (widget_validate):
6629 * glyphs-widget.c (combo_box_validate):
6630 * glyphs-widget.c (widget_instantiate):
6631 * glyphs-widget.c (syms_of_glyphs_widget):
6632 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
6633 * glyphs-widget.c (image_instantiator_combo_box):
6634 * glyphs-widget.c (image_instantiator_scrollbar):
6635 * glyphs-widget.c (image_instantiator_tab_control):
6636 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
6638 support (unimplemented) keyword initial-focus.
6639 reindent long macros.
6641 * glyphs-x.c (x_redisplay_widget):
6642 * glyphs-x.c (x_button_instantiate):
6643 * glyphs-x.c (x_button_redisplay):
6644 * glyphs-x.c (x_progress_gauge_instantiate):
6645 * glyphs-x.c (x_edit_field_instantiate):
6646 * glyphs-x.c (x_combo_box_instantiate):
6647 * glyphs-x.c (x_tab_control_instantiate):
6648 * glyphs-x.c (x_label_instantiate):
6650 * gui-x.c (button_item_to_widget_value):
6651 * gui-x.c (gui_items_to_widget_values_1):
6652 * gui-x.c (gui_item_children_to_widget_values):
6653 * gui-x.c (gui_items_to_widget_values):
6655 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6656 add new flag to gui-parsing routines to indicate whether
6657 accelerator specs should be supported.
6659 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
6661 * glyphs.h (struct Lisp_Image_Instance):
6662 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
6663 add initial-focus flag.
6666 * gui.c (syms_of_gui):
6667 * gui.c (vars_of_gui):
6668 clean up menu-no-selection-hook.
6671 support delete-dialog-box-hook.
6673 * lread.c (Fload_internal):
6674 * lread.c (locate_file_in_directory_mapper):
6678 * lrecord.h (struct toolbar_button):
6679 * lrecord.h (syms_of_toolbar):
6680 document how to create a new object.
6682 * menubar-msw.c (mswindows_char_is_accelerator):
6683 may be called on frames w/o menus.
6685 * menubar.c (vars_of_menubar):
6686 clean up :filter docs.
6693 * process-nt.c (validate_signal_number):
6694 * process-nt.c (signal_cannot_launch):
6695 * process-nt.c (nt_create_process):
6696 * process-nt.c (nt_send_process):
6697 * process-nt.c (nt_kill_child_process):
6698 * process-nt.c (nt_open_network_stream):
6699 * process-nt.c (syms_of_process_nt):
6701 delete quote-handling. call new lisp code that does it better.
6703 * process-unix.c (connect_to_file_descriptor):
6704 * process-unix.c (allocate_pty):
6705 * process-unix.c (unix_send_process):
6706 * process-unix.c (unix_kill_child_process):
6707 * process-unix.c (unix_open_network_stream):
6708 * process-unix.c (unix_open_multicast_group):
6712 * process.c (Fstart_process_internal):
6713 (2). need to canonicalize process path even if absolute.
6715 * select-msw.c (symbol_to_ms_cf):
6716 * select-msw.c (ms_cf_to_symbol):
6717 * select-msw.c (cf_is_autofreed):
6718 * select-msw.c (mswindows_destroy_selection):
6720 * select.c (syms_of_select):
6722 support dibv5, fix bugs. (from Mike Alexander)
6724 * select.c (Fget_selection_internal):
6725 * select.c (select_convert_out):
6728 * sysdep.c (xemacs_stat):
6733 but keep original stat() here because we provide encapsulation
6737 * sysfile.h (fstat):
6738 remove stat garbage.
6742 don't include tchar.h. it's inappropriate because it makes
6743 compile-time distinctions when we want runtime distinctions.
6744 (we provide our own tchar replacements)
6747 use default object printer for toolbar-button.
6750 make sure we don't encapsulate.
6752 * window.c (vars_of_window):
6753 emphasize that temp-buffer-show-hook is obsolete.
6755 2000-08-05 Martin Buchholz <martin@xemacs.org>
6757 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
6758 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
6760 * events.c (Fevent_timestamp_lessp):
6761 Not 64-bit clean. Use EMACS_INT, not int.
6763 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
6765 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
6766 unsigned int and changed the last enum to
6767 lrecord_type_last_built_in_type.
6768 (lrecord_implementations_table): changed prototype to know how
6769 long the array is supposed to be.
6770 (lrecord_type_count): new unsigned int to keep track of the
6771 current number of lisp lrecord types.
6772 (DEFINE_EXTERNAL_LRECORD):
6773 (DECLARE_EXTERNAL_LRECORD): Added these two for external
6774 dynamic-modules to declare new lisp types. They are the same
6775 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
6776 int for each new type, and increment lrecord_type_count by 1.
6778 * alloc.c (lrecord_implementations_table): Changed to reference
6779 lrecord_type_last_built_in_type for the size of the array.
6780 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
6782 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6784 * glyphs.h (check_valid_item_list): Renamed from
6785 check_valid_item_list_1.
6787 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
6789 * select.c (Qselect_coerce): New.
6790 * select.c (Vselection_coercion_alist): New.
6791 * select.c (syms_of_select): Declare.
6792 * select.c (get-selection-internal): Use it.
6793 Use the new select-coerce functionality.
6795 * select.c (select_coerce): New.
6796 * select.h (select_coerce): Declare.
6797 New function to coerce one type of data into another.
6799 2000-08-03 Martin Buchholz <martin@xemacs.org>
6801 * callproc.c (Fcall_process_internal):
6802 (Fcall_process_internal):
6803 * process-unix.c (unix_create_process):
6804 Save and restore the value of errno, so that error messages are accurate.
6806 2000-08-01 Martin Buchholz <martin@xemacs.org>
6808 * elhash.c (print_hash_table):
6809 Fix printing of hash tables to also use `key-and-value' instead of `t'.
6810 Prettify docstrings and indentation.
6812 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
6814 * window.c (Fwindow_pixel_edges): Subtract frame border and
6817 2000-07-31 Andy Piper <andy@xemacs.org>
6819 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
6820 will acknowledge the change.
6822 * glyphs.h: declare tab_control_order_only_changed.
6824 * glyphs-x.c (x_tab_control_redisplay): use
6825 tab_control_order_only_changed.
6827 * glyphs-widget.c (tab_control_order_only_changed): new function.
6829 * glyphs-msw.c (mswindows_tab_control_redisplay): use
6830 tab_control_order_only_changed.
6832 * gui.c (gui_item_equal_sans_selected): new function.
6833 (gui_item_equal): use it.
6835 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
6836 :properties in favor of :items..
6838 * glyphs-widget.c (check_valid_item_list): rename from
6839 check_valid_item_list_1.
6840 (check_valid_item_list_1): renamed.
6841 (combo_box_validate): deprecate :properties in favor of :items.
6842 (widget_instantiate): ditto.
6843 (tab_control_update): ditto.
6844 (image_instantiator_combo_box): ditto.
6845 (image_instantiator_tree_view): ditto.
6846 (image_instantiator_tab_control): ditto.
6847 (layout_post_instantiate): remove dead code.
6849 * print.c (debug_print_no_newline): only write to debugger if in
6852 * elhash.c (Fmake_hash_table): update doc string.
6854 * event-msw.c (mswindows_wnd_proc): don't allow processing of
6855 messages whilst in GC. This at least stops XEmacs crashing but has
6856 the potential for wierd behaviour.
6858 2000-07-31 Martin Buchholz <martin@xemacs.org>
6861 Make existence of s&m files optional.
6863 * s/bsd386.h: Remove HAVE_GETLOADAVG.
6864 * s/freebsd.h: Remove HAVE_GETLOADAVG.
6865 * s/gnu.h: Remove HAVE_GETLOADAVG.
6866 * s/netbsd.h: Remove HAVE_GETLOADAVG.
6867 * s/sol2.h: Remove HAVE_GETLOADAVG.
6868 * lisp.h: Remove getloadavg() declaration.
6870 Include <sys/loadavg.h> if available.
6871 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
6872 * config.h.in: Group together getloadavg()-related macros.
6873 Use only configure-time tests to detect getloadavg().
6875 2000-07-30 Martin Buchholz <martin@xemacs.org>
6877 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
6879 2000-07-25 Andy Piper <andy@xemacs.org>
6881 * syswindows.h: add tchar.h for native builds.
6883 * frame.c (syms_of_frame): remove set-glyph-image.
6885 * general-slots.h: add Qset_glyph_image.
6887 * glyphs-widget.c (layout_update): add domain arg to
6889 (syms_of_glyphs_widget): remove set-glyph-image.
6891 2000-07-23 Ben Wing <ben@xemacs.org>
6893 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
6896 2000-07-22 Andy Piper <andy@xemacs.org>
6898 * symsinit.h: add syms_of_win32().
6900 * gui-msw.c (syms_of_gui_mswindows): remove
6901 Fmswindows_shell_execute.
6902 (Fmswindows_shell_execute): moved to win32.c.
6904 * emacs.c (main_1): add syms_of_win32 ().
6906 * win32.c (init_potentially_nonexistent_functions): rewrite in
6907 compiler-friendly terms.
6908 (Fmswindows_shell_execute): move here from gui-msw.c.
6909 (syms_of_win32): new.
6911 * device-msw.c (Fmswindows_printer_list): clean up args to
6913 Don't include tchar under cygwin or mingw.
6914 (msprinter_default_printer): make cygwin-friendly.
6916 2000-07-21 Andy Piper <andy@xemacs.org>
6918 * glyphs-widget.c (image_instantiator_tree_view): use tab
6919 control's update function.
6920 (layout_property): new function. Retrieve items.
6922 * glyphs-msw.c (mswindows_tree_view_redisplay): new
6923 function. Re-populate the tree view from the pending items.
6925 * glyphs.c (instantiate_image_instantiator): Make sure the domain
6926 is designated the parent if the domain is an image instance. This
6927 is needed so that dirtiness can be cascade up the hierarchy and
6928 thus for layout children to be redisplayed correctly.
6929 (allocate_image_instance): rename glyph -> parent.
6931 * redisplay.h: change redisplay_output_layout signature.
6933 * redisplay-msw.c (mswindows_output_display_block): use domain
6936 * redisplay-x.c (x_output_display_block): use domain arg.
6938 2000-07-10 Andy Piper <andy@xemacs.org>
6940 * window.c (Fset_window_configuration): add comment.
6942 * redisplay-output.c (compare_runes):
6943 (redisplay_output_subwindow): redisplay rather than update subwindow.
6944 (redisplay_output_layout): ditto.
6946 * redisplay-msw.c (mswindows_frame_output_end):
6947 (mswindows_frame_output_end): make defer window pos optional.
6949 * lisp.h: add Flast.
6951 * glyphs.h (struct image_instantiator_methods): add dest_mask top
6952 normalize method. Change update method to be for changed
6953 instantiators. Add redisplay method. Change signature of layout
6955 (struct Lisp_Image_Instance): add instantiator.
6956 (IMAGE_INSTANCE_INSTANTIATOR): new.
6957 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
6958 (XIMAGE_INSTANCE_INSTANTIATOR): new.
6959 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
6962 (find_instantiator_differences): new function.
6963 (Fset_instantiator_property): new convenience function.
6964 (check_image_instance_structure): strictly check for vector
6966 (normalize_image_instantiator): make non-static.
6967 (instantiate_image_instantiator): pass on dest_mask and use new
6968 signatures for image_instance_layout and friends.
6969 (mark_image_instance): mark the instantiator. Mark the subwindow
6970 face not the widget face.
6971 (image_instance_equal): add instantiator.
6972 (image_instance_hash): ditto.
6973 (allocate_image_instance): ditto.
6974 (Fset_image_instance_property): removed.
6975 (Fimage_instance_file_name): ditto.
6976 (Fcolorize_image_instance): ditto.
6977 (image_instance_layout): add offsets to be set.
6978 (update_image_instance): new function. update an image instance
6979 from its changed instantiator.
6980 (inherit_normalize): add dest_mask.
6981 (xbm_normalize): ditto.
6982 (xface_normalize): ditto.
6983 (xpm_normalize): ditto.
6984 (text_update): set_property -> update.
6985 (image_instantiate): use the glyph identity as a hash key, not the
6987 (glyph_width): use new image_instance_layout signature.
6988 (glyph_ascent): ditto.
6989 (glyph_descent): ditto.
6990 (glyph_height): ditto.
6991 (glyph_query_geometry): ressurrect.
6992 (glyph_layout): ditto.
6993 (redisplay_subwindow): update -> redisplay.
6994 (syms_of_glyphs): add Fset_instantiator_property.
6995 (image_instantiator_format_create): set_property -> update.
6998 (autodetect_normalize): add dest_maks to signature.
6999 (x_redisplay_subwindow): update -> redisplay.
7000 (x_redisplay_widget): ditto.
7001 (x_button_redisplay): ditto.
7002 (x_progress_gauge_redisplay): ditto.
7003 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
7005 (console_type_create_glyphs_x): update -> redisplay.
7006 (image_instantiator_format_create_glyphs_x): ditto.
7009 (check_valid_instantiator): disallow glyphs in the instantiator,
7010 they must now be vectors.
7011 (check_valid_instantiator_list): ditto.
7012 (glyph_instantiator_to_glyph): use internal symbol rather than
7014 (widget_update): renamed from widget_set_property. Call cascaded
7016 (redisplay_widget): renamed from update_widget.
7017 (widget_layout): image_instance_layout now takes position as well
7019 (widget_normalize): ditto.
7020 (widget_instantiate): ditto.
7021 (tab_control_query_geometry) ditto.:
7022 (tab_control_update): renamed from tab_control_set_property.
7023 (progress_gauge_update): set_property -> update.
7024 (layout_normalize): rewrite so that child instantiators are
7026 (layout_update): new function. Create glyphs from the normalized
7027 children and cope with any other layout keywords. We do not
7028 instantiate children here that will be take care of by
7029 redisplay_output_layout.
7030 (layout_instantiate): call layout_update and not much else.
7031 (layout_post_instantiate): not sure whether this is needed
7033 (layout_query_geometry): query glyph geometry rather than
7034 image_instance geometry.
7035 (layout_layout): set offsets from pass in parameters. Use glyph
7036 geometry and layout functions rather than image instance ones.
7037 (native_layout_layout): ditto.
7038 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
7039 (image_instantiator_widget): set_property -> update.
7040 (image_instantiator_buttons): ditto.
7041 (image_instantiator_progress_guage): ditto.
7042 (image_instantiator_tab_control): ditto.
7043 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
7044 (image_instantiator_layout): add update method.
7046 * glyphs-msw.c (bmp_normalize):
7047 (mswindows_resource_normalize): add dest_mask so that it can be
7048 proprogated by layout_normalize.
7049 (begin_defer_window_pos): make optional because it may not be the
7050 right thing to do and it introduces differences with X.
7051 (mswindows_unmap_subwindow): ditto.
7052 (mswindows_map_subwindow): ditto.
7053 (mswindows_redisplay_subwindow): renamed from
7054 mswindows_update_subwindow.
7055 (mswindows_redisplay_widget): ditto.
7056 (mswindows_button_redisplay): renamed from
7057 mswindows_button_update. Update is now what the instantiation
7058 function does for a changed instantiator.
7059 (mswindows_progress_gauge_instantiate): set the progress value
7060 here if appropriate.
7061 (mswindows_tab_control_redisplay): cope with re-ordering of the
7062 members of the tab widget by simply selecting the new top
7063 widget. This makes things appear ok if you click on a tab.
7064 (mswindows_combo_box_instantiate): image_instance_layout now takes
7065 position as well as size.
7066 (mswindows_progress_gauge_redisplay): renamed from
7067 mswindows_progress_gauge_update.
7068 (console_type_create_glyphs_mswindows): fix update -> redisplay.
7069 (image_instantiator_format_create_glyphs_mswindows): ditto.
7071 * glyphs-eimage.c (jpeg_normalize):
7074 (tiff_normalize): add dest_mask so that it can be proprogated by
7079 (hash_table_weakness_validate):
7080 (decode_hash_table_weakness):
7081 (Fhash_table_weakness):
7083 (syms_of_elhash): use Ben's naming scheme for hashtable types..
7085 * console.h (struct console_methods): move update_* to
7088 2000-07-20 Ben Wing <ben@xemacs.org>
7090 * *.[ch] (XSETOBJ): remove unused middle argument.
7091 lisp-disunion.h: correct wrap_object() to one argument.
7093 2000-07-15 Ben Wing <ben@xemacs.org>
7096 * s/cygwin32.h (CYGWIN_CONV_PATH):
7097 Add missing logb prototype for v1.1.
7098 Use post-b20 names and alias to pre-b20 names when pre-b20.
7100 * s/windowsnt.h: [5].
7102 2000-07-15 Ben Wing <ben@xemacs.org>
7104 * Makefile.in.in (x_objs):
7105 * Makefile.in.in (sheap_objs):
7106 * Makefile.in.in (objs):
7107 added win32.o, cosmetic cleanups.
7109 * alloc.c (Fmake_byte_code):
7110 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
7111 etc. macros which declare their own args now.
7113 * alloc.c (syms_of_alloc):
7114 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
7117 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
7119 * buffer.c (Fget_file_buffer):
7120 Fixed GCPRO problem.
7122 * buffer.c (get_truename_buffer):
7123 Fixed comment about GC checking.
7125 * buffer.c (syms_of_buffer):
7126 Undeclared those dedicated frame funs.
7130 Define convenience macros for internal/external conversions.
7131 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
7132 and Qenvironment_variable_encoding for cleaner code.
7135 Remove dedicated-frame; in lisp.
7137 * bytecode.c (funcall_compiled_function):
7140 * bytecode.c (syms_of_bytecode):
7144 * console-msw.c (mswindows_show_console): Rewrote.
7146 * console-msw.c (Fmswindows_debugging_output): New.
7147 Sends to OutputDebugString (special MSWin debugger interface).
7149 * console-msw.c (Fmswindows_message_box):
7150 Fixed stupid bugs so it works when called from kill-emacs.
7152 * console-msw.c (syms_of_console_mswindows):
7153 Declare Fmswindows_debugging_output.
7156 New MSWin prototypes.
7158 * console-msw.h (struct mswindows_frame):
7159 New entry last-click-mods for improved button-modifier support.
7161 * console-msw.h (FRAME_MSWINDOWS_POPUP):
7162 New struct entry `popup' with corresponding accessor.
7165 * console-x.c (split_up_display_spec):
7166 * console-x.c (get_display_arg_connection):
7167 * console-x.c (x_semi_canonicalize_console_connection):
7168 * console-x.c (x_canonicalize_device_connection):
7169 [[[6]]]: Change char to more specific type.
7170 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
7172 * console-x.c (x_semi_canonicalize_console_connection):
7173 * console-x.c (x_canonicalize_device_connection):
7174 [[[9]]]: Fix up error signalling to use new structured error system.
7177 [[[4]]]: Define codesys aliases:
7178 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
7179 Qx_color_name_encoding, Qx_display_name_encoding.
7181 * console.h (struct console_methods):
7182 New method make_dialog_box_internal supersedes older
7183 popup_dialog_box method.
7186 Define many new errors, part of new structured errors.
7188 * data.c (init_errors_once_early):
7189 * data.c (syms_of_data):
7192 * device-msw.c (mswindows_init_device):
7193 [[[5]]]: Cleanup to support NT 3.51.
7195 * device-msw.c (decode_devmode): Cleanup.
7197 * device-msw.c (mswindows_handle_print_setup_dialog_box):
7198 * device-msw.c (mswindows_handle_print_dialog_box):
7199 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7200 * device-msw.c (syms_of_device_mswindows):
7201 Delete the dialog box primitives recently introduced by Kirill and
7202 instead interface to general dialog box interface.
7205 * device-x.c (compute_x_app_name):
7206 * device-x.c (x_init_device):
7207 * device-x.c (Fx_valid_keysym_name_p):
7208 * device-x.c (Fx_set_font_path):
7212 * device.h (wrap_device): New.
7213 First of its kind; meant to replace XSETDEVICE.
7215 * dialog-msw.c: Many file-dialog symbols.
7217 * dialog-msw.c (mswindows_register_popup_frame): New.
7218 * dialog-msw.c (mswindows_is_dialog_msg): New.
7219 For supporting kbd traversal in dialog boxes.
7221 * dialog-msw.c (dialog_proc):
7222 Support hitting ESC in dialogs.
7224 * dialog-msw.c (struct):
7225 Common dialog box errors.
7227 * dialog-msw.c (handle_file_dialog_box): New.
7228 Add file dialog code.
7230 * dialog-msw.c (handle_question_dialog_box):
7231 Redo existing code to support new question dialog syntax.
7233 * dialog-msw.c (console_type_create_dialog_mswindows):
7234 We support new dialog console method.
7236 * dialog-msw.c (syms_of_dialog_mswindows):
7237 * dialog-msw.c (vars_of_dialog_mswindows):
7238 New file dialog symbols, vars.
7241 * dialog-x.c (maybe_run_dbox_text_callback):
7242 * dialog-x.c (dbox_descriptor_to_widget_value):
7243 * dialog-x.c (x_make_dialog_box_internal):
7244 * dialog-x.c (console_type_create_dialog_x):
7245 Mule-ize entire file.
7246 Redo to support question dialog syntax.
7250 * dialog.c (Fmake_dialog_box_internal):
7251 * dialog.c (syms_of_dialog):
7252 Kill old popup-dialog-box, replace with new primitive.
7253 Just call device method or signal error.
7255 * eldap.c (Fldap_open):
7256 * eldap.c (Fldap_search_basic):
7257 * eldap.c (Fldap_add):
7258 * eldap.c (Fldap_modify):
7263 * emacs.c (make_arg_list_1):
7264 * emacs.c (make_arg_list):
7265 Mule-ize call to dll_init().
7269 * emacs.c (make_argc_argv):
7270 * emacs.c (free_argc_argv):
7271 * emacs.c (init_cmdargs):
7273 * emacs.c (Fkill_emacs):
7274 * emacs.c (Fdump_emacs):
7275 Update comments about what can be used in syms_* etc.
7276 Call init_win32() when necessary.
7277 Fix up MS Win dialog box in kill-buffer to actually work right.
7288 * eval.c (condition_case_3):
7290 * eval.c (function_argcount):
7291 * eval.c (funcall_lambda):
7294 * eval.c (type_error): New.
7295 * eval.c (maybe_type_error): New.
7296 * eval.c (continuable_type_error): New.
7297 * eval.c (maybe_continuable_type_error): New.
7298 * eval.c (type_error_with_frob): New.
7299 * eval.c (maybe_type_error_with_frob): New.
7300 * eval.c (continuable_type_error_with_frob): New.
7301 * eval.c (maybe_continuable_type_error_with_frob): New.
7302 New functions for use with structured errors.
7305 * event-Xt.c (x_event_to_emacs_event):
7306 Buttons are now modifiers too.
7308 * event-Xt.c (emacs_Xt_current_event_timestamp):
7309 Implement new event method.
7310 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
7313 * event-msw.c (ntpipe_shove_writer): [5].
7314 * event-msw.c (mswindows_enqueue_mouse_button_event):
7315 * event-msw.c (mswindows_drain_windows_queue):
7316 * event-msw.c (mswindows_wnd_proc): [7].
7317 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
7318 * event-msw.c (mswindows_modifier_state):
7319 Throughout: support new button modifiers.
7321 * event-msw.c (emacs_mswindows_current_event_timestamp):
7322 Implement new event method.
7323 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
7326 * event-stream.c (event_stream_current_event_timestamp): New.
7327 * event-stream.c (maybe_kbd_translate): New functionality.
7328 * event-stream.c (vars_of_event_stream):
7329 Document new kbd-translate-table functionality.
7331 * event-stream.c (Fcurrent_event_timestamp): New.
7332 New primitive for use in fabricated events.
7333 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
7335 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
7338 * events.c (Fmake_event):
7339 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
7343 * events.c (format_event_object): fix gcc warnings.
7345 * events.c (Fevent_timestamp): Document new primitives.
7347 * events.c (TIMESTAMP_HALFSPACE): New.
7349 * events.c (Fevent_timestamp_lessp): New. New primitive for
7350 comparing timestamps correctly (half-space algorithm).
7352 * events.c (Fevent_modifier_bits): Doc fix.
7354 * events.c (Fevent_modifiers): Major doc addition.
7355 * events.c (event_x_y_pixel_internal): Typo fix.
7356 * events.c (syms_of_events): Declare new primitives.
7359 Update long comment for button modifiers, timestamps.
7361 * events.h (struct event_stream):
7362 New current_event_timestamp method.
7365 * extents.c (extent_in_region_p):
7366 * extents.c (decode_extent):
7367 * extents.c (Fset_extent_parent):
7368 * extents.c (decode_map_extents_flags):
7372 * extents.c (struct extent_at_arg):
7373 * extents.c (decode_extent_at_flag):
7374 * extents.c (extent_at_mapper):
7375 * extents.c (extent_at_bytind):
7376 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
7377 * extents.c (Fextents_at): New primitive. [9].
7378 * extents.c (symbol_to_glyph_layout): [9].
7379 Support new primitive `extents-at'.
7382 * extents.c (get_text_property_bytind):
7383 extent_at_bytind has another arg.
7386 * extents.c (syms_of_extents): New primitive.
7388 * file-coding.c (Fmake_coding_system): [1].
7389 * file-coding.c (subsidiary_coding_system): fix gcc warning
7390 * file-coding.c (syms_of_file_coding): [2].
7392 * fileio.c (Fexpand_file_name):
7393 * fileio.c (Fsysnetunam):
7394 * fileio.c (Ffile_exists_p):
7395 * fileio.c (Ffile_executable_p):
7396 * fileio.c (Fverify_visited_file_modtime):
7399 * fileio.c (syms_of_fileio): [2].
7401 * filelock.c (lock_file_1):
7402 * filelock.c (current_lock_owner):
7403 * filelock.c (lock_if_free):
7404 * filelock.c (lock_file):
7405 * filelock.c (unlock_file):
7408 * fns.c (concat): Fix gcc warning.
7411 * fns.c (Fold_member):
7413 * fns.c (Fold_memq):
7414 * fns.c (memq_no_quit):
7416 * fns.c (Fold_assoc):
7418 * fns.c (Fold_assq):
7419 * fns.c (assq_no_quit):
7421 * fns.c (Fold_rassoc):
7423 * fns.c (Fold_rassq):
7424 * fns.c (rassq_no_quit):
7426 * fns.c (Fold_delete):
7428 * fns.c (Fold_delq):
7429 * fns.c (delq_no_quit):
7430 * fns.c (Fremassoc):
7432 * fns.c (remassq_no_quit):
7433 * fns.c (Fremrassoc):
7434 * fns.c (Fremrassq):
7435 * fns.c (remrassq_no_quit):
7440 * frame-msw.c (mswindows_init_frame_1):
7441 * frame-msw.c (mswindows_delete_frame):
7442 Register popups with dialog code so keyboard traversing works.
7444 * frame-tty.c (tty_raise_frame_no_select): [1].
7447 * frame-x.c (x_set_frame_text_value):
7448 * frame-x.c (x_set_frame_properties):
7449 * frame-x.c (x_create_widgets):
7453 * frame.c (Fmouse_pixel_position): Minor doc fixes.
7455 * frame.h (wrap_frame): New.
7456 Macro like wrap_device.
7459 * general.c (SYMBOL):
7460 * general.c (syms_of_general):
7461 Major reorg. This is now just a wrapper and symbols themselves
7462 are listed in general-slots.h.
7464 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
7465 * glyphs-msw.c (mswindows_resource_instantiate): [5].
7467 * glyphs-msw.c (mswindows_native_layout_instantiate):
7468 Add DS_CONTROL so keyboard traversal will work.
7471 * glyphs-widget.c (syms_of_glyphs_widget):
7472 Move some symbols to general-slots.h.
7475 * glyphs-x.c (xbm_instantiate_1):
7476 * glyphs-x.c (x_xbm_instantiate):
7477 * glyphs-x.c (x_xface_instantiate):
7478 * glyphs-x.c (autodetect_instantiate):
7479 * glyphs-x.c (cursor_font_instantiate):
7480 * glyphs-x.c (x_update_widget):
7481 * glyphs-x.c (x_widget_instantiate):
7482 * glyphs.c (bitmap_to_lisp_data):
7483 * glyphs.c (pixmap_to_lisp_data):
7486 * glyphs.c (syms_of_glyphs):
7490 * gui-x.c (print_widget_value):
7491 * gui-x.c (menu_separator_style_and_to_external):
7492 * gui-x.c (add_accel_and_to_external):
7493 * gui-x.c (button_item_to_widget_value):
7494 * gui-x.c (gui_items_to_widget_values_1):
7495 * gui-x.c (gui_items_to_widget_values):
7496 * gui-x.c (syms_of_gui_x):
7497 * gui-x.c (vars_of_gui_x):
7498 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
7502 Muleize, prototype changes matching gui-x.c.
7505 * gui.c (separator_string_p):
7506 * gui.c (gui_item_add_keyval_pair):
7507 * gui.c (make_gui_item_from_keywords_internal):
7508 * gui.c (signal_too_long_error):
7509 * gui.c (parse_gui_item_tree_item):
7510 * gui.c (syms_of_gui):
7511 * gui.c (vars_of_gui):
7513 menu-no-selection-hook moved here (used by MSWin).
7514 Move some symbols to general-slots.h.
7518 * insdel.c (get_buffer_pos_char):
7519 * insdel.c (get_buffer_range_char):
7522 * keymap.c (keymap_lookup_directly):
7523 * keymap.c (keymap_store):
7524 * keymap.c (ensure_meta_prefix_char_keymapp):
7525 * keymap.c (describe_map):
7527 Support new button modifiers.
7529 * lisp-disunion.h (wrap_object):
7530 * lisp-disunion.h (XSETOBJ):
7531 Rename make_obj to wrap_object.
7534 * lisp-union.h (make_int):
7535 * lisp-union.h (make_char):
7536 Support wrap_object.
7539 * lisp.h (LIST_LOOP):
7540 * lisp.h (EXTERNAL_LIST_LOOP):
7541 * lisp.h (LIST_LOOP_2):
7542 * lisp.h (EXTERNAL_LIST_LOOP_1):
7543 * lisp.h (EXTERNAL_LIST_LOOP_2):
7544 * lisp.h (EXTERNAL_LIST_LOOP_3):
7545 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
7546 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
7547 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
7548 * lisp.h (EXTERNAL_ALIST_LOOP_5):
7549 * lisp.h (EXTERNAL_ALIST_LOOP_6):
7550 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
7551 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
7552 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
7553 * lisp.h (struct Lisp_Symbol):
7554 * lisp.h (maybe_continuable_error_with_frob):
7555 Fix up section comments.
7556 Add new types for char to indicate usage.
7557 Delete symbols auto-generated from general-slots.h.
7558 Add prototypes for structured error functions.
7559 Add long comments describing looping macros and change interface
7560 so that lvalues are automatically declared.
7561 Add NO_DECLARE macro in case callers want to declare lvalues
7564 * lread.c (read_syntax_error):
7565 * lread.c (continuable_read_syntax_error):
7566 * lread.c (read_structure):
7567 * lread.c (sequence_reader):
7568 * lread.c (read_list_conser):
7569 * lread.c (read_compiled_function):
7570 Rename syntax_error and continuable_syntax_error to avoid clash
7571 with same-named structured error functions.
7573 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7574 * menubar-msw.c (populate_menu_add_item):
7575 * menubar-msw.c (populate_or_checksum_helper):
7580 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7581 Mule-ize whole file.
7583 * menubar.c (Fnormalize_menu_item_name): Add optimization.
7585 * mule-charset.c (Fmake_charset):
7586 * mule-wnnfns.c (Fwnn_set_param):
7589 * ntproc.c (create_child):
7590 * ntproc.c (Fwin32_set_current_locale):
7591 Add comments portending doom.
7594 * objects-msw.c (old_font_enum_callback_2):
7595 * objects-msw.c (font_enum_callback_1):
7596 * objects-msw.c (mswindows_enumerate_fonts):
7600 * objects-x.c (allocate_nearest_color):
7601 * objects-x.c (x_parse_nearest_color):
7602 * objects-x.c (x_initialize_color_instance):
7603 * objects-x.c (x_print_color_instance):
7604 * objects-x.c (x_finalize_color_instance):
7605 * objects-x.c (x_valid_color_name_p):
7606 * objects-x.c (x_initialize_font_instance):
7607 * objects-x.c (x_print_font_instance):
7608 * objects-x.c (valid_x_font_name_p):
7609 * objects-x.c (truename_via_FONT_prop):
7610 * objects-x.c (truename_via_random_props):
7611 * objects-x.c (truename_via_XListFonts):
7612 * objects-x.c (x_font_truename):
7613 * objects-x.c (x_font_instance_truename):
7614 * objects-x.c (x_font_instance_properties):
7615 * objects-x.c (x_list_fonts):
7616 * objects-x.c (x_find_charset_font):
7617 Mule-ize entire file.
7624 * print.c (std_handle_out_external):
7625 * print.c (debug_print_no_newline):
7626 * print.c (syms_of_print):
7627 Output to all debugger kinds in debug-print.
7628 Fix console-output code under MSWin to actually work.
7630 * process-nt.c (send_signal):
7631 * process-nt.c (nt_create_process):
7632 Use newer Unicode macros.
7634 * process-unix.c (unix_create_process):
7635 * process-unix.c (unix_canonicalize_host_name):
7636 * process-unix.c (unix_open_network_stream):
7642 * search.c (syms_of_search):
7645 * select-msw.c (mswindows_destroy_selection):
7648 * select-x.c (symbol_to_x_atom):
7651 * select.c (syms_of_select):
7654 * sound.c (Fplay_sound_file):
7658 * specifier.c (decode_specifier_type):
7659 * specifier.c (Fvalid_specifier_locale_type_p):
7660 * specifier.c (check_valid_locale_or_locale_type):
7661 * specifier.c (decode_locale):
7662 * specifier.c (decode_locale_type):
7663 * specifier.c (decode_locale_list):
7664 * specifier.c (check_valid_domain):
7665 * specifier.c (decode_specifier_tag_set):
7666 * specifier.c (Fcanonicalize_tag_set):
7667 * specifier.c (Fdefine_specifier_tag):
7668 * specifier.c (Fspecifier_tag_predicate):
7669 * specifier.c (check_valid_inst_list):
7670 * specifier.c (check_valid_spec_list):
7671 * specifier.c (decode_how_to_add_specification):
7672 * specifier.c (check_modifiable_specifier):
7673 * specifier.c (specifier_add_spec):
7674 * specifier.c (boolean_validate):
7675 * specifier.c (display_table_validate):
7678 * specifier.c (syms_of_specifier):
7679 Move some symbols to general-slots.h.
7683 * symbols.c (Fmapatoms):
7684 * symbols.c (Fapropos_internal):
7687 * symbols.c (set_default_buffer_slot_variable):
7688 * symbols.c (set_default_console_slot_variable):
7691 * symbols.c (defsymbol_massage_name_1):
7692 * symbols.c (defkeyword_massage_name):
7693 * symbols.c (deferror_1):
7694 * symbols.c (deferror):
7695 * symbols.c (deferror_massage_name_and_message):
7697 * symeval.h (DEFSYMBOL):
7698 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
7700 * symbols.c (syms_of_symbols):
7704 * symsinit.h (init_win32): New.
7705 Also new is syms_of_dialog_mswindows.
7708 Add new Unicode macros, missing Cygwin wide-char functions,
7709 convenience conversion macros for Qmswindows_tstr, macros for
7710 encapsulating required MSWin <-> Cygwin filename conversions,
7711 prototype for dynamically-extracted (not in NT 3.51) functions.
7716 * tooltalk.c (Fadd_tooltalk_message_arg):
7717 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
7718 * tooltalk.c (Fadd_tooltalk_pattern_arg):
7721 * tooltalk.c (syms_of_tooltalk):
7725 * unexnt.c (unexec):
7726 Fix up headers, declaration of unexec() to be more standard.
7728 2000-07-20 Martin Buchholz <martin@xemacs.org>
7730 * offix.h: Revert change to guard macros - they're used in offix.c!
7732 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7734 * lisp.h: Defsubred Fdelete.
7736 * console-msw.h: (msprinter_default_printer): Added.
7738 * console-msw.c (msprinter_canonicalize_console_connection):
7739 (msprinter_canonicalize_device_connection): Added.
7741 * device-msw.c (msprinter_default_printer):
7742 (Fmswingows_get_default_printer):
7743 (signal_enum_priner_error):
7744 (Fmswingows_printer_list): Added.
7746 2000-07-19 Martin Buchholz <martin@xemacs.org>
7748 * XEmacs 21.2.35 is released.
7750 2000-07-19 Martin Buchholz <martin@xemacs.org>
7752 * select-x.c (x_handle_selection_request):
7753 Text selected in xemacs and pasted into xterm failed to appear.
7754 Spelling fixes and cosmetic changes.
7756 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7758 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
7759 XEmacs frame (fix for doubling chars in dialog boxes).
7761 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7763 * select.c (select_convert_in, select_convert_out):
7764 Don't call intern() every time.
7766 * select.c (Qselect_convert_in, Qselect_convert_out): New.
7767 * select.c (vars_of_select): Initialise them.
7769 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7771 * select.c (selection-coercible-types): New.
7773 * select.c (own-selection-internal):
7774 * select.c (get-selection-internal):
7775 MULE bug fix - these should default to COMPOUND_TEXT and not
7776 STRING for MULE. I think.
7778 * select.c (select_convert_out): Use selection-coercible-types
7779 to find types that we can attempt to perform coercions on.
7781 2000-07-18 Martin Buchholz <martin@xemacs.org>
7785 Add coding: cookie to identify encoding.
7787 * mule-canna.c (CANNA_mode_keys): make static.
7788 Use proper prototypes, even for functions of no arguments.
7789 Remove external prototype for Fding().
7791 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
7793 * select.c (syms_of_select): Add missing DEFSUBR.
7795 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7797 * select.c (get_selection_internal, own_selection_internal):
7798 Make the type default to STRING, rather than placing a nil type
7799 into Vselection_alist.
7801 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7803 * gpmevent.c (tty_selection_exists_p):
7804 * gpmevent.c (tty_own_selection):
7805 Updated parameter lists.
7807 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
7809 * select.h (selection-alist): Removed declaration.
7811 * select.h (get_local_selection):
7812 * select.c (get_local_selection):
7815 * select.h (convert_selection): Removed declaration.
7816 * select.c (convert_selection): Removed.
7817 This function belongs in Lisp.
7819 * select.h (select_convert_in): Declare.
7820 * select.h (select_convert_out): Declare.
7821 * select.c (select_convert_in): New.
7822 * select.c (select_convert_out): New.
7823 New conversion functions for other files to call.
7825 * select.h (select_notify_buffer_kill): Declare.
7826 * select.c (select_notify_buffer_kill): New.
7827 New functions that get called from kill-buffer.
7829 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
7830 X-specific lisp code.
7832 * select.h: Declare some of the lisp-visible functions for
7835 * select.c (clean_local_selection_data): Removed. This was
7836 a disgusting function, and previously should have been in
7837 select-x.c in any case. The functionality is now provided
7838 in select-convert-from-integer (select.el).
7840 * select.c (available-selection-types): Fixed stupidity where
7841 INTEGER and ATOM got added twice. Also add STRING when we see an
7844 * select.c (get-selection-internal): Removed symbol stripping. No
7845 longer causes conversion when data comes from the internal cache.
7847 * select.c (syms_of_select): Added new functions.
7849 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
7850 error checking - previously this called abort!
7852 * select-x.c (x_own_selection): Changed comment.
7854 * select-x.c (x_handle_selection_request): Use select_convert_out.
7855 Don't mess with selection-alist; it's an internal variable of select.c.
7857 * select-x.c (x_get_foreign_selection): Use select_convert_in.
7859 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
7860 rather than messing with selection-alist.
7862 * select-msw.c (mswindows_get_foreign_selection):
7863 Use TO_INTERNAL_FORMAT rather than hacking.
7865 2000-07-14 Martin Buchholz <martin@xemacs.org>
7867 * process-unix.c (unix_open_multicast_group):
7868 (unix_open_multicast_group): Remove useless casts.
7870 2000-07-13 Martin Buchholz <martin@xemacs.org>
7872 * sound.c (Fplay_sound): Fix `unused variable' warning.
7874 * emacs.c (main): Use correct type for _environ on SCO5.
7876 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
7878 * console.h (own_selection_method):
7879 * console.h (selection_exists_p_method):
7880 * console.h (available_selection_types_method): New.
7881 * console.h (register_selection_data_type_method): New.
7882 * console.h (selection_data_type_name): New.
7884 * console-msw.h (mswindows_destroy_selection): Declare it. New
7885 function & alist to track GlobalAlloc()'d handles that need
7886 releasing when the clipboard data gets replaced or emptied.
7888 * event-msw.c (mswindows_wnd_proc): Call it.
7890 * lisp.h, general.c (Qappend): New symbol representing a
7893 * select.c (own-selection-internal):
7894 * select.c (selection-exists-p):
7895 * select.c (available-selection-types): New.
7896 * select.c (register-selection-data-type): New.
7897 * select.c (selection-data-type-name): New. New functions to deal
7898 with device-specific selection data formats.
7899 * select.c (selection-converter-out-alist): Renamed.
7900 * select.c (selection-converter-in-alist): New.
7901 * select.c (selection-appender-alist): New. Added new alists.
7902 * select.c (syms_of_select, vars_of_select): Added new symbols &
7904 * select.c (get_local_selection): Split.
7905 * select.c: Removed spurious type checking - selections may now be
7906 of any type, not just strings.
7907 * select.c (own-selection-internal):
7909 * select.h, select.c (convert_selection): New. Created
7910 convert_selection() function based on get_local_selection().
7911 * select.h, select.c (QCF_*): New symbols representing mswindows
7913 * select.h, select.c (Qreplace_all, Qreplace_existing): New
7914 symbols representing `how-to-add' modes.
7916 * select-msw.c (x_sym_p): New.
7917 * select-msw.c (symbol_to_ms_cf): New.
7918 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
7919 symbols & clipboard formats. Can also handle string names.
7920 * select-msw.c (mswindows_own_selection):
7921 * select-msw.c (mswindows_selection_exists_p):
7922 Added `data-type' parameter. Use it.
7923 * select-msw.c (mswindows_available_selection_types): New.
7924 * select-msw.c (mswindows_register_selection_data_type): New.
7925 * select-msw.c (mswindows_selection_data_type_name): New.
7926 * select-msw.c (mswindows_own_selection):
7927 * select-msw.c (mswindows_get_foreign_selection):
7928 * select-msw.c (mswindows_selection_exists_p): Rewrote.
7929 * select-msw.c (console_create_select_mswindows): Added new methods.
7930 * select-msw.c (mswindows_destroy_selection): New.
7931 * select-msw.c (Vhandle_alist): New list.
7932 * select-msw.c (mswindows_own_selection):
7934 * select-x.c (x_own_selection):
7935 * select-x.c (x_selection_exists_p):
7936 * select-x.c: Added some comments about maybe using new
7938 * select-x.c (x_own_selection):
7940 * specifier.c: Remove definition of Qappend (now in general.c)
7941 * specifier.c (syms_of_specifier): Remove Qappend.
7943 2000-07-12 Martin Buchholz <martin@xemacs.org>
7945 * config.h.in: Add socklen_t.
7947 * s/decosf4-0.h: No special compiler flags needed or desired.
7948 In particular, undefine _BSD for DEC OSF 4.0.
7950 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7952 * redisplay-msw.c (msprinter_frame_output_end): Added.
7953 (console_type_create_redisplay_mswindows): Referred the above.
7955 * frame.c (setup_frame_without_minibuffer): Do not create a
7956 default minibuffer frame on a printer device.
7958 * frame-msw.c (apply_dc_geometry): Added.
7959 (msprinter_start_page):
7960 (msprinter_init_frame_3):
7961 (msprinter_eject_page): Use it.
7963 * console-msw.h (struct msprinter_frame): Added pix_left and top,
7964 and removed residual duplex and orientation properties.
7966 2000-07-11 Martin Buchholz <martin@xemacs.org>
7968 * eval.c (function_argcount): Work around a DEC CC compiler bug.
7970 * unexalpha.c: Remove system prototypes from C sources!
7972 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
7974 * eval.c: Remove references to M-x edit-options in DEFUNs for
7975 `defvar' and `defconst'.
7977 2000-07-09 Martin Buchholz <martin@xemacs.org>
7979 * config.h.in: Remove SMART_INCLUDE hackery.
7982 * config.h.in: Don't use SMART_INCLUDE.
7984 * postgresql.h: Include libpq-fe.h here. Fix typo.
7985 * inline.c: Simply #include "postgresql.h"
7987 - Don't use SMART_INCLUDE
7988 - Use simply "const".
7989 - Use standard doc string conventions.
7990 - Use correct type for result of PQstatus.
7992 2000-07-09 Martin Buchholz <martin@xemacs.org>
7994 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
7996 C++ compilation changes.
7997 * config.h.in (EXTERN_C): Define.
7998 * config.h.in (not): This is also a C++ keyword.
7999 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
8000 * cm.c: Use EXTERN_C.
8001 * redisplay-tty.c: Use EXTERN_C.
8002 * sysdep.c: Use EXTERN_C. Remove Gould support.
8004 2000-07-09 Martin Buchholz <martin@xemacs.org>
8006 * general.c: Remove duplicate definition for Qfunction.
8008 2000-07-08 Ben Wing <ben@xemacs.org>
8010 * device-msw.c (msprinter_init_device):
8011 * device-msw.c (sync_printer_with_devmode):
8012 * device-msw.c (handle_devmode_changes):
8013 * device-msw.c (print_dialog_worker):
8014 * device-msw.c (Fmsprinter_apply_settings):
8015 * device-msw.c (hash_devmode):
8016 * device-msw.c (Fmsprinter_settings_despecialize):
8017 use Qmswindows_tstr, not Qctext.
8019 * vm-limit.c (check_memory_limits):
8020 avoid infinite loop printing warning messages.
8022 2000-07-05 Craig Lanning <lanning@scra.org>
8024 * Makefile.in.in: Add support for including the Windows resources
8025 when building with the cygwin and mingw targets.
8027 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
8028 not set or not correct.
8029 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
8030 (init_initial_directory): Don't try to use $PWD on the
8031 WIN32_NATIVE target.
8034 [[Add -mwindows to eliminate console window.]] not required --ben
8035 (HAVE_NATIVE_SOUND): removed; now handled by configure.
8036 (MAIL_USE_POP): removed; now handled by configure.
8038 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
8039 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
8040 (HAVE_NATIVE_SOUND): removed; now handled by configure.
8041 (MAIL_USE_POP): removed; now handled by configure.
8042 (ENCAPSULATE_STAT): from Dan Holmsand, added.
8043 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
8044 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
8046 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
8047 up from <winsock.h> via systime.h.
8048 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
8049 (getpagesize): from Dan Holmsand, added.
8050 Added #endif which was left dangling by Ben's mega patch; added
8051 comment to help prevent this in the future.
8053 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
8055 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8057 * console-msw.h (struct mswindows_device): Removed unnecessary
8058 cached device geometry values.
8059 Added update_tick and an accessor macro.
8060 (Lisp_Devmode): Added lrecord declaration.
8061 (struct msprinter_device): Contain devmode as a Lisp object.
8062 Added mswindows_get_selected_frame_hwnd();
8064 * console.h (struct console_methods): Indentation nitpicking.
8066 * device-msw.c (mswindows_init_device): Do not initialize geometry
8067 cache. Initialize update tick.
8068 (mswindows_device_system_metrics): Ask the device for its geometry.
8069 (global_free_2_maybe):
8070 (devmode_to_hglobal):
8071 (handle_printer_changes):
8072 (ensure_not_printing):
8073 (print_dialog_worker):
8074 (Fmsprinter_print_setup_dialog):
8075 (Fmsprinter_print_dialog):
8078 (Fmsprinter_page_setup_dialog): Added functions.
8079 (sync_printer_with_devmode):
8080 (handle_devmode_changes):
8081 (Fmsprinter_get_settings):
8082 (Fmsprinter_select_settings):
8083 (Fmsprinter_apply_settings):
8085 (Fmsprinter_settings_copy):
8086 (Fmsprinter_settings_despecialize):
8090 (hash_devmode): Added functions
8091 (syms_of_device_mswindows): Init devmode lrecord class.
8093 * device.h: Added an exfun for find-device.
8095 * event-msw.c (mswindows_wnd_proc): Do not update the cached
8096 geometry; although, recreate the device compatible DC.
8098 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
8099 (msprinter_init_frame_3):
8100 (msprinter_frame_property):
8101 (msprinter_internal_frame_property_p):
8102 (msprinter_frame_properties):
8103 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
8104 print job properties (will move to device settings).
8106 * lisp.h: Added symbols.
8108 * general.c (syms_of_general): Declared them.
8110 * hash.c (string_hash): Added.
8112 * lrecord.h (lrecord_type): Added devmode lrecord type.
8114 2000-07-02 Mike Sperber <mike@xemacs.org>
8116 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
8119 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
8121 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
8124 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
8126 * data.c (Fstring_to_number): Don't recognize floating point if
8129 2000-06-22 Martin Buchholz <martin@xemacs.org>
8131 * glyphs-widget.c (tab_control_query_geometry):
8132 (widget_query_geometry):
8133 (button_query_geometry):
8134 * glyphs.c (text_query_geometry):
8135 Enforce type correctness.
8137 2000-06-18 Martin Buchholz <martin@xemacs.org>
8139 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
8140 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
8142 2000-06-17 Martin Buchholz <martin@xemacs.org>
8144 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
8145 conflicts with gcc's fixincluded version of FOO.h.
8147 * glyphs.h (image_instance_geometry): Remove trailing `,'
8149 2000-06-08 Mike Alexander <mta@arbortext.com>
8151 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
8152 (shove_thread): Don't write the same output twice
8153 (make_ntpipe_output_stream): Increase priority of shove thread
8154 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
8156 (ntpipe_shove_closer): Don't delete the pipe until we're done with
8159 2000-06-12 Ben Wing <ben@xemacs.org>
8161 * s\mingw32.h (sigset):
8162 * s\windowsnt.h (sigset):
8163 rename msw_ to mswindows_ for consistency with general convention.
8165 2000-06-12 Ben Wing <ben@xemacs.org>
8168 * console-msw.c (mswindows_get_console_hwnd):
8169 * console-msw.c (mswindows_ensure_console_allocated):
8170 * console-msw.c (mswindows_hide_console):
8171 * console-msw.c (mswindows_show_console):
8172 * console-msw.c (mswindows_ensure_console_buffered):
8173 * console-msw.c (mswindows_output_console_string):
8174 * console-msw.c (mswindows_windows9x_p):
8176 * device-msw.c (mswindows_get_workspace_coords):
8177 * device-msw.c (mswindows_device_system_metrics):
8178 * dialog-msw.c (mswindows_popup_dialog_box):
8179 * event-msw.c (mswindows_wnd_proc):
8180 * frame-msw.c (mswindows_size_frame_internal):
8181 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
8182 * menubar-msw.c (displayable_menu_item):
8183 * menubar-msw.c (mswindows_char_is_accelerator):
8185 * nt.c (mswindows_sigset):
8186 * nt.c (mswindows_sigrelse):
8187 * nt.c (mswindows_sigpause):
8188 * nt.c (mswindows_raise):
8189 * nt.c (timer_proc):
8191 * ntproc.c (find_child_console):
8192 * ntproc.c (sys_kill):
8194 * print.c (std_handle_out_external):
8195 * process-nt.c (find_child_console):
8196 * process-nt.c (send_signal_the_95_way):
8197 * process-nt.c (ensure_console_window_exists):
8198 * process-nt.c (nt_create_process):
8200 rename msw_ to mswindows_ for consistency with general convention.
8204 include nt.h, not syswindows.h.
8206 * nt.c (mswindows_fstat):
8207 * nt.c (mswindows_stat):
8208 prefix mswindows_ instead of attempting to directly override the
8209 library functions. fix declarations.
8212 include syswindows.h. move some sysdep.h stuff here.
8215 include syswindows.h, not <windows.h>.
8223 * sysdep.c (sys_fstat):
8224 * sysdep.c (sys_stat):
8225 call mswindows versions when appropriate.
8228 move mswin decls to nt.h.
8231 add long comment describing appropriate use of the various windows
8234 2000-06-11 Ben Wing <ben@xemacs.org>
8236 * device-x.c: Correct doc string for sixth arg of x-get-resource.
8238 2000-06-10 Ben Wing <ben@xemacs.org>
8240 * Makefile.in.in (release):
8241 Correction to make sure xemacs.exe always dumped when correct.
8245 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
8247 * buffer.c (set_buffer_internal):
8248 [[[[2]]]]: Remove HAVE_FEP code.
8250 * buffer.c (init_initial_directory):
8254 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
8258 * callproc.c (call_process_cleanup):
8259 * callproc.c (Fold_call_process_internal):
8260 * callproc.c (child_setup):
8261 * callproc.c (getenv_internal):
8262 * callproc.c (init_callproc):
8263 * callproc.c (vars_of_callproc):
8264 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
8265 __CYGWIN32__ -> CYGWIN.
8266 DOS_NT -> WIN32_NATIVE.
8267 Remove MSDOS support/references, converting to WIN32_NATIVE
8269 __MINGW32__ -> MINGW.
8270 Fix windows.h includes.
8271 Remove bogus HAVE_NTGUI.
8277 mswindows_message_outputted added for use in allowing startup
8278 errors on the console to be seen.
8280 * console-msw.c (msw_ensure_console_allocated):
8281 * console-msw.c (msw_output_console_string):
8282 * console-msw.c (DHEADER):
8283 * console-msw.c (DOPAQUE_DATA):
8284 * console-msw.c (DEVENT):
8285 * console-msw.c (DCONS):
8286 * console-msw.c (DCONSCDR):
8287 * console-msw.c (DSTRING):
8288 * console-msw.c (DVECTOR):
8289 * console-msw.c (DSYMBOL):
8290 * console-msw.c (DSYMNAME):
8293 * console-stream.c (stream_init_console):
8294 Fix text/binary problems.
8297 * device-msw.c (mswindows_finish_init_device):
8298 * device-msw.c (mswindows_delete_device):
8301 * device.c (handle_asynch_device_change):
8305 * dgif_lib.c (DGifOpenFileName):
8306 * dgif_lib.c (DGifOpenFileHandle):
8307 * dgif_lib.c (DGifGetLine):
8308 * dgif_lib.c (DGifGetPixel):
8309 Added config.h/lisp.h, fix up includes.
8316 * dired.c (file_name_completion):
8317 * dired.c (Ffile_attributes):
8318 * dired.c (syms_of_dired):
8322 * dumper.c (pdump_file_unmap):
8323 * dumper.c (pdump_load):
8327 * editfns.c (Ftemp_directory):
8328 * editfns.c (user_login_name):
8329 * editfns.c (Fuser_real_login_name):
8330 * editfns.c (get_home_directory):
8333 * elhash.c (finish_marking_weak_hash_tables):
8334 [[[[5]]]]: Fix GCC warnings.
8337 * emacs.c (mswindows_handle_hardware_exceptions):
8338 * emacs.c (make_arg_list_1):
8340 * emacs.c (Fkill_emacs):
8341 * emacs.c (Fdump_emacs):
8343 Fix problems with nested crashes, add long comment.
8345 * event-Xt.c (init_event_Xt_late):
8349 * event-msw.c (mswindows_dde_callback):
8350 * event-msw.c (mswindows_handle_sticky_modifiers):
8351 * event-msw.c (mswindows_wnd_proc):
8355 * events.c (character_to_event):
8359 * fileio.c (Ffile_name_directory):
8360 * fileio.c (Ffile_name_nondirectory):
8361 * fileio.c (directory_file_name):
8362 * fileio.c (Fexpand_file_name):
8363 * fileio.c (Fsubstitute_in_file_name):
8364 * fileio.c (Ffile_name_absolute_p):
8365 * fileio.c (check_executable):
8366 * fileio.c (Ffile_readable_p):
8367 * fileio.c (Ffile_accessible_directory_p):
8368 * fileio.c (Ffile_modes):
8369 * fileio.c (Funix_sync):
8370 * fileio.c (vars_of_fileio):
8373 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
8375 Expand getdefdir defn.
8376 Fix bogus rename() comment.
8378 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
8379 to use standard XEmacs include files, e.g. sysfile.h, rather
8380 than system-specific includes.
8386 * frame.c (vars_of_frame):
8390 * getloadavg.c (getloadavg):
8392 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
8393 (We don't use it elsewhere in the code; just add a comment.)
8400 * glyphs-msw.c (mswindows_resource_instantiate):
8403 * glyphs-x.c (x_native_layout_instantiate):
8406 * gui-msw.c (Fmswindows_shell_execute):
8415 * lread.c (locate_file_in_directory_mapper):
8422 * mem-limits.h (get_lim_data):
8434 * nt.c (rva_to_section):
8435 * nt.c (mswindows_executable_type):
8437 Fix closedir() defn.
8440 [[[[8]]]]: *_OK defs moved to sysfile.h.
8449 * print.c (std_handle_out_external):
8453 * process-nt.c (nt_create_process):
8455 try to fix process quoting somewhat.
8457 * process-unix.c (unix_create_process):
8461 * process.c (vars_of_process):
8468 * realpath.c (xrealpath):
8471 * redisplay-tty.c (init_tty_for_redisplay):
8481 * sheap.c (more_static_core):
8482 * sheap.c (report_sheap_usage):
8486 * signal.c (alarm_signal):
8493 * strftime.c (zone_name):
8496 * symsinit.h (init_sunpro):
8500 commctrl.h not in Cygwin b20.1.
8504 * sysdep.c (sys_subshell):
8505 * sysdep.c (init_baud_rate):
8506 * sysdep.c (emacs_get_tty):
8507 * sysdep.c (emacs_set_tty):
8508 * sysdep.c (tty_init_sys_modes_on_device):
8509 * sysdep.c (init_system_name):
8510 * sysdep.c (sys_open):
8511 * sysdep.c (interruptible_open):
8512 * sysdep.c (sys_fopen):
8513 * sysdep.c (sys_mkdir):
8514 * sysdep.c (sys_rename):
8515 * sysdep.c (get_process_times_1):
8522 * sysdir.h (DIRENTRY_NONEMPTY):
8525 * sysdll.c (dll_init):
8531 added text/binary defs.
8537 * sysproc.h (EDESTADDRREQ):
8538 * sysproc.h (poll_fds_for_input):
8555 Always define WIN32_LEAN_AND_MEAN.
8557 * unexcw.c (unexec):
8561 * unexec.c (copy_text_and_data):
8562 * unexec.c (adjust_lnnoptrs):
8566 * unexnt.c (_start):
8569 2000-06-07 Ben Wing <ben@xemacs.org>
8571 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
8572 was used only as a model. We've long since extracted any useful
8573 logic or code out of this. (I just did an exhaustive search.)
8575 * s\msdos.h: Removed.
8577 * s\windows95.h: Removed.
8579 2000-06-10 Ben Wing <ben@xemacs.org>
8583 Don't use extern with fun defs.
8587 Remove nt\inc include.
8588 Remove getdisk, getdefdir. (The former is unused, the latter
8589 expanded in fileio.h.)
8592 * s\windowsnt.h (WIN32_NATIVE):
8593 * s\windowsnt.h (HAVE_STRCASECMP):
8595 Add long comment about preprocessor changes.
8596 Remove getdisk, getdefdir. (The former is unused, the latter
8597 expanded in fileio.h.)
8599 2000-06-10 Ben Wing <ben@xemacs.org>
8608 Remove bogus/unused NO_SOCK_SIGIO.
8610 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
8612 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
8615 2000-06-04 Mike Sperber <mike@xemacs.org>
8617 * casetab.c (set_case_table): For `set-standard-case-table',
8618 actually deposit the new case tables where the rest of XEmacs can
8621 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
8623 * data.c (Faset): Don't cast XCHAR() to unsigned char.
8625 2000-06-05 Ben Wing <ben@xemacs.org>
8627 * callproc.c (child_setup): Don't do close_load_descs() under
8628 MS Windows. Put in a comment explaining why.
8630 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
8632 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
8633 Toolkit shell" which breaks `kill-compilation' on Windows NT
8634 native, retaining STDERR handling improvements.
8636 2000-06-01 Andreas Jaeger <aj@suse.de>
8638 * s/s390.h: Support for S390, based on a patch by Martin
8639 Schwidefsky <schwidefsky@de.ibm.com>.
8641 2000-05-30 Andy Piper <andy@xemacs.org>
8643 * window.c (allocate_window):
8644 (make_dummy_parent):
8645 (Fset_window_configuration): use new hashtable type.
8647 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
8648 (struct image_instantiator_methods):
8649 (struct Lisp_Image_Instance): make instance geometry signed.
8651 * glyphs.c (instantiate_image_instantiator):
8652 (image_instance_query_geometry):
8653 (image_instance_layout):
8654 (image_instance_layout):
8655 (query_string_geometry):
8656 (text_query_geometry):
8657 (image_instantiate):
8658 (image_instantiate):
8659 (cache_subwindow_instance_in_frame_maybe):
8660 (subwindow_query_geometry): make instance geometry signed.
8662 * glyphs-widget.c (widget_query_geometry):
8664 (button_query_geometry):
8665 (tree_view_query_geometry):
8666 (tab_control_query_geometry):
8667 (layout_query_geometry):
8669 (native_layout_layout): make instance geometry signed.
8671 2000-05-29 Olivier Galibert <galibert@pobox.com>
8673 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
8676 * general.c (syms_of_general): Add Qfull_assoc symbol.
8678 * data.c (finish_marking_weak_lists): Mark full-assoc lists
8680 (decode_weak_list_type): Decode full-assoc type.
8681 (encode_weak_list_type): Encode full-assoc type.
8682 (Fmake_weak_list): Update doc string.
8684 2000-05-30 Andy Piper <andy@xemacs.org>
8686 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
8688 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
8689 (decode_hash_table_weakness): ditto.
8690 (Fhash_table_weakness): ditto.
8691 (Fhash_table_type): ditto.
8692 (finish_marking_weak_hash_tables): ditto.
8693 (hash_table_weakness_validate): ditto.
8694 (syms_of_elhash): ditto.
8696 2000-05-28 Martin Buchholz <martin@xemacs.org>
8698 * XEmacs 21.2.34 is released.
8700 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8702 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
8704 (updating_line_start_cache): Gone.
8705 (regenerate_window): Replace resetting of VERTICAL_CLIP by
8706 generic code to force a minimum of 1 line laid out in the
8709 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8711 * glyphs.c (instantiate_image_instantiator): Check for initialized
8712 height & width no longer special cases IMAGE_NOTHING.
8713 (nothing_instantiate): Set height and width of instance.
8715 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8717 * unexelf.c (unexec): Search for ".data" section.
8718 Initialize new_data2_offset from old_data_index.
8719 Remove redundant check for ElfW.
8721 2000-05-23 Andy Piper <andy@xemacs.org>
8723 * glyphs.c (get_image_instantiator_governing_domain): allow more
8724 specific domains as the governing domain rather than expecting an
8725 exact match. This fixes problems with layouts.
8727 2000-05-22 Andy Piper <andy@xemacs.org>
8729 * redisplay-output.c (compare_runes): check for non-images
8731 * glyphs.c (set_glyph_dirty_p): ditto.
8732 (update_glyph_cachel_data): ditto.
8734 * glyphs-widget.c (layout_post_instantiate): ditto.
8735 (layout_post_instantiate): ditto.
8737 * event-msw.c (mswindows_wnd_proc): warning removal.
8739 2000-05-12 Craig Lanning <CraigL@DyCon.com>
8741 * s\mingw32.h: Added #undef for CLASH_DETECTION.
8743 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
8745 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
8747 * nt.c (rva_to_section): mingw32 needs rva_to_section.
8748 (mswindows_executable_type): mingw32 now has enough headers for
8751 2000-05-20 Andy Piper <andy@xemacs.org>
8753 * console-msw.c (mswindows_output_last_error): ; -> ,
8755 2000-05-12 Andy Piper <andy@xemacs.org>
8757 * console-msw.c (FROB): compare ints with ints.
8759 2000-05-11 Andy Piper <andy@xemacs.org>
8761 * glyphs-x.c (x_finalize_image_instance): make minimal build
8764 2000-05-20 Ben Wing <ben@xemacs.org>
8767 * event-Xt.c (vars_of_event_Xt):
8768 move modifier-keys-are-sticky to event-stream.c.
8771 * event-msw.c (mswindows_enqueue_mouse_button_event):
8772 * event-msw.c (key_needs_default_processing_p):
8773 * event-msw.c (XEMSW_LCONTROL):
8774 * event-msw.c (mswindows_handle_sticky_modifiers):
8775 * event-msw.c (FROB):
8776 * event-msw.c (clear_sticky_modifiers):
8777 * event-msw.c (output_modifier_keyboard_state):
8778 * event-msw.c (output_alt_keyboard_state):
8779 * event-msw.c (mswindows_wnd_proc):
8780 * event-msw.c (mswindows_modifier_state):
8781 * event-msw.c (emacs_mswindows_handle_magic_event):
8782 implement sticky modifiers.
8785 * event-stream.c (vars_of_event_stream):
8786 move modifier-keys-are-sticky here.
8792 implement map-range-table.
8795 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
8797 * redisplay-tty.c (reset_tty_modes):
8798 (tty_redisplay_shutdown): Adjust argument type to
8799 tty_frame_output_end.
8801 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8803 * eval.c (Fbacktrace): Don't output a line with only right
8806 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
8808 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
8809 (Fpq_reset_poll): Ditto.
8811 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
8813 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
8815 2000-05-16 Ben Wing <ben@xemacs.org>
8818 * buffer.c (dfc_convert_to/from_internal_format):
8819 * buffer.c (reinit_vars_of_buffer):
8820 Fix conversion functions to allow reentrancy.
8823 * console-msw.c (mswindows_output_last_error):
8824 New fun, generally useful -- output a human-readable
8825 version of GetLastError() on the console.
8828 * console-msw.h (struct mswindows_frame):
8829 Changes for DeferWindowPos. Declare mswindows_output_last_error().
8831 * console-stream.c (stream_output_begin):
8832 * console-stream.c (stream_output_end):
8833 * console-stream.c (stream_output_vertical_divider):
8834 * console-stream.c (stream_clear_region):
8835 * console-stream.c (stream_flash):
8836 * console-stream.c (console_type_create_stream):
8837 Delete blank stream methods, not needed.
8839 * console.h (struct console_methods):
8840 Split begin/end methods into window and frame.
8843 * event-msw.c (mswindows_handle_paint):
8844 * event-msw.c (output_alt_keyboard_state):
8845 * event-msw.c (mswindows_wnd_proc):
8846 * event-msw.c (vars_of_event_mswindows):
8847 Comment about problems with ignored-expose.
8848 Define mswindows-debug-events; not really implemented.
8850 * frame-msw.c (mswindows_init_frame_1):
8854 * glyphs-msw.c (begin_defer_window_pos):
8855 * glyphs-msw.c (mswindows_unmap_subwindow):
8856 * glyphs-msw.c (mswindows_map_subwindow):
8857 * glyphs-msw.c (mswindows_resize_subwindow):
8858 Use DeferWindowPos to reduce flashing when mapping/unmapping.
8860 * glyphs.c (make_image_instance_1):
8863 * gutter.c (Fredisplay_gutter_area):
8864 Use new begin/end methods.
8866 * lisp.h (Dynarr_new2):
8870 * redisplay-msw.c (mswindows_frame_output_begin):
8871 * redisplay-msw.c (mswindows_frame_output_end):
8872 * redisplay-msw.c (console_type_create_redisplay_mswindows):
8873 New begin/end methods -- handle DeferWindowPos.
8875 * redisplay-output.c (redisplay_move_cursor):
8876 * redisplay-output.c (redraw_cursor_in_window):
8877 * redisplay-output.c (redisplay_update_line):
8878 * redisplay-output.c (redisplay_output_window):
8879 New begin/end methods.
8882 * redisplay-tty.c (tty_frame_output_begin):
8883 * redisplay-tty.c (tty_frame_output_end):
8884 * redisplay-tty.c (console_type_create_redisplay_tty):
8885 New begin/end methods.
8888 * redisplay-x.c (x_window_output_begin):
8889 * redisplay-x.c (x_window_output_end):
8890 * redisplay-x.c (console_type_create_redisplay_x):
8891 New begin/end methods.
8893 * redisplay.c (redisplay_frame):
8894 * redisplay.c (Fredisplay_echo_area):
8895 New begin/end methods.
8896 use MAYBE_DEVMETH for clear_frame; it may not exist.
8898 * window.h (WINDOW_XFRAME):
8899 WINDOW_XFOO macros -- get locale and decode struct pointer.
8902 2000-05-12 Ben Wing <ben@xemacs.org>
8905 * emacs.c (ensure_no_quitting_from_now_on):
8906 * emacs.c (fatal_error_signal):
8907 * emacs.c (mswindows_handle_hardware_exceptions):
8909 * emacs.c (Fkill_emacs):
8910 * emacs.c (shut_down_emacs):
8911 * emacs.c (assert_failed):
8912 various improvements in fatal error handling.
8915 move preparing_for_armageddon to emacs.c.
8918 declare fatal_error_in_progress.
8921 * print.c (std_handle_out_external):
8922 * print.c (std_handle_out_va):
8923 * print.c (stderr_out):
8924 * print.c (stdout_out):
8925 use console under mswin when no standard output.
8926 don't do code conversion during fatal error.
8928 * scrollbar.c (Fscrollbar_page_up):
8929 * scrollbar.c (Fscrollbar_page_down):
8930 fix missing else. reindent.
8932 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
8936 * glyphs.h (GLYPH_CACHEL_DESCENT):
8937 (GLYPH_CACHEL_DESCENT):
8938 (GLYPH_CACHEL_DESCENT):
8939 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
8940 used in case these are inline functions.
8941 Use more absurd values to error check.
8943 include window.h for error check functions.
8945 2000-05-11 Ben Wing <ben@xemacs.org>
8947 * cmdloop.c (Freally_early_error_handler):
8948 Display message box under windows; otherwise, message will disappear
8949 before it can be viewed.
8952 * console-msw.c (Fmswindows_message_box):
8953 * console-msw.c (FROB):
8954 * console-msw.c (syms_of_console_mswindows):
8955 Define new fun `mswindows-message-box'.
8956 #### I will merge this into `popup-dialog-box'; just give me
8960 * general.c (syms_of_general):
8961 Some new symbols used in `mswindows-message-box'.
8964 * glyphs.c (Fset_image_instance_property):
8965 put warning in this fun.
8968 * glyphs.h (GLYPH_CACHEL_WIDTH):
8969 * glyphs.h (GLYPH_CACHEL_ASCENT):
8970 * glyphs.h (GLYPH_CACHEL):
8971 * glyphs.h (GLYPH_CACHEL_GLYPH):
8972 define error-checking versions to try to catch a bug i've seen --
8973 redisplay gets in an infinite loop because the glyph width of the
8974 continuation glyph is 65535.
8977 Extern message-box stuff.
8979 * window.c (allocate_window):
8980 * window.c (make_dummy_parent):
8981 * window.c (Fset_window_configuration):
8982 Use EQUAL not EQ for subwindow caches to make them work a bit
8983 better. (Something is still very broken.)
8986 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8988 * glyphs.c (image_instantiate): Suppress gcc warnings.
8989 (Fmake_image_instance): Fix doc string.
8990 * specifier.c (Fmake_specifier): Ditto.
8992 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
8994 * paths.h.in (PATH_LOCK): Removed.
8995 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
8996 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
8998 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
9000 * fns.c (Ffeaturep): Update e-mail address in doc-string.
9001 Document (featurep '(and xemacs 21.02)).
9003 2000-05-09 Ben Wing <ben@xemacs.org>
9005 * buffer.c (complex_vars_of_buffer):
9006 update modeline-format doc.
9009 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
9012 timeline of all released versions of Emacs, for use in creating
9013 authorship comments and in synching up.
9015 * glyphs-widget.c (image_instantiator_buttons):
9016 * glyphs-widget.c (image_instantiator_edit_fields):
9017 * glyphs-widget.c (image_instantiator_combo_box):
9018 * glyphs-widget.c (image_instantiator_scrollbar):
9019 * glyphs-widget.c (image_instantiator_progress_guage):
9020 * glyphs-widget.c (image_instantiator_tree_view):
9021 * glyphs-widget.c (image_instantiator_tab_control):
9022 * glyphs-widget.c (image_instantiator_labels):
9023 * glyphs-widget.c (image_instantiator_layout):
9024 * glyphs-widget.c (image_instantiator_native_layout):
9025 rename decode_domain method to governing_domain.
9028 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
9029 * glyphs.c (add_entry_to_device_ii_format_list):
9030 make sure we don't put an entry more than once into the list.
9031 * glyphs.c (check_instance_cache_mapper):
9032 *************************************************************
9033 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
9035 *************************************************************
9036 * glyphs.c (get_image_instantiator_governing_domain):
9037 clean up, expand on new concept of governing domain.
9038 * glyphs.c (instantiate_image_instantiator):
9039 * glyphs.c (allocate_image_instance):
9040 use governing_domain instead of cache_domain in naming.
9041 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
9042 * glyphs.c (make_image_instance_1):
9043 * glyphs.c (Fmake_image_instance):
9044 allow for any domain (not just device), and process the
9045 governing domain correctly. very big doc fix.
9046 * glyphs.c (Fimage_instance_domain):
9047 new primitive, to retrieve the governing domain of an image instance.
9048 * glyphs.c (image_instantiate):
9049 use new governing_domain stuff. this fixes a crash you could get
9050 by instantiating certain widget glyphs in frame locales. (should
9051 signal an error instead of crashing.)
9052 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
9053 * glyphs.c (Fglyphp): clean up doc.
9054 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
9055 * glyphs.c (syms_of_glyphs):
9056 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
9057 * glyphs.c (image_instantiator_format_create): add some comments about
9059 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
9060 for current-display-table. (Apparently Hrjove implemented in 1998 a
9061 design I wrote up in 1996, but didn't update the doc string.)
9063 * glyphs.h: clean up a doc string.
9064 * glyphs.h (governing_domain):
9065 * glyphs.h (struct image_instantiator_methods):
9066 changes for governing_domain stuff.
9069 * gutter.c (Fgutter_specifier_p):
9070 * gutter.c (Fgutter_size_specifier_p):
9071 * gutter.c (Fgutter_visible_specifier_p):
9073 * objects.c (Fcolor_specifier_p):
9074 * objects.c (Ffont_specifier_p):
9075 * objects.c (Fface_boolean_specifier_p):
9076 doc strings moved to make-*-specifier.
9078 * redisplay.c (add_disp_table_entry_runes_1):
9079 * redisplay.c (generate_fstring_runes):
9080 * redisplay.c (screen):
9081 add random comments and doc strings.
9084 * specifier.c (Fmake_specifier):
9085 major overhaul of this doc string.
9087 * specifier.c (Fvalid_specifier_domain_p):
9088 comment about the bogosity of image instances being domains.
9089 * specifier.c (decode_domain):
9090 now non-static, used in glyphs.c.
9091 * specifier.c (specifier_instance):
9092 comment about the bogosity of image instances being domains.
9093 * specifier.c (Fgeneric_specifier_p):
9094 move doc string to make-generic-specifier.
9095 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
9099 * specifier.h (DOMAIN_FRAME):
9100 * specifier.h (DOMAIN_LIVE_P):
9101 * specifier.h (DOMAIN_XDEVICE):
9103 add comments about problems with these macros.
9104 prototype for decode_domain.
9107 * toolbar.c (Ftoolbar_specifier_p):
9108 move doc string to `make-toolbar-specifier'.
9110 * window.c (window_unmap_subwindows_cache_mapper):
9111 *************************************************************
9112 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
9114 *************************************************************
9116 2000-05-09 Andy Piper <andy@xemacs.org>
9118 * glyphs.h: declare reset_frame_subwindow_instance_cache.
9120 * window.c (Fset_window_configuration): reset the frame subwindow
9121 cache and re-initialize the window subwindow caches.
9123 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
9125 2000-05-09 Ben Wing <ben@xemacs.org>
9127 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
9130 2000-04-26 Mike Woolley <mike@bulsara.com>
9132 * ntheap.c: Changed recreate_heap to limit the amount reserved
9133 for the heap to that which is actually available. Also now
9134 displays a message box (with some dignostics) in the event that
9135 it still can't start.
9137 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
9139 * callproc.c (Fold_call_process_internal): GCPRO path
9141 2000-05-08 Jan Vroonhof <jan@xemacs.org>
9143 Patch by Bill Perry.
9145 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
9146 back data instead of #ifdef.
9147 (Fscrollbar_page_down): ditto.
9149 2000-05-07 Ben Wing <ben@xemacs.org>
9152 Kludge for defining Qmswindows_tstr.
9155 * nt.c (open_input_file):
9156 * nt.c (open_output_file):
9157 * nt.c (rva_to_section):
9158 * nt.c (mswindows_executable_type):
9159 Move all memory-mapped-file routines here (some were in unexnt.c,
9160 which is bad because they are used by process-nt.c, and unexnt
9161 won't be around when portable dumping). Synched the above routines
9165 Removed ifdef'd out bogus code.
9166 Fixed some prototypes.
9169 * nt.h (OFFSET_TO_RVA):
9170 * nt.h (RVA_TO_OFFSET):
9171 * nt.h (RVA_TO_PTR):
9172 Moved the memory-mapped-file structures, macros and prototypes
9173 here, to parallel nt.c. ntheap.h should really be removed
9174 entirely, and it's a non-portable-dumper specific file.
9176 * ntheap.h (round_to_next):
9177 Moved the memory-mapped-file structures, macros and prototypes
9180 * ntproc.c (compare_env):
9181 Moved rva_to_section and mswindows_executable_type to nt.c.
9182 Moved compare_env to process-nt.c.
9183 ntproc.c will die, one day.
9185 * ntproc.c (sys_spawnve):
9186 Account for win32_ -> mswindows_.
9189 * process-nt.c (struct nt_process_data):
9190 * process-nt.c (ensure_console_window_exists):
9191 * process-nt.c (compare_env):
9192 * process-nt.c (nt_create_process):
9193 * process-nt.c (nt_kill_process_by_pid):
9194 * process-nt.c (syms_of_process_nt):
9195 * process-nt.c (vars_of_process_nt):
9196 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
9197 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
9198 changes). Eliminate our old `nt-quote-process-args' mechanism.
9199 Synch up nt_create_process with FSF 20.6 sys_spawnve.
9200 Move compare_env here from ntproc.c.
9202 * process.c (Fprocess_send_region):
9203 Takes an optional fourth argument, BUFFER, which should fix some
9204 problems with call-process.
9207 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
9210 Move ICC_BAR_CLASSES to syscommctrl.h.
9211 Add preliminary macros for MSWindows/Mule. More to come.
9214 * unexnt.c (unexec):
9215 open_output_file moved to nt.c.
9218 2000-05-05 Andy Piper <andy@xemacs.org>
9220 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
9221 instance from the frame cache also since GC may catch up too late
9222 to make frame deletion sane.
9224 2000-05-04 Andy Piper <andy@xemacs.org>
9226 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
9227 (x_finalize_image_instance): ungcpro on deletion.
9229 * glyphs.c (image_instantiator_format_create): give pointers a
9230 query geometry method so that the geometry is at least set.
9232 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
9233 initialize layouts if using widgets.
9235 2000-05-03 Andy Piper <andy@xemacs.org>
9237 * nt.c: remove bogus reference to sysmmsystem.h
9239 * gui-x.c (popup_selection_callback): fix no selection abort.
9241 2000-05-02 Andy Piper <andy@xemacs.org>
9243 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
9244 (mswindows_widget_instantiate): ditto.
9246 * glyphs-widget.c (initialize_widget_image_instance): initialize
9248 (widget_instantiate): cope with children and items in the same
9251 * glyphs.c (mark_image_instance): cope with children as a first
9253 (image_instance_equal): ditto.
9254 (image_instance_hash): ditto.
9255 (image_instance_changed): ditto.
9257 2000-04-30 Andy Piper <andy@xemacs.org>
9259 * glyphs.c (subwindow_query_geometry): new function. Return some
9261 (subwindow_instantiate): don't assign dimensions if none have been
9263 (image_instantiator_format_create): add subwindow_query_geometry.
9264 (print_image_instance): cope with layouts as widgets.
9266 2000-04-29 Andy Piper <andy@xemacs.org>
9268 * frame.c (delete_frame_internal): call
9269 free_frame_subwindow_instance_cache so that all subwindows are
9270 finalized before their parent.
9271 (mark_frame): remove subwindow_cachels.
9272 (Fmake_frame): remove subwindow_cachel manipulation.
9273 (allocate_frame_core): subwindow_instance_cache is a weak list.
9274 (delete_frame_internal): set subwindow_instance_cache to nil.
9276 * glyphs-msw.c (mswindows_finalize_image_instance): make double
9278 (mswindows_finalize_image_instance): use the device
9279 not the domain as the domain may have died already.
9281 * glyphs-x.c (x_finalize_image_instance): ditto.
9282 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
9285 * redisplay-output.c (redisplay_unmap_subwindows): update for
9286 subwindow instance cache as a weak list.
9287 (redisplay_unmap_subwindows_maybe): ditto.
9288 (redisplay_unmap_subwindows_except_us): ditto.
9290 * glyphs.c (unmap_subwindow): error checking will check the domain
9291 so don't deal with it here. Don't use cachels anymore.
9292 (map_subwindow): ditto.
9293 (update_subwindow_cachel_data): remove old accessor names.
9294 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
9295 (Fresize_subwindow): don't update cachel.
9296 (mark_subwindow_cachels):
9297 (update_subwindow_cachel_data):
9298 (add_subwindow_cachel):
9299 (get_subwindow_cachel_index):
9300 (update_subwindow_cachel):
9301 (reset_subwindow_cachels):
9302 (mark_subwindow_cachels_as_not_updated): deleted.
9303 (cache_subwindow_instance_in_frame_maybe): new function. Add a
9304 subwindow instance to the frame cache.
9305 (find_matching_subwindow): update for subwindow instance cache as
9307 (update_widget_instances): ditto.
9308 (image_instance_type_to_mask):inlined.
9309 (free_frame_subwindow_instance_cache): new function. finalize all
9310 subwindows that are instantiated.
9312 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
9313 of cachel information.
9314 (IMAGE_INSTANCE_DISPLAY_X):
9315 (IMAGE_INSTANCE_DISPLAY_Y):
9316 (IMAGE_INSTANCE_DISPLAY_WIDTH):
9317 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
9318 (XIMAGE_INSTANCE_DISPLAY_X):
9319 (XIMAGE_INSTANCE_DISPLAY_Y):
9320 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
9321 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
9322 remove subwindow_cachel structure and function references.
9323 (image_instance_type_to_mask): inline from glyphs.c
9325 * redisplay.c (redisplay_frame): remove subwindow_cachel
9328 * frame.h (struct frame): remove subwindow_cachels.
9329 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
9331 * frameslots.h: add subwindow_instance_cache.
9333 * window.c (replace_window): check subwindow cache of replacement.
9334 (window_unmap_subwindows_cache_mapper):
9335 (window_unmap_subwindows): new functions. Unmap all subwindows
9336 cached on this window.
9337 (mark_window_as_deleted): unmap all subwindows.
9339 2000-04-27 Andy Piper <andy@xemacs.org>
9341 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
9343 * glyphs-widget.c (widget_layout): return something.
9344 (layout_layout): return something. Fail if not initialized.
9345 (layout_query_geometry): ditto.
9346 (image_instantiator_native_layout): new function. Initialized the
9348 (widget_instantiate): don't do layout stuff here.
9350 * glyphs.c (instantiate_image_instantiator): reorded calling or
9351 instantiate and post_instantiate with layout in between.
9352 (image_instance_layout): be more selective about deciding whether
9353 the layout has been done or not.
9355 * glyphs.h (struct image_instantiator_methods): return a value
9358 2000-04-26 Andy Piper <andy@xemacs.org>
9360 * glyphs.c (allocate_image_instance): make initial width and
9361 height unspecified. Set initialized to 0.
9363 * syscommctrl.h new file. Encapsulates commctrl.h.
9365 * syswindows.h new file. Encapsulates windows.h.
9367 * ntplay.c: use new syswindows.h and syscommctrl.h header.
9369 * console-msw.h: ditto.
9371 * redisplay-tty.c (tty_output_display_block): remove layout references.
9373 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
9374 window handle rather than just the frame.
9376 * glyphs.c (mark_image_instance): remove layout references.
9377 (print_image_instance): ditto.
9378 (image_instance_equal): ditto.
9379 (image_instance_hash): ditto.
9380 (decode_image_instance_type): ditto.
9381 (encode_image_instance_type): ditto.
9382 (image_instantiate): ditto.
9383 (allocate_glyph): ditto.
9384 (Fimage_instance_height): ditto.
9385 (Fimage_instance_width): ditto.
9386 (update_subwindow): ditto.
9388 * redisplay-x.c (x_output_display_block): recode for layouts as
9391 * redisplay-output.c (redisplay_output_layout): recode for layouts
9393 (compare_runes): remove layout references.
9395 * redisplay-msw.c (mswindows_output_display_block): recode for
9398 * glyphs-widget.c (image_instantiator_layout): remove
9399 layout_possible_dest_types.
9400 (layout_possible_dest_types): deleted.
9402 * glyphs.h (image_instance_type): remove layout references.
9403 (struct Lisp_Image_Instance): ditto. Add initialized flag.
9404 (IMAGE_INSTANCE_INITIALIZED): new accessor.
9405 (XIMAGE_INSTANCE_INITIALIZED): ditto.
9407 2000-04-25 Andy Piper <andy@xemacs.org>
9409 * glyphs-widget.c (image_instantiator_buttons):
9410 (image_instantiator_edit_fields):
9411 (image_instantiator_combo_box):
9412 (image_instantiator_scrollbar):
9413 (image_instantiator_progress_guage):
9414 (image_instantiator_tree_view):
9415 (image_instantiator_tab_control):
9416 (image_instantiator_labels):
9417 (image_instantiator_layout): call default post_instantiate method.
9418 (widget_post_instantiate): new function. Simply lays out the
9421 * glyphs.h (struct image_instantiator_methods): add
9422 post_instantiate method.
9424 * glyphs.c (instantiate_image_instantiator): add post_instantiate
9427 2000-04-23 Andy Piper <andy@xemacs.org>
9429 * glyphs.h (struct image_instantiator_methods): add
9430 decode_domain_method.
9431 (struct Lisp_Image_Instance): remove subwindow frame - it can be
9432 derived from the domain.
9433 (IMAGE_INSTANCE_FRAME): new accessor.
9434 (XIMAGE_INSTANCE_FRAME): ditto.
9436 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
9437 instead of _SUBWINDOW_FRAME.
9438 (finalize_image_instance): ditto.
9439 (Fimage_instance_foreground): ditto.
9440 (Fimage_instance_background): ditto.
9441 (image_instantiate): ditto.
9442 (update_subwindow_cachel): ditto.
9443 (update_subwindow): ditto.
9444 (unmap_subwindow): ditto.
9445 (map_subwindow): ditto
9446 (subwindow_instantiate): ditto.
9447 * glyphs-msw.c (mswindows_update_widget): ditto.
9448 (mswindows_progress_gauge_instantiate): ditto.
9449 (mswindows_tab_control_update): ditto.
9450 * glyphs-x.c (x_update_widget): ditto.
9451 (x_widget_instantiate): ditto.
9452 (x_tab_control_instantiate): ditto.
9453 (x_tab_control_update): ditto.
9454 * event-msw.c (mswindows_wnd_proc): ditto
9456 * glyphs-widget.c (image_instantiator_layout): use
9457 subwindow_decode_domain.
9458 (image_instantiator_buttons): ditto.
9459 (image_instantiator_edit_fields): ditto.
9460 (image_instantiator_combo_box): ditto.
9461 (image_instantiator_scrollbar): ditto.
9462 (image_instantiator_progress_guage): ditto.
9463 (image_instantiator_tree_view): ditto.
9464 (image_instantiator_tab_control): ditto.
9465 (image_instantiator_labels): ditto.
9466 (image_instantiator_layout): ditto.
9468 * glyphs.c: add instance error checking to many functions.
9469 (instantiate_image_instantiator): decode device from cache_domain.
9470 (image_instantiate): partially rewrite by using
9471 decode_image_instantiator_domain to determine what domain the
9472 instance needs to be cached in.
9473 (decode_image_instantiator_domain): new function. Determine what
9474 domain the image needs to be cached in.
9475 (check_window_subwindow_cache): new error checking function.
9476 (check_instance_cache_mapper): ditto.
9477 (check_image_instance_structure): ditto.
9478 (subwindow_decode_domain): new function. Encodes a window as a
9479 subwindow's cache domain.
9480 (image_instantiator_format_create): use it for text and
9483 2000-04-21 Andy Piper <andy@xemacs.org>
9485 * glyphs.c (image_instance_device): new function.
9486 (image_instance_frame): new function.
9487 (image_instance_window): new function.
9488 (image_instance_live_p): new function.
9490 * window.c (mark_window_as_deleted): reset the subwindow_instance_
9493 * glyphs.h (struct Lisp_Image_Instance): device->domain.
9494 (IMAGE_INSTANCE_DOMAIN): new accessor.
9495 (XIMAGE_INSTANCE_DOMAIN): ditto.
9497 * glyphs-x.c (x_finalize_image_instance): device->domain.
9499 * glyphs-msw.c (init_image_instance_geometry): device->domain.
9500 (mswindows_finalize_image_instance): ditto.
9502 * glyphs-eimage.c (jpeg_instantiate): device->domain.
9503 (gif_instantiate): ditto.
9504 (png_instantiate): ditto.
9505 (tiff_instantiate): ditto.
9507 * glyphs.c (instantiate_image_instantiator): use domain rather
9509 (mark_image_instance): device -> domain.
9510 (print_image_instance): ditto.
9511 (finalize_image_instance): ditto.
9512 (image_instance_equal): ditto.
9513 (allocate_image_instance): ditto.
9514 (Fcolorize_image_instance): ditto.
9515 (query_string_geometry): ditto.
9516 (image_instantiate): ditto
9517 (query_string_font): ditto.
9518 (image_instantiate): ditto.
9519 (update_subwindow): ditto.
9520 (unmap_subwindow): ditto.
9521 (map_subwindow): ditto.
9522 (subwindow_instantiate): ditto.
9524 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
9525 (DOMAIN_FRAME): ditto.
9526 (DOMAIN_WINDOW): ditto.
9527 (DOMAIN_LIVE_P): ditto.
9528 (XDOMAIN_DEVICE): ditto.
9529 (XDOMAIN_FRAME): ditto.
9530 (XDOMAIN_WINDOW): ditto.
9532 * specifier.c (Fvalid_specifier_domain_p): add image instances as
9533 a valid specifier domain.
9535 2000-04-19 Andy Piper <andy@xemacs.org>
9537 * glyphs-widget.c (syms_of_glyphs_widget): remove
9538 widget-callback-current-channel.
9539 (vars_of_glyphs_widget): ditto.
9542 * gui.c (get_gui_callback): revert to previous behaviour.
9544 2000-04-18 Andy Piper <andy@xemacs.org>
9546 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
9547 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
9548 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
9550 * glyphs.c (image_instance_equal): add margin_width.
9551 (image_instance_hash): ditto.
9553 * glyphs-widget.c (widget_instantiate): deal with margin-width.
9554 (layout_query_geometry): ditto.
9555 (layout_layout): ditto.
9556 (syms_of_glyphs_widget): add margin-width.
9557 (image_instantiator_layout): allow margin-width.
9559 * glyphs.c (update_widget_instances): make a normal function.
9560 (syms_of_glyphs): remove Qupdate_widget_instances.
9563 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
9564 so that we don't corrupt ideas about the last event or
9565 command. Remove widget-callback-current-channel fiddling.
9566 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9568 2000-05-01 Martin Buchholz <martin@xemacs.org>
9570 * XEmacs 21.2.33 is released.
9572 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
9574 * make-src-depend: Allow dots in header file name.
9576 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
9578 * mule-charset.h (struct charset_lookup): Add
9579 next_allocated_1_byte_leading_byte and
9580 next_allocated_2_byte_leading_byte.
9581 * mule-charset.c: Move above two variables so that those values
9584 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
9586 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
9587 when string length is zero.
9588 (find_charsets_in_emchar_string): Ditto.
9590 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
9592 * lisp.h: extern Qdialog and Qmenubar.
9594 * gui-x.c: added events.h.
9595 also fixed typo which made the file uncompilable.
9597 * general.c: Added Qmenubar and Qdialog
9599 2000-04-28 Ben Wing <ben@xemacs.org>
9601 * frame-msw.c (mswindows_init_frame_1):
9602 * frame-msw.c (mswindows_mark_frame):
9603 * event-msw.c (mswindows_enqueue_dispatch_event):
9605 * console-msw.h (struct mswindows_frame):
9606 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
9607 there are now three hash tables for callbacks.
9608 mswindows_enqueue_dispatch_event is no longer static.
9610 * dialog-x.c (maybe_run_dbox_text_callback):
9611 * dialog-x.c (dbox_descriptor_to_widget_value):
9612 switch to new cons3 form for callbacks.
9614 * glyphs-msw.c (mswindows_register_gui_item):
9615 * glyphs-msw.c (mswindows_widget_instantiate):
9616 * glyphs-msw.c (add_tree_item):
9617 * glyphs-msw.c (add_tab_item):
9618 new image instance parameter, so it can be passed to callback-ex.
9619 respect :callback-ex as well as :callback.
9621 * glyphs-widget.c (VALID_GUI_KEYWORDS):
9624 * glyphs.c (print_image_instance):
9625 prettify, e.g. now prints widget type.
9628 certain funs have new image instance parameter.
9631 * gui.c (get_gui_callback):
9632 * gui.c (gui_item_add_keyval_pair):
9633 * gui.c (gui_item_init):
9634 * gui.c (gui_add_item_keywords_to_plist):
9635 * gui.c (mark_gui_item):
9636 * gui.c (gui_item_hash):
9637 * gui.c (gui_item_equal):
9638 * gui.c (copy_gui_item):
9639 * gui.c (syms_of_gui):
9640 recognize callback-ex in a number of places.
9641 also, fix the annoying "can't get out of yes-no dialog" bug.
9644 * gui.h (struct Lisp_Gui_Item):
9645 recognize callback-ex in a number of places.
9647 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9648 new parameter in button_item_to_widget_value.
9650 * glyphs-x.c (x_update_widget):
9651 * glyphs-x.c (x_button_instantiate):
9652 * glyphs-x.c (x_button_update):
9653 * glyphs-x.c (x_progress_gauge_instantiate):
9654 * glyphs-x.c (x_edit_field_instantiate):
9655 * glyphs-x.c (x_combo_box_instantiate):
9656 * glyphs-x.c (x_tab_control_instantiate):
9657 * glyphs-x.c (x_label_instantiate):
9658 new image instance parameter in various places.
9661 * event-Xt.c (enqueue_Xt_dispatch_event):
9662 this fun gets exported.
9665 * gui-msw.c (mswindows_handle_gui_wm_command):
9666 handle both :callback and :callback-ex, and generate our own
9667 event because it's one of the callback-ex arguments.
9670 * gui-x.c (popup_selection_callback):
9671 handle both :callback and :callback-ex, and generate our own
9672 event because it's one of the callback-ex arguments.
9673 * gui-x.c (button_item_to_widget_value):
9674 * gui-x.c (gui_items_to_widget_values_1):
9675 * gui-x.c (gui_item_children_to_widget_values):
9676 * gui-x.c (gui_items_to_widget_values):
9677 new image instance parameter in various places.
9679 * fns.c (Freplace_list):
9680 fix small typo in doc string.
9683 declare enqueue_Xt_dispatch_event.
9685 2000-04-28 Ben Wing <ben@xemacs.org>
9688 * buffer.c (Frecord_buffer):
9689 * buffer.c (syms_of_buffer):
9690 delete record-buffer-hook.
9693 * fns.c (Freplace_list):
9694 * fns.c (syms_of_fns):
9695 new primitive replace-list.
9698 slot for old buffer-alist.
9704 * redisplay.c (redisplay_frame):
9705 * redisplay.c (syms_of_redisplay):
9706 * redisplay.c (vars_of_redisplay):
9707 new hook buffer-list-changed-hook.
9710 2000-04-27 Ben Wing <ben@xemacs.org>
9712 * extents.h: extern in_modeline_generation.
9714 * redisplay.c (generate_formatted_string_db): set
9715 in_modeline_generation.
9717 * extents.c (extent_changed_for_redisplay): don't mark redisplay
9718 flags if in modeline generation. otherwise frame-modified-tick
9719 is ticked far too often.
9720 Declare in_modeline_generation.
9722 2000-04-26 Ben Wing <ben@xemacs.org>
9724 * emacs.c (vars_of_emacs): document quick-build "error-checking"
9726 (vars_of_emacs): add quick-build as an error-checking option.
9727 A bit kludgy, but there doesn't seem much point in creating
9728 a real var for this.
9730 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
9732 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
9734 * redisplay.h (struct display_line): Add a new variable,
9737 * redisplay.c (create_text_block): Set dl->line_continuation if
9739 (create_string_text_block): Ditto.
9740 (regenerate_window_incrementally): Use line_continuation instead
9741 of searching continuation glyph.
9742 (add_margin_runes): Call add_glyph_rune.
9743 (add_glyph_rune): Handle margin glyph.
9745 2000-04-20 Martin Buchholz <martin@xemacs.org>
9747 * filelock.c (fill_in_lock_file_name):
9749 Check for IS_ANY_SEP instead of '/'.
9751 Avoid generating gratuitous garbage. Call user_login_name() directly.
9752 Never check errno without first seeing that system call failed.
9753 (unlock_file): Add GCPRO.
9754 (Flock_buffer): Fix docstring.
9755 (Ffile_locked_p): Fix docstring. Add GCPRO.
9757 2000-04-19 Martin Buchholz <martin@xemacs.org>
9759 * sysdep.c (get_pty_max_bytes):
9760 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
9761 strings longer than 252 bytes.
9763 * md5.c: Unconditionally include ANSI header <limits.h>
9765 * glyphs-x.c (convert_EImage_to_XImage):
9766 * lisp-union.h (union Lisp_Object):
9767 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
9769 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9771 * filelock.c (current_lock_owner): Remove unused variable o, p.
9773 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
9775 * callint.c: Remove multiply defined symbol Qlet
9776 (syms_of_callint): ditto.
9778 2000-04-14 Andy Piper <andy@xemacs.org>
9780 * general.c (syms_of_general): add last-command, this-command, let
9783 * lisp.h: declare various symbols.
9785 * glyphs.h: declare Qwidget_callback_current_channel;
9787 * glyphs-widget.c (syms_of_glyphs_widget): add
9788 Qgui_callback_current_channel.
9789 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
9791 * gui-msw.c (mswindows_handle_gui_wm_command): bind
9792 widget-callback-current-channel when invoking the interactive
9793 arg. Also bind last-command and next-command when invoking the
9795 * gui-x.c (popup_selection_callback): ditto.
9797 * gui.c (get_gui_callback): massage args so that we are always
9798 calling eval. This allows us to add our own variable bindings
9801 * glyphs-x.c (x_button_instantiate): use
9802 gui_items_to_widget_values since this is GC safe.
9803 (x_progress_gauge_instantiate): ditto.
9804 (x_edit_field_instantiate): ditto.
9805 (x_label_instantiate): ditto.
9807 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
9808 (emacs_Xt_event_widget_focus_out): new function
9809 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
9811 (emacs_Xt_event_add_widget_actions): new function. add focus
9812 functions as actions.
9813 (init_event_Xt_late): use it.
9815 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
9817 * event-stream.c (Fdispatch_event): Doc fix.
9819 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
9821 * postgresql.c: Remove all references to PQsetenv*.
9823 * postgresql.h: Remove references to PGsetenvHandler object.
9824 * lrecord.h (lrecord_type): Ditto.
9826 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9828 * glyphs-msw.h (struct mswindows_image_instance_data): Added
9829 real_heigh and real_width members, and accessor macros for these.
9831 * glyphs-msw.c (init_image_instance_geometry): New function.
9832 (init_image_instance_from_dibitmap): Use it.
9833 (mswindows_resource_instantiate): Use it.
9834 (init_image_instance_from_xbm_inline): Use it.
9835 (mswindows_initialize_image_instance_mask): Use real bitmap
9837 (mswindows_create_resized_bitmap): Ditto.
9838 (mswindows_create_resized_mask): Ditto.
9840 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
9841 and bitmap to their surface size.
9843 2000-04-11 Jan Vroonhof <jan@xemacs.org>
9845 * process-unix.c (unix_send_process): Guard against process MIA
9846 after Faccept_process_output.
9848 2000-04-11 Ben Wing <ben@xemacs.org>
9850 * eval.c (unbind_to_hairy): fix brokenness introduced by
9851 nanosecond speed improvements.
9853 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
9855 * sunplay.c (init_device): To play sounds correctly, the device
9856 apparently needs to be initialized at least once by XEmacs. Make
9859 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
9861 * redisplay.c (add_margin_runes): Add text image glyph
9864 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9866 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
9867 gcc is newer than 2.5.
9869 2000-04-06 Colin Rafferty <colin@xemacs.org>
9871 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
9873 * fns.c (size_bit_vector):
9874 * alloc.c (size_vector):
9875 (make_vector_internal):
9876 (make_bit_vector_internal):
9877 (sweep_bit_vectors_1):
9878 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
9880 2000-04-06 Andy Piper <andy@xemacs.org>
9882 * gmalloc.c (malloc): undo previous change.
9887 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
9889 * line-number.c (buffer_line_number): Revert to former version.
9891 2000-04-06 Andy Piper <andy@xemacs.org>
9893 * gmalloc.c (malloc): add error checking.
9898 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
9899 button_item_to_widget_value arg.
9901 * glyphs-x.c (x_button_instantiate): add extra
9902 button_item_to_widget_value arg.
9903 (x_progress_gauge_instantiate): ditto.
9904 (x_edit_field_instantiate): ditto.
9905 (x_label_instantiate): ditto.
9907 * gui-x.c (gui_items_to_widget_values_1): add extra
9908 button_item_to_widget_value arg.
9909 (button_item_to_widget_value): add extra menu_item_p arg.
9911 * gui-x.h: change signature of button_item_to_widget_value.
9913 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
9914 button_item_to_widget_value arg.
9916 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9918 * buffer.h (struct buffer): auto_save_modified should be long.
9920 2000-04-05 Andy Piper <andy@xemacs.org>
9922 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
9924 (button_query_geometry): give a little more room so that athena
9927 2000-04-05 Andy Piper <andy@xemacs.org>
9929 * faces.c (complex_vars_of_faces): The widget face should inherit
9930 the font of the gui-element face.
9932 2000-04-04 Andy Piper <andy@xemacs.org>
9934 * glyphs-x.c (x_button_update): new function. unconditionally
9935 update a button's state when the instance is dirty.
9936 (image_instantiator_format_create_glyphs_x): add x_button_update.
9937 (x_widget_instantiate): remove old resize cruft.
9939 2000-04-02 Andy Piper <andy@xemacs.org>
9941 * frame.c (change_frame_size_1): The introduction of gutters means
9942 that we need to allow 0 as a potential frame dimension.
9944 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
9946 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
9947 image glyph if allow_cursor.
9948 (add_hscroll_rune): Don't allow cursor to border glyph.
9949 (create_text_block): Ditto.
9951 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
9953 (redisplay_output_layout): Call ensure_face_cachel_complete for
9957 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
9959 * redisplay.c (add_glyph_rune): Adding text image as text runes.
9961 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
9964 * redisplay-tty.c (tty_output_display_block): Delete the routine
9965 for text image glyph
9966 * redisplay-x.c (x_output_display_block): ditto
9967 * redisplay-msw.c (mswindows_output_display_block): ditto
9969 2000-02-02 Mike Alexander <mta@arbortext.com>
9971 Note: Some of these were committed by accident as part of other
9974 * regex.c (regex_compile): Avoid compiler warnings.
9976 * ntproc.c (sys_spawnve): Avoid compiler warnings.
9978 * nt.h: Declare term_ntproc correctly.
9980 * nt.c: Remove incorrect declaration of get_home_directory which
9981 is declared correctly in lisp.h.
9983 * keymap.c (get_keyelt): Avoid compiler warnings.
9984 (raw_lookup_key_mapper): Avoid compiler warnings.
9986 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
9988 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
9990 * filemode.c (mode_string): Avoid compiler warnings.
9992 * file-coding.c (Fcoding_system_aliasee): Add return statement to
9995 * events-mod.h: Undef some things that winuser.h defines differently.
9997 * data.c (Faset): Avoid compiler warnings.
9999 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
10001 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
10003 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
10004 Fall through to simple beep on error.
10005 Replace "extern" by real header file.
10007 * linuxplay.c: Use nativesound.h
10008 (play_sound_data): Return error code. Be less verbose on error.
10010 * sunplay.c: Use nativesound.h
10011 (play_sound_data): Return error code. Be less verbose on error.
10013 * ntplay.c: Use nativesound.h
10014 (play_sound_data): Return fake error code
10016 * sgiplay.c: Use nativesound.h
10017 (play_sound_data): Return error code
10019 * hpplay.c: Use nativesound.h, partially implement
10020 new error code. Break compilation until finished.
10021 (play_sound_data): error code.
10023 * nativesound.h (play_sound_file):
10024 (play_sound_data): Prototype in new header.
10026 2000-03-31 Andy Piper <andy@xemacs.org>
10028 * glyphs-widget.c: (button_query_geometry): new function. Adjust
10029 for toggle and radio buttons.
10030 (image_instantiator_buttons): use it.
10032 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
10034 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
10035 (x_update_horizontal_scrollbar_callback): Return if no mirror was
10036 found. Scrollbar event probably belonged to some old config.
10038 2000-03-31 Andy Piper <andy@xemacs.org>
10040 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
10042 (initialize_widget_image_instance): default layout to
10043 LAYOUT_HORIZONTAL rather than 0.
10044 (widget_instantiate): reverse the item list at the end rather than
10046 (layout_layout): re-code for the border text at the front of the
10047 item list rather than at the end.
10048 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
10049 provided by the user.
10050 (widget_query_geometry): comment.
10052 2000-03-30 Andy Piper <andy@xemacs.org>
10054 * glyphs-widget.c (image_instantiator_layout): allow standard
10055 widget keywords in layouts.
10057 * gutter.c (output_gutter): cope with nil gutter contents.
10059 * frame.c (Fset_frame_properties): add gutter docs.
10061 2000-03-29 Andy Piper <andy@xemacs.org>
10063 * toolbar-msw.c (TBSTYLE_FLAT): add.
10064 (mswindows_output_toolbar): minor fiddling.
10066 2000-03-29 Andy Piper <andy@xemacs.org>
10068 * gutter.c (output_gutter): force gutter size recalculation if
10069 what we are trying to display won't fit.
10070 (update_gutter_geometry): new function. A per-gutter version of
10071 update_frame_gutter_geometry.
10072 (update_frame_gutter_geometry): use it.
10073 (redraw_exposed_gutter): add extra debugging output.
10075 2000-03-28 Mike Alexander <mta@arbortext.com>
10077 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
10078 (pdump_file_unmap): Implement it on Windows
10079 (pdump_file_get): Save alocated handles for pdump_file_unmap
10081 2000-03-28 Andy Piper <andy@xemacs.org>
10083 * gui.c (get_gui_callback): treat Quit specially.
10085 2000-03-27 Andy Piper <andy@xemacs.org>
10087 * glyphs.c (image_instantiate): be careful to check in the same
10090 2000-03-27 Didier Verna <didier@xemacs.org>
10092 * config.h.in: define the proper SMART_INCLUDE macro.
10093 handle renaming of `foo_h_path' to `foo_h_file'.
10095 * database.c: ditto.
10099 * linuxplay.c: ditto.
10101 * terminfo.c: ditto.
10103 * tooltalk.h: ditto.
10105 2000-03-27 Andy Piper <andy@xemacs.org>
10107 * glyphs-msw.c (mswindows_update_widget): make sure the widget
10108 gets updated whenever the face might have changed.
10110 2000-03-26 Mike Alexander <mta@arbortext.com>
10112 * dumper.c (pdump_resource_free): Fix the comment.
10114 2000-03-21 Olivier Galibert <galibert@pobox.com>
10116 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
10118 2000-03-22 Mike Alexander <mta@arbortext.com>
10120 * dumper.c: Include Windows headers on Windows
10121 (pdump_resource_free): Add a body to the function
10122 (pdump_load): exe_name -> exe_path and add some comments.
10124 2000-03-25 Mike Alexander <mta@arbortext.com>
10126 * gui.c (copy_gui_item_tree): Return a value in all cases
10128 2000-03-21 Didier Verna <didier@xemacs.org>
10130 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
10132 (SMART_INCLUDE): new macro.
10133 (POSTGRES_INCLUDE): new macro to include postgresql headers from
10134 the proper location.
10136 * postgresql.c: use it.
10140 2000-03-24 Andy Piper <andy@xemacs.org>
10142 * gutter.c (redraw_exposed_gutters): must be "in display" when we
10145 2000-03-24 Andy Piper <andy@xemacs.org>
10147 * redisplay-output.c (compare_runes): use image_instance_changed
10148 to detect changes. Do not depend on glyphs_changed, only depend on
10150 (redisplay_output_layout): add debug messages.
10151 (compare_runes): ditto.
10153 * glyphs.h: declare new functions.
10154 (struct Lisp_Image_Instance): remove percent and associated
10157 * gui.h: declare new copying functions.
10159 * gui.c (copy_gui_item_tree): new function.
10160 (copy_gui_item): new function.
10161 (gui_item_id_hash): revert to standard hash.
10162 (gui_item_hash): ditto.
10163 (gui_item_hash_internal): deleted.
10164 (mark_gui_item): mark value.
10165 (gui_item_add_keyval_pair): add value.
10166 (gui_item_init): ditto.
10167 (gui_add_item_keywords_to_plist): ditto.
10168 (gui_item_equal): ditto.
10169 (syms_of_gui): add Q_value.
10171 * glyphs-x.c (x_progress_gauge_update): use pending items and
10172 value for setting the state.
10173 (x_update_widget): don't set items from pending here.
10175 * glyphs-widget.c (update_widget): update items here.
10176 (progress_gauge_set_property): use items for storing value. Put
10177 new value in pending items.
10179 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
10180 items for new value. Convert percent -> value.
10181 (mswindows_tab_control_update): don't update items here.
10183 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
10184 (update_subwindow): ditto.
10185 (image_instance_changed): new function. Compare hash values and
10186 past and present widget items.
10187 (image_instantiate): We more careful about where we instantiate
10189 (image_instantiate): add error checking.
10191 * gutter.c (syms_of_gutter): use -hook.
10193 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
10195 * console-tty.c (Fset_console_tty_input_coding_system): Use
10197 (Fset_console_tty_output_coding_system): Use Qterminal.
10198 (tty_init_console): Use Qkeyboard and Qterminal.
10200 2000-03-21 Ben Wing <ben@xemacs.org>
10202 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
10203 From Mike Alexander <mta@arbortext.com>.
10205 2000-03-21 Ben Wing <ben@xemacs.org>
10207 * event-msw.c (mswindows_need_event): Horrible kludge to fix
10208 process brokenness. Proper implementation to come.
10210 Rename call-process-internal to old-call-process-internal.
10211 New impl. in process.el.
10213 2000-03-21 Martin Buchholz <martin@xemacs.org>
10215 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
10217 2000-03-20 Andy Piper <andy@xemacs.org>
10219 * glyphs.c (full_list_hash): make hashes of the same elements in
10220 different orders return different values.
10222 2000-03-20 Martin Buchholz <martin@xemacs.org>
10224 * XEmacs 21.2.32 is released.
10226 2000-03-20 Martin Buchholz <martin@xemacs.org>
10228 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
10229 (DFC_MALLOC_USE_CONVERTED_DATA):
10230 Add aliasing-safe casts to allow use with char* or unsigned char*
10233 * eldap.c (Fldap_open):
10234 (Fldap_search_basic):
10237 Make C++-compilable.
10238 Make sure GCPRO'ed variables are initialized.
10239 Use temp variables to avoid repeated calls to Flength.
10241 2000-03-16 Martin Buchholz <martin@xemacs.org>
10244 Make sure PATH_MAX is always defined.
10245 Include limits.h for PATH_MAX.
10246 Deprecate use of MAXPATHLEN.
10248 2000-03-10 Martin Buchholz <martin@xemacs.org>
10250 * emacs.c: Add reinit_vars_of_fileio.
10251 * symsinit.h: Add reinit_vars_of_fileio.
10252 * fileio.c (reinit_vars_of_fileio): New.
10253 * fileio.c (Fmake_temp_name):
10254 Initialize temp_name random number from microseconds to make
10255 collisions even less likely. Initialize always at process startup
10256 time. (make-temp-name) used to return the same file name twice in
10258 Random stylistic fiddling.
10261 2000-03-20 Andy Piper <andy@xemacs.org>
10263 * glyphs.c (image_instantiate): allow text glyphs to be
10264 instantiated in the minibuffer window.
10266 2000-03-19 Andy Piper <andy@xemacs.org>
10268 * glyphs.c (image_instance_hash): be careful about which items we
10271 * glyphs-widget.c (tab_control_set_property): record into pending
10272 items rather than the actual items.
10274 * glyphs-x.c (x_update_widget): use pending items to update with.
10276 * glyphs-msw.c (mswindows_tab_control_update): use pending items
10279 * glyphs.c (mark_image_instance): mark pending items.
10281 * window.c (Fset_window_configuration): record the buffer.
10282 (Fselect_window): totally revert previous change which breaks many
10285 2000-03-18 Andy Piper <andy@xemacs.org>
10287 * glyphs-msw.c (mswindows_tab_control_update): force selected
10290 * glyphs.c (image_instantiate): don't allow the minibuffer as a
10291 window domain cache, otherwise we get inconsistencies at
10292 startup. There is something fishy at startup which can lead to the
10293 minibuffer being the selected window when the gutter content is
10296 * gui.c (parse_gui_item_tree_list): add probably unnecessary
10298 (parse_gui_item_tree_children): ditto.
10299 (parse_gui_item_tree_item): ditto.
10301 * glyphs.c (Fupdate_widget_instances): return something.
10303 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10305 * window.c (Fselect_window): Undo 2000-03-17 change.
10307 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
10309 * postgresql.c (Fpq_setenv): Remove this turkey when linking
10310 against v7.0 libraries. Insta-coredump city until the postgres
10313 2000-03-17 Andy Piper <andy@xemacs.org>
10315 * faces.c (complex_vars_of_faces): don't give the widget face an
10316 inherited background pixmap.
10318 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
10321 * event-stream.c (Fdispatch_non_command_events): return something.
10323 * gutter.c (output_gutter): use widget face.
10324 (clear_gutter): ditto.
10326 * NEWS: adjust again.
10328 * window.c (Fselect_window): make sure this runs to completion to
10329 avoid oddities with Fset_window_configuration.
10330 (Fcurrent_window_configuration): in general do not save the
10331 minibuffer as the selected window.
10333 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
10335 2000-03-16 Olivier Galibert <galibert@pobox.com>
10337 * emacs.c (Frunning_temacs_p): Revert previous patch.
10338 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
10340 2000-03-16 Andy Piper <andy@xemacs.org>
10342 * glyphs-x.c (x_tab_control_update): if no widget values then
10345 * NEWS: update for new features.
10347 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
10348 synthetic event to the native system.
10349 (reinit_vars_of_event_Xt): set force_event_pending to
10350 emacs_Xt_force_event_pending.
10352 * events.h (struct event_stream): add force_event_pending.
10354 * specifier.c (recompute_one_cached_specifier_in_window): add
10357 * redisplay.c (redisplay_frame): don't call
10358 update_frame_subwindows. Reset subwindow cachels when
10359 subwindows_changed, removing this was an optimization too far.
10361 * redisplay-output.c (compare_runes): reorganize so that we catch
10362 glyph changes when we want them. Set optimize_output when this
10363 would help layouts.
10364 (redisplay_output_layout): remove frame_really_changed, use
10365 optimize_output instead.
10367 * redisplay-msw.c (mswindows_output_display_block): reset
10368 optimize_output after outputting a glyph.
10369 * redisplay-x.c (x_output_display_block): ditto.
10370 * redisplay-tty.c (tty_output_display_block): ditto.
10372 * gutter.c: (specifier_vars_of_gutter): use new spec changed
10374 (gutter_specs_changed): do specific gutter positions.
10375 (top_gutter_specs_changed): new function. Only update the
10376 specified gutter specs.
10377 (bottom_gutter_specs_changed): ditto.
10378 (left_gutter_specs_changed): ditto.
10379 (right_gutter_specs_changed): ditto.
10381 * gui.c (gui_item_hash_internal): new function, does a real hash.
10382 (gui_item_id_hash): use it.
10383 (gui_item_hash): hash the eval'ed gui_item.
10385 * gui-x.c (popup_selection_callback): send an eval event to call
10386 Fupdate_widget_instances.
10388 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
10389 to call Fupdate_widget_instances.
10391 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
10392 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
10394 * glyphs.c: (update_frame_subwindows): deleted.
10395 (Fupdate_widget_instances): new function for updating the dirty
10396 state of widgets that might have changed.
10397 (syms_of_glyphs): add Qupdate_widget_instances.
10398 (full_list_hash): hash a list completely.
10399 (image_instance_hash): use it for items and properties.
10401 * frame-msw.c (mswindows_size_frame_internal): remove unused
10404 * faces.h (struct face_cachel): fix comment.
10406 * event-stream.c (Fdispatch_non_command_events): new
10407 function. Process non-command events, forcing an event cycle
10409 (syms_of_event_stream): declare.
10410 (event_stream_force_event_pending): new function. Force an event
10411 on the native event queue so that an event cycle will occur next
10415 (struct ntpipe_shove_stream):
10416 (mswindows_enqueue_dispatch_event):
10417 (mswindows_dequeue_dispatch_event):
10418 (mswindows_cancel_dispatch_event):
10419 (mswindows_pump_outstanding_events):
10420 (mswindows_drain_windows_queue):
10421 (mswindows_handle_paint):
10422 (mswindows_wnd_proc):
10423 (mswindows_key_to_emacs_keysym):
10424 (get_process_input_waitable):
10425 (emacs_mswindows_delete_stream_pair): re-indent file.
10426 (mswindows_need_event): do not process further fds if the windows
10427 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
10428 fixes the 100% cpu problem.
10429 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
10431 2000-03-15 Olivier Galibert <galibert@pobox.com>
10437 * emacs.c: Moved dump file searching to dumper.c.
10438 (Frunning_temacs_p): Fixed.
10440 * alloc.c: Moved everything pdump-related to dumper.c. Removed
10441 last_lrecord_type_index_assigned.
10443 2000-02-20 Olivier Galibert <galibert@pobox.com>
10445 * symsinit.h: Added reinit parameter to init_console_stream
10448 * lisp.h: Added file parameter to pdump_load declaration.
10450 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
10451 support. Added dump file searching.
10453 * config.h.in: Added EMACS_PROGNAME.
10455 * console-stream.c (init_console_stream): Fix reinitialisation
10456 when running from temacs.
10458 * alloc.c (pdump): Add id support.
10459 (pdump_load): Add file parameter and signature/id support.
10461 * Makefile.in.in: Add full pdump support.
10463 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
10465 * postgresql.c: Update documentation to reflect latest code
10467 (print_result): Show tuple counts in printed representation when
10469 (Fpq_put_nbytes): MULE-ize.
10470 (Fpq_get_line_async): Ditto.
10472 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10474 * postgresql.c (Fpq_lo_import): Fix return value.
10475 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
10477 2000-03-13 Ben Wing <ben@xemacs.org>
10479 * alloc.c (pdump_load):
10480 Fix compile warning under mswin.
10482 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10484 * postgresql.c: Mule-ization, bug fixes.
10485 Use PG_CODING to encapsulate coding system name changes.
10486 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
10487 (pg-coding-system): Create.
10489 (Fpq_conn_defaults): Mule-ize.
10490 (Fpq_connectdb): Mule-ize & bug fix.
10491 (Fpq_connect_start): Mule-ize.
10492 (Fpq_set_client_encoding): Mule-ize.
10493 (Fpq_finish): Document `DEAD' connection status.
10494 (Fpq_clear): Ditto.
10495 (Fpq_pgconn): Mule-ize.
10496 (Fpq_exec): Mule-ize & bug fix.
10497 (Fpq_send_query): Ditto.
10498 (Fpq_get_result): Ditto.
10499 (Fpq_res_status): Mule-ize.
10500 (Fpq_result_error_message): Mule-ize.
10501 (Fpq_ntuples): fix comments.
10502 (Fpq_fname): Mule-ize.
10503 (Fpq_fnumber): Mule-ize.
10504 (Fpq_ftype): fix comments.
10505 (Fpq_get_value): Mule-ize.
10506 (Fpq_cmd_status): Ditto.
10507 (Fpq_cmd_tuples): Ditto.
10508 (Fpq_oid_value): Ditto.
10509 (Fpq_notifies): Ditto.
10510 (Fpq_lo_import): Ditto.
10511 (Fpq_lo_export): Ditto.
10512 (Fpq_get_line): Ditto.
10513 (Fpq_put_line): Mule-ize and bug fix.
10514 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
10516 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10518 * postgresql.c (vars_of_postgresql): Mule-ize.
10519 (Fpq_conn_defaults): Ditto.
10521 2000-03-12 Ben Wing <ben@xemacs.org>
10523 * alloc.c (Fmake_byte_code):
10524 * alloc.c (debug_string_purity_print):
10525 * alloc.c (pdump_backtrace):
10526 * alloc.c (pdump_get_indirect_count):
10527 * alloc.c (pdump_register_sub):
10528 * alloc.c (pdump_register_object):
10529 * alloc.c (pdump_register_struct):
10530 * alloc.c (pdump_dump_data):
10531 * alloc.c (pdump_reloc_one):
10535 * console-msw.c (GetConsoleHwnd):
10536 * console-msw.c (msw_hide_console):
10537 * console-msw.c (msw_show_console):
10538 * console-msw.c (msw_ensure_console_buffered):
10539 * console-msw.c (msw_output_console_string):
10540 * console-msw.c (console_type_create_mswindows):
10542 a) Added functions to manipulate the console window for use with
10545 b) Added support for writing text to the console, which is now
10546 used under Windows when xemacs is not being run non-interactively,
10547 to write text that would otherwise be destined for stdout because
10548 under these circumstances, text written to stdout tends to
10549 disappear and not be seen.
10553 * event-Xt.c (x_event_to_emacs_event):
10554 * event-Xt.c (describe_event_window):
10555 * events-mod.h (XEMACS_MOD_CONTROL):
10557 * events.c (Fmake_event):
10558 * events.c (character_to_event):
10559 * events.c (event_to_character):
10560 * events.c (format_event_object):
10561 * events.c (Fevent_modifiers):
10563 * events.h (struct key_data):
10564 * events.h (struct button_data):
10565 * events.h (struct misc_user_data):
10566 * frame-x.c (Fcde_start_drag_internal):
10567 * frame-x.c (Foffix_start_drag_internal):
10568 * gpmevent.c (Freceive_gpm_event):
10570 * keymap.c (bucky_sym_to_bucky_bit):
10571 * keymap.c (control_meta_superify):
10572 * keymap.c (make_key_description):
10573 * keymap.c (keymap_lookup_directly):
10574 * keymap.c (create_bucky_submap):
10575 * keymap.c (keymap_store):
10576 * keymap.c (define_key_check_and_coerce_keysym):
10577 * keymap.c (define_key_parser):
10578 * keymap.c (define_key_alternate_name):
10579 * keymap.c (Fdefine_key):
10580 * keymap.c (raw_lookup_key_mapper):
10581 * keymap.c (struct map_keymap_unsorted_closure):
10582 * keymap.c (map_keymap_unsorted_mapper):
10583 * keymap.c (map_keymap_sort_predicate):
10584 * keymap.c (map_keymap_sorted):
10585 * keymap.c (accessible_keymaps_mapper_1):
10586 * keymap.c (where_is_recursive_mapper):
10587 * keymap.c (describe_map_mapper):
10588 * keymap.c (describe_map_sort_predicate):
10589 * keymap.c (describe_map):
10590 * keymap.c (complex_vars_of_keymap):
10591 And a number of other files, the key modifier preprocessor
10592 constants that xemacs uses have names that conflict with constants
10593 defined under MS Windows for other purposes, so they were renamed
10594 to begin with the prefix XEMACS_. The variables that hold such
10595 modifiers were changed to consistently be of type int to fix
10596 various compile warnings.
10598 * console.c (complex_vars_of_console):
10601 * device-msw.c (mswindows_finish_init_device):
10602 * device-msw.c (msw_get_workspace_coords):
10603 * device-msw.c (mswindows_device_system_metrics):
10604 and various other files, added support for a new
10605 device property called offset-workspace which returns the position
10606 of the upper left corner of the workspace area and goes along with
10607 the existing size-workspace property.
10610 * dialog-msw.c (push_bufbyte_string_as_unicode):
10611 * dialog-msw.c (mswindows_popup_dialog_box):
10612 Added support for XEmacs-style accelerator specifications in
10613 button text. Note: I didn't add support for this under X Windows,
10614 and somebody needs to do this.
10617 * dialog.c (Fpopup_dialog_box):
10618 Documented the support for accelerators that was just mentioned.
10620 editfns.c (get_home_directory): Changed behavior under Windows
10621 when HOME not defined; former behavior was irretrievably broken.
10624 * emacs.c (main_1):
10626 * minibuf.c (clear_echo_area_internal):
10627 * minibuf.c (echo_area_append):
10629 * print.c (std_handle_out_external):
10630 * print.c (std_handle_out_va):
10632 * print.c (write_string_to_stdio_stream):
10633 * print.c (output_string):
10634 * print.c (debug_print):
10635 * print.c (debug_backtrace):
10636 * print.c (debug_short_backtrace):
10637 Cleaned up the code that prints text to stdout so that this can be
10638 changed to output into a console window instead under MS Windows,
10639 as described above.
10642 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
10643 * eval.c (internal_catch):
10644 * eval.c (unwind_to_catch):
10645 * eval.c (throw_or_bomb_out):
10646 * eval.c (condition_case_1):
10647 * eval.c (signal_1):
10648 * eval.c (check_error_state_sanity):
10649 * eval.c (call_with_suspended_errors_1):
10650 * eval.c (call_with_suspended_errors):
10651 * eval.c (reinit_vars_of_eval):
10652 Added code to catch throw loops and check for a pesky bug that may
10656 * event-msw.c (key_needs_default_processing_p):
10657 * event-msw.c (mswindows_wnd_proc):
10658 * event-msw.c (mswindows_modifier_state):
10659 * event-msw.c (emacs_mswindows_quit_p):
10660 * event-msw.c (vars_of_event_mswindows):
10661 a) Added support for using the alt key to select menu items as is
10662 standard under MS Windows. This is controlled using the variable
10663 menu-accelerator-enabled, just like under X Windows. There is an
10664 option on the options menu to turn this support on. I really
10665 think that it should be on by default under Windows, but I'm not
10666 going to make this change yet.
10668 b) Added support for dynamic display size changes under Windows.
10671 * event-stream.c (maybe_echo_keys):
10672 * event-stream.c (Fnext_event):
10673 * event-stream.c (command_builder_find_leaf):
10674 * event-stream.c (lookup_command_event):
10675 * event-stream.c (execute_command_event):
10676 * event-stream.c (pre_command_hook):
10677 * event-stream.c (post_command_hook):
10678 * event-stream.c (syms_of_event_stream):
10679 * event-stream.c (vars_of_event_stream):
10680 * event-stream.c (complex_vars_of_event_stream):
10681 * events.h (struct command_builder):
10683 a) Tried to clean up a little bit the horribly written x-specific
10684 accelerator code that crept into this file. I moved this code
10685 into menubar-x.c where it belongs. I also needed to move the
10686 command builder structure into the file events.h because it is
10687 accessed directly by this accelerator code. What I didn't do, but
10688 which should be done at some point, is to properly abstract this
10689 code using device methods instead of the kludgy way that it
10690 currently hooks into the event code.
10692 b) Added the lisp variables this-command-properties and
10693 last-command- properties, which should be used to synchronize two
10694 adjacent commands in preference to playing games with the variable
10695 this-command, which is typically what happens.
10697 c) Added some slightly nasty code to hook into the lisp support
10698 for shifted- motion-key selection. This is actually necessary for
10699 somewhat complicated reasons, which are described in
10700 simple.el. (NB: I think the proper thing would be to have the code
10701 that calls the pre and post command hooks also call out to generic
10702 lisp functions in simple.el, where all built-in stuff could be
10703 added. I will think about this more.)
10705 * event-unixoid.c (poll_fds_for_input):
10706 * lread.c (readchar):
10707 * redisplay-tty.c (tty_clear_frame):
10708 * redisplay-x.c (x_get_gc):
10709 * signal.c (interrupt_signal):
10710 And a whole bunch of other files: fixed up places that printed
10711 directly to stderr to instead call the function stderr_out so that
10712 the changes I made under Windows work correctly.
10714 * filemode.c (mode_string):
10718 * frame-msw.c (mswindows_size_frame_internal):
10719 Fixed the computation of frame size and position to keep the frame
10720 within the workspace area, rather than within the physical
10721 dimensions of the screen, so that the frame doesn't overlap window
10722 manager decorations, such as the start menu and toolbar, typically
10723 at the bottom of the screen.
10725 * frame.c (vars_of_frame):
10726 Changed the default frame title format under MS Windows to consist
10727 of buffername-XEmacs, which is standard under MS Windows. I think
10728 it might be a good idea to change this everywhere because I think
10729 it is superior to the current frame title format, but this is the
10730 kind of change that is likely to cause some people to get annoyed,
10731 so I'm not making it.
10733 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
10735 * gui-msw.c (mswindows_handle_gui_wm_command):
10736 Fixed compile warnings.
10739 * gui-x.c (strdup_and_add_accel):
10740 * gui-x.c (button_item_to_widget_value):
10742 Added code to automatically put an accelerator onto the beginning
10743 of menu items that don't have one as is now the standard, and is
10744 described more later. Also fixed things so that the menu item
10745 name can be an evaluated expression, again a new standard.
10748 * gui.c (gui_item_add_keyval_pair):
10749 * gui.c (make_gui_item_from_keywords_internal):
10750 * gui.c (gui_add_item_keywords_to_plist):
10751 * gui.c (gui_item_accelerator):
10752 * gui.c (gui_name_accelerator):
10753 * gui.c (gui_item_included_p):
10754 * gui.c (gui_item_display_flush_left):
10755 * gui.c (gui_item_display_flush_right):
10756 * gui.c (parse_gui_item_tree_item):
10757 * gui.c (parse_gui_item_tree_children):
10758 * gui.c (parse_gui_item_tree_list):
10759 Mule-ized. Cleanup. GCPRO addition.
10761 * line-number.c (buffer_line_number):
10763 * lisp.h (EMACS_INT_MAX):
10764 Added the manifest constant EMACS_INT_MIN corresponding to the
10765 existing constant EMACS_INT_MAX. This is partially to fix compile
10766 warnings under Windows, and partly for cleanliness.
10769 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
10770 * menubar-msw.c (msw_translate_menu_or_dialog_item):
10771 * menubar-msw.c (displayable_menu_item):
10772 * menubar-msw.c (populate_menu_add_item):
10773 * menubar-msw.c (populate_or_checksum_helper):
10774 * menubar-msw.c (populate_menu):
10775 * menubar-msw.c (update_frame_menubar_maybe):
10776 * menubar-msw.c (prune_menubar):
10777 * menubar-msw.c (msw_char_is_accelerator):
10778 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
10779 * menubar-msw.c (mswindows_handle_wm_command):
10780 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
10781 * menubar-msw.c (mswindows_handle_wm_initmenu):
10782 * menubar-msw.c (mswindows_update_frame_menubars):
10783 * menubar-msw.c (mswindows_free_frame_menubars):
10784 * menubar-msw.c (mswindows_popup_menu):
10785 Fixed a bug in handling accelerators where an extra character
10786 would be displayed in the menu item. Also generalized the
10787 function displayable_menu_item because it is now used by the
10788 dialog box code as well. And finally, added code in the functions
10789 that create the menubar to extract a list of accelerators for the
10790 top level menubar, which is used in the event code to determine
10791 whether a particular alt-key combination should be used to invoke
10792 a menu item, or should be passed through to access the standard
10793 XEmacs keymap binding for this key combination.
10795 Much needed GCPROing.
10798 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10799 * menubar-x.c (menu_item_descriptor_to_widget_value):
10800 * menubar-x.c (restore_in_menu_callback):
10801 * menubar-x.c (x_popup_menu):
10802 * menubar-x.c (menu_move_up):
10803 * menubar-x.c (menu_move_down):
10804 * menubar-x.c (menu_move_left):
10805 * menubar-x.c (menu_move_right):
10806 * menubar-x.c (menu_select_item):
10807 * menubar-x.c (command_builder_operate_menu_accelerator):
10808 * menubar-x.c (menu_accelerator_junk_on_error):
10809 * menubar-x.c (command_builder_find_menu_accelerator):
10810 * menubar-x.c (Faccelerate_menu):
10812 Moved a whole bunch of code here that was previously in
10813 event-stream.c as described above. There is also code connected
10814 to the new standard of adding an accelerator to the beginning of
10815 menu items that don't have one as described above and below.
10818 * menubar.c (menu_parse_submenu_keywords):
10819 * menubar.c (Fmenu_find_real_submenu):
10820 * menubar.c (Fnormalize_menu_item_name):
10821 * menubar.c (syms_of_menubar):
10822 * menubar.c (vars_of_menubar):
10823 * menubar.c (complex_vars_of_menubar):
10825 a) Cleaned up a bunch of documentation and improved it.
10827 b) XEmacs now automatically adds an accelerator onto the beginning
10828 of any menu items that don't have one. I did this because there
10829 will inevitably be some menu items on the main menubar that don't
10830 have accelerators on them because the package that adds that
10831 particular menu item hasn't yet been fixed up to have accelerators
10832 in them and it looked rather strange to have some items with and
10833 some items without accelerators, especially since even in items
10834 without accelerators, you can, at least under windows, still
10835 access the item through an accelerator corresponding to the first
10836 character in the item's name. If people don't like this behavior,
10837 I can add a variable to turn it off optionally, but I'm not sure
10838 this is a good idea because we really do need to have accelerators
10839 on all of the menu items, and if a package doesn't like the
10840 accelerators being put on the first character, then it should put
10841 the accelerators where they belong.
10843 c) I made a behavior change, which is that the descriptor that
10844 specifies the text of the menu item, which formerly was just a
10845 string, can now also be an evaluated expression. This makes this
10846 descriptor parallel with all of the others, which could also be
10847 evaluated expressions. This also obviates the need for the
10848 keyword :label, which was previously listed in the documentation
10849 as unimplemented, and which was for the same purpose.
10854 * ntproc.c (new_child):
10855 * ntproc.c (sys_spawnve):
10856 * ntproc.c (find_child_console):
10857 * ntproc.c (sys_kill):
10858 Fixed compile warnings. By the way, this file should really go
10859 away entirely, and this will happen as soon as Kirill makes his
10860 final round of process cleanups, which affect the function
10864 * process-nt.c (struct nt_process_data):
10865 * process-nt.c (find_process_from_pid):
10866 * process-nt.c (send_signal_the_nt_way):
10867 * process-nt.c (enable_child_signals):
10868 * process-nt.c (find_child_console):
10869 * process-nt.c (send_signal_the_95_way):
10870 * process-nt.c (nt_finalize_process_data):
10871 * process-nt.c (ensure_console_window_exists):
10872 * process-nt.c (nt_create_process):
10873 * process-nt.c (nt_kill_child_process):
10874 * process-nt.c (nt_kill_process_by_pid):
10875 * process-nt.c (nt_open_network_stream):
10876 * process-nt.c (vars_of_process_nt):
10877 Copied over code from Emacs 20.5 to correctly send signals to sub-
10878 processes under Windows 95. Also added code to automatically
10879 create and hide console window when a sub-process is created under
10880 Windows 95, which obviates the need for the separate runemacs.exe
10881 executable, and finally implemented some variables that were
10882 implemented in Emacs 20.5, but previously not in XEmacs. These
10883 include mswindows- start-process-share-console and
10884 mswindows-start-process-inherit-error-mode. (Both of these only
10885 apply to Windows 95.)
10887 * regex.c (regex_compile): Fixed a compile warning.
10890 * select-msw.c (mswindows_own_selection):
10891 * select-msw.c (mswindows_get_foreign_selection):
10892 * select-msw.c (mswindows_disown_selection):
10893 * select-msw.c (console_type_create_select_mswindows):
10894 * select-msw.c (syms_of_select_mswindows):
10895 Cleaned up the file and implemented the device method
10896 selection_exists_p, which had accidentally been left out. Also
10897 removed four lisp functions that were remnants from before the
10898 time when the selection code was properly device abstracted.
10899 These functions are no longer needed because there are generic
10900 equivalents, and because they were added recently and don't exist
10901 in FSF Emacs, I don't think there's any problem with just deleting
10905 * sysdep.c (sys_subshell):
10906 Fixed a compile warning, although in this case there's probably
10907 something wrong with this code, and it ought to be looked into
10908 more thoroughly by somebody who understands it.
10911 * window.c (Fwindow_text_area_height):
10912 * window.c (Fwindow_width):
10913 * window.c (Fwindow_full_width):
10914 * window.c (Fwindow_pixel_width):
10915 * window.c (debug_print_window):
10916 * window.c (syms_of_window):
10917 Added functions window-text-area-height and window-full-width,
10918 which are functions for returning various width and height
10919 characteristics of a window. (One of these functions is necessary
10920 for making the file dialog box work correctly, and the other one
10921 was added for completeness.) Also added a table to the
10922 documentation for window-height which describes the entire scheme
10923 for accessing width and height characteristics of a window.
10925 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10927 * nt.c (fstat): Added a comment for another problem with
10928 non-encapsulated [f]stat(), reported by Adrian Aichner
10929 <aichner@ecf.teradyne.com>.
10931 2000-03-11 Andy Piper <andy@xemacs.org>
10933 * window.c (make_dummy_parent): initialize subwindow instance
10935 (Fset_window_configuration): zero extent_modiff.
10937 2000-03-10 Andy Piper <andy@xemacs.org>
10939 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
10940 more changes can be triggered.
10941 (Fredisplay_frame): ditto.
10942 (Fredraw_device): ditto.
10943 (Fredisplay_device): ditto.
10944 (redisplay_frame): make non-static.
10945 (redisplay_frame): call update_frame_gutter_geometry outside of
10948 * gutter.h: declare update_frame_gutter_geometry.
10950 * redisplay.h: declare redisplay_frame.
10952 * gutter.c (update_frame_gutter_geometry): move geometry changes
10953 in update_frame_gutters here. Geometry changes can only occur
10954 outside of redisplay.
10955 (update_frame_gutters): remove geometry change code.
10956 (Fredisplay_gutter_area): make sure that we are in display when we
10957 update and that we have flushed any size changes.
10959 2000-03-11 Andy Piper <andy@xemacs.org>
10961 * alloc.c (pdump_dump_data): remove i & count shadows.
10963 2000-02-27 Mike Alexander <mta@arbortext.com>
10965 * sysdep.h: Declare pdump_read_file
10967 * sysdep.c (pdump_read_file): New function
10969 * alloc.c (pdump_load): Call pdump_read_file to get the portable
10972 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10974 * lrecord.h: add `lrecord_type_pgsetenv'.
10976 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
10978 * symsinit.h: declare (vars|syms)_of* functions.
10979 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
10981 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
10983 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
10985 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
10988 * emacs.c (main_1): Call postgres initialization code.
10990 * postgresql.h: New file. PostgreSQL RDBMS support.
10991 * postgresql.c: New file.
10993 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
10995 * redisplay-output.c (redisplay_output_display_block): Disable
10998 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11000 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
11001 (Fcanna_henkan_next): Ditto.
11002 (Fcanna_bunsetu_henkou): Ditto.
11003 (Fcanna_henkan_kakutei): Ditto.
11004 (Fcanna_henkan_end): Ditto.
11005 (Fcanna_henkan_quit): Ditto.
11006 (Fcanna_henkan_next): Set retun value correctly.
11007 (c2mu): Use unsigned char instead of signed char.
11009 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11011 * emacs.c (main_1): Always call syms_of_gui.
11012 * inline.c: include gui.h
11014 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11016 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
11017 converted to Lisp_Object.
11018 (Qtop_bottom): New variable.
11019 (syms_of_redisplay): Initialize it.
11020 * redisplay.h (Vvisible_bell): Ditto.
11021 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
11022 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
11023 only flash top and bottom.
11025 2000-03-08 Andy Piper <andy@xemacs.org>
11027 * buffer.c (Frename_buffer): record new buffer name the right way.
11029 2000-03-08 Andy Piper <andy@xemacs.org>
11031 * glyphs.c (update_subwindow): increase hash depth so that widget
11032 items get picked up properly.
11034 * redisplay-output.c (compare_runes): increase hash depth so that
11035 widget items get picked up properly.
11037 2000-03-08 Andy Piper <andy@xemacs.org>
11039 * gutter.c (output_gutter): add some debug.
11041 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
11042 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
11043 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
11045 * redisplay-output.c (compare_runes): use display_hash to
11046 determine if glyphs really are not the same.
11048 * glyphs.c (update_subwindow): check display_hash to see if
11049 anything really needs to be updated. If not then do
11050 nothing. Record the display_hash after updating.
11051 (image_instance_equal): compare the image_instance face also.
11053 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
11055 * redisplay.h: Fix comment style.
11057 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
11059 * consle-msw.h (struct mswindows_frame):
11060 Added new member paint_pending to indicate whether a WM_PAINT
11061 magic event has been queued for this frame.
11063 * event-msw.c (mswindows_drain_windows_queue):
11064 Don't queue a WM_PAINT magic event if one is already queued.
11065 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
11067 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
11069 2000-03-07 Didier Verna <didier@xemacs.org>
11071 * dired.c: #include `regex.h' after `sysfile.h'.
11073 2000-03-06 Martin Buchholz <martin@xemacs.org>
11075 * sound.c (init_nas_sound): Fix compiler warning.
11077 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
11079 (MARK_STRUCT_AS_FREE):
11080 (MARK_STRUCT_AS_NOT_FREE):
11081 Make `gcc -fstrict-aliasing' work properly.
11083 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
11085 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
11086 (mswindows_delete_device): Call CoUnnitialize().
11088 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
11090 2000-02-25 <CraigL@DyCon.com>
11092 * process-nt.c: MinGW now has <shellapi.h>, but still needs
11095 * sysdep.c: This extern declaration for environ prevents MinGW
11096 from finding the variable in CRTDLL.DLL.
11098 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
11100 (SHGFI_EXETYPE): ..
11101 (WM_MOUSEWHEEL): ..
11102 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
11104 (MMRESULT): Removed, now defined in cygwin's windows headers.
11106 (uid_t,gid_t,pid_t,ssize_t): ..
11107 (_timeb): Removed, MinGW defines both _timeb and timeb.
11108 (HAVE_H_ERRNO): Added.
11109 (HAVE_TZNAME): Added, configure is not detecting this.
11111 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
11113 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
11114 * syntax.c (syntax_match): Use it.
11116 * cmds.c: Import auto-fill-chars from FSF Emacs.
11117 (Vauto_fill_chars): New variables.
11118 (internal_self_insert): Check Vauto_fill_chars.
11120 Declare auto-fill-chars as a Lisp variable and initialize it.
11122 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
11124 * fileio.c (Fmake_symbolic_link):
11126 Run handlers even if local machine doesn't have symlinks.
11128 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
11130 * event-msw.c (mswindows_drain_windows_queue):
11131 Don't generate paint magic events for non-XEmacs frames.
11133 2000-03-05 Andy Piper <andy@xemacs.org>
11135 * redisplay.c (redisplay_frame): generate_displayable_area and
11136 friends assumes that we are not in GC, we therefore have to make
11137 sure that this doesn't happen.
11139 * gutter.c (calculate_gutter_size): generate_displayable_area
11140 assumes that we are not in GC, we therefore have to make sure that
11141 this doesn't happen.
11143 2000-03-05 Martin Buchholz <martin@xemacs.org>
11145 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
11147 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
11149 * redisplay.c (regenerate_window): Make sure we set a sane value
11150 for end_pos even if we jump out of the loop.
11151 (regenerate_window): Answer Ben's question :-).
11152 (start_end_of_last_line): Add may_error argument.
11153 (start_of_last_line):
11154 (end_of_last_line): Pass may_error = 0.
11155 (end_of_last_line_may_error): New function.
11156 (pixel_to_glyph_translation): Use it, so we don't crash in
11159 2000-03-04 Andy Piper <andy@xemacs.org>
11161 * window.h (struct window): add gutter_extent_modiff.
11163 * window.c (allocate_window): zero out gutter_extent_modiff.
11165 * redisplay.h: declare sync_display_line_structs.
11167 * redisplay.c (add_glyph_rune): add a better comment.
11169 * redisplay-output.c (sync_display_line_structs): made non-static.
11170 (compare_runes): remove unneccesary glyph cachel access.
11172 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
11174 * gutter.c (output_gutter): don't output the gutter if extent
11175 changes only involve extents in buffers. use 4 sets of display
11177 (gutter_extent_signal_changed_region_maybe): new function. Mark
11178 extents in gutters as changed.
11179 (update_frame_gutters): use 4 sets of display lines.
11180 (reset_gutter_display_lines): ditto.
11181 (free_frame_gutters): ditto.
11182 (redraw_exposed_gutter): force output of gutters.
11184 * frame.h (struct frame): add 4 sets of gutter display lines.
11186 * extents.c: (extent_changed_for_redisplay): signal changes to
11187 extents in strings in the gutter as well as extents in buffers.
11189 2000-03-02 Andy Piper <andy@xemacs.org>
11191 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
11193 * frame.c (Fmake_frame): make sure the gutters get initialized
11194 after the frame is visible.
11195 (set_frame_selected_window): re-arrange compilation macros a
11197 (change_frame_size_1): mark gutters changed.
11199 * device.c (Fset_device_class): mark gutters changed.
11201 2000-03-01 Andy Piper <andy@xemacs.org>
11203 * window.c (window_top_frame_gutter_height): deleted.
11204 (window_bottom_frame_gutter_height): ditto.
11205 (window_left_frame_gutter_height): ditto.
11206 (window_right_frame_gutter_height): ditto.
11207 (window_top_gutter_height): don't use them.
11208 (window_bottom_gutter_height): ditto.
11209 (window_left_gutter_width): ditto.
11210 (window_right_gutter_width): ditto.
11211 (Fsplit_window): ditto.
11212 (Fwindow_pixel_edges): don't use border dimensions here.
11214 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
11215 (update_scrollbar_instance): ditto.
11217 * redisplay.c (generate_modeline): don't take gutters into account.
11218 (generate_modeline): ditto.
11219 (redisplay_frame): small gutter display optimization.
11221 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
11223 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
11224 gutters into account.
11226 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
11227 for window position and type.
11229 * gutter.c (get_gutter_coords): fix for frame gutters.
11230 (update_frame_gutters): update frame geometry if the gutters have
11232 (init_frame_gutters): record current gutter geometries.
11234 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
11236 (mswindows_widget_instantiate): ditto.
11238 * frame.h (struct frame): add current_gutter_bounds.
11240 * frame.c (change_frame_size_1): position window and minibuffer
11241 appropriately taking into account the frame gutters.
11243 * frame-x.c: (x_initialize_frame_size): take into account the
11246 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11248 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
11250 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11252 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
11254 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11256 * file-coding.c (reset_decoding_stream): Clear previous
11257 detection state when autodetect.
11259 2000-02-29 Didier Verna <didier@xemacs.org>
11261 * extents.c (set_extent_glyph_1): don't require extents to be
11264 2000-02-27 Andy Piper <andy@xemacs.org>
11266 * gutter.c (Fset_default_gutter_position): don't default left and
11267 right gutter visibility to t.
11268 (Fset_default_gutter_position): run
11269 default-gutter-position-changed-hook.
11270 (syms_of_gutter): add default-gutter-position-changed-hook.
11272 2000-02-26 Andy Piper <andy@xemacs.org>
11274 * specifier.c (Fmake_specifier): add gutter references.
11276 * gutter.h (RAW_WINDOW_GUTTER): new macro.
11278 * lisp.h: declare Fvalid_plist_p.
11280 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
11282 (default_gutter_visible_p_changed_in_window): invalidate gutter as
11283 well as its visibility so that it gets reconstructed.
11284 (construct_window_gutter_spec): new function. Construct a string
11285 to be displayed in the gutter from a plist of strings. Take care
11286 to only use elements that are declared as visible.
11287 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
11289 (gutter_validate): allow plists of strings in the specifier.
11290 (gutter_specs_changed): construct the real_gutter from the gutter
11291 specs using construct_window_gutter_spec.
11292 (gutter_visible_validate): gutter-visible is a new specifier type.
11293 (Fgutter_visible_specifier_p): new function for the new specifier.
11294 (syms_of_gutter): declare gutter-visible and
11295 Fgutter_visible_specifier_p.
11296 (specifier_type_create_gutter): intitalize new gutter-visible
11298 (reinit_specifier_type_create_gutter): ditto.
11299 (specifier_vars_of_gutter): use new specifier type for gutter
11301 (init_frame_gutters): construct real_gutter correctly.
11302 (Fgutter_specifier_p): beef up documentation.
11303 (Fgutter_size_specifier_p): ditto.
11305 * winslots.h: add real_gutter slots.
11307 2000-02-25 Andy Piper <andy@xemacs.org>
11309 * device-msw.c: Be kind to older cygwin versions. From Raymond
11310 Toy <toy@rtp.ericsson.se>.
11312 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
11313 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
11315 2000-02-25 Martin Buchholz <martin@xemacs.org>
11317 * elhash.c (MARK_OBJ): Practice macro hygiene.
11319 2000-02-24 Martin Buchholz <martin@xemacs.org>
11321 * miscplay.c: s/__inline__/inline/g;
11322 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
11323 (get_device_compdc): INLINE ==> static inline
11324 * *.[ch]: Change INLINE to INLINE_HEADER globally.
11325 find -name '*.h' | \
11326 xargs global-replace \
11327 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
11329 2000-02-25 Andy Piper <andy@xemacs.org>
11331 * window.c (window_top_frame_gutter_height): new function.
11332 (window_top_window_gutter_height): ditto.
11333 (window_top_gutter_height): use them.
11334 (window_bottom_frame_gutter_height): new function.
11335 (window_bottom_window_gutter_height): ditto.
11336 (window_bottom_gutter_height): use them.
11337 (window_left_window_gutter_width): new function.
11338 (window_left_frame_gutter_width): ditto.
11339 (window_left_gutter_width): use them.
11340 (window_right_window_gutter_width): new function.
11341 (window_right_frame_gutter_width): ditto.
11342 (window_right_gutter_width): use them.
11343 (window_pixel_height): new function. calulate window pixel height
11344 with frame gutter involvement.
11345 (Fsplit_window): calculate new sizes taking frame gutters into
11347 (window_char_height_to_pixel_height): don't include frame gutters.
11348 (window_char_height): use window_pixel_height.
11349 (window_pixheight): rename from window_pixel_height.
11350 (change_window_height): use it.
11351 (window_pixel_height_to_char_height): don't include frame gutters.
11352 (window_char_width_to_pixel_width): ditto.
11354 2000-02-25 Andy Piper <andy@xemacs.org>
11356 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
11359 2000-02-24 Martin Buchholz <martin@xemacs.org>
11361 * alloc.c (staticpro):
11362 (staticpro_nodump):
11367 (compact_string_chars):
11368 (pdump_dump_wired):
11369 Convert: if (foo) abort(); ==> assert (! foo);
11371 * eldap.c (Fldap_search_basic):
11375 Fix compiler warnings, and possible crashes if (random) return
11376 value were to be used.
11378 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11380 * device-msw.c: Workaround ResetDC failure.
11382 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
11383 applying a devmode.
11385 * redisplay-msw.c (get_frame_dc): Added start_page_p.
11386 (mswindows_text_width): Do not start printer page.
11388 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
11390 * glyphs-msw.c: Added image methods to msprinter console and
11391 msprinter-specific image instantiation.
11393 2000-02-20 Mike Alexander <mta@arbortext.com>
11395 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
11396 to avoid crashes when selection-sets-clipboard is on
11397 (mswindows_own_selection): ditto
11399 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11402 * redisplay-msw.c (get_frame_dc):
11403 (get_frame_compdc):
11405 * device-msw.c (mswindows_init_device):
11406 (mswindows_delete_device):
11407 (msprinter_init_device):
11408 (msprinter_delete_device):
11409 * frame-msw.c (mswindows_init_frame_1):
11410 (mswindows_delete_frame):
11411 (msprinter_init_frame_3):
11412 (msprinter_delete_frame): Move compatible DC to device object from
11413 frame object, for both mswindows and msprinter. Only one at a time
11414 is needed, it is a real waste to have one per frame!
11416 2000-02-23 Andy Piper <andy@xemacs.org>
11418 * glyphs.c: add dynamic width and height elements.
11419 (image_instance_equal): ditto.
11421 * glyphs-widget.c (widget_query_geometry): calculate width and
11422 height dynamically if required.
11423 (initialize_widget_image_instance): initialize dynamic dimensions.
11424 (widget_instantiate): pick-up dynamic dimensions.
11426 * glyphs.h (struct Lisp_Image_Instance): add width and height for
11427 dynamic determination. Add appropriate macros.
11429 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
11431 (WINDOW_GUTTER_SIZE): ditto.
11432 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
11434 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
11436 (get_frame_dc): ditto.
11438 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
11441 2000-02-23 Martin Buchholz <martin@xemacs.org>
11443 * XEmacs 21.2.31 is released.
11445 2000-02-22 Ben Wing <ben@xemacs.org>
11447 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
11449 2000-02-22 Andy Piper <andy@xemacs.org>
11451 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
11453 2000-02-21 Mike Sperber <mike@xemacs.org>
11457 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
11460 2000-02-21 Mike Sperber <mike@xemacs.org>
11462 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
11464 2000-02-21 Martin Buchholz <martin@xemacs.org>
11466 * XEmacs 21.2.30 is released.
11468 2000-02-20 Martin Buchholz <martin@xemacs.org>
11470 Performance hacking.
11472 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
11473 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
11474 * emacs.c (main_1):
11476 * console.c (DEFVAR_CONSOLE_LOCAL_1):
11477 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
11478 * symeval.h (DEFVAR_SYMVAL_FWD):
11479 * symbols.c (guts_of_unbound_marker):
11480 Make all c_readonly objects also lisp_readonly and marked for life.
11481 * lrecord.h (struct lrecord_implementation):
11482 Document flags better.
11483 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
11484 * lrecord.h (DECLARE_LRECORD):
11485 * lrecord.h (XSETRECORD):
11486 * lrecord.h (RECORDP):
11487 * lrecord.h (RECORD_TYPEP):
11488 * lrecord.h (RECORD_MARKER): New.
11489 * lrecord.h (error_check_*):
11490 * lrecord.h (CONCHECK_NONRECORD):
11491 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
11492 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
11493 * lrecord.h (set_lheader_implementation):
11494 * lrecord.h (enum lrecord_type): New.
11495 * symeval.h (SYMBOL_VALUE_MAGIC_P):
11496 * alloc.c (disksave_object_finalization_1):
11497 * alloc.c (mark_object):
11498 * alloc.c (lrecord_type_index):
11499 * alloc.c (tick_lcrecord_stats):
11500 * alloc.c (Fgarbage_collect):
11501 * alloc.c (init_alloc_once_early):
11502 * alloc.c (pdump_load):
11503 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
11504 * alloc.c (lrecord_type_index): Delete.
11505 Make lisp object type indexes be constant.
11506 Makes (byte-compile) 5% faster.
11507 Put all marker functions into their own array.
11508 Makes (garbage-collect) 5% faster.
11509 Optimize SYMBOL_VALUE_MAGIC_P.
11510 Makes (byte-compile) 2-3% faster.
11511 * config.h.in (gc_checking_assert): New.
11512 * alloc.c: Use gc_checking_assert().
11513 * .dbxrc: Make compatible with new object type implementation.
11514 * .gdbinit: Make compatible with new object type implementation.
11515 * alloc.c: Delete all symbols defined only for debugging, such as
11516 Lisp_Type_Vector and lrecord_charset.
11518 2000-02-21 Andy Piper <andy@xemacs.org>
11520 * gui-msw.c (Fmswindows_shell_execute): fix file location
11523 * buffer.c (Fkill_buffer): remove buffer from alist buffer
11524 unshowing so that set_window_buffer doesn't undo
11525 kill_buffer_hook's hard work.
11527 * glyphs-widget.c (tab_control_query_geometry): don't count the
11528 first item when calculating geometry.
11530 * glyphs.c (map_subwindow): remove redundant code.
11531 (update_frame_subwindows): be more circumspect about when to
11534 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
11535 when items haven't changed. Update faces if faces have changed as
11536 well as just the widget face.
11537 (x_tab_control_update): Update faces if faces have changed as well
11538 as just the widget face.
11540 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11542 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
11544 (build_syscolor_string): Use mswindows_color_to_string to try to
11546 (mswindows_device_system_metrics): Reverse the foreground and
11547 background colors so that they match the documentation.
11549 * objects-msw.c: (mswindows_X_color_map): tweak some values so
11550 they match the default Windows palette.
11551 (mswindows_color_to_string): New function.
11553 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11555 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
11557 2000-02-18 Olivier Galibert <galibert@pobox.com>
11559 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
11560 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
11562 * symbols.c (init_symbols_once_early): Removed obsolete
11563 DATA_SEG_BITS related kludge.
11564 (defvar_magic): Ditto.
11566 * malloc.c: Removed obsolete DATA_SEG_BITS
11568 * mem-limits.h: Ditto.
11570 * Makefile.in.in: Removed obsolete HAVE_SHM
11573 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11575 * device-msw.c (mswindows_delete_device): Free DDE string
11578 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11580 * keymap.c (get_keyelt):
11581 * unexnt.c (unexec):
11582 * vm-limit.c (memory_warnings):
11583 * ntheap.c (recreate_heap):
11584 * ntheap.h (UNINIT_PTR):
11585 * select-msw.c (Fmswindows_get_clipboard):
11586 (Fmswindows_set_clipboard):
11587 * objects-msw.h (MSWINDOWS_BAD_HFONT):
11589 * menubar-msw.c (displayable_menu_item):
11591 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
11592 * sysdep.c (sys_subshell):
11593 * process-nt.c (nt_create_process):
11594 * nt.c (normalize_filename):
11595 (dostounix_filename):
11596 (unixtodos_filename):
11597 * ntproc.c (win32_executable_type):
11598 * ntplay.c (play_sound_data_1):
11600 * editfns.c (get_home_directory):
11601 * event-msw.c (struct winsock_stream):
11602 (mswindows_dde_callback):
11603 * device-msw.c (msprinter_init_device):
11604 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
11606 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
11607 mswindows_clear_toolbar were swapped!
11609 * objects-msw.c:(colormap_t):
11611 * emacs.c (struct standard_args): Fixed const jumble.
11613 * glyphs-widget.c (update_widget): Fixed comparison notation.
11615 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
11617 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
11618 __declspec(noreturn) syntax.
11620 2000-02-19 Martin Buchholz <martin@xemacs.org>
11622 * eldap.c (Fldap_open):
11623 (Fldap_search_basic):
11626 Use new coding system conversion macros.
11628 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11630 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
11632 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
11634 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
11635 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11637 * eldap.c (Qadd, Qreplace): New constant symbols
11638 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
11639 interruptions by XEmacs signals
11640 Remove unnecessary calls to slow_down_interrupts and
11641 speed_up_interrupts
11642 (Fldap_search_basic): Renamed from Fldap_search_internal
11643 Added new optional parameter VERBOSE that triggers the
11644 display of progress messages
11645 Remove unnecessary calls to slow_down_interrupts and
11646 speed_up_interrupts
11647 LDAP result code analysis rewritten
11648 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11649 (syms_of_eldap): Define the new symbols and functions
11652 2000-02-17 Martin Buchholz <martin@xemacs.org>
11654 * realpath.c: Determine PATH_MAX maximally portably.
11656 * insdel.c (bytecount_to_charcount): Optimize.
11657 The function used to be optimized for entirely ASCII sequences.
11658 Now it is optimized for successive characters from the same
11659 charset. This also wins big for _mostly_ ASCII sequences.
11661 * fileio.c (Ffile_truename): convert return from realpath() using
11662 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
11663 - Rewrite GCPROing slightly.
11665 * sysdep.c (sys_open): Do filename conversion, like all other
11666 sys_* functions. Fixes bug:
11667 (let ((file-name-coding-system 'iso-8859-2))
11668 (write-region x y latin2-name))
11669 ==> writes filename using internal encoding.
11671 2000-02-18 Martin Buchholz <martin@xemacs.org>
11673 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
11674 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
11675 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
11676 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
11677 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
11678 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
11679 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
11680 (CONST_IF_NOT_DEBUG): Delete.
11681 * alloc.c (this_one_is_unmarkable): Delete.
11682 (mark_object): Don't check for this_one_is_unmarkable. Use the
11683 c_readonly flag instead.
11684 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
11686 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
11688 * event-msw.c (mswindows_drain_windows_queue):
11689 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
11690 away redundant repaint events.
11692 2000-02-17 Andy Piper <andy@xemacs.org>
11694 * redisplay.h: declare mark_redisplay_structs.
11696 * redisplay.c (redisplay_window):
11697 (redisplay_frame): don't check subwindows_state_changed.
11698 (mark_redisplay): mark gutters here.
11700 * glyphs.c: (instantiate_image_instantiator): always layout if we
11701 haven't done so already.
11702 (allocate_image_instance): don't mark as dirty.
11703 (update_subwindow): bind inhibit_quit.
11705 * gutter.c (mark_gutters): new function.
11707 * glyphs-x.c (x_update_widget): Always resize to get round a
11710 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
11711 breaking absolutely everything.
11713 * gutter.h: declare mark_gutters.
11715 2000-02-16 Martin Buchholz <martin@xemacs.org>
11717 * XEmacs 21.2.29 is released.
11719 2000-02-15 Olivier Galibert <galibert@pobox.com>
11721 * fns.c (size_bit_vector): Fix computation of the size.
11723 2000-02-15 Martin Buchholz <martin@xemacs.org>
11725 * *.[ch]: Change CONST to const globally.
11726 find -name '*.[ch]' | \
11727 xargs global-replace \
11728 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
11729 - Remove vestigial references to CONST_IS_LOSING
11731 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11733 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
11734 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
11735 events instead of dispatching them directly.
11736 (mswindows_handle_paint): New function to do repainting.
11737 (mswindows_wnd_proc):
11738 (emacs_mswindows_handle_magic_event): Call above function.
11740 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11742 * objects-msw.c (mswindows_create_font_variant): Return the new
11744 (initialize_font_instance): Get font metrics from the underlined
11745 variant of the font to cope with the case where the underlined
11746 font has a bigger descent.
11748 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11750 * gui.c (gui_item_accelerator): Return the first underlined
11751 character in item name.
11753 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11755 * lisp.h: Added Qprinter.
11757 * general.c (syms_of_general): Initialized it.
11759 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
11761 (get_frame_compdc): Made inline.
11763 * console.h (struct console_methods): Added eject_page method.
11765 * frame.h: Added FRAME_DISPLAY_P and friends.
11766 Aligned backslahes in many macros in more readable fashion.
11767 Added page_number to struct frame, and an accessor macro
11770 * defice.h: Added DEVICE_DISPLAY_P and friends.
11772 * device.c (Fdevice_printer_p): Used these.
11774 * frame.c (allocate_frame_core): Initialize page number.
11775 (Fprint_job_page_number):
11776 (Fprint_job_eject_page): Implemented.
11778 * frame-msw.c (msprinter_eject_page): Added method.
11779 (msprinter_start_page): Added.
11781 * window.c (Fwindow_truncated_p): Fixed docstring.
11782 (Fwindow_last_line_visible_height): Implemented.
11784 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11786 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
11788 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11790 * syntax.c (scan_words): Always advance at least one character.
11792 2000-02-13 Andy Piper <andy@xemacs.org>
11794 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
11795 to make sure the glyph is in the cachels.
11797 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
11798 global image instance flag.
11799 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
11800 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
11802 * glyphs.c (allocate_image_instance): set dirty bits correctly.
11803 (Fset_image_instance_property): mark layout as changed.
11804 (invalidate_glyph_geometry_maybe): mark layout as changed.
11805 (glyph_width): use new NEEDS_LAYOUT macro.
11806 (glyph_ascent): ditto.
11807 (glyph_descent): ditto.
11808 (glyph_height): ditto.
11809 (image_instance_layout): mark layout as clean after laying out.
11810 (update_subwindow): don't mark layout as clean here.
11812 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
11813 should no longer be needed.
11815 * glyphs-x.c (x_update_widget): sanitize asserts.
11816 (x_finalize_image_instance): sanitize assignment to widgets.
11818 * glyphs-widget.c (widget_instantiate): don't need to clear the
11821 2000-02-13 Martin Buchholz <martin@xemacs.org>
11823 * sysdep.c (getcwd): Use standard prototype.
11824 * sysdep.h (getcwd): Use standard prototype.
11826 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
11827 (sequence, start, end).
11828 Remove redundant type checking.
11829 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
11830 view of `caller-protects') to avoid a crash where the real fix was
11833 2000-02-12 Martin Buchholz <martin@xemacs.org>
11835 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
11837 * s/sol2.h: Remove feature macro initialization.
11839 * alloc.c (alloc_lcrecord): Add more type checking assertions.
11840 (vector_hash): New. Code from internal_hash.
11842 Fix up allocation subsystem comments.
11844 * config.h.in: Add __EXTENSIONS__ for Solaris.
11846 * systime.h (EMACS_GETTIMEOFDAY): New.
11847 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
11848 Remove Solaris-specific code.
11849 Use void* for the (ignored) second arg for gettimeofday().
11851 * elhash.c (hash_table_hash): Implement it, finally.
11852 * elhash.c: Use hashcode_t.
11854 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
11855 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
11857 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
11858 * fns.c (size_bit_vector):
11859 * alloc.c (size_vector):
11860 (make_vector_internal):
11861 (make_bit_vector_internal):
11862 (sweep_bit_vectors_1):
11863 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
11865 2000-02-10 Martin Buchholz <martin@xemacs.org>
11867 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
11868 Include strings.h to avoid warnings for bzero and strcasecmp.
11870 2000-02-10 Olivier Galibert <galibert@pobox.com>
11872 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
11873 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
11875 * fns.c (size_bit_vector): New. Declare bit vectors as a
11878 2000-02-10 Olivier Galibert <galibert@pobox.com>
11880 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
11881 use a value field instead.
11882 (symbol_value_forward_forward): Use value field.
11883 (DEFVAR_SYMVAL_FWD): Use value field.
11884 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
11885 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
11886 (DEFVAR_CONST_INT): Ditto.
11887 (DEFVAR_BOOL): Ditto.
11888 (DEFVAR_CONST_BOOL): Ditto.
11889 (DEFVAR_INT_MAGIC): Ditto.
11890 (DEFVAR_BOOL_MAGIC): Ditto.
11892 * symbols.c (guts_of_unbound_marker): Use value field.
11893 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
11894 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
11896 * lisp.h: Declare dumpopaque and noninteractive1.
11898 * alloc.c (dumpopaque): Added.
11899 (pdump_dump_opaquevec): Added.
11900 (pdump): Call pdump_dump_opaquevec to dump opaque data.
11901 (pdump_load): Reload opaque data. Sync noninteractive1 with
11904 2000-02-10 Andy Piper <andy@xemacs.org>
11906 * glyphs.c (image_instance_layout): if the size changes, mark it
11909 * redisplay-output.c (redisplay_output_layout): Update the
11911 (redisplay_output_subwindow): ditto.
11913 * glyphs.c (update_subwindow): make sure we reset flags for
11914 layouts as well as everything else.
11916 * glyphs-widget.c (layout_layout): don't need to set the instances
11919 2000-02-09 Martin Buchholz <martin@xemacs.org>
11921 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
11922 not HAVE_DLOPEN, which is a lower-level thing.
11924 * .cvsignore: Ignore gmon.out
11926 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
11928 * .cvsignore: Ignore portable dumper xemacs.dmp file
11930 2000-02-09 Andy Piper <andy@xemacs.org>
11932 * redisplay-output.c (redisplay_output_layout): be more clever
11933 about when we output based on the changed flags.
11935 * glyphs.h (struct image_instantiator_methods): add update_method.
11936 (struct Lisp_Image_Instance): add changed flags. Declare new
11937 macros for manipulating them.
11939 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
11940 (image_instance_parent_glyph): find an image_instance's parent
11941 glyph or image_instance.
11942 (image_instance_layout): mark the size as changed.
11943 (set_image_instance_dirty_p): new function. mark an image
11944 instance, plus all of its parents, as dirty.
11945 (Fset_image_instance_property): use it.
11946 (Fglyph_animated_timeout_handler): use it.
11947 (update_subwindow): call update_widget and device methods for
11948 update_subwindow. Mark all changed flags as clean.
11949 (Fresize_subwindow): mark size as changed.
11951 * glyphs-x.c (x_finalize_image_instance): try and detect gc
11953 (x_update_subwindow): only resize subwindows here.
11954 (x_update_widget): new function. Update all changed properties of
11956 (x_resize_subwindow): deleted.
11957 (x_widget_set_property): deleted.
11958 (x_progress_gauge_set_property): deleted.
11959 (x_progress_gauge_update): new function. Implement recorded
11961 (x_tab_control_update): ditto.
11962 (x_tab_control_set_property): deleted.
11963 (console_type_create_glyphs_x): declare new functions.
11964 (image_instantiator_format_create_glyphs_x): ditto.
11966 * glyphs-widget.c (widget_set_property): mark text changed.
11967 (update_widget): new function. Update properties of a widget.
11968 (widget_instantiate): for layouts make sure we set their
11969 children's parent correctly.
11970 (tab_control_set_property): new function. Record changes that will
11971 take place under redisplay's control.
11972 (progress_gauge_set_property): ditto.
11973 (image_instantiator_progress_guage): declare new functions.
11974 (image_instantiator_tab_control): ditto.
11976 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
11978 (mswindows_update_widget): new function. Update all properties on
11979 a widget that have changed.
11980 (mswindows_button_update): new function. Update a button's set
11982 (mswindows_tab_control_update): new function. Update the items in
11984 (mswindows_tab_control_set_property): deleted.
11985 (mswindows_progress_gauge_update): new function. Update the
11986 progress gauge's progress.
11987 (mswindows_widget_set_property): deleted. This is all done
11988 asynchronously now.
11989 (mswindows_progress_gauge_set_property): ditto.
11990 (console_type_create_glyphs_mswindows): declare new methods.
11991 (image_instantiator_format_create_glyphs_mswindows): ditto.
11993 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
11994 (msprinter_set_frame_properties): ditto.
11996 * console.h (struct console_methods): Add update_widget_method.
11998 2000-02-09 Andy Piper <andy@xemacs.org>
12000 * gui-msw.c (Fmswindows_shell_execute): Make
12001 mswindows-shell-execute industrial strength.
12003 2000-02-08 Martin Buchholz <martin@xemacs.org>
12005 * lrecord.h: Make macro argument `props' match member function `plist'.
12008 * fns.c (Fremprop):
12009 * fns.c (Fobject_plist):
12012 Object property list frobbing cleanup.
12013 - Allow any lisp object (compared with `eq'), not just symbols, as
12014 keys in object plists.
12015 - Move symbol plist frobbing into symbols.c, where it belongs.
12016 - Move string plist frobbing into alloc.c, where it belongs.
12017 - Everything's an lrecord now, so no need to test for symbolp, etc.
12018 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
12020 * extents.c: Reorder code to remove declarations.
12022 * frame.h (store_in_alist): Remove useless declaration.
12024 2000-02-07 Martin Buchholz <martin@xemacs.org>
12026 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
12027 * config.h.in: Add HAVE_XCONVERTCASE.
12029 2000-02-07 Andy Piper <andy@xemacs.org>
12031 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
12032 it breaks many things.
12034 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
12036 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
12037 actually can start a common comment type.
12038 * src/syntax.h (SYNTAX_END_P): ditto for end.
12040 2000-02-07 Martin Buchholz <martin@xemacs.org>
12042 * XEmacs 21.2.28 is released.
12044 2000-02-06 Martin Buchholz <martin@xemacs.org>
12046 * event-Xt.c (x_keysym_to_character): New.
12047 (maybe_define_x_key_as_self_inserting_character): New.
12048 (x_has_keysym): New.
12049 Auto-define all keys on the keyboard as self-insert-key.
12051 2000-02-02 Martin Buchholz <martin@xemacs.org>
12053 * menubar.c (vars_of_menubar): A small code simplification.
12055 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
12058 * ExternalClient.c:
12059 * EmacsShell-sub.c:
12062 Use consistent style for specifying X resources.
12064 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
12065 This makes (dontusethis-set-symbol-value-handler) actually usable.
12067 * lrecord.h (lrecord_decription_type):
12068 * alloc.c (pdump_register_sub):
12071 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
12072 Comply with XEmacs coding style.
12073 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
12074 args, and XD_LISP_OBJECT_ARRAY with 3 args.
12076 * keymap.c (Faccessible_keymaps):
12077 Make (accessible-keymaps map "\C-h") do the Right Thing.
12078 Make (accessible-keymaps map []) do the Right Thing.
12079 Make (accessible-keymaps map "") do the Right Thing.
12080 (check_keymap_definition_loop): New function.
12081 (keymap_store_internal): Keep luser from shooting self in foot,
12082 via (define-key ctl-x-4-map "p" global-map).
12083 Remove fullness slot from struct Lisp_Keymap, since hash tables
12085 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
12087 2000-01-30 Martin Buchholz <martin@xemacs.org>
12089 * redisplay.c (init_redisplay): Fix small memory leak.
12091 * elhash.c (pdump_reorganize_hash_table):
12092 Rename from reorganize_hash_table. Change prototype.
12093 Reuse the original memory for hentries. Save 100k.
12094 * alloc.c (PDUMP_READ): new macro.
12095 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
12096 * alloc.c: No need to #ifndef before #undef.
12098 * print.c: Allow debug_print() to print readably by modifying
12099 debug_print_readably. Use consistent variable names.
12101 * .dbxrc: Try to get things to work even if stopped in a function
12102 without source available by explicitly specifying source files.
12103 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12105 * unexnt.c (_start): Removed bogus code which caused loading heap
12106 from differrent executable file.
12107 Removed bogus assignment to _fmode, which caused inconsistencies.
12109 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12111 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
12112 Have spawnve encapsulation regard DONT_ENCAPSULATE.
12113 Do not preliminary `#define signal sigset'.
12115 * systime.h: Do not prototype environ on windows nt and cygwin,
12116 this conflicts with system header.
12118 * syssignal.h: Use correct define for WINDOWSNT
12120 * sysdep.h: Do not prototype environ on windows nt, this conflicts
12121 with system header.
12123 * sysdep.c (near start of file): Fixed commentary and rearranged
12124 ifdefs in readable order.
12125 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
12128 (end_of_data): Do not compile in if using PDUMP.
12130 * symsinit.h: Prototyped vars_of_nt().
12132 * ntproc.c (windows9x_p): Added, instead of os_subtype.
12133 (find_child_console): Use it.
12134 (sys_kill): Use it.
12136 * ntheap.h: Do not extern os_subtype.
12138 * ntheap.c (cache_system_info): Do not cache unneeded:
12139 nt_major_version, nt_minor_version and os_subtype.
12140 (recreate_heap): Do not compile in when PDUMPing.
12142 * nt.c (geteuid and friends): Use the new varibale
12143 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
12144 (init_user_info): Removed the above mentioned hackery.
12145 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
12146 stat has been fixed in the C runtime.
12147 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
12149 * file-coding.c (struct file_coding_dump): Do not define
12150 ucs_to_mule_table in the struct if not MULE.
12151 (struct struct lrecord_description fcd_description_1): Do not dump
12154 * emacs.c (main_1): Call vars_of_nt().
12155 (right before Fdump_emacs_data): Don't need lastfile if using both
12156 portabe dumper and system malloc.
12158 * alloc.c (Fmemory_limit): Conditionalized out.
12159 (pdump): Use OPEN_BINARY for the portable dump file.
12160 (pdump_load): Ditto.
12162 2000-02-02 Mike Alexander <mta@arbortext.com>
12164 * nt.c (convert_time): Set tm_isdst before calling mktime and
12165 avoid calling it at all if the compiler supports 64 bit integers.
12166 Also initialize utc_base_ft before using it.
12168 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
12170 * frame.c (change_frame_size_1): Take f->internal_border_width
12171 into consideration when calculating the width of the frame.
12173 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12175 * window.c (frame_min_height):
12176 (frame_size_valid_p):
12177 (frame_pixsize_valid_p): Added.
12178 (check_frame_size): Generalized.
12180 * window.h: Prototyped the above.
12183 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
12184 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
12185 Deleted Vwin32_* and Vbinary_process_* unused variables.
12187 * device-msw.c (msprinter_init_device): Do not get printer font
12188 list; Added DEVMODE functions.
12190 * frame-msw.c: Added lots of printer code.
12192 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
12195 * console-msw.h: Added more msprinter device private slots.
12197 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12199 * event-msw.c (key_needs_default_processing_p): Added.
12200 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
12202 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12204 * glyphs.c (image_instance_layout): Mark image instance as clean
12206 (glyph_dirty_p): Removed redundant function.
12207 (invalidate_glyph_geometry_maybe): Added.
12208 (update_glyph_cachel_data): Call it.
12210 * glyphs.h: Prototyped it.
12212 * redisplay.c (add_glyph_rune): Call it.
12213 (redisplay_window): Reset glyphs cachels when frame faces have
12214 changed, thus forcing recomputation of built-in border glyphs.
12216 2000-01-30 Martin Buchholz <martin@xemacs.org>
12218 * Makefile.in.in: Make portable dumper and purify play well together.
12219 Add imperfect, but better than nothing, support for pdump.
12220 Remove xemacs.dmp when temacs is re-generated.
12221 Don't ignore errors when dumping xemacs.
12223 * symbols.c (maybe_call_magic_handler): Remove one magic number.
12225 2000-01-28 Andy Piper <andy@xemacs.org>
12227 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
12228 (setup_normal_frame): ditto.
12229 (setup_frame_without_minibuffer): ditto.
12230 (setup_minibuffer_frame): ditto.
12231 (delete_frame_internal): ditto.
12232 (Fmake_frame_invisible): ditto.
12233 (Ficonify_frame): ditto.
12235 * window.h: change Fset_window_buffer signature.
12237 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
12238 (Fset_window_buffer): allow recording of buffer if the window is
12239 the selected window.
12240 (window_loop): Use new Fset_window signature.
12242 2000-01-23 Daniel Pittman <daniel@danann.net>
12244 * config.h.in: Added template for `HAVE_ATHENA_3D'
12246 2000-01-29 Andy Piper <andy@xemacs.org>
12248 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
12250 * gutter.c (output_gutter): Don't output if the window isn't live.
12252 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12254 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
12255 of 01/12/00: Moved SetFocus back here where it belongs.
12257 2000-01-23 Andy Piper <andy@xemacs.org>
12259 * s/cygwin32.h: declare printer things.
12261 2000-01-26 Andy Piper <andy@xemacs.org>
12263 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
12266 2000-01-24 Andy Piper <andy@xemacs.org>
12268 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
12269 (mswindows_button_instantiate): Make sure glyph is a pixmap.
12271 * glyphs-widget.c (widget_instantiate): Avoid shadows.
12273 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
12275 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
12277 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
12278 (mswindows_output_display_block): Avoid local shadows.
12280 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
12281 (mswindows_enqueue_mouse_button_event): ditto.
12282 (mswindows_handle_gui_wm_command): remove declaration.
12284 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
12287 * console-msw.h: Avoid shadows.
12288 (mswindows_get_toolbar_button_text):
12289 (emacs_mswindows_create_stream_pair):
12290 (emacs_mswindows_delete_stream_pair):
12291 (mswindows_handle_toolbar_wm_command): declare.
12293 * device-msw.c (build_syscolor_string): Avoid shadows.
12295 2000-01-23 Andy Piper <andy@xemacs.org>
12297 * glyphs-widget.c (widget_instantiate): reverse the items for
12298 layouts so that children are in the expected order.
12300 2000-01-28 Martin Buchholz <martin@xemacs.org>
12302 * ralloc.c: safe_bcopy ==> memmove
12303 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
12304 * s/msdos.h: Remove BCOPY macros.
12305 * insdel.c (gap_right): Remove BCOPY conditional code.
12306 * insdel.c (gap_left): Remove BCOPY conditional code.
12307 XEmacs demands a working ANSI C compiler - hence memmove.
12309 * regex.c (regex_compile): Remove accidental use of trigraphs.
12311 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12313 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
12316 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12318 * event-msw.c (mswindows_drain_windows_queue): Added the
12320 (mswindows_need_event): Commented the call to
12321 mswindows_drain_windows_queue().
12322 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
12325 * console-msw.h: Moved a few function prototypes here from
12328 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
12329 parameter from unsigned short to unsigned long.
12330 (Fmswindows_shell_execute): Added return value.
12332 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12334 * sysdep.c (init_system_name):
12335 process-unix.c (unix_canonicalized_host_name):
12336 Don't call freeaddrinfo() if getaddrinfo() fails.
12338 * process-unix.c (unix_open_unix_network_stream):
12339 Moved the code to get a port # into address loop.
12341 2000-01-27 Martin Buchholz <martin@xemacs.org>
12343 * buffer.c (reinit_vars_of_buffer):
12344 The right place to initialize conversion_in_dynarr and
12345 conversion_out_dynarr.
12347 * alloc.c (pdump): Use the real open() till sys_open() is functional.
12349 * process-unix.c (unix_canonicalize_host_name): Muleize.
12350 (unix_open_network_stream): Muleize.
12352 * buffer.h: Fix up prototypes for ralloc.c functions.
12354 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12355 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
12356 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
12357 instead of gethostbyname()
12358 * process-unix.c: In unix_canonicalize_host_name() and
12359 unix_open_network_stream(), add code to use getaddrinfo()
12360 instead of gethostbyname().
12362 2000-01-27 Daniel Pittman <daniel@danann.net>
12364 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
12365 libs when built with flat Athena.
12367 2000-01-27 Martin Buchholz <martin@xemacs.org>
12369 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
12370 Use coding standards for function prototypes.
12372 2000-01-25 Martin Buchholz <martin@xemacs.org>
12374 * dialog-msw.c (push_lisp_string_as_unicode):
12375 * doc.c (unparesseuxify_doc_string):
12376 * dired.c (Fuser_name_completion_1):
12377 * dired.c (Fuser_name_all_completions):
12378 * dired.c (free_user_cache):
12379 * dired.c (user_name_completion):
12380 * console-x.c (get_display_arg_connection):
12381 * minibuf.c (clear_echo_area_internal):
12382 * minibuf.c (echo_area_append):
12383 * eldap.c (Fldap_open):
12384 * eldap.c (Fldap_search_internal):
12385 * frame-x.c (x_set_frame_text_value):
12386 * frame-x.c (x_set_frame_properties):
12387 * frame-x.c (x_create_widgets):
12388 * redisplay-tty.c (term_get_fkeys_1):
12389 * objects-x.c (x_parse_nearest_color):
12390 * objects-x.c (x_valid_color_name_p):
12391 * objects-x.c (x_initialize_font_instance):
12392 * objects-x.c (x_list_fonts):
12393 * objects-x.c (x_find_charset_font):
12394 * tooltalk.c (Fadd_tooltalk_message_arg):
12395 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12396 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12397 * process-unix.c (unix_create_process):
12398 * ntproc.c (sys_spawnve):
12399 * sound.c (Fplay_sound_file):
12400 * sound.c (Fplay_sound):
12401 * buffer.c (init_initial_directory):
12402 * buffer.c (init_buffer):
12403 * editfns.c (init_editfns):
12404 * editfns.c (Ftemp_directory):
12405 * editfns.c (Fuser_full_name):
12406 * editfns.c (uncache_home_directory):
12407 * editfns.c (get_home_directory):
12408 * editfns.c (Fuser_home_directory):
12409 * editfns.c (Fformat_time_string):
12410 * editfns.c (Fcurrent_time_string):
12411 * gui-x.c (button_item_to_widget_value):
12412 * database.c (Fopen_database):
12413 * event-Xt.c (x_to_emacs_keysym):
12414 * event-Xt.c (x_event_to_emacs_event):
12415 * event-Xt.c (describe_event_window):
12416 * event-msw.c (mswindows_wnd_proc):
12417 * glyphs-eimage.c (jpeg_instantiate):
12418 * glyphs-eimage.c (gif_instantiate):
12419 * glyphs-eimage.c (png_instantiate):
12420 * glyphs-eimage.c (tiff_instantiate):
12421 * glyphs-x.c (xbm_instantiate_1):
12422 * glyphs-x.c (x_xbm_instantiate):
12423 * glyphs-x.c (x_xface_instantiate):
12424 * glyphs-x.c (autodetect_instantiate):
12425 * glyphs-x.c (cursor_font_instantiate):
12426 * glyphs-x.c (x_widget_instantiate):
12427 * glyphs-x.c (x_widget_set_property):
12428 * glyphs-x.c (x_widget_property):
12429 * glyphs-x.c (BUILD_GLYPH_INST):
12430 * print.c (write_string_to_stdio_stream):
12431 * print.c (output_string):
12432 * print.c (Falternate_debugging_output):
12433 * print.c (Fexternal_debugging_output):
12434 * glyphs-msw.c (extract_xpm_color_names):
12435 * glyphs-msw.c (mswindows_xpm_instantiate):
12436 * glyphs-msw.c (bmp_instantiate):
12437 * glyphs-msw.c (resource_name_to_resource):
12438 * glyphs-msw.c (mswindows_resource_instantiate):
12439 * glyphs-msw.c (xbm_instantiate_1):
12440 * glyphs-msw.c (mswindows_xbm_instantiate):
12441 * glyphs-msw.c (mswindows_xface_instantiate):
12442 * glyphs-msw.c (mswindows_widget_instantiate):
12443 * glyphs-msw.c (add_tree_item):
12444 * glyphs-msw.c (add_tab_item):
12445 * glyphs-msw.c (mswindows_combo_box_instantiate):
12446 * glyphs-msw.c (mswindows_widget_property):
12447 * glyphs-msw.c (mswindows_combo_box_property):
12448 * glyphs-msw.c (mswindows_widget_set_property):
12449 * console.c (stuff_buffered_input):
12450 * objects-msw.c (mswindows_initialize_color_instance):
12451 * objects-msw.c (mswindows_valid_color_name_p):
12452 * objects-msw.c (mswindows_list_fonts):
12453 * objects-msw.c (mswindows_font_instance_truename):
12454 * bytecode.c (optimize_compiled_function):
12455 * select-x.c (symbol_to_x_atom):
12456 * select-x.c (x_atom_to_symbol):
12457 * select-x.c (hack_motif_clipboard_selection):
12458 * select-x.c (selection_data_to_lisp_data):
12459 * select-x.c (lisp_data_to_selection_data):
12460 * select-x.c (Fx_get_cutbuffer_internal):
12461 * select-x.c (Fx_store_cutbuffer_internal):
12462 * buffer.h (TO_EXTERNAL_FORMAT): New function.
12463 * buffer.h (TO_INTERNAL_FORMAT): New function.
12464 * emacs.c (make_arg_list_1):
12465 * emacs.c (make_argc_argv):
12466 * emacs.c (main_1):
12467 * emacs.c (Fdump_emacs):
12468 * emacs.c (split_string_by_emchar_1):
12473 * device-x.c (x_init_device):
12474 * device-x.c (Fx_valid_keysym_name_p):
12475 * device-x.c (Fx_get_font_path):
12476 * device-x.c (Fx_set_font_path):
12477 * glyphs.c (bitmap_to_lisp_data):
12478 * glyphs.c (pixmap_to_lisp_data):
12479 * alloc.c (make_ext_string): Use coding system arguments. Update
12481 * alloc.c (build_string):
12482 * callproc.c (child_setup):
12483 * callproc.c (init_callproc):
12484 * fileio.c (lisp_strerror):
12485 * fileio.c (directory_file_name):
12486 * fileio.c (Fexpand_file_name):
12487 * fileio.c (Ffile_truename):
12488 * fileio.c (Fsysnetunam):
12489 * fileio.c (Fdo_auto_save):
12490 * sysdep.c (sys_readdir):
12491 * tests.c: New file. Allow adding C tests.
12492 Replace GET_* macros with a more comprehensible and flexible
12493 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
12495 Any coding system can be used to do format conversion.
12496 Eliminate enum external_data_format.
12497 Eliminate convert_to_external_format.
12498 Eliminate convert_to_internal_format.
12499 Make sure file-name, keyboard, terminal, and ctext are always
12500 defined as coding systems or aliases. Make
12501 file-name-coding-system, terminal-coding-system, and
12502 keyboard-coding-system magical variables that are equivalent to
12503 defining the corresponding coding system aliases.
12505 * file-coding.c (Fcoding_system_canonical_name_p): New function.
12506 * file-coding.c (Fcoding_system_alias_p): New function.
12507 * file-coding.c (Fcoding_system_aliasee): New function.
12508 * file-coding.c (append_suffix_to_symbol): New function.
12509 * file-coding.c (dangling_coding_system_alias_p): New function.
12510 * file-coding.c (Ffind_coding_system):
12511 * file-coding.c (Fcopy_coding_system):
12512 * file-coding.c (encode_coding_no_conversion):
12513 * file-coding.c (syms_of_file_coding):
12514 * file-coding.c (vars_of_file_coding):
12515 Rewrite coding system alias code.
12516 Allow nested aliases, like symbolic links.
12517 Allow redefinition of coding system aliases.
12518 Prevent existence of dangling coding system aliases.
12520 * dired.c (Fuser_name_completion_1):
12521 * dired.c (Fuser_name_all_completions):
12522 A crash would happen if user did QUIT in the middle of building
12523 user_name_cache. Remove redundant code in mainline and unwind_protect.
12526 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
12528 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
12529 an unsigned char *. Update all callers.
12531 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12533 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
12535 2000-01-25 Martin Buchholz <martin@xemacs.org>
12537 * elhash.c (hentry_description): Use more portable definition.
12538 (resize_hash_table): Initialize new hentries using
12539 xnew_array_and_zero, thereby simplifying the code.
12541 * mule-charset.c (make_charset): Make sure entire object is
12542 initialized, to avoid Purify warnings.
12544 * alloc.c (resize_string): Fix unlikely crash with big strings.
12546 2000-01-24 Martin Buchholz <martin@xemacs.org>
12548 * realpath.c (xrealpath):
12549 Don't call getwd().
12551 2000-01-25 Martin Buchholz <martin@xemacs.org>
12553 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
12555 1999-12-28 Max Matveev <max@melbourne.sgi.com>
12557 * unexelfsgi.c (unexec): Change the way we decide which segment
12558 should be extended.
12560 Assumption that .bss section should be outside the PT_LOADable
12561 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
12562 it's present) is inside the 'data' segment. This would fail the
12563 test which was used to find a segment to grow and cover new
12564 heap. Instead of this assumption, I created another one - on IRIX
12565 the segment to grow should start below .bss and it's address
12566 should extent above the end of .bss. Once this segment is
12567 identified, it's grown to accommodate the new heap and new
12568 zero-length .bss section is added at the end of .data2.
12570 2000-01-25 Martin Buchholz <martin@xemacs.org>
12572 * eval.c (Feval): Wrong number of arguments should use original
12573 function, not the indirect_function version of it.
12575 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12577 * glyphs-x.c (x_button_instantiate): Don't add image if
12578 it is not a pixmap.
12579 (x_locate_pixmap_file): Call Fexpand_file_name when file name
12582 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
12584 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
12586 (DEFVAR_INT_MAGIC): Ditto.
12587 (DEFVAR_BOOL_MAGIC): Ditto.
12588 * glyphs.h: Reindent backslash.
12590 2000-01-24 Martin Buchholz <martin@xemacs.org>
12592 * glyphs-widget.c (layout_query_geometry):
12593 (layout_layout): Use correct types for gheight, gwidth.
12595 2000-01-24 Martin Buchholz <martin@xemacs.org>
12597 * EmacsManager.c (QueryGeometry): Purified.
12599 2000-01-23 Martin Buchholz <martin@xemacs.org>
12601 * alloc.c (make_float): Make sure entire object is initialized, to
12602 avoid Purify warnings.
12603 (pdump_register_sub): Remove useless assignment.
12604 (pdump): Use xmalloc, not malloc.
12605 (pdump_load): Use xmalloc, not malloc.
12607 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12614 * sysdep.c: Removed redundant #include <windows.h>
12616 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12618 * frame.c (delete_frame_internal): Do not delete device when its
12619 implementation so declares.
12620 (delete_frame_internal): Set device selected frame to nil when
12621 last frame goes away.
12623 * device-msw.c (msprinter_device_system_metrics): Implemented.
12624 (mswindows_device_system_metrics): Added 'device-dpi property.
12626 * device.c: (Fdevice_printer_p): Added.
12627 Added 'offset-workspace device metric.
12629 * console.h (device_metrics): Declared DM_offset_workspace.
12631 2000-01-23 Martin Buchholz <martin@xemacs.org>
12633 * fileio.c (Ffile_truename): Remove pointless and confusing
12634 initialization of elen.
12636 * glyphs-widget.c: Compiler warning fixes.
12638 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
12640 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
12641 instead of a Lisp_Object as argument to make it consistent with
12642 the other LIVE_P macros.
12643 (CHECK_LIVE_PROCESS): New macro.
12645 * process.c: Declare Qprocess_live_p.
12646 (Fprocess_live_p): New function.
12647 (create_process): Use PROCESS_LIVE_P.
12648 (read_process_output): Ditto.
12649 (set_process_filter): Ditto.
12650 (Fdelete_process): Ditto.
12651 (kill_buffer_processes): Ditto
12652 (process_send_signal): Use CHECK_LIVE_PROCESS.
12653 (Fprocess_input_coding_system): Check whether process is still
12654 alive (fix PR#1061).
12655 (Fprocess_output_coding_system): Ditto.
12656 (Fprocess_coding_system): Ditto.
12657 (Fset_process_input_coding_system): Ditto.
12658 (Fset_process_output_coding_system): Ditto.
12660 2000-01-23 Andy Piper <andy@xemacs.org>
12662 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
12665 * glyphs.c (mark_image_instance): take into account changed
12666 image_instance format.
12667 (image_instance_equal): ditto.
12668 (image_instance_hash): ditto.
12670 * glyphs-widget.c (widget_instantiate): Incorporate layout
12671 instantiation here. Delay layout of the layout until later.
12672 (layout_instantiate): deleted.
12673 (layout_query_geometry): new function. get the geometry of a
12675 (layout_layout): layout a layout dynamically.
12676 (image_instantiator_widget): New function - splitting up
12677 image_instantiator_format_create_glyphs_widget for netwinder
12679 (image_instantiator_buttons):
12680 (image_instantiator_edit_fields):
12681 (image_instantiator_combo_box):
12682 (image_instantiator_scrollbar):
12683 (image_instantiator_progress_guage):
12684 (image_instantiator_tree_view):
12685 (image_instantiator_tab_control):
12686 (image_instantiator_labels):
12687 (image_instantiator_layout): ditto.
12688 (image_instantiator_format_create_glyphs_widget): Call preceding
12691 2000-01-22 Martin Buchholz <martin@xemacs.org>
12693 * process.c (Fset_process_coding_system):
12694 * device-x.c (Fx_keysym_hash_table):
12697 * lstream.c (Lstream_write): Return documented value, not 0.
12699 * fileio.c (directory_file_name):
12700 (Fsubstitute_in_file_name):
12701 (Fsubstitute_insert_file_contents_internal):
12702 (Fwrite_region_internal):
12707 Remove vestigial APOLLO-conditional code.
12709 2000-01-21 Martin Buchholz <martin@xemacs.org>
12711 * getpagesize.h: Add guard macros.
12712 * libsst.h: Add guard macros.
12713 * libst.h: Add guard macros.
12714 * line-number.h: Add guard macros.
12715 * ndir.h: Add guard macros.
12716 * sysfloat.h: Add guard macros.
12717 * sysfile.h: Add guard macros.
12718 * sysproc.h: Add guard macros.
12719 * syswait.h: Add guard macros.
12720 * xintrinsic.h: Add guard macros.
12721 * xintrinsicp.h: Add guard macros.
12722 * xmmanager.h: Add guard macros.
12723 * xmmanagerp.h: Add guard macros.
12724 * xmprimitive.h: Add guard macros.
12725 * xmu.h: Add guard macros.
12726 * gpmevent.h: Add copyright statement. Add guard macros.
12727 * miscplay.h: Add guard macros.
12728 * *.h: Use consistent C-standards-approved guard macro names.
12730 * opaque.c (make_opaque): Switch parameter order.
12731 * opaque.h (make_opaque): Switch parameter order.
12732 Update all callers.
12733 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
12735 * config.h.in (type_checking_assert): Added.
12736 (bufpos_checking_assert): Added.
12738 2000-01-21 Martin Buchholz <martin@xemacs.org>
12740 * alloc.c: Harmless pdump changes.
12742 - spell alignment correctly.
12743 * sysdep.c: Use countof()
12745 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12747 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
12748 initially_selected_for_input() console method, default to 0.
12749 (semi_canonicalize_console_connection): Try to delegate to
12750 canonicalize_console_connection if no such console method.
12751 (canonicalize_console_connection): Vice versa.
12752 (print_console): Do not print nil connection.
12754 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
12755 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
12756 (XDEVIMPF_FRAMELESS_OK): Added.
12757 (CONSOLE_INHERITS_METHOD): Added.
12759 * console-msw.c (mswindows_canonicalize_console_connection):
12761 (mswindows_canonicalize_device_connection): Added.
12763 * console-msw.h (struct msprinter_device): Added this struct and
12765 (mswindows_device): Made fontlist a lisp object.
12767 * device.c (semi_canonicalize_device_connection): Try to delegate
12768 to canonicalize_device_connection if no such console method.
12769 (canonicalize_device_connection): Vice versa.
12770 (print_device): Do not print nil connection.
12772 * device-msw.c (mswindows_init_device): Call InitCommonControls
12774 (mswindows_delete_device): Removed fontlist deallocation.
12775 (mswindows_mark_device): Added.
12777 * events.c (event_equal): Added abort() at unreached code.
12778 (event_hash): Ditto.
12780 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
12781 fallback tags of Windows devices.
12783 * general.c (syms_of_general): Initialized Qmsprinter.
12785 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
12786 of fallback tags of Windows devices.
12788 * lisp.h: Declared Qmsprinter.
12790 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
12792 (mswindows_list_fonts): Ditto.
12793 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
12794 that it can be used by both mswindows and msprinter devices.
12795 (initialize_font_instance): Added.
12796 (mswindows_initialize_font_instance): Use it.
12797 (msprinter_initialize_font_instance): Added.
12799 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
12800 and implementation flags check.
12801 (redisplay_without_hooks): Changed the call to the above.
12802 (Fredraw_device): Ditto.
12803 (Fredisplay_device): Ditto.
12805 * redisplay-msw.c (get_frame_dc): Implemented.
12806 (get_frame_compdc): Implemented.
12807 (many functions): Use the two functions above to get device
12808 contexts, ether for a window or a printer.
12810 2000-01-21 Olivier Galibert <galibert@pobox.com>
12812 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
12813 initialization here.
12814 (init_symbols_once_early): Call it.
12815 * emacs.c (main_1): Call it.
12816 * symsinit.h: Declare it.
12818 2000-01-19 Olivier Galibert <galibert@pobox.com>
12820 * alloc.c: Use a lrecord_header * in the backtrace instead of a
12822 (pdump_backtrace): Ditto.
12823 (pdump_register_object): Ditto. Cleanup use of the pointers.
12824 (pdump_get_entry): Abort if trying to register a null pointer.
12825 (pdump_dump_data): Cleanup types when relocating.
12826 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
12827 (pdump_dump_rtables): Remove bad casts.
12828 (pdump_load): Cleanup relocation w.r.t union type. Use a
12829 Lisp_Object instead of a EMACS_INT for the hashtable
12832 2000-01-20 Martin Buchholz <martin@xemacs.org>
12834 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
12836 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
12838 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
12840 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
12842 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12844 * faces.h (FACE_STRIKETHRU_P): Added.
12846 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
12849 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
12850 (mswindows_set_dc_font): New function, aware of font variants,
12851 separated from mswindows_update_dc.
12853 * objects-msw.h (struct mswindows_font_instance_data): Added
12856 * objects-msw.c (mswindows_finalize_font_instance): Delete all
12857 cached fonts and the data structure.
12858 (mswindows_initialize_font_instance): Added creation of font data
12860 (mswindows_print_font_instance): Print at least something.
12861 (mswindows_create_font_variant): Implemented.
12862 (mswindows_get_hfont): Implemented.
12864 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
12866 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
12867 prototyping problem with msvc.
12869 * emacs.c (main_1): added syms_of_gui_mswindows() call
12871 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
12872 syms_of_gui_mswindows() function
12874 * symsinit.h: added the prototype for syms_of_gui_mswindows()
12876 2000-01-18 Martin Buchholz <martin@xemacs.org>
12878 * XEmacs 21.2.27 is released.
12880 2000-01-18 Martin Buchholz <martin@xemacs.org>
12882 * glyphs-eimage.c (struct tiff_error_struct):
12884 (tiff_warning_func):
12885 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
12890 * unexec.c: Remove vestigial Lucid C code.
12894 * libsst.c: Ansify.
12895 Remove declarations of errno and strerror().
12897 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
12899 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
12901 2000-01-16 Martin Buchholz <martin@xemacs.org>
12903 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
12906 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12911 Change enum eol_type to eol_type_t.
12913 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12915 * gui.c (get_gui_callback): Check cons before accessing car.
12917 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12919 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
12920 (XSETSPECIFIER_TYPE): Ditto.
12922 2000-01-17 Didier Verna <didier@xemacs.org>
12924 * redisplay.c (generate_fstring_runes): compute string size in
12925 characters, not bytes.
12927 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12929 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
12931 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
12933 * print.c (print_error_message): Call print_prepare().
12935 2000-01-14 Martin Buchholz <martin@xemacs.org>
12937 * .dbxrc: Renamed from dbxrc.
12939 * events.c (event_to_character):
12940 Use `assert (foo)' instead of `if (!foo) abort()'
12942 * .gdbinit (xtype): Add documentation.
12943 * .gdbinit (check-temacs): New function.
12944 * .gdbinit (check-xemacs): New function.
12945 * dbxrc (check-xemacs): New function.
12946 * dbxrc (check-xemacs): New function.
12948 2000-01-14 Andy Piper <andy@xemacs.org>
12950 * glyphs-widget.c (widget_query_geometry): Make sure that we
12951 calculate default dimensions correctly.
12953 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12955 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
12957 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
12958 pdump_wire'd variable.
12960 * emacs.c: (main_1): Conditionalized calls to
12961 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
12963 2000-01-13 Martin Buchholz <martin@xemacs.org>
12965 * window.c (Fset_window_configuration):
12966 * sysdep.c (_start):
12967 * input-method-motif.c (res):
12968 * event-Xt.c (Xt_process_to_emacs_event):
12969 Simple compiler warning fixes.
12971 * bytecode.c (funcall_compiled_function): Use the original
12972 function symbol on the backtrace list in preference to the
12973 compiled_function object in error messages.
12975 2000-01-13 Andy Piper <andy@xemacs.org>
12977 * glyphs-x.c (update_widget_face): Make sure we update the widget
12978 background as well as foreground.
12980 2000-01-13 Andy Piper <andy@xemacs.org>
12982 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
12983 fields to subwindow.
12984 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
12985 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
12986 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12987 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12989 * glyphs-widget.c (check_valid_tab_orientation): new function.
12990 (initialize_widget_image_instance): zero orientation and
12992 (widget_instantiate): pick up orientation.
12993 (tab_control_query_geometry): return appropriate values for
12996 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
12997 appropriate creation flags for left, right and bottom tabs.
12999 * s/cygwin32.h: add tab definitions.
13001 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13003 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
13004 frame upon hiding a subwindow.
13005 (mswindows_button_instantiate): Changed the push button style to
13007 (mswindows_button_instantiate): Removed button BS_NOTIFY
13009 (mswindows_button_instantiate): Removed redundant check for
13010 a disabled gui item.
13011 (mswindows_button_instantiate): Made use of WS_TABSTOP
13012 consistent: "operable" controls (edit, button, tree, scroll) have
13013 this style, "display-only" ones (static, progress gauge) do
13014 not. This style is currently ignored by XEmacs though. Also,
13015 removed the WS_EX_CONTROLPARENT style - it is not for children,
13016 it is for their parents!
13017 (mswindows_edit_field_instantiate): Ditto.
13018 (mswindows_progress_gauge_instantiate): Ditto.
13019 (mswindows_tree_view_instantiate): Ditto.
13020 (mswindows_tab_control_instantiate): Ditto.
13021 (mswindows_scrollbar_instantiate): Ditto.
13022 (mswindows_combo_box_instantiate): Ditto.
13023 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
13024 style to the "clip" window.
13025 (mswindows_button_instantiate): Removed compilation warning by
13026 equally typing terms of the ?: operator.
13028 2000-01-12 Didier Verna <didier@xemacs.org>
13030 * redisplay.c (generate_fstring_runes): new parameter holding the
13031 last modeline-format extent.
13032 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
13033 extent, fill the glyph block with it.
13034 (generate_fstring_runes): handle these parameters.
13035 (generate_formatted_string_db): ditto.
13037 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
13038 glyphs'extents in the modeline.
13040 1999-01-11 Mike Woolley <mike@bulsara.com>
13042 * ntheap.c: Reduced the reserved heap space from 1Gb down to
13043 256Mb, as a workaround for the non-starting problem many people
13046 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13048 * console-tty.c (Fset_console_tty_output_coding_system):
13049 Force redrawing tty frame.
13051 2000-01-10 Didier Verna <didier@xemacs.org>
13053 * redisplay.c (generate_fstring_runes): fix size computation bug.
13055 2000-01-09 William M. Perry <wmperry@aventail.com>
13057 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
13059 2000-01-09 Andy Piper <andy@xemacs.org>
13061 * glyphs-msw.c: index -> i to avoid shadows.
13062 (xbm_create_bitmap_from_data): make static.
13063 (check_valid_string_or_int): deleted.
13064 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
13066 * glyphs-x.c (x_update_subwindow): remove unused args.
13068 * glyphs.c (glyph_image_instance): return the thing. Don't set the
13069 back pointer - this is done in allocate_image_instance.
13070 (query_string_font): return Qnil to make the compiler happy.
13071 (unmap_subwindow): set to ~0 to make the compiler happy.
13072 (glyph_query_geometry): comment out until used.
13073 (glyph_layout): ditto.
13075 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
13077 * insdel.c (signal_after_change): Remove extraneous unbind_to().