1 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
4 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
6 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
8 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
9 (Qjis_x0208): Likewise.
10 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
11 XCHARSET_FINAL(charset).
12 (charset_code_point): Modify condition for final-byte based
14 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
15 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
16 in UTF-2000; specify `=jis-x0208' as the mother of
17 `japanese-jisx0208-1978', `japanese-jisx0208' and
18 `japanese-jisx0208-1990' in UTF-2000.
20 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
22 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
24 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
26 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
27 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
28 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
29 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
30 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
31 CONVERSION_96x96x96x96 are introduced.
32 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
33 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
34 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
36 * char-ucs.h (CONVERSION_94): New macro.
37 (CONVERSION_96): New macro.
38 (CONVERSION_94x94): New macro.
39 (CONVERSION_96x96): New macro.
40 (CONVERSION_94x94x94): New macro.
41 (CONVERSION_96x96x96): New macro.
42 (CONVERSION_94x94x94x60): New macro.
43 (CONVERSION_94x94x94x94): New macro.
44 (CONVERSION_96x96x96x96): New macro.
46 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
48 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
50 * fns.c (Qideographic_structure): New variable.
51 (Qkeyword_char): New variable.
52 (ids_format_unit): New function.
53 (Fideographic_structure_to_ids): New function.
54 (syms_of_fns): Add new symbols `ideographic-structure' and
55 `:char'; add new builtin function `ideographic-structure-to-ids'.
57 * data.c (Fchar_ref_p): New function.
58 (syms_of_data): Add new builtin function `char-ref-p'.
60 * chartab.h: Add an EXFUN for `Ffind_char'.
62 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
64 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
65 and `COMPOSE_ADD_CHAR'.
66 (decode_coding_iso2022): Use `decode_flush_er_chars'.
68 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
70 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
71 instead of `DECODE_ADD_UCS_CHAR'.
72 (COMPOSE_ADD_CHAR): Likewise.
74 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
76 * text-coding.c (decode_flush_er_chars): New inline function.
77 (decode_add_er_char): New function.
78 (decode_coding_utf8): Use `decode_flush_er_chars' and
81 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
83 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
84 done before `decode_output_utf8_partial_char'.
86 * mule-charset.c (complex_vars_of_mule_charset): Specify
87 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
88 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
90 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
92 * mule-charset.c (decode_defined_char): New function; search
94 (decode_builtin_char): Don't search mother if
95 XCHARSET_MAX_CODE(charset) == 0.
96 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
97 == 0 even if code >= XCHARSET_MAX_CODE(charset).
98 (Fdecode_char): Use `decode_defined_char' instead of
99 `DECODE_DEFINED_CHAR'.
100 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
101 mother of `Vcharset_ucs_jis'.
103 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
104 instead of `DECODE_DEFINED_CHAR'.
106 * char-ucs.h (decode_defined_char): Renamed from
107 `DECODE_DEFINED_CHAR'; changed to normal function.
108 (DECODE_CHAR): Use `decode_defined_char' instead of
109 `DECODE_DEFINED_CHAR'.
111 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
113 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
115 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
117 * text-coding.c (Vcoded_charset_entity_reference_alist): New
119 (Quse_entity_reference): New variable.
123 (coding_system_description): Add description for
125 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
126 (allocate_coding_system): Initialize `ccs_priority_list' in
128 (Fmake_coding_system): Add description about
129 'use-entity-reference; setup
130 CODING_SYSTEM_USE_ENTITY_REFERENCE(codesys).
131 (Fcoding_system_property): Accept `disable-composition' and
132 `use-entity-reference' in UTF-2000.
133 (struct decoding_stream): Add new member `er_counter' and `er_buf'
135 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
136 (decode_coding_utf8): Decode entity-reference if
137 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
138 (char_encode_utf8): Encode non-Unicode characters as
139 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
141 (syms_of_file_coding): Add new symbols `use-entity-reference',
143 (vars_of_file_coding): Add new variable
144 `coded-charset-entity-reference-alist'.
145 (complex_vars_of_file_coding): Declare `disable-composition' and
146 `use-entity-reference' to be coding-system-properties in UTF-2000.
148 * file-coding.h (struct Lisp_Coding_System): Add new member
149 `use_entity_reference' and `ccs_priority_list'.
150 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
151 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
152 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
154 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
156 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
158 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
160 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
161 `XCHARSET_GRAPHIC(ccs)'.
163 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
165 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
168 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
170 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
171 instead of `XCHARSET_CHARS'.
173 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
175 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
176 (XCHARSET_BYTE_SIZE): Likewise.
178 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
180 (XCHARSET_BYTE_SIZE): Likewise.
182 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
184 * char-ucs.h (decoding_table_check_elements): Delete prototype.
185 (get_ccs_octet_table): New inline function.
186 (put_ccs_octet_table): Likewise.
187 (decoding_table_put_char): Use `get_ccs_octet_table' and
188 `put_ccs_octet_table'.
189 (decoding_table_remove_char): Use `decoding_table_put_char'.
190 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
192 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
194 (make_charset): Use Qunbound instead Qnil as initial value of
197 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
199 * mule-charset.c (put_char_ccs_code_point): Modify for
200 `decoding_table_remove_char' and `decoding_table_put_char'.
201 (remove_char_ccs): Modify for `decoding_table_remove_char'.
203 * char-ucs.h (decoding_table_remove_char): Change arguments to
204 hide decoding_table vector.
205 (decoding_table_put_char): Likewise.
207 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
209 * mule-charset.c (decoding_table_remove_char): Moved to
211 (decoding_table_put_char): Likewise.
213 * char-ucs.h (decoding_table_check_elements): New prototype [moved
214 from mule-charset.c].
215 (decoding_table_remove_char): New inline function [moved from
217 (decoding_table_put_char): Likewise.
219 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
221 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
222 instead of `DECODE_CHAR' for mother; don't use special code for
223 chinese-big5 to use code space of chinese-big5-1 and
225 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
226 `MAX_CHAR_BIG5_CDP' for chinese-big5.
228 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
229 (MAX_CHAR_BIG5_CDP): Revival.
231 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
233 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
234 the XLFD registry-encoding name of `chinese-big5'.
236 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
238 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
239 (Qchinese_big5_cdp): Deleted.
240 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
241 (complex_vars_of_mule_charset): Delete coded-charset
244 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
245 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
246 `CHARSET_ID_OFFSET - n' for private CCS.
247 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
248 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
249 of `MIN_LEADING_BYTE'.
250 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
251 `(CHARSET_ID_OFFSET - 97)'.
252 (MIN_CHAR_BIG5_CDP): Deleted.
253 (MAX_CHAR_BIG5_CDP): Deleted.
255 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
257 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
260 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
262 * mule-charset.c (decode_builtin_char): Support mother charsets.
264 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
266 * mule-charset.c (Q94x94x60): New variable.
267 (charset_code_point): Support conversion `94x94x60'.
268 (Fmake_charset): Likewise.
269 (syms_of_mule_charset): Add new symbol `94x94x60'.
271 * char-ucs.h (CONVERSION_94x94x60): New macro.
273 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
275 * mule-charset.c (charset_code_point): Unify code about
278 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
280 * mule-charset.c (charset_code_point): Merge code about builtin
281 characters into code about mother charsets; don't use
282 `range_charset_code_point'.
283 (range_charset_code_point): Deleted.
285 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
287 * mule-charset.c (Qcode_offset): New variable.
288 (Fmake_charset): Use `XUINT' to get value of `min-code' and
289 `max-code'; accept new property `code-offset'.
290 (syms_of_mule_charset): Add new symbol `code-offset'.
292 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
294 * mule-charset.c (range_charset_code_point): Fixed.
296 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
298 * mule-charset.c (decode_builtin_char): Change semantics of
299 code-offset of coded-charset.
300 (charset_code_point): Likewise.
301 (range_charset_code_point): Likewise.
302 (complex_vars_of_mule_charset): Modify for the change.
304 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
306 * mule-charset.c (Fencode_char): Reverse arguments.
308 * mule-charset.c (charset_code_point): Fixed.
310 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
312 * mule-charset.c (Vcharset_mojikyo): Deleted.
313 (Vcharset_mojikyo_2022_1): Deleted.
314 (Vcharset_mojikyo_pj_{1..21}): Deleted.
315 (Qmin_code): New variable in UTF-2000.
316 (Qmax_code): Likewise.
318 (Qconversion): Likewise.
321 (Qmojikyo_2022_1): Deleted.
322 (Qmojikyo_pj_{1..22}): Deleted.
323 (mark_charset): Mark `cs->mother'.
324 (charset_description): Add description for `mother'.
325 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
326 new arguments `mother' and `conversion'; use
327 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
328 (charset_code_point): Moved from char-ucs.h; support `mother'
330 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
331 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
332 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
333 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
334 allow 2 as the value of `graphic' in UTF-2000; add new properties
335 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
336 require `final' in UTF-2000; modify for `make_charset'.
337 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
338 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
339 (Fcharset_property): Support `mother', `min-code' and `max-code'.
340 (Fencode_char): New function.
341 (syms_of_mule_charset): Add new builtin function `encode-char' in
342 UTF-2000; add new symbols `min-code', `max-code', `mother',
343 `conversion' and `94x60'; delete symbols `mojikyo',
344 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
345 (complex_vars_of_mule_charset): Modify for `make_charset' change;
346 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
347 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
349 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
350 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
352 * char-ucs.h (Vcharset_mojikyo): Deleted.
353 (Vcharset_mojikyo_2022_1): Deleted.
354 (LEADING_BYTE_MOJIKYO): Deleted.
355 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
356 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
357 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
358 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
359 add new member `mother'; add new member `conversion'.
360 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
361 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
362 (CHARSET_MOTHER): New macro.
363 (CHARSET_CONVERSION): New macro.
364 (CONVERSION_IDENTICAL): New macro.
365 (CONVERSION_94x60): New macro.
366 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
367 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
368 (XCHARSET_MOTHER): New macro.
369 (XCHARSET_CONVERSION): New macro.
370 (MIN_CHAR_MOJIKYO): Deleted.
371 (MAX_CHAR_MOJIKYO): Deleted.
372 (DECODE_MOJIKYO_2022): Deleted.
373 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
374 (charset_code_point): Changed to non-inline function.
375 (encode_char_1): Use `charset_code_point'.
376 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
378 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
380 * lread.c (read_compiled_function): Fix prototype.
381 (read_vector): Likewise.
383 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
385 * lrecord.h (struct lrecord_header): Delete `older'.
386 (set_lheader_implementation): Delete code for `older'.
387 (set_lheader_older_implementation): Deleted.
388 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
389 (OLDER_RECORD_P): Deleted.
390 (OLDER_RECORD_HEADER_P): Deleted.
391 (alloc_older_lcrecord): Deleted.
392 (alloc_older_lcrecord_type): Deleted.
394 * alloc.c (all_older_lcrecords): Deleted.
395 (alloc_older_lcrecord): Deleted.
396 (disksave_object_finalization_1): Delete code for older objects.
397 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
398 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
400 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
402 * mule-charset.c (decoding_table_put_char): Use `make_vector'
403 instead of `make_older_vector'.
404 (put_char_ccs_code_point): Likewise.
405 (mark_charset): Mark `cs->decoding_table'.
406 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
408 * lisp.h (make_older_vector): Deleted.
409 (make_vector_newer): Deleted.
411 * config.h.in (HAVE_GGC): Deleted.
413 * alloc.c (make_older_vector): Deleted.
414 (make_vector_newer_1): Deleted.
415 (make_vector_newer): Deleted.
417 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
419 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
420 (Qideograph_daikanwa_2): New variable.
421 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
422 (complex_vars_of_mule_charset): Add new coded-charset
423 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
424 `LEADING_BYTE_DAIKANWA'.
426 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
427 (LEADING_BYTE_DAIKANWA_1): New macro.
428 (LEADING_BYTE_DAIKANWA_2): New macro.
429 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
431 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
433 * mule-charset.c (complex_vars_of_mule_charset): Change
434 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
435 the second revised version.
437 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
439 * mule-charset.c (Vcharset_ucs_smp): New variable.
440 (Vcharset_ucs_sip): New variable.
441 (Qucs_smp): New variable.
442 (Qucs_sip): New variable.
443 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
444 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
445 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
446 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
447 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
448 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
450 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
451 (LEADING_BYTE_UCS_SIP): New macro.
452 (MIN_CHAR_SMP): New macro.
453 (MAX_CHAR_SMP): New macro.
454 (MIN_CHAR_SIP): New macro.
455 (MAX_CHAR_SIP): New macro.
457 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
459 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
462 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
464 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
465 value; don't store value into `encoding_table' of `Lisp_Charset'.
466 (mark_charset): `encoding_table' was deleted.
467 (charset_description): Likewise.
468 (make_charset): Likewise.
469 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
470 `put_char_ccs_code_point'.
472 * chartab.h (Fput_char_attribute): New EXFUN.
474 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
475 is unified with normal symbol space.
476 (Fget_char_attribute): Likewise.
477 (Fput_char_attribute): Likewise; behavior of
478 `put_char_ccs_code_point' is changed.
480 * char-ucs.h: Include "elhash.h".
481 (Vchar_attribute_hash_table): New external variable.
482 (struct Lisp_Charset): Delete `encoding_table'.
483 (CHARSET_ENCODING_TABLE): New implementation; refer
484 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
487 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
489 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
492 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
494 * text-coding.c (char_encode_big5): Prefer charset-g1 than
497 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
499 * chartab.c (uint8_byte_table_description): New constant.
500 (uint8-byte-table): Use `uint8_byte_table_description'.
501 (uint16_byte_table_description): New constant.
502 (uint16-byte-table): Use `uint16_byte_table_description'.
504 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
506 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
507 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
509 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
511 * mule-charset.c (Vcharset_ucs_ks): New variable.
512 (Qucs_ks): New variable.
513 (syms_of_mule_charset): Add new symbol `ucs-ks'.
514 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
516 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
518 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
520 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
521 (Fdecode_char): Likewise.
523 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
525 (Fdefine_char): Modify for Fdecode_char.
526 (Ffind_char): Likewise.
528 * mule-charset.c (Fdecode_char): Add new optional argument
530 (Fdecode_builtin_char): Modify for `Fdecode_char'.
532 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
534 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
535 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
536 (allocate_coding_system): Initialize initial-charsets of
537 CODESYS_BIG5 in XEmacs UTF-2000.
538 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
539 CODESYS_BIG5 in XEmacs UTF-2000.
540 (decode_coding_big5): Use initial-charset-g0 and -g1 of
541 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
543 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
545 (Qideograph_hanziku_{1 .. 12}): Likewise.
546 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
548 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
549 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
550 `ideograph-hanziku-{1 .. 12}'.
552 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
553 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
554 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
555 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
556 (DECODE_DEFINED_CHAR): New inline function.
557 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
559 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
561 * mule-charset.c (Vcharset_china3_jef): Renamed from
562 `Vcharset_japanese_jef_china3'.
563 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
564 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
565 `{MIN|MAX}_CHAR_JEF_CHINA3'..
566 (syms_of_mule_charset): Rename `china3-jef' from
567 `japanese-jef-china3'.
568 (complex_vars_of_mule_charset): Likewise; rename
569 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
571 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
572 `LEADING_BYTE_JEF_CHINA3'.
573 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
574 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
576 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
578 * mule-charset.c (encode_builtin_char_1): Comment out special code
579 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
581 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
582 (MAX_CHAR_MOJIKYO_0): Comment out.
583 (MIN_CHAR_CBETA): Changed to 0x00E20000.
584 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
585 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
586 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
588 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
590 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
591 (Qideograph_cbeta): New variable.
592 (encode_builtin_char_1): Comment out special code for
593 coded-charset `mojikyo' and `japanese-jef-china3'.
594 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
595 (complex_vars_of_mule_charset): Add new coded-charset
598 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
599 (MIN_CHAR_CBETA): New macro.
600 (MAX_CHAR_CBETA): New macro.
602 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
604 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
605 (LEADING_BYTE_JEF_CHINA3): New macro.
606 (MIN_CHAR_JEF_CHINA3): New macro.
607 (MAX_CHAR_JEF_CHINA3): Likewise.
608 (DECODE_CHAR): Fixed.
610 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
612 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
613 (Qjapanese_jef_china3): New variable.
614 (encode_builtin_char_1): Support `japanese-jef-china3'.
615 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
616 (complex_vars_of_mule_charset): Add new coded-charset
617 `japanese-jef-china3'.
619 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
621 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
622 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
623 94^4, 96^3, 96^4, 128^n and 256^n set.
624 (put_char_table): Use `XCHARSET_CELL_RANGE'.
625 (map_char_table): Likewise.
627 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
629 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
632 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
634 * chartab.h (get_char_id_table): New inline function.
636 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
639 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
641 * chartab.h (decode_char_table_range): New prototype in XEmacs
643 (put_char_id_table): New inline function in XEmacs UTF-2000.
645 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
647 (decode_char_table_range): Delete static declaration in XEmacs
650 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
652 * chartab.c (put_char_id_table): Use `put_char_table'.
654 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
656 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
657 (map_over_uint16_byte_table): Likewise.
658 (map_over_byte_table): Likewise.
659 (map_char_table): Modify for `map_over_uint8_byte_table',
660 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
663 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
665 * chartab.c (struct map_char_table_for_charset_arg): New
667 (map_char_table_for_charset_fun): New function.
668 (map_char_table): Use `map_char_table' for encoding_table of
671 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
673 * chartab.c (map_char_table): Check a character is found in
674 range->charset instead of non default value is defined in
675 char-table when range is CHARTAB_RANGE_ROW.
677 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
679 * chartab.c (map_char_id_table): Deleted.
680 (Fmap_char_attribute): Use `map_char_table' instead of
683 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
685 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
687 (update_syntax_table): Deleted in XEmacs UTF-2000.
689 * syntax.c (find_defun_start): Use `syntax_table' instead of
690 `mirror_syntax_table' in XEmacs UTF-2000.
691 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
693 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
695 (Fmatching_paren): Likewise.
696 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
698 (find_start_of_comment): Likewise.
699 (find_end_of_comment): Likewise.
700 (Fforward_comment): Likewise.
701 (scan_lists): Likewise.
702 (char_quoted): Likewise.
703 (Fbackward_prefix_chars): Likewise.
704 (scan_sexps_forward): Likewise.
705 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
706 (update_syntax_table): Likewise.
708 * search.c (skip_chars): Use `syntax_table' instead of
709 `mirror_syntax_table' in XEmacs UTF-2000.
711 (Freplace_match): Likewise.
713 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
714 `mirror_syntax_table' in XEmacs UTF-2000.
715 (WORDCHAR_P_UNSAFE): Likewise.
716 (re_match_2_internal): Likewise.
718 * font-lock.c (find_context): Use `buf->syntax_table' instead of
719 `buf->mirror_syntax_table' in XEmacs UTF-2000.
721 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
722 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
724 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
727 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
729 (print_char_table): Print `default_value' in XEmacs UTF-2000.
730 (char_table_description): Delete `mirror_table' in XEmacs
732 (fill_char_table): Don't call `update_syntax_table' in XEmacs
734 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
735 (Fcopy_char_table): Likewise.
736 (put_char_table): Don't call `update_syntax_table' in XEmacs
739 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
740 `buf->mirror_syntax_table' in XEmacs UTF-2000.
741 (casify_region_internal): Likewise.
743 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
745 * buffer.c (common_init_complex_vars_of_buffer): Don't use
746 `mirror_syntax_table' in XEmacs UTF-2000.
748 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
749 `buf->mirror_syntax_table' in XEmacs UTF-2000.
750 (Fexpand_abbrev): Likewise.
752 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
754 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
756 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
758 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
759 (map_over_uint16_byte_table): Likewise.
760 (map_over_byte_table): Likewise.
761 (get_char_id_table): Refer `cit->default_value'.
762 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
763 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
764 of character-id ranges.
765 (mark_char_table): Mark `ct->default_value'.
766 (char_table_description): Add `default_value'.
767 (fill_char_table): Use `default_value'.
768 (decode_char_table_range): Decode `nil' as
769 `CHARTAB_RANGE_DEFAULT'.
770 (get_char_id_table): Refer `cit->default_value'.
771 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
772 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
773 temporary hack; check value of char-table is bound or not.
774 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
776 * chartab.h (struct Lisp_Char_Table): Add new member
777 `default_value' in XEmacs UTF-2000.
778 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
779 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
782 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
784 * chartab.h (Lisp_Char_ID_Table): Deleted.
786 * chartab.c (char_table_description): Fix typo.
787 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
788 `Lisp_Char_ID_Table'.
790 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
792 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
795 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
798 * chartab.h (XCHAR_ID_TABLE): Deleted.
799 (XSETCHAR_ID_TABLE): Deleted.
800 (CHAR_ID_TABLE_P): Deleted.
802 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
804 (Fget_composite_char): Likewise.
805 (put_char_table): Likewise.
806 (add_char_attribute_alist_mapper): Fixed.
807 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
809 (Fget_char_attribute): Likewise.
810 (Fget_char_attribute): Likewise.
811 (Fmap_char_attribute): Likewise.
813 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
815 (encode_char_1): Likewise.
817 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
819 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
822 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
823 instead of `XCHAR_ID_TABLE'.
824 (remove_char_ccs): Likewise.
826 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
828 (Fget_composite_char): Likewise.
829 (Fchar_variants): Likewise.
830 (put_char_table): Likewise.
831 (add_char_attribute_alist_mapper): Likewise.
832 (Fchar_attribute_alist): Likewise.
833 (Fget_char_attribute): Likewise.
834 (Fput_char_attribute): Likewise.
835 (Fmap_char_attribute): Likewise.
836 (Fmap_char_attribute): Likewise.
838 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
840 (encode_char_1): Likewise.
842 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
844 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
845 `Lisp_Char_ID_Table'.
846 (mark_char_id_table): Deleted.
847 (print_char_id_table): Likewise.
848 (char_id_table_equal): Likewise.
849 (char_id_table_hash): Likewise.
850 (char_id_table_description): Likewise.
851 (char_id_table): Likewise.
852 (make_char_id_table): Use `Fmake_char_table' and
854 (get_char_id_table): Use `Lisp_Char_Table' instead of
855 `Lisp_Char_ID_Table'.
856 (put_char_id_table): Likewise.
857 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
859 (Fremove_char_attribute): Likewise.
860 (syms_of_chartab): Don't define type `char-id-table'.
862 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
863 (char_id_table): Likewise.
864 (GC_CHAR_ID_TABLE_P): Likewise.
865 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
866 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
867 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
868 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
869 (get_char_id_table): Use `Lisp_Char_Table' instead of
870 `Lisp_Char_ID_Table'.
871 (put_char_id_table_0): Likewise.
872 (put_char_id_table): Likewise.
874 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
876 * chartab.h: Lisp_Byte_Table related codes are moved from
879 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
881 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
883 * chartab.h: Don't include "chartab.h".
884 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
885 (Lisp_Char_ID_Table): Likewise.
886 (char_id_table): Likewise.
887 (XCHAR_ID_TABLE): Likewise.
888 (XSETCHAR_ID_TABLE): Likewise.
889 (CHAR_ID_TABLE_P): Likewise.
890 (GC_CHAR_ID_TABLE_P): Likewise.
891 (get_char_id_table): Likewise.
893 * char-ucs.h: Include "chartab.h".
894 (struct Lisp_Char_ID_Table): Moved to chartab.h.
895 (Lisp_Char_ID_Table): Likewise.
896 (char_id_table): Likewise.
897 (XCHAR_ID_TABLE): Likewise.
898 (XSETCHAR_ID_TABLE): Likewise.
899 (CHAR_ID_TABLE_P): Likewise.
900 (GC_CHAR_ID_TABLE_P): Likewise.
901 (get_char_id_table): Likewise.
903 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
905 * chartab.c (copy_uint8_byte_table): New function.
906 (copy_uint16_byte_table): New function.
907 (copy_byte_table): New function.
908 (map_over_uint8_byte_table): Modify to avoid huge numbers of
910 (map_over_uint16_byte_table): Likewise.
911 (map_over_byte_table): Likewise.
912 (get_byte_table): Move prototype to chartab.h.
913 (put_byte_table): Likewise.
914 (put_char_id_table_0): Moved to chartab.h.
915 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
916 (char_table_entry_equal): Likewise.
917 (char_table_entry_hash): Likewise.
918 (char_table_entry_description): Likewise.
919 (char_table_entry): Likewise.
920 (make_char_table_entry): Likewise.
921 (copy_char_table_entry): Likewise.
922 (get_non_ascii_char_table_value): Likewise.
923 (map_over_charset_ascii): Likewise.
924 (map_over_charset_control_1): Likewise.
925 (map_over_charset_row): Likewise.
926 (map_over_other_charset): Likewise.
927 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
928 (print_char_table): Likewise.
929 (char_table_equal): Likewise.
930 (char_table_hash): Likewise.
931 (char_table_description): Likewise.
932 (fill_char_table): Likewise.
933 (Fcopy_char_table): Likewise.
934 (get_char_table): Likewise.
935 (Fget_range_char_table): Likewise.
936 (put_char_table): Likewise.
937 (map_char_table): Likewise.
938 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
941 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
943 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
944 `Vauto_fill_chars' in XEmacs UTF-2000.
946 * chartab.h (get_byte_table): New prototype [moved from
948 (put_byte_table): Likewise [moved from chartab.c].
949 (put_char_id_table_0): New inline function [moved from chartab.c].
950 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
951 (Lisp_Char_Table_Entry): Likewise.
952 (char_table_entry): Likewise.
953 (XCHAR_TABLE_ENTRY): Likewise.
954 (XSETCHAR_TABLE_ENTRY): Likewise.
955 (CHAR_TABLE_ENTRYP): Likewise.
956 (CHECK_CHAR_TABLE_ENTRY): Likewise.
957 (NUM_ASCII_CHARS): Likewise.
958 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
959 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
961 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
963 * chartab.c (get_char_id_table): Change interface.
964 (put_char_id_table_0): New function.
965 (put_char_id_table): Change interface; new implementation.
966 (Fget_composite_char): Modify for interface change of
968 (Fchar_variants): Likewise.
969 (add_char_attribute_alist_mapper): Likewise.
970 (Fchar_attribute_alist): Likewise.
971 (Fget_char_attribute): Likewise.
972 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
973 as same as character as the first argument like `put-char-table';
974 modify for interface change of `put_char_id_table'.
975 (Fremove_char_attribute): Modify for interface change of
978 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
980 * text-coding.c: Sync up with XEmacs 21.2.41.
981 (COMPOSE_ADD_CHAR): Modify for interface change of
984 * mule-charset.c (put_char_ccs_code_point): Modify for interface
985 change of `put_char_id_table'.
986 (remove_char_ccs): Likewise.
988 * chartab.h (put_char_id_table): Change interface.
990 * char-ucs.h (get_char_id_table): Change interface.
991 (charset_code_point): Modify for interface change of
993 (encode_char_1): Likewise.
995 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
997 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
999 (map_over_uint16_byte_table): Likewise.
1000 (map_over_byte_table): Likewise.
1001 (map_char_id_table): Add new argument `range' like
1003 (Fmap_char_attribute): Add new argument `range' like
1006 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1008 * chartab.c (map_over_uint8_byte_table): Change interface of
1009 mapping function to use struct chartab_range instead of Emchar.
1010 (map_over_uint16_byte_table): Likewise.
1011 (map_over_byte_table): Likewise.
1012 (map_char_id_table): Likewise.
1013 (struct slow_map_char_id_table_arg): Deleted.
1014 (slow_map_char_id_table_fun): Deleted.
1015 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1016 function `slow_map_char_table_fun' instead of struct
1017 `slow_map_char_id_table_arg' and function
1018 `slow_map_char_id_table_fun'.
1020 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1022 * mule-charset.c: Move char-it-table related codes to chartab.c.
1023 (Vutf_2000_version): Moved to chartab.c.
1024 (Fdefine_char): Likewise.
1025 (Ffind_char): Likewise.
1026 (syms_of_mule_charset): Move types `uint8-byte-table',
1027 `uint16-byte-table', `byte-table' and `char-id-table' to
1028 chartab.c; move functions `char_attribute_list,
1029 `find_char_attribute_table, `char_attribute_alist,
1030 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1031 `map_char_attribute, `define_char, `find_char, `char_variants and
1032 `get_composite_char to chartab.c; move symbols `=>ucs',
1033 `->decomposition', `compat', `isolated', `initial', `medial',
1034 `final', `vertical', `noBreak', `fraction', `super', `sub',
1035 `circle', `square', `wide', `narrow', `small' and `font' to
1037 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1038 setting codes for `Vcharacter_composition_table' and
1039 `Vcharacter_variant_table' to chartab.c.
1040 (complex_vars_of_mule_charset): Move setting code for
1041 `Vchar_attribute_hash_table' to chartab.c.
1043 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1044 (make_char_id_table): New prototype.
1045 (put_char_id_table): Likewise.
1046 (Fget_char_attribute): Likewise.
1048 * chartab.c: Move char-id-table related code from mule-charset.c.
1049 (Vutf_2000_version): Moved from mule-charset.c.
1051 * char-ucs.h (Qucs): New external variable.
1052 (put_char_ccs_code_point): New prototype.
1053 (remove_char_ccs): Likewise.
1055 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1057 * mule-charset.c (Vcharset_ucs_jis): New variable.
1058 (Qucs_jis): Likewise.
1059 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1060 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1062 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1064 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1066 * mule-charset.c (map_over_uint8_byte_table): New function.
1067 (map_over_uint16_byte_table): Likewise.
1068 (map_over_byte_table): Likewise.
1069 (map_char_id_table): Likewise.
1070 (slow_map_char_id_table_fun): Likewise.
1071 (Fmap_char_attribute): Likewise.
1072 (syms_of_mule_charset): Add new function `map-char-attribute'.
1074 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1076 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1077 (syms_of_mule_charset): Add new function `find-char'.
1079 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1081 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1083 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1084 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1086 (complex_vars_of_mule_charset): Add new coded-charset
1087 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1088 `ideograph-gt-pj-*'.
1090 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1092 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1094 * mule-charset.c (encode_builtin_char_1): Purge codes about
1095 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1096 {MIN|MAX}_CHAR_HEBREW.
1097 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1098 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1100 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1101 (MAX_CHAR_GREEK): Purged.
1102 (MIN_CHAR_CYRILLIC): Purged.
1103 (MAX_CHAR_CYRILLIC): Purged.
1104 (MIN_CHAR_HEBREW): Commented out.
1105 (MAX_CHAR_HEBREW): Likewise.
1107 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1109 * mule-charset.c (Qto_ucs): New variable.
1110 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1111 (Fdefine_char): Likewise.
1112 (syms_of_mule_charset): Add new symbol `=>ucs'.
1114 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1116 * mule-charset.c (Fdecode_char): Fixed.
1118 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1120 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1121 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1124 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1126 * mule-charset.c (Vcharset_ucs_big5): New variable.
1127 (Qucs_big5): Likewise.
1128 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1129 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1131 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1133 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1135 * mule-charset.c (decode_builtin_char): Check Big5 code range
1136 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1138 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1140 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1141 (Qchinese_gb12345): Likewise.
1142 (Fdecode_builtin_char): Fixed.
1143 (syms_of_mule_charset): Add `chinese-gb12345'.
1144 (complex_vars_of_mule_charset): Add coded-charset
1147 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1148 (LEADING_BYTE_CHINESE_GB12345): New macro.
1150 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1152 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
1153 and `latin-viscii-upper' for `latin-viscii'.
1155 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1157 * mule-charset.c (Fdecode_builtin_char): Comment out
1158 regularization code for ISO-IR GR representation.
1160 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1162 * mule-charset.c (decode_builtin_char): New function; renamed from
1163 `make_builtin_char'; return -1 instead of signal.
1164 (Fdecode_builtin_char): Use `decode_builtin_char'.
1166 * char-ucs.h (decode_builtin_char): New prototype; renamed from
1167 `make_builtin_char'.
1168 (DECODE_CHAR): Use `decode_builtin_char' instead of
1169 `make_builtin_char'; use mapping table of `chinese-big5' for
1170 `chinese-big5-{1,2}'.
1172 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1174 * text-coding.c (char_encode_big5): New function.
1175 (char_finish_big5): Likewise.
1176 (reset_encoding_stream): Use `char_encode_big5' and
1177 `char_finish_big5' for CODESYS_BIG5.
1178 (mule_encode): Don't use `encode_coding_big5'.
1179 (encode_coding_big5): Deleted.
1181 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1183 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
1184 0x81- in XEmacs UTF-2000.
1185 (detect_coding_big5): Likewise.
1187 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1189 * mule-charset.c (Fdefine_char): Don't use a CCS property to
1190 generate character-id if the CCS property does not have
1191 corresponding predefined character.
1192 (make_builtin_char): Return -1 if corresponding predefined
1193 character is not found.
1194 (Fdecode_char): Return nil if corresponding character is not
1196 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
1197 don't map to builtin ucs space.
1199 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1201 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
1202 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
1204 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1206 * mule-charset.c (Vcharset_ideograph_gt): New variable.
1207 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
1208 (Qideograph_gt): Likewise.
1209 (Qideograph_gt_pj_{1..11}): Likewise.
1210 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
1211 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
1212 `ideograph-gt-pj-11'.
1213 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
1214 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
1215 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
1217 * char-ucs.h (LEADING_BYTE_GT): New macro.
1218 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
1219 (MIN_CHAR_GT): Likewise.
1220 (MAX_CHAR_GT): Likewise.
1222 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1224 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
1225 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
1227 * doprnt.c (unsigned_int_converters): Add `c'.
1228 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
1230 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
1231 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
1233 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
1234 (MAX_CHAR_MOJIKYO_0): New macro.
1235 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
1237 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1239 * mule-charset.c (Fdefine_char): Delete cemented out code.
1240 (encode_builtin_char_1): Modify for new allocation of builtin
1243 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
1245 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1247 * mule-charset.c (Vcharset_ucs_cns): New variable.
1248 (Qucs_cns): New variable.
1249 (syms_of_mule_charset): Add new symbol `ucs-cns'.
1250 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
1252 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1254 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
1256 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1258 * search.c (search_buffer): Make `charset_base_code' as
1259 character-id >> 6 to eliminate the corresponding last byte in
1260 UTF-8 representation [I'm not sure it is right thing].
1261 (boyer_moore): Likewise.
1263 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1265 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
1266 representation in MULE.
1268 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1270 * text-coding.c (Fmake_coding_system): Use
1271 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
1272 `EXTERNAL_PROPERTY_LIST_LOOP'.
1274 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1276 * text-coding.c (decode_output_utf8_partial_char): New function.
1277 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
1279 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1281 * text-coding.c (decode_coding_utf8): Output original byte
1282 sequence if it is broken; change order of conditions.
1284 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
1287 * mb-multibyte.h (BYTE_ASCII_P):
1288 Use bit ops for char-signedness safety.
1289 (BYTE_C0_P): Use bit ops for char-signedness safety.
1290 (BYTE_C1_P): Use bit ops for char-signedness safety.
1292 * character.h: (XCHAR_OR_CHAR_INT):
1293 Always use inline function.
1294 Remove redundant type checking assert() - XINT will abort quite
1297 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1299 * text-coding.c: (Fencode_shift_jis_char):
1300 (Fencode_big5_char):
1301 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
1302 Replace 0 with '\0' when working with bytes.
1303 Replace initial "(" with "\(" in docstrings.
1305 (Fmake_coding_system):
1306 When type is ccl and value is vector, register it with a proper
1307 symbol. And checks whether the given ccl program is valid.
1308 (mule_decode): When calling ccl_driver, if src indicates
1309 NULL pointer, set an empty string instead.
1310 (mule_encode): Likewise.
1313 (detect_coding_sjis):
1314 (decode_coding_sjis):
1315 (detect_coding_big5):
1316 (decode_coding_big5):
1317 (detect_coding_ucs4):
1318 (decode_coding_ucs4):
1319 (detect_coding_utf8):
1320 (decode_coding_utf8):
1321 (detect_coding_iso2022):
1322 (decode_coding_iso2022):
1323 (decode_coding_no_conversion):
1325 Make all detecting and decoding functions take an Extbyte * arg.
1326 (text_encode_generic):
1327 (encode_coding_big5):
1328 (encode_coding_no_conversion):
1330 Make all encoding functions take a Bufbyte * arg.
1331 Use size_t instead of unsigned int for memory sizes.
1332 Only cast to unsigned char whenever dereferencing Extbyte *.
1334 (struct lrecord_description fcd_description_1): Use countof.
1335 (complex_vars_of_file_coding):
1336 Use countof instead of sizeof.
1337 Use CHECK_NATNUM instead of CHECK_INT.
1339 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1341 * mule-charset.c (Fget_char_attribute): Add new optional argument
1343 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
1344 (remove_char_ccs): Likewise.
1346 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1348 * text-coding.c (char_encode_shift_jis): New implementation in
1350 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
1353 * mule-charset.c (Vcharset_chinese_big5): New variable in
1355 (Qchinese_big5): New variable in UTF-2000.
1356 (BIG5_SAME_ROW): New macro in UTF-2000.
1357 (make_builtin_char): Use builtin characters of
1358 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
1359 characters of `Vcharset_chinese_big5'.
1360 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
1361 (complex_vars_of_mule_charset): Add new coded-charset
1362 `chinese-big5' in UTF-2000.
1364 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
1365 (Vcharset_chinese_big5): New external variable declaration.
1366 (Vcharset_japanese_jisx0208_1990): Likewise.
1368 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1370 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
1372 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
1374 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1376 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
1377 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
1378 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
1381 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1383 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
1385 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1387 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1390 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1392 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
1393 for `CHARSET_BY_ATTRIBUTES'.
1394 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1395 `CHARSET_BY_ATTRIBUTES'.
1397 * text-coding.c (struct decoding_stream): Rename member `CH' to
1399 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
1400 (decode_coding_sjis): Likewise.
1401 (decode_coding_big5): Likewise.
1402 (decode_coding_ucs4): Likewise.
1403 (decode_coding_utf8): Likewise.
1404 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1405 `CHARSET_BY_ATTRIBUTES'.
1406 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
1407 `str->counter'; decode 3, 4 bytes sets.
1408 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
1410 (decode_coding_no_conversion): Use `str->cpos' instead of
1413 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
1414 (Qmojikyo_2022_1): New variable.
1415 (make_charset): Don't use `CHARSET_TYPE_*'.
1416 (range_charset_code_point): Support coded-charset
1418 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
1419 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
1420 `CHARSET_BY_ATTRIBUTES'.
1421 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
1422 `CHARSET_BY_ATTRIBUTES'.
1423 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
1424 (complex_vars_of_mule_charset): Add new coded-charset
1427 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
1428 interface; changed to inline function.
1430 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
1431 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
1432 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
1433 (CHARSET_TYPE_94): Deleted.
1434 (CHARSET_TYPE_94X94): Deleted.
1435 (CHARSET_TYPE_96): Deleted.
1436 (CHARSET_TYPE_96X96): Deleted.
1437 (CHARSET_TYPE_128): Deleted.
1438 (CHARSET_TYPE_128X128): Deleted.
1439 (CHARSET_TYPE_256): Deleted.
1440 (CHARSET_TYPE_256X256): Deleted.
1441 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
1443 (DECODE_MOJIKYO_2022): New inline function.
1444 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
1445 `Vcharset_mojikyo_2022_1'.
1447 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1449 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
1451 (put_byte_table): Likewise.
1452 (char_id_table_equal): Use `get_byte_table' [new implementation].
1454 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1456 * mule-charset.c: Include <limits.h> in UTF-2000.
1457 (BT_UINT8_MIN): New macro in UTF-2000.
1458 (BT_UINT8_MAX): New macro in UTF-2000.
1459 (BT_UINT8_t): New macro in UTF-2000.
1460 (BT_UINT8_nil): New macro in UTF-2000.
1461 (BT_UINT8_unbound): New macro in UTF-2000.
1462 (INT_UINT8_P): New inline function in UTF-2000.
1463 (UINT8_VALUE_P): New inline function in UTF-2000.
1464 (UINT8_ENCODE): New inline function in UTF-2000.
1465 (UINT8_DECODE): New inline function in UTF-2000.
1466 (mark_uint8_byte_table): New function in UTF-2000.
1467 (print_uint8_byte_table): New function in UTF-2000.
1468 (uint8_byte_table_equal): New function in UTF-2000.
1469 (uint8_byte_table_hash): New function in UTF-2000.
1470 (make_uint8_byte_table): New function in UTF-2000.
1471 (uint8_byte_table_same_value_p): New function in UTF-2000.
1472 (BT_UINT16_MIN): New macro in UTF-2000.
1473 (BT_UINT16_MAX): New macro in UTF-2000.
1474 (BT_UINT16_t): New macro in UTF-2000.
1475 (BT_UINT16_nil): New macro in UTF-2000.
1476 (BT_UINT16_unbound): New macro in UTF-2000.
1477 (INT_UINT16_P): New inline function in UTF-2000.
1478 (UINT16_VALUE_P): New inline function in UTF-2000.
1479 (UINT16_ENCODE): New inline function in UTF-2000.
1480 (UINT16_DECODE): New inline function in UTF-2000.
1481 (UINT8_TO_UINT16): New inline function in UTF-2000.
1482 (mark_uint16_byte_table): New function in UTF-2000.
1483 (print_uint16_byte_table): New function in UTF-2000.
1484 (uint16_byte_table_equal): New function in UTF-2000.
1485 (uint16_byte_table_hash): New function in UTF-2000.
1486 (make_uint16_byte_table): New function in UTF-2000.
1487 (uint16_byte_table_same_value_p): New function in UTF-2000.
1488 (print_byte_table): New function in UTF-2000.
1489 (byte-table): Use `print_byte_table' as printer.
1490 (make_byte_table): Delete second argument `older'.
1491 (byte_table_same_value_p): New function in UTF-2000.
1492 (copy_byte_table): Deleted.
1493 (get_byte_table): New function in UTF-2000.
1494 (put_byte_table): New function in UTF-2000.
1495 (print_char_id_table): New function in UTF-2000.
1496 (char-id-table): Use `print_char_id_table' as printer.
1497 (make_char_id_table): Delete second argument `older'.
1498 (get_char_id_table): Use `get_byte_table [new implementation].
1499 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
1501 (Ffind_char_attribute_table): New function in UTF-2000.
1502 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1503 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
1504 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
1505 (syms_of_mule_charset): Add new function
1506 `find-char-attribute-table' in UTF-2000.
1508 * lrecord.h (enum lrecord_type): Add
1509 `lrecord_type_uint16_byte_table' and
1510 `lrecord_type_uint8_byte_table'.
1512 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
1513 (Lisp_Uint8_Byte_Table): New type.
1514 (XUINT8_BYTE_TABLE): New macro.
1515 (XSETUINT8_BYTE_TABLE): New macro.
1516 (UINT8_BYTE_TABLE_P): New macro.
1517 (GC_UINT8_BYTE_TABLE_P): New macro.
1518 (struct Lisp_Uint16_Byte_Table): New structure.
1519 (Lisp_Uint16_Byte_Table): New type.
1520 (XUINT16_BYTE_TABLE): New macro.
1521 (XSETUINT16_BYTE_TABLE): New macro.
1522 (UINT16_BYTE_TABLE_P): New macro.
1523 (GC_UINT16_BYTE_TABLE_P): New macro.
1525 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1527 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
1528 (Vcharacter_ideographic_strokes_table): Deleted.
1529 (Vcharacter_total_strokes_table): Deleted.
1530 (Vcharacter_morohashi_daikanwa_table): Deleted.
1531 (Vcharacter_decomposition_table): Deleted.
1532 (Qname): Deleted because it is duplicated.
1533 (Qideographic_radical): Deleted.
1534 (Qideographic_strokes): Deleted.
1535 (Qtotal_strokes): Deleted.
1536 (Qmorohashi_daikanwa): Deleted.
1537 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
1538 `ideographic-radical', `ideographic-strokes', `total-strokes',
1539 `morohashi-daikanwa' and `->decomposition'.
1540 (Fget_char_attribute): Likewise.
1541 (Fput_char_attribute): Likewise; use `make-vector' instead of
1542 `make_older_vector' for `->decomposition' value.
1543 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
1544 `ideograph-daikanwa'.
1545 (syms_of_mule_charset): Delete builtin symbols `name',
1546 `ideographic-radical', `ideographic-strokes', `total-strokes' and
1547 `morohashi-daikanwa'.
1548 (vars_of_mule_charset): Don't setup
1549 `Vcharacter_ideographic_radical_table',
1550 `Vcharacter_ideographic_strokes_table',
1551 `Vcharacter_total_strokes_table',
1552 `Vcharacter_morohashi_daikanwa_table' and
1553 `Vcharacter_decomposition_table'.
1555 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1557 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
1558 `make_older_vector', `make_vector_newer_1' and
1559 `make_vector_newer'.
1561 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
1562 `make_older_vector' and `make_vector_newer'.
1564 * config.h.in (HAVE_GGC): New macro.
1566 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1568 * mule-charset.c (struct char_attribute_list_closure): New
1569 structure in UTF-2000.
1570 (add_char_attribute_to_list_mapper): New function in UTF-2000.
1571 (Fchar_attribute_list): Likewise.
1572 (Fset_charset_mapping_table): Use `make_vector_newer'.
1573 (Fdecode_builtin_char): New function in UTF-2000.
1574 (syms_of_mule_charset): Add new function `char-attribute-list' and
1575 `decode-builtin-char' in UTF-2000.
1577 * lisp.h (make_vector_newer): New prototype.
1579 * alloc.c (make_vector_newer_1): New function.
1580 (make_vector_newer): New function.
1582 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1584 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
1587 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1589 * mule-charset.c (Vchar_attribute_hash_table): New variable.
1590 (Vcharacter_attribute_table): Deleted.
1591 (Vcharacter_name_table): Deleted.
1592 (put_char_attribute): Deleted.
1593 (remove_char_attribute): Deleted.
1594 (struct char_attribute_alist_closure): New structure.
1595 (add_char_attribute_alist_mapper): New function.
1596 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
1597 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
1598 (Fget_char_attribute): Likewise.
1599 (Fput_char_attribute): Likewise.
1600 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
1601 of `remove_char_attribute'.
1602 (Fdefine_char): Return character.
1603 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
1604 and `Vcharacter_name_table'.
1605 (complex_vars_of_mule_charset): Likewise
1606 `Vchar_attribute_hash_table'.
1608 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1610 * character.h (CHARC_CHARSET): New macro.
1611 (CHARC_CHARSET_ID): New macro.
1612 (CHARC_CODE_POINT): New macro.
1613 (CHARC_COLUMNS): New macro.
1614 (CHARC_TO_CHAR): New inline function.
1615 (CHARC_EQ): New inline function.
1616 (CHARC_ASCII_EQ): New inline function.
1617 (CHARC_IS_SPACE): New inline function.
1618 (ASCII_TO_CHARC): New inline function.
1620 * char-ucs.h (encode_char_2): Deleted.
1621 (ENCODE_CHAR): Use `encode_char_1' again.
1622 (breakup_char_1): Likewise.
1623 (CHAR_TO_CHARC): New inline function.
1625 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
1627 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1629 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
1630 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
1631 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
1632 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
1633 (create_string_text_block): Use `CHARC_ASCII_EQ' and
1635 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
1637 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
1639 (x_output_display_block): Use `CHARC_CHARSET' and
1642 * redisplay-tty.c (tty_output_display_block): Use
1644 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
1646 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
1648 * insdel.c (find_charsets_in_charc_string): Use
1650 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
1651 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
1652 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
1653 (convert_charc_string_into_malloced_string): Likewise.
1655 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1657 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
1658 instead of <Emchar_dynarr *> for buf; use
1659 `convert_bufbyte_string_into_charc_dynarr' instead of
1660 `convert_bufbyte_string_into_emchar_dynarr'; use
1661 `find_charsets_in_charc_string' instead of
1662 `find_charsets_in_emchar_string'.
1665 - Include "character.h".
1666 (struct rune): New member `cglyph'; delete member `chr'.
1668 * redisplay.c (redisplay_text_width_charc_string): New function;
1669 delete `redisplay_text_width_emchar_string'.
1670 (rtw_charc_dynarr): New variable; renamed from
1671 `rtw_emchar_dynarr'.
1672 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
1673 `rtw_emchar_dynarr'; use
1674 `convert_bufbyte_string_into_charc_dynarr' instead of
1675 `convert_bufbyte_string_into_emchar_dynarr'; use
1676 `redisplay_text_width_charc_string' instead of
1677 `redisplay_text_width_emchar_string'.
1678 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
1679 instead of `rtw_emchar_dynarr'; use
1680 `convert_bufbyte_string_into_charc_dynarr' instead of
1681 `convert_bufbyte_string_into_emchar_dynarr'.
1682 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
1683 `redisplay_text_width_charc_string' instead of
1684 `redisplay_text_width_emchar_string'.
1685 (create_text_block): Modify for <struct rune> change.
1686 (generate_formatted_string_db): Likewise.
1687 (create_string_text_block): Likewise.
1688 (pixel_to_glyph_translation): Likewise.
1690 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
1691 instead of <const Emchar *>.
1692 (x_text_width): Likewise.
1693 (x_output_display_block): Use <Charc_dynarr *> instead
1694 <Emchar_dynarr *>; modify for <structure rune> change.
1695 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
1698 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
1699 <const Emchar *>; use `charc_string_displayed_columns' instead of
1700 `emchar_string_displayed_columns'.
1701 (tty_output_display_block): Use <Charc_dynarr *> instead of
1702 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
1703 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
1704 (tty_output_charc_dynarr_dynarr): New variable; renamed from
1705 `tty_output_emchar_dynarr_dynarr'.
1706 (tty_output_charc_dynarr): New function; delete
1707 `tty_output_charc_dynarr'.
1709 * redisplay-output.c (compare_runes): Modify for `struct rune'.
1710 (redisplay_output_layout): Use <Charc_dynarr *> instead of
1711 <Emchar_dynarr *> for buf; use
1712 `convert_bufbyte_string_into_charc_dynarr' instead of
1713 `convert_bufbyte_string_into_emchar_dynarr'.
1715 * frame.c (title_string_charc_dynarr): New variable; renamed from
1716 `title_string_emchar_dynarr'.
1717 (generate_title_string): Use `title_string_charc_dynarr' instead
1718 of `title_string_emchar_dynarr'; use
1719 `convert_charc_string_into_malloced_string' instead of
1720 `convert_emchar_string_into_malloced_string'.
1721 (init_frame): Use `title_string_charc_dynarr' instead of
1722 `title_string_emchar_dynarr'.
1725 - Include "character.h".
1726 (struct console_methods): Use <const Charc *> instead of <const
1727 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
1728 <Emchar_dynarr *> in output_string_method.
1730 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
1733 * console-stream.c (stream_text_width): Use <const Charc *>
1734 instead of <const Emchar *>.
1736 * character.h (Charc_dynarr): New type.
1738 * char-ucs.h (structure Charc): New structure; define new type
1741 * char-lb.h (DECODE_CHAR): New inline function.
1742 (encode_char_1): New inline function.
1743 (ENCODE_CHAR): New macro.
1744 (structure Charc): New structure; define new type `Charc'.
1746 * char-1byte.h (Vcharset_control_1): New macro.
1747 (Vcharset_latin_iso8859_1): New macro.
1748 (DECODE_CHAR): New inline function.
1749 (encode_char_1): New inline function.
1750 (ENCODE_CHAR): New macro.
1751 (structure Charc): New structure; define new type `Charc'.
1753 * insdel.c (find_charsets_in_charc_string): New function; delete
1754 `find_charsets_in_emchar_string'.
1755 (charc_string_displayed_columns): New function; delete
1756 `emchar_string_displayed_columns'.
1757 (convert_bufbyte_string_into_charc_dynarr): New function; delete
1758 `convert_bufbyte_string_into_emchar_dynarr'.
1759 (convert_charc_string_into_bufbyte_dynarr): New function; delete
1760 `convert_charc_string_into_bufbyte_dynarr'.
1761 (convert_charc_string_into_malloced_string): New function; delete
1762 `convert_charc_string_into_malloced_string'.
1764 * buffer.h (find_charsets_in_charc_string): New prototype; delete
1765 `find_charsets_in_emchar_string'.
1766 (charc_string_displayed_columns): New prototype; delete
1767 `emchar_string_displayed_columns'.
1768 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
1769 `convert_charc_string_into_bufbyte_dynarr'.
1770 (convert_charc_string_into_malloced_string): New prototype; delete
1771 `convert_charc_string_into_malloced_string'.
1773 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1775 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
1777 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1779 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
1781 * char-ucs.h: Use <short> for <Charset_ID>.
1783 * mule-charset.h, char-1byte.h: Use <unsigned char> for
1786 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1788 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1791 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1793 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
1795 (Qmorohashi_daikanwa): New variable.
1796 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
1797 for `morohashi-daikanwa' attribute.
1798 (Fget_char_attribute): Likewise.
1799 (Fput_char_attribute): Likewise.
1800 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
1801 has the same value of `ideograph-daikanwa'.
1802 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
1803 (vars_of_mule_charset): Setup
1804 `Vcharacter_morohashi_daikanwa_table'.
1806 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1808 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
1810 (add_charset_to_list_mapper): Add `key' instead of
1811 `XCHARSET_NAME (value)' to return aliases.
1813 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1815 * mule-charset.c (Vcharacter_ideographic_radical_table): New
1817 (Vcharacter_ideographic_strokes_table): New variable.
1818 (Qideographic_radical): New variable.
1819 (Qideographic_strokes): New variable.
1820 (Fchar_attribute_alist): Use
1821 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
1822 attribute; use `Vcharacter_ideographic_strokes_table' for
1823 `ideographic-strokes' attribute.
1824 (Fget_char_attribute): Likewise.
1825 (Fput_char_attribute): Likewise.
1826 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
1827 `ideographic-strokes'.
1828 (vars_of_mule_charset): Setup
1829 `Vcharacter_ideographic_radical_table' and
1830 `Vcharacter_ideographic_strokes_table'.
1832 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1834 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
1835 (Qtotal_strokes): New variable.
1836 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
1837 `total-strokes' attribute.
1838 (Fget_char_attribute): Likewise.
1839 (Fput_char_attribute): Likewise.
1840 (syms_of_mule_charset): Add new symbol `total-strokes'.
1841 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
1843 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1845 * mule-charset.c (Vcharacter_decomposition_table): New variable.
1846 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
1848 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
1849 `->decomposition' attribute.
1850 (Fput_char_attribute): Likewise.
1851 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
1853 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1855 * mule-charset.c (decoding_table_check_elements): New function.
1856 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
1858 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1860 * mule-charset.c (Fset_charset_mapping_table): Use
1861 `put_char_ccs_code_point'.
1863 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1865 * mule-charset.c (decoding_table_put_char): New inline function.
1866 (put_char_ccs_code_point): Use `decoding_table_put_char'.
1868 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1870 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
1871 (XCHARSET_BYTE_SIZE): New macro.
1872 (decoding_table_remove_char): New inline function.
1873 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
1874 `decoding_table_remove_char'.
1875 (remove_char_ccs): Use `decoding_table_remove_char'.
1876 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
1878 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1880 * mule-charset.c (Vcharacter_name_table): New variable.
1881 (Qname): New variable.
1882 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
1884 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
1885 `Vcharacter_name_table' for `name' attribute.
1886 (Fremove_char_attribute): Use function `remove_char_ccs'.
1887 (put_char_ccs_code_point): New function.
1888 (remove_char_ccs): New function.
1889 (syms_of_mule_charset): Add new symbol `name'.
1890 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
1892 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1894 * mule-charset.c (make_byte_table): Add new argument `older'.
1895 (make_char_id_table): Likewise.
1896 (copy_char_id_table): Comment out because it is not used.
1897 (put_char_id_table): Modify for `make_byte_table'.
1898 (Fput_char_attribute): Make encoding_table as older object;
1899 inherit older bit of `Vcharacter_composition_table'.
1900 (mark_charset): Don't mark `cs->encoding_table'.
1901 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
1902 normal object; make `Vcharacter_composition_table' as an older
1903 object; delete staticpro for `Vcharacter_composition_table'; make
1904 `Vcharacter_variant_table' as a normal object.
1906 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
1907 (mark_object): Don't check older object in UTF-2000.
1909 * lrecord.h (struct lrecord_header): Add new member `older' in
1911 (set_lheader_implementation): Setup `SLI_header->older' in
1913 (set_lheader_older_implementation): New macro in UTF-2000.
1914 (OLDER_RECORD_P): New macro in UTF-2000.
1915 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
1916 (alloc_older_lcrecord): New prototype in UTF-2000.
1917 (alloc_older_lcrecord_type): New macro in UTF-2000.
1919 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1921 * mule-charset.c (byte_table_description): Use
1922 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
1923 (char_id_table_description): Delete bogus `, 1'.
1924 (Fget_char_attribute): Refer encoding_table of each coded-charset
1925 to get value of coded-charset attribute of a character.
1926 (Fput_char_attribute): Use `make_older_vector' instead of
1927 `make_vector'; use encoding_table of each coded-charset to store
1928 value of coded-charset attribute of a character.
1929 (Fremove_char_attribute): Use encoding_table of each coded-charset
1930 to store value of coded-charset attribute of a character.
1931 (mark_charset): Mark `cs->encoding_table'; don't mark
1932 `cs->decoding_table'.
1933 (charset_description): Add description of new member
1935 (make_charset): Initialize `encoding_table'.
1937 * char-ucs.h (struct Lisp_Charset): Add new member
1939 (CHARSET_ENCODING_TABLE): New macro.
1940 (XCHARSET_ENCODING_TABLE): New macro.
1941 (charset_code_point): New implementation.
1942 (encode_char_1): Likewise.
1944 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
1945 (disksave_object_finalization_1): Call finalizers of
1946 `all_older_lcrecords' in UTF-2000.
1947 (make_older_vector): New function in UTF-2000.
1948 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
1951 * lisp.h (make_older_vector): New prototype in UTF-2000.
1953 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1955 * lrecord.h (enum lrecord_type): Rename
1956 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
1958 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
1959 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
1960 `get_char_code_table'.
1962 * mule-charset.c (mark_char_id_table): Renamed from
1963 `mark_char_code_table'.
1964 (char_id_table_equal): Renamed from `char_code_table_equal'.
1965 (char_id_table_hash): Renamed from `char_code_table_hash'.
1966 (make_char_id_table): Renamed from `make_char_code_table'.
1967 (copy_char_id_table): Renamed from `copy_char_code_table'.
1968 (get_char_id_table): Renamed from `get_char_code_table'.
1969 (put_char_id_table): Renamed from `put_char_code_table'.
1970 (to_char_id): Renamed from `to_char_code'.
1972 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
1973 `Lisp_Char_Code_Table'.
1974 (char_id_table): Renamed from `char_code_table'.
1975 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
1976 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
1977 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
1978 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
1979 (get_char_id_table): Renamed from `get_char_code_table'.
1981 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1983 * lrecord.h (enum lrecord_type): Rename
1984 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
1986 * mule-charset.c (mark_byte_table): Renamed from
1987 `mark_char_byte_table'.
1988 (byte_table_equal): Renamed from `char_byte_table_equal'.
1989 (byte_table_hash): Renamed from `byte_table_hash'.
1990 (make_byte_table): Renamed from `make_byte_table'.
1991 (copy_byte_table): Renamed from `copy_char_byte_table'.
1993 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
1994 `Lisp_Char_Byte_Table'.
1995 (byte_table): Renamed from `char_byte_table'.
1996 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
1997 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
1998 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
1999 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
2001 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2003 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
2004 (dfc_convert_to_internal_format): Likewise.
2006 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2007 * text-coding.c (Fcoding_system_alias_p): New function.
2008 * text-coding.c (Fcoding_system_aliasee): New function.
2009 * text-coding.c (append_suffix_to_symbol): New function.
2010 * text-coding.c (dangling_coding_system_alias_p): New function.
2011 * text-coding.c (Ffind_coding_system):
2012 * text-coding.c (Fcopy_coding_system):
2013 * text-coding.c (encode_coding_no_conversion):
2014 * text-coding.c (syms_of_file_coding):
2015 * text-coding.c (vars_of_file_coding):
2016 Rewrite coding system alias code.
2017 Allow nested aliases, like symbolic links.
2018 Allow redefinition of coding system aliases.
2019 Prevent existence of dangling coding system aliases.
2020 Eliminate convert_to_external_format.
2021 Eliminate convert_to_internal_format.
2023 * text-coding.c: Change enum eol_type to eol_type_t.
2025 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2027 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2028 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2030 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2031 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2033 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2035 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2036 `ideograph-daikanwa'.
2038 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2039 (Vcharset_ucs_bmp): Likewise.
2040 (Vcharset_mojikyo): Add new extern variable definition.
2041 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2042 (Vcharset_latin_iso8859_3): Likewise.
2043 (Vcharset_latin_iso8859_4): Likewise.
2044 (Vcharset_latin_iso8859_9): Likewise.
2045 (Vcharset_latin_viscii_lower): Likewise.
2046 (Vcharset_latin_viscii_upper): Likewise.
2047 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2048 `mojikyo' code-point is used to decode.
2049 (encode_char_2): New function [to convert `mojikyo' code-point to
2050 Mojikyo font encoding].
2051 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2052 (breakup_char_1): Likewise.
2053 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2055 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2057 * text-coding.c (Fmake_coding_system): Add document about
2058 `disable-composition' property.
2060 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2062 * text-coding.c (Qdisable_composition): New variable; delete
2064 (Fmake_coding_system): Add new property `disable-composite';
2065 delete property `composite'.
2066 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2067 instead of `!CODING_SYSTEM_COMPOSITE'.
2068 (syms_of_file_coding): Add new symbol `disable-composition';
2069 delete symbol `composite'.
2071 * file-coding.h (struct Lisp_Coding_System): Add
2072 `disable_composition'; delete `enable_composition'.
2073 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2074 `CODING_SYSTEM_COMPOSITE'.
2075 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2076 `XCODING_SYSTEM_COMPOSITE'.
2078 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2080 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2083 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2085 * text-coding.c (Qcomposite): New variable.
2086 (Fmake_coding_system): Add new property `composite'.
2087 (struct decoding_stream): Add `combined_char_count',
2088 `combined_chars' and `combining_table' in UTF-2000.
2089 (COMPOSE_FLUSH_CHARS): New macro.
2090 (COMPOSE_ADD_CHAR): New macro.
2091 (reset_decoding_stream): Reset `str->combined_char_count' and
2092 `str->combining_table' in UTF-2000.
2093 (decode_coding_iso2022): Modify for character-decomposition.
2094 (syms_of_file_coding): Add new symbol `composite'.
2096 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2098 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2099 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2100 of `Vcharacter_composition_table' if `->decomposition' property
2102 (Qlatin_tcvn5712): New variable.
2103 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2104 (complex_vars_of_mule_charset): Add new coded-charset
2107 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2109 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2111 * file-coding.h (struct Lisp_Coding_System): Add
2112 `enable_composition'.
2113 (CODING_SYSTEM_COMPOSITE): New macro.
2114 (XCODING_SYSTEM_COMPOSITE): New macro.
2116 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2118 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2120 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2122 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2123 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2125 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2127 * mule-charset.c (Vcharset_mojikyo): New variable.
2128 (Fdefine_char): Don't use coded-charset which does not have
2129 non-builtin character range to allocate character-id.
2130 (Qmojikyo): New variable.
2131 (syms_of_mule_charset): Add new symbol `mojikyo'.
2132 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2134 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2135 (LEADING_BYTE_MOJIKYO): New macro.
2136 (MIN_CHAR_MOJIKYO): New macro.
2137 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2138 (MAX_CHAR_MOJIKYO): New macro.
2140 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2142 * mule-charset.c (remove_char_attribute): Fixed.
2144 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2146 * mule-charset.c (remove_char_attribute): New function.
2147 (Fremove_char_attribute): New function.
2148 (encode_builtin_char_1): Comment out builtin-support for
2149 greek-iso8859-7 and cyrillic-iso8859-5.
2150 (Fdecode_char): Check `code' is an integer.
2151 (syms_of_mule_charset): Add `remove-char-attribute'.
2152 (MIN_CHAR_GREEK): Deleted.
2153 (MAX_CHAR_GREEK): Likewise.
2154 (MIN_CHAR_CYRILLIC): Likewise.
2155 (MAX_CHAR_CYRILLIC): Likewise.
2156 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
2157 MAX_CHAR_GREEK for `greek-iso8859-7'.
2159 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
2160 (MAX_CHAR_GREEK): Likewise.
2161 (MIN_CHAR_CYRILLIC): Likewise.
2162 (MAX_CHAR_CYRILLIC): Likewise.
2164 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
2166 * mule-charset.c (Fdefine_char): Fix problem when new code-point
2167 format is used without `ucs' property.
2168 (Fdecode_char): Fix problem with GR representation.
2169 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
2170 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
2172 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2174 * mule-charset.c (make_builtin_char): New function.
2175 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
2176 (Fset_charset_mapping_table): Modify for new representation of
2178 (Fdecode_char): New function.
2179 (syms_of_mule_charset): Add new builtin function `decode-char' in
2182 * char-ucs.h (make_builtin_char): New prototype.
2183 (DECODE_CHAR): New inline function.
2184 (MAKE_CHAR): Use `DECODE_CHAR'.
2186 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
2188 * text-coding.c (parse_charset_conversion_specs): Use
2189 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
2191 (iso2022_designate): Likewise.
2193 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
2194 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
2196 * mule-charset.c (Vcharset_ucs): New variable.
2197 (print_charset): Change design; use `CHARSET_CHARS' and
2198 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
2199 (make_charset): Change signature to specify `chars' and
2200 `dimension' instead of `type'.
2201 (range_charset_code_point): Modify for 256^n-set.
2202 (encode_builtin_char_1): Encode as `ucs' in default.
2203 (Fmake_charset): Modify for `make_charset'.
2204 (Fmake_reverse_direction_charset): Likewise.
2205 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
2207 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
2210 * char-ucs.h (Vcharset_ucs): New variable.
2211 (LEADING_BYTE_UCS): New macro.
2212 (struct Lisp_Charset): Delete `type'; change type of `dimension'
2213 and `chars' to `unsigned short' from `unsigned int'.
2214 (CHARSET_TYPE): Deleted.
2215 (XCHARSET_TYPE): Deleted.
2217 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
2219 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
2221 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
2222 (ENCODE_CHAR): New macro.
2224 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2226 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2227 to 0.14 (Kawachi-Katakami).
2229 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2231 * text-coding.c (char_encode_shift_jis): Modify for
2232 `charset_code_point'.
2233 (char_encode_iso2022): Likewise.
2235 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
2236 (integer) instead of list of <Lisp_Object>s (integers) as the
2237 format of code-point of a coded-charset.
2238 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2239 (encode_builtin_char_1): New function; delete
2240 `split_builtin_char'.
2241 (charset_code_point): Return <int> instead of <Lisp_Object>.
2242 (Fsplit_char): Don't use `SPLIT_CHAR'.
2244 * char-ucs.h (encode_builtin_char_1): New prototype; delete
2245 prototype for `split_builtin_char'.
2246 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2247 (charset_code_point): Likewise.
2248 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
2249 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
2251 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
2253 * mule-charset.c (complex_vars_of_mule_charset): Don't define
2254 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
2256 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2258 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
2260 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
2261 (MAX_CHAR_OBS_94x94): Deleted.
2263 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2265 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
2267 * char-ucs.h (MAX_CHAR_BMP): New macro.
2269 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2271 * text-coding.c: Sync with r21-2-24.
2273 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2275 * file-coding.c: Modify for UTF-2000.
2277 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2279 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2282 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2284 * mule-charset.c (split_builtin_char): Delete builtin support for
2285 `katakana-jisx0201'.
2286 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
2287 BMP area in builtin representation.
2289 * char-ucs.h (MAKE_CHAR): Delete builtin support for
2290 `Vcharset_katakana_jisx0201'.
2292 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2294 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
2295 (Qisolated): New variable.
2296 (Qinitial): New variable.
2297 (Qmedial): New variable.
2298 (Qfinal): New variable.
2299 (Qvertical): New variable.
2300 (Qsmall): New variable.
2301 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
2302 `Qvertical' and `Qsmall'.
2303 (Qmojikyo_pj_[1 .. 21]): New variable.
2304 (syms_of_mule_charset): Add new symbols `isolated', `initial',
2305 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
2306 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
2309 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2311 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
2312 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
2313 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
2315 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2317 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
2318 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
2320 (Qjapanese_jisx0208_1990): New variable.
2321 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
2322 (complex_vars_of_mule_charset): Add new coded-charset
2323 `japanese-jisx0208-1990'.
2325 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
2326 (MIN_CHAR_JIS_X0208_1990): New macro.
2327 (MAX_CHAR_JIS_X0208_1990): New macro.
2329 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2331 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
2332 coded-charset is not found.
2334 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2336 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
2337 (Fdefine_char): Use `Fmake_char'.
2339 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2341 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
2342 (Vcharset_hiragana_jisx0208): Deleted.
2343 (Vcharset_katakana_jisx0208): Deleted.
2344 (Qideograph_daikanwa): New variable.
2345 (Qhiragana_jisx0208): Deleted.
2346 (Qkatakana_jisx0208): Deleted.
2347 (split_builtin_char): Split `ideograph-daikanwa'.
2348 (Fsplit_char): New implementation for UTF-2000.
2349 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
2350 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
2351 (complex_vars_of_mule_charset): Add new coded-charset
2352 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
2353 `katakana-jisx0208'.
2355 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
2356 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
2357 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
2358 (MIN_CHAR_DAIKANWA): New macro.
2359 (MAX_CHAR_DAIKANWA): New macro.
2361 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2363 * data.c (Fstring_to_number): Don't recognize floating point if
2366 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2368 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
2370 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2372 * mule-charset.c (Qsquare): New variable.
2373 (to_char_code): Add `Qsquare'.
2374 (syms_of_mule_charset): Add new symbol `square'.
2376 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2378 * mule-charset.c (Qcircle): New variable.
2379 (to_char_code): Add `Qcircle'.
2380 (syms_of_mule_charset): Add new symbol `circle'.
2382 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2384 * mule-charset.c (Qfont): New variable.
2385 (to_char_code): Add `Qfont'.
2386 (syms_of_mule_charset): Add new symbol `font'.
2388 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2390 * mule-charset.c (Qsub): New variable.
2391 (to_char_code): Add `Qsub'.
2392 (syms_of_mule_charset): Add new symbol `sub'.
2394 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2396 * mule-charset.c (Fput_char_attribute): Convert each element of
2397 VALUE to GL position if ATTRIBUTE is a GR-set,
2399 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2401 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
2402 coded-charset is a GR-set.
2404 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2406 * mule-charset.c (Fput_char_attribute): Check each element of
2407 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
2409 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2411 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
2413 (Qethiopic_ucs): New variable in UTF-2000.
2414 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
2415 (complex_vars_of_mule_charset): Add new coded-charset
2416 `ethiopic-ucs' in UTF-2000.
2418 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
2419 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2421 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2423 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
2425 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2427 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
2430 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2432 * mule-charset.c (Vcharacter_variant_table): New variable.
2433 (Q_ucs): New variable.
2434 (Fchar_variants): New function.
2435 (Fput_char_attribute): Register `->ucs' value to
2436 `Vcharacter_variant_table'.
2437 (syms_of_mule_charset): Add new function `char-variants' and new
2439 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
2441 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2443 * mule-charset.c (get_char_code_table): Allow negative character
2445 (put_char_code_table): Likewise.
2446 (Vcharacter_composition_table): New variable.
2447 (Q_decomposition): New variable.
2448 (Qwide): New variable.
2449 (Qnarrow): New variable.
2450 (Qcompat): New variable.
2451 (QnoBreak): New variable.
2452 (Qsuper): New variable.
2453 (Qfraction): New variable.
2454 (to_char_code): New function.
2455 (Fget_composite_char): New function.
2456 (Fput_char_attribute): Register `->decomposition' value to
2457 `Vcharacter_composition_table'.
2458 (syms_of_mule_charset): Add new function `get-composite-char', new
2459 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
2460 `super' and `fraction'.
2461 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
2463 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2465 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
2466 character; copy the return value.
2468 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2470 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
2472 * mule-charset.c (range_charset_code_point): Must use make_int.
2473 (split_builtin_char): New function.
2475 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2477 * mule-charset.c (char_byte_table): Change name from
2478 "char-code-table" to "char-byte-table".
2479 (mark_char_code_table): New function.
2480 (char_code_table_equal): New function.
2481 (char_code_table_hash): New function.
2482 (char_code_table_description): New constant.
2483 (char_code_table): New type.
2484 (make_char_code_table): New function.
2485 (copy_char_code_table): New function.
2486 (get_char_code_table): Modify for `char_code_table' type.
2487 (put_char_code_table): Likewise.
2488 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
2491 * char-ucs.h (char_code_table): New type.
2492 (XCHAR_CODE_TABLE): New macro.
2493 (XSETCHAR_CODE_TABLE): New macro.
2494 (CHAR_CODE_TABLE_P): New macro.
2495 (GC_CHAR_CODE_TABLE_P): New macro.
2496 (struct Lisp_Char_Code_Table): New structure.
2498 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2500 * mule-charset.c (Fmake_charset): Setup byte_offset for
2503 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
2505 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
2508 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2510 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
2513 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2515 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
2516 charset, it is regarded as a charset.
2517 (put_char_attribute): New function in UTF-2000.
2518 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
2519 charset, mapping-table of the charset is modified.
2520 (Fdefine_char): New function in UTF-2000.
2521 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
2522 `Fput_char_attribute'.
2523 (syms_of_mule_charset): Add new function `define-char' and new
2524 symbol `ucs' in UTF-2000.
2525 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
2527 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2529 * mule-charset.c (Fcharset_name): Define `byte_offset' in
2530 non-UTF-2000 configuration.
2532 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2534 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
2535 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
2537 * mule-charset.c (mark_charset): `cs->encoding_table' has been
2539 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
2540 (Fset_charset_mapping_table): Likewise.
2542 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
2543 (CHARSET_ENCODING_TABLE): Delete.
2544 (XCHARSET_ENCODING_TABLE): Delete.
2545 (charset_code_point): New interface.
2547 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2549 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
2550 instead of `charset_get_byte1' and `charset_get_byte2'.
2552 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
2553 (charset_get_byte2): Deleted.
2555 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2557 * char-ucs.h (SPLIT_CHAR): New inline function.
2558 (breakup_char_1): Use `SPLIT_CHAR'.
2560 * mule-charset.c (range_charset_code_point): New function.
2561 (charset_code_point): New function.
2563 * char-ucs.h (range_charset_code_point): New interface.
2564 (breakup_char_1): Use `range_charset_code_point'.
2566 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2568 * mule-charset.c (Fmake_charset): Delete unused local variable
2571 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
2572 (breakup_char_1): Find a charset and code-point in
2573 `Vcharacter_attribute_table'.
2575 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2577 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2580 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2582 * mule-charset.c (Vcharacter_attribute_table): New variable.
2583 (Fchar_attribute_alist): New function.
2584 (Fget_char_attribute): New function.
2585 (Fput_char_attribute): New function.
2586 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
2588 (syms_of_mule_charset): Add new function `char-attribute-alist',
2589 `get-char-attribute' and `put-char-attribute'.
2590 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
2592 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
2594 * mule-charset.c (Fmake_charset): Just use
2595 `get_unallocated_leading_byte'.
2597 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
2598 sets; don't use final-byte based number for private sets.
2600 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2602 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
2605 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2607 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2610 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2612 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
2613 of `CHAR_LEADING_BYTE' in UTF-2000.
2615 * insdel.c (find_charsets_in_bufbyte_string): Use
2616 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2617 (find_charsets_in_emchar_string): Likewise.
2619 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
2620 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2622 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
2623 (CHAR_CHARSET_ID): New macro.
2625 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2627 * chartab.c (get_char_table): Don't use type `Charset_ID' for
2628 charset-id - MIN_LEADING_BYTE.
2629 (put_char_table): Likewise.
2631 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2633 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
2634 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
2635 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
2636 (CHARSET_ID_OFFSET): New macro.
2637 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
2638 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
2639 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
2640 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2642 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2644 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
2645 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
2646 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
2647 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
2648 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
2650 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2652 * mule-charset.c (next_allocated_leading_byte): New variable in
2654 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
2655 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
2656 (get_unallocated_leading_byte): Simply use
2657 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
2658 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
2661 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
2662 (MAX_LEADING_BYTE_PRIVATE): New macro.
2663 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
2664 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
2666 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2668 * mule-charset.c (Fmake_charset): Allocate final-byte based
2669 charset-id for 94-set, 96-set and 94x94-set.
2671 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2673 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
2675 (Fmake_charset): Likewise.
2676 (complex_vars_of_mule_charset): Modify the font registry of
2677 `ucs-bmp' not to match `Ethiopic-Unicode'.
2679 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2681 * mule-charset.c (complex_vars_of_mule_charset): Add font
2682 registory of `ucs-bmp'.
2684 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2686 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
2687 coded-charsets in `default-coded-charset-priority-list' when
2688 breaking up a character.
2690 * mule-charset.c (Vcharset_latin_viscii): New variable.
2691 (Qlatin_viscii): New variable.
2692 (make_charset): Don't use `decoding_table'.
2693 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
2695 (Fset_charset_mapping_table): New implementation.
2696 (syms_of_mule_charset): Add new symbol `latin-viscii'.
2697 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
2698 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
2699 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
2700 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
2701 charset `latin_viscii'.
2703 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
2704 (CHARSET_TYPE_94X94): Change to 1 from 2.
2705 (CHARSET_TYPE_96): Change to 2 from 1.
2706 (CHARSET_TYPE_128): New macro.
2707 (CHARSET_TYPE_128X128): Change to 5 from 4.
2708 (CHARSET_TYPE_256): New macro.
2709 (CHARSET_TYPE_256X256): Change to 7 from 5.
2710 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
2712 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2714 * text-coding.c (char_encode_shift_jis): Refer
2715 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
2716 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
2718 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
2719 (char_byte_table_equal): New function in UTF-2000.
2720 (char_byte_table_hash): New function in UTF-2000.
2721 (char_byte_table_description): New constant in UTF-2000.
2722 (char_byte_table): New type in UTF-2000.
2723 (make_char_byte_table): New function in UTF-2000.
2724 (copy_char_byte_table): New function in UTF-2000.
2725 (make_char_code_table): New macro in UTF-2000.
2726 (get_char_code_table): New function in UTF-2000.
2727 (put_char_code_table): New function in UTF-2000.
2728 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2729 (charset_description): Add setting in UTF-2000.
2730 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
2731 `CHARSET_TO_BYTE1_TABLE(cs)'.
2732 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
2733 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
2734 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
2735 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
2736 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
2737 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
2738 `CHARSET_TO_BYTE2_TABLE(cs)'.
2740 * char-ucs.h (char_byte_table): New type.
2741 (XCHAR_BYTE_TABLE): New macro.
2742 (XSETCHAR_BYTE_TABLE): New macro.
2743 (CHAR_BYTE_TABLE_P): New macro.
2744 (GC_CHAR_BYTE_TABLE_P): New macro.
2745 (struct Lisp_Char_Byte_Table): New structure.
2746 (get_char_code_table): New interface.
2747 (Emchar_to_byte_table): Deleted.
2748 (get_byte_from_character_table): Deleted.
2749 (struct Lisp_Charset): Add `encoding_table'; delete
2750 `to_byte1_table' and `to_byte2_table'.
2751 (CHARSET_ENCODING_TABLE): New macro.
2752 (CHARSET_TO_BYTE1_TABLE): Deleted.
2753 (CHARSET_TO_BYTE2_TABLE): Deleted.
2754 (XCHARSET_ENCODING_TABLE): New macro.
2755 (XCHARSET_TO_BYTE1_TABLE): Deleted.
2756 (XCHARSET_TO_BYTE2_TABLE): Deleted.
2758 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2760 * mule-charset.c (syms_of_mule_charset): Delete charset alias
2761 `vietnamese-viscii-*'.
2763 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2765 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
2766 (Qvietnamese_viscii_upper): New variable.
2767 (Fdefine_charset_alias): New function.
2768 (syms_of_mule_charset): Add new function `define-charset-alias'.
2769 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
2770 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
2773 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
2775 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
2776 (MAX_CHAR_OBS_94x94): New macro.
2777 (breakup_char_1): Support obsolete XEmacs-UCS private code space
2780 * mule-charset.c (put_byte_from_character_table): Change unit size
2782 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
2784 (Fmake_reverse_direction_charset): Modify dummy argument of
2785 `make_charset' for non-UTF-2000 environment.
2787 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
2789 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
2791 * mule-charset.c (destroy_byte_from_character_table): New macro.
2792 (latin_jisx0201_to_ucs): Deleted.
2793 (latin_iso8859_2_to_ucs): Deleted.
2794 (latin_iso8859_3_to_ucs): Deleted.
2795 (latin_iso8859_4_to_ucs): Deleted.
2796 (latin_iso8859_9_to_ucs): Deleted.
2797 (latin_viscii_lower_to_ucs): Deleted.
2798 (latin_viscii_upper_to_ucs): Deleted.
2799 (mark_charset): Mark `cs->decoding_table'.
2800 (Fcharset_mapping_table): Fix DOC-string.
2801 (Fset_charset_mapping_table): New function.
2802 (syms_of_mule_charset): Add nwe function
2803 `set-charset-mapping-table'.
2804 (complex_vars_of_mule_charset): Don't setup and use
2807 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
2809 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
2812 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
2814 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
2815 (Vcharset_katakana_jisx0208): New variable.
2816 (Qhiragana_jisx0208): New variable.
2817 (Qkatakana_jisx0208): New variable.
2818 (make_charset): Add new argument `byte_offset'.
2819 (charset_get_byte1): Modify for new coded-charset definition; use
2820 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2821 `XCHARSET_BYTE_OFFSET'.
2822 (Fmake_charset): Modify for `make_charset'.
2823 (Fmake_reverse_direction_charset): Likewise.
2824 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
2825 `katakana-jisx0208'.
2826 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
2827 `.' in font registry of charset `katakana-jisx0201',
2828 `latin-jisx0201', `vietnamese-viscii-lower' and
2829 `vietnamese-viscii-upper'; modify DOC-string of charset
2830 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
2831 registry of charset `japanese-jisx0208' not to use font for JIS
2832 X0208:1990; add new charset `hiragana-jisx0208' and
2833 `katakana-jisx0208'.
2835 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
2836 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
2837 (struct Lisp_Charset): Add `byte_offset'.
2838 (CHARSET_BYTE_OFFSET): New macro.
2839 (XCHARSET_UCS_MIN): New macro.
2840 (XCHARSET_UCS_MAX): New macro.
2841 (XCHARSET_CODE_OFFSET): New macro.
2842 (XCHARSET_BYTE_OFFSET): New macro.
2843 (MIN_CHAR_HIRAGANA): New macro.
2844 (MAX_CHAR_HIRAGANA): New macro.
2845 (MIN_CHAR_KATAKANA): New macro.
2846 (MAX_CHAR_KATAKANA): New macro.
2847 (MAKE_CHAR): Modify for new coded-charset definition; use
2848 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2849 `XCHARSET_BYTE_OFFSET'.
2851 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2853 * mule-charset.c (CHAR96): Deleted.
2854 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
2856 (latin_iso8859_2_to_ucs): Likewise.
2857 (latin_iso8859_3_to_ucs): Likewise.
2858 (latin_iso8859_4_to_ucs): Likewise.
2859 (latin_iso8859_9_to_ucs): Likewise.
2860 (latin_viscii_lower_to_ucs): Likewise.
2861 (latin_viscii_upper_to_ucs): Likewise.
2862 (latin_tcvn5712_to_ucs): Commented out.
2863 (make_charset): Change type of argument `decoding_table' from
2864 <Emchar*> to <Lisp_Object> [vector of characters].
2865 (Fmake_charset): Modify for `make_charset'.
2866 (Fmake_reverse_direction_charset): Likewise.
2867 (Fcharset_mapping_table): New function in UTF-2000.
2868 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
2870 (complex_vars_of_mule_charset): Modify for type change of
2871 `*_to_ucs'; modify for `make_charset'.
2873 * char-ucs.h (struct Lisp_Charset): Change type of
2874 `decoding_table' from <Emchar*> to <Lisp_Object>.
2875 (MAKE_CHAR): Modify for new specification of `decoding_table'.
2877 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2879 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
2880 error with non-UTF-2000-Mule.
2882 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
2884 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
2886 (Vcharset_chinese_cns11643_4): Likewise.
2887 (Vcharset_chinese_cns11643_5): Likewise.
2888 (Vcharset_chinese_cns11643_6): Likewise.
2889 (Vcharset_chinese_cns11643_7): Likewise.
2890 (Qchinese_cns11643_3): Likewise.
2891 (Qchinese_cns11643_4): Likewise.
2892 (Qchinese_cns11643_5): Likewise.
2893 (Qchinese_cns11643_6): Likewise.
2894 (Qchinese_cns11643_7): Likewise.
2895 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
2896 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
2897 and `chinese-cns11643-7' to lisp/mule/chinese.el.
2898 (complex_vars_of_mule_charset): Likewise.
2900 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2902 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
2904 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
2905 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
2907 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
2909 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
2911 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
2912 (breakup_char_1): Likewise.
2914 * text-coding.c (char_encode_iso2022): Keep designated charsets if
2915 one of them includes the specified character.
2917 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2919 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
2921 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2923 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
2925 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2927 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
2928 definition for non-UTF-2000 Mule.
2929 (latin_iso8859_3_to_ucs): Likewise.
2930 (latin_iso8859_4_to_ucs): Likewise.
2931 (latin_iso8859_9_to_ucs): Likewise.
2932 (latin_jisx0201_to_ucs): Likewise.
2933 (MIN_CHAR_THAI): Likewise.
2934 (MAX_CHAR_THAI): Likewise.
2935 (MIN_CHAR_GREEK): Likewise.
2936 (MAX_CHAR_GREEK): Likewise.
2937 (MIN_CHAR_HEBREW): Likewise.
2938 (MAX_CHAR_HEBREW): Likewise.
2939 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
2940 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
2941 (MIN_CHAR_CYRILLIC): Likewise.
2942 (MAX_CHAR_CYRILLIC): Likewise.
2944 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2946 * char-ucs.h (breakup_char_1): Use
2947 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
2948 thai-tis620 and katakana-jisx0201 area.
2950 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2952 * char-ucs.h (breakup_char_1): Use
2953 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
2956 * text-coding.c (reset_encoding_stream): Fixed.
2957 (char_encode_ucs4): Delete `& 255'.
2959 * char-ucs.h (breakup_char_1): Use
2960 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
2962 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2964 * file-coding.c (Fmake_coding_system): Don't set up
2965 `codesys->fixed.size'.
2966 (encode_coding_no_conversion): Don't refer
2967 `str->codesys->fixed.size'.
2969 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2971 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
2972 (latin_a_char_to_byte1): Deleted.
2973 (latin_a_char_to_byte2): Deleted.
2975 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2977 * mule-charset.c (make_charset): Add new argument `ucs_min',
2978 `ucs_max' and `code_offset'.
2979 (charset_get_byte1): New implementation [delete specific charset
2980 depended implementations].
2981 (Fmake_charset): Modify for `make_charset'.
2982 (Fmake_reverse_direction_charset): Likewise.
2983 (complex_vars_of_mule_charset): Likewise.
2985 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
2987 (CHARSET_UCS_MIN): New macro.
2988 (CHARSET_UCS_MAX): New macro.
2989 (CHARSET_CODE_OFFSET): New macro.
2990 (MAKE_CHAR): Delete charset depended definitions [except
2993 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2995 * char-ucs.h (breakup_char_1): Use
2996 `Vdefault_coded_charset_priority_list' for C0-Controls,
2997 Basic-Latin, C1-Controls and Latin-1-Supplement area.
2999 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3001 * char-ucs.h (charset_get_byte1): New function.
3002 (XCHARSET_GET_BYTE1): Deleted.
3003 (charset_get_byte2): New function.
3004 (XCHARSET_GET_BYTE2): Deleted.
3005 (Vdefault_coded_charset_priority_list): New external variable.
3006 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3007 `Vdefault_preferred_coded_charset_list'.
3009 * mule-charset.c (charset_get_byte1): New function.
3010 (charset_get_byte2): New function.
3011 (Vdefault_coded_charset_priority_list): New variable.
3012 (vars_of_mule_charset): Add new variable
3013 `default-coded-charset-priority-list'.
3015 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3017 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3018 (XCHARSET_GET_BYTE2): New inline function.
3019 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3020 `XCHARSET_GET_BYTE2'.
3022 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3024 * mule-charset.c (make_charset): Initialize
3025 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3026 NULL if table is not defined.
3028 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3030 * text-coding.c (char_encode_shift_jis): Use
3031 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3032 `ucs_to_latin_jisx0201'.
3034 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3035 (ucs_to_latin_iso8859_2): Deleted.
3036 (ucs_to_latin_iso8859_3): Deleted.
3037 (ucs_to_latin_iso8859_4): Deleted.
3038 (ucs_to_latin_iso8859_9): Deleted.
3039 (ucs_to_latin_viscii_lower): Deleted.
3040 (ucs_to_latin_viscii_upper): Deleted.
3041 (ucs_to_latin_tcvn5712): Deleted.
3042 (make_charset): Add new argument `decoding_table'; set up
3043 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3044 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3045 `decoding_table' is defined in UTF-2000.
3046 (Fmake_charset): Modify for `make_charset'.
3047 (Fmake_reverse_direction_charset): Likewise.
3048 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3049 and `GENERATE_96_SET'.
3051 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3052 (ucs_to_latin_jisx0201): Deleted.
3053 (latin_iso8859_2_to_ucs): Deleted.
3054 (ucs_to_latin_iso8859_2): Deleted.
3055 (latin_iso8859_3_to_ucs): Deleted.
3056 (ucs_to_latin_iso8859_3): Deleted.
3057 (latin_iso8859_4_to_ucs): Deleted.
3058 (ucs_to_latin_iso8859_4): Deleted.
3059 (latin_iso8859_9_to_ucs): Deleted.
3060 (ucs_to_latin_iso8859_9): Deleted.
3061 (latin_viscii_lower_to_ucs): Deleted.
3062 (ucs_to_latin_viscii_lower): Deleted.
3063 (latin_viscii_upper_to_ucs): Deleted.
3064 (ucs_to_latin_viscii_upper): Deleted.
3065 (struct Lisp_Charset): Renamed `encoding_table' to
3066 `to_byte1_table'; add `to_byte2_table'.
3067 (CHARSET_DECODING_TABLE): New macro.
3068 (CHARSET_TO_BYTE1_TABLE): New macro.
3069 (CHARSET_TO_BYTE2_TABLE): New macro.
3070 (XCHARSET_DECODING_TABLE): New macro.
3071 (XCHARSET_TO_BYTE1_TABLE): New macro.
3072 (XCHARSET_TO_BYTE2_TABLE): New macro.
3073 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3075 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3076 don't use `ucs_to_*' tables.
3078 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3080 * text-coding.c (Fmake_coding_system): Don't set up
3081 `codesys->fixed.size'.
3082 (encode_coding_no_conversion): Use `if' instead of `switch'.
3084 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3086 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3088 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3089 (Fmake_charset): Modify for `make_charset'.
3090 (Fmake_reverse_direction_charset): Likewise.
3091 (complex_vars_of_mule_charset): Likewise.
3093 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3095 * text-coding.c (char_encode_shift_jis): Use table
3096 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3098 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3100 * text-coding.c (text_encode_generic): Use `if' instead of
3102 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3105 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3107 * text-coding.c (encode_coding_sjis): Deleted.
3108 (char_encode_shift_jis): New function.
3109 (char_finish_shift_jis): New function.
3110 (reset_encoding_stream): Set up `encode_char' and `finish' for
3111 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3112 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3113 (char_encode_utf8): Treat `eol_type'.
3115 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3117 * file-coding.c (decode_coding_iso2022): Use
3118 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3120 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3122 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3125 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3127 * char-lb.h (CHAR_COLUMNS): New macro.
3129 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3131 * text-coding.c (char_encode_ucs4): New function.
3132 (char_finish_ucs4): New function.
3133 (encode_coding_ucs4): Deleted.
3134 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3135 (text_encode_generic): Delete local variable `charset' and `half'.
3136 (ucs_to_mule_table): Deleted.
3137 (mule_to_ucs_table): Deleted.
3138 (Fset_ucs_char): Deleted.
3139 (ucs_to_char): Deleted.
3140 (Fucs_char): Deleted.
3141 (Fset_char_ucs): Deleted.
3142 (Fchar_ucs): Deleted.
3143 (decode_ucs4): Deleted.
3144 (mule_char_to_ucs4): Deleted.
3145 (encode_ucs4): Deleted.
3146 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3147 (decode_coding_utf8): Likewise.
3148 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3149 (char_encode_iso2022): Fixed.
3150 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3151 `Fset_char_ucs' and `Fchar_ucs'.
3152 (complex_vars_of_file_coding): Don't initialize
3153 `ucs_to_mule_table'.
3155 * objects-tty.c (tty_initialize_font_instance): Don't use
3158 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
3161 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
3162 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3164 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
3165 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3166 (emchar_string_displayed_columns): Likewise.
3168 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
3169 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3170 (string_column_at_point): Likewise.
3171 (Fmove_to_column): Likewise.
3173 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
3174 `encoding_table' and `decoding_table'.
3175 (CHARSET_REP_BYTES): Deleted.
3176 (XCHARSET_REP_BYTES): Deleted.
3177 (XCHARSET_COLUMNS): Deleted.
3178 (CHAR_COLUMNS): New macro.
3179 (lookup_composite_char): Deleted unconditionally.
3180 (composite_char_string): Likewise.
3182 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3184 * char-ucs.h (Emchar_to_byte_table): New type.
3185 (get_byte_from_character_table): New function interface.
3186 (Vcharset_latin_jisx0201): New variable.
3187 (latin_jisx0201_to_ucs): New variable.
3188 (ucs_to_latin_jisx0201): New variable.
3189 (Vcharset_latin_iso8859_2): New variable.
3190 (latin_iso8859_2_to_ucs): New variable.
3191 (ucs_to_latin_iso8859_2): New variable.
3192 (Vcharset_latin_iso8859_3): New variable.
3193 (latin_iso8859_3_to_ucs): New variable.
3194 (ucs_to_latin_iso8859_3): New variable.
3195 (Vcharset_latin_iso8859_4): New variable.
3196 (latin_iso8859_4_to_ucs): New variable.
3197 (ucs_to_latin_iso8859_4): New variable.
3198 (Vcharset_latin_iso8859_9): New variable.
3199 (latin_iso8859_9_to_ucs): New variable.
3200 (ucs_to_latin_iso8859_9): New variable.
3201 (Vcharset_latin_viscii_lower): New variable.
3202 (latin_viscii_lower_to_ucs): New variable.
3203 (ucs_to_latin_viscii_lower): New variable.
3204 (Vcharset_latin_viscii_upper): New variable.
3205 (latin_viscii_upper_to_ucs): New variable.
3206 (ucs_to_latin_viscii_upper): New variable.
3207 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
3208 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
3209 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
3210 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
3211 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
3212 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
3213 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
3214 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
3215 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
3216 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
3218 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
3219 (Vcharset_latin_viscii_upper): New variable.
3220 (make_byte_from_character_table): New function.
3221 (put_byte_from_character_table): New function.
3222 (get_byte_from_character_table): New function.
3223 (CHAR96): New macro.
3224 (ucs_to_latin_jisx0201): New variable.
3225 (latin_jisx0201_to_ucs): New variable.
3226 (ucs_to_latin_iso8859_2): New variable.
3227 (latin_iso8859_2_to_ucs): New variable.
3228 (ucs_to_latin_iso8859_3): New variable.
3229 (latin_iso8859_3_to_ucs): New variable.
3230 (ucs_to_latin_iso8859_4): New variable.
3231 (latin_iso8859_4_to_ucs): New variable.
3232 (ucs_to_latin_iso8859_9): New variable.
3233 (latin_iso8859_9_to_ucs): New variable.
3234 (ucs_to_latin_viscii_lower): New variable.
3235 (latin_viscii_lower_to_ucs): New variable.
3236 (ucs_to_latin_viscii_upper): New variable.
3237 (latin_viscii_upper_to_ucs): New variable.
3238 (ucs_to_latin_tcvn5712): New variable.
3239 (latin_tcvn5712_to_ucs): New variable.
3240 (Qlatin_viscii_lower): New variable.
3241 (Qlatin_viscii_upper): New variable.
3242 (syms_of_mule_charset): Set up new symbol
3243 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
3244 (complex_vars_of_mule_charset): Set up new charset
3245 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
3246 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
3247 `ucs_to_<CHARSET>' tables.
3249 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3251 * text-coding.c: New file.
3253 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3255 * mule-charset.c (Fmake_char): Fix problem of 256-set.
3257 * char-ucs.h (Vcharset_ucs_bmp): New variable.
3258 (MAKE_CHAR): Modify for `ucs-bmp'.
3259 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
3260 non-MULE characters of BMP.
3262 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
3264 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3267 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
3270 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
3271 - Include character.h for `CHAR_ASCII_P'.
3273 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
3275 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
3276 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
3278 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
3279 (BYTE_C0_P): Likewise.
3280 (BYTE_C1_P): Likewise.
3281 (Lstream_get_emchar_1): Likewise.
3282 (Lstream_fput_emchar): Likewise.
3283 (Lstream_funget_emchar): Likewise.
3284 (copy_internal_to_external): Likewise.
3285 (copy_external_to_internal): Likewise.
3287 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
3288 (BYTE_C0_P): Likewise.
3289 (BYTE_C1_P): Likewise.
3290 (Lstream_get_emchar_1): Likewise.
3291 (Lstream_fput_emchar): Likewise.
3292 (Lstream_funget_emchar): Likewise.
3293 (copy_internal_to_external): Likewise.
3294 (copy_external_to_internal): Likewise.
3296 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
3297 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3299 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
3300 (BYTE_ASCII_P): Moved to mb-1byte.h.
3302 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
3304 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
3306 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
3307 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
3308 (VALID_CHARPTR_P): Moved to mb-*byte.h.
3309 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3310 (VALIDATE_CHARPTR_FORWARD): Likewise.
3311 (simple_charptr_emchar): Moved to mb-multibyte.h.
3312 (simple_set_charptr_emchar): Likewise.
3313 (simple_charptr_copy_char): Likewise.
3314 (non_ascii_charptr_emchar): Likewise.
3315 (non_ascii_set_charptr_emchar): Likewise.
3316 (non_ascii_charptr_copy_char): Likewise.
3317 (charptr_emchar): Moved to mb-*byte.h.
3318 (set_charptr_emchar): Likewise.
3319 (charptr_copy_char): Likewise.
3321 * mb-1byte.h, mb-multibyte.h: New files.
3323 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3325 * mb-utf-8.h (MULTIBYTE): New macro.
3326 (MAX_EMCHAR_LEN): Moved from buffer.h.
3327 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
3329 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
3331 * mb-lb.h, multibyte.h: New files.
3333 * char-1byte.h (Charset_ID): Moved from buffer.h.
3334 (MIN_LEADING_BYTE): Likewise.
3335 (LEADING_BYTE_ASCII): Likewise.
3336 (NUM_LEADING_BYTES): Likewise.
3337 (CHARSETP): Likewise.
3338 (CHARSET_BY_LEADING_BYTE): Likewise.
3339 (XCHARSET_LEADING_BYTE): Likewise.
3340 (XCHARSET_GRAPHIC): Likewise.
3341 (XCHARSET_COLUMNS): Likewise.
3342 (XCHARSET_DIMENSION): Likewise.
3343 (CHAR_CHARSET): Likewise.
3344 (CHAR_LEADING_BYTE): Likewise.
3345 (BREAKUP_CHAR): Likewise.
3346 (Vcharset_ascii): Likewise.
3348 * buffer.h: Include multibyte.h unconditionally.
3349 (VALID_CHARPTR_P): Moved to multibyte.h.
3350 (ASSERT_VALID_CHARPTR): Likewise.
3351 (REAL_INC_CHARPTR): Likewise.
3352 (REAL_INC_CHARBYTIND): Likewise.
3353 (REAL_DEC_CHARPTR): Likewise.
3354 (INC_CHARPTR): Likewise.
3355 (INC_CHARBYTIND): Likewise.
3356 (DEC_CHARPTR): Likewise.
3357 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3358 (VALIDATE_CHARPTR_FORWARD): Likewise.
3359 (charptr_n_addr): Likewise.
3360 (MAX_EMCHAR_LEN): Moved to mb-*.h.
3361 (simple_charptr_emchar): Moved to multibyte.h.
3362 (simple_set_charptr_emchar): Likewise.
3363 (simple_charptr_copy_char): Likewise.
3364 (non_ascii_charptr_emchar): Likewise.
3365 (non_ascii_set_charptr_emchar): Likewise.
3366 (non_ascii_charptr_copy_char): Likewise.
3367 (charptr_emchar): Likewise.
3368 (set_charptr_emchar): Likewise.
3369 (charptr_copy_char): Likewise.
3370 (charptr_emchar_n): Likewise.
3371 (Charset_ID): Moved to char-1byte.h.
3372 (Vcharset_ascii): Likewise.
3373 (CHAR_CHARSET): Likewise.
3374 (CHAR_LEADING_BYTE): Likewise.
3375 (LEADING_BYTE_ASCII): Likewise.
3376 (NUM_LEADING_BYTES): Likewise.
3377 (MIN_LEADING_BYTE): Likewise.
3378 (CHARSETP): Likewise.
3379 (CHARSET_BY_LEADING_BYTE): Likewise.
3380 (XCHARSET_LEADING_BYTE): Likewise.
3381 (XCHARSET_GRAPHIC): Likewise.
3382 (XCHARSET_COLUMNS): Likewise.
3383 (XCHARSET_DIMENSION): Likewise.
3384 (BREAKUP_CHAR): Likewise.
3386 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3388 * character.h: Add document about interface for characters.
3390 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
3391 (MAKE_CHAR): Delete comment about
3392 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
3393 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
3394 (BREAKUP_CHAR): Modify name of arguments.
3395 (CHAR_CHARSET): Modify name of argument.
3397 * buffer.h: Delete document about Emchar accessors.
3399 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3401 * character.h (CHAR_INTP): Moved from buffer.h
3402 (CHAR_OR_CHAR_INTP): Likewise.
3403 (XCHAR_OR_CHAR_INT): Likewise.
3404 (CHECK_CHAR_COERCE_INT): Likewise.
3406 * buffer.h (CHAR_INTP): Moved to character.h
3407 (CHAR_OR_CHAR_INTP): Likewise.
3408 (XCHAR_OR_CHAR_INT): Likewise.
3409 (CHECK_CHAR_COERCE_INT): Likewise.
3411 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3414 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
3415 - Include char-1byte.h, char-lb.h or char-ucs.h.
3417 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
3419 * buffer.h: Include character unconditionally.
3420 (valid_char_p): Moved to char-*.h.
3421 (non_ascii_valid_char_p): Moved to char-lb.h.
3423 * char-1byte.h, char-lb.h, char-ucs.h: New files.
3425 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3427 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
3428 in UTF-2000 because it is not ported yet and not to use
3429 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
3430 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
3431 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
3433 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
3434 (CHAR_ASCII_P): Moved from character.h.
3436 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
3437 (CHAR_ASCII_P): Likewise.
3438 (CHAR_FIELD1_MASK): Deleted.
3439 (CHAR_FIELD2_MASK): Deleted.
3440 (CHAR_FIELD3_MASK): Deleted.
3441 (MAX_CHAR_BASIC_LATIN): New macro.
3442 (CHAR_FIELD1): Deleted.
3443 (CHAR_FIELD2_INTERNAL): Deleted.
3444 (CHAR_FIELD3_INTERNAL): Deleted.
3445 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
3446 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
3447 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
3448 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
3449 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
3450 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
3451 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
3452 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
3453 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
3454 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
3455 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
3456 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
3457 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
3458 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
3459 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
3460 (MIN_CHAR_COMPOSITION): Deleted.
3461 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
3462 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
3464 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
3466 * buffer.h: Include mb-utf-8.h in UTF-2000.
3468 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
3470 * mb-utf-8.h: New file.
3472 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
3474 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
3477 * mule-charset.h, buffer.h (Charset_ID): New type.
3479 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3481 * mule-canna.c (c2mu): Use `MAKE_CHAR',
3482 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
3483 instead of `MULE_CHAR_PRIVATE_OFFSET',
3484 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
3485 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
3486 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
3488 * character.h (Vcharset_japanese_jisx0212): New variable
3491 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3493 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
3494 (charset_by_attributes): Delete array about direction.
3495 (latin_a_char_to_charset): New variable in UTF-2000.
3496 (latin_a_char_to_byte1): New variable in UTF-2000.
3497 (latin_a_char_to_byte2): New variable in UTF-2000.
3498 (Qucs_bmp): New variable.
3499 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
3501 (next_allocated_2_byte_leading_byte): Likewise.
3502 (non_ascii_set_charptr_emchar): Likewise.
3503 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
3504 `CHARSET_TYPE_256X256' in UTF-2000; modify for
3505 `charset_by_attributes'.
3506 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
3507 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
3508 and `CHARSET_BY_LEADING_BYTE'.
3509 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
3510 `utf-2000-version' to `vars_of_mule_charset'.
3511 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
3512 define `leading-code-private-11' in UTF-2000; move setting of
3513 `utf-2000-version' from `syms_of_mule_charset'.
3514 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
3517 * character.h (Charset_ID): New type.
3518 (LEADING_BYTE_UCS_BMP): New macro.
3519 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
3520 (CHARSET_ID_OFFSET_94): New macro.
3521 (MIN_CHARSET_ID_PRIVATE_94): New macro.
3522 (MAX_CHARSET_ID_PRIVATE_94): New macro.
3523 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
3525 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
3526 (LEADING_BYTE_LATIN_JISX0201): Likewise.
3527 (CHARSET_ID_OFFSET_96): New macro.
3528 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
3529 CHARSET_ID_OFFSET_96 and final-byte.
3530 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
3531 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
3532 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
3533 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
3534 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
3535 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
3536 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
3537 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
3538 (LEADING_BYTE_THAI_TIS620): Likewise.
3539 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
3540 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
3541 (CHARSET_ID_OFFSET_94x94): New macro.
3542 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
3543 CHARSET_ID_OFFSET_94x94 and final-byte.
3544 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
3545 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
3546 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
3547 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
3548 (LEADING_BYTE_CHINESE_GB2312): Likewise.
3549 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
3550 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
3551 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
3552 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
3553 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
3554 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
3555 (CHARSET_TYPE_128X128): New macro.
3556 (CHARSET_TYPE_256X256): New macro.
3557 (XCHARSET_PRIVATE_P): Delete unconditionally.
3558 (charset_by_attributes): Delete array about direction.
3559 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
3560 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
3561 (MIN_CHAR_94): New macro.
3562 (MAX_CHAR_94): New macro.
3563 (MIN_CHAR_96): New macro.
3564 (MAX_CHAR_96): New macro.
3565 (MIN_CHAR_94x94): New macro.
3566 (MAX_CHAR_94x94): New macro.
3567 (MIN_CHAR_96x96): New macro.
3568 (MAX_CHAR_96x96): New macro.
3569 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
3570 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3571 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
3573 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
3574 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
3575 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
3576 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
3577 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
3578 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
3579 `XCHARSET_LEADING_BYTE' to make code-point.
3580 (latin_a_char_to_charset): New variable.
3581 (latin_a_char_to_byte1): New variable.
3582 (latin_a_char_to_byte2): New variable.
3583 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
3584 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
3585 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
3587 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
3588 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
3589 (find_charsets_in_emchar_string): Likewise.
3590 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
3592 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
3594 (decode_coding_iso2022): Likewise.
3596 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
3599 * redisplay.c (redisplay_text_width_emchar_string): Use
3600 `Charset_ID' instead of `unsigned char'.
3601 (redisplay_frame_text_width_string): Likewise.
3603 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
3606 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
3607 instead of `unsigned char'.
3608 (face_cachel_charset_font_metric_info): Likewise.
3610 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
3611 (get_non_ascii_char_table_value): Likewise.
3612 (get_char_table): Likewise.
3613 (put_char_table): Likewise.
3614 (map_over_other_charset): Likewise.
3615 (map_char_table): Likewise.
3617 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
3618 instead of `unsigned char'.
3620 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
3622 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
3623 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
3625 * mule-charset.c (leading_code_private_11): Don't define in
3628 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
3629 in UTF-2000 because it is not ported yet and not to use
3630 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
3632 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
3634 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
3636 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3638 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
3641 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
3642 of unsigned char to store leading-byte.
3644 * chartab.c (get_non_ascii_char_table_value): Don't use
3645 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
3647 * file-coding.c (encode_coding_big5): Delete bogus implementation
3650 * character.h (LEADING_BYTE_*): Delete definition for
3652 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
3653 (LEADING_BYTE_PREFIX_P): Deleted.
3654 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
3655 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
3656 (BUFBYTE_LEADING_BYTE_P): Deleted.
3657 (CHARSET_PRIVATE_P): Deleted unconditionally.
3658 (rep_bytes_by_first_byte): Deleted unconditionally.
3659 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
3660 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
3661 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3662 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
3663 (CHAR_FIELD2): Deleted.
3664 (CHAR_FIELD3): Deleted.
3665 (MAKE_CHAR): Delete definition for non-UTF-2000.
3666 (BREAKUP_CHAR_1_UNSAFE): Deleted.
3667 (breakup_char_1): New implementation.
3668 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
3669 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
3671 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3673 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
3676 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3678 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
3679 (CHARSET_PRIVATE_P): Likewise.
3680 (XCHARSET_PRIVATE_P): Likewise.
3681 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
3683 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
3685 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
3687 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3689 * character.h (LEADING_BYTE_*): Changed in UTF2000.
3690 (NUM_LEADING_BYTES): Changed from 128 to 256.
3691 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3692 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
3694 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3696 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
3698 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
3699 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
3700 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
3701 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
3702 (Qchinese_cns11643_3): New variable in UTF2000.
3703 (Qchinese_cns11643_4): New variable in UTF2000.
3704 (Qchinese_cns11643_5): New variable in UTF2000.
3705 (Qchinese_cns11643_6): New variable in UTF2000.
3706 (Qchinese_cns11643_7): New variable in UTF2000.
3707 (syms_of_mule_charset): Define `chinese-cns11643-3',
3708 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3709 and `chinese-cns11643-7' in UTF2000.
3710 (vars_of_mule_charset): Initialize
3711 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
3713 (complex_vars_of_mule_charset): Setup charset
3714 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
3715 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
3717 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3719 * mule-charset.c: Move setting for `leading-code-private-11' from
3720 `syms_of_mule_charset' to `vars_of_mule_charset'.
3722 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3724 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
3725 and `NUM_LEADING_BYTES' in assert.
3727 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3729 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
3731 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
3732 `NUM_LEADING_BYTES' instead of 128.
3734 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3736 * mule-charset.h (charset_by_leading_byte): Use
3737 `NUM_LEADING_BYTES' instead of 128.
3738 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
3740 * mule-charset.c (charset_by_leading_byte): Use
3741 `NUM_LEADING_BYTES' instead of 128.
3742 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
3744 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
3747 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3749 * mule-charset.c (syms_of_mule_charset): Update to
3752 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
3754 * file-coding.c (encode_coding_sjis): New implementation for
3755 UTF2000. (decode_coding_sjis): Ditto.
3757 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3759 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
3760 Don't define in UTF2000.
3762 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
3765 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3766 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
3769 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3771 * config.h.in (CHAR_IS_UCS4): New macro.
3773 * mule-charset.c (rep_bytes_by_first_byte): Modify for
3774 conventional MULE representation.
3775 (syms_of_mule_charset): Update to 0.3 (Imamiya).
3777 * mule-charset.h: Reverted to original.
3779 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3780 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
3781 "mule-charset.h" if CHAR_IS_UCS4 is defined.
3783 * character.h: New file.
3785 * file-coding.c (Fmake_coding_system): Set 1 to
3786 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
3788 (encode_coding_no_conversion): New implementation for UTF2000.
3790 * file-coding.h (struct Lisp_Coding_System): Add new member
3793 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
3795 * file-coding.c (decode_coding_iso2022): Code-point arguments of
3796 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
3797 (encode_coding_iso2022): New implementation for UTF2000.
3799 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3801 * mule-canna.c (c2mu): New implementation for UTF2000.
3804 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3806 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
3808 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3810 * file-coding.c (reset_encoding_stream): Set 0 to
3811 `str->iso2022.current_char_boundary' in UTF2000.
3812 (encode_utf8): Don't define in UTF2000.
3813 (encode_coding_utf8): New implementation for UTF-8 representation
3815 (complex_vars_of_file_coding): Define coding-system `utf-8'.
3817 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3819 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
3821 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
3823 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3825 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
3827 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
3828 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
3829 as UTF-8 in UTF2000.
3830 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
3831 (non_ascii_valid_char_p): Don't define in UTF2000.
3832 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
3833 (Lstream_get_emchar_1): Likewise.
3834 (utf-2000-version): New variable in UTF2000.
3836 * lread.c (read_escape): Add new reader `u'.
3838 * insdel.c (three_to_one_table): Don't define in UTF2000.
3839 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
3840 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3842 (bytind_to_bufpos_func): Likewise.
3843 (buffer_mule_signal_inserted_region): Likewise.
3844 (vars_of_insdel): Don't initialize `three_to_one_table'.
3845 (init_buffer_text): Use `buf->text->mule_size' instead of
3846 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3849 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
3850 UTF-8 representation in UTF2000.
3851 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
3852 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
3853 (decode_coding_iso2022): Don't define local variable `lb' in
3854 UTF2000; don't use LEADING_BYTE in UTF2000; use
3855 `DECODE_ADD_UCS_CHAR' in UTF2000.
3856 (convert_to_external_format): Decode as UTF-8 in UTF2000.
3858 * config.h.in (UTF2000): New macro.
3860 * buffer.h (struct buffer_text): Add new member `mule_size' and
3861 don't add `mule_shifter' and `mule_three_p' in UTF2000.
3862 (valid_char_p): Return always 1 in UTF2000.
3863 (MAX_EMCHAR_LEN): 6 in UTF2000.
3864 (three_to_one_table): Don't define in UTF2000.
3865 (real_bufpos_to_bytind): Modify for UTF-8 representation in
3867 (real_bytind_to_bufpos): Likewise.
3869 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
3871 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3873 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
3874 representation change.
3875 (Vutf_2000_version): New variable.
3876 (leading_code_private_11): New variable.
3877 (syms_of_mule_charset): Add new variables `utf-2000-version' and
3878 `leading-code-private-11'.
3880 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
3881 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
3882 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
3883 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
3884 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
3885 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
3886 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
3887 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
3888 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
3889 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
3890 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
3891 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
3892 (MIN_CHAR_GREEK): New macro.
3893 (MAX_CHAR_GREEK): New macro.
3894 (MIN_CHAR_CYRILLIC): New macro.
3895 (MAX_CHAR_CYRILLIC): New macro.
3896 (MIN_CHAR_HEBREW): New macro.
3897 (MAX_CHAR_HEBREW): New macro.
3898 (MIN_CHAR_THAI): New macro.
3899 (MAX_CHAR_THAI): New macro.
3900 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
3901 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
3902 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
3903 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
3904 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
3905 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
3906 (CHAR_FIELD2): New inline function.
3907 (CHAR_FIELD3): New inline function.
3908 (MULE_CHAR_PRIVATE_OFFSET): New macro.
3909 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
3910 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
3911 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
3912 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
3913 (MIN_CHAR_COMPOSITION): Likewise.
3914 (CHAR_LEADING_BYTE): Modified for character representation change.
3915 (MAKE_CHAR): Likewise.
3917 * lisp.h (Vcharset_latin_iso8859_1): New variable.
3918 (Vcharset_greek_iso8859_7): Likewise.
3919 (Vcharset_cyrillic_iso8859_5): Likewise.
3920 (Vcharset_hebrew_iso8859_8): Likewise.
3921 (Vcharset_thai_tis620): Likewise.
3922 (Vcharset_katakana_jisx0201): Likewise.
3924 2001-02-08 Martin Buchholz <martin@xemacs.org>
3926 * XEmacs 21.2.44 "Thalia" is released.
3928 2001-02-06 Martin Buchholz <martin@xemacs.org>
3930 Fixes crashes in kill-emacs on some systems.
3931 * process-unix.c (unix_kill_child_process):
3932 It's OK for kill() to fail with ESRCH.
3934 2001-02-07 Martin Buchholz <martin@xemacs.org>
3936 Contortions to make .gdbinit tricks work on most systems.
3937 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
3938 * alloc.c (dbg_valmask): Make non-const.
3939 * alloc.c (dbg_typemask): Make non-const.
3940 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
3941 * alloc.c (dbg_valbits): Make non-const.
3942 * alloc.c (dbg_gctypebits): Make non-const.
3943 * .gdbinit (decode_object): Make it work with AIX cc.
3945 2001-02-06 Martin Buchholz <martin@xemacs.org>
3947 * elhash.c (make_general_lisp_hash_table):
3948 Use simpler and more efficient calloc to clear entries.
3950 2001-02-07 Martin Buchholz <martin@xemacs.org>
3952 * window.c (window_scroll): Work around an AIX C compiler bug.
3953 Fixes 'scroll-up' does nothing problem with xlC.
3955 2001-02-05 Martin Buchholz <martin@xemacs.org>
3957 * .gdbinit: Remove obsolete comment.
3959 2001-01-31 Mike Alexander <mta@arbortext.com>
3961 * select.c (Fown_selection_internal): Set owned_p for device
3964 2001-02-01 Martin Buchholz <martin@xemacs.org>
3967 "not" cannot be used as a macro name as it is an operator in C++
3968 * config.h.in: Stop #defining `not'.
3969 * chartab.c (check_category_char): not ==> not_p
3970 * chartab.h: Likewise.
3971 * regex.c (re_match_2_internal): Likewise.
3973 2001-02-02 Martin Buchholz <martin@xemacs.org>
3975 * lisp-disunion.h: Fix up comments.
3977 2001-01-31 Martin Buchholz <martin@xemacs.org>
3979 * keymap.c (define_key_check_and_coerce_keysym):
3981 Support mouse-6 and mouse-7 bindings in the obvious way.
3983 2001-02-01 Martin Buchholz <martin@xemacs.org>
3985 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
3987 2001-01-30 Martin Buchholz <martin@xemacs.org>
3989 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
3990 Previous patch missed DEFVAR_INT_MAGIC.
3991 Make sure future DEFVAR_foo use correct types.
3992 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
3993 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
3994 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
3995 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
3996 * (DEFVAR_INT): Likewise.
3997 * redisplay.c (vertical_clip): Should be of type Fixnum.
3998 * redisplay.c (horizontal_clip): Likewise.
3999 * lisp.h (dump_add_opaque_int): New.
4000 (dump_add_opaque_fixnum): New.
4002 2001-01-29 Andy Piper <andy@xemacs.org>
4004 * glyphs-widget.c (check_valid_int_or_function): allow symbols
4005 since they can be eval'ed
4007 2001-01-29 Martin Buchholz <martin@xemacs.org>
4009 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
4010 Oops, XEmacs redefines `class'. Use `typename' instead.
4012 2001-01-28 Martin Buchholz <martin@xemacs.org>
4014 * dumper.c: Fix C++ compile errors.
4016 2001-01-29 Martin Buchholz <martin@xemacs.org>
4018 * tparam.c: Use correct prototypes.
4020 2001-01-28 Martin Buchholz <martin@xemacs.org>
4022 * sysproc.h: #include util.h for NetBSD's openpty.
4024 2001-01-27 Martin Buchholz <martin@xemacs.org>
4026 More 64-bit correctness.
4027 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
4028 Use a typedef `fixnum' for the type used for DEFVAR_INT.
4030 This finally finishes the 64-bit SGI port.
4031 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
4032 * symbols.c: Fix up comments and type casts.
4033 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
4034 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
4035 * symeval.h (Fixnum): New type.
4036 * symeval.h (symbol_value_type): Fix up comment.
4052 * mule-canna.c: A million DEFVAR_INTs here...
4053 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
4066 s/int/Fixnum/g in DEFVAR_INT declarations.
4068 2001-01-26 Martin Buchholz <martin@xemacs.org>
4070 Port pdump to SGI alignment-sensitive environment.
4071 Lisp Object sizeof methods now return aligned sizes. Rely on that.
4072 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
4074 Define and use aligned reading and writing macros.
4075 Use buffered stdio instead of posix i/o for faster dumping.
4076 Eliminate kludgy 256 byte space for header.
4077 Read and write from dump file using structs for alignment safety.
4078 * dumper.c (pdump_align_stream): New.
4079 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
4080 * dumper.c (PDUMP_READ_ALIGNED): New.
4081 * dumper.c (PDUMP_WRITE_ALIGNED): New.
4082 * dumper.c (pdump_static_Lisp_Object): New struct.
4083 * dumper.c (pdump_static_pointer): New struct.
4084 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
4085 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
4086 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
4087 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
4089 * dumper.c (pdump_backtrace):
4090 * dumper.c (pdump_get_indirect_count):
4091 * dumper.c (pdump_register_object):
4092 * dumper.c (pdump_register_struct):
4093 * dumper.c (pdump_reloc_one):
4094 * dumper.c (pdump_scan_by_alignment):
4095 * dumper.c (pdump_dump_from_root_struct_ptrs):
4096 * dumper.c (pdump_dump_opaques):
4097 * dumper.c (pdump_dump_rtables):
4098 * dumper.c (pdump_dump_from_root_objects):
4100 * dumper.c (pdump_load_finish):
4101 Use aligned reading and writing.
4103 * dumper.c (pdump_free): Make static.
4104 * dumper.c (pdump_hFile): Likewise.
4105 * dumper.c (pdump_hMap): Likewise.
4107 2001-01-26 Martin Buchholz <martin@xemacs.org>
4109 * XEmacs 21.2.43 "Terspichore" is released.
4111 2001-01-25 Martin Buchholz <martin@xemacs.org>
4113 Type fiddling for window_config.saved_windows_count
4114 * window.c (struct window_config):
4115 Make saved_windows_count member unsigned.
4116 * window.c (sizeof_window_config_for_n_windows):
4117 Make parameter unsigned.
4118 * window.c (mark_window_config):
4119 * window.c (window_config_equal):
4120 * window.c (free_window_configuration):
4121 * window.c (Fset_window_configuration):
4122 * window.c (count_windows):
4123 * window.c (Fcurrent_window_configuration):
4124 * window.c (reinit_vars_of_window):
4125 Update all callers and users.
4127 2001-01-25 Martin Buchholz <martin@xemacs.org>
4129 Alignment correctness for flexible arrays.
4130 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
4131 Make alignment-correct. Add interesting comments.
4132 * alloc.c (size_vector):
4133 * alloc.c (make_vector_internal):
4134 * alloc.c (make_bit_vector_internal):
4135 * alloc.c (sweep_bit_vectors_1):
4136 * fns.c (size_bit_vector):
4137 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
4138 * window.c (sizeof_window_config_for_n_windows):
4139 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
4141 2001-01-24 Martin Buchholz <martin@xemacs.org>
4143 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
4145 2001-01-23 Andy Piper <andy@xemacs.org>
4147 * select.c (Fown_selection_internal): pass owned_p
4149 * select-msw.c (mswindows_own_selection): New Signature.
4151 * console.h (struct console_methods): add owned_p to
4154 * select-x.c (x_own_selection): pass owned_p
4155 (hack_motif_clipboard_selection): use owned_p
4156 (vars_of_select_x): new variable -
4157 x_selection_strict_motif_ownership.
4159 2001-01-23 Martin Buchholz <martin@xemacs.org>
4161 * specifier.h (specifier_data_offset): Remove pointless parens.
4162 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
4164 2001-01-24 Martin Buchholz <martin@xemacs.org>
4166 Make Lisp_Object sizeof methods be alignment-correct.
4167 pdump must restore objects to the same alignment as the C compiler
4168 assumes. It really matters on SGIs.
4169 * lstream.c (aligned_sizeof_lstream): New.
4170 (sizeof_lstream): Use aligned_sizeof_lstream.
4171 (Lstream_new): Likewise.
4172 * opaque.c (aligned_sizeof_opaque): New.
4173 (sizeof_opaque): Use aligned_sizeof_opaque.
4174 (make_opaque): Likewise.
4175 * specifier.c (aligned_sizeof_specifier): New.
4176 (sizeof_specifier): Use aligned_sizeof_specifier.
4177 (make_specifier_internal): Likewise.
4179 2001-01-23 Martin Buchholz <martin@xemacs.org>
4181 * lstream.h (struct lstream): Use max_align_t for trailing data.
4182 * specifier.h (struct Lisp_Specifier): Likewise.
4184 2001-01-22 Martin Buchholz <martin@xemacs.org>
4186 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
4187 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
4188 (CCL_SUSPEND): Likewise.
4189 (CCL_INVALID_CMD): Likewise.
4190 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
4191 (ccl_driver): Likewise.
4192 (CCL_WRITE_CHAR): Macro hygiene.
4193 (CCL_WRITE_STRING): Macro hygiene.
4195 2001-01-22 Martin Buchholz <martin@xemacs.org>
4197 Port "portable" dumper to SunOS 4 and HP-UX.
4198 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
4199 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
4200 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
4202 2001-01-22 Martin Buchholz <martin@xemacs.org>
4204 * lisp.h (ALIGNOF): A better definition for C++.
4206 2001-01-20 Martin Buchholz <martin@xemacs.org>
4209 Fix printf warnings: int format, long int arg.
4210 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
4211 (PUSH_FAILURE_POINT): Use correct printf formats.
4212 (POP_FAILURE_POINT): Use correct printf formats.
4213 Use do {...} while (0)
4215 2001-01-20 Martin Buchholz <martin@xemacs.org>
4217 * XEmacs 21.2.42 "Poseidon" is released.
4219 2001-01-20 Martin Buchholz <martin@xemacs.org>
4221 * console-x.h: typo fix du jour. Remove #if 0'ed code.
4223 2001-01-19 Martin Buchholz <martin@xemacs.org>
4225 De-kludgify FIXED_TYPE free list frobbing.
4226 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
4227 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
4228 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
4229 * alloc.c (Lisp_Free): New pseudo lisp object definition.
4230 * alloc.c (LRECORD_FREE_P): New.
4231 * alloc.c (MARK_LRECORD_AS_FREE): New.
4232 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
4233 * alloc.c (STRUCT_FREE_P): Deleted.
4234 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
4235 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
4236 * alloc.c (STRING_CHARS_FREE_P): New.
4237 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
4238 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
4239 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
4240 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
4241 * alloc.c (resize_string): Use new definitions.
4242 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
4243 * alloc.c (verify_string_chars_integrity): Use new definitions.
4244 * alloc.c (compact_string_chars): Use new definitions.
4245 * alloc.c: Update monster comments.
4246 * lrecord.h (lrecord_type): Add some new lrecord types for
4249 2001-01-18 Martin Buchholz <martin@xemacs.org>
4251 Improve alignment hackery.
4252 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
4253 (max_align_t): Moved from opaque.h - general purpose.
4254 (ALIGN_PTR): Use size_t, not long.
4255 * opaque.h (max_align_t): Move to lisp.h.
4257 2001-01-18 Norbert Koch <nk@LF.net>
4259 * gui.h: Fix and add prototypes to fix build problems.
4261 2001-01-18 Martin Buchholz <martin@xemacs.org>
4263 temacs is going away, so `dump-temacs' is now a bad name.
4264 * .dbxrc (dump-temacs): Rename to `dmp'.
4265 * .gdbinit (dump-temacs): Rename to `dmp'.
4267 2001-01-17 Andy Piper <andy@xemacs.org>
4269 * glyphs.c (print_image_instance): comment to make martin happy.
4271 * glyphs-x.c (x_redisplay_widget): update faces after a frame
4274 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
4276 (mswindows_tab_control_redisplay): warning suppression.
4278 * glyphs-widget.c (widget_update): re-write to cope with updated
4280 (widget_instantiate): use new gui_item functions.
4281 (tab_control_update): deleted.
4282 (progress_gauge_update): deleted.
4283 (image_instantiator_progress_guage): take out update reference.
4284 (image_instantiator_tree_view): ditto.
4285 (image_instantiator_tab_control): ditto.
4287 * gui.c (widget_gui_parse_item_keywords): new function. Do things
4289 (gui_item_add_keyval_pair): re-write to cope with descriptors and
4290 return whether anything was changed.
4291 (update_gui_item_keywords): as it sounds.
4293 * gui.h: declare widget_gui_parse_item_keywords.
4295 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
4296 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
4298 2001-01-17 Martin Buchholz <martin@xemacs.org>
4300 * XEmacs 21.2.41 "Polyhymnia" is released.
4302 2001-01-16 Didier Verna <didier@xemacs.org>
4304 * glyphs.c (image_instantiate): don't use fallbacks when
4305 instantiating a face's background pixmap by inheritance.
4307 2001-01-14 Mike Sperber <mike@xemacs.org>
4309 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
4310 Conditionalize accordingly.
4312 2001-01-16 Martin Buchholz <martin@xemacs.org>
4314 * dumper.c (pdump_file_get): Fix a compiler warning.
4316 2001-01-15 Martin Buchholz <martin@xemacs.org>
4318 Make Purify happy when pdumping.
4319 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
4320 iniitalizing all bits of new lisp object memory.
4321 * symbols.c (Fmake_local_variable): Likewise.
4322 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
4323 * symbols.c (Fdefvaralias): Likewise.
4324 * mule-charset.c (vars_of_mule_charset): Likewise.
4326 2001-01-15 Martin Buchholz <martin@xemacs.org>
4327 Add the `-nd' flag when running pre-dump operations under the debugger.
4328 * .dbxrc (run-temacs): Add `-nd'.
4329 * .dbxrc (update-elc): Likewise.
4330 * .dbxrc (dump-temacs): Likewise.
4331 * .gdbinit (run-temacs): Likewise.
4332 * .gdbinit (check-temacs): Likewise.
4333 * .gdbinit (update-elc): Likewise.
4334 * .gdbinit (dump-temacs): Likewise.
4336 2001-01-14 Martin Buchholz <martin@xemacs.org>
4338 Allow building 64-bit executables on AIX with GNU malloc, e.g.
4339 export OBJECT_MODE=64
4340 configure --pdump --use-union-type=no
4341 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
4342 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
4344 * miscplay.c (sndcnv8U_2mono):
4345 Avoid two uses of `++' in the same expression.
4346 Suppresses a GCC warning.
4348 2001-01-13 Martin Buchholz <martin@xemacs.org>
4350 Make sure future compilers don't miscompile alloc.c.
4352 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
4353 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
4355 2001-01-12 Martin Buchholz <martin@xemacs.org>
4357 * dumper.c: A little post-pdump-rename comment fixup.
4359 2001-01-09 Jerry James <james@eecs.ku.edu>
4361 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
4363 2001-01-13 Martin Buchholz <martin@xemacs.org>
4365 * *.[ch]: Globally rename symbols using the following `pdump-rename'
4369 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
4372 replace_symbol pdump_wire_lists pdump_weak_object_chains
4373 replace_symbol pdump_wire_list dump_add_weak_object_chain
4375 replace_symbol pdump_wires pdump_root_objects
4376 replace_symbol pdump_wire dump_add_root_object
4378 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
4379 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
4381 replace_symbol dumpstructinfos pdump_root_struct_ptrs
4382 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
4383 replace_symbol dumpstructinfo pdump_root_struct_ptr
4384 replace_symbol dumpstruct dump_add_root_struct_ptr
4386 replace_symbol dumpopaque dump_add_opaque
4387 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
4388 replace_symbol dumpopaqueinfos pdump_opaques
4389 replace_symbol dumpopaqueinfo pdump_opaque
4391 replace_symbol nb_structdump nb_root_struct_ptrs
4392 replace_symbol nb_opaquedump nb_opaques
4394 replace_symbol align_table pdump_align_table
4395 replace_symbol dump_header pdump_header
4397 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
4398 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
4401 2001-01-12 Martin Buchholz <martin@xemacs.org>
4403 * s/aix4.h: Keep the C for AIX compiler from overaggressively
4404 optimizing bytecount_to_charcount().
4406 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4409 (HAVE_DLFCN_H): Removed.
4410 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
4412 2001-01-06 Martin Buchholz <martin@xemacs.org>
4414 Portable dumper maintainability improvements.
4415 * alloc.c (staticpro):
4416 * alloc.c (staticpro_nodump):
4417 * alloc.c (garbage_collect_1):
4418 * alloc.c (reinit_alloc_once_early):
4419 * alloc.c (init_alloc_once_early):
4420 * alloc.c: Move dumper functions to alloc.c.
4421 * dumper.c (pdump_backtrace):
4422 * dumper.c (pdump_dump_structs):
4423 * dumper.c (pdump_dump_opaques):
4424 * dumper.c (pdump_dump_rtables):
4425 * dumper.c (pdump_dump_wired):
4427 * dumper.c (pdump_load_check):
4428 * dumper.c (pdump_load_finish):
4429 * dumper.c (pdump_file_unmap):
4430 * dumper.c (pdump_file_get):
4431 * dumper.c (pdump_resource_free):
4432 * dumper.c (pdump_resource_get):
4433 * dumper.c (pdump_file_free):
4434 * dumper.c (pdump_file_try):
4435 * dumper.c (pdump_load):
4436 Remove fixed size limits on staticpro(), staticpro_nodump(),
4437 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
4438 Remove custom code for dumping lrecord_implementations_table - use
4440 Remove (most of the) custom code for dumping staticpros - dump it
4441 like any other dynarr.
4443 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
4444 * dumper.c: Moved functions from alloc.c.
4445 * alloc.c (dumpstruct): Moved to dumper.c.
4446 * alloc.c (dumpopaque): Likewise.
4447 * alloc.c (pdump_wire): Likewise.
4448 * alloc.c (pdump_wire_list): Likewise.
4450 * lisp.h (Dynarr_sizeof): New.
4451 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
4452 * lisp.h (Dynarr_end): New. Very slightly C++oid.
4453 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
4455 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
4456 * lisp.h (dumpopaque): ditto.
4457 * lisp.h (pdump_wire): ditto.
4458 * lisp.h (pdump_wire_list): ditto.
4460 2001-01-09 Martin Buchholz <martin@xemacs.org>
4462 * make-src-depend (PrintPatternDeps):
4463 Use `sort' to make output independent of perl version.
4465 2001-01-08 Martin Buchholz <martin@xemacs.org>
4468 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
4469 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
4471 2001-01-03 Didier Verna <didier@xemacs.org>
4473 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
4474 that `focus_frame' is alive before thinking of calling
4475 `redisplay_redraw_cursor' on it.
4477 2001-01-08 Martin Buchholz <martin@xemacs.org>
4479 * XEmacs 21.2.40 is released.
4481 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4483 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
4485 2001-01-06 Martin Buchholz <martin@xemacs.org>
4487 * alloc.c (dbg_valmask): Make const.
4488 * alloc.c (dbg_typemask): Make const.
4489 * alloc.c (dbg_USE_UNION_TYPE): Make const.
4490 * alloc.c (dbg_valbits): Make const.
4491 * alloc.c (dbg_gctypebits): Make const.
4493 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
4495 * redisplay-x.c (x_bevel_area):
4496 redisplay.h (struct rune):
4497 Typo fixes in comments.
4499 2001-01-05 Andy Piper <andy@xemacs.org>
4501 * glyphs-x.c (x_redisplay_widget): use size changed for offset
4504 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
4506 2001-01-05 Martin Buchholz <martin@xemacs.org>
4508 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
4510 * mule-ccl.c (stack_idx_of_map_multiple):
4511 Non const global data must not be initialized!
4512 Found by MIYASHITA Hisashi.
4514 2001-01-02 Andy Piper <andy@xemacs.org>
4516 * frame.c (change_frame_size): make sure frame size is always
4519 * glyphs.c (image_instance_layout): minor code reuse.
4521 * window.c (Fcurrent_window_configuration): revert previous
4524 2001-01-02 Martin Buchholz <martin@xemacs.org>
4527 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
4529 2000-12-31 Andy Piper <andy@xemacs.org>
4531 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
4532 when widget gets unmapped.
4534 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
4535 function. Make sure widgets losing focus don't just drop it.
4536 (handle_focus_event_1): record the widget with focus.
4538 2000-12-31 Andy Piper <andy@xemacs.org>
4540 * window.c (allocate_window): use
4541 make_image_instance_cache_hash_table.
4542 (make_dummy_parent): ditto.
4543 (Fset_window_configuration): ditto.
4545 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
4547 * glyphs.c (process_image_string_instantiator): use
4549 (get_image_instantiator_governing_domain): ditto.
4550 (normalize_image_instantiator): ditto.
4551 (instantiate_image_instantiator): ditto.
4552 (make_image_instance_1): ditto.
4553 (image_instantiate): ditto. Key on glyph *and* instantiator type.
4554 (instantiator_eq_equal): new function for use with instance hash
4556 (instantiator_eq_hash): ditto.
4557 (make_image_instance_cache_hash_table): create a suitable hash
4558 table for storing image instances.
4560 * elhash.h (hash_table_weakness): new internal weakness type
4561 HASH_TABLE_KEY_CAR_VALUE_WEAK.
4562 declare new functions.
4564 * elhash.c (finish_marking_weak_hash_tables): introduce yet
4565 another weakness type for glyphs.
4566 (make_standard_lisp_hash_table): new function split out from
4567 make_general_lisp_hash_table.
4568 (make_lisp_hash_table): call make_standard_lisp_hash_table.
4569 (hash_table_instantiate): ditto.
4570 (Fmake_hash_table): ditto.
4572 2000-12-31 Martin Buchholz <martin@xemacs.org>
4574 * XEmacs 21.2.39 is released.
4576 2000-12-29 Andy Piper <andy@xemacs.org>
4578 * menubar.c (menubar_visible_p_changed): signal the frame changed.
4580 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
4581 the frame has changed so that we pick up geometry changes such as
4584 2000-12-28 Andy Piper <andy@xemacs.org>
4586 * lastfile.c (my_ebss): make a char array so we can pad the
4587 bss. Fixes cygwin unexec.
4589 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
4591 2000-12-26 Andy Piper <andy@xemacs.org>
4593 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
4594 comments and try and be more precise about a non-/SIGIO world.
4595 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
4598 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
4599 we don't normalize to zero width or height.
4601 2000-12-24 Andy Piper <andy@xemacs.org>
4603 * Makefile.in.in (ldflags): add -mwindows when appropriate.
4605 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
4607 * s/sco5.h: SCO 5 has pty support.
4609 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
4611 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
4612 input-method-xlib.c contains whole contents of input-method-xfs.c,
4613 so we can use input-method-xlib.c's code for USE_XFONTSET
4615 * input-method-xfs.c: removed.
4617 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
4619 * file-coding.h (enum coding_category_type): reorder enumerators to
4620 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
4621 (now one greater than largest real coding_category_type enumerator).
4622 * file-coding.c (coding_category_symbol, coding_category_by_priority,
4623 coding_category_system, fcd_descriptihon_1, decode_coding_category,
4624 Fcoding_category_list, Fset_coding_priority_list,
4625 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
4626 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
4628 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4630 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
4631 * redisplay-output.c (redisplay_output_window): Clear top of window
4632 when face is changed.
4633 * redisplay-x.c (x_redraw_exposed_window): Call
4634 redisplay_clear_top_of_window.
4635 * redisplay.h: Publish redisplay_clear_top_of_window.
4637 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4639 * buffer.c (Fkill_buffer): Map over all devices.
4640 * window.c (window_loop): Remove UNSHOW_BUFFER code.
4641 (list_windows): New function.
4642 (list_all_windows): Ditto.
4643 (Freplace_buffer_in_windows): Use them.
4645 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4647 * database.c (berkdb_subtype): Recognize new subtype `queue'.
4648 (Fopen_database): Use `db_create' instead of `db_open'.
4649 (syms_of_database): Initialize Qqueue.
4651 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
4653 * buffer.c (common_init_complex_vars_of_buffer): Initialize
4654 buffer_local_face_property.
4655 * buffer.h (struct buffer): New member buffer_local_face_property.
4656 * window.c (Fset_window_buffer): Mark window's face as changed
4657 when buffer has buffer local face.
4658 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
4659 * objects.c (color_after_change): Set buffer_local_face_property
4660 when locale of face specifier is buffer.
4661 * objects.c (font_after_change): Ditto.
4662 * objects.c (face_boolean_after_change): Ditto.
4663 * glyphs.c (image_after_change): Ditto.
4665 2000-12-09 Dan Holmsand <dan@eyebee.com>
4667 * nt.c (mswindows_fstat): Report file permissions, volume serial
4668 number, etc. Code adapted from FSF Emacs 20.7.
4670 2000-12-09 Dan Holmsand <dan@eyebee.com>
4672 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
4673 of stat when we don't have symbolic links, to make sure
4674 mswindows_stat is called on mswindows.
4676 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
4678 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
4680 2000-12-12 Martin Buchholz <martin@xemacs.org>
4682 * doprnt.c (emacs_doprnt_1): More printing fixes.
4683 Make printing of numbers compatible with libc and FSF Emacs.
4684 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
4685 Use the system printf to do most of the hard work of formatting,
4686 instead of doprnt_1().
4687 Calculate memory to allocate for format string.
4688 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
4689 (doprnt_1): Cleaner code and documentation.
4691 2000-12-01 Jerry James <james@eecs.ukans.edu>
4693 * Makefile.in.in: Use the loop variable to install headers.
4695 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4697 * window.c (Fsplit_window): Don't invalidate face cache.
4699 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4701 * minibuf.c (Fall_completions): Undo the previous change
4702 which removed checking elements start with space.
4704 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4706 * mule-canna.c: Didier suppression.
4708 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4710 * mule-canna.c: rename static unsigned char buf[] to key_buffer
4711 (warning suppression). Add English comment translations.
4713 2000-12-05 Martin Buchholz <martin@xemacs.org>
4715 * unexelfsgi.c (unexec): Better test for mmap failure.
4717 2000-12-05 Martin Buchholz <martin@xemacs.org>
4719 * XEmacs 21.2.38 is released.
4721 2000-12-05 Martin Buchholz <martin@xemacs.org>
4723 * redisplay.c (bar-cursor): Make a user variable.
4725 * symsinit.h: Add init_postgresql_from_environment.
4727 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4729 * regex.c: Convert to clean C.
4731 2000-12-05 Dan Holmsand <dan@eyebee.com>
4734 Don't #include sysfile.h. Revert to duplicating PATH_MAX
4736 (sys_readlink): renamed to system_readlink to avoid conflict with
4737 the other sys_readlink.
4739 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
4741 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
4743 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
4745 * postgresql.c (init_postgresql_from_environment): new function.
4746 (vars_of_postgresql): Move code initializing Lisp variables out and
4747 into init_postgresql_from_environment.
4748 emacs.c (main_1): Call init_postgresql_from_environment if and only
4749 if running a dumped XEmacs.
4751 2000-08-31 Dan Holmsand <dan@eyebee.com>
4753 * buffer.c: Make find-file-compare-truenames default to true on
4756 * realpath.c (win32_abs_start):
4758 (win32_readlink): New functions.
4759 (xrealpath): Return really real filenames on windows.
4761 * fileio.c (Ffile_truename): Make file-truename work on windows.
4763 2000-11-29 Didier Verna <didier@xemacs.org>
4765 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
4766 * faces.c (update_face_cachel_data): use it.
4767 * faces.c (add_face_cachel): use it. Complete background pixmap
4768 frobbing in face cache if `update_face_cachel_data' has not done so.
4770 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
4772 * search.c (string_match_1): Don't set last_thing_searched
4775 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
4777 * buffer.c: Include casetab.h
4778 (common_init_complex_vars_of_buffer): Use new case-table object.
4779 * buffer.h: Include casetab.h
4780 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
4781 (DOWNCASE_TABLE_OF): Ditto.
4782 * bufslots.h: Remove char-tables and add case-table.
4783 * casetab.c: Include casetab.h
4784 (CASE_TABLE_P): Removed.
4785 (mark_case_table): New function.
4786 (allocate_case_table): New function.
4787 (Fcase_table_p): Use new case-table.
4788 (case_table_char): New function.
4789 (Fget_case_table): Ditto.
4790 (Fput_case_table): Ditto.
4791 (Fput_case_table_pair): Ditto.
4792 (Fcopy_case_table): Ditto.
4793 (Fcurrent_case_table): Return case-table.
4794 (Fstandard_case_table): Return case-table.
4795 (Fset_case_table): Fix doc-string.
4796 (set_case_table): Use case-table
4797 (syms_of_casetab): DEFSUBR new functions.
4798 (complex_vars_of_casetab): Set up standard case-table.
4799 * casetab.h: New file.
4800 * editfns.c: Include casetab.h
4801 (Fcompare_buffer_substrings): Use case-table.
4802 * inline.c: Include casetab.h
4803 * lisp.h: Remove bogus extern.
4804 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
4805 * search.c: Include casetab.h
4806 (TRANSLATE_ASCII): Removed.
4807 (TRANSLATE): Unconditionally translate character.
4808 (looking_at_1): Use case-table.
4809 (string_match_1): Ditto.
4810 (fast_string_match): Ditto.
4811 (search_command): Ditto.
4812 (search_buffer): Separate boyer_moore. Check whether
4813 boyer_moore is possible.
4814 (simple_search): New function.
4815 (boyer_moore): Separated from search_buffer. Translate char.
4817 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
4819 * regex.c (RE_TR_ASCII): Removed.
4820 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
4821 (PATFETCH): Call PATFETCH_RAW.
4822 (PATFETCH_RAW): Fetch Emchar.
4823 (PATUNFETCH): Decrement charptr.
4824 (GET_BUFFER_SPACE): Rename b to buf_end.
4826 (BUF_PUSH_2): Ditto.
4827 (BUF_PUSH_3): Ditto.
4828 (EXTEND_BUFFER): Ditto.
4829 (SET_LIST_BIT): Ditto.
4830 (regex_compile): Ditto. Translate non ASCII char.
4831 (compile_range): Ditto.
4832 (re_search_2): Ditto.
4833 (re_match_2_internal): Compare Emchar.
4834 (bcmp_translate): Ditto.
4836 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
4838 * lisp.h (basic char/int typedefs): comment improvement.
4840 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
4842 * emacs.c (main_1): unconditional pdump unstomping; don't save and
4843 unstomp inhibit_site_lisp. Improve comments.
4845 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
4847 * mule-charset.c (Fcharset_property): improve type checking, comments.
4849 2000-11-28 Andy Piper <andy@xemacs.org>
4851 * redisplay-output.c (redisplay_output_subwindow): make sure we do
4852 clipped display for windows in the gutter also.
4853 (redisplay_display_boxes_in_window_p): change semantics of return
4854 codes to be more intuitive.
4856 * gutter.h: declare display_boxes_in_gutter_p.
4858 * gutter.c (display_boxes_in_gutter_p): new function for
4861 2000-11-22 Andy Piper <andy@xemacs.org>
4863 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
4866 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
4868 * callproc.c (Fold_call_process_internal):
4869 * gpm.c (Freceive_gpm_event):
4870 (tty_get_foreign_selection): Might be just warning supression.
4871 * fileio.c (Fwrite_region_internal):
4872 (Fset_visited_file_modtime):
4873 * keymap.c (event_matches_key_specifier_p):
4874 Initialize GCPROed variable.
4876 * menubar-x.c (command_builder_find_menu_accelerator):
4877 Initialize before use.
4879 2000-11-23 Andy Piper <andy@xemacs.org>
4881 * unexcw.c (unexec): make the resulting executable executable.
4883 2000-11-21 Martin Buchholz <martin@xemacs.org>
4885 * doc.c (get_doc_string):
4886 Use size_t, not int, for result of XSTRING_LENGTH.
4888 * cmds.c (Fdelete_char):
4889 * cmds.c (Fpoint_at_eol):
4890 * cmds.c (Fself_insert_command):
4891 Use EMACS_INT, not int, for result of XINT.
4892 Someday, someone will want to insert more than 2**31 identical characters.
4894 * cmds.c (Fdelete_char):
4895 * cmds.c (Fdelete_backward_char):
4896 * syntax.c (Fforward_word):
4897 * syntax.c (Fforward_comment):
4898 Make COUNT argument optional, for consistency with forward-char et al.
4900 2000-11-22 Martin Buchholz <martin@xemacs.org>
4903 * print.c (long_to_string):
4904 Return a useful value: the pointer at end of data written.
4907 Use `static const char * const' for constant strings.
4908 (union printf_arg): Delete `i', `ui' members.
4911 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
4912 Do all printf-ing via the `l' specifier.
4913 Use EMACS_INT instead of int.
4916 2000-11-20 Didier Verna <didier@xemacs.org>
4918 * faces.c (update_face_cachel_data): don't frob the background
4919 pixmap when the window is being created. The face is needed but
4922 2000-11-20 Andy Piper <andy@xemacs.org>
4924 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
4925 messing with a debug environment.
4927 2000-11-20 Martin Buchholz <martin@xemacs.org>
4929 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
4931 2000-11-20 Martin Buchholz <martin@xemacs.org>
4933 * casetab.c (Fcase_table_p): Fix compile error and crash.
4935 2000-11-18 Philip Aston <philipa@mail.com>
4937 * s/cygwin32.h: Cygwin has SVR4-like pty support.
4939 2000-11-18 Martin Buchholz <martin@xemacs.org>
4941 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
4942 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
4944 2000-11-17 Martin Buchholz <martin@xemacs.org>
4946 * config.h.in: Define HAVE_ELF_H if elf.h exists.
4947 * unexelf.c: Use HAVE_ELF_H.
4948 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
4949 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
4950 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
4951 Greg Harrington <greg_harrington@hotmail.com> provided a machine
4953 So this is an unexelfsgi.c from a different line of development.
4955 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
4957 * regex.c (RE_TR_ASCII): New function.
4958 (RE_TRANSLATE): Call it.
4960 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
4962 * buffer.h (TRT_TABLE_OF): Remove assert.
4963 (IN_TRT_TABLE_DOMAIN): Removed.
4965 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
4967 * free-hook.c (log_gcpro):
4968 (show_gcprohist): Add support for GCPRO5.
4970 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
4972 * emacs.c (main_1): Improve -sd error message when --pdump=no.
4974 2000-11-16 Olivier Galibert <galibert@xemacs.org>
4976 * symeval.h: Declare flush_all_buffer_local_cache.
4978 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
4979 (flush_buffer_local_cache): Added.
4980 (flush_all_buffer_local_cache): Added.
4982 * lrecord.h: Remove unused XD_LO_RESET_NIL.
4984 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
4985 (pdump_dump_data): Ditto.
4986 (pdump_reloc_one): Ditto.
4987 (pdump): Remove unused pdump_qnil. Flush buffer local caches
4991 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
4993 * buffer.c: Remove if 0'ed entry.
4994 * buffer.h: Rewrite TRT to use char-table.
4995 * bufslots.h: Remove mirror tables.
4996 * casetab.c: Remove mirror tables.
4997 (CASE_TABLE_P): New macro.
4998 (Fcase_table_p): Element of a case table is string or char-table.
4999 (make_mirror_trt_table): Removed.
5000 (set_case_table): Setup char-table from strings for backward
5002 * dired.c (Fdirectory_files):
5003 * dired-msw.c: (mswindows_get_files):
5004 * lisp.h: Change prototype of re_pattern_buffer.
5005 * regex.c: (RE_TRANSLATE): New macro.
5006 (TRANSLATE_P): Ditto.
5007 Change translate to type RE_TRANSLATE_TYPE.
5008 * regex.h: Define RE_TRANSLATE_TYPE
5009 * search.c (TRANSLATE): New macro.
5010 (TRANSLATE_ASCII): New macro.
5011 Translate table is changed to Lisp_Object.
5012 (signal_failure): Inhibit return.
5014 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5021 Do UNGCPRO before return.
5023 2000-11-14 Martin Buchholz <martin@xemacs.org>
5025 * XEmacs 21.2.37 is released.
5027 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
5029 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
5030 Add comments about discarded return value.
5032 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
5035 * event-stream.c: Fix comments. Remove some #if 0'ed part.
5037 2000-10-27 Andy Piper <andy@xemacs.org>
5039 * gutter.c (Fset_default_gutter_position): default left and right
5041 (calculate_gutter_size): calculate resonable heuristic for left
5042 and right gutter sizes.
5043 (specifier_vars_of_gutter): change left and right gutter sizes to
5045 (calculate_gutter_size_from_display_lines): new function.
5046 (output_gutter): check for resizing on left and right gutters.
5047 (clear_gutter): don't special case top and left gutters.
5048 (specifier_vars_of_gutter): use new signature for
5049 set_specifier_caching.
5051 * glyphs-x.c (x_redisplay_widget): spelling fix.
5052 * glyphs.c (specifier_vars_of_glyphs):
5053 * menubar.c (specifier_vars_of_menubar):
5054 * redisplay.c (specifier_vars_of_redisplay):
5055 * toolbar.c (specifier_vars_of_toolbar):
5056 * window.c (specifier_vars_of_window):
5057 * scrollbar.c (specifier_vars_of_scrollbar):
5058 (complex_vars_of_scrollbar): use new signature for
5059 set_specifier_caching.
5061 * specifier.c (set_specifier_caching): include recompute flag.
5062 (recompute_one_cached_specifier_in_window): always recompute if
5064 (recompute_one_cached_specifier_in_frame): ditto.
5066 * specifier.h (struct specifier_caching): add recompute flag.
5068 2000-10-24 Andy Piper <andy@xemacs.org>
5070 * unexcw.c (copy_executable_and_dump_data_section): add new
5071 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
5074 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5076 * console-x.h (x_device): New member modifier_release_time.
5077 * event-Xt.c (x_handle_sticky_modifiers):
5078 Bound interval modifier keys are sticky.
5079 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
5080 * events.h: extern it.
5082 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5084 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
5086 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5088 * event-stream.c (execute_command_event): Preserve current_events
5089 and the like when event is misc-user-event.
5090 Inhibit quit during the call to maybe_echo_keys.
5092 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
5094 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
5095 symlink when buffer is killed.
5096 (inhibit_clash_detection): New variable.
5098 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5100 * console.c (Fset_input_method): Trigger redisplay on tty.
5102 2000-11-07 Martin Buchholz <martin@xemacs.org>
5104 * process.c (Fprocess_status): Revert to previous behavior:
5105 (process-status "nosuchprocess") ==> nil
5107 2000-11-06 Martin Buchholz <martin@xemacs.org>
5109 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
5110 Work around another GCC 2.95.2 optimizer bug.
5112 2000-11-02 Martin Buchholz <martin@xemacs.org>
5114 * process.c (Fget_process): Use LIST_LOOP_2.
5115 (kill_buffer_processes): Use LIST_LOOP_2.
5117 * minibuf.c (Fall_completions):
5118 Delete old non-functional code for FSF fourth argument.
5120 * frame.c (frame_matches_frame_spec):
5121 Renamed from `frame_matches_frametype'. Update all callers.
5122 (device_matches_device_spec):
5123 Renamed from 'device_matches_console_spec'. Update all callers.
5125 * doc.c (Fsubstitute_command_keys):
5126 Remove buffer overflow crash. Small code cleanups.
5128 * casetab.c (check_case_table): Simpler code.
5130 * window.c (Freplace_buffer_in_windows):
5131 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
5132 (and similar implementation) as Fdelete_windows_on.
5135 * alloc.c (Fmake_list):
5136 * alloc.c (make_vector):
5137 * alloc.c (Fmake_vector):
5138 * alloc.c (make_bit_vector):
5139 * alloc.c (Fmake_bit_vector):
5140 * alloc.c (Fbit_vector):
5141 * alloc.c (Fmake_string):
5142 * alloc.c (Fpurecopy):
5143 * alloc.c (Fmemory_limit):
5145 * buffer.c (Fget_buffer):
5146 * buffer.c (Fkill_buffer):
5147 * buffer.c (complex_vars_of_buffer):
5148 * bytecode.c (Fcompiled_function_stack_depth):
5149 * callint.c (Fprefix_numeric_value):
5151 * event-stream.c (Fread_key_sequence):
5153 * casetab.c (Fcase_table_p):
5154 * casetab.c (check_case_table):
5155 * casetab.c (Fset_case_table):
5156 * casetab.c (Fset_standard_case_table):
5158 * chartab.c (Fchar_table_type):
5159 * chartab.c (Freset_char_table):
5160 * chartab.c (Fget_char_table):
5161 * chartab.c (Fget_range_char_table):
5162 * chartab.c (Fput_char_table):
5163 * chartab.c (Fmap_char_table):
5164 * chartab.c (Fcategory_table_p):
5165 * chartab.c (Fcheck_category_at):
5166 * chartab.c (Fchar_in_category_p):
5167 * chartab.c (Fcategory_table):
5168 * chartab.c (Fcopy_category_table):
5169 * chartab.c (Fset_category_table):
5170 * chartab.c (Fcategory_designator_p):
5171 * chartab.c (Fcategory_table_value_p):
5172 * cmds.c (Fdelete_char):
5173 * cmds.c (Fdelete_backward_char):
5174 * cmds.c (Fself_insert_command):
5175 * cmds.c (Fself_insert_internal):
5176 * console.c (Fvalid_console_type_p):
5177 * console.c (Fcdfw_console):
5178 * console.c (Fconsole_type):
5179 * console.c (Fconsole_name):
5180 * console.c (Fconsole_device_list):
5181 * console.c (Fconsole_on_window_system_p):
5185 * data.c (Fsubr_interactive):
5186 * data.c (Fchar_to_int):
5187 * data.c (Fint_to_char):
5190 * data.c (Fnumber_to_string):
5191 * data.c (Fstring_to_number):
5193 * database.c (mark_database):
5194 * database.c (finalize_database):
5195 * database.c (Fdatabase_live_p):
5196 * database.c (Fdatabasep):
5197 * device-x.c (Fx_get_resource):
5198 * device.c (Fdfw_device):
5200 * dired.c (Ffile_name_completion):
5201 * dired.c (Ffile_name_all_completions):
5202 * dired.c (Fuser_name_completion):
5203 * dired.c (Fuser_name_completion_1):
5204 * dired.c (Fuser_name_all_completions):
5205 * doc.c (Fdocumentation):
5206 * doc.c (Fdocumentation_property):
5207 * doc.c (Fsubstitute_command_keys):
5209 * editfns.c (Fchar_to_string):
5210 * editfns.c (Fstring_to_char):
5211 * editfns.c (Ftemp_directory):
5212 * editfns.c (Finsert_char):
5213 * editfns.c (Fbuffer_substring_no_properties):
5214 * editfns.c (Fnarrow_to_region):
5215 * editfns.c (Fchar_equal):
5216 * editfns.c (Fchar_Equal):
5217 * editfns.c (Ftranspose_regions):
5218 * emacs.c (Fdump_emacs):
5220 * eval.c (Fcommand_execute):
5221 * eval.c (Fautoload):
5222 * eval.c (Fbacktrace):
5223 * eval.c (Fbacktrace_frame):
5225 * events.c (Fcopy_event):
5226 * events.c (Fcharacter_to_event):
5227 * events.c (Fevent_button):
5228 * events.c (Fevent_process):
5230 * extents.c (Fnext_extent_change):
5231 * extents.c (Fextent_property):
5233 * faces.c (Fmake_face):
5235 * file-coding.c (Fencode_shift_jis_char):
5236 * file-coding.c (Fencode_big5_char):
5237 * fileio.c (Ffile_name_directory):
5238 * fileio.c (Ffile_name_nondirectory):
5239 * fileio.c (Ffile_name_as_directory):
5240 * fileio.c (Fdirectory_file_name):
5241 * fileio.c (Ffile_truename):
5242 * fileio.c (Fsubstitute_in_file_name):
5243 * fileio.c (Ffile_modes):
5244 * fileio.c (Fset_file_modes):
5245 * fileio.c (Fset_default_file_modes):
5246 * fileio.c (Fverify_visited_file_modtime):
5247 * floatfns.c (Facos):
5248 * floatfns.c (Fasin):
5249 * floatfns.c (Fatan):
5250 * floatfns.c (Fcos):
5251 * floatfns.c (Fsin):
5252 * floatfns.c (Ftan):
5253 * floatfns.c (Fbessel_j0):
5254 * floatfns.c (Fbessel_j1):
5255 * floatfns.c (Fbessel_jn):
5256 * floatfns.c (Fbessel_y0):
5257 * floatfns.c (Fbessel_y1):
5258 * floatfns.c (Fbessel_yn):
5259 * floatfns.c (Ferf):
5260 * floatfns.c (Ferfc):
5261 * floatfns.c (Flog_gamma):
5262 * floatfns.c (Fexp):
5263 * floatfns.c (Fexpt):
5264 * floatfns.c (Flog):
5265 * floatfns.c (Flog10):
5266 * floatfns.c (Fsqrt):
5267 * floatfns.c (Fcube_root):
5268 * floatfns.c (Facosh):
5269 * floatfns.c (Fasinh):
5270 * floatfns.c (Fatanh):
5271 * floatfns.c (Fcosh):
5272 * floatfns.c (Fsinh):
5273 * floatfns.c (Ftanh):
5274 * floatfns.c (Fabs):
5275 * floatfns.c (Ffloat):
5276 * floatfns.c (Flogb):
5277 * floatfns.c (Fceiling):
5278 * floatfns.c (Ffloor):
5279 * floatfns.c (Fround):
5280 * floatfns.c (Ftruncate):
5281 * floatfns.c (Ffceiling):
5282 * floatfns.c (Fffloor):
5283 * floatfns.c (Ffround):
5284 * floatfns.c (Fftruncate):
5285 * fns.c (Fstring_equal):
5286 * fns.c (Fstring_lessp):
5291 * fns.c (Fsubstring):
5293 * fns.c (Fold_assoc):
5294 * fns.c (assoc_no_quit):
5296 * fns.c (Fold_assq):
5297 * fns.c (assq_no_quit):
5299 * fns.c (Fold_rassoc):
5301 * fns.c (Fold_rassq):
5302 * fns.c (rassq_no_quit):
5303 * fns.c (Fremassoc):
5304 * fns.c (remassoc_no_quit):
5306 * fns.c (remassq_no_quit):
5307 * fns.c (Fremrassoc):
5308 * fns.c (Fremrassq):
5309 * fns.c (remrassq_no_quit):
5311 * fns.c (Fplist_get):
5312 * fns.c (Fplist_put):
5313 * fns.c (Fplist_remprop):
5314 * fns.c (Fplist_member):
5315 * fns.c (Flax_plist_get):
5316 * fns.c (Flax_plist_put):
5317 * fns.c (Flax_plist_remprop):
5318 * fns.c (Flax_plist_member):
5320 * fns.c (Fold_equal):
5322 * fns.c (Fbase64_encode_region):
5323 * fns.c (Fbase64_encode_string):
5324 * fns.c (Fbase64_decode_region):
5326 * frame.c (frame_matches_frame_spec):
5327 * frame.c (device_matches_device_spec):
5328 * frame.c (next_frame):
5329 * frame.c (previous_frame):
5330 * frame.c (Fnext_frame):
5331 * frame.c (Fprevious_frame):
5332 * frame.c (Fframe_property):
5333 * frame.c (Fset_frame_height):
5334 * frame.c (Fset_frame_size):
5338 * glyphs.c (decode_error_behavior_flag):
5339 * glyphs.c (Fmake_image_instance):
5340 * indent.c (Findent_to):
5341 * intl.c (Fignore_defer_gettext):
5342 * keymap.c (Fkeymapp):
5343 * keymap.c (Flookup_key):
5345 * lread.c (Fload_internal):
5346 * lread.c (Feval_buffer):
5347 * lread.c (Feval_region):
5348 * macros.c (Fexecute_kbd_macro):
5349 * marker.c (set_marker_internal):
5350 * marker.c (Fset_marker):
5351 * marker.c (set_marker_restricted):
5352 * marker.c (Fcopy_marker):
5353 * marker.c (noseeum_copy_marker):
5355 * menubar.c (Fpopup_menu):
5357 * mule-charset.c (Fcharset_name):
5358 * mule-charset.c (Fchar_charset):
5359 * mule-charset.c (Fchar_octet):
5360 * mule-charset.c (Fsplit_char):
5361 * mule-wnnfns.c (Fwnn_open):
5362 * mule-wnnfns.c (Fwnn_dict_comment):
5363 * mule-wnnfns.c (Fwnn_quit_henkan):
5364 * mule-wnnfns.c (Fwnn_word_toroku):
5365 * mule-wnnfns.c (Fwnn_word_sakujo):
5366 * mule-wnnfns.c (Fwnn_word_use):
5367 * mule-wnnfns.c (Fwnn_hindo_set):
5369 * objects.c (Fmake_color_instance):
5370 * objects.c (Fmake_font_instance):
5371 * print.c (Fwrite_char):
5373 * process.c (mark_process):
5374 * process.c (print_process):
5375 * process.c (get_process_from_usid):
5376 * process.c (Fprocessp):
5377 * process.c (Fprocess_live_p):
5378 * process.c (Fget_process):
5379 * process.c (Fget_buffer_process):
5380 * process.c (get_process):
5381 * process.c (Fprocess_id):
5382 * process.c (Fprocess_name):
5383 * process.c (Fprocess_command):
5384 * process.c (init_process_io_handles):
5385 * process.c (start_process_unwind):
5386 * process.c (Fstart_process_internal):
5387 * process.c (Fopen_multicast_group_internal):
5388 * process.c (Fset_process_window_size):
5389 * process.c (read_process_output):
5390 * process.c (send_process):
5391 * process.c (Fprocess_tty_name):
5392 * process.c (Fset_process_buffer):
5393 * process.c (Fprocess_buffer):
5394 * process.c (Fprocess_mark):
5395 * process.c (set_process_filter):
5396 * process.c (Fset_process_filter):
5397 * process.c (Fprocess_filter):
5398 * process.c (Fprocess_send_region):
5399 * process.c (Fprocess_send_string):
5400 * process.c (exec_sentinel):
5401 * process.c (Fset_process_sentinel):
5402 * process.c (Fprocess_sentinel):
5403 * process.c (status_notify):
5404 * process.c (Fprocess_status):
5405 * process.c (Fprocess_exit_status):
5406 * process.c (process_send_signal):
5407 * process.c (Fprocess_send_eof):
5408 * process.c (deactivate_process):
5409 * process.c (remove_process):
5410 * process.c (Fdelete_process):
5411 * process.c (kill_buffer_processes):
5412 * process.c (Fprocess_kill_without_query):
5413 * process.c (Fprocess_kill_without_query_p):
5415 * rangetab.c (Fget_range_table):
5416 * rangetab.c (Fput_range_table):
5417 * rangetab.c (Fremove_range_table):
5418 * rangetab.c (Fclear_range_table):
5420 * search.c (Fskip_chars_forward):
5421 * search.c (Fskip_chars_backward):
5422 * search.c (Fskip_syntax_forward):
5423 * search.c (Fskip_syntax_backward):
5424 * search.c (search_command):
5425 * search.c (Freplace_match):
5426 * search.c (Fregexp_quote):
5427 * select.c (Fown_selection_internal):
5428 * select.c (Fselection_owner_p):
5429 * select.c (Fselection_exists_p):
5430 * select.c (Fget_selection_internal):
5433 * symbols.c (Fintern):
5434 * symbols.c (Fintern_soft):
5435 * symbols.c (Funintern):
5436 * symbols.c (Fapropos_internal):
5437 * symbols.c (Fset_default):
5439 * syntax.c (Fsyntax_table_p):
5440 * syntax.c (Fcopy_syntax_table):
5441 * syntax.c (Fset_syntax_table):
5442 * syntax.c (Fchar_syntax):
5443 * syntax.c (syntax_match):
5444 * syntax.c (Fmatching_paren):
5445 * syntax.c (Fforward_word):
5446 * syntax.c (scan_lists):
5447 * syntax.c (Fscan_lists):
5448 * syntax.c (Fscan_sexps):
5449 * syntax.c (Fparse_partial_sexp):
5450 * toolbar.c (Fcheck_toolbar_button_syntax):
5453 * window.c (Fwindowp):
5454 * window.c (Fwindow_live_p):
5455 * window.c (Fwindow_point):
5456 * window.c (Fdelete_window):
5457 * window.c (Fnext_window):
5458 * window.c (Fprevious_window):
5459 * window.c (Fother_window):
5460 * window.c (window_loop):
5461 * window.c (Fget_lru_window):
5462 * window.c (Fsplit_window):
5463 * window.c (Fenlarge_window):
5464 * window.c (Fenlarge_window_pixels):
5465 * window.c (Fshrink_window):
5466 * window.c (Fshrink_window_pixels):
5467 * window.c (change_window_height):
5468 * window.c (Fwindow_configuration_p):
5469 * window.c (Fcurrent_window_configuration):
5471 * casefiddle.c (casify_object):
5472 * casefiddle.c (Fupcase):
5473 * casefiddle.c (Fdowncase):
5474 * casefiddle.c (Fcapitalize):
5475 * casefiddle.c (Fupcase_initials):
5476 * casefiddle.c (casify_region_internal):
5477 * casefiddle.c (casify_region):
5478 * casefiddle.c (Fupcase_region):
5479 * casefiddle.c (Fdowncase_region):
5480 * casefiddle.c (Fcapitalize_region):
5481 * casefiddle.c (Fupcase_initials_region):
5482 * casefiddle.c (Fupcase_word):
5483 * casefiddle.c (Fdowncase_word):
5484 * casefiddle.c (Fcapitalize_word):
5485 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
5486 Replace 0 with '\0' when working with bytes.
5487 Replace initial "(" with "\(" in docstrings.
5489 2000-11-01 Martin Buchholz <martin@xemacs.org>
5491 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
5493 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
5495 2000-10-31 Martin Buchholz <martin@xemacs.org>
5497 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
5499 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5501 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
5504 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5506 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
5507 (inhibit_auto_save_session): New variable.
5508 (vars_of_fileio): Declare and initialize them.
5509 * fileio.c (Fdo_auto_save): Don't create session file if
5510 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
5512 2000-10-31 Martin Buchholz <martin@xemacs.org>
5514 * sgiplay.c (play_internal): C++ compilability.
5515 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
5516 * callproc.c (Fold_call_process_internal):
5517 Remove unused vars `env', `first'.
5518 * scrollbar.c (update_scrollbar_instance):
5519 #### unused var `current_window'.
5520 * redisplay-tty.c: Put currently unused vars insert_mode_on,
5521 etc. within #ifdef NOT_YET.
5522 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
5523 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
5524 * specifier.c (specifier_instance):
5525 #### unused var `tag'.
5526 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
5528 2000-10-27 Martin Buchholz <martin@xemacs.org>
5531 * fns.c (list_sort):
5532 * fns.c (Ffillarray):
5533 * fns.c (bytecode_nconc2):
5536 * fns.c (Fmapconcat):
5537 Be pedantically 64-bit correct. For the time when someone will
5538 want to have a list with length > 2**32.
5540 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
5541 Work around MIPSpro compiler bug.
5543 * process-unix.c (unix_kill_child_process): Add snarky comment.
5544 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
5546 * config.h.in: Oops, _getpt ==> _getpty
5548 2000-10-26 Martin Buchholz <martin@xemacs.org>
5552 Use void*, not char*, as return type of alloca().
5554 * alloc.c (free_marker): Side effect inside assert expression!
5556 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
5558 * mule-charset.c (Fset_charset_ccl_program): To check
5559 if the given ccl program is valid, use setup_ccl_program()
5560 instead of CHECK_VECTOR().
5561 (Fmake_charset): Likewise.
5563 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
5565 * faces.c (get_extent_fragment_face_cache_index):
5566 Fix cachel.merged_faces memory leak.
5568 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
5570 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
5571 Reset MSB of octets obtained by DECODE_SJIS
5572 because of the incompatibility with Emacs.
5573 (ccl_driver)<CCL_ENCODE_SJIS>:
5574 Set MSB of octets before passing them to
5575 ENCODE_SJIS because of the incompatibility
5578 2000-10-18 Daiki Ueno <ueno@unixuser.org>
5580 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
5581 (DECLARE_LRECORD): Undo the last change.
5582 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
5584 2000-10-17 Daiki Ueno <ueno@unixuser.org>
5586 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
5587 the implementation to lrecord_implementations_table.
5589 2000-10-14 Daiki Ueno <ueno@unixuser.org>
5591 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
5592 initial value of `lrecord_type_##c_name' and
5593 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
5594 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
5595 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
5596 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
5597 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
5599 2000-10-17 Martin Buchholz <martin@xemacs.org>
5601 * miscplay.c (sndcnv8S_2mono):
5602 (sndcnv2monounsigned):
5603 (sndcnvULaw_2linear):
5605 Remove implementation-defined behavior.
5607 2000-10-12 Martin Buchholz <martin@xemacs.org>
5609 * input-method-xlib.c: Warning suppression.
5611 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
5613 * mule-ccl.c: Sync up with Emacs 21.0.90.
5614 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
5616 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
5618 (ccl_driver[WriteMultibyteChar2]): Bug fix.
5619 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
5620 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
5621 leading char belongs to official 2-dimensional charset.
5622 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
5623 write the given character as is. Otherwise,
5624 if it is a multibyte char, convert it by
5625 non_ascii_set_charptr_emchar, then write it.
5626 (CCL_WRITE_STRING): Likewise.
5627 (ccl_get_compiled_code): New function.
5628 (setup_ccl_program): When ccl_prog is invalid,
5630 (Fregister_code_conversion_map): New function.
5631 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
5633 * mule-ccl.h: Sync up with Emacs 21.0.90.
5634 (Fregister_ccl_program): export it.
5636 * redisplay-msw.c (separate_textual_runs):
5637 If ccl program is not valid, don't do ccl conversion.
5639 * redisplay-x.c (separate_textual_runs): Ditto.
5641 * file-coding.c (Fmake_coding_system):
5642 When type is ccl and value is vector, register it
5643 with a proper symbol. And checks whether the
5644 given ccl program is valid.
5645 (mule_decode): When calling ccl_driver, if src indicates
5646 NULL pointer, set an empty string instead.
5647 (mule_encode): Likewise.
5649 2000-10-11 Martin Buchholz <martin@xemacs.org>
5651 The following large batch of changes gets us back to a state of
5652 C++ compilability. Extbyte is now a char, which means that
5653 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
5655 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
5657 * sound.c (Fplay_sound): Type correctness.
5659 * select-x.c (hack_motif_clipboard_selection): Type correctness.
5660 (x_get_window_property): Type correctness.
5661 (receive_incremental_selection): unsigned char ==> Extbyte
5662 (selection_data_to_lisp_data): unsigned char ==> Extbyte
5663 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
5664 (Fx_store_cutbuffer_internal): Type correctness.
5666 * process-unix.c (try_to_initialize_subtty): Type correctness.
5668 * objects-x.c (x_print_color_instance): Type correctness.
5669 (x_print_font_instance): Type correctness.
5670 (x_list_fonts): SExtbyte ==> Extbyte.
5671 (valid_x_font_name_p): SExtbyte ==> Extbyte.
5672 (x_find_charset_font): SExtbyte ==> Extbyte.
5673 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
5674 (truename_via_XListFonts): SExtbyte ==> Extbyte.
5675 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
5678 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
5679 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
5680 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
5681 (BYTE_C0_P): Use bit ops for char-signedness safety.
5682 (BYTE_C1_P): Use bit ops for char-signedness safety.
5683 (CHARSET_BY_LEADING_BYTE):
5684 (CHARSET_BY_ATTRIBUTES):
5685 Always use inline function.
5686 Use type_checking_assert.
5689 * mule-charset.c (non_ascii_charptr_copy_char):
5690 Modify to work with both ASCII and non-ASCII characters.
5691 Improve docs and variable names.
5692 Replace over-clever fall-through switch with a simple loop.
5693 (Lstream_get_emchar_1):
5694 Replace over-clever fall-through switch with a simple loop.
5696 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5697 Warning suppression.
5699 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
5700 the return value of Lstream_getc, which could be EOF as well.
5702 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
5704 * lisp.h: Make Extbyte a char, not unsigned char, so that external
5705 APIs can be used on Extbytes without casts. Risky!
5709 * input-method-xlib.c (XIM_init_device):
5710 Use Xlib.h instead of IntrinsicP.h.
5711 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
5712 which will break in X11R7.
5713 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
5714 to call XRegisterIMInstantiateCallback with correct types.
5716 * gui-x.c (button_item_to_widget_value): Type correctness.
5718 * glyphs.c (bitmap_to_lisp_data): Type correctness.
5720 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
5721 (xbm_instantiate_1): Type correctness.
5722 (BUILD_GLYPH_INST): Type correctness.
5724 * fileio.c (Fsubstitute_in_file_name): Type correctness.
5727 (decode_coding_sjis):
5728 (decode_coding_big5):
5729 (decode_coding_ucs4):
5730 (decode_coding_utf8):
5731 (decode_coding_iso2022):
5732 (decode_coding_no_conversion):
5733 Make all decoding functions take an Extbyte * arg.
5734 (encode_coding_sjis):
5735 (encode_coding_big5):
5736 (encode_coding_ucs4):
5737 (encode_coding_utf8):
5738 (encode_coding_iso2022):
5739 (encode_coding_no_conversion):
5740 Make all encoding functions take a Bufbyte * arg.
5741 Use size_t instead of unsigned int for memory sizes.
5742 Only cast to unsigned char whenever dereferencing Extbyte *.
5744 * doc.c (unparesseuxify_doc_string): Type correctness.
5746 * console-x.c (split_up_display_spec):
5747 Rewrite without using details of internal string representation.
5748 (x_semi_canonicalize_device_connection): Type correctness.
5751 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
5752 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
5753 (HAVE_XFREE386): Removed.
5755 * buffer.h (DEC_CHARPTR): `const' correctness.
5756 (bufbyte_strcmp): New.
5757 (bufbyte_memcmp): New.
5759 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
5761 * buffer.h (XCHAR_OR_CHAR_INT):
5762 Always use inline function.
5763 Remove redundant type checking assert() - XINT will abort quite nicely.
5765 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
5767 * search.c (Freplace_match): Set newtext to an empty string.
5769 2000-10-10 Martin Buchholz <martin@xemacs.org>
5771 * s/decosf1-3.h: Remove #include of stropts.h
5772 * s/ptx.h: Remove #include of stropts.h
5773 * s/usg5-4.h: Remove #include of stropts.h
5776 Use stropts.h, not sys/stropts.h.
5777 Use strtio.h, not sys/strtio.h.
5779 2000-10-04 Martin Buchholz <martin@xemacs.org>
5781 * XEmacs 21.2.36 is released.
5783 2000-09-21 Andy Piper <andy@xemacs.org>
5785 * glyphs-x.c (x_redisplay_widget): make sure non-structural
5786 changes still involve copying the widget tree.
5787 (update_widget_face): make sure a change is register in the widget
5788 tree. Call update_tab_widget_face appropriately.
5789 (update_tab_widget_face): ditto.
5790 (x_tab_control_redisplay): make sure non-structural changes still
5791 involve copying the widget tree.
5793 2000-08-31 Daiki Ueno <ueno@unixuser.org>
5795 * lread.c (locate_file): Check the path element is non-nil.
5797 2000-10-02 Martin Buchholz <martin@xemacs.org>
5799 * lisp.h: Warning suppression for SCO compilers.
5801 * redisplay-tty.c (reset_tty_modes): Fix crash.
5802 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
5804 2000-09-27 Martin Buchholz <martin@xemacs.org>
5806 Big signal/process handling overhaul. Bugs fixed:
5807 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
5808 M-x comint-kill-subjob should work for both values nil and t of
5809 process-connection-type. It was broken on most platforms.
5810 Testing on Irix and Cygwin still needed. Other plaforms tested.
5811 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
5812 * process-unix.c: Signal/Process handling overhaul.
5813 (pty_name): make 64 bytes, as `expect' does, for paranoia.
5814 (allocate_pty): Use all available modern methods of allocating
5815 ptys, falling back to old style BSD allocation as a last resort.
5816 Use allegedly more secure Unix98 pty allocation by default.
5817 (allocate_pty_the_old_fashioned_way): New. the last resort.
5818 (unix_create_process): Push ptem, ldterm, ttcompat where
5819 available. Autoconfiscate.
5820 (try_to_initialize_subtty): New.
5821 (unix_kill_child_process): Proper signal handling for ptys on most
5822 platforms, using special knowledge of AIX, BSD, etc...
5823 (unix_create_process): Always disconnect_controlling_terminal() for
5824 subprocesses, whether using ptys or not.
5825 * process.h: Remove old getpt-dependent PTY code.
5826 * process.c (Fprocess_send_signal): New, obvious generic function.
5827 (decode_signal): New.
5828 (Finterrupt_process):
5832 (Fcontinue_process):
5833 (Fsignal_process): Use decode_signal.
5834 (process_send_signal):
5835 Many docstring corrections.
5836 Allow any signal to be sent to a process object.
5837 * config.h.in: Add symbols for big signal/process overhaul.
5838 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
5839 * sysproc.h: Include process-related headers, where available:
5840 sys/stropts.h sys/strtio.h pty.h libutil.h
5848 Remove old S&M pty stuff.
5849 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
5850 * systty.h: Simplify cpp hackery, improve comments.
5851 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
5853 * editfns.c (Fformat_time_string):
5854 Be a little more paranoid with the return value of ctime.
5856 * fileio.c (check_executable):
5858 Use symbolic constants X_OK, W_OK.
5860 * console-x.c (split_up_display_spec): Fix a warning.
5862 2000-10-02 Martin Buchholz <martin@xemacs.org>
5864 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
5865 * ntproc.c (sys_spawnve): make_string ==> build_string
5866 Small clarity improvements.
5868 2000-09-30 Martin Buchholz <martin@xemacs.org>
5870 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
5872 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
5874 * config.h.in (HAVE_STRCASECMP): Remove.
5876 2000-09-29 Martin Buchholz <martin@xemacs.org>
5878 * redisplay-output.c (redisplay_output_pixmap):
5879 Cleaner and possibly more 64-bit correct code.
5881 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5883 * dumper.c (pdump_load_finish): move restoration of
5884 `noninteractive1' to emacs.c (main_1).
5885 * emacs.c (main_1): protect LISP-visible command-line flags
5888 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
5890 * Makefile.in.in (versionclean): Use EXE_TARGET and
5891 DUMP_TARGET instead of literal program names.
5893 2000-09-20 Martin Buchholz <martin@xemacs.org>
5895 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
5897 2000-09-19 Martin Buchholz <martin@xemacs.org>
5899 * *: Spelling mega-patch
5901 2000-09-19 Martin Buchholz <martin@xemacs.org>
5903 * fns.c (bad_bad_turtle):
5904 Delete "Eek!" comment, since we fixed the bug to which it refers.
5906 2000-09-16 Martin Buchholz <martin@xemacs.org>
5908 * alloca.c: Replace REGISTER with register.
5910 2000-09-16 Daiki Ueno <ueno@unixuser.org>
5912 * file-coding.c (ucs_to_char): Use countof.
5914 2000-09-16 Martin Buchholz <martin@xemacs.org>
5916 * file-coding.c: (ucs_to_char):
5917 (complex_vars_of_file_coding):
5918 Use countof instead of sizeof.
5919 Use CHECK_NATNUM instead of CHECK_INT.
5921 * sysdep.c (strcasecmp): Remove.
5922 * device-x.c (ascii_strcasecmp): New.
5923 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
5924 Avoid using non-standard non-portable strcasecmp.
5926 2000-09-16 Martin Buchholz <martin@xemacs.org>
5928 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
5929 * font-lock.c: remove reference to emacsfns.h.
5930 * search.c: small doc improvement.
5931 * event-Xt.c: correct file names in comments.
5932 * console-x.h Correct file names in comments.
5933 * frame.c: Correct file names in comments.
5934 * event-stream.c: remove Energize from comments.
5936 2000-09-15 Martin Buchholz <martin@xemacs.org>
5938 * symeval.h (DEFERROR_STANDARD):
5941 (DEFSYMBOL_NO_DUMP):
5942 (DEFSYMBOL_MULTIWORD_PREDICATE):
5943 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
5945 The construct &##name is not sensible C.
5946 Fixes compilation errors with Unixware native compiler.
5948 2000-09-14 Martin Buchholz <martin@xemacs.org>
5950 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
5951 (next_frame_internal): Removed. We now just have next_frame.
5953 Write a simpler and cleaner one-pass algorithm.
5954 Remove called_from_delete_device arg and #ifdefed-out code.
5956 Renamed from prev_frame. Update callers.
5957 Cleaned up to have an analogous implementation to next_frame.
5958 (other_visible_frames_internal): Remove the
5959 called_from_delete_device bogus arg, and hence, remove this
5960 function. Just use other_visible_frames().
5962 * window.c (Fnext_window):
5964 Since next_frame() is guaranteed to return a frame, remove check
5965 for nil inserted in previous patch.
5968 Make code look more like Fnext_window.
5970 Respect the `console' arg when iterating through windows.
5971 Fixes bug: (get-buffer-window buffer t device) not respecting
5973 This function needs more work, as others have pointed out.
5975 * frame.h: Rename prev_frame to previous_frame.
5976 device_matches_console_spec no longer takes a `frame' arg.
5981 Use EMACS_BLOCK_SIGNAL instead of sigblock.
5982 From "Golubev I. N." <gin@mo.msk.ru>.
5984 * make-src-depend: Fix typo.
5986 2000-09-13 Martin Buchholz <martin@xemacs.org>
5988 * window.c (Fnext_window):
5989 next_frame() might return nil, not a frame.
5991 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
5993 * frame.c (next_frame_internal):
5994 We've passed a frame if we've passed its device.
5996 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
5997 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
5999 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6001 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6002 Allow option to suppress accelerators in menu/dialog items.
6003 (populate_or_checksum_helper): Pass dialog title through above.
6005 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
6007 * event-msw.c (mswindows_key_to_emacs_keysym):
6008 Add "pause" key, fix "menu" key.
6010 2000-09-09 Martin Buchholz <martin@xemacs.org>
6012 * eval.c (reinit_vars_of_eval):
6013 Increase max_lisp_eval_depth to 1000,
6014 required for thai-xtis.el to byte-compile under some circumstances.
6016 2000-09-04 Martin Buchholz <martin@xemacs.org>
6018 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
6021 2000-09-01 Martin Buchholz <martin@xemacs.org>
6023 * make-src-depend: Make the generated Makefiles smaller.
6025 * s/hpux.h (SETUP_SLAVE_PTY):
6026 Provide a %d in the format string for the errno argument.
6028 * editfns.c (Ftemp_directory):
6030 Avoid buffer overrun on very long file name.
6032 * input-method-xlib.c (XIM_init_device):
6033 6th parameter of XRegisterIMInstantiateCallback has different
6034 pointer types on different OSes, so simply cast to (void *).
6036 * unexhp9k800.c: Warning fixes. Fiddly changes.
6038 * sysdll.c (dll_open):
6039 shl_load will hang hard if passed a NULL filename.
6040 Simply return NULL for compatibility with dlopen.
6041 * sysdll.c: Conform to XEmacs coding standards.
6043 * sysdep.c (get_pty_max_bytes):
6044 Support pty input lines longer than 512 bytes on HP-UX 10.20.
6046 2000-08-31 Martin Buchholz <martin@xemacs.org>
6048 * tooltalk.c: Add #include <syssignal.h>
6050 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
6052 * s/hpux.h: Don't use undefined function sigunblock().
6054 2000-08-31 Martin Buchholz <martin@xemacs.org>
6056 * config.h.in: Add HAVE_BALLOON_HELP.
6057 * emacs.c: Use HAVE_BALLOON_HELP.
6058 * Makefile.in.in (x_objs):
6059 Make Balloon Help conditional on finding shape.h.
6061 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
6063 * syntax.c (regex_emacs_buffer_p): New variable.
6064 * syntax.h (regex_emacs_buffer_p): extern.
6065 * search.c (looking_at_1):
6067 (fast_string_match):
6068 (search_buffer): Set regex_emacs_buffer_p.
6069 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
6070 when before_dot, at_dot, after_dot.
6072 2000-08-23 Andy Piper <andy@xemacs.org>
6074 * gui-x.c (popup_selection_callback): Only set action_occurred
6075 when we really have an image instance.
6076 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
6078 2000-08-23 Andy Piper <andy@xemacs.org>
6080 * gui-msw.c (mswindows_handle_gui_wm_command): set
6082 * gui-x.c (popup_selection_callback): ditto.
6084 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
6085 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
6086 (struct Lisp_Image_Instance): add action_occurred flag.
6088 * glyphs.c (redisplay_subwindow): use action_occurred flag.
6089 (image_instance_changed): ditto.
6090 (reset_frame_subwindow_instance_cache): only unmap windows - do
6091 not remove them from the cache also.
6093 * glyphs-widget.c (tab_control_update): better debug.
6094 (progress_gauge_update): ditto.
6095 (layout_update): ditto.
6096 (layout_instantiate): ditto.
6097 (tab_control_order_only_changed): cope with null pending items.
6099 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
6100 debug. Force selection of an item when an action occurred. Cope
6101 with null pending_items.
6102 (mswindows_progress_gauge_redisplay): better debug.
6103 * glyphs-x.c (x_tab_control_redisplay): ditto.
6105 * redisplay.c (redisplay_frame): reset the frame cache if the
6108 * window.c (Fset_window_configuration): potentially re-enable
6110 (window_unmap_subwindows): need to finalize instances here since
6111 it is only used in mark_window_as_deleted.
6113 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
6115 * nas.c (SndOpenDataForReading):
6116 nas.c (WaveOpenDataForReading):
6117 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
6118 Somehow escaped from the 2000-08-14 patch.
6120 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6122 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
6123 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
6125 2000-08-21 Andy Piper <andy@xemacs.org>
6127 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
6128 window if it is not already displayed.
6130 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
6131 it is not already displayed.
6133 * window.c (Fset_window_configuration): don't reset the frame
6136 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
6137 instances from the frame cache if we are actually finalizing them.
6138 (reset_frame_subwindow_instance_cache): reset frame cache only
6139 after unmapping everything.
6140 (map_subwindow): set displayed flag after mapping.
6142 2000-08-21 Martin Buchholz <martin@xemacs.org>
6144 * data.c (indirect_function):
6145 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
6147 * eval.c (function_argcount):
6148 Use original function when signaling errors.
6150 2000-08-18 Andy Piper <andy@xemacs.org>
6152 * frame.c (delete_frame_internal): use new
6153 free_frame_subwindow_instances name.
6155 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
6156 (add_tab_item): make return type correct.
6157 (mswindows_tab_control_instantiate): assert index of tab.
6158 (mswindows_tab_control_redisplay): Re-code to use
6159 gui_item_equal_sans_selected and gui_item_list_find_selected.
6161 * glyphs-widget.c (tab_control_update): Correct comment.
6163 * window.c (window_unmap_subwindows): use new
6164 unmap_subwindow_instance_cache_mapper.
6165 (window_unmap_subwindows_cache_mapper): deleted.
6166 (Fset_window_configuration): comparisons should now be with
6167 EQ. Preserve the subwindow instance cache across configuration
6169 (allocate_window): ditto.
6170 (make_dummy_parent): ditto.
6172 * glyphs.c (free_frame_subwindow_instances): rename from
6173 free_frame_subwindow_instance_cache. finalize all instances rather
6174 than just those in the display cache.
6175 (finalize_all_subwindow_instances): walk windows unmapping and
6176 finalizing subwindows.
6177 (unmap_subwindow_instance_cache_mapper): moved from
6178 window.c. Allow finalization as well as unmapping.
6180 * gui.c (gui_item_list_find_selected): new function.
6182 * gui.h (gui_item_list_find_selected): declare.
6184 * glyphs-x.c (x_tab_control_redisplay): pick tab
6185 explicitly. Re-code to use gui_item_equal_sans_selected and
6186 gui_item_list_find_selected.
6188 * glyphs-x.h: add lwlib-utils.h
6190 * buffer.c (Frecord_buffer): undo previous change.
6192 2000-08-09 Vin Shelton <acs@xemacs.org>
6194 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
6195 possible. Create temporary files more securely. The patch was
6196 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
6197 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
6198 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
6201 2000-08-07 Ben Wing <ben@xemacs.org>
6203 * getloadavg.c: remove duplicate (and windows-breaking)
6204 includes of fcntl.h and sys/file.h.
6206 * nt.c: remove duplicate getloadavg() definition.
6208 * sysdll.h (Qdll_filename_encoding): add missing stand-in
6211 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
6213 * eval.c (function_argcount): If function needs to be autoloaded
6214 actually use the loaded definition.
6217 2000-08-05 Ben Wing <ben@xemacs.org>
6219 * getloadavg.c: add prototype for getloadavg(). remove
6220 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
6221 of the code). remove duplicate header includes.
6223 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
6225 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
6226 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
6227 useful load average.
6229 * alloc.c (reinit_alloc_once_early): removed references to
6230 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
6231 the lisp vars are the only things referencing the malloc_sbrk_*
6232 vars, and they were already if 0'd out. these vars only exist
6233 in the older malloc.c, which is basically unused, and they're
6234 only for informational purposes.
6236 * m\*.h: removed useless VIRT_ADDR_VARIES.
6238 * m\powerpc.h: removed stray NO_ARG_ARRAY.
6240 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
6242 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
6243 color if the image is a mono pixmap.
6245 2000-07-30 Ben Wing <ben@xemacs.org>
6247 * Makefile.in.in (release):
6250 * buffer.c (directory_is_current_directory):
6251 * dired-msw.c (mswindows_get_files):
6253 * dired.c (Fdirectory_files):
6254 * dired.c (file_name_completion_stat):
6255 * dired.c (Ffile_attributes):
6256 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
6257 preprocessor tricks, to avoid problems on some machines
6260 * callproc.c (egetenv): GC docs.
6263 * console-msw.h (struct mswindows_dialog_id):
6264 * lrecord.h (lrecord_type):
6265 New object for use with MSW dialogs.
6267 * console.h (struct console_methods):
6268 New enable/disable frame methods, for proper modal dialogs.
6270 * device-msw.c (msprinter_default_printer): Fix to follow
6271 proper Mule conventions.
6274 * device-msw.c (signal_open_printer_error):
6275 * device-msw.c (msprinter_init_device):
6276 * device-msw.c (ensure_not_printing):
6277 * device-msw.c (plist_get_margin):
6278 * device-msw.c (Fmsprinter_select_settings):
6279 * device-msw.c (finalize_devmode):
6280 * device-msw.c (Fmsprinter_settings_despecialize):
6281 * device-msw.c (signal_enum_priner_error):
6282 * extents.c (decode_extent):
6283 * extents.c (decode_map_extents_flags):
6284 * extents.c (decode_extent_at_flag):
6285 * extents.c (Fextent_at):
6286 * extents.c (Fextents_at):
6287 * extents.c (symbol_to_glyph_layout):
6288 [[[[2]]]] Use structured errors.
6291 * dialog-msw.c (mswindows_is_dialog_msg):
6292 * dialog-msw.c (mark_mswindows_dialog_id):
6293 * dialog-msw.c (dialog_proc):
6294 * dialog-msw.c (handle_question_dialog_box):
6295 * dialog-msw.c (syms_of_dialog_mswindows):
6296 Define new object to clean up marking; use it as a dialog identifier.
6297 Call new delete-dialog-box-hook.
6299 * dialog-x.c (dbox_selection_callback):
6300 * dialog-x.c (dbox_descriptor_to_widget_value):
6301 * dialog-x.c (x_make_dialog_box_internal):
6302 Call new delete-dialog-box-hook.
6306 * dialog.c (syms_of_dialog):
6307 * dialog.c (vars_of_dialog):
6308 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
6311 * eval.c (signal_call_debugger):
6312 when noninteractive, output stack traces on the console instead
6313 of in a (never-seen) buffer.
6315 * eval.c (signal_type_error):
6316 * eval.c (invalid_argument_2):
6318 new funs for use w/structured errors.
6321 * event-Xt.c (x_to_emacs_keysym):
6322 * event-Xt.c (describe_event):
6323 * event-Xt.c (emacs_Xt_event_handler):
6324 * event-Xt.c (vars_of_event_Xt):
6326 * event-msw.c (mswindows_wnd_proc):
6327 * event-msw.c (vars_of_event_mswindows):
6328 rename {x,mswindows}-debug-events to debug-{}-events for
6329 consistency with other debug-foo variables.
6332 document next-event more clearly.
6334 * fileio.c (Ffile_name_directory):
6335 * fileio.c (Ffile_name_nondirectory):
6336 * fileio.c (Funhandled_file_name_directory):
6337 * fileio.c (file_name_as_directory):
6338 * fileio.c (Ffile_name_as_directory):
6339 * fileio.c (directory_file_name):
6340 * fileio.c (Fdirectory_file_name):
6341 * fileio.c (Fmake_temp_name):
6342 * fileio.c (Ffile_truename):
6343 * fileio.c (Fsubstitute_in_file_name):
6344 * fileio.c (expand_and_dir_to_file):
6345 * fileio.c (barf_or_query_if_file_exists):
6346 * fileio.c (check_executable):
6347 * fileio.c (Ffile_exists_p):
6348 * fileio.c (Ffile_writable_p):
6349 * fileio.c (Ffile_directory_p):
6350 * fileio.c (Ffile_regular_p):
6351 * fileio.c (Ffile_modes):
6352 * fileio.c (Ffile_newer_than_file_p):
6353 * fileio.c (Fverify_visited_file_modtime):
6354 * fileio.c (Fset_visited_file_modtime):
6355 * fileio.c (auto_save_1):
6360 * frame-msw.c (mswindows_init_frame_1):
6361 * frame-msw.c (mswindows_enable_frame):
6362 * frame-msw.c (error_frame_unsizable):
6363 * frame-msw.c (msprinter_init_frame_1):
6364 * frame-msw.c (msprinter_init_frame_3):
6365 * frame-msw.c (console_type_create_frame_mswindows):
6367 implement new enable/disable frame methods.
6370 * frame-x.c (x_enable_frame):
6371 * frame-x.c (console_type_create_frame_x):
6372 implement new enable/disable frame methods.
6375 * frame.c (Fdisable_frame):
6376 * frame.c (syms_of_frame):
6377 * frame.h (struct frame):
6378 implement new enable/disable frame methods/functions.
6383 * glyphs-msw.c (mswindows_widget_instantiate):
6384 comment that initial-focus should be implemented.
6387 * glyphs-widget.c (check_valid_instantiator):
6388 * glyphs-widget.c (check_valid_orientation):
6389 * glyphs-widget.c (check_valid_tab_orientation):
6390 * glyphs-widget.c (check_valid_justification):
6391 * glyphs-widget.c (check_valid_border):
6392 * glyphs-widget.c (check_valid_callback):
6393 * glyphs-widget.c (check_valid_int_or_function):
6394 * glyphs-widget.c (check_valid_string_or_vector):
6395 * glyphs-widget.c (check_valid_item_list_1):
6396 * glyphs-widget.c (widget_validate):
6397 * glyphs-widget.c (combo_box_validate):
6398 * glyphs-widget.c (widget_instantiate):
6399 * glyphs-widget.c (syms_of_glyphs_widget):
6400 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
6401 * glyphs-widget.c (image_instantiator_combo_box):
6402 * glyphs-widget.c (image_instantiator_scrollbar):
6403 * glyphs-widget.c (image_instantiator_tab_control):
6404 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
6406 support (unimplemented) keyword initial-focus.
6407 reindent long macros.
6409 * glyphs-x.c (x_redisplay_widget):
6410 * glyphs-x.c (x_button_instantiate):
6411 * glyphs-x.c (x_button_redisplay):
6412 * glyphs-x.c (x_progress_gauge_instantiate):
6413 * glyphs-x.c (x_edit_field_instantiate):
6414 * glyphs-x.c (x_combo_box_instantiate):
6415 * glyphs-x.c (x_tab_control_instantiate):
6416 * glyphs-x.c (x_label_instantiate):
6418 * gui-x.c (button_item_to_widget_value):
6419 * gui-x.c (gui_items_to_widget_values_1):
6420 * gui-x.c (gui_item_children_to_widget_values):
6421 * gui-x.c (gui_items_to_widget_values):
6423 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6424 add new flag to gui-parsing routines to indicate whether
6425 accelerator specs should be supported.
6427 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
6429 * glyphs.h (struct Lisp_Image_Instance):
6430 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
6431 add initial-focus flag.
6434 * gui.c (syms_of_gui):
6435 * gui.c (vars_of_gui):
6436 clean up menu-no-selection-hook.
6439 support delete-dialog-box-hook.
6441 * lread.c (Fload_internal):
6442 * lread.c (locate_file_in_directory_mapper):
6446 * lrecord.h (struct toolbar_button):
6447 * lrecord.h (syms_of_toolbar):
6448 document how to create a new object.
6450 * menubar-msw.c (mswindows_char_is_accelerator):
6451 may be called on frames w/o menus.
6453 * menubar.c (vars_of_menubar):
6454 clean up :filter docs.
6461 * process-nt.c (validate_signal_number):
6462 * process-nt.c (signal_cannot_launch):
6463 * process-nt.c (nt_create_process):
6464 * process-nt.c (nt_send_process):
6465 * process-nt.c (nt_kill_child_process):
6466 * process-nt.c (nt_open_network_stream):
6467 * process-nt.c (syms_of_process_nt):
6469 delete quote-handling. call new lisp code that does it better.
6471 * process-unix.c (connect_to_file_descriptor):
6472 * process-unix.c (allocate_pty):
6473 * process-unix.c (unix_send_process):
6474 * process-unix.c (unix_kill_child_process):
6475 * process-unix.c (unix_open_network_stream):
6476 * process-unix.c (unix_open_multicast_group):
6480 * process.c (Fstart_process_internal):
6481 (2). need to canonicalize process path even if absolute.
6483 * select-msw.c (symbol_to_ms_cf):
6484 * select-msw.c (ms_cf_to_symbol):
6485 * select-msw.c (cf_is_autofreed):
6486 * select-msw.c (mswindows_destroy_selection):
6488 * select.c (syms_of_select):
6490 support dibv5, fix bugs. (from Mike Alexander)
6492 * select.c (Fget_selection_internal):
6493 * select.c (select_convert_out):
6496 * sysdep.c (xemacs_stat):
6501 but keep original stat() here because we provide encapsulation
6505 * sysfile.h (fstat):
6506 remove stat garbage.
6510 don't include tchar.h. it's inappropriate because it makes
6511 compile-time distinctions when we want runtime distinctions.
6512 (we provide our own tchar replacements)
6515 use default object printer for toolbar-button.
6518 make sure we don't encapsulate.
6520 * window.c (vars_of_window):
6521 emphasize that temp-buffer-show-hook is obsolete.
6523 2000-08-05 Martin Buchholz <martin@xemacs.org>
6525 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
6526 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
6528 * events.c (Fevent_timestamp_lessp):
6529 Not 64-bit clean. Use EMACS_INT, not int.
6531 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
6533 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
6534 unsigned int and changed the last enum to
6535 lrecord_type_last_built_in_type.
6536 (lrecord_implementations_table): changed prototype to know how
6537 long the array is supposed to be.
6538 (lrecord_type_count): new unsigned int to keep track of the
6539 current number of lisp lrecord types.
6540 (DEFINE_EXTERNAL_LRECORD):
6541 (DECLARE_EXTERNAL_LRECORD): Added these two for external
6542 dynamic-modules to declare new lisp types. They are the same
6543 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
6544 int for each new type, and increment lrecord_type_count by 1.
6546 * alloc.c (lrecord_implementations_table): Changed to reference
6547 lrecord_type_last_built_in_type for the size of the array.
6548 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
6550 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6552 * glyphs.h (check_valid_item_list): Renamed from
6553 check_valid_item_list_1.
6555 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
6557 * select.c (Qselect_coerce): New.
6558 * select.c (Vselection_coercion_alist): New.
6559 * select.c (syms_of_select): Declare.
6560 * select.c (get-selection-internal): Use it.
6561 Use the new select-coerce functionality.
6563 * select.c (select_coerce): New.
6564 * select.h (select_coerce): Declare.
6565 New function to coerce one type of data into another.
6567 2000-08-03 Martin Buchholz <martin@xemacs.org>
6569 * callproc.c (Fcall_process_internal):
6570 (Fcall_process_internal):
6571 * process-unix.c (unix_create_process):
6572 Save and restore the value of errno, so that error messages are accurate.
6574 2000-08-01 Martin Buchholz <martin@xemacs.org>
6576 * elhash.c (print_hash_table):
6577 Fix printing of hash tables to also use `key-and-value' instead of `t'.
6578 Prettify docstrings and indentation.
6580 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
6582 * window.c (Fwindow_pixel_edges): Subtract frame border and
6585 2000-07-31 Andy Piper <andy@xemacs.org>
6587 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
6588 will acknowledge the change.
6590 * glyphs.h: declare tab_control_order_only_changed.
6592 * glyphs-x.c (x_tab_control_redisplay): use
6593 tab_control_order_only_changed.
6595 * glyphs-widget.c (tab_control_order_only_changed): new function.
6597 * glyphs-msw.c (mswindows_tab_control_redisplay): use
6598 tab_control_order_only_changed.
6600 * gui.c (gui_item_equal_sans_selected): new function.
6601 (gui_item_equal): use it.
6603 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
6604 :properties in favor of :items..
6606 * glyphs-widget.c (check_valid_item_list): rename from
6607 check_valid_item_list_1.
6608 (check_valid_item_list_1): renamed.
6609 (combo_box_validate): deprecate :properties in favor of :items.
6610 (widget_instantiate): ditto.
6611 (tab_control_update): ditto.
6612 (image_instantiator_combo_box): ditto.
6613 (image_instantiator_tree_view): ditto.
6614 (image_instantiator_tab_control): ditto.
6615 (layout_post_instantiate): remove dead code.
6617 * print.c (debug_print_no_newline): only write to debugger if in
6620 * elhash.c (Fmake_hash_table): update doc string.
6622 * event-msw.c (mswindows_wnd_proc): don't allow processing of
6623 messages whilst in GC. This at least stops XEmacs crashing but has
6624 the potential for wierd behaviour.
6626 2000-07-31 Martin Buchholz <martin@xemacs.org>
6629 Make existence of s&m files optional.
6631 * s/bsd386.h: Remove HAVE_GETLOADAVG.
6632 * s/freebsd.h: Remove HAVE_GETLOADAVG.
6633 * s/gnu.h: Remove HAVE_GETLOADAVG.
6634 * s/netbsd.h: Remove HAVE_GETLOADAVG.
6635 * s/sol2.h: Remove HAVE_GETLOADAVG.
6636 * lisp.h: Remove getloadavg() declaration.
6638 Include <sys/loadavg.h> if available.
6639 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
6640 * config.h.in: Group together getloadavg()-related macros.
6641 Use only configure-time tests to detect getloadavg().
6643 2000-07-30 Martin Buchholz <martin@xemacs.org>
6645 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
6647 2000-07-25 Andy Piper <andy@xemacs.org>
6649 * syswindows.h: add tchar.h for native builds.
6651 * frame.c (syms_of_frame): remove set-glyph-image.
6653 * general-slots.h: add Qset_glyph_image.
6655 * glyphs-widget.c (layout_update): add domain arg to
6657 (syms_of_glyphs_widget): remove set-glyph-image.
6659 2000-07-23 Ben Wing <ben@xemacs.org>
6661 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
6664 2000-07-22 Andy Piper <andy@xemacs.org>
6666 * symsinit.h: add syms_of_win32().
6668 * gui-msw.c (syms_of_gui_mswindows): remove
6669 Fmswindows_shell_execute.
6670 (Fmswindows_shell_execute): moved to win32.c.
6672 * emacs.c (main_1): add syms_of_win32 ().
6674 * win32.c (init_potentially_nonexistent_functions): rewrite in
6675 compiler-friendly terms.
6676 (Fmswindows_shell_execute): move here from gui-msw.c.
6677 (syms_of_win32): new.
6679 * device-msw.c (Fmswindows_printer_list): clean up args to
6681 Don't include tchar under cygwin or mingw.
6682 (msprinter_default_printer): make cygwin-friendly.
6684 2000-07-21 Andy Piper <andy@xemacs.org>
6686 * glyphs-widget.c (image_instantiator_tree_view): use tab
6687 control's update function.
6688 (layout_property): new function. Retrieve items.
6690 * glyphs-msw.c (mswindows_tree_view_redisplay): new
6691 function. Re-populate the tree view from the pending items.
6693 * glyphs.c (instantiate_image_instantiator): Make sure the domain
6694 is designated the parent if the domain is an image instance. This
6695 is needed so that dirtiness can be cascade up the hierarchy and
6696 thus for layout children to be redisplayed correctly.
6697 (allocate_image_instance): rename glyph -> parent.
6699 * redisplay.h: change redisplay_output_layout signature.
6701 * redisplay-msw.c (mswindows_output_display_block): use domain
6704 * redisplay-x.c (x_output_display_block): use domain arg.
6706 2000-07-10 Andy Piper <andy@xemacs.org>
6708 * window.c (Fset_window_configuration): add comment.
6710 * redisplay-output.c (compare_runes):
6711 (redisplay_output_subwindow): redisplay rather than update subwindow.
6712 (redisplay_output_layout): ditto.
6714 * redisplay-msw.c (mswindows_frame_output_end):
6715 (mswindows_frame_output_end): make defer window pos optional.
6717 * lisp.h: add Flast.
6719 * glyphs.h (struct image_instantiator_methods): add dest_mask top
6720 normalize method. Change update method to be for changed
6721 instantiators. Add redisplay method. Change signature of layout
6723 (struct Lisp_Image_Instance): add instantiator.
6724 (IMAGE_INSTANCE_INSTANTIATOR): new.
6725 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
6726 (XIMAGE_INSTANCE_INSTANTIATOR): new.
6727 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
6730 (find_instantiator_differences): new function.
6731 (Fset_instantiator_property): new convenience function.
6732 (check_image_instance_structure): strictly check for vector
6734 (normalize_image_instantiator): make non-static.
6735 (instantiate_image_instantiator): pass on dest_mask and use new
6736 signatures for image_instance_layout and friends.
6737 (mark_image_instance): mark the instantiator. Mark the subwindow
6738 face not the widget face.
6739 (image_instance_equal): add instantiator.
6740 (image_instance_hash): ditto.
6741 (allocate_image_instance): ditto.
6742 (Fset_image_instance_property): removed.
6743 (Fimage_instance_file_name): ditto.
6744 (Fcolorize_image_instance): ditto.
6745 (image_instance_layout): add offsets to be set.
6746 (update_image_instance): new function. update an image instance
6747 from its changed instantiator.
6748 (inherit_normalize): add dest_mask.
6749 (xbm_normalize): ditto.
6750 (xface_normalize): ditto.
6751 (xpm_normalize): ditto.
6752 (text_update): set_property -> update.
6753 (image_instantiate): use the glyph identity as a hash key, not the
6755 (glyph_width): use new image_instance_layout signature.
6756 (glyph_ascent): ditto.
6757 (glyph_descent): ditto.
6758 (glyph_height): ditto.
6759 (glyph_query_geometry): ressurrect.
6760 (glyph_layout): ditto.
6761 (redisplay_subwindow): update -> redisplay.
6762 (syms_of_glyphs): add Fset_instantiator_property.
6763 (image_instantiator_format_create): set_property -> update.
6766 (autodetect_normalize): add dest_maks to signature.
6767 (x_redisplay_subwindow): update -> redisplay.
6768 (x_redisplay_widget): ditto.
6769 (x_button_redisplay): ditto.
6770 (x_progress_gauge_redisplay): ditto.
6771 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
6773 (console_type_create_glyphs_x): update -> redisplay.
6774 (image_instantiator_format_create_glyphs_x): ditto.
6777 (check_valid_instantiator): disallow glyphs in the instantiator,
6778 they must now be vectors.
6779 (check_valid_instantiator_list): ditto.
6780 (glyph_instantiator_to_glyph): use internal symbol rather than
6782 (widget_update): renamed from widget_set_property. Call cascaded
6784 (redisplay_widget): renamed from update_widget.
6785 (widget_layout): image_instance_layout now takes position as well
6787 (widget_normalize): ditto.
6788 (widget_instantiate): ditto.
6789 (tab_control_query_geometry) ditto.:
6790 (tab_control_update): renamed from tab_control_set_property.
6791 (progress_gauge_update): set_property -> update.
6792 (layout_normalize): rewrite so that child instantiators are
6794 (layout_update): new function. Create glyphs from the normalized
6795 children and cope with any other layout keywords. We do not
6796 instantiate children here that will be take care of by
6797 redisplay_output_layout.
6798 (layout_instantiate): call layout_update and not much else.
6799 (layout_post_instantiate): not sure whether this is needed
6801 (layout_query_geometry): query glyph geometry rather than
6802 image_instance geometry.
6803 (layout_layout): set offsets from pass in parameters. Use glyph
6804 geometry and layout functions rather than image instance ones.
6805 (native_layout_layout): ditto.
6806 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
6807 (image_instantiator_widget): set_property -> update.
6808 (image_instantiator_buttons): ditto.
6809 (image_instantiator_progress_guage): ditto.
6810 (image_instantiator_tab_control): ditto.
6811 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
6812 (image_instantiator_layout): add update method.
6814 * glyphs-msw.c (bmp_normalize):
6815 (mswindows_resource_normalize): add dest_mask so that it can be
6816 proprogated by layout_normalize.
6817 (begin_defer_window_pos): make optional because it may not be the
6818 right thing to do and it introduces differences with X.
6819 (mswindows_unmap_subwindow): ditto.
6820 (mswindows_map_subwindow): ditto.
6821 (mswindows_redisplay_subwindow): renamed from
6822 mswindows_update_subwindow.
6823 (mswindows_redisplay_widget): ditto.
6824 (mswindows_button_redisplay): renamed from
6825 mswindows_button_update. Update is now what the instantiation
6826 function does for a changed instantiator.
6827 (mswindows_progress_gauge_instantiate): set the progress value
6828 here if appropriate.
6829 (mswindows_tab_control_redisplay): cope with re-ordering of the
6830 members of the tab widget by simply selecting the new top
6831 widget. This makes things appear ok if you click on a tab.
6832 (mswindows_combo_box_instantiate): image_instance_layout now takes
6833 position as well as size.
6834 (mswindows_progress_gauge_redisplay): renamed from
6835 mswindows_progress_gauge_update.
6836 (console_type_create_glyphs_mswindows): fix update -> redisplay.
6837 (image_instantiator_format_create_glyphs_mswindows): ditto.
6839 * glyphs-eimage.c (jpeg_normalize):
6842 (tiff_normalize): add dest_mask so that it can be proprogated by
6847 (hash_table_weakness_validate):
6848 (decode_hash_table_weakness):
6849 (Fhash_table_weakness):
6851 (syms_of_elhash): use Ben's naming scheme for hashtable types..
6853 * console.h (struct console_methods): move update_* to
6856 2000-07-20 Ben Wing <ben@xemacs.org>
6858 * *.[ch] (XSETOBJ): remove unused middle argument.
6859 lisp-disunion.h: correct wrap_object() to one argument.
6861 2000-07-15 Ben Wing <ben@xemacs.org>
6864 * s/cygwin32.h (CYGWIN_CONV_PATH):
6865 Add missing logb prototype for v1.1.
6866 Use post-b20 names and alias to pre-b20 names when pre-b20.
6868 * s/windowsnt.h: [5].
6870 2000-07-15 Ben Wing <ben@xemacs.org>
6872 * Makefile.in.in (x_objs):
6873 * Makefile.in.in (sheap_objs):
6874 * Makefile.in.in (objs):
6875 added win32.o, cosmetic cleanups.
6877 * alloc.c (Fmake_byte_code):
6878 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
6879 etc. macros which declare their own args now.
6881 * alloc.c (syms_of_alloc):
6882 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
6885 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
6887 * buffer.c (Fget_file_buffer):
6888 Fixed GCPRO problem.
6890 * buffer.c (get_truename_buffer):
6891 Fixed comment about GC checking.
6893 * buffer.c (syms_of_buffer):
6894 Undeclared those dedicated frame funs.
6898 Define convenience macros for internal/external conversions.
6899 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
6900 and Qenvironment_variable_encoding for cleaner code.
6903 Remove dedicated-frame; in lisp.
6905 * bytecode.c (funcall_compiled_function):
6908 * bytecode.c (syms_of_bytecode):
6912 * console-msw.c (mswindows_show_console): Rewrote.
6914 * console-msw.c (Fmswindows_debugging_output): New.
6915 Sends to OutputDebugString (special MSWin debugger interface).
6917 * console-msw.c (Fmswindows_message_box):
6918 Fixed stupid bugs so it works when called from kill-emacs.
6920 * console-msw.c (syms_of_console_mswindows):
6921 Declare Fmswindows_debugging_output.
6924 New MSWin prototypes.
6926 * console-msw.h (struct mswindows_frame):
6927 New entry last-click-mods for improved button-modifier support.
6929 * console-msw.h (FRAME_MSWINDOWS_POPUP):
6930 New struct entry `popup' with corresponding accessor.
6933 * console-x.c (split_up_display_spec):
6934 * console-x.c (get_display_arg_connection):
6935 * console-x.c (x_semi_canonicalize_console_connection):
6936 * console-x.c (x_canonicalize_device_connection):
6937 [[[6]]]: Change char to more specific type.
6938 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
6940 * console-x.c (x_semi_canonicalize_console_connection):
6941 * console-x.c (x_canonicalize_device_connection):
6942 [[[9]]]: Fix up error signalling to use new structured error system.
6945 [[[4]]]: Define codesys aliases:
6946 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
6947 Qx_color_name_encoding, Qx_display_name_encoding.
6949 * console.h (struct console_methods):
6950 New method make_dialog_box_internal supersedes older
6951 popup_dialog_box method.
6954 Define many new errors, part of new structured errors.
6956 * data.c (init_errors_once_early):
6957 * data.c (syms_of_data):
6960 * device-msw.c (mswindows_init_device):
6961 [[[5]]]: Cleanup to support NT 3.51.
6963 * device-msw.c (decode_devmode): Cleanup.
6965 * device-msw.c (mswindows_handle_print_setup_dialog_box):
6966 * device-msw.c (mswindows_handle_print_dialog_box):
6967 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6968 * device-msw.c (syms_of_device_mswindows):
6969 Delete the dialog box primitives recently introduced by Kirill and
6970 instead interface to general dialog box interface.
6973 * device-x.c (compute_x_app_name):
6974 * device-x.c (x_init_device):
6975 * device-x.c (Fx_valid_keysym_name_p):
6976 * device-x.c (Fx_set_font_path):
6980 * device.h (wrap_device): New.
6981 First of its kind; meant to replace XSETDEVICE.
6983 * dialog-msw.c: Many file-dialog symbols.
6985 * dialog-msw.c (mswindows_register_popup_frame): New.
6986 * dialog-msw.c (mswindows_is_dialog_msg): New.
6987 For supporting kbd traversal in dialog boxes.
6989 * dialog-msw.c (dialog_proc):
6990 Support hitting ESC in dialogs.
6992 * dialog-msw.c (struct):
6993 Common dialog box errors.
6995 * dialog-msw.c (handle_file_dialog_box): New.
6996 Add file dialog code.
6998 * dialog-msw.c (handle_question_dialog_box):
6999 Redo existing code to support new question dialog syntax.
7001 * dialog-msw.c (console_type_create_dialog_mswindows):
7002 We support new dialog console method.
7004 * dialog-msw.c (syms_of_dialog_mswindows):
7005 * dialog-msw.c (vars_of_dialog_mswindows):
7006 New file dialog symbols, vars.
7009 * dialog-x.c (maybe_run_dbox_text_callback):
7010 * dialog-x.c (dbox_descriptor_to_widget_value):
7011 * dialog-x.c (x_make_dialog_box_internal):
7012 * dialog-x.c (console_type_create_dialog_x):
7013 Mule-ize entire file.
7014 Redo to support question dialog syntax.
7018 * dialog.c (Fmake_dialog_box_internal):
7019 * dialog.c (syms_of_dialog):
7020 Kill old popup-dialog-box, replace with new primitive.
7021 Just call device method or signal error.
7023 * eldap.c (Fldap_open):
7024 * eldap.c (Fldap_search_basic):
7025 * eldap.c (Fldap_add):
7026 * eldap.c (Fldap_modify):
7031 * emacs.c (make_arg_list_1):
7032 * emacs.c (make_arg_list):
7033 Mule-ize call to dll_init().
7037 * emacs.c (make_argc_argv):
7038 * emacs.c (free_argc_argv):
7039 * emacs.c (init_cmdargs):
7041 * emacs.c (Fkill_emacs):
7042 * emacs.c (Fdump_emacs):
7043 Update comments about what can be used in syms_* etc.
7044 Call init_win32() when necessary.
7045 Fix up MS Win dialog box in kill-buffer to actually work right.
7056 * eval.c (condition_case_3):
7058 * eval.c (function_argcount):
7059 * eval.c (funcall_lambda):
7062 * eval.c (type_error): New.
7063 * eval.c (maybe_type_error): New.
7064 * eval.c (continuable_type_error): New.
7065 * eval.c (maybe_continuable_type_error): New.
7066 * eval.c (type_error_with_frob): New.
7067 * eval.c (maybe_type_error_with_frob): New.
7068 * eval.c (continuable_type_error_with_frob): New.
7069 * eval.c (maybe_continuable_type_error_with_frob): New.
7070 New functions for use with structured errors.
7073 * event-Xt.c (x_event_to_emacs_event):
7074 Buttons are now modifiers too.
7076 * event-Xt.c (emacs_Xt_current_event_timestamp):
7077 Implement new event method.
7078 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
7081 * event-msw.c (ntpipe_shove_writer): [5].
7082 * event-msw.c (mswindows_enqueue_mouse_button_event):
7083 * event-msw.c (mswindows_drain_windows_queue):
7084 * event-msw.c (mswindows_wnd_proc): [7].
7085 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
7086 * event-msw.c (mswindows_modifier_state):
7087 Throughout: support new button modifiers.
7089 * event-msw.c (emacs_mswindows_current_event_timestamp):
7090 Implement new event method.
7091 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
7094 * event-stream.c (event_stream_current_event_timestamp): New.
7095 * event-stream.c (maybe_kbd_translate): New functionality.
7096 * event-stream.c (vars_of_event_stream):
7097 Document new kbd-translate-table functionality.
7099 * event-stream.c (Fcurrent_event_timestamp): New.
7100 New primitive for use in fabricated events.
7101 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
7103 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
7106 * events.c (Fmake_event):
7107 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
7111 * events.c (format_event_object): fix gcc warnings.
7113 * events.c (Fevent_timestamp): Document new primitives.
7115 * events.c (TIMESTAMP_HALFSPACE): New.
7117 * events.c (Fevent_timestamp_lessp): New. New primitive for
7118 comparing timestamps correctly (half-space algorithm).
7120 * events.c (Fevent_modifier_bits): Doc fix.
7122 * events.c (Fevent_modifiers): Major doc addition.
7123 * events.c (event_x_y_pixel_internal): Typo fix.
7124 * events.c (syms_of_events): Declare new primitives.
7127 Update long comment for button modifiers, timestamps.
7129 * events.h (struct event_stream):
7130 New current_event_timestamp method.
7133 * extents.c (extent_in_region_p):
7134 * extents.c (decode_extent):
7135 * extents.c (Fset_extent_parent):
7136 * extents.c (decode_map_extents_flags):
7140 * extents.c (struct extent_at_arg):
7141 * extents.c (decode_extent_at_flag):
7142 * extents.c (extent_at_mapper):
7143 * extents.c (extent_at_bytind):
7144 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
7145 * extents.c (Fextents_at): New primitive. [9].
7146 * extents.c (symbol_to_glyph_layout): [9].
7147 Support new primitive `extents-at'.
7150 * extents.c (get_text_property_bytind):
7151 extent_at_bytind has another arg.
7154 * extents.c (syms_of_extents): New primitive.
7156 * file-coding.c (Fmake_coding_system): [1].
7157 * file-coding.c (subsidiary_coding_system): fix gcc warning
7158 * file-coding.c (syms_of_file_coding): [2].
7160 * fileio.c (Fexpand_file_name):
7161 * fileio.c (Fsysnetunam):
7162 * fileio.c (Ffile_exists_p):
7163 * fileio.c (Ffile_executable_p):
7164 * fileio.c (Fverify_visited_file_modtime):
7167 * fileio.c (syms_of_fileio): [2].
7169 * filelock.c (lock_file_1):
7170 * filelock.c (current_lock_owner):
7171 * filelock.c (lock_if_free):
7172 * filelock.c (lock_file):
7173 * filelock.c (unlock_file):
7176 * fns.c (concat): Fix gcc warning.
7179 * fns.c (Fold_member):
7181 * fns.c (Fold_memq):
7182 * fns.c (memq_no_quit):
7184 * fns.c (Fold_assoc):
7186 * fns.c (Fold_assq):
7187 * fns.c (assq_no_quit):
7189 * fns.c (Fold_rassoc):
7191 * fns.c (Fold_rassq):
7192 * fns.c (rassq_no_quit):
7194 * fns.c (Fold_delete):
7196 * fns.c (Fold_delq):
7197 * fns.c (delq_no_quit):
7198 * fns.c (Fremassoc):
7200 * fns.c (remassq_no_quit):
7201 * fns.c (Fremrassoc):
7202 * fns.c (Fremrassq):
7203 * fns.c (remrassq_no_quit):
7208 * frame-msw.c (mswindows_init_frame_1):
7209 * frame-msw.c (mswindows_delete_frame):
7210 Register popups with dialog code so keyboard traversing works.
7212 * frame-tty.c (tty_raise_frame_no_select): [1].
7215 * frame-x.c (x_set_frame_text_value):
7216 * frame-x.c (x_set_frame_properties):
7217 * frame-x.c (x_create_widgets):
7221 * frame.c (Fmouse_pixel_position): Minor doc fixes.
7223 * frame.h (wrap_frame): New.
7224 Macro like wrap_device.
7227 * general.c (SYMBOL):
7228 * general.c (syms_of_general):
7229 Major reorg. This is now just a wrapper and symbols themselves
7230 are listed in general-slots.h.
7232 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
7233 * glyphs-msw.c (mswindows_resource_instantiate): [5].
7235 * glyphs-msw.c (mswindows_native_layout_instantiate):
7236 Add DS_CONTROL so keyboard traversal will work.
7239 * glyphs-widget.c (syms_of_glyphs_widget):
7240 Move some symbols to general-slots.h.
7243 * glyphs-x.c (xbm_instantiate_1):
7244 * glyphs-x.c (x_xbm_instantiate):
7245 * glyphs-x.c (x_xface_instantiate):
7246 * glyphs-x.c (autodetect_instantiate):
7247 * glyphs-x.c (cursor_font_instantiate):
7248 * glyphs-x.c (x_update_widget):
7249 * glyphs-x.c (x_widget_instantiate):
7250 * glyphs.c (bitmap_to_lisp_data):
7251 * glyphs.c (pixmap_to_lisp_data):
7254 * glyphs.c (syms_of_glyphs):
7258 * gui-x.c (print_widget_value):
7259 * gui-x.c (menu_separator_style_and_to_external):
7260 * gui-x.c (add_accel_and_to_external):
7261 * gui-x.c (button_item_to_widget_value):
7262 * gui-x.c (gui_items_to_widget_values_1):
7263 * gui-x.c (gui_items_to_widget_values):
7264 * gui-x.c (syms_of_gui_x):
7265 * gui-x.c (vars_of_gui_x):
7266 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
7270 Muleize, prototype changes matching gui-x.c.
7273 * gui.c (separator_string_p):
7274 * gui.c (gui_item_add_keyval_pair):
7275 * gui.c (make_gui_item_from_keywords_internal):
7276 * gui.c (signal_too_long_error):
7277 * gui.c (parse_gui_item_tree_item):
7278 * gui.c (syms_of_gui):
7279 * gui.c (vars_of_gui):
7281 menu-no-selection-hook moved here (used by MSWin).
7282 Move some symbols to general-slots.h.
7286 * insdel.c (get_buffer_pos_char):
7287 * insdel.c (get_buffer_range_char):
7290 * keymap.c (keymap_lookup_directly):
7291 * keymap.c (keymap_store):
7292 * keymap.c (ensure_meta_prefix_char_keymapp):
7293 * keymap.c (describe_map):
7295 Support new button modifiers.
7297 * lisp-disunion.h (wrap_object):
7298 * lisp-disunion.h (XSETOBJ):
7299 Rename make_obj to wrap_object.
7302 * lisp-union.h (make_int):
7303 * lisp-union.h (make_char):
7304 Support wrap_object.
7307 * lisp.h (LIST_LOOP):
7308 * lisp.h (EXTERNAL_LIST_LOOP):
7309 * lisp.h (LIST_LOOP_2):
7310 * lisp.h (EXTERNAL_LIST_LOOP_1):
7311 * lisp.h (EXTERNAL_LIST_LOOP_2):
7312 * lisp.h (EXTERNAL_LIST_LOOP_3):
7313 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
7314 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
7315 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
7316 * lisp.h (EXTERNAL_ALIST_LOOP_5):
7317 * lisp.h (EXTERNAL_ALIST_LOOP_6):
7318 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
7319 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
7320 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
7321 * lisp.h (struct Lisp_Symbol):
7322 * lisp.h (maybe_continuable_error_with_frob):
7323 Fix up section comments.
7324 Add new types for char to indicate usage.
7325 Delete symbols auto-generated from general-slots.h.
7326 Add prototypes for structured error functions.
7327 Add long comments describing looping macros and change interface
7328 so that lvalues are automatically declared.
7329 Add NO_DECLARE macro in case callers want to declare lvalues
7332 * lread.c (read_syntax_error):
7333 * lread.c (continuable_read_syntax_error):
7334 * lread.c (read_structure):
7335 * lread.c (sequence_reader):
7336 * lread.c (read_list_conser):
7337 * lread.c (read_compiled_function):
7338 Rename syntax_error and continuable_syntax_error to avoid clash
7339 with same-named structured error functions.
7341 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7342 * menubar-msw.c (populate_menu_add_item):
7343 * menubar-msw.c (populate_or_checksum_helper):
7348 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7349 Mule-ize whole file.
7351 * menubar.c (Fnormalize_menu_item_name): Add optimization.
7353 * mule-charset.c (Fmake_charset):
7354 * mule-wnnfns.c (Fwnn_set_param):
7357 * ntproc.c (create_child):
7358 * ntproc.c (Fwin32_set_current_locale):
7359 Add comments portending doom.
7362 * objects-msw.c (old_font_enum_callback_2):
7363 * objects-msw.c (font_enum_callback_1):
7364 * objects-msw.c (mswindows_enumerate_fonts):
7368 * objects-x.c (allocate_nearest_color):
7369 * objects-x.c (x_parse_nearest_color):
7370 * objects-x.c (x_initialize_color_instance):
7371 * objects-x.c (x_print_color_instance):
7372 * objects-x.c (x_finalize_color_instance):
7373 * objects-x.c (x_valid_color_name_p):
7374 * objects-x.c (x_initialize_font_instance):
7375 * objects-x.c (x_print_font_instance):
7376 * objects-x.c (valid_x_font_name_p):
7377 * objects-x.c (truename_via_FONT_prop):
7378 * objects-x.c (truename_via_random_props):
7379 * objects-x.c (truename_via_XListFonts):
7380 * objects-x.c (x_font_truename):
7381 * objects-x.c (x_font_instance_truename):
7382 * objects-x.c (x_font_instance_properties):
7383 * objects-x.c (x_list_fonts):
7384 * objects-x.c (x_find_charset_font):
7385 Mule-ize entire file.
7392 * print.c (std_handle_out_external):
7393 * print.c (debug_print_no_newline):
7394 * print.c (syms_of_print):
7395 Output to all debugger kinds in debug-print.
7396 Fix console-output code under MSWin to actually work.
7398 * process-nt.c (send_signal):
7399 * process-nt.c (nt_create_process):
7400 Use newer Unicode macros.
7402 * process-unix.c (unix_create_process):
7403 * process-unix.c (unix_canonicalize_host_name):
7404 * process-unix.c (unix_open_network_stream):
7410 * search.c (syms_of_search):
7413 * select-msw.c (mswindows_destroy_selection):
7416 * select-x.c (symbol_to_x_atom):
7419 * select.c (syms_of_select):
7422 * sound.c (Fplay_sound_file):
7426 * specifier.c (decode_specifier_type):
7427 * specifier.c (Fvalid_specifier_locale_type_p):
7428 * specifier.c (check_valid_locale_or_locale_type):
7429 * specifier.c (decode_locale):
7430 * specifier.c (decode_locale_type):
7431 * specifier.c (decode_locale_list):
7432 * specifier.c (check_valid_domain):
7433 * specifier.c (decode_specifier_tag_set):
7434 * specifier.c (Fcanonicalize_tag_set):
7435 * specifier.c (Fdefine_specifier_tag):
7436 * specifier.c (Fspecifier_tag_predicate):
7437 * specifier.c (check_valid_inst_list):
7438 * specifier.c (check_valid_spec_list):
7439 * specifier.c (decode_how_to_add_specification):
7440 * specifier.c (check_modifiable_specifier):
7441 * specifier.c (specifier_add_spec):
7442 * specifier.c (boolean_validate):
7443 * specifier.c (display_table_validate):
7446 * specifier.c (syms_of_specifier):
7447 Move some symbols to general-slots.h.
7451 * symbols.c (Fmapatoms):
7452 * symbols.c (Fapropos_internal):
7455 * symbols.c (set_default_buffer_slot_variable):
7456 * symbols.c (set_default_console_slot_variable):
7459 * symbols.c (defsymbol_massage_name_1):
7460 * symbols.c (defkeyword_massage_name):
7461 * symbols.c (deferror_1):
7462 * symbols.c (deferror):
7463 * symbols.c (deferror_massage_name_and_message):
7465 * symeval.h (DEFSYMBOL):
7466 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
7468 * symbols.c (syms_of_symbols):
7472 * symsinit.h (init_win32): New.
7473 Also new is syms_of_dialog_mswindows.
7476 Add new Unicode macros, missing Cygwin wide-char functions,
7477 convenience conversion macros for Qmswindows_tstr, macros for
7478 encapsulating required MSWin <-> Cygwin filename conversions,
7479 prototype for dynamically-extracted (not in NT 3.51) functions.
7484 * tooltalk.c (Fadd_tooltalk_message_arg):
7485 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
7486 * tooltalk.c (Fadd_tooltalk_pattern_arg):
7489 * tooltalk.c (syms_of_tooltalk):
7493 * unexnt.c (unexec):
7494 Fix up headers, declaration of unexec() to be more standard.
7496 2000-07-20 Martin Buchholz <martin@xemacs.org>
7498 * offix.h: Revert change to guard macros - they're used in offix.c!
7500 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7502 * lisp.h: Defsubred Fdelete.
7504 * console-msw.h: (msprinter_default_printer): Added.
7506 * console-msw.c (msprinter_canonicalize_console_connection):
7507 (msprinter_canonicalize_device_connection): Added.
7509 * device-msw.c (msprinter_default_printer):
7510 (Fmswingows_get_default_printer):
7511 (signal_enum_priner_error):
7512 (Fmswingows_printer_list): Added.
7514 2000-07-19 Martin Buchholz <martin@xemacs.org>
7516 * XEmacs 21.2.35 is released.
7518 2000-07-19 Martin Buchholz <martin@xemacs.org>
7520 * select-x.c (x_handle_selection_request):
7521 Text selected in xemacs and pasted into xterm failed to appear.
7522 Spelling fixes and cosmetic changes.
7524 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7526 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
7527 XEmacs frame (fix for doubling chars in dialog boxes).
7529 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7531 * select.c (select_convert_in, select_convert_out):
7532 Don't call intern() every time.
7534 * select.c (Qselect_convert_in, Qselect_convert_out): New.
7535 * select.c (vars_of_select): Initialise them.
7537 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7539 * select.c (selection-coercible-types): New.
7541 * select.c (own-selection-internal):
7542 * select.c (get-selection-internal):
7543 MULE bug fix - these should default to COMPOUND_TEXT and not
7544 STRING for MULE. I think.
7546 * select.c (select_convert_out): Use selection-coercible-types
7547 to find types that we can attempt to perform coercions on.
7549 2000-07-18 Martin Buchholz <martin@xemacs.org>
7553 Add coding: cookie to identify encoding.
7555 * mule-canna.c (CANNA_mode_keys): make static.
7556 Use proper prototypes, even for functions of no arguments.
7557 Remove external prototype for Fding().
7559 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
7561 * select.c (syms_of_select): Add missing DEFSUBR.
7563 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7565 * select.c (get_selection_internal, own_selection_internal):
7566 Make the type default to STRING, rather than placing a nil type
7567 into Vselection_alist.
7569 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7571 * gpmevent.c (tty_selection_exists_p):
7572 * gpmevent.c (tty_own_selection):
7573 Updated parameter lists.
7575 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
7577 * select.h (selection-alist): Removed declaration.
7579 * select.h (get_local_selection):
7580 * select.c (get_local_selection):
7583 * select.h (convert_selection): Removed declaration.
7584 * select.c (convert_selection): Removed.
7585 This function belongs in Lisp.
7587 * select.h (select_convert_in): Declare.
7588 * select.h (select_convert_out): Declare.
7589 * select.c (select_convert_in): New.
7590 * select.c (select_convert_out): New.
7591 New conversion functions for other files to call.
7593 * select.h (select_notify_buffer_kill): Declare.
7594 * select.c (select_notify_buffer_kill): New.
7595 New functions that get called from kill-buffer.
7597 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
7598 X-specific lisp code.
7600 * select.h: Declare some of the lisp-visible functions for
7603 * select.c (clean_local_selection_data): Removed. This was
7604 a disgusting function, and previously should have been in
7605 select-x.c in any case. The functionality is now provided
7606 in select-convert-from-integer (select.el).
7608 * select.c (available-selection-types): Fixed stupidity where
7609 INTEGER and ATOM got added twice. Also add STRING when we see an
7612 * select.c (get-selection-internal): Removed symbol stripping. No
7613 longer causes conversion when data comes from the internal cache.
7615 * select.c (syms_of_select): Added new functions.
7617 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
7618 error checking - previously this called abort!
7620 * select-x.c (x_own_selection): Changed comment.
7622 * select-x.c (x_handle_selection_request): Use select_convert_out.
7623 Don't mess with selection-alist; it's an internal variable of select.c.
7625 * select-x.c (x_get_foreign_selection): Use select_convert_in.
7627 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
7628 rather than messing with selection-alist.
7630 * select-msw.c (mswindows_get_foreign_selection):
7631 Use TO_INTERNAL_FORMAT rather than hacking.
7633 2000-07-14 Martin Buchholz <martin@xemacs.org>
7635 * process-unix.c (unix_open_multicast_group):
7636 (unix_open_multicast_group): Remove useless casts.
7638 2000-07-13 Martin Buchholz <martin@xemacs.org>
7640 * sound.c (Fplay_sound): Fix `unused variable' warning.
7642 * emacs.c (main): Use correct type for _environ on SCO5.
7644 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
7646 * console.h (own_selection_method):
7647 * console.h (selection_exists_p_method):
7648 * console.h (available_selection_types_method): New.
7649 * console.h (register_selection_data_type_method): New.
7650 * console.h (selection_data_type_name): New.
7652 * console-msw.h (mswindows_destroy_selection): Declare it. New
7653 function & alist to track GlobalAlloc()'d handles that need
7654 releasing when the clipboard data gets replaced or emptied.
7656 * event-msw.c (mswindows_wnd_proc): Call it.
7658 * lisp.h, general.c (Qappend): New symbol representing a
7661 * select.c (own-selection-internal):
7662 * select.c (selection-exists-p):
7663 * select.c (available-selection-types): New.
7664 * select.c (register-selection-data-type): New.
7665 * select.c (selection-data-type-name): New. New functions to deal
7666 with device-specific selection data formats.
7667 * select.c (selection-converter-out-alist): Renamed.
7668 * select.c (selection-converter-in-alist): New.
7669 * select.c (selection-appender-alist): New. Added new alists.
7670 * select.c (syms_of_select, vars_of_select): Added new symbols &
7672 * select.c (get_local_selection): Split.
7673 * select.c: Removed spurious type checking - selections may now be
7674 of any type, not just strings.
7675 * select.c (own-selection-internal):
7677 * select.h, select.c (convert_selection): New. Created
7678 convert_selection() function based on get_local_selection().
7679 * select.h, select.c (QCF_*): New symbols representing mswindows
7681 * select.h, select.c (Qreplace_all, Qreplace_existing): New
7682 symbols representing `how-to-add' modes.
7684 * select-msw.c (x_sym_p): New.
7685 * select-msw.c (symbol_to_ms_cf): New.
7686 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
7687 symbols & clipboard formats. Can also handle string names.
7688 * select-msw.c (mswindows_own_selection):
7689 * select-msw.c (mswindows_selection_exists_p):
7690 Added `data-type' parameter. Use it.
7691 * select-msw.c (mswindows_available_selection_types): New.
7692 * select-msw.c (mswindows_register_selection_data_type): New.
7693 * select-msw.c (mswindows_selection_data_type_name): New.
7694 * select-msw.c (mswindows_own_selection):
7695 * select-msw.c (mswindows_get_foreign_selection):
7696 * select-msw.c (mswindows_selection_exists_p): Rewrote.
7697 * select-msw.c (console_create_select_mswindows): Added new methods.
7698 * select-msw.c (mswindows_destroy_selection): New.
7699 * select-msw.c (Vhandle_alist): New list.
7700 * select-msw.c (mswindows_own_selection):
7702 * select-x.c (x_own_selection):
7703 * select-x.c (x_selection_exists_p):
7704 * select-x.c: Added some comments about maybe using new
7706 * select-x.c (x_own_selection):
7708 * specifier.c: Remove definition of Qappend (now in general.c)
7709 * specifier.c (syms_of_specifier): Remove Qappend.
7711 2000-07-12 Martin Buchholz <martin@xemacs.org>
7713 * config.h.in: Add socklen_t.
7715 * s/decosf4-0.h: No special compiler flags needed or desired.
7716 In particular, undefine _BSD for DEC OSF 4.0.
7718 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7720 * redisplay-msw.c (msprinter_frame_output_end): Added.
7721 (console_type_create_redisplay_mswindows): Referred the above.
7723 * frame.c (setup_frame_without_minibuffer): Do not create a
7724 default minibuffer frame on a printer device.
7726 * frame-msw.c (apply_dc_geometry): Added.
7727 (msprinter_start_page):
7728 (msprinter_init_frame_3):
7729 (msprinter_eject_page): Use it.
7731 * console-msw.h (struct msprinter_frame): Added pix_left and top,
7732 and removed residual duplex and orientation properties.
7734 2000-07-11 Martin Buchholz <martin@xemacs.org>
7736 * eval.c (function_argcount): Work around a DEC CC compiler bug.
7738 * unexalpha.c: Remove system prototypes from C sources!
7740 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
7742 * eval.c: Remove references to M-x edit-options in DEFUNs for
7743 `defvar' and `defconst'.
7745 2000-07-09 Martin Buchholz <martin@xemacs.org>
7747 * config.h.in: Remove SMART_INCLUDE hackery.
7750 * config.h.in: Don't use SMART_INCLUDE.
7752 * postgresql.h: Include libpq-fe.h here. Fix typo.
7753 * inline.c: Simply #include "postgresql.h"
7755 - Don't use SMART_INCLUDE
7756 - Use simply "const".
7757 - Use standard doc string conventions.
7758 - Use correct type for result of PQstatus.
7760 2000-07-09 Martin Buchholz <martin@xemacs.org>
7762 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
7764 C++ compilation changes.
7765 * config.h.in (EXTERN_C): Define.
7766 * config.h.in (not): This is also a C++ keyword.
7767 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
7768 * cm.c: Use EXTERN_C.
7769 * redisplay-tty.c: Use EXTERN_C.
7770 * sysdep.c: Use EXTERN_C. Remove Gould support.
7772 2000-07-09 Martin Buchholz <martin@xemacs.org>
7774 * general.c: Remove duplicate definition for Qfunction.
7776 2000-07-08 Ben Wing <ben@xemacs.org>
7778 * device-msw.c (msprinter_init_device):
7779 * device-msw.c (sync_printer_with_devmode):
7780 * device-msw.c (handle_devmode_changes):
7781 * device-msw.c (print_dialog_worker):
7782 * device-msw.c (Fmsprinter_apply_settings):
7783 * device-msw.c (hash_devmode):
7784 * device-msw.c (Fmsprinter_settings_despecialize):
7785 use Qmswindows_tstr, not Qctext.
7787 * vm-limit.c (check_memory_limits):
7788 avoid infinite loop printing warning messages.
7790 2000-07-05 Craig Lanning <lanning@scra.org>
7792 * Makefile.in.in: Add support for including the Windows resources
7793 when building with the cygwin and mingw targets.
7795 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
7796 not set or not correct.
7797 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
7798 (init_initial_directory): Don't try to use $PWD on the
7799 WIN32_NATIVE target.
7802 [[Add -mwindows to eliminate console window.]] not required --ben
7803 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7804 (MAIL_USE_POP): removed; now handled by configure.
7806 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
7807 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
7808 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7809 (MAIL_USE_POP): removed; now handled by configure.
7810 (ENCAPSULATE_STAT): from Dan Holmsand, added.
7811 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
7812 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
7814 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
7815 up from <winsock.h> via systime.h.
7816 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
7817 (getpagesize): from Dan Holmsand, added.
7818 Added #endif which was left dangling by Ben's mega patch; added
7819 comment to help prevent this in the future.
7821 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
7823 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7825 * console-msw.h (struct mswindows_device): Removed unnecessary
7826 cached device geometry values.
7827 Added update_tick and an accessor macro.
7828 (Lisp_Devmode): Added lrecord declaration.
7829 (struct msprinter_device): Contain devmode as a Lisp object.
7830 Added mswindows_get_selected_frame_hwnd();
7832 * console.h (struct console_methods): Indentation nitpicking.
7834 * device-msw.c (mswindows_init_device): Do not initialize geometry
7835 cache. Initialize update tick.
7836 (mswindows_device_system_metrics): Ask the device for its geometry.
7837 (global_free_2_maybe):
7838 (devmode_to_hglobal):
7839 (handle_printer_changes):
7840 (ensure_not_printing):
7841 (print_dialog_worker):
7842 (Fmsprinter_print_setup_dialog):
7843 (Fmsprinter_print_dialog):
7846 (Fmsprinter_page_setup_dialog): Added functions.
7847 (sync_printer_with_devmode):
7848 (handle_devmode_changes):
7849 (Fmsprinter_get_settings):
7850 (Fmsprinter_select_settings):
7851 (Fmsprinter_apply_settings):
7853 (Fmsprinter_settings_copy):
7854 (Fmsprinter_settings_despecialize):
7858 (hash_devmode): Added functions
7859 (syms_of_device_mswindows): Init devmode lrecord class.
7861 * device.h: Added an exfun for find-device.
7863 * event-msw.c (mswindows_wnd_proc): Do not update the cached
7864 geometry; although, recreate the device compatible DC.
7866 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
7867 (msprinter_init_frame_3):
7868 (msprinter_frame_property):
7869 (msprinter_internal_frame_property_p):
7870 (msprinter_frame_properties):
7871 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
7872 print job properties (will move to device settings).
7874 * lisp.h: Added symbols.
7876 * general.c (syms_of_general): Declared them.
7878 * hash.c (string_hash): Added.
7880 * lrecord.h (lrecord_type): Added devmode lrecord type.
7882 2000-07-02 Mike Sperber <mike@xemacs.org>
7884 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
7887 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
7889 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
7892 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
7894 * data.c (Fstring_to_number): Don't recognize floating point if
7897 2000-06-22 Martin Buchholz <martin@xemacs.org>
7899 * glyphs-widget.c (tab_control_query_geometry):
7900 (widget_query_geometry):
7901 (button_query_geometry):
7902 * glyphs.c (text_query_geometry):
7903 Enforce type correctness.
7905 2000-06-18 Martin Buchholz <martin@xemacs.org>
7907 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
7908 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
7910 2000-06-17 Martin Buchholz <martin@xemacs.org>
7912 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
7913 conflicts with gcc's fixincluded version of FOO.h.
7915 * glyphs.h (image_instance_geometry): Remove trailing `,'
7917 2000-06-08 Mike Alexander <mta@arbortext.com>
7919 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
7920 (shove_thread): Don't write the same output twice
7921 (make_ntpipe_output_stream): Increase priority of shove thread
7922 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
7924 (ntpipe_shove_closer): Don't delete the pipe until we're done with
7927 2000-06-12 Ben Wing <ben@xemacs.org>
7929 * s\mingw32.h (sigset):
7930 * s\windowsnt.h (sigset):
7931 rename msw_ to mswindows_ for consistency with general convention.
7933 2000-06-12 Ben Wing <ben@xemacs.org>
7936 * console-msw.c (mswindows_get_console_hwnd):
7937 * console-msw.c (mswindows_ensure_console_allocated):
7938 * console-msw.c (mswindows_hide_console):
7939 * console-msw.c (mswindows_show_console):
7940 * console-msw.c (mswindows_ensure_console_buffered):
7941 * console-msw.c (mswindows_output_console_string):
7942 * console-msw.c (mswindows_windows9x_p):
7944 * device-msw.c (mswindows_get_workspace_coords):
7945 * device-msw.c (mswindows_device_system_metrics):
7946 * dialog-msw.c (mswindows_popup_dialog_box):
7947 * event-msw.c (mswindows_wnd_proc):
7948 * frame-msw.c (mswindows_size_frame_internal):
7949 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7950 * menubar-msw.c (displayable_menu_item):
7951 * menubar-msw.c (mswindows_char_is_accelerator):
7953 * nt.c (mswindows_sigset):
7954 * nt.c (mswindows_sigrelse):
7955 * nt.c (mswindows_sigpause):
7956 * nt.c (mswindows_raise):
7957 * nt.c (timer_proc):
7959 * ntproc.c (find_child_console):
7960 * ntproc.c (sys_kill):
7962 * print.c (std_handle_out_external):
7963 * process-nt.c (find_child_console):
7964 * process-nt.c (send_signal_the_95_way):
7965 * process-nt.c (ensure_console_window_exists):
7966 * process-nt.c (nt_create_process):
7968 rename msw_ to mswindows_ for consistency with general convention.
7972 include nt.h, not syswindows.h.
7974 * nt.c (mswindows_fstat):
7975 * nt.c (mswindows_stat):
7976 prefix mswindows_ instead of attempting to directly override the
7977 library functions. fix declarations.
7980 include syswindows.h. move some sysdep.h stuff here.
7983 include syswindows.h, not <windows.h>.
7991 * sysdep.c (sys_fstat):
7992 * sysdep.c (sys_stat):
7993 call mswindows versions when appropriate.
7996 move mswin decls to nt.h.
7999 add long comment describing appropriate use of the various windows
8002 2000-06-11 Ben Wing <ben@xemacs.org>
8004 * device-x.c: Correct doc string for sixth arg of x-get-resource.
8006 2000-06-10 Ben Wing <ben@xemacs.org>
8008 * Makefile.in.in (release):
8009 Correction to make sure xemacs.exe always dumped when correct.
8013 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
8015 * buffer.c (set_buffer_internal):
8016 [[[[2]]]]: Remove HAVE_FEP code.
8018 * buffer.c (init_initial_directory):
8022 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
8026 * callproc.c (call_process_cleanup):
8027 * callproc.c (Fold_call_process_internal):
8028 * callproc.c (child_setup):
8029 * callproc.c (getenv_internal):
8030 * callproc.c (init_callproc):
8031 * callproc.c (vars_of_callproc):
8032 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
8033 __CYGWIN32__ -> CYGWIN.
8034 DOS_NT -> WIN32_NATIVE.
8035 Remove MSDOS support/references, converting to WIN32_NATIVE
8037 __MINGW32__ -> MINGW.
8038 Fix windows.h includes.
8039 Remove bogus HAVE_NTGUI.
8045 mswindows_message_outputted added for use in allowing startup
8046 errors on the console to be seen.
8048 * console-msw.c (msw_ensure_console_allocated):
8049 * console-msw.c (msw_output_console_string):
8050 * console-msw.c (DHEADER):
8051 * console-msw.c (DOPAQUE_DATA):
8052 * console-msw.c (DEVENT):
8053 * console-msw.c (DCONS):
8054 * console-msw.c (DCONSCDR):
8055 * console-msw.c (DSTRING):
8056 * console-msw.c (DVECTOR):
8057 * console-msw.c (DSYMBOL):
8058 * console-msw.c (DSYMNAME):
8061 * console-stream.c (stream_init_console):
8062 Fix text/binary problems.
8065 * device-msw.c (mswindows_finish_init_device):
8066 * device-msw.c (mswindows_delete_device):
8069 * device.c (handle_asynch_device_change):
8073 * dgif_lib.c (DGifOpenFileName):
8074 * dgif_lib.c (DGifOpenFileHandle):
8075 * dgif_lib.c (DGifGetLine):
8076 * dgif_lib.c (DGifGetPixel):
8077 Added config.h/lisp.h, fix up includes.
8084 * dired.c (file_name_completion):
8085 * dired.c (Ffile_attributes):
8086 * dired.c (syms_of_dired):
8090 * dumper.c (pdump_file_unmap):
8091 * dumper.c (pdump_load):
8095 * editfns.c (Ftemp_directory):
8096 * editfns.c (user_login_name):
8097 * editfns.c (Fuser_real_login_name):
8098 * editfns.c (get_home_directory):
8101 * elhash.c (finish_marking_weak_hash_tables):
8102 [[[[5]]]]: Fix GCC warnings.
8105 * emacs.c (mswindows_handle_hardware_exceptions):
8106 * emacs.c (make_arg_list_1):
8108 * emacs.c (Fkill_emacs):
8109 * emacs.c (Fdump_emacs):
8111 Fix problems with nested crashes, add long comment.
8113 * event-Xt.c (init_event_Xt_late):
8117 * event-msw.c (mswindows_dde_callback):
8118 * event-msw.c (mswindows_handle_sticky_modifiers):
8119 * event-msw.c (mswindows_wnd_proc):
8123 * events.c (character_to_event):
8127 * fileio.c (Ffile_name_directory):
8128 * fileio.c (Ffile_name_nondirectory):
8129 * fileio.c (directory_file_name):
8130 * fileio.c (Fexpand_file_name):
8131 * fileio.c (Fsubstitute_in_file_name):
8132 * fileio.c (Ffile_name_absolute_p):
8133 * fileio.c (check_executable):
8134 * fileio.c (Ffile_readable_p):
8135 * fileio.c (Ffile_accessible_directory_p):
8136 * fileio.c (Ffile_modes):
8137 * fileio.c (Funix_sync):
8138 * fileio.c (vars_of_fileio):
8141 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
8143 Expand getdefdir defn.
8144 Fix bogus rename() comment.
8146 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
8147 to use standard XEmacs include files, e.g. sysfile.h, rather
8148 than system-specific includes.
8154 * frame.c (vars_of_frame):
8158 * getloadavg.c (getloadavg):
8160 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
8161 (We don't use it elsewhere in the code; just add a comment.)
8168 * glyphs-msw.c (mswindows_resource_instantiate):
8171 * glyphs-x.c (x_native_layout_instantiate):
8174 * gui-msw.c (Fmswindows_shell_execute):
8183 * lread.c (locate_file_in_directory_mapper):
8190 * mem-limits.h (get_lim_data):
8202 * nt.c (rva_to_section):
8203 * nt.c (mswindows_executable_type):
8205 Fix closedir() defn.
8208 [[[[8]]]]: *_OK defs moved to sysfile.h.
8217 * print.c (std_handle_out_external):
8221 * process-nt.c (nt_create_process):
8223 try to fix process quoting somewhat.
8225 * process-unix.c (unix_create_process):
8229 * process.c (vars_of_process):
8236 * realpath.c (xrealpath):
8239 * redisplay-tty.c (init_tty_for_redisplay):
8249 * sheap.c (more_static_core):
8250 * sheap.c (report_sheap_usage):
8254 * signal.c (alarm_signal):
8261 * strftime.c (zone_name):
8264 * symsinit.h (init_sunpro):
8268 commctrl.h not in Cygwin b20.1.
8272 * sysdep.c (sys_subshell):
8273 * sysdep.c (init_baud_rate):
8274 * sysdep.c (emacs_get_tty):
8275 * sysdep.c (emacs_set_tty):
8276 * sysdep.c (tty_init_sys_modes_on_device):
8277 * sysdep.c (init_system_name):
8278 * sysdep.c (sys_open):
8279 * sysdep.c (interruptible_open):
8280 * sysdep.c (sys_fopen):
8281 * sysdep.c (sys_mkdir):
8282 * sysdep.c (sys_rename):
8283 * sysdep.c (get_process_times_1):
8290 * sysdir.h (DIRENTRY_NONEMPTY):
8293 * sysdll.c (dll_init):
8299 added text/binary defs.
8305 * sysproc.h (EDESTADDRREQ):
8306 * sysproc.h (poll_fds_for_input):
8323 Always define WIN32_LEAN_AND_MEAN.
8325 * unexcw.c (unexec):
8329 * unexec.c (copy_text_and_data):
8330 * unexec.c (adjust_lnnoptrs):
8334 * unexnt.c (_start):
8337 2000-06-07 Ben Wing <ben@xemacs.org>
8339 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
8340 was used only as a model. We've long since extracted any useful
8341 logic or code out of this. (I just did an exhaustive search.)
8343 * s\msdos.h: Removed.
8345 * s\windows95.h: Removed.
8347 2000-06-10 Ben Wing <ben@xemacs.org>
8351 Don't use extern with fun defs.
8355 Remove nt\inc include.
8356 Remove getdisk, getdefdir. (The former is unused, the latter
8357 expanded in fileio.h.)
8360 * s\windowsnt.h (WIN32_NATIVE):
8361 * s\windowsnt.h (HAVE_STRCASECMP):
8363 Add long comment about preprocessor changes.
8364 Remove getdisk, getdefdir. (The former is unused, the latter
8365 expanded in fileio.h.)
8367 2000-06-10 Ben Wing <ben@xemacs.org>
8376 Remove bogus/unused NO_SOCK_SIGIO.
8378 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
8380 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
8383 2000-06-04 Mike Sperber <mike@xemacs.org>
8385 * casetab.c (set_case_table): For `set-standard-case-table',
8386 actually deposit the new case tables where the rest of XEmacs can
8389 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
8391 * data.c (Faset): Don't cast XCHAR() to unsigned char.
8393 2000-06-05 Ben Wing <ben@xemacs.org>
8395 * callproc.c (child_setup): Don't do close_load_descs() under
8396 MS Windows. Put in a comment explaining why.
8398 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
8400 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
8401 Toolkit shell" which breaks `kill-compilation' on Windows NT
8402 native, retaining STDERR handling improvements.
8404 2000-06-01 Andreas Jaeger <aj@suse.de>
8406 * s/s390.h: Support for S390, based on a patch by Martin
8407 Schwidefsky <schwidefsky@de.ibm.com>.
8409 2000-05-30 Andy Piper <andy@xemacs.org>
8411 * window.c (allocate_window):
8412 (make_dummy_parent):
8413 (Fset_window_configuration): use new hashtable type.
8415 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
8416 (struct image_instantiator_methods):
8417 (struct Lisp_Image_Instance): make instance geometry signed.
8419 * glyphs.c (instantiate_image_instantiator):
8420 (image_instance_query_geometry):
8421 (image_instance_layout):
8422 (image_instance_layout):
8423 (query_string_geometry):
8424 (text_query_geometry):
8425 (image_instantiate):
8426 (image_instantiate):
8427 (cache_subwindow_instance_in_frame_maybe):
8428 (subwindow_query_geometry): make instance geometry signed.
8430 * glyphs-widget.c (widget_query_geometry):
8432 (button_query_geometry):
8433 (tree_view_query_geometry):
8434 (tab_control_query_geometry):
8435 (layout_query_geometry):
8437 (native_layout_layout): make instance geometry signed.
8439 2000-05-29 Olivier Galibert <galibert@pobox.com>
8441 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
8444 * general.c (syms_of_general): Add Qfull_assoc symbol.
8446 * data.c (finish_marking_weak_lists): Mark full-assoc lists
8448 (decode_weak_list_type): Decode full-assoc type.
8449 (encode_weak_list_type): Encode full-assoc type.
8450 (Fmake_weak_list): Update doc string.
8452 2000-05-30 Andy Piper <andy@xemacs.org>
8454 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
8456 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
8457 (decode_hash_table_weakness): ditto.
8458 (Fhash_table_weakness): ditto.
8459 (Fhash_table_type): ditto.
8460 (finish_marking_weak_hash_tables): ditto.
8461 (hash_table_weakness_validate): ditto.
8462 (syms_of_elhash): ditto.
8464 2000-05-28 Martin Buchholz <martin@xemacs.org>
8466 * XEmacs 21.2.34 is released.
8468 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8470 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
8472 (updating_line_start_cache): Gone.
8473 (regenerate_window): Replace resetting of VERTICAL_CLIP by
8474 generic code to force a minimum of 1 line laid out in the
8477 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8479 * glyphs.c (instantiate_image_instantiator): Check for initialized
8480 height & width no longer special cases IMAGE_NOTHING.
8481 (nothing_instantiate): Set height and width of instance.
8483 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8485 * unexelf.c (unexec): Search for ".data" section.
8486 Initialize new_data2_offset from old_data_index.
8487 Remove redundant check for ElfW.
8489 2000-05-23 Andy Piper <andy@xemacs.org>
8491 * glyphs.c (get_image_instantiator_governing_domain): allow more
8492 specific domains as the governing domain rather than expecting an
8493 exact match. This fixes problems with layouts.
8495 2000-05-22 Andy Piper <andy@xemacs.org>
8497 * redisplay-output.c (compare_runes): check for non-images
8499 * glyphs.c (set_glyph_dirty_p): ditto.
8500 (update_glyph_cachel_data): ditto.
8502 * glyphs-widget.c (layout_post_instantiate): ditto.
8503 (layout_post_instantiate): ditto.
8505 * event-msw.c (mswindows_wnd_proc): warning removal.
8507 2000-05-12 Craig Lanning <CraigL@DyCon.com>
8509 * s\mingw32.h: Added #undef for CLASH_DETECTION.
8511 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
8513 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
8515 * nt.c (rva_to_section): mingw32 needs rva_to_section.
8516 (mswindows_executable_type): mingw32 now has enough headers for
8519 2000-05-20 Andy Piper <andy@xemacs.org>
8521 * console-msw.c (mswindows_output_last_error): ; -> ,
8523 2000-05-12 Andy Piper <andy@xemacs.org>
8525 * console-msw.c (FROB): compare ints with ints.
8527 2000-05-11 Andy Piper <andy@xemacs.org>
8529 * glyphs-x.c (x_finalize_image_instance): make minimal build
8532 2000-05-20 Ben Wing <ben@xemacs.org>
8535 * event-Xt.c (vars_of_event_Xt):
8536 move modifier-keys-are-sticky to event-stream.c.
8539 * event-msw.c (mswindows_enqueue_mouse_button_event):
8540 * event-msw.c (key_needs_default_processing_p):
8541 * event-msw.c (XEMSW_LCONTROL):
8542 * event-msw.c (mswindows_handle_sticky_modifiers):
8543 * event-msw.c (FROB):
8544 * event-msw.c (clear_sticky_modifiers):
8545 * event-msw.c (output_modifier_keyboard_state):
8546 * event-msw.c (output_alt_keyboard_state):
8547 * event-msw.c (mswindows_wnd_proc):
8548 * event-msw.c (mswindows_modifier_state):
8549 * event-msw.c (emacs_mswindows_handle_magic_event):
8550 implement sticky modifiers.
8553 * event-stream.c (vars_of_event_stream):
8554 move modifier-keys-are-sticky here.
8560 implement map-range-table.
8563 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
8565 * redisplay-tty.c (reset_tty_modes):
8566 (tty_redisplay_shutdown): Adjust argument type to
8567 tty_frame_output_end.
8569 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8571 * eval.c (Fbacktrace): Don't output a line with only right
8574 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
8576 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
8577 (Fpq_reset_poll): Ditto.
8579 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
8581 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
8583 2000-05-16 Ben Wing <ben@xemacs.org>
8586 * buffer.c (dfc_convert_to/from_internal_format):
8587 * buffer.c (reinit_vars_of_buffer):
8588 Fix conversion functions to allow reentrancy.
8591 * console-msw.c (mswindows_output_last_error):
8592 New fun, generally useful -- output a human-readable
8593 version of GetLastError() on the console.
8596 * console-msw.h (struct mswindows_frame):
8597 Changes for DeferWindowPos. Declare mswindows_output_last_error().
8599 * console-stream.c (stream_output_begin):
8600 * console-stream.c (stream_output_end):
8601 * console-stream.c (stream_output_vertical_divider):
8602 * console-stream.c (stream_clear_region):
8603 * console-stream.c (stream_flash):
8604 * console-stream.c (console_type_create_stream):
8605 Delete blank stream methods, not needed.
8607 * console.h (struct console_methods):
8608 Split begin/end methods into window and frame.
8611 * event-msw.c (mswindows_handle_paint):
8612 * event-msw.c (output_alt_keyboard_state):
8613 * event-msw.c (mswindows_wnd_proc):
8614 * event-msw.c (vars_of_event_mswindows):
8615 Comment about problems with ignored-expose.
8616 Define mswindows-debug-events; not really implemented.
8618 * frame-msw.c (mswindows_init_frame_1):
8622 * glyphs-msw.c (begin_defer_window_pos):
8623 * glyphs-msw.c (mswindows_unmap_subwindow):
8624 * glyphs-msw.c (mswindows_map_subwindow):
8625 * glyphs-msw.c (mswindows_resize_subwindow):
8626 Use DeferWindowPos to reduce flashing when mapping/unmapping.
8628 * glyphs.c (make_image_instance_1):
8631 * gutter.c (Fredisplay_gutter_area):
8632 Use new begin/end methods.
8634 * lisp.h (Dynarr_new2):
8638 * redisplay-msw.c (mswindows_frame_output_begin):
8639 * redisplay-msw.c (mswindows_frame_output_end):
8640 * redisplay-msw.c (console_type_create_redisplay_mswindows):
8641 New begin/end methods -- handle DeferWindowPos.
8643 * redisplay-output.c (redisplay_move_cursor):
8644 * redisplay-output.c (redraw_cursor_in_window):
8645 * redisplay-output.c (redisplay_update_line):
8646 * redisplay-output.c (redisplay_output_window):
8647 New begin/end methods.
8650 * redisplay-tty.c (tty_frame_output_begin):
8651 * redisplay-tty.c (tty_frame_output_end):
8652 * redisplay-tty.c (console_type_create_redisplay_tty):
8653 New begin/end methods.
8656 * redisplay-x.c (x_window_output_begin):
8657 * redisplay-x.c (x_window_output_end):
8658 * redisplay-x.c (console_type_create_redisplay_x):
8659 New begin/end methods.
8661 * redisplay.c (redisplay_frame):
8662 * redisplay.c (Fredisplay_echo_area):
8663 New begin/end methods.
8664 use MAYBE_DEVMETH for clear_frame; it may not exist.
8666 * window.h (WINDOW_XFRAME):
8667 WINDOW_XFOO macros -- get locale and decode struct pointer.
8670 2000-05-12 Ben Wing <ben@xemacs.org>
8673 * emacs.c (ensure_no_quitting_from_now_on):
8674 * emacs.c (fatal_error_signal):
8675 * emacs.c (mswindows_handle_hardware_exceptions):
8677 * emacs.c (Fkill_emacs):
8678 * emacs.c (shut_down_emacs):
8679 * emacs.c (assert_failed):
8680 various improvements in fatal error handling.
8683 move preparing_for_armageddon to emacs.c.
8686 declare fatal_error_in_progress.
8689 * print.c (std_handle_out_external):
8690 * print.c (std_handle_out_va):
8691 * print.c (stderr_out):
8692 * print.c (stdout_out):
8693 use console under mswin when no standard output.
8694 don't do code conversion during fatal error.
8696 * scrollbar.c (Fscrollbar_page_up):
8697 * scrollbar.c (Fscrollbar_page_down):
8698 fix missing else. reindent.
8700 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
8704 * glyphs.h (GLYPH_CACHEL_DESCENT):
8705 (GLYPH_CACHEL_DESCENT):
8706 (GLYPH_CACHEL_DESCENT):
8707 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
8708 used in case these are inline functions.
8709 Use more absurd values to error check.
8711 include window.h for error check functions.
8713 2000-05-11 Ben Wing <ben@xemacs.org>
8715 * cmdloop.c (Freally_early_error_handler):
8716 Display message box under windows; otherwise, message will disappear
8717 before it can be viewed.
8720 * console-msw.c (Fmswindows_message_box):
8721 * console-msw.c (FROB):
8722 * console-msw.c (syms_of_console_mswindows):
8723 Define new fun `mswindows-message-box'.
8724 #### I will merge this into `popup-dialog-box'; just give me
8728 * general.c (syms_of_general):
8729 Some new symbols used in `mswindows-message-box'.
8732 * glyphs.c (Fset_image_instance_property):
8733 put warning in this fun.
8736 * glyphs.h (GLYPH_CACHEL_WIDTH):
8737 * glyphs.h (GLYPH_CACHEL_ASCENT):
8738 * glyphs.h (GLYPH_CACHEL):
8739 * glyphs.h (GLYPH_CACHEL_GLYPH):
8740 define error-checking versions to try to catch a bug i've seen --
8741 redisplay gets in an infinite loop because the glyph width of the
8742 continuation glyph is 65535.
8745 Extern message-box stuff.
8747 * window.c (allocate_window):
8748 * window.c (make_dummy_parent):
8749 * window.c (Fset_window_configuration):
8750 Use EQUAL not EQ for subwindow caches to make them work a bit
8751 better. (Something is still very broken.)
8754 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8756 * glyphs.c (image_instantiate): Suppress gcc warnings.
8757 (Fmake_image_instance): Fix doc string.
8758 * specifier.c (Fmake_specifier): Ditto.
8760 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
8762 * paths.h.in (PATH_LOCK): Removed.
8763 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
8764 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
8766 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8768 * fns.c (Ffeaturep): Update e-mail address in doc-string.
8769 Document (featurep '(and xemacs 21.02)).
8771 2000-05-09 Ben Wing <ben@xemacs.org>
8773 * buffer.c (complex_vars_of_buffer):
8774 update modeline-format doc.
8777 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
8780 timeline of all released versions of Emacs, for use in creating
8781 authorship comments and in synching up.
8783 * glyphs-widget.c (image_instantiator_buttons):
8784 * glyphs-widget.c (image_instantiator_edit_fields):
8785 * glyphs-widget.c (image_instantiator_combo_box):
8786 * glyphs-widget.c (image_instantiator_scrollbar):
8787 * glyphs-widget.c (image_instantiator_progress_guage):
8788 * glyphs-widget.c (image_instantiator_tree_view):
8789 * glyphs-widget.c (image_instantiator_tab_control):
8790 * glyphs-widget.c (image_instantiator_labels):
8791 * glyphs-widget.c (image_instantiator_layout):
8792 * glyphs-widget.c (image_instantiator_native_layout):
8793 rename decode_domain method to governing_domain.
8796 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
8797 * glyphs.c (add_entry_to_device_ii_format_list):
8798 make sure we don't put an entry more than once into the list.
8799 * glyphs.c (check_instance_cache_mapper):
8800 *************************************************************
8801 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
8803 *************************************************************
8804 * glyphs.c (get_image_instantiator_governing_domain):
8805 clean up, expand on new concept of governing domain.
8806 * glyphs.c (instantiate_image_instantiator):
8807 * glyphs.c (allocate_image_instance):
8808 use governing_domain instead of cache_domain in naming.
8809 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
8810 * glyphs.c (make_image_instance_1):
8811 * glyphs.c (Fmake_image_instance):
8812 allow for any domain (not just device), and process the
8813 governing domain correctly. very big doc fix.
8814 * glyphs.c (Fimage_instance_domain):
8815 new primitive, to retrieve the governing domain of an image instance.
8816 * glyphs.c (image_instantiate):
8817 use new governing_domain stuff. this fixes a crash you could get
8818 by instantiating certain widget glyphs in frame locales. (should
8819 signal an error instead of crashing.)
8820 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
8821 * glyphs.c (Fglyphp): clean up doc.
8822 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
8823 * glyphs.c (syms_of_glyphs):
8824 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
8825 * glyphs.c (image_instantiator_format_create): add some comments about
8827 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
8828 for current-display-table. (Apparently Hrjove implemented in 1998 a
8829 design I wrote up in 1996, but didn't update the doc string.)
8831 * glyphs.h: clean up a doc string.
8832 * glyphs.h (governing_domain):
8833 * glyphs.h (struct image_instantiator_methods):
8834 changes for governing_domain stuff.
8837 * gutter.c (Fgutter_specifier_p):
8838 * gutter.c (Fgutter_size_specifier_p):
8839 * gutter.c (Fgutter_visible_specifier_p):
8841 * objects.c (Fcolor_specifier_p):
8842 * objects.c (Ffont_specifier_p):
8843 * objects.c (Fface_boolean_specifier_p):
8844 doc strings moved to make-*-specifier.
8846 * redisplay.c (add_disp_table_entry_runes_1):
8847 * redisplay.c (generate_fstring_runes):
8848 * redisplay.c (screen):
8849 add random comments and doc strings.
8852 * specifier.c (Fmake_specifier):
8853 major overhaul of this doc string.
8855 * specifier.c (Fvalid_specifier_domain_p):
8856 comment about the bogosity of image instances being domains.
8857 * specifier.c (decode_domain):
8858 now non-static, used in glyphs.c.
8859 * specifier.c (specifier_instance):
8860 comment about the bogosity of image instances being domains.
8861 * specifier.c (Fgeneric_specifier_p):
8862 move doc string to make-generic-specifier.
8863 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
8867 * specifier.h (DOMAIN_FRAME):
8868 * specifier.h (DOMAIN_LIVE_P):
8869 * specifier.h (DOMAIN_XDEVICE):
8871 add comments about problems with these macros.
8872 prototype for decode_domain.
8875 * toolbar.c (Ftoolbar_specifier_p):
8876 move doc string to `make-toolbar-specifier'.
8878 * window.c (window_unmap_subwindows_cache_mapper):
8879 *************************************************************
8880 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
8882 *************************************************************
8884 2000-05-09 Andy Piper <andy@xemacs.org>
8886 * glyphs.h: declare reset_frame_subwindow_instance_cache.
8888 * window.c (Fset_window_configuration): reset the frame subwindow
8889 cache and re-initialize the window subwindow caches.
8891 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
8893 2000-05-09 Ben Wing <ben@xemacs.org>
8895 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
8898 2000-04-26 Mike Woolley <mike@bulsara.com>
8900 * ntheap.c: Changed recreate_heap to limit the amount reserved
8901 for the heap to that which is actually available. Also now
8902 displays a message box (with some dignostics) in the event that
8903 it still can't start.
8905 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
8907 * callproc.c (Fold_call_process_internal): GCPRO path
8909 2000-05-08 Jan Vroonhof <jan@xemacs.org>
8911 Patch by Bill Perry.
8913 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
8914 back data instead of #ifdef.
8915 (Fscrollbar_page_down): ditto.
8917 2000-05-07 Ben Wing <ben@xemacs.org>
8920 Kludge for defining Qmswindows_tstr.
8923 * nt.c (open_input_file):
8924 * nt.c (open_output_file):
8925 * nt.c (rva_to_section):
8926 * nt.c (mswindows_executable_type):
8927 Move all memory-mapped-file routines here (some were in unexnt.c,
8928 which is bad because they are used by process-nt.c, and unexnt
8929 won't be around when portable dumping). Synched the above routines
8933 Removed ifdef'd out bogus code.
8934 Fixed some prototypes.
8937 * nt.h (OFFSET_TO_RVA):
8938 * nt.h (RVA_TO_OFFSET):
8939 * nt.h (RVA_TO_PTR):
8940 Moved the memory-mapped-file structures, macros and prototypes
8941 here, to parallel nt.c. ntheap.h should really be removed
8942 entirely, and it's a non-portable-dumper specific file.
8944 * ntheap.h (round_to_next):
8945 Moved the memory-mapped-file structures, macros and prototypes
8948 * ntproc.c (compare_env):
8949 Moved rva_to_section and mswindows_executable_type to nt.c.
8950 Moved compare_env to process-nt.c.
8951 ntproc.c will die, one day.
8953 * ntproc.c (sys_spawnve):
8954 Account for win32_ -> mswindows_.
8957 * process-nt.c (struct nt_process_data):
8958 * process-nt.c (ensure_console_window_exists):
8959 * process-nt.c (compare_env):
8960 * process-nt.c (nt_create_process):
8961 * process-nt.c (nt_kill_process_by_pid):
8962 * process-nt.c (syms_of_process_nt):
8963 * process-nt.c (vars_of_process_nt):
8964 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
8965 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
8966 changes). Eliminate our old `nt-quote-process-args' mechanism.
8967 Synch up nt_create_process with FSF 20.6 sys_spawnve.
8968 Move compare_env here from ntproc.c.
8970 * process.c (Fprocess_send_region):
8971 Takes an optional fourth argument, BUFFER, which should fix some
8972 problems with call-process.
8975 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
8978 Move ICC_BAR_CLASSES to syscommctrl.h.
8979 Add preliminary macros for MSWindows/Mule. More to come.
8982 * unexnt.c (unexec):
8983 open_output_file moved to nt.c.
8986 2000-05-05 Andy Piper <andy@xemacs.org>
8988 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
8989 instance from the frame cache also since GC may catch up too late
8990 to make frame deletion sane.
8992 2000-05-04 Andy Piper <andy@xemacs.org>
8994 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
8995 (x_finalize_image_instance): ungcpro on deletion.
8997 * glyphs.c (image_instantiator_format_create): give pointers a
8998 query geometry method so that the geometry is at least set.
9000 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
9001 initialize layouts if using widgets.
9003 2000-05-03 Andy Piper <andy@xemacs.org>
9005 * nt.c: remove bogus reference to sysmmsystem.h
9007 * gui-x.c (popup_selection_callback): fix no selection abort.
9009 2000-05-02 Andy Piper <andy@xemacs.org>
9011 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
9012 (mswindows_widget_instantiate): ditto.
9014 * glyphs-widget.c (initialize_widget_image_instance): initialize
9016 (widget_instantiate): cope with children and items in the same
9019 * glyphs.c (mark_image_instance): cope with children as a first
9021 (image_instance_equal): ditto.
9022 (image_instance_hash): ditto.
9023 (image_instance_changed): ditto.
9025 2000-04-30 Andy Piper <andy@xemacs.org>
9027 * glyphs.c (subwindow_query_geometry): new function. Return some
9029 (subwindow_instantiate): don't assign dimensions if none have been
9031 (image_instantiator_format_create): add subwindow_query_geometry.
9032 (print_image_instance): cope with layouts as widgets.
9034 2000-04-29 Andy Piper <andy@xemacs.org>
9036 * frame.c (delete_frame_internal): call
9037 free_frame_subwindow_instance_cache so that all subwindows are
9038 finalized before their parent.
9039 (mark_frame): remove subwindow_cachels.
9040 (Fmake_frame): remove subwindow_cachel manipulation.
9041 (allocate_frame_core): subwindow_instance_cache is a weak list.
9042 (delete_frame_internal): set subwindow_instance_cache to nil.
9044 * glyphs-msw.c (mswindows_finalize_image_instance): make double
9046 (mswindows_finalize_image_instance): use the device
9047 not the domain as the domain may have died already.
9049 * glyphs-x.c (x_finalize_image_instance): ditto.
9050 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
9053 * redisplay-output.c (redisplay_unmap_subwindows): update for
9054 subwindow instance cache as a weak list.
9055 (redisplay_unmap_subwindows_maybe): ditto.
9056 (redisplay_unmap_subwindows_except_us): ditto.
9058 * glyphs.c (unmap_subwindow): error checking will check the domain
9059 so don't deal with it here. Don't use cachels anymore.
9060 (map_subwindow): ditto.
9061 (update_subwindow_cachel_data): remove old accessor names.
9062 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
9063 (Fresize_subwindow): don't update cachel.
9064 (mark_subwindow_cachels):
9065 (update_subwindow_cachel_data):
9066 (add_subwindow_cachel):
9067 (get_subwindow_cachel_index):
9068 (update_subwindow_cachel):
9069 (reset_subwindow_cachels):
9070 (mark_subwindow_cachels_as_not_updated): deleted.
9071 (cache_subwindow_instance_in_frame_maybe): new function. Add a
9072 subwindow instance to the frame cache.
9073 (find_matching_subwindow): update for subwindow instance cache as
9075 (update_widget_instances): ditto.
9076 (image_instance_type_to_mask):inlined.
9077 (free_frame_subwindow_instance_cache): new function. finalize all
9078 subwindows that are instantiated.
9080 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
9081 of cachel information.
9082 (IMAGE_INSTANCE_DISPLAY_X):
9083 (IMAGE_INSTANCE_DISPLAY_Y):
9084 (IMAGE_INSTANCE_DISPLAY_WIDTH):
9085 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
9086 (XIMAGE_INSTANCE_DISPLAY_X):
9087 (XIMAGE_INSTANCE_DISPLAY_Y):
9088 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
9089 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
9090 remove subwindow_cachel structure and function references.
9091 (image_instance_type_to_mask): inline from glyphs.c
9093 * redisplay.c (redisplay_frame): remove subwindow_cachel
9096 * frame.h (struct frame): remove subwindow_cachels.
9097 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
9099 * frameslots.h: add subwindow_instance_cache.
9101 * window.c (replace_window): check subwindow cache of replacement.
9102 (window_unmap_subwindows_cache_mapper):
9103 (window_unmap_subwindows): new functions. Unmap all subwindows
9104 cached on this window.
9105 (mark_window_as_deleted): unmap all subwindows.
9107 2000-04-27 Andy Piper <andy@xemacs.org>
9109 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
9111 * glyphs-widget.c (widget_layout): return something.
9112 (layout_layout): return something. Fail if not initialized.
9113 (layout_query_geometry): ditto.
9114 (image_instantiator_native_layout): new function. Initialized the
9116 (widget_instantiate): don't do layout stuff here.
9118 * glyphs.c (instantiate_image_instantiator): reorded calling or
9119 instantiate and post_instantiate with layout in between.
9120 (image_instance_layout): be more selective about deciding whether
9121 the layout has been done or not.
9123 * glyphs.h (struct image_instantiator_methods): return a value
9126 2000-04-26 Andy Piper <andy@xemacs.org>
9128 * glyphs.c (allocate_image_instance): make initial width and
9129 height unspecified. Set initialized to 0.
9131 * syscommctrl.h new file. Encapsulates commctrl.h.
9133 * syswindows.h new file. Encapsulates windows.h.
9135 * ntplay.c: use new syswindows.h and syscommctrl.h header.
9137 * console-msw.h: ditto.
9139 * redisplay-tty.c (tty_output_display_block): remove layout references.
9141 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
9142 window handle rather than just the frame.
9144 * glyphs.c (mark_image_instance): remove layout references.
9145 (print_image_instance): ditto.
9146 (image_instance_equal): ditto.
9147 (image_instance_hash): ditto.
9148 (decode_image_instance_type): ditto.
9149 (encode_image_instance_type): ditto.
9150 (image_instantiate): ditto.
9151 (allocate_glyph): ditto.
9152 (Fimage_instance_height): ditto.
9153 (Fimage_instance_width): ditto.
9154 (update_subwindow): ditto.
9156 * redisplay-x.c (x_output_display_block): recode for layouts as
9159 * redisplay-output.c (redisplay_output_layout): recode for layouts
9161 (compare_runes): remove layout references.
9163 * redisplay-msw.c (mswindows_output_display_block): recode for
9166 * glyphs-widget.c (image_instantiator_layout): remove
9167 layout_possible_dest_types.
9168 (layout_possible_dest_types): deleted.
9170 * glyphs.h (image_instance_type): remove layout references.
9171 (struct Lisp_Image_Instance): ditto. Add initialized flag.
9172 (IMAGE_INSTANCE_INITIALIZED): new accessor.
9173 (XIMAGE_INSTANCE_INITIALIZED): ditto.
9175 2000-04-25 Andy Piper <andy@xemacs.org>
9177 * glyphs-widget.c (image_instantiator_buttons):
9178 (image_instantiator_edit_fields):
9179 (image_instantiator_combo_box):
9180 (image_instantiator_scrollbar):
9181 (image_instantiator_progress_guage):
9182 (image_instantiator_tree_view):
9183 (image_instantiator_tab_control):
9184 (image_instantiator_labels):
9185 (image_instantiator_layout): call default post_instantiate method.
9186 (widget_post_instantiate): new function. Simply lays out the
9189 * glyphs.h (struct image_instantiator_methods): add
9190 post_instantiate method.
9192 * glyphs.c (instantiate_image_instantiator): add post_instantiate
9195 2000-04-23 Andy Piper <andy@xemacs.org>
9197 * glyphs.h (struct image_instantiator_methods): add
9198 decode_domain_method.
9199 (struct Lisp_Image_Instance): remove subwindow frame - it can be
9200 derived from the domain.
9201 (IMAGE_INSTANCE_FRAME): new accessor.
9202 (XIMAGE_INSTANCE_FRAME): ditto.
9204 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
9205 instead of _SUBWINDOW_FRAME.
9206 (finalize_image_instance): ditto.
9207 (Fimage_instance_foreground): ditto.
9208 (Fimage_instance_background): ditto.
9209 (image_instantiate): ditto.
9210 (update_subwindow_cachel): ditto.
9211 (update_subwindow): ditto.
9212 (unmap_subwindow): ditto.
9213 (map_subwindow): ditto
9214 (subwindow_instantiate): ditto.
9215 * glyphs-msw.c (mswindows_update_widget): ditto.
9216 (mswindows_progress_gauge_instantiate): ditto.
9217 (mswindows_tab_control_update): ditto.
9218 * glyphs-x.c (x_update_widget): ditto.
9219 (x_widget_instantiate): ditto.
9220 (x_tab_control_instantiate): ditto.
9221 (x_tab_control_update): ditto.
9222 * event-msw.c (mswindows_wnd_proc): ditto
9224 * glyphs-widget.c (image_instantiator_layout): use
9225 subwindow_decode_domain.
9226 (image_instantiator_buttons): ditto.
9227 (image_instantiator_edit_fields): ditto.
9228 (image_instantiator_combo_box): ditto.
9229 (image_instantiator_scrollbar): ditto.
9230 (image_instantiator_progress_guage): ditto.
9231 (image_instantiator_tree_view): ditto.
9232 (image_instantiator_tab_control): ditto.
9233 (image_instantiator_labels): ditto.
9234 (image_instantiator_layout): ditto.
9236 * glyphs.c: add instance error checking to many functions.
9237 (instantiate_image_instantiator): decode device from cache_domain.
9238 (image_instantiate): partially rewrite by using
9239 decode_image_instantiator_domain to determine what domain the
9240 instance needs to be cached in.
9241 (decode_image_instantiator_domain): new function. Determine what
9242 domain the image needs to be cached in.
9243 (check_window_subwindow_cache): new error checking function.
9244 (check_instance_cache_mapper): ditto.
9245 (check_image_instance_structure): ditto.
9246 (subwindow_decode_domain): new function. Encodes a window as a
9247 subwindow's cache domain.
9248 (image_instantiator_format_create): use it for text and
9251 2000-04-21 Andy Piper <andy@xemacs.org>
9253 * glyphs.c (image_instance_device): new function.
9254 (image_instance_frame): new function.
9255 (image_instance_window): new function.
9256 (image_instance_live_p): new function.
9258 * window.c (mark_window_as_deleted): reset the subwindow_instance_
9261 * glyphs.h (struct Lisp_Image_Instance): device->domain.
9262 (IMAGE_INSTANCE_DOMAIN): new accessor.
9263 (XIMAGE_INSTANCE_DOMAIN): ditto.
9265 * glyphs-x.c (x_finalize_image_instance): device->domain.
9267 * glyphs-msw.c (init_image_instance_geometry): device->domain.
9268 (mswindows_finalize_image_instance): ditto.
9270 * glyphs-eimage.c (jpeg_instantiate): device->domain.
9271 (gif_instantiate): ditto.
9272 (png_instantiate): ditto.
9273 (tiff_instantiate): ditto.
9275 * glyphs.c (instantiate_image_instantiator): use domain rather
9277 (mark_image_instance): device -> domain.
9278 (print_image_instance): ditto.
9279 (finalize_image_instance): ditto.
9280 (image_instance_equal): ditto.
9281 (allocate_image_instance): ditto.
9282 (Fcolorize_image_instance): ditto.
9283 (query_string_geometry): ditto.
9284 (image_instantiate): ditto
9285 (query_string_font): ditto.
9286 (image_instantiate): ditto.
9287 (update_subwindow): ditto.
9288 (unmap_subwindow): ditto.
9289 (map_subwindow): ditto.
9290 (subwindow_instantiate): ditto.
9292 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
9293 (DOMAIN_FRAME): ditto.
9294 (DOMAIN_WINDOW): ditto.
9295 (DOMAIN_LIVE_P): ditto.
9296 (XDOMAIN_DEVICE): ditto.
9297 (XDOMAIN_FRAME): ditto.
9298 (XDOMAIN_WINDOW): ditto.
9300 * specifier.c (Fvalid_specifier_domain_p): add image instances as
9301 a valid specifier domain.
9303 2000-04-19 Andy Piper <andy@xemacs.org>
9305 * glyphs-widget.c (syms_of_glyphs_widget): remove
9306 widget-callback-current-channel.
9307 (vars_of_glyphs_widget): ditto.
9310 * gui.c (get_gui_callback): revert to previous behaviour.
9312 2000-04-18 Andy Piper <andy@xemacs.org>
9314 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
9315 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
9316 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
9318 * glyphs.c (image_instance_equal): add margin_width.
9319 (image_instance_hash): ditto.
9321 * glyphs-widget.c (widget_instantiate): deal with margin-width.
9322 (layout_query_geometry): ditto.
9323 (layout_layout): ditto.
9324 (syms_of_glyphs_widget): add margin-width.
9325 (image_instantiator_layout): allow margin-width.
9327 * glyphs.c (update_widget_instances): make a normal function.
9328 (syms_of_glyphs): remove Qupdate_widget_instances.
9331 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
9332 so that we don't corrupt ideas about the last event or
9333 command. Remove widget-callback-current-channel fiddling.
9334 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9336 2000-05-01 Martin Buchholz <martin@xemacs.org>
9338 * XEmacs 21.2.33 is released.
9340 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
9342 * make-src-depend: Allow dots in header file name.
9344 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
9346 * mule-charset.h (struct charset_lookup): Add
9347 next_allocated_1_byte_leading_byte and
9348 next_allocated_2_byte_leading_byte.
9349 * mule-charset.c: Move above two variables so that those values
9352 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
9354 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
9355 when string length is zero.
9356 (find_charsets_in_emchar_string): Ditto.
9358 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
9360 * lisp.h: extern Qdialog and Qmenubar.
9362 * gui-x.c: added events.h.
9363 also fixed typo which made the file uncompilable.
9365 * general.c: Added Qmenubar and Qdialog
9367 2000-04-28 Ben Wing <ben@xemacs.org>
9369 * frame-msw.c (mswindows_init_frame_1):
9370 * frame-msw.c (mswindows_mark_frame):
9371 * event-msw.c (mswindows_enqueue_dispatch_event):
9373 * console-msw.h (struct mswindows_frame):
9374 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
9375 there are now three hash tables for callbacks.
9376 mswindows_enqueue_dispatch_event is no longer static.
9378 * dialog-x.c (maybe_run_dbox_text_callback):
9379 * dialog-x.c (dbox_descriptor_to_widget_value):
9380 switch to new cons3 form for callbacks.
9382 * glyphs-msw.c (mswindows_register_gui_item):
9383 * glyphs-msw.c (mswindows_widget_instantiate):
9384 * glyphs-msw.c (add_tree_item):
9385 * glyphs-msw.c (add_tab_item):
9386 new image instance parameter, so it can be passed to callback-ex.
9387 respect :callback-ex as well as :callback.
9389 * glyphs-widget.c (VALID_GUI_KEYWORDS):
9392 * glyphs.c (print_image_instance):
9393 prettify, e.g. now prints widget type.
9396 certain funs have new image instance parameter.
9399 * gui.c (get_gui_callback):
9400 * gui.c (gui_item_add_keyval_pair):
9401 * gui.c (gui_item_init):
9402 * gui.c (gui_add_item_keywords_to_plist):
9403 * gui.c (mark_gui_item):
9404 * gui.c (gui_item_hash):
9405 * gui.c (gui_item_equal):
9406 * gui.c (copy_gui_item):
9407 * gui.c (syms_of_gui):
9408 recognize callback-ex in a number of places.
9409 also, fix the annoying "can't get out of yes-no dialog" bug.
9412 * gui.h (struct Lisp_Gui_Item):
9413 recognize callback-ex in a number of places.
9415 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9416 new parameter in button_item_to_widget_value.
9418 * glyphs-x.c (x_update_widget):
9419 * glyphs-x.c (x_button_instantiate):
9420 * glyphs-x.c (x_button_update):
9421 * glyphs-x.c (x_progress_gauge_instantiate):
9422 * glyphs-x.c (x_edit_field_instantiate):
9423 * glyphs-x.c (x_combo_box_instantiate):
9424 * glyphs-x.c (x_tab_control_instantiate):
9425 * glyphs-x.c (x_label_instantiate):
9426 new image instance parameter in various places.
9429 * event-Xt.c (enqueue_Xt_dispatch_event):
9430 this fun gets exported.
9433 * gui-msw.c (mswindows_handle_gui_wm_command):
9434 handle both :callback and :callback-ex, and generate our own
9435 event because it's one of the callback-ex arguments.
9438 * gui-x.c (popup_selection_callback):
9439 handle both :callback and :callback-ex, and generate our own
9440 event because it's one of the callback-ex arguments.
9441 * gui-x.c (button_item_to_widget_value):
9442 * gui-x.c (gui_items_to_widget_values_1):
9443 * gui-x.c (gui_item_children_to_widget_values):
9444 * gui-x.c (gui_items_to_widget_values):
9445 new image instance parameter in various places.
9447 * fns.c (Freplace_list):
9448 fix small typo in doc string.
9451 declare enqueue_Xt_dispatch_event.
9453 2000-04-28 Ben Wing <ben@xemacs.org>
9456 * buffer.c (Frecord_buffer):
9457 * buffer.c (syms_of_buffer):
9458 delete record-buffer-hook.
9461 * fns.c (Freplace_list):
9462 * fns.c (syms_of_fns):
9463 new primitive replace-list.
9466 slot for old buffer-alist.
9472 * redisplay.c (redisplay_frame):
9473 * redisplay.c (syms_of_redisplay):
9474 * redisplay.c (vars_of_redisplay):
9475 new hook buffer-list-changed-hook.
9478 2000-04-27 Ben Wing <ben@xemacs.org>
9480 * extents.h: extern in_modeline_generation.
9482 * redisplay.c (generate_formatted_string_db): set
9483 in_modeline_generation.
9485 * extents.c (extent_changed_for_redisplay): don't mark redisplay
9486 flags if in modeline generation. otherwise frame-modified-tick
9487 is ticked far too often.
9488 Declare in_modeline_generation.
9490 2000-04-26 Ben Wing <ben@xemacs.org>
9492 * emacs.c (vars_of_emacs): document quick-build "error-checking"
9494 (vars_of_emacs): add quick-build as an error-checking option.
9495 A bit kludgy, but there doesn't seem much point in creating
9496 a real var for this.
9498 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
9500 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
9502 * redisplay.h (struct display_line): Add a new variable,
9505 * redisplay.c (create_text_block): Set dl->line_continuation if
9507 (create_string_text_block): Ditto.
9508 (regenerate_window_incrementally): Use line_continuation instead
9509 of searching continuation glyph.
9510 (add_margin_runes): Call add_glyph_rune.
9511 (add_glyph_rune): Handle margin glyph.
9513 2000-04-20 Martin Buchholz <martin@xemacs.org>
9515 * filelock.c (fill_in_lock_file_name):
9517 Check for IS_ANY_SEP instead of '/'.
9519 Avoid generating gratuitous garbage. Call user_login_name() directly.
9520 Never check errno without first seeing that system call failed.
9521 (unlock_file): Add GCPRO.
9522 (Flock_buffer): Fix docstring.
9523 (Ffile_locked_p): Fix docstring. Add GCPRO.
9525 2000-04-19 Martin Buchholz <martin@xemacs.org>
9527 * sysdep.c (get_pty_max_bytes):
9528 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
9529 strings longer than 252 bytes.
9531 * md5.c: Unconditionally include ANSI header <limits.h>
9533 * glyphs-x.c (convert_EImage_to_XImage):
9534 * lisp-union.h (union Lisp_Object):
9535 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
9537 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9539 * filelock.c (current_lock_owner): Remove unused variable o, p.
9541 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
9543 * callint.c: Remove multiply defined symbol Qlet
9544 (syms_of_callint): ditto.
9546 2000-04-14 Andy Piper <andy@xemacs.org>
9548 * general.c (syms_of_general): add last-command, this-command, let
9551 * lisp.h: declare various symbols.
9553 * glyphs.h: declare Qwidget_callback_current_channel;
9555 * glyphs-widget.c (syms_of_glyphs_widget): add
9556 Qgui_callback_current_channel.
9557 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
9559 * gui-msw.c (mswindows_handle_gui_wm_command): bind
9560 widget-callback-current-channel when invoking the interactive
9561 arg. Also bind last-command and next-command when invoking the
9563 * gui-x.c (popup_selection_callback): ditto.
9565 * gui.c (get_gui_callback): massage args so that we are always
9566 calling eval. This allows us to add our own variable bindings
9569 * glyphs-x.c (x_button_instantiate): use
9570 gui_items_to_widget_values since this is GC safe.
9571 (x_progress_gauge_instantiate): ditto.
9572 (x_edit_field_instantiate): ditto.
9573 (x_label_instantiate): ditto.
9575 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
9576 (emacs_Xt_event_widget_focus_out): new function
9577 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
9579 (emacs_Xt_event_add_widget_actions): new function. add focus
9580 functions as actions.
9581 (init_event_Xt_late): use it.
9583 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
9585 * event-stream.c (Fdispatch_event): Doc fix.
9587 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
9589 * postgresql.c: Remove all references to PQsetenv*.
9591 * postgresql.h: Remove references to PGsetenvHandler object.
9592 * lrecord.h (lrecord_type): Ditto.
9594 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9596 * glyphs-msw.h (struct mswindows_image_instance_data): Added
9597 real_heigh and real_width members, and accessor macros for these.
9599 * glyphs-msw.c (init_image_instance_geometry): New function.
9600 (init_image_instance_from_dibitmap): Use it.
9601 (mswindows_resource_instantiate): Use it.
9602 (init_image_instance_from_xbm_inline): Use it.
9603 (mswindows_initialize_image_instance_mask): Use real bitmap
9605 (mswindows_create_resized_bitmap): Ditto.
9606 (mswindows_create_resized_mask): Ditto.
9608 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
9609 and bitmap to their surface size.
9611 2000-04-11 Jan Vroonhof <jan@xemacs.org>
9613 * process-unix.c (unix_send_process): Guard against process MIA
9614 after Faccept_process_output.
9616 2000-04-11 Ben Wing <ben@xemacs.org>
9618 * eval.c (unbind_to_hairy): fix brokenness introduced by
9619 nanosecond speed improvements.
9621 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
9623 * sunplay.c (init_device): To play sounds correctly, the device
9624 apparently needs to be initialized at least once by XEmacs. Make
9627 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
9629 * redisplay.c (add_margin_runes): Add text image glyph
9632 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9634 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
9635 gcc is newer than 2.5.
9637 2000-04-06 Colin Rafferty <colin@xemacs.org>
9639 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
9641 * fns.c (size_bit_vector):
9642 * alloc.c (size_vector):
9643 (make_vector_internal):
9644 (make_bit_vector_internal):
9645 (sweep_bit_vectors_1):
9646 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
9648 2000-04-06 Andy Piper <andy@xemacs.org>
9650 * gmalloc.c (malloc): undo previous change.
9655 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
9657 * line-number.c (buffer_line_number): Revert to former version.
9659 2000-04-06 Andy Piper <andy@xemacs.org>
9661 * gmalloc.c (malloc): add error checking.
9666 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
9667 button_item_to_widget_value arg.
9669 * glyphs-x.c (x_button_instantiate): add extra
9670 button_item_to_widget_value arg.
9671 (x_progress_gauge_instantiate): ditto.
9672 (x_edit_field_instantiate): ditto.
9673 (x_label_instantiate): ditto.
9675 * gui-x.c (gui_items_to_widget_values_1): add extra
9676 button_item_to_widget_value arg.
9677 (button_item_to_widget_value): add extra menu_item_p arg.
9679 * gui-x.h: change signature of button_item_to_widget_value.
9681 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
9682 button_item_to_widget_value arg.
9684 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9686 * buffer.h (struct buffer): auto_save_modified should be long.
9688 2000-04-05 Andy Piper <andy@xemacs.org>
9690 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
9692 (button_query_geometry): give a little more room so that athena
9695 2000-04-05 Andy Piper <andy@xemacs.org>
9697 * faces.c (complex_vars_of_faces): The widget face should inherit
9698 the font of the gui-element face.
9700 2000-04-04 Andy Piper <andy@xemacs.org>
9702 * glyphs-x.c (x_button_update): new function. unconditionally
9703 update a button's state when the instance is dirty.
9704 (image_instantiator_format_create_glyphs_x): add x_button_update.
9705 (x_widget_instantiate): remove old resize cruft.
9707 2000-04-02 Andy Piper <andy@xemacs.org>
9709 * frame.c (change_frame_size_1): The introduction of gutters means
9710 that we need to allow 0 as a potential frame dimension.
9712 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
9714 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
9715 image glyph if allow_cursor.
9716 (add_hscroll_rune): Don't allow cursor to border glyph.
9717 (create_text_block): Ditto.
9719 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
9721 (redisplay_output_layout): Call ensure_face_cachel_complete for
9725 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
9727 * redisplay.c (add_glyph_rune): Adding text image as text runes.
9729 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
9732 * redisplay-tty.c (tty_output_display_block): Delete the routine
9733 for text image glyph
9734 * redisplay-x.c (x_output_display_block): ditto
9735 * redisplay-msw.c (mswindows_output_display_block): ditto
9737 2000-02-02 Mike Alexander <mta@arbortext.com>
9739 Note: Some of these were committed by accident as part of other
9742 * regex.c (regex_compile): Avoid compiler warnings.
9744 * ntproc.c (sys_spawnve): Avoid compiler warnings.
9746 * nt.h: Declare term_ntproc correctly.
9748 * nt.c: Remove incorrect declaration of get_home_directory which
9749 is declared correctly in lisp.h.
9751 * keymap.c (get_keyelt): Avoid compiler warnings.
9752 (raw_lookup_key_mapper): Avoid compiler warnings.
9754 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
9756 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
9758 * filemode.c (mode_string): Avoid compiler warnings.
9760 * file-coding.c (Fcoding_system_aliasee): Add return statement to
9763 * events-mod.h: Undef some things that winuser.h defines differently.
9765 * data.c (Faset): Avoid compiler warnings.
9767 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
9769 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9771 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
9772 Fall through to simple beep on error.
9773 Replace "extern" by real header file.
9775 * linuxplay.c: Use nativesound.h
9776 (play_sound_data): Return error code. Be less verbose on error.
9778 * sunplay.c: Use nativesound.h
9779 (play_sound_data): Return error code. Be less verbose on error.
9781 * ntplay.c: Use nativesound.h
9782 (play_sound_data): Return fake error code
9784 * sgiplay.c: Use nativesound.h
9785 (play_sound_data): Return error code
9787 * hpplay.c: Use nativesound.h, partially implement
9788 new error code. Break compilation until finished.
9789 (play_sound_data): error code.
9791 * nativesound.h (play_sound_file):
9792 (play_sound_data): Prototype in new header.
9794 2000-03-31 Andy Piper <andy@xemacs.org>
9796 * glyphs-widget.c: (button_query_geometry): new function. Adjust
9797 for toggle and radio buttons.
9798 (image_instantiator_buttons): use it.
9800 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9802 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
9803 (x_update_horizontal_scrollbar_callback): Return if no mirror was
9804 found. Scrollbar event probably belonged to some old config.
9806 2000-03-31 Andy Piper <andy@xemacs.org>
9808 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
9810 (initialize_widget_image_instance): default layout to
9811 LAYOUT_HORIZONTAL rather than 0.
9812 (widget_instantiate): reverse the item list at the end rather than
9814 (layout_layout): re-code for the border text at the front of the
9815 item list rather than at the end.
9816 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
9817 provided by the user.
9818 (widget_query_geometry): comment.
9820 2000-03-30 Andy Piper <andy@xemacs.org>
9822 * glyphs-widget.c (image_instantiator_layout): allow standard
9823 widget keywords in layouts.
9825 * gutter.c (output_gutter): cope with nil gutter contents.
9827 * frame.c (Fset_frame_properties): add gutter docs.
9829 2000-03-29 Andy Piper <andy@xemacs.org>
9831 * toolbar-msw.c (TBSTYLE_FLAT): add.
9832 (mswindows_output_toolbar): minor fiddling.
9834 2000-03-29 Andy Piper <andy@xemacs.org>
9836 * gutter.c (output_gutter): force gutter size recalculation if
9837 what we are trying to display won't fit.
9838 (update_gutter_geometry): new function. A per-gutter version of
9839 update_frame_gutter_geometry.
9840 (update_frame_gutter_geometry): use it.
9841 (redraw_exposed_gutter): add extra debugging output.
9843 2000-03-28 Mike Alexander <mta@arbortext.com>
9845 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
9846 (pdump_file_unmap): Implement it on Windows
9847 (pdump_file_get): Save alocated handles for pdump_file_unmap
9849 2000-03-28 Andy Piper <andy@xemacs.org>
9851 * gui.c (get_gui_callback): treat Quit specially.
9853 2000-03-27 Andy Piper <andy@xemacs.org>
9855 * glyphs.c (image_instantiate): be careful to check in the same
9858 2000-03-27 Didier Verna <didier@xemacs.org>
9860 * config.h.in: define the proper SMART_INCLUDE macro.
9861 handle renaming of `foo_h_path' to `foo_h_file'.
9863 * database.c: ditto.
9867 * linuxplay.c: ditto.
9869 * terminfo.c: ditto.
9871 * tooltalk.h: ditto.
9873 2000-03-27 Andy Piper <andy@xemacs.org>
9875 * glyphs-msw.c (mswindows_update_widget): make sure the widget
9876 gets updated whenever the face might have changed.
9878 2000-03-26 Mike Alexander <mta@arbortext.com>
9880 * dumper.c (pdump_resource_free): Fix the comment.
9882 2000-03-21 Olivier Galibert <galibert@pobox.com>
9884 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
9886 2000-03-22 Mike Alexander <mta@arbortext.com>
9888 * dumper.c: Include Windows headers on Windows
9889 (pdump_resource_free): Add a body to the function
9890 (pdump_load): exe_name -> exe_path and add some comments.
9892 2000-03-25 Mike Alexander <mta@arbortext.com>
9894 * gui.c (copy_gui_item_tree): Return a value in all cases
9896 2000-03-21 Didier Verna <didier@xemacs.org>
9898 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
9900 (SMART_INCLUDE): new macro.
9901 (POSTGRES_INCLUDE): new macro to include postgresql headers from
9902 the proper location.
9904 * postgresql.c: use it.
9908 2000-03-24 Andy Piper <andy@xemacs.org>
9910 * gutter.c (redraw_exposed_gutters): must be "in display" when we
9913 2000-03-24 Andy Piper <andy@xemacs.org>
9915 * redisplay-output.c (compare_runes): use image_instance_changed
9916 to detect changes. Do not depend on glyphs_changed, only depend on
9918 (redisplay_output_layout): add debug messages.
9919 (compare_runes): ditto.
9921 * glyphs.h: declare new functions.
9922 (struct Lisp_Image_Instance): remove percent and associated
9925 * gui.h: declare new copying functions.
9927 * gui.c (copy_gui_item_tree): new function.
9928 (copy_gui_item): new function.
9929 (gui_item_id_hash): revert to standard hash.
9930 (gui_item_hash): ditto.
9931 (gui_item_hash_internal): deleted.
9932 (mark_gui_item): mark value.
9933 (gui_item_add_keyval_pair): add value.
9934 (gui_item_init): ditto.
9935 (gui_add_item_keywords_to_plist): ditto.
9936 (gui_item_equal): ditto.
9937 (syms_of_gui): add Q_value.
9939 * glyphs-x.c (x_progress_gauge_update): use pending items and
9940 value for setting the state.
9941 (x_update_widget): don't set items from pending here.
9943 * glyphs-widget.c (update_widget): update items here.
9944 (progress_gauge_set_property): use items for storing value. Put
9945 new value in pending items.
9947 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
9948 items for new value. Convert percent -> value.
9949 (mswindows_tab_control_update): don't update items here.
9951 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
9952 (update_subwindow): ditto.
9953 (image_instance_changed): new function. Compare hash values and
9954 past and present widget items.
9955 (image_instantiate): We more careful about where we instantiate
9957 (image_instantiate): add error checking.
9959 * gutter.c (syms_of_gutter): use -hook.
9961 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
9963 * console-tty.c (Fset_console_tty_input_coding_system): Use
9965 (Fset_console_tty_output_coding_system): Use Qterminal.
9966 (tty_init_console): Use Qkeyboard and Qterminal.
9968 2000-03-21 Ben Wing <ben@xemacs.org>
9970 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
9971 From Mike Alexander <mta@arbortext.com>.
9973 2000-03-21 Ben Wing <ben@xemacs.org>
9975 * event-msw.c (mswindows_need_event): Horrible kludge to fix
9976 process brokenness. Proper implementation to come.
9978 Rename call-process-internal to old-call-process-internal.
9979 New impl. in process.el.
9981 2000-03-21 Martin Buchholz <martin@xemacs.org>
9983 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
9985 2000-03-20 Andy Piper <andy@xemacs.org>
9987 * glyphs.c (full_list_hash): make hashes of the same elements in
9988 different orders return different values.
9990 2000-03-20 Martin Buchholz <martin@xemacs.org>
9992 * XEmacs 21.2.32 is released.
9994 2000-03-20 Martin Buchholz <martin@xemacs.org>
9996 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
9997 (DFC_MALLOC_USE_CONVERTED_DATA):
9998 Add aliasing-safe casts to allow use with char* or unsigned char*
10001 * eldap.c (Fldap_open):
10002 (Fldap_search_basic):
10005 Make C++-compilable.
10006 Make sure GCPRO'ed variables are initialized.
10007 Use temp variables to avoid repeated calls to Flength.
10009 2000-03-16 Martin Buchholz <martin@xemacs.org>
10012 Make sure PATH_MAX is always defined.
10013 Include limits.h for PATH_MAX.
10014 Deprecate use of MAXPATHLEN.
10016 2000-03-10 Martin Buchholz <martin@xemacs.org>
10018 * emacs.c: Add reinit_vars_of_fileio.
10019 * symsinit.h: Add reinit_vars_of_fileio.
10020 * fileio.c (reinit_vars_of_fileio): New.
10021 * fileio.c (Fmake_temp_name):
10022 Initialize temp_name random number from microseconds to make
10023 collisions even less likely. Initialize always at process startup
10024 time. (make-temp-name) used to return the same file name twice in
10026 Random stylistic fiddling.
10029 2000-03-20 Andy Piper <andy@xemacs.org>
10031 * glyphs.c (image_instantiate): allow text glyphs to be
10032 instantiated in the minibuffer window.
10034 2000-03-19 Andy Piper <andy@xemacs.org>
10036 * glyphs.c (image_instance_hash): be careful about which items we
10039 * glyphs-widget.c (tab_control_set_property): record into pending
10040 items rather than the actual items.
10042 * glyphs-x.c (x_update_widget): use pending items to update with.
10044 * glyphs-msw.c (mswindows_tab_control_update): use pending items
10047 * glyphs.c (mark_image_instance): mark pending items.
10049 * window.c (Fset_window_configuration): record the buffer.
10050 (Fselect_window): totally revert previous change which breaks many
10053 2000-03-18 Andy Piper <andy@xemacs.org>
10055 * glyphs-msw.c (mswindows_tab_control_update): force selected
10058 * glyphs.c (image_instantiate): don't allow the minibuffer as a
10059 window domain cache, otherwise we get inconsistencies at
10060 startup. There is something fishy at startup which can lead to the
10061 minibuffer being the selected window when the gutter content is
10064 * gui.c (parse_gui_item_tree_list): add probably unnecessary
10066 (parse_gui_item_tree_children): ditto.
10067 (parse_gui_item_tree_item): ditto.
10069 * glyphs.c (Fupdate_widget_instances): return something.
10071 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10073 * window.c (Fselect_window): Undo 2000-03-17 change.
10075 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
10077 * postgresql.c (Fpq_setenv): Remove this turkey when linking
10078 against v7.0 libraries. Insta-coredump city until the postgres
10081 2000-03-17 Andy Piper <andy@xemacs.org>
10083 * faces.c (complex_vars_of_faces): don't give the widget face an
10084 inherited background pixmap.
10086 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
10089 * event-stream.c (Fdispatch_non_command_events): return something.
10091 * gutter.c (output_gutter): use widget face.
10092 (clear_gutter): ditto.
10094 * NEWS: adjust again.
10096 * window.c (Fselect_window): make sure this runs to completion to
10097 avoid oddities with Fset_window_configuration.
10098 (Fcurrent_window_configuration): in general do not save the
10099 minibuffer as the selected window.
10101 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
10103 2000-03-16 Olivier Galibert <galibert@pobox.com>
10105 * emacs.c (Frunning_temacs_p): Revert previous patch.
10106 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
10108 2000-03-16 Andy Piper <andy@xemacs.org>
10110 * glyphs-x.c (x_tab_control_update): if no widget values then
10113 * NEWS: update for new features.
10115 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
10116 synthetic event to the native system.
10117 (reinit_vars_of_event_Xt): set force_event_pending to
10118 emacs_Xt_force_event_pending.
10120 * events.h (struct event_stream): add force_event_pending.
10122 * specifier.c (recompute_one_cached_specifier_in_window): add
10125 * redisplay.c (redisplay_frame): don't call
10126 update_frame_subwindows. Reset subwindow cachels when
10127 subwindows_changed, removing this was an optimization too far.
10129 * redisplay-output.c (compare_runes): reorganize so that we catch
10130 glyph changes when we want them. Set optimize_output when this
10131 would help layouts.
10132 (redisplay_output_layout): remove frame_really_changed, use
10133 optimize_output instead.
10135 * redisplay-msw.c (mswindows_output_display_block): reset
10136 optimize_output after outputting a glyph.
10137 * redisplay-x.c (x_output_display_block): ditto.
10138 * redisplay-tty.c (tty_output_display_block): ditto.
10140 * gutter.c: (specifier_vars_of_gutter): use new spec changed
10142 (gutter_specs_changed): do specific gutter positions.
10143 (top_gutter_specs_changed): new function. Only update the
10144 specified gutter specs.
10145 (bottom_gutter_specs_changed): ditto.
10146 (left_gutter_specs_changed): ditto.
10147 (right_gutter_specs_changed): ditto.
10149 * gui.c (gui_item_hash_internal): new function, does a real hash.
10150 (gui_item_id_hash): use it.
10151 (gui_item_hash): hash the eval'ed gui_item.
10153 * gui-x.c (popup_selection_callback): send an eval event to call
10154 Fupdate_widget_instances.
10156 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
10157 to call Fupdate_widget_instances.
10159 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
10160 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
10162 * glyphs.c: (update_frame_subwindows): deleted.
10163 (Fupdate_widget_instances): new function for updating the dirty
10164 state of widgets that might have changed.
10165 (syms_of_glyphs): add Qupdate_widget_instances.
10166 (full_list_hash): hash a list completely.
10167 (image_instance_hash): use it for items and properties.
10169 * frame-msw.c (mswindows_size_frame_internal): remove unused
10172 * faces.h (struct face_cachel): fix comment.
10174 * event-stream.c (Fdispatch_non_command_events): new
10175 function. Process non-command events, forcing an event cycle
10177 (syms_of_event_stream): declare.
10178 (event_stream_force_event_pending): new function. Force an event
10179 on the native event queue so that an event cycle will occur next
10183 (struct ntpipe_shove_stream):
10184 (mswindows_enqueue_dispatch_event):
10185 (mswindows_dequeue_dispatch_event):
10186 (mswindows_cancel_dispatch_event):
10187 (mswindows_pump_outstanding_events):
10188 (mswindows_drain_windows_queue):
10189 (mswindows_handle_paint):
10190 (mswindows_wnd_proc):
10191 (mswindows_key_to_emacs_keysym):
10192 (get_process_input_waitable):
10193 (emacs_mswindows_delete_stream_pair): re-indent file.
10194 (mswindows_need_event): do not process further fds if the windows
10195 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
10196 fixes the 100% cpu problem.
10197 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
10199 2000-03-15 Olivier Galibert <galibert@pobox.com>
10205 * emacs.c: Moved dump file searching to dumper.c.
10206 (Frunning_temacs_p): Fixed.
10208 * alloc.c: Moved everything pdump-related to dumper.c. Removed
10209 last_lrecord_type_index_assigned.
10211 2000-02-20 Olivier Galibert <galibert@pobox.com>
10213 * symsinit.h: Added reinit parameter to init_console_stream
10216 * lisp.h: Added file parameter to pdump_load declaration.
10218 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
10219 support. Added dump file searching.
10221 * config.h.in: Added EMACS_PROGNAME.
10223 * console-stream.c (init_console_stream): Fix reinitialisation
10224 when running from temacs.
10226 * alloc.c (pdump): Add id support.
10227 (pdump_load): Add file parameter and signature/id support.
10229 * Makefile.in.in: Add full pdump support.
10231 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
10233 * postgresql.c: Update documentation to reflect latest code
10235 (print_result): Show tuple counts in printed representation when
10237 (Fpq_put_nbytes): MULE-ize.
10238 (Fpq_get_line_async): Ditto.
10240 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10242 * postgresql.c (Fpq_lo_import): Fix return value.
10243 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
10245 2000-03-13 Ben Wing <ben@xemacs.org>
10247 * alloc.c (pdump_load):
10248 Fix compile warning under mswin.
10250 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10252 * postgresql.c: Mule-ization, bug fixes.
10253 Use PG_CODING to encapsulate coding system name changes.
10254 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
10255 (pg-coding-system): Create.
10257 (Fpq_conn_defaults): Mule-ize.
10258 (Fpq_connectdb): Mule-ize & bug fix.
10259 (Fpq_connect_start): Mule-ize.
10260 (Fpq_set_client_encoding): Mule-ize.
10261 (Fpq_finish): Document `DEAD' connection status.
10262 (Fpq_clear): Ditto.
10263 (Fpq_pgconn): Mule-ize.
10264 (Fpq_exec): Mule-ize & bug fix.
10265 (Fpq_send_query): Ditto.
10266 (Fpq_get_result): Ditto.
10267 (Fpq_res_status): Mule-ize.
10268 (Fpq_result_error_message): Mule-ize.
10269 (Fpq_ntuples): fix comments.
10270 (Fpq_fname): Mule-ize.
10271 (Fpq_fnumber): Mule-ize.
10272 (Fpq_ftype): fix comments.
10273 (Fpq_get_value): Mule-ize.
10274 (Fpq_cmd_status): Ditto.
10275 (Fpq_cmd_tuples): Ditto.
10276 (Fpq_oid_value): Ditto.
10277 (Fpq_notifies): Ditto.
10278 (Fpq_lo_import): Ditto.
10279 (Fpq_lo_export): Ditto.
10280 (Fpq_get_line): Ditto.
10281 (Fpq_put_line): Mule-ize and bug fix.
10282 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
10284 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10286 * postgresql.c (vars_of_postgresql): Mule-ize.
10287 (Fpq_conn_defaults): Ditto.
10289 2000-03-12 Ben Wing <ben@xemacs.org>
10291 * alloc.c (Fmake_byte_code):
10292 * alloc.c (debug_string_purity_print):
10293 * alloc.c (pdump_backtrace):
10294 * alloc.c (pdump_get_indirect_count):
10295 * alloc.c (pdump_register_sub):
10296 * alloc.c (pdump_register_object):
10297 * alloc.c (pdump_register_struct):
10298 * alloc.c (pdump_dump_data):
10299 * alloc.c (pdump_reloc_one):
10303 * console-msw.c (GetConsoleHwnd):
10304 * console-msw.c (msw_hide_console):
10305 * console-msw.c (msw_show_console):
10306 * console-msw.c (msw_ensure_console_buffered):
10307 * console-msw.c (msw_output_console_string):
10308 * console-msw.c (console_type_create_mswindows):
10310 a) Added functions to manipulate the console window for use with
10313 b) Added support for writing text to the console, which is now
10314 used under Windows when xemacs is not being run non-interactively,
10315 to write text that would otherwise be destined for stdout because
10316 under these circumstances, text written to stdout tends to
10317 disappear and not be seen.
10321 * event-Xt.c (x_event_to_emacs_event):
10322 * event-Xt.c (describe_event_window):
10323 * events-mod.h (XEMACS_MOD_CONTROL):
10325 * events.c (Fmake_event):
10326 * events.c (character_to_event):
10327 * events.c (event_to_character):
10328 * events.c (format_event_object):
10329 * events.c (Fevent_modifiers):
10331 * events.h (struct key_data):
10332 * events.h (struct button_data):
10333 * events.h (struct misc_user_data):
10334 * frame-x.c (Fcde_start_drag_internal):
10335 * frame-x.c (Foffix_start_drag_internal):
10336 * gpmevent.c (Freceive_gpm_event):
10338 * keymap.c (bucky_sym_to_bucky_bit):
10339 * keymap.c (control_meta_superify):
10340 * keymap.c (make_key_description):
10341 * keymap.c (keymap_lookup_directly):
10342 * keymap.c (create_bucky_submap):
10343 * keymap.c (keymap_store):
10344 * keymap.c (define_key_check_and_coerce_keysym):
10345 * keymap.c (define_key_parser):
10346 * keymap.c (define_key_alternate_name):
10347 * keymap.c (Fdefine_key):
10348 * keymap.c (raw_lookup_key_mapper):
10349 * keymap.c (struct map_keymap_unsorted_closure):
10350 * keymap.c (map_keymap_unsorted_mapper):
10351 * keymap.c (map_keymap_sort_predicate):
10352 * keymap.c (map_keymap_sorted):
10353 * keymap.c (accessible_keymaps_mapper_1):
10354 * keymap.c (where_is_recursive_mapper):
10355 * keymap.c (describe_map_mapper):
10356 * keymap.c (describe_map_sort_predicate):
10357 * keymap.c (describe_map):
10358 * keymap.c (complex_vars_of_keymap):
10359 And a number of other files, the key modifier preprocessor
10360 constants that xemacs uses have names that conflict with constants
10361 defined under MS Windows for other purposes, so they were renamed
10362 to begin with the prefix XEMACS_. The variables that hold such
10363 modifiers were changed to consistently be of type int to fix
10364 various compile warnings.
10366 * console.c (complex_vars_of_console):
10369 * device-msw.c (mswindows_finish_init_device):
10370 * device-msw.c (msw_get_workspace_coords):
10371 * device-msw.c (mswindows_device_system_metrics):
10372 and various other files, added support for a new
10373 device property called offset-workspace which returns the position
10374 of the upper left corner of the workspace area and goes along with
10375 the existing size-workspace property.
10378 * dialog-msw.c (push_bufbyte_string_as_unicode):
10379 * dialog-msw.c (mswindows_popup_dialog_box):
10380 Added support for XEmacs-style accelerator specifications in
10381 button text. Note: I didn't add support for this under X Windows,
10382 and somebody needs to do this.
10385 * dialog.c (Fpopup_dialog_box):
10386 Documented the support for accelerators that was just mentioned.
10388 editfns.c (get_home_directory): Changed behavior under Windows
10389 when HOME not defined; former behavior was irretrievably broken.
10392 * emacs.c (main_1):
10394 * minibuf.c (clear_echo_area_internal):
10395 * minibuf.c (echo_area_append):
10397 * print.c (std_handle_out_external):
10398 * print.c (std_handle_out_va):
10400 * print.c (write_string_to_stdio_stream):
10401 * print.c (output_string):
10402 * print.c (debug_print):
10403 * print.c (debug_backtrace):
10404 * print.c (debug_short_backtrace):
10405 Cleaned up the code that prints text to stdout so that this can be
10406 changed to output into a console window instead under MS Windows,
10407 as described above.
10410 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
10411 * eval.c (internal_catch):
10412 * eval.c (unwind_to_catch):
10413 * eval.c (throw_or_bomb_out):
10414 * eval.c (condition_case_1):
10415 * eval.c (signal_1):
10416 * eval.c (check_error_state_sanity):
10417 * eval.c (call_with_suspended_errors_1):
10418 * eval.c (call_with_suspended_errors):
10419 * eval.c (reinit_vars_of_eval):
10420 Added code to catch throw loops and check for a pesky bug that may
10424 * event-msw.c (key_needs_default_processing_p):
10425 * event-msw.c (mswindows_wnd_proc):
10426 * event-msw.c (mswindows_modifier_state):
10427 * event-msw.c (emacs_mswindows_quit_p):
10428 * event-msw.c (vars_of_event_mswindows):
10429 a) Added support for using the alt key to select menu items as is
10430 standard under MS Windows. This is controlled using the variable
10431 menu-accelerator-enabled, just like under X Windows. There is an
10432 option on the options menu to turn this support on. I really
10433 think that it should be on by default under Windows, but I'm not
10434 going to make this change yet.
10436 b) Added support for dynamic display size changes under Windows.
10439 * event-stream.c (maybe_echo_keys):
10440 * event-stream.c (Fnext_event):
10441 * event-stream.c (command_builder_find_leaf):
10442 * event-stream.c (lookup_command_event):
10443 * event-stream.c (execute_command_event):
10444 * event-stream.c (pre_command_hook):
10445 * event-stream.c (post_command_hook):
10446 * event-stream.c (syms_of_event_stream):
10447 * event-stream.c (vars_of_event_stream):
10448 * event-stream.c (complex_vars_of_event_stream):
10449 * events.h (struct command_builder):
10451 a) Tried to clean up a little bit the horribly written x-specific
10452 accelerator code that crept into this file. I moved this code
10453 into menubar-x.c where it belongs. I also needed to move the
10454 command builder structure into the file events.h because it is
10455 accessed directly by this accelerator code. What I didn't do, but
10456 which should be done at some point, is to properly abstract this
10457 code using device methods instead of the kludgy way that it
10458 currently hooks into the event code.
10460 b) Added the lisp variables this-command-properties and
10461 last-command- properties, which should be used to synchronize two
10462 adjacent commands in preference to playing games with the variable
10463 this-command, which is typically what happens.
10465 c) Added some slightly nasty code to hook into the lisp support
10466 for shifted- motion-key selection. This is actually necessary for
10467 somewhat complicated reasons, which are described in
10468 simple.el. (NB: I think the proper thing would be to have the code
10469 that calls the pre and post command hooks also call out to generic
10470 lisp functions in simple.el, where all built-in stuff could be
10471 added. I will think about this more.)
10473 * event-unixoid.c (poll_fds_for_input):
10474 * lread.c (readchar):
10475 * redisplay-tty.c (tty_clear_frame):
10476 * redisplay-x.c (x_get_gc):
10477 * signal.c (interrupt_signal):
10478 And a whole bunch of other files: fixed up places that printed
10479 directly to stderr to instead call the function stderr_out so that
10480 the changes I made under Windows work correctly.
10482 * filemode.c (mode_string):
10486 * frame-msw.c (mswindows_size_frame_internal):
10487 Fixed the computation of frame size and position to keep the frame
10488 within the workspace area, rather than within the physical
10489 dimensions of the screen, so that the frame doesn't overlap window
10490 manager decorations, such as the start menu and toolbar, typically
10491 at the bottom of the screen.
10493 * frame.c (vars_of_frame):
10494 Changed the default frame title format under MS Windows to consist
10495 of buffername-XEmacs, which is standard under MS Windows. I think
10496 it might be a good idea to change this everywhere because I think
10497 it is superior to the current frame title format, but this is the
10498 kind of change that is likely to cause some people to get annoyed,
10499 so I'm not making it.
10501 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
10503 * gui-msw.c (mswindows_handle_gui_wm_command):
10504 Fixed compile warnings.
10507 * gui-x.c (strdup_and_add_accel):
10508 * gui-x.c (button_item_to_widget_value):
10510 Added code to automatically put an accelerator onto the beginning
10511 of menu items that don't have one as is now the standard, and is
10512 described more later. Also fixed things so that the menu item
10513 name can be an evaluated expression, again a new standard.
10516 * gui.c (gui_item_add_keyval_pair):
10517 * gui.c (make_gui_item_from_keywords_internal):
10518 * gui.c (gui_add_item_keywords_to_plist):
10519 * gui.c (gui_item_accelerator):
10520 * gui.c (gui_name_accelerator):
10521 * gui.c (gui_item_included_p):
10522 * gui.c (gui_item_display_flush_left):
10523 * gui.c (gui_item_display_flush_right):
10524 * gui.c (parse_gui_item_tree_item):
10525 * gui.c (parse_gui_item_tree_children):
10526 * gui.c (parse_gui_item_tree_list):
10527 Mule-ized. Cleanup. GCPRO addition.
10529 * line-number.c (buffer_line_number):
10531 * lisp.h (EMACS_INT_MAX):
10532 Added the manifest constant EMACS_INT_MIN corresponding to the
10533 existing constant EMACS_INT_MAX. This is partially to fix compile
10534 warnings under Windows, and partly for cleanliness.
10537 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
10538 * menubar-msw.c (msw_translate_menu_or_dialog_item):
10539 * menubar-msw.c (displayable_menu_item):
10540 * menubar-msw.c (populate_menu_add_item):
10541 * menubar-msw.c (populate_or_checksum_helper):
10542 * menubar-msw.c (populate_menu):
10543 * menubar-msw.c (update_frame_menubar_maybe):
10544 * menubar-msw.c (prune_menubar):
10545 * menubar-msw.c (msw_char_is_accelerator):
10546 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
10547 * menubar-msw.c (mswindows_handle_wm_command):
10548 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
10549 * menubar-msw.c (mswindows_handle_wm_initmenu):
10550 * menubar-msw.c (mswindows_update_frame_menubars):
10551 * menubar-msw.c (mswindows_free_frame_menubars):
10552 * menubar-msw.c (mswindows_popup_menu):
10553 Fixed a bug in handling accelerators where an extra character
10554 would be displayed in the menu item. Also generalized the
10555 function displayable_menu_item because it is now used by the
10556 dialog box code as well. And finally, added code in the functions
10557 that create the menubar to extract a list of accelerators for the
10558 top level menubar, which is used in the event code to determine
10559 whether a particular alt-key combination should be used to invoke
10560 a menu item, or should be passed through to access the standard
10561 XEmacs keymap binding for this key combination.
10563 Much needed GCPROing.
10566 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10567 * menubar-x.c (menu_item_descriptor_to_widget_value):
10568 * menubar-x.c (restore_in_menu_callback):
10569 * menubar-x.c (x_popup_menu):
10570 * menubar-x.c (menu_move_up):
10571 * menubar-x.c (menu_move_down):
10572 * menubar-x.c (menu_move_left):
10573 * menubar-x.c (menu_move_right):
10574 * menubar-x.c (menu_select_item):
10575 * menubar-x.c (command_builder_operate_menu_accelerator):
10576 * menubar-x.c (menu_accelerator_junk_on_error):
10577 * menubar-x.c (command_builder_find_menu_accelerator):
10578 * menubar-x.c (Faccelerate_menu):
10580 Moved a whole bunch of code here that was previously in
10581 event-stream.c as described above. There is also code connected
10582 to the new standard of adding an accelerator to the beginning of
10583 menu items that don't have one as described above and below.
10586 * menubar.c (menu_parse_submenu_keywords):
10587 * menubar.c (Fmenu_find_real_submenu):
10588 * menubar.c (Fnormalize_menu_item_name):
10589 * menubar.c (syms_of_menubar):
10590 * menubar.c (vars_of_menubar):
10591 * menubar.c (complex_vars_of_menubar):
10593 a) Cleaned up a bunch of documentation and improved it.
10595 b) XEmacs now automatically adds an accelerator onto the beginning
10596 of any menu items that don't have one. I did this because there
10597 will inevitably be some menu items on the main menubar that don't
10598 have accelerators on them because the package that adds that
10599 particular menu item hasn't yet been fixed up to have accelerators
10600 in them and it looked rather strange to have some items with and
10601 some items without accelerators, especially since even in items
10602 without accelerators, you can, at least under windows, still
10603 access the item through an accelerator corresponding to the first
10604 character in the item's name. If people don't like this behavior,
10605 I can add a variable to turn it off optionally, but I'm not sure
10606 this is a good idea because we really do need to have accelerators
10607 on all of the menu items, and if a package doesn't like the
10608 accelerators being put on the first character, then it should put
10609 the accelerators where they belong.
10611 c) I made a behavior change, which is that the descriptor that
10612 specifies the text of the menu item, which formerly was just a
10613 string, can now also be an evaluated expression. This makes this
10614 descriptor parallel with all of the others, which could also be
10615 evaluated expressions. This also obviates the need for the
10616 keyword :label, which was previously listed in the documentation
10617 as unimplemented, and which was for the same purpose.
10622 * ntproc.c (new_child):
10623 * ntproc.c (sys_spawnve):
10624 * ntproc.c (find_child_console):
10625 * ntproc.c (sys_kill):
10626 Fixed compile warnings. By the way, this file should really go
10627 away entirely, and this will happen as soon as Kirill makes his
10628 final round of process cleanups, which affect the function
10632 * process-nt.c (struct nt_process_data):
10633 * process-nt.c (find_process_from_pid):
10634 * process-nt.c (send_signal_the_nt_way):
10635 * process-nt.c (enable_child_signals):
10636 * process-nt.c (find_child_console):
10637 * process-nt.c (send_signal_the_95_way):
10638 * process-nt.c (nt_finalize_process_data):
10639 * process-nt.c (ensure_console_window_exists):
10640 * process-nt.c (nt_create_process):
10641 * process-nt.c (nt_kill_child_process):
10642 * process-nt.c (nt_kill_process_by_pid):
10643 * process-nt.c (nt_open_network_stream):
10644 * process-nt.c (vars_of_process_nt):
10645 Copied over code from Emacs 20.5 to correctly send signals to sub-
10646 processes under Windows 95. Also added code to automatically
10647 create and hide console window when a sub-process is created under
10648 Windows 95, which obviates the need for the separate runemacs.exe
10649 executable, and finally implemented some variables that were
10650 implemented in Emacs 20.5, but previously not in XEmacs. These
10651 include mswindows- start-process-share-console and
10652 mswindows-start-process-inherit-error-mode. (Both of these only
10653 apply to Windows 95.)
10655 * regex.c (regex_compile): Fixed a compile warning.
10658 * select-msw.c (mswindows_own_selection):
10659 * select-msw.c (mswindows_get_foreign_selection):
10660 * select-msw.c (mswindows_disown_selection):
10661 * select-msw.c (console_type_create_select_mswindows):
10662 * select-msw.c (syms_of_select_mswindows):
10663 Cleaned up the file and implemented the device method
10664 selection_exists_p, which had accidentally been left out. Also
10665 removed four lisp functions that were remnants from before the
10666 time when the selection code was properly device abstracted.
10667 These functions are no longer needed because there are generic
10668 equivalents, and because they were added recently and don't exist
10669 in FSF Emacs, I don't think there's any problem with just deleting
10673 * sysdep.c (sys_subshell):
10674 Fixed a compile warning, although in this case there's probably
10675 something wrong with this code, and it ought to be looked into
10676 more thoroughly by somebody who understands it.
10679 * window.c (Fwindow_text_area_height):
10680 * window.c (Fwindow_width):
10681 * window.c (Fwindow_full_width):
10682 * window.c (Fwindow_pixel_width):
10683 * window.c (debug_print_window):
10684 * window.c (syms_of_window):
10685 Added functions window-text-area-height and window-full-width,
10686 which are functions for returning various width and height
10687 characteristics of a window. (One of these functions is necessary
10688 for making the file dialog box work correctly, and the other one
10689 was added for completeness.) Also added a table to the
10690 documentation for window-height which describes the entire scheme
10691 for accessing width and height characteristics of a window.
10693 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10695 * nt.c (fstat): Added a comment for another problem with
10696 non-encapsulated [f]stat(), reported by Adrian Aichner
10697 <aichner@ecf.teradyne.com>.
10699 2000-03-11 Andy Piper <andy@xemacs.org>
10701 * window.c (make_dummy_parent): initialize subwindow instance
10703 (Fset_window_configuration): zero extent_modiff.
10705 2000-03-10 Andy Piper <andy@xemacs.org>
10707 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
10708 more changes can be triggered.
10709 (Fredisplay_frame): ditto.
10710 (Fredraw_device): ditto.
10711 (Fredisplay_device): ditto.
10712 (redisplay_frame): make non-static.
10713 (redisplay_frame): call update_frame_gutter_geometry outside of
10716 * gutter.h: declare update_frame_gutter_geometry.
10718 * redisplay.h: declare redisplay_frame.
10720 * gutter.c (update_frame_gutter_geometry): move geometry changes
10721 in update_frame_gutters here. Geometry changes can only occur
10722 outside of redisplay.
10723 (update_frame_gutters): remove geometry change code.
10724 (Fredisplay_gutter_area): make sure that we are in display when we
10725 update and that we have flushed any size changes.
10727 2000-03-11 Andy Piper <andy@xemacs.org>
10729 * alloc.c (pdump_dump_data): remove i & count shadows.
10731 2000-02-27 Mike Alexander <mta@arbortext.com>
10733 * sysdep.h: Declare pdump_read_file
10735 * sysdep.c (pdump_read_file): New function
10737 * alloc.c (pdump_load): Call pdump_read_file to get the portable
10740 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10742 * lrecord.h: add `lrecord_type_pgsetenv'.
10744 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
10746 * symsinit.h: declare (vars|syms)_of* functions.
10747 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
10749 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
10751 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
10753 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
10756 * emacs.c (main_1): Call postgres initialization code.
10758 * postgresql.h: New file. PostgreSQL RDBMS support.
10759 * postgresql.c: New file.
10761 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
10763 * redisplay-output.c (redisplay_output_display_block): Disable
10766 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10768 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
10769 (Fcanna_henkan_next): Ditto.
10770 (Fcanna_bunsetu_henkou): Ditto.
10771 (Fcanna_henkan_kakutei): Ditto.
10772 (Fcanna_henkan_end): Ditto.
10773 (Fcanna_henkan_quit): Ditto.
10774 (Fcanna_henkan_next): Set retun value correctly.
10775 (c2mu): Use unsigned char instead of signed char.
10777 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10779 * emacs.c (main_1): Always call syms_of_gui.
10780 * inline.c: include gui.h
10782 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10784 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
10785 converted to Lisp_Object.
10786 (Qtop_bottom): New variable.
10787 (syms_of_redisplay): Initialize it.
10788 * redisplay.h (Vvisible_bell): Ditto.
10789 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
10790 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
10791 only flash top and bottom.
10793 2000-03-08 Andy Piper <andy@xemacs.org>
10795 * buffer.c (Frename_buffer): record new buffer name the right way.
10797 2000-03-08 Andy Piper <andy@xemacs.org>
10799 * glyphs.c (update_subwindow): increase hash depth so that widget
10800 items get picked up properly.
10802 * redisplay-output.c (compare_runes): increase hash depth so that
10803 widget items get picked up properly.
10805 2000-03-08 Andy Piper <andy@xemacs.org>
10807 * gutter.c (output_gutter): add some debug.
10809 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
10810 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
10811 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
10813 * redisplay-output.c (compare_runes): use display_hash to
10814 determine if glyphs really are not the same.
10816 * glyphs.c (update_subwindow): check display_hash to see if
10817 anything really needs to be updated. If not then do
10818 nothing. Record the display_hash after updating.
10819 (image_instance_equal): compare the image_instance face also.
10821 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
10823 * redisplay.h: Fix comment style.
10825 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
10827 * consle-msw.h (struct mswindows_frame):
10828 Added new member paint_pending to indicate whether a WM_PAINT
10829 magic event has been queued for this frame.
10831 * event-msw.c (mswindows_drain_windows_queue):
10832 Don't queue a WM_PAINT magic event if one is already queued.
10833 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
10835 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
10837 2000-03-07 Didier Verna <didier@xemacs.org>
10839 * dired.c: #include `regex.h' after `sysfile.h'.
10841 2000-03-06 Martin Buchholz <martin@xemacs.org>
10843 * sound.c (init_nas_sound): Fix compiler warning.
10845 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
10847 (MARK_STRUCT_AS_FREE):
10848 (MARK_STRUCT_AS_NOT_FREE):
10849 Make `gcc -fstrict-aliasing' work properly.
10851 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
10853 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
10854 (mswindows_delete_device): Call CoUnnitialize().
10856 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
10858 2000-02-25 <CraigL@DyCon.com>
10860 * process-nt.c: MinGW now has <shellapi.h>, but still needs
10863 * sysdep.c: This extern declaration for environ prevents MinGW
10864 from finding the variable in CRTDLL.DLL.
10866 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
10868 (SHGFI_EXETYPE): ..
10869 (WM_MOUSEWHEEL): ..
10870 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
10872 (MMRESULT): Removed, now defined in cygwin's windows headers.
10874 (uid_t,gid_t,pid_t,ssize_t): ..
10875 (_timeb): Removed, MinGW defines both _timeb and timeb.
10876 (HAVE_H_ERRNO): Added.
10877 (HAVE_TZNAME): Added, configure is not detecting this.
10879 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
10881 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
10882 * syntax.c (syntax_match): Use it.
10884 * cmds.c: Import auto-fill-chars from FSF Emacs.
10885 (Vauto_fill_chars): New variables.
10886 (internal_self_insert): Check Vauto_fill_chars.
10888 Declare auto-fill-chars as a Lisp variable and initialize it.
10890 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
10892 * fileio.c (Fmake_symbolic_link):
10894 Run handlers even if local machine doesn't have symlinks.
10896 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
10898 * event-msw.c (mswindows_drain_windows_queue):
10899 Don't generate paint magic events for non-XEmacs frames.
10901 2000-03-05 Andy Piper <andy@xemacs.org>
10903 * redisplay.c (redisplay_frame): generate_displayable_area and
10904 friends assumes that we are not in GC, we therefore have to make
10905 sure that this doesn't happen.
10907 * gutter.c (calculate_gutter_size): generate_displayable_area
10908 assumes that we are not in GC, we therefore have to make sure that
10909 this doesn't happen.
10911 2000-03-05 Martin Buchholz <martin@xemacs.org>
10913 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
10915 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
10917 * redisplay.c (regenerate_window): Make sure we set a sane value
10918 for end_pos even if we jump out of the loop.
10919 (regenerate_window): Answer Ben's question :-).
10920 (start_end_of_last_line): Add may_error argument.
10921 (start_of_last_line):
10922 (end_of_last_line): Pass may_error = 0.
10923 (end_of_last_line_may_error): New function.
10924 (pixel_to_glyph_translation): Use it, so we don't crash in
10927 2000-03-04 Andy Piper <andy@xemacs.org>
10929 * window.h (struct window): add gutter_extent_modiff.
10931 * window.c (allocate_window): zero out gutter_extent_modiff.
10933 * redisplay.h: declare sync_display_line_structs.
10935 * redisplay.c (add_glyph_rune): add a better comment.
10937 * redisplay-output.c (sync_display_line_structs): made non-static.
10938 (compare_runes): remove unneccesary glyph cachel access.
10940 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
10942 * gutter.c (output_gutter): don't output the gutter if extent
10943 changes only involve extents in buffers. use 4 sets of display
10945 (gutter_extent_signal_changed_region_maybe): new function. Mark
10946 extents in gutters as changed.
10947 (update_frame_gutters): use 4 sets of display lines.
10948 (reset_gutter_display_lines): ditto.
10949 (free_frame_gutters): ditto.
10950 (redraw_exposed_gutter): force output of gutters.
10952 * frame.h (struct frame): add 4 sets of gutter display lines.
10954 * extents.c: (extent_changed_for_redisplay): signal changes to
10955 extents in strings in the gutter as well as extents in buffers.
10957 2000-03-02 Andy Piper <andy@xemacs.org>
10959 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
10961 * frame.c (Fmake_frame): make sure the gutters get initialized
10962 after the frame is visible.
10963 (set_frame_selected_window): re-arrange compilation macros a
10965 (change_frame_size_1): mark gutters changed.
10967 * device.c (Fset_device_class): mark gutters changed.
10969 2000-03-01 Andy Piper <andy@xemacs.org>
10971 * window.c (window_top_frame_gutter_height): deleted.
10972 (window_bottom_frame_gutter_height): ditto.
10973 (window_left_frame_gutter_height): ditto.
10974 (window_right_frame_gutter_height): ditto.
10975 (window_top_gutter_height): don't use them.
10976 (window_bottom_gutter_height): ditto.
10977 (window_left_gutter_width): ditto.
10978 (window_right_gutter_width): ditto.
10979 (Fsplit_window): ditto.
10980 (Fwindow_pixel_edges): don't use border dimensions here.
10982 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
10983 (update_scrollbar_instance): ditto.
10985 * redisplay.c (generate_modeline): don't take gutters into account.
10986 (generate_modeline): ditto.
10987 (redisplay_frame): small gutter display optimization.
10989 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
10991 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
10992 gutters into account.
10994 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
10995 for window position and type.
10997 * gutter.c (get_gutter_coords): fix for frame gutters.
10998 (update_frame_gutters): update frame geometry if the gutters have
11000 (init_frame_gutters): record current gutter geometries.
11002 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
11004 (mswindows_widget_instantiate): ditto.
11006 * frame.h (struct frame): add current_gutter_bounds.
11008 * frame.c (change_frame_size_1): position window and minibuffer
11009 appropriately taking into account the frame gutters.
11011 * frame-x.c: (x_initialize_frame_size): take into account the
11014 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11016 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
11018 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11020 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
11022 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11024 * file-coding.c (reset_decoding_stream): Clear previous
11025 detection state when autodetect.
11027 2000-02-29 Didier Verna <didier@xemacs.org>
11029 * extents.c (set_extent_glyph_1): don't require extents to be
11032 2000-02-27 Andy Piper <andy@xemacs.org>
11034 * gutter.c (Fset_default_gutter_position): don't default left and
11035 right gutter visibility to t.
11036 (Fset_default_gutter_position): run
11037 default-gutter-position-changed-hook.
11038 (syms_of_gutter): add default-gutter-position-changed-hook.
11040 2000-02-26 Andy Piper <andy@xemacs.org>
11042 * specifier.c (Fmake_specifier): add gutter references.
11044 * gutter.h (RAW_WINDOW_GUTTER): new macro.
11046 * lisp.h: declare Fvalid_plist_p.
11048 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
11050 (default_gutter_visible_p_changed_in_window): invalidate gutter as
11051 well as its visibility so that it gets reconstructed.
11052 (construct_window_gutter_spec): new function. Construct a string
11053 to be displayed in the gutter from a plist of strings. Take care
11054 to only use elements that are declared as visible.
11055 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
11057 (gutter_validate): allow plists of strings in the specifier.
11058 (gutter_specs_changed): construct the real_gutter from the gutter
11059 specs using construct_window_gutter_spec.
11060 (gutter_visible_validate): gutter-visible is a new specifier type.
11061 (Fgutter_visible_specifier_p): new function for the new specifier.
11062 (syms_of_gutter): declare gutter-visible and
11063 Fgutter_visible_specifier_p.
11064 (specifier_type_create_gutter): intitalize new gutter-visible
11066 (reinit_specifier_type_create_gutter): ditto.
11067 (specifier_vars_of_gutter): use new specifier type for gutter
11069 (init_frame_gutters): construct real_gutter correctly.
11070 (Fgutter_specifier_p): beef up documentation.
11071 (Fgutter_size_specifier_p): ditto.
11073 * winslots.h: add real_gutter slots.
11075 2000-02-25 Andy Piper <andy@xemacs.org>
11077 * device-msw.c: Be kind to older cygwin versions. From Raymond
11078 Toy <toy@rtp.ericsson.se>.
11080 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
11081 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
11083 2000-02-25 Martin Buchholz <martin@xemacs.org>
11085 * elhash.c (MARK_OBJ): Practice macro hygiene.
11087 2000-02-24 Martin Buchholz <martin@xemacs.org>
11089 * miscplay.c: s/__inline__/inline/g;
11090 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
11091 (get_device_compdc): INLINE ==> static inline
11092 * *.[ch]: Change INLINE to INLINE_HEADER globally.
11093 find -name '*.h' | \
11094 xargs global-replace \
11095 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
11097 2000-02-25 Andy Piper <andy@xemacs.org>
11099 * window.c (window_top_frame_gutter_height): new function.
11100 (window_top_window_gutter_height): ditto.
11101 (window_top_gutter_height): use them.
11102 (window_bottom_frame_gutter_height): new function.
11103 (window_bottom_window_gutter_height): ditto.
11104 (window_bottom_gutter_height): use them.
11105 (window_left_window_gutter_width): new function.
11106 (window_left_frame_gutter_width): ditto.
11107 (window_left_gutter_width): use them.
11108 (window_right_window_gutter_width): new function.
11109 (window_right_frame_gutter_width): ditto.
11110 (window_right_gutter_width): use them.
11111 (window_pixel_height): new function. calulate window pixel height
11112 with frame gutter involvement.
11113 (Fsplit_window): calculate new sizes taking frame gutters into
11115 (window_char_height_to_pixel_height): don't include frame gutters.
11116 (window_char_height): use window_pixel_height.
11117 (window_pixheight): rename from window_pixel_height.
11118 (change_window_height): use it.
11119 (window_pixel_height_to_char_height): don't include frame gutters.
11120 (window_char_width_to_pixel_width): ditto.
11122 2000-02-25 Andy Piper <andy@xemacs.org>
11124 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
11127 2000-02-24 Martin Buchholz <martin@xemacs.org>
11129 * alloc.c (staticpro):
11130 (staticpro_nodump):
11135 (compact_string_chars):
11136 (pdump_dump_wired):
11137 Convert: if (foo) abort(); ==> assert (! foo);
11139 * eldap.c (Fldap_search_basic):
11143 Fix compiler warnings, and possible crashes if (random) return
11144 value were to be used.
11146 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11148 * device-msw.c: Workaround ResetDC failure.
11150 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
11151 applying a devmode.
11153 * redisplay-msw.c (get_frame_dc): Added start_page_p.
11154 (mswindows_text_width): Do not start printer page.
11156 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
11158 * glyphs-msw.c: Added image methods to msprinter console and
11159 msprinter-specific image instantiation.
11161 2000-02-20 Mike Alexander <mta@arbortext.com>
11163 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
11164 to avoid crashes when selection-sets-clipboard is on
11165 (mswindows_own_selection): ditto
11167 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11170 * redisplay-msw.c (get_frame_dc):
11171 (get_frame_compdc):
11173 * device-msw.c (mswindows_init_device):
11174 (mswindows_delete_device):
11175 (msprinter_init_device):
11176 (msprinter_delete_device):
11177 * frame-msw.c (mswindows_init_frame_1):
11178 (mswindows_delete_frame):
11179 (msprinter_init_frame_3):
11180 (msprinter_delete_frame): Move compatible DC to device object from
11181 frame object, for both mswindows and msprinter. Only one at a time
11182 is needed, it is a real waste to have one per frame!
11184 2000-02-23 Andy Piper <andy@xemacs.org>
11186 * glyphs.c: add dynamic width and height elements.
11187 (image_instance_equal): ditto.
11189 * glyphs-widget.c (widget_query_geometry): calculate width and
11190 height dynamically if required.
11191 (initialize_widget_image_instance): initialize dynamic dimensions.
11192 (widget_instantiate): pick-up dynamic dimensions.
11194 * glyphs.h (struct Lisp_Image_Instance): add width and height for
11195 dynamic determination. Add appropriate macros.
11197 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
11199 (WINDOW_GUTTER_SIZE): ditto.
11200 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
11202 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
11204 (get_frame_dc): ditto.
11206 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
11209 2000-02-23 Martin Buchholz <martin@xemacs.org>
11211 * XEmacs 21.2.31 is released.
11213 2000-02-22 Ben Wing <ben@xemacs.org>
11215 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
11217 2000-02-22 Andy Piper <andy@xemacs.org>
11219 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
11221 2000-02-21 Mike Sperber <mike@xemacs.org>
11225 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
11228 2000-02-21 Mike Sperber <mike@xemacs.org>
11230 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
11232 2000-02-21 Martin Buchholz <martin@xemacs.org>
11234 * XEmacs 21.2.30 is released.
11236 2000-02-20 Martin Buchholz <martin@xemacs.org>
11238 Performance hacking.
11240 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
11241 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
11242 * emacs.c (main_1):
11244 * console.c (DEFVAR_CONSOLE_LOCAL_1):
11245 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
11246 * symeval.h (DEFVAR_SYMVAL_FWD):
11247 * symbols.c (guts_of_unbound_marker):
11248 Make all c_readonly objects also lisp_readonly and marked for life.
11249 * lrecord.h (struct lrecord_implementation):
11250 Document flags better.
11251 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
11252 * lrecord.h (DECLARE_LRECORD):
11253 * lrecord.h (XSETRECORD):
11254 * lrecord.h (RECORDP):
11255 * lrecord.h (RECORD_TYPEP):
11256 * lrecord.h (RECORD_MARKER): New.
11257 * lrecord.h (error_check_*):
11258 * lrecord.h (CONCHECK_NONRECORD):
11259 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
11260 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
11261 * lrecord.h (set_lheader_implementation):
11262 * lrecord.h (enum lrecord_type): New.
11263 * symeval.h (SYMBOL_VALUE_MAGIC_P):
11264 * alloc.c (disksave_object_finalization_1):
11265 * alloc.c (mark_object):
11266 * alloc.c (lrecord_type_index):
11267 * alloc.c (tick_lcrecord_stats):
11268 * alloc.c (Fgarbage_collect):
11269 * alloc.c (init_alloc_once_early):
11270 * alloc.c (pdump_load):
11271 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
11272 * alloc.c (lrecord_type_index): Delete.
11273 Make lisp object type indexes be constant.
11274 Makes (byte-compile) 5% faster.
11275 Put all marker functions into their own array.
11276 Makes (garbage-collect) 5% faster.
11277 Optimize SYMBOL_VALUE_MAGIC_P.
11278 Makes (byte-compile) 2-3% faster.
11279 * config.h.in (gc_checking_assert): New.
11280 * alloc.c: Use gc_checking_assert().
11281 * .dbxrc: Make compatible with new object type implementation.
11282 * .gdbinit: Make compatible with new object type implementation.
11283 * alloc.c: Delete all symbols defined only for debugging, such as
11284 Lisp_Type_Vector and lrecord_charset.
11286 2000-02-21 Andy Piper <andy@xemacs.org>
11288 * gui-msw.c (Fmswindows_shell_execute): fix file location
11291 * buffer.c (Fkill_buffer): remove buffer from alist buffer
11292 unshowing so that set_window_buffer doesn't undo
11293 kill_buffer_hook's hard work.
11295 * glyphs-widget.c (tab_control_query_geometry): don't count the
11296 first item when calculating geometry.
11298 * glyphs.c (map_subwindow): remove redundant code.
11299 (update_frame_subwindows): be more circumspect about when to
11302 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
11303 when items haven't changed. Update faces if faces have changed as
11304 well as just the widget face.
11305 (x_tab_control_update): Update faces if faces have changed as well
11306 as just the widget face.
11308 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11310 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
11312 (build_syscolor_string): Use mswindows_color_to_string to try to
11314 (mswindows_device_system_metrics): Reverse the foreground and
11315 background colors so that they match the documentation.
11317 * objects-msw.c: (mswindows_X_color_map): tweak some values so
11318 they match the default Windows palette.
11319 (mswindows_color_to_string): New function.
11321 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11323 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
11325 2000-02-18 Olivier Galibert <galibert@pobox.com>
11327 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
11328 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
11330 * symbols.c (init_symbols_once_early): Removed obsolete
11331 DATA_SEG_BITS related kludge.
11332 (defvar_magic): Ditto.
11334 * malloc.c: Removed obsolete DATA_SEG_BITS
11336 * mem-limits.h: Ditto.
11338 * Makefile.in.in: Removed obsolete HAVE_SHM
11341 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11343 * device-msw.c (mswindows_delete_device): Free DDE string
11346 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11348 * keymap.c (get_keyelt):
11349 * unexnt.c (unexec):
11350 * vm-limit.c (memory_warnings):
11351 * ntheap.c (recreate_heap):
11352 * ntheap.h (UNINIT_PTR):
11353 * select-msw.c (Fmswindows_get_clipboard):
11354 (Fmswindows_set_clipboard):
11355 * objects-msw.h (MSWINDOWS_BAD_HFONT):
11357 * menubar-msw.c (displayable_menu_item):
11359 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
11360 * sysdep.c (sys_subshell):
11361 * process-nt.c (nt_create_process):
11362 * nt.c (normalize_filename):
11363 (dostounix_filename):
11364 (unixtodos_filename):
11365 * ntproc.c (win32_executable_type):
11366 * ntplay.c (play_sound_data_1):
11368 * editfns.c (get_home_directory):
11369 * event-msw.c (struct winsock_stream):
11370 (mswindows_dde_callback):
11371 * device-msw.c (msprinter_init_device):
11372 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
11374 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
11375 mswindows_clear_toolbar were swapped!
11377 * objects-msw.c:(colormap_t):
11379 * emacs.c (struct standard_args): Fixed const jumble.
11381 * glyphs-widget.c (update_widget): Fixed comparison notation.
11383 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
11385 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
11386 __declspec(noreturn) syntax.
11388 2000-02-19 Martin Buchholz <martin@xemacs.org>
11390 * eldap.c (Fldap_open):
11391 (Fldap_search_basic):
11394 Use new coding system conversion macros.
11396 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11398 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
11400 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
11402 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
11403 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11405 * eldap.c (Qadd, Qreplace): New constant symbols
11406 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
11407 interruptions by XEmacs signals
11408 Remove unnecessary calls to slow_down_interrupts and
11409 speed_up_interrupts
11410 (Fldap_search_basic): Renamed from Fldap_search_internal
11411 Added new optional parameter VERBOSE that triggers the
11412 display of progress messages
11413 Remove unnecessary calls to slow_down_interrupts and
11414 speed_up_interrupts
11415 LDAP result code analysis rewritten
11416 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11417 (syms_of_eldap): Define the new symbols and functions
11420 2000-02-17 Martin Buchholz <martin@xemacs.org>
11422 * realpath.c: Determine PATH_MAX maximally portably.
11424 * insdel.c (bytecount_to_charcount): Optimize.
11425 The function used to be optimized for entirely ASCII sequences.
11426 Now it is optimized for successive characters from the same
11427 charset. This also wins big for _mostly_ ASCII sequences.
11429 * fileio.c (Ffile_truename): convert return from realpath() using
11430 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
11431 - Rewrite GCPROing slightly.
11433 * sysdep.c (sys_open): Do filename conversion, like all other
11434 sys_* functions. Fixes bug:
11435 (let ((file-name-coding-system 'iso-8859-2))
11436 (write-region x y latin2-name))
11437 ==> writes filename using internal encoding.
11439 2000-02-18 Martin Buchholz <martin@xemacs.org>
11441 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
11442 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
11443 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
11444 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
11445 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
11446 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
11447 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
11448 (CONST_IF_NOT_DEBUG): Delete.
11449 * alloc.c (this_one_is_unmarkable): Delete.
11450 (mark_object): Don't check for this_one_is_unmarkable. Use the
11451 c_readonly flag instead.
11452 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
11454 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
11456 * event-msw.c (mswindows_drain_windows_queue):
11457 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
11458 away redundant repaint events.
11460 2000-02-17 Andy Piper <andy@xemacs.org>
11462 * redisplay.h: declare mark_redisplay_structs.
11464 * redisplay.c (redisplay_window):
11465 (redisplay_frame): don't check subwindows_state_changed.
11466 (mark_redisplay): mark gutters here.
11468 * glyphs.c: (instantiate_image_instantiator): always layout if we
11469 haven't done so already.
11470 (allocate_image_instance): don't mark as dirty.
11471 (update_subwindow): bind inhibit_quit.
11473 * gutter.c (mark_gutters): new function.
11475 * glyphs-x.c (x_update_widget): Always resize to get round a
11478 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
11479 breaking absolutely everything.
11481 * gutter.h: declare mark_gutters.
11483 2000-02-16 Martin Buchholz <martin@xemacs.org>
11485 * XEmacs 21.2.29 is released.
11487 2000-02-15 Olivier Galibert <galibert@pobox.com>
11489 * fns.c (size_bit_vector): Fix computation of the size.
11491 2000-02-15 Martin Buchholz <martin@xemacs.org>
11493 * *.[ch]: Change CONST to const globally.
11494 find -name '*.[ch]' | \
11495 xargs global-replace \
11496 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
11497 - Remove vestigial references to CONST_IS_LOSING
11499 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11501 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
11502 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
11503 events instead of dispatching them directly.
11504 (mswindows_handle_paint): New function to do repainting.
11505 (mswindows_wnd_proc):
11506 (emacs_mswindows_handle_magic_event): Call above function.
11508 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11510 * objects-msw.c (mswindows_create_font_variant): Return the new
11512 (initialize_font_instance): Get font metrics from the underlined
11513 variant of the font to cope with the case where the underlined
11514 font has a bigger descent.
11516 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11518 * gui.c (gui_item_accelerator): Return the first underlined
11519 character in item name.
11521 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11523 * lisp.h: Added Qprinter.
11525 * general.c (syms_of_general): Initialized it.
11527 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
11529 (get_frame_compdc): Made inline.
11531 * console.h (struct console_methods): Added eject_page method.
11533 * frame.h: Added FRAME_DISPLAY_P and friends.
11534 Aligned backslahes in many macros in more readable fashion.
11535 Added page_number to struct frame, and an accessor macro
11538 * defice.h: Added DEVICE_DISPLAY_P and friends.
11540 * device.c (Fdevice_printer_p): Used these.
11542 * frame.c (allocate_frame_core): Initialize page number.
11543 (Fprint_job_page_number):
11544 (Fprint_job_eject_page): Implemented.
11546 * frame-msw.c (msprinter_eject_page): Added method.
11547 (msprinter_start_page): Added.
11549 * window.c (Fwindow_truncated_p): Fixed docstring.
11550 (Fwindow_last_line_visible_height): Implemented.
11552 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11554 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
11556 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11558 * syntax.c (scan_words): Always advance at least one character.
11560 2000-02-13 Andy Piper <andy@xemacs.org>
11562 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
11563 to make sure the glyph is in the cachels.
11565 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
11566 global image instance flag.
11567 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
11568 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
11570 * glyphs.c (allocate_image_instance): set dirty bits correctly.
11571 (Fset_image_instance_property): mark layout as changed.
11572 (invalidate_glyph_geometry_maybe): mark layout as changed.
11573 (glyph_width): use new NEEDS_LAYOUT macro.
11574 (glyph_ascent): ditto.
11575 (glyph_descent): ditto.
11576 (glyph_height): ditto.
11577 (image_instance_layout): mark layout as clean after laying out.
11578 (update_subwindow): don't mark layout as clean here.
11580 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
11581 should no longer be needed.
11583 * glyphs-x.c (x_update_widget): sanitize asserts.
11584 (x_finalize_image_instance): sanitize assignment to widgets.
11586 * glyphs-widget.c (widget_instantiate): don't need to clear the
11589 2000-02-13 Martin Buchholz <martin@xemacs.org>
11591 * sysdep.c (getcwd): Use standard prototype.
11592 * sysdep.h (getcwd): Use standard prototype.
11594 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
11595 (sequence, start, end).
11596 Remove redundant type checking.
11597 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
11598 view of `caller-protects') to avoid a crash where the real fix was
11601 2000-02-12 Martin Buchholz <martin@xemacs.org>
11603 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
11605 * s/sol2.h: Remove feature macro initialization.
11607 * alloc.c (alloc_lcrecord): Add more type checking assertions.
11608 (vector_hash): New. Code from internal_hash.
11610 Fix up allocation subsystem comments.
11612 * config.h.in: Add __EXTENSIONS__ for Solaris.
11614 * systime.h (EMACS_GETTIMEOFDAY): New.
11615 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
11616 Remove Solaris-specific code.
11617 Use void* for the (ignored) second arg for gettimeofday().
11619 * elhash.c (hash_table_hash): Implement it, finally.
11620 * elhash.c: Use hashcode_t.
11622 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
11623 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
11625 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
11626 * fns.c (size_bit_vector):
11627 * alloc.c (size_vector):
11628 (make_vector_internal):
11629 (make_bit_vector_internal):
11630 (sweep_bit_vectors_1):
11631 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
11633 2000-02-10 Martin Buchholz <martin@xemacs.org>
11635 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
11636 Include strings.h to avoid warnings for bzero and strcasecmp.
11638 2000-02-10 Olivier Galibert <galibert@pobox.com>
11640 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
11641 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
11643 * fns.c (size_bit_vector): New. Declare bit vectors as a
11646 2000-02-10 Olivier Galibert <galibert@pobox.com>
11648 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
11649 use a value field instead.
11650 (symbol_value_forward_forward): Use value field.
11651 (DEFVAR_SYMVAL_FWD): Use value field.
11652 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
11653 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
11654 (DEFVAR_CONST_INT): Ditto.
11655 (DEFVAR_BOOL): Ditto.
11656 (DEFVAR_CONST_BOOL): Ditto.
11657 (DEFVAR_INT_MAGIC): Ditto.
11658 (DEFVAR_BOOL_MAGIC): Ditto.
11660 * symbols.c (guts_of_unbound_marker): Use value field.
11661 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
11662 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
11664 * lisp.h: Declare dumpopaque and noninteractive1.
11666 * alloc.c (dumpopaque): Added.
11667 (pdump_dump_opaquevec): Added.
11668 (pdump): Call pdump_dump_opaquevec to dump opaque data.
11669 (pdump_load): Reload opaque data. Sync noninteractive1 with
11672 2000-02-10 Andy Piper <andy@xemacs.org>
11674 * glyphs.c (image_instance_layout): if the size changes, mark it
11677 * redisplay-output.c (redisplay_output_layout): Update the
11679 (redisplay_output_subwindow): ditto.
11681 * glyphs.c (update_subwindow): make sure we reset flags for
11682 layouts as well as everything else.
11684 * glyphs-widget.c (layout_layout): don't need to set the instances
11687 2000-02-09 Martin Buchholz <martin@xemacs.org>
11689 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
11690 not HAVE_DLOPEN, which is a lower-level thing.
11692 * .cvsignore: Ignore gmon.out
11694 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
11696 * .cvsignore: Ignore portable dumper xemacs.dmp file
11698 2000-02-09 Andy Piper <andy@xemacs.org>
11700 * redisplay-output.c (redisplay_output_layout): be more clever
11701 about when we output based on the changed flags.
11703 * glyphs.h (struct image_instantiator_methods): add update_method.
11704 (struct Lisp_Image_Instance): add changed flags. Declare new
11705 macros for manipulating them.
11707 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
11708 (image_instance_parent_glyph): find an image_instance's parent
11709 glyph or image_instance.
11710 (image_instance_layout): mark the size as changed.
11711 (set_image_instance_dirty_p): new function. mark an image
11712 instance, plus all of its parents, as dirty.
11713 (Fset_image_instance_property): use it.
11714 (Fglyph_animated_timeout_handler): use it.
11715 (update_subwindow): call update_widget and device methods for
11716 update_subwindow. Mark all changed flags as clean.
11717 (Fresize_subwindow): mark size as changed.
11719 * glyphs-x.c (x_finalize_image_instance): try and detect gc
11721 (x_update_subwindow): only resize subwindows here.
11722 (x_update_widget): new function. Update all changed properties of
11724 (x_resize_subwindow): deleted.
11725 (x_widget_set_property): deleted.
11726 (x_progress_gauge_set_property): deleted.
11727 (x_progress_gauge_update): new function. Implement recorded
11729 (x_tab_control_update): ditto.
11730 (x_tab_control_set_property): deleted.
11731 (console_type_create_glyphs_x): declare new functions.
11732 (image_instantiator_format_create_glyphs_x): ditto.
11734 * glyphs-widget.c (widget_set_property): mark text changed.
11735 (update_widget): new function. Update properties of a widget.
11736 (widget_instantiate): for layouts make sure we set their
11737 children's parent correctly.
11738 (tab_control_set_property): new function. Record changes that will
11739 take place under redisplay's control.
11740 (progress_gauge_set_property): ditto.
11741 (image_instantiator_progress_guage): declare new functions.
11742 (image_instantiator_tab_control): ditto.
11744 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
11746 (mswindows_update_widget): new function. Update all properties on
11747 a widget that have changed.
11748 (mswindows_button_update): new function. Update a button's set
11750 (mswindows_tab_control_update): new function. Update the items in
11752 (mswindows_tab_control_set_property): deleted.
11753 (mswindows_progress_gauge_update): new function. Update the
11754 progress gauge's progress.
11755 (mswindows_widget_set_property): deleted. This is all done
11756 asynchronously now.
11757 (mswindows_progress_gauge_set_property): ditto.
11758 (console_type_create_glyphs_mswindows): declare new methods.
11759 (image_instantiator_format_create_glyphs_mswindows): ditto.
11761 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
11762 (msprinter_set_frame_properties): ditto.
11764 * console.h (struct console_methods): Add update_widget_method.
11766 2000-02-09 Andy Piper <andy@xemacs.org>
11768 * gui-msw.c (Fmswindows_shell_execute): Make
11769 mswindows-shell-execute industrial strength.
11771 2000-02-08 Martin Buchholz <martin@xemacs.org>
11773 * lrecord.h: Make macro argument `props' match member function `plist'.
11776 * fns.c (Fremprop):
11777 * fns.c (Fobject_plist):
11780 Object property list frobbing cleanup.
11781 - Allow any lisp object (compared with `eq'), not just symbols, as
11782 keys in object plists.
11783 - Move symbol plist frobbing into symbols.c, where it belongs.
11784 - Move string plist frobbing into alloc.c, where it belongs.
11785 - Everything's an lrecord now, so no need to test for symbolp, etc.
11786 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
11788 * extents.c: Reorder code to remove declarations.
11790 * frame.h (store_in_alist): Remove useless declaration.
11792 2000-02-07 Martin Buchholz <martin@xemacs.org>
11794 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
11795 * config.h.in: Add HAVE_XCONVERTCASE.
11797 2000-02-07 Andy Piper <andy@xemacs.org>
11799 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
11800 it breaks many things.
11802 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11804 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
11805 actually can start a common comment type.
11806 * src/syntax.h (SYNTAX_END_P): ditto for end.
11808 2000-02-07 Martin Buchholz <martin@xemacs.org>
11810 * XEmacs 21.2.28 is released.
11812 2000-02-06 Martin Buchholz <martin@xemacs.org>
11814 * event-Xt.c (x_keysym_to_character): New.
11815 (maybe_define_x_key_as_self_inserting_character): New.
11816 (x_has_keysym): New.
11817 Auto-define all keys on the keyboard as self-insert-key.
11819 2000-02-02 Martin Buchholz <martin@xemacs.org>
11821 * menubar.c (vars_of_menubar): A small code simplification.
11823 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
11826 * ExternalClient.c:
11827 * EmacsShell-sub.c:
11830 Use consistent style for specifying X resources.
11832 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
11833 This makes (dontusethis-set-symbol-value-handler) actually usable.
11835 * lrecord.h (lrecord_decription_type):
11836 * alloc.c (pdump_register_sub):
11839 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
11840 Comply with XEmacs coding style.
11841 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
11842 args, and XD_LISP_OBJECT_ARRAY with 3 args.
11844 * keymap.c (Faccessible_keymaps):
11845 Make (accessible-keymaps map "\C-h") do the Right Thing.
11846 Make (accessible-keymaps map []) do the Right Thing.
11847 Make (accessible-keymaps map "") do the Right Thing.
11848 (check_keymap_definition_loop): New function.
11849 (keymap_store_internal): Keep luser from shooting self in foot,
11850 via (define-key ctl-x-4-map "p" global-map).
11851 Remove fullness slot from struct Lisp_Keymap, since hash tables
11853 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
11855 2000-01-30 Martin Buchholz <martin@xemacs.org>
11857 * redisplay.c (init_redisplay): Fix small memory leak.
11859 * elhash.c (pdump_reorganize_hash_table):
11860 Rename from reorganize_hash_table. Change prototype.
11861 Reuse the original memory for hentries. Save 100k.
11862 * alloc.c (PDUMP_READ): new macro.
11863 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
11864 * alloc.c: No need to #ifndef before #undef.
11866 * print.c: Allow debug_print() to print readably by modifying
11867 debug_print_readably. Use consistent variable names.
11869 * .dbxrc: Try to get things to work even if stopped in a function
11870 without source available by explicitly specifying source files.
11871 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11873 * unexnt.c (_start): Removed bogus code which caused loading heap
11874 from differrent executable file.
11875 Removed bogus assignment to _fmode, which caused inconsistencies.
11877 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11879 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
11880 Have spawnve encapsulation regard DONT_ENCAPSULATE.
11881 Do not preliminary `#define signal sigset'.
11883 * systime.h: Do not prototype environ on windows nt and cygwin,
11884 this conflicts with system header.
11886 * syssignal.h: Use correct define for WINDOWSNT
11888 * sysdep.h: Do not prototype environ on windows nt, this conflicts
11889 with system header.
11891 * sysdep.c (near start of file): Fixed commentary and rearranged
11892 ifdefs in readable order.
11893 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
11896 (end_of_data): Do not compile in if using PDUMP.
11898 * symsinit.h: Prototyped vars_of_nt().
11900 * ntproc.c (windows9x_p): Added, instead of os_subtype.
11901 (find_child_console): Use it.
11902 (sys_kill): Use it.
11904 * ntheap.h: Do not extern os_subtype.
11906 * ntheap.c (cache_system_info): Do not cache unneeded:
11907 nt_major_version, nt_minor_version and os_subtype.
11908 (recreate_heap): Do not compile in when PDUMPing.
11910 * nt.c (geteuid and friends): Use the new varibale
11911 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
11912 (init_user_info): Removed the above mentioned hackery.
11913 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
11914 stat has been fixed in the C runtime.
11915 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
11917 * file-coding.c (struct file_coding_dump): Do not define
11918 ucs_to_mule_table in the struct if not MULE.
11919 (struct struct lrecord_description fcd_description_1): Do not dump
11922 * emacs.c (main_1): Call vars_of_nt().
11923 (right before Fdump_emacs_data): Don't need lastfile if using both
11924 portabe dumper and system malloc.
11926 * alloc.c (Fmemory_limit): Conditionalized out.
11927 (pdump): Use OPEN_BINARY for the portable dump file.
11928 (pdump_load): Ditto.
11930 2000-02-02 Mike Alexander <mta@arbortext.com>
11932 * nt.c (convert_time): Set tm_isdst before calling mktime and
11933 avoid calling it at all if the compiler supports 64 bit integers.
11934 Also initialize utc_base_ft before using it.
11936 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11938 * frame.c (change_frame_size_1): Take f->internal_border_width
11939 into consideration when calculating the width of the frame.
11941 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11943 * window.c (frame_min_height):
11944 (frame_size_valid_p):
11945 (frame_pixsize_valid_p): Added.
11946 (check_frame_size): Generalized.
11948 * window.h: Prototyped the above.
11951 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
11952 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
11953 Deleted Vwin32_* and Vbinary_process_* unused variables.
11955 * device-msw.c (msprinter_init_device): Do not get printer font
11956 list; Added DEVMODE functions.
11958 * frame-msw.c: Added lots of printer code.
11960 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
11963 * console-msw.h: Added more msprinter device private slots.
11965 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11967 * event-msw.c (key_needs_default_processing_p): Added.
11968 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
11970 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11972 * glyphs.c (image_instance_layout): Mark image instance as clean
11974 (glyph_dirty_p): Removed redundant function.
11975 (invalidate_glyph_geometry_maybe): Added.
11976 (update_glyph_cachel_data): Call it.
11978 * glyphs.h: Prototyped it.
11980 * redisplay.c (add_glyph_rune): Call it.
11981 (redisplay_window): Reset glyphs cachels when frame faces have
11982 changed, thus forcing recomputation of built-in border glyphs.
11984 2000-01-30 Martin Buchholz <martin@xemacs.org>
11986 * Makefile.in.in: Make portable dumper and purify play well together.
11987 Add imperfect, but better than nothing, support for pdump.
11988 Remove xemacs.dmp when temacs is re-generated.
11989 Don't ignore errors when dumping xemacs.
11991 * symbols.c (maybe_call_magic_handler): Remove one magic number.
11993 2000-01-28 Andy Piper <andy@xemacs.org>
11995 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
11996 (setup_normal_frame): ditto.
11997 (setup_frame_without_minibuffer): ditto.
11998 (setup_minibuffer_frame): ditto.
11999 (delete_frame_internal): ditto.
12000 (Fmake_frame_invisible): ditto.
12001 (Ficonify_frame): ditto.
12003 * window.h: change Fset_window_buffer signature.
12005 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
12006 (Fset_window_buffer): allow recording of buffer if the window is
12007 the selected window.
12008 (window_loop): Use new Fset_window signature.
12010 2000-01-23 Daniel Pittman <daniel@danann.net>
12012 * config.h.in: Added template for `HAVE_ATHENA_3D'
12014 2000-01-29 Andy Piper <andy@xemacs.org>
12016 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
12018 * gutter.c (output_gutter): Don't output if the window isn't live.
12020 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12022 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
12023 of 01/12/00: Moved SetFocus back here where it belongs.
12025 2000-01-23 Andy Piper <andy@xemacs.org>
12027 * s/cygwin32.h: declare printer things.
12029 2000-01-26 Andy Piper <andy@xemacs.org>
12031 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
12034 2000-01-24 Andy Piper <andy@xemacs.org>
12036 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
12037 (mswindows_button_instantiate): Make sure glyph is a pixmap.
12039 * glyphs-widget.c (widget_instantiate): Avoid shadows.
12041 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
12043 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
12045 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
12046 (mswindows_output_display_block): Avoid local shadows.
12048 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
12049 (mswindows_enqueue_mouse_button_event): ditto.
12050 (mswindows_handle_gui_wm_command): remove declaration.
12052 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
12055 * console-msw.h: Avoid shadows.
12056 (mswindows_get_toolbar_button_text):
12057 (emacs_mswindows_create_stream_pair):
12058 (emacs_mswindows_delete_stream_pair):
12059 (mswindows_handle_toolbar_wm_command): declare.
12061 * device-msw.c (build_syscolor_string): Avoid shadows.
12063 2000-01-23 Andy Piper <andy@xemacs.org>
12065 * glyphs-widget.c (widget_instantiate): reverse the items for
12066 layouts so that children are in the expected order.
12068 2000-01-28 Martin Buchholz <martin@xemacs.org>
12070 * ralloc.c: safe_bcopy ==> memmove
12071 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
12072 * s/msdos.h: Remove BCOPY macros.
12073 * insdel.c (gap_right): Remove BCOPY conditional code.
12074 * insdel.c (gap_left): Remove BCOPY conditional code.
12075 XEmacs demands a working ANSI C compiler - hence memmove.
12077 * regex.c (regex_compile): Remove accidental use of trigraphs.
12079 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12081 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
12084 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12086 * event-msw.c (mswindows_drain_windows_queue): Added the
12088 (mswindows_need_event): Commented the call to
12089 mswindows_drain_windows_queue().
12090 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
12093 * console-msw.h: Moved a few function prototypes here from
12096 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
12097 parameter from unsigned short to unsigned long.
12098 (Fmswindows_shell_execute): Added return value.
12100 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12102 * sysdep.c (init_system_name):
12103 process-unix.c (unix_canonicalized_host_name):
12104 Don't call freeaddrinfo() if getaddrinfo() fails.
12106 * process-unix.c (unix_open_unix_network_stream):
12107 Moved the code to get a port # into address loop.
12109 2000-01-27 Martin Buchholz <martin@xemacs.org>
12111 * buffer.c (reinit_vars_of_buffer):
12112 The right place to initialize conversion_in_dynarr and
12113 conversion_out_dynarr.
12115 * alloc.c (pdump): Use the real open() till sys_open() is functional.
12117 * process-unix.c (unix_canonicalize_host_name): Muleize.
12118 (unix_open_network_stream): Muleize.
12120 * buffer.h: Fix up prototypes for ralloc.c functions.
12122 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12123 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
12124 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
12125 instead of gethostbyname()
12126 * process-unix.c: In unix_canonicalize_host_name() and
12127 unix_open_network_stream(), add code to use getaddrinfo()
12128 instead of gethostbyname().
12130 2000-01-27 Daniel Pittman <daniel@danann.net>
12132 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
12133 libs when built with flat Athena.
12135 2000-01-27 Martin Buchholz <martin@xemacs.org>
12137 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
12138 Use coding standards for function prototypes.
12140 2000-01-25 Martin Buchholz <martin@xemacs.org>
12142 * dialog-msw.c (push_lisp_string_as_unicode):
12143 * doc.c (unparesseuxify_doc_string):
12144 * dired.c (Fuser_name_completion_1):
12145 * dired.c (Fuser_name_all_completions):
12146 * dired.c (free_user_cache):
12147 * dired.c (user_name_completion):
12148 * console-x.c (get_display_arg_connection):
12149 * minibuf.c (clear_echo_area_internal):
12150 * minibuf.c (echo_area_append):
12151 * eldap.c (Fldap_open):
12152 * eldap.c (Fldap_search_internal):
12153 * frame-x.c (x_set_frame_text_value):
12154 * frame-x.c (x_set_frame_properties):
12155 * frame-x.c (x_create_widgets):
12156 * redisplay-tty.c (term_get_fkeys_1):
12157 * objects-x.c (x_parse_nearest_color):
12158 * objects-x.c (x_valid_color_name_p):
12159 * objects-x.c (x_initialize_font_instance):
12160 * objects-x.c (x_list_fonts):
12161 * objects-x.c (x_find_charset_font):
12162 * tooltalk.c (Fadd_tooltalk_message_arg):
12163 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12164 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12165 * process-unix.c (unix_create_process):
12166 * ntproc.c (sys_spawnve):
12167 * sound.c (Fplay_sound_file):
12168 * sound.c (Fplay_sound):
12169 * buffer.c (init_initial_directory):
12170 * buffer.c (init_buffer):
12171 * editfns.c (init_editfns):
12172 * editfns.c (Ftemp_directory):
12173 * editfns.c (Fuser_full_name):
12174 * editfns.c (uncache_home_directory):
12175 * editfns.c (get_home_directory):
12176 * editfns.c (Fuser_home_directory):
12177 * editfns.c (Fformat_time_string):
12178 * editfns.c (Fcurrent_time_string):
12179 * gui-x.c (button_item_to_widget_value):
12180 * database.c (Fopen_database):
12181 * event-Xt.c (x_to_emacs_keysym):
12182 * event-Xt.c (x_event_to_emacs_event):
12183 * event-Xt.c (describe_event_window):
12184 * event-msw.c (mswindows_wnd_proc):
12185 * glyphs-eimage.c (jpeg_instantiate):
12186 * glyphs-eimage.c (gif_instantiate):
12187 * glyphs-eimage.c (png_instantiate):
12188 * glyphs-eimage.c (tiff_instantiate):
12189 * glyphs-x.c (xbm_instantiate_1):
12190 * glyphs-x.c (x_xbm_instantiate):
12191 * glyphs-x.c (x_xface_instantiate):
12192 * glyphs-x.c (autodetect_instantiate):
12193 * glyphs-x.c (cursor_font_instantiate):
12194 * glyphs-x.c (x_widget_instantiate):
12195 * glyphs-x.c (x_widget_set_property):
12196 * glyphs-x.c (x_widget_property):
12197 * glyphs-x.c (BUILD_GLYPH_INST):
12198 * print.c (write_string_to_stdio_stream):
12199 * print.c (output_string):
12200 * print.c (Falternate_debugging_output):
12201 * print.c (Fexternal_debugging_output):
12202 * glyphs-msw.c (extract_xpm_color_names):
12203 * glyphs-msw.c (mswindows_xpm_instantiate):
12204 * glyphs-msw.c (bmp_instantiate):
12205 * glyphs-msw.c (resource_name_to_resource):
12206 * glyphs-msw.c (mswindows_resource_instantiate):
12207 * glyphs-msw.c (xbm_instantiate_1):
12208 * glyphs-msw.c (mswindows_xbm_instantiate):
12209 * glyphs-msw.c (mswindows_xface_instantiate):
12210 * glyphs-msw.c (mswindows_widget_instantiate):
12211 * glyphs-msw.c (add_tree_item):
12212 * glyphs-msw.c (add_tab_item):
12213 * glyphs-msw.c (mswindows_combo_box_instantiate):
12214 * glyphs-msw.c (mswindows_widget_property):
12215 * glyphs-msw.c (mswindows_combo_box_property):
12216 * glyphs-msw.c (mswindows_widget_set_property):
12217 * console.c (stuff_buffered_input):
12218 * objects-msw.c (mswindows_initialize_color_instance):
12219 * objects-msw.c (mswindows_valid_color_name_p):
12220 * objects-msw.c (mswindows_list_fonts):
12221 * objects-msw.c (mswindows_font_instance_truename):
12222 * bytecode.c (optimize_compiled_function):
12223 * select-x.c (symbol_to_x_atom):
12224 * select-x.c (x_atom_to_symbol):
12225 * select-x.c (hack_motif_clipboard_selection):
12226 * select-x.c (selection_data_to_lisp_data):
12227 * select-x.c (lisp_data_to_selection_data):
12228 * select-x.c (Fx_get_cutbuffer_internal):
12229 * select-x.c (Fx_store_cutbuffer_internal):
12230 * buffer.h (TO_EXTERNAL_FORMAT): New function.
12231 * buffer.h (TO_INTERNAL_FORMAT): New function.
12232 * emacs.c (make_arg_list_1):
12233 * emacs.c (make_argc_argv):
12234 * emacs.c (main_1):
12235 * emacs.c (Fdump_emacs):
12236 * emacs.c (split_string_by_emchar_1):
12241 * device-x.c (x_init_device):
12242 * device-x.c (Fx_valid_keysym_name_p):
12243 * device-x.c (Fx_get_font_path):
12244 * device-x.c (Fx_set_font_path):
12245 * glyphs.c (bitmap_to_lisp_data):
12246 * glyphs.c (pixmap_to_lisp_data):
12247 * alloc.c (make_ext_string): Use coding system arguments. Update
12249 * alloc.c (build_string):
12250 * callproc.c (child_setup):
12251 * callproc.c (init_callproc):
12252 * fileio.c (lisp_strerror):
12253 * fileio.c (directory_file_name):
12254 * fileio.c (Fexpand_file_name):
12255 * fileio.c (Ffile_truename):
12256 * fileio.c (Fsysnetunam):
12257 * fileio.c (Fdo_auto_save):
12258 * sysdep.c (sys_readdir):
12259 * tests.c: New file. Allow adding C tests.
12260 Replace GET_* macros with a more comprehensible and flexible
12261 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
12263 Any coding system can be used to do format conversion.
12264 Eliminate enum external_data_format.
12265 Eliminate convert_to_external_format.
12266 Eliminate convert_to_internal_format.
12267 Make sure file-name, keyboard, terminal, and ctext are always
12268 defined as coding systems or aliases. Make
12269 file-name-coding-system, terminal-coding-system, and
12270 keyboard-coding-system magical variables that are equivalent to
12271 defining the corresponding coding system aliases.
12273 * file-coding.c (Fcoding_system_canonical_name_p): New function.
12274 * file-coding.c (Fcoding_system_alias_p): New function.
12275 * file-coding.c (Fcoding_system_aliasee): New function.
12276 * file-coding.c (append_suffix_to_symbol): New function.
12277 * file-coding.c (dangling_coding_system_alias_p): New function.
12278 * file-coding.c (Ffind_coding_system):
12279 * file-coding.c (Fcopy_coding_system):
12280 * file-coding.c (encode_coding_no_conversion):
12281 * file-coding.c (syms_of_file_coding):
12282 * file-coding.c (vars_of_file_coding):
12283 Rewrite coding system alias code.
12284 Allow nested aliases, like symbolic links.
12285 Allow redefinition of coding system aliases.
12286 Prevent existence of dangling coding system aliases.
12288 * dired.c (Fuser_name_completion_1):
12289 * dired.c (Fuser_name_all_completions):
12290 A crash would happen if user did QUIT in the middle of building
12291 user_name_cache. Remove redundant code in mainline and unwind_protect.
12294 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
12296 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
12297 an unsigned char *. Update all callers.
12299 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12301 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
12303 2000-01-25 Martin Buchholz <martin@xemacs.org>
12305 * elhash.c (hentry_description): Use more portable definition.
12306 (resize_hash_table): Initialize new hentries using
12307 xnew_array_and_zero, thereby simplifying the code.
12309 * mule-charset.c (make_charset): Make sure entire object is
12310 initialized, to avoid Purify warnings.
12312 * alloc.c (resize_string): Fix unlikely crash with big strings.
12314 2000-01-24 Martin Buchholz <martin@xemacs.org>
12316 * realpath.c (xrealpath):
12317 Don't call getwd().
12319 2000-01-25 Martin Buchholz <martin@xemacs.org>
12321 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
12323 1999-12-28 Max Matveev <max@melbourne.sgi.com>
12325 * unexelfsgi.c (unexec): Change the way we decide which segment
12326 should be extended.
12328 Assumption that .bss section should be outside the PT_LOADable
12329 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
12330 it's present) is inside the 'data' segment. This would fail the
12331 test which was used to find a segment to grow and cover new
12332 heap. Instead of this assumption, I created another one - on IRIX
12333 the segment to grow should start below .bss and it's address
12334 should extent above the end of .bss. Once this segment is
12335 identified, it's grown to accommodate the new heap and new
12336 zero-length .bss section is added at the end of .data2.
12338 2000-01-25 Martin Buchholz <martin@xemacs.org>
12340 * eval.c (Feval): Wrong number of arguments should use original
12341 function, not the indirect_function version of it.
12343 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12345 * glyphs-x.c (x_button_instantiate): Don't add image if
12346 it is not a pixmap.
12347 (x_locate_pixmap_file): Call Fexpand_file_name when file name
12350 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
12352 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
12354 (DEFVAR_INT_MAGIC): Ditto.
12355 (DEFVAR_BOOL_MAGIC): Ditto.
12356 * glyphs.h: Reindent backslash.
12358 2000-01-24 Martin Buchholz <martin@xemacs.org>
12360 * glyphs-widget.c (layout_query_geometry):
12361 (layout_layout): Use correct types for gheight, gwidth.
12363 2000-01-24 Martin Buchholz <martin@xemacs.org>
12365 * EmacsManager.c (QueryGeometry): Purified.
12367 2000-01-23 Martin Buchholz <martin@xemacs.org>
12369 * alloc.c (make_float): Make sure entire object is initialized, to
12370 avoid Purify warnings.
12371 (pdump_register_sub): Remove useless assignment.
12372 (pdump): Use xmalloc, not malloc.
12373 (pdump_load): Use xmalloc, not malloc.
12375 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12382 * sysdep.c: Removed redundant #include <windows.h>
12384 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12386 * frame.c (delete_frame_internal): Do not delete device when its
12387 implementation so declares.
12388 (delete_frame_internal): Set device selected frame to nil when
12389 last frame goes away.
12391 * device-msw.c (msprinter_device_system_metrics): Implemented.
12392 (mswindows_device_system_metrics): Added 'device-dpi property.
12394 * device.c: (Fdevice_printer_p): Added.
12395 Added 'offset-workspace device metric.
12397 * console.h (device_metrics): Declared DM_offset_workspace.
12399 2000-01-23 Martin Buchholz <martin@xemacs.org>
12401 * fileio.c (Ffile_truename): Remove pointless and confusing
12402 initialization of elen.
12404 * glyphs-widget.c: Compiler warning fixes.
12406 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
12408 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
12409 instead of a Lisp_Object as argument to make it consistent with
12410 the other LIVE_P macros.
12411 (CHECK_LIVE_PROCESS): New macro.
12413 * process.c: Declare Qprocess_live_p.
12414 (Fprocess_live_p): New function.
12415 (create_process): Use PROCESS_LIVE_P.
12416 (read_process_output): Ditto.
12417 (set_process_filter): Ditto.
12418 (Fdelete_process): Ditto.
12419 (kill_buffer_processes): Ditto
12420 (process_send_signal): Use CHECK_LIVE_PROCESS.
12421 (Fprocess_input_coding_system): Check whether process is still
12422 alive (fix PR#1061).
12423 (Fprocess_output_coding_system): Ditto.
12424 (Fprocess_coding_system): Ditto.
12425 (Fset_process_input_coding_system): Ditto.
12426 (Fset_process_output_coding_system): Ditto.
12428 2000-01-23 Andy Piper <andy@xemacs.org>
12430 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
12433 * glyphs.c (mark_image_instance): take into account changed
12434 image_instance format.
12435 (image_instance_equal): ditto.
12436 (image_instance_hash): ditto.
12438 * glyphs-widget.c (widget_instantiate): Incorporate layout
12439 instantiation here. Delay layout of the layout until later.
12440 (layout_instantiate): deleted.
12441 (layout_query_geometry): new function. get the geometry of a
12443 (layout_layout): layout a layout dynamically.
12444 (image_instantiator_widget): New function - splitting up
12445 image_instantiator_format_create_glyphs_widget for netwinder
12447 (image_instantiator_buttons):
12448 (image_instantiator_edit_fields):
12449 (image_instantiator_combo_box):
12450 (image_instantiator_scrollbar):
12451 (image_instantiator_progress_guage):
12452 (image_instantiator_tree_view):
12453 (image_instantiator_tab_control):
12454 (image_instantiator_labels):
12455 (image_instantiator_layout): ditto.
12456 (image_instantiator_format_create_glyphs_widget): Call preceding
12459 2000-01-22 Martin Buchholz <martin@xemacs.org>
12461 * process.c (Fset_process_coding_system):
12462 * device-x.c (Fx_keysym_hash_table):
12465 * lstream.c (Lstream_write): Return documented value, not 0.
12467 * fileio.c (directory_file_name):
12468 (Fsubstitute_in_file_name):
12469 (Fsubstitute_insert_file_contents_internal):
12470 (Fwrite_region_internal):
12475 Remove vestigial APOLLO-conditional code.
12477 2000-01-21 Martin Buchholz <martin@xemacs.org>
12479 * getpagesize.h: Add guard macros.
12480 * libsst.h: Add guard macros.
12481 * libst.h: Add guard macros.
12482 * line-number.h: Add guard macros.
12483 * ndir.h: Add guard macros.
12484 * sysfloat.h: Add guard macros.
12485 * sysfile.h: Add guard macros.
12486 * sysproc.h: Add guard macros.
12487 * syswait.h: Add guard macros.
12488 * xintrinsic.h: Add guard macros.
12489 * xintrinsicp.h: Add guard macros.
12490 * xmmanager.h: Add guard macros.
12491 * xmmanagerp.h: Add guard macros.
12492 * xmprimitive.h: Add guard macros.
12493 * xmu.h: Add guard macros.
12494 * gpmevent.h: Add copyright statement. Add guard macros.
12495 * miscplay.h: Add guard macros.
12496 * *.h: Use consistent C-standards-approved guard macro names.
12498 * opaque.c (make_opaque): Switch parameter order.
12499 * opaque.h (make_opaque): Switch parameter order.
12500 Update all callers.
12501 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
12503 * config.h.in (type_checking_assert): Added.
12504 (bufpos_checking_assert): Added.
12506 2000-01-21 Martin Buchholz <martin@xemacs.org>
12508 * alloc.c: Harmless pdump changes.
12510 - spell alignment correctly.
12511 * sysdep.c: Use countof()
12513 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12515 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
12516 initially_selected_for_input() console method, default to 0.
12517 (semi_canonicalize_console_connection): Try to delegate to
12518 canonicalize_console_connection if no such console method.
12519 (canonicalize_console_connection): Vice versa.
12520 (print_console): Do not print nil connection.
12522 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
12523 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
12524 (XDEVIMPF_FRAMELESS_OK): Added.
12525 (CONSOLE_INHERITS_METHOD): Added.
12527 * console-msw.c (mswindows_canonicalize_console_connection):
12529 (mswindows_canonicalize_device_connection): Added.
12531 * console-msw.h (struct msprinter_device): Added this struct and
12533 (mswindows_device): Made fontlist a lisp object.
12535 * device.c (semi_canonicalize_device_connection): Try to delegate
12536 to canonicalize_device_connection if no such console method.
12537 (canonicalize_device_connection): Vice versa.
12538 (print_device): Do not print nil connection.
12540 * device-msw.c (mswindows_init_device): Call InitCommonControls
12542 (mswindows_delete_device): Removed fontlist deallocation.
12543 (mswindows_mark_device): Added.
12545 * events.c (event_equal): Added abort() at unreached code.
12546 (event_hash): Ditto.
12548 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
12549 fallback tags of Windows devices.
12551 * general.c (syms_of_general): Initialized Qmsprinter.
12553 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
12554 of fallback tags of Windows devices.
12556 * lisp.h: Declared Qmsprinter.
12558 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
12560 (mswindows_list_fonts): Ditto.
12561 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
12562 that it can be used by both mswindows and msprinter devices.
12563 (initialize_font_instance): Added.
12564 (mswindows_initialize_font_instance): Use it.
12565 (msprinter_initialize_font_instance): Added.
12567 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
12568 and implementation flags check.
12569 (redisplay_without_hooks): Changed the call to the above.
12570 (Fredraw_device): Ditto.
12571 (Fredisplay_device): Ditto.
12573 * redisplay-msw.c (get_frame_dc): Implemented.
12574 (get_frame_compdc): Implemented.
12575 (many functions): Use the two functions above to get device
12576 contexts, ether for a window or a printer.
12578 2000-01-21 Olivier Galibert <galibert@pobox.com>
12580 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
12581 initialization here.
12582 (init_symbols_once_early): Call it.
12583 * emacs.c (main_1): Call it.
12584 * symsinit.h: Declare it.
12586 2000-01-19 Olivier Galibert <galibert@pobox.com>
12588 * alloc.c: Use a lrecord_header * in the backtrace instead of a
12590 (pdump_backtrace): Ditto.
12591 (pdump_register_object): Ditto. Cleanup use of the pointers.
12592 (pdump_get_entry): Abort if trying to register a null pointer.
12593 (pdump_dump_data): Cleanup types when relocating.
12594 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
12595 (pdump_dump_rtables): Remove bad casts.
12596 (pdump_load): Cleanup relocation w.r.t union type. Use a
12597 Lisp_Object instead of a EMACS_INT for the hashtable
12600 2000-01-20 Martin Buchholz <martin@xemacs.org>
12602 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
12604 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
12606 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
12608 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
12610 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12612 * faces.h (FACE_STRIKETHRU_P): Added.
12614 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
12617 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
12618 (mswindows_set_dc_font): New function, aware of font variants,
12619 separated from mswindows_update_dc.
12621 * objects-msw.h (struct mswindows_font_instance_data): Added
12624 * objects-msw.c (mswindows_finalize_font_instance): Delete all
12625 cached fonts and the data structure.
12626 (mswindows_initialize_font_instance): Added creation of font data
12628 (mswindows_print_font_instance): Print at least something.
12629 (mswindows_create_font_variant): Implemented.
12630 (mswindows_get_hfont): Implemented.
12632 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
12634 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
12635 prototyping problem with msvc.
12637 * emacs.c (main_1): added syms_of_gui_mswindows() call
12639 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
12640 syms_of_gui_mswindows() function
12642 * symsinit.h: added the prototype for syms_of_gui_mswindows()
12644 2000-01-18 Martin Buchholz <martin@xemacs.org>
12646 * XEmacs 21.2.27 is released.
12648 2000-01-18 Martin Buchholz <martin@xemacs.org>
12650 * glyphs-eimage.c (struct tiff_error_struct):
12652 (tiff_warning_func):
12653 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
12658 * unexec.c: Remove vestigial Lucid C code.
12662 * libsst.c: Ansify.
12663 Remove declarations of errno and strerror().
12665 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
12667 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
12669 2000-01-16 Martin Buchholz <martin@xemacs.org>
12671 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
12674 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12679 Change enum eol_type to eol_type_t.
12681 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12683 * gui.c (get_gui_callback): Check cons before accessing car.
12685 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12687 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
12688 (XSETSPECIFIER_TYPE): Ditto.
12690 2000-01-17 Didier Verna <didier@xemacs.org>
12692 * redisplay.c (generate_fstring_runes): compute string size in
12693 characters, not bytes.
12695 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12697 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
12699 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
12701 * print.c (print_error_message): Call print_prepare().
12703 2000-01-14 Martin Buchholz <martin@xemacs.org>
12705 * .dbxrc: Renamed from dbxrc.
12707 * events.c (event_to_character):
12708 Use `assert (foo)' instead of `if (!foo) abort()'
12710 * .gdbinit (xtype): Add documentation.
12711 * .gdbinit (check-temacs): New function.
12712 * .gdbinit (check-xemacs): New function.
12713 * dbxrc (check-xemacs): New function.
12714 * dbxrc (check-xemacs): New function.
12716 2000-01-14 Andy Piper <andy@xemacs.org>
12718 * glyphs-widget.c (widget_query_geometry): Make sure that we
12719 calculate default dimensions correctly.
12721 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12723 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
12725 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
12726 pdump_wire'd variable.
12728 * emacs.c: (main_1): Conditionalized calls to
12729 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
12731 2000-01-13 Martin Buchholz <martin@xemacs.org>
12733 * window.c (Fset_window_configuration):
12734 * sysdep.c (_start):
12735 * input-method-motif.c (res):
12736 * event-Xt.c (Xt_process_to_emacs_event):
12737 Simple compiler warning fixes.
12739 * bytecode.c (funcall_compiled_function): Use the original
12740 function symbol on the backtrace list in preference to the
12741 compiled_function object in error messages.
12743 2000-01-13 Andy Piper <andy@xemacs.org>
12745 * glyphs-x.c (update_widget_face): Make sure we update the widget
12746 background as well as foreground.
12748 2000-01-13 Andy Piper <andy@xemacs.org>
12750 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
12751 fields to subwindow.
12752 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
12753 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
12754 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12755 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12757 * glyphs-widget.c (check_valid_tab_orientation): new function.
12758 (initialize_widget_image_instance): zero orientation and
12760 (widget_instantiate): pick up orientation.
12761 (tab_control_query_geometry): return appropriate values for
12764 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
12765 appropriate creation flags for left, right and bottom tabs.
12767 * s/cygwin32.h: add tab definitions.
12769 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12771 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
12772 frame upon hiding a subwindow.
12773 (mswindows_button_instantiate): Changed the push button style to
12775 (mswindows_button_instantiate): Removed button BS_NOTIFY
12777 (mswindows_button_instantiate): Removed redundant check for
12778 a disabled gui item.
12779 (mswindows_button_instantiate): Made use of WS_TABSTOP
12780 consistent: "operable" controls (edit, button, tree, scroll) have
12781 this style, "display-only" ones (static, progress gauge) do
12782 not. This style is currently ignored by XEmacs though. Also,
12783 removed the WS_EX_CONTROLPARENT style - it is not for children,
12784 it is for their parents!
12785 (mswindows_edit_field_instantiate): Ditto.
12786 (mswindows_progress_gauge_instantiate): Ditto.
12787 (mswindows_tree_view_instantiate): Ditto.
12788 (mswindows_tab_control_instantiate): Ditto.
12789 (mswindows_scrollbar_instantiate): Ditto.
12790 (mswindows_combo_box_instantiate): Ditto.
12791 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
12792 style to the "clip" window.
12793 (mswindows_button_instantiate): Removed compilation warning by
12794 equally typing terms of the ?: operator.
12796 2000-01-12 Didier Verna <didier@xemacs.org>
12798 * redisplay.c (generate_fstring_runes): new parameter holding the
12799 last modeline-format extent.
12800 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
12801 extent, fill the glyph block with it.
12802 (generate_fstring_runes): handle these parameters.
12803 (generate_formatted_string_db): ditto.
12805 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
12806 glyphs'extents in the modeline.
12808 1999-01-11 Mike Woolley <mike@bulsara.com>
12810 * ntheap.c: Reduced the reserved heap space from 1Gb down to
12811 256Mb, as a workaround for the non-starting problem many people
12814 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12816 * console-tty.c (Fset_console_tty_output_coding_system):
12817 Force redrawing tty frame.
12819 2000-01-10 Didier Verna <didier@xemacs.org>
12821 * redisplay.c (generate_fstring_runes): fix size computation bug.
12823 2000-01-09 William M. Perry <wmperry@aventail.com>
12825 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
12827 2000-01-09 Andy Piper <andy@xemacs.org>
12829 * glyphs-msw.c: index -> i to avoid shadows.
12830 (xbm_create_bitmap_from_data): make static.
12831 (check_valid_string_or_int): deleted.
12832 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
12834 * glyphs-x.c (x_update_subwindow): remove unused args.
12836 * glyphs.c (glyph_image_instance): return the thing. Don't set the
12837 back pointer - this is done in allocate_image_instance.
12838 (query_string_font): return Qnil to make the compiler happy.
12839 (unmap_subwindow): set to ~0 to make the compiler happy.
12840 (glyph_query_geometry): comment out until used.
12841 (glyph_layout): ditto.
12843 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12845 * insdel.c (signal_after_change): Remove extraneous unbind_to().