1 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
4 (Qjis_x0208): Likewise.
5 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
6 XCHARSET_FINAL(charset).
7 (charset_code_point): Modify condition for final-byte based
9 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
10 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
11 in UTF-2000; specify `=jis-x0208' as the mother of
12 `japanese-jisx0208-1978', `japanese-jisx0208' and
13 `japanese-jisx0208-1990' in UTF-2000.
15 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
17 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
19 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
21 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
22 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
23 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
24 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
25 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
26 CONVERSION_96x96x96x96 are introduced.
27 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
28 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
29 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
31 * char-ucs.h (CONVERSION_94): New macro.
32 (CONVERSION_96): New macro.
33 (CONVERSION_94x94): New macro.
34 (CONVERSION_96x96): New macro.
35 (CONVERSION_94x94x94): New macro.
36 (CONVERSION_96x96x96): New macro.
37 (CONVERSION_94x94x94x60): New macro.
38 (CONVERSION_94x94x94x94): New macro.
39 (CONVERSION_96x96x96x96): New macro.
41 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
43 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
45 * fns.c (Qideographic_structure): New variable.
46 (Qkeyword_char): New variable.
47 (ids_format_unit): New function.
48 (Fideographic_structure_to_ids): New function.
49 (syms_of_fns): Add new symbols `ideographic-structure' and
50 `:char'; add new builtin function `ideographic-structure-to-ids'.
52 * data.c (Fchar_ref_p): New function.
53 (syms_of_data): Add new builtin function `char-ref-p'.
55 * chartab.h: Add an EXFUN for `Ffind_char'.
57 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
59 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
60 and `COMPOSE_ADD_CHAR'.
61 (decode_coding_iso2022): Use `decode_flush_er_chars'.
63 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
65 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
66 instead of `DECODE_ADD_UCS_CHAR'.
67 (COMPOSE_ADD_CHAR): Likewise.
69 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
71 * text-coding.c (decode_flush_er_chars): New inline function.
72 (decode_add_er_char): New function.
73 (decode_coding_utf8): Use `decode_flush_er_chars' and
76 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
78 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
79 done before `decode_output_utf8_partial_char'.
81 * mule-charset.c (complex_vars_of_mule_charset): Specify
82 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
83 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
85 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
87 * mule-charset.c (decode_defined_char): New function; search
89 (decode_builtin_char): Don't search mother if
90 XCHARSET_MAX_CODE(charset) == 0.
91 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
92 == 0 even if code >= XCHARSET_MAX_CODE(charset).
93 (Fdecode_char): Use `decode_defined_char' instead of
94 `DECODE_DEFINED_CHAR'.
95 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
96 mother of `Vcharset_ucs_jis'.
98 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
99 instead of `DECODE_DEFINED_CHAR'.
101 * char-ucs.h (decode_defined_char): Renamed from
102 `DECODE_DEFINED_CHAR'; changed to normal function.
103 (DECODE_CHAR): Use `decode_defined_char' instead of
104 `DECODE_DEFINED_CHAR'.
106 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
108 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
110 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
112 * text-coding.c (Vcoded_charset_entity_reference_alist): New
114 (Quse_entity_reference): New variable.
118 (coding_system_description): Add description for
120 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
121 (allocate_coding_system): Initialize `ccs_priority_list' in
123 (Fmake_coding_system): Add description about
124 'use-entity-reference; setup
125 CODING_SYSTEM_USE_ENTITY_REFERENCE(codesys).
126 (Fcoding_system_property): Accept `disable-composition' and
127 `use-entity-reference' in UTF-2000.
128 (struct decoding_stream): Add new member `er_counter' and `er_buf'
130 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
131 (decode_coding_utf8): Decode entity-reference if
132 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
133 (char_encode_utf8): Encode non-Unicode characters as
134 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
136 (syms_of_file_coding): Add new symbols `use-entity-reference',
138 (vars_of_file_coding): Add new variable
139 `coded-charset-entity-reference-alist'.
140 (complex_vars_of_file_coding): Declare `disable-composition' and
141 `use-entity-reference' to be coding-system-properties in UTF-2000.
143 * file-coding.h (struct Lisp_Coding_System): Add new member
144 `use_entity_reference' and `ccs_priority_list'.
145 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
146 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
147 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
149 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
151 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
153 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
155 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
156 `XCHARSET_GRAPHIC(ccs)'.
158 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
160 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
163 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
165 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
166 instead of `XCHARSET_CHARS'.
168 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
170 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
171 (XCHARSET_BYTE_SIZE): Likewise.
173 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
175 (XCHARSET_BYTE_SIZE): Likewise.
177 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
179 * char-ucs.h (decoding_table_check_elements): Delete prototype.
180 (get_ccs_octet_table): New inline function.
181 (put_ccs_octet_table): Likewise.
182 (decoding_table_put_char): Use `get_ccs_octet_table' and
183 `put_ccs_octet_table'.
184 (decoding_table_remove_char): Use `decoding_table_put_char'.
185 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
187 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
189 (make_charset): Use Qunbound instead Qnil as initial value of
192 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
194 * mule-charset.c (put_char_ccs_code_point): Modify for
195 `decoding_table_remove_char' and `decoding_table_put_char'.
196 (remove_char_ccs): Modify for `decoding_table_remove_char'.
198 * char-ucs.h (decoding_table_remove_char): Change arguments to
199 hide decoding_table vector.
200 (decoding_table_put_char): Likewise.
202 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
204 * mule-charset.c (decoding_table_remove_char): Moved to
206 (decoding_table_put_char): Likewise.
208 * char-ucs.h (decoding_table_check_elements): New prototype [moved
209 from mule-charset.c].
210 (decoding_table_remove_char): New inline function [moved from
212 (decoding_table_put_char): Likewise.
214 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
216 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
217 instead of `DECODE_CHAR' for mother; don't use special code for
218 chinese-big5 to use code space of chinese-big5-1 and
220 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
221 `MAX_CHAR_BIG5_CDP' for chinese-big5.
223 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
224 (MAX_CHAR_BIG5_CDP): Revival.
226 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
228 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
229 the XLFD registry-encoding name of `chinese-big5'.
231 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
233 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
234 (Qchinese_big5_cdp): Deleted.
235 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
236 (complex_vars_of_mule_charset): Delete coded-charset
239 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
240 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
241 `CHARSET_ID_OFFSET - n' for private CCS.
242 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
243 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
244 of `MIN_LEADING_BYTE'.
245 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
246 `(CHARSET_ID_OFFSET - 97)'.
247 (MIN_CHAR_BIG5_CDP): Deleted.
248 (MAX_CHAR_BIG5_CDP): Deleted.
250 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
252 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
255 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
257 * mule-charset.c (decode_builtin_char): Support mother charsets.
259 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
261 * mule-charset.c (Q94x94x60): New variable.
262 (charset_code_point): Support conversion `94x94x60'.
263 (Fmake_charset): Likewise.
264 (syms_of_mule_charset): Add new symbol `94x94x60'.
266 * char-ucs.h (CONVERSION_94x94x60): New macro.
268 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
270 * mule-charset.c (charset_code_point): Unify code about
273 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
275 * mule-charset.c (charset_code_point): Merge code about builtin
276 characters into code about mother charsets; don't use
277 `range_charset_code_point'.
278 (range_charset_code_point): Deleted.
280 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
282 * mule-charset.c (Qcode_offset): New variable.
283 (Fmake_charset): Use `XUINT' to get value of `min-code' and
284 `max-code'; accept new property `code-offset'.
285 (syms_of_mule_charset): Add new symbol `code-offset'.
287 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
289 * mule-charset.c (range_charset_code_point): Fixed.
291 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
293 * mule-charset.c (decode_builtin_char): Change semantics of
294 code-offset of coded-charset.
295 (charset_code_point): Likewise.
296 (range_charset_code_point): Likewise.
297 (complex_vars_of_mule_charset): Modify for the change.
299 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
301 * mule-charset.c (Fencode_char): Reverse arguments.
303 * mule-charset.c (charset_code_point): Fixed.
305 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
307 * mule-charset.c (Vcharset_mojikyo): Deleted.
308 (Vcharset_mojikyo_2022_1): Deleted.
309 (Vcharset_mojikyo_pj_{1..21}): Deleted.
310 (Qmin_code): New variable in UTF-2000.
311 (Qmax_code): Likewise.
313 (Qconversion): Likewise.
316 (Qmojikyo_2022_1): Deleted.
317 (Qmojikyo_pj_{1..22}): Deleted.
318 (mark_charset): Mark `cs->mother'.
319 (charset_description): Add description for `mother'.
320 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
321 new arguments `mother' and `conversion'; use
322 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
323 (charset_code_point): Moved from char-ucs.h; support `mother'
325 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
326 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
327 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
328 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
329 allow 2 as the value of `graphic' in UTF-2000; add new properties
330 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
331 require `final' in UTF-2000; modify for `make_charset'.
332 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
333 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
334 (Fcharset_property): Support `mother', `min-code' and `max-code'.
335 (Fencode_char): New function.
336 (syms_of_mule_charset): Add new builtin function `encode-char' in
337 UTF-2000; add new symbols `min-code', `max-code', `mother',
338 `conversion' and `94x60'; delete symbols `mojikyo',
339 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
340 (complex_vars_of_mule_charset): Modify for `make_charset' change;
341 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
342 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
344 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
345 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
347 * char-ucs.h (Vcharset_mojikyo): Deleted.
348 (Vcharset_mojikyo_2022_1): Deleted.
349 (LEADING_BYTE_MOJIKYO): Deleted.
350 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
351 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
352 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
353 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
354 add new member `mother'; add new member `conversion'.
355 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
356 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
357 (CHARSET_MOTHER): New macro.
358 (CHARSET_CONVERSION): New macro.
359 (CONVERSION_IDENTICAL): New macro.
360 (CONVERSION_94x60): New macro.
361 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
362 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
363 (XCHARSET_MOTHER): New macro.
364 (XCHARSET_CONVERSION): New macro.
365 (MIN_CHAR_MOJIKYO): Deleted.
366 (MAX_CHAR_MOJIKYO): Deleted.
367 (DECODE_MOJIKYO_2022): Deleted.
368 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
369 (charset_code_point): Changed to non-inline function.
370 (encode_char_1): Use `charset_code_point'.
371 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
373 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
375 * lread.c (read_compiled_function): Fix prototype.
376 (read_vector): Likewise.
378 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
380 * lrecord.h (struct lrecord_header): Delete `older'.
381 (set_lheader_implementation): Delete code for `older'.
382 (set_lheader_older_implementation): Deleted.
383 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
384 (OLDER_RECORD_P): Deleted.
385 (OLDER_RECORD_HEADER_P): Deleted.
386 (alloc_older_lcrecord): Deleted.
387 (alloc_older_lcrecord_type): Deleted.
389 * alloc.c (all_older_lcrecords): Deleted.
390 (alloc_older_lcrecord): Deleted.
391 (disksave_object_finalization_1): Delete code for older objects.
392 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
393 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
395 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
397 * mule-charset.c (decoding_table_put_char): Use `make_vector'
398 instead of `make_older_vector'.
399 (put_char_ccs_code_point): Likewise.
400 (mark_charset): Mark `cs->decoding_table'.
401 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
403 * lisp.h (make_older_vector): Deleted.
404 (make_vector_newer): Deleted.
406 * config.h.in (HAVE_GGC): Deleted.
408 * alloc.c (make_older_vector): Deleted.
409 (make_vector_newer_1): Deleted.
410 (make_vector_newer): Deleted.
412 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
414 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
415 (Qideograph_daikanwa_2): New variable.
416 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
417 (complex_vars_of_mule_charset): Add new coded-charset
418 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
419 `LEADING_BYTE_DAIKANWA'.
421 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
422 (LEADING_BYTE_DAIKANWA_1): New macro.
423 (LEADING_BYTE_DAIKANWA_2): New macro.
424 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
426 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
428 * mule-charset.c (complex_vars_of_mule_charset): Change
429 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
430 the second revised version.
432 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
434 * mule-charset.c (Vcharset_ucs_smp): New variable.
435 (Vcharset_ucs_sip): New variable.
436 (Qucs_smp): New variable.
437 (Qucs_sip): New variable.
438 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
439 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
440 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
441 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
442 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
443 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
445 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
446 (LEADING_BYTE_UCS_SIP): New macro.
447 (MIN_CHAR_SMP): New macro.
448 (MAX_CHAR_SMP): New macro.
449 (MIN_CHAR_SIP): New macro.
450 (MAX_CHAR_SIP): New macro.
452 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
454 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
457 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
459 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
460 value; don't store value into `encoding_table' of `Lisp_Charset'.
461 (mark_charset): `encoding_table' was deleted.
462 (charset_description): Likewise.
463 (make_charset): Likewise.
464 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
465 `put_char_ccs_code_point'.
467 * chartab.h (Fput_char_attribute): New EXFUN.
469 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
470 is unified with normal symbol space.
471 (Fget_char_attribute): Likewise.
472 (Fput_char_attribute): Likewise; behavior of
473 `put_char_ccs_code_point' is changed.
475 * char-ucs.h: Include "elhash.h".
476 (Vchar_attribute_hash_table): New external variable.
477 (struct Lisp_Charset): Delete `encoding_table'.
478 (CHARSET_ENCODING_TABLE): New implementation; refer
479 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
482 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
484 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
487 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
489 * text-coding.c (char_encode_big5): Prefer charset-g1 than
492 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
494 * chartab.c (uint8_byte_table_description): New constant.
495 (uint8-byte-table): Use `uint8_byte_table_description'.
496 (uint16_byte_table_description): New constant.
497 (uint16-byte-table): Use `uint16_byte_table_description'.
499 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
501 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
502 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
504 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
506 * mule-charset.c (Vcharset_ucs_ks): New variable.
507 (Qucs_ks): New variable.
508 (syms_of_mule_charset): Add new symbol `ucs-ks'.
509 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
511 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
513 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
515 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
516 (Fdecode_char): Likewise.
518 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
520 (Fdefine_char): Modify for Fdecode_char.
521 (Ffind_char): Likewise.
523 * mule-charset.c (Fdecode_char): Add new optional argument
525 (Fdecode_builtin_char): Modify for `Fdecode_char'.
527 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
529 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
530 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
531 (allocate_coding_system): Initialize initial-charsets of
532 CODESYS_BIG5 in XEmacs UTF-2000.
533 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
534 CODESYS_BIG5 in XEmacs UTF-2000.
535 (decode_coding_big5): Use initial-charset-g0 and -g1 of
536 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
538 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
540 (Qideograph_hanziku_{1 .. 12}): Likewise.
541 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
543 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
544 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
545 `ideograph-hanziku-{1 .. 12}'.
547 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
548 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
549 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
550 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
551 (DECODE_DEFINED_CHAR): New inline function.
552 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
554 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
556 * mule-charset.c (Vcharset_china3_jef): Renamed from
557 `Vcharset_japanese_jef_china3'.
558 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
559 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
560 `{MIN|MAX}_CHAR_JEF_CHINA3'..
561 (syms_of_mule_charset): Rename `china3-jef' from
562 `japanese-jef-china3'.
563 (complex_vars_of_mule_charset): Likewise; rename
564 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
566 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
567 `LEADING_BYTE_JEF_CHINA3'.
568 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
569 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
571 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
573 * mule-charset.c (encode_builtin_char_1): Comment out special code
574 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
576 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
577 (MAX_CHAR_MOJIKYO_0): Comment out.
578 (MIN_CHAR_CBETA): Changed to 0x00E20000.
579 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
580 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
581 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
583 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
585 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
586 (Qideograph_cbeta): New variable.
587 (encode_builtin_char_1): Comment out special code for
588 coded-charset `mojikyo' and `japanese-jef-china3'.
589 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
590 (complex_vars_of_mule_charset): Add new coded-charset
593 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
594 (MIN_CHAR_CBETA): New macro.
595 (MAX_CHAR_CBETA): New macro.
597 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
599 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
600 (LEADING_BYTE_JEF_CHINA3): New macro.
601 (MIN_CHAR_JEF_CHINA3): New macro.
602 (MAX_CHAR_JEF_CHINA3): Likewise.
603 (DECODE_CHAR): Fixed.
605 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
607 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
608 (Qjapanese_jef_china3): New variable.
609 (encode_builtin_char_1): Support `japanese-jef-china3'.
610 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
611 (complex_vars_of_mule_charset): Add new coded-charset
612 `japanese-jef-china3'.
614 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
616 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
617 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
618 94^4, 96^3, 96^4, 128^n and 256^n set.
619 (put_char_table): Use `XCHARSET_CELL_RANGE'.
620 (map_char_table): Likewise.
622 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
624 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
627 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
629 * chartab.h (get_char_id_table): New inline function.
631 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
634 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
636 * chartab.h (decode_char_table_range): New prototype in XEmacs
638 (put_char_id_table): New inline function in XEmacs UTF-2000.
640 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
642 (decode_char_table_range): Delete static declaration in XEmacs
645 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
647 * chartab.c (put_char_id_table): Use `put_char_table'.
649 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
651 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
652 (map_over_uint16_byte_table): Likewise.
653 (map_over_byte_table): Likewise.
654 (map_char_table): Modify for `map_over_uint8_byte_table',
655 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
658 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
660 * chartab.c (struct map_char_table_for_charset_arg): New
662 (map_char_table_for_charset_fun): New function.
663 (map_char_table): Use `map_char_table' for encoding_table of
666 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
668 * chartab.c (map_char_table): Check a character is found in
669 range->charset instead of non default value is defined in
670 char-table when range is CHARTAB_RANGE_ROW.
672 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
674 * chartab.c (map_char_id_table): Deleted.
675 (Fmap_char_attribute): Use `map_char_table' instead of
678 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
680 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
682 (update_syntax_table): Deleted in XEmacs UTF-2000.
684 * syntax.c (find_defun_start): Use `syntax_table' instead of
685 `mirror_syntax_table' in XEmacs UTF-2000.
686 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
688 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
690 (Fmatching_paren): Likewise.
691 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
693 (find_start_of_comment): Likewise.
694 (find_end_of_comment): Likewise.
695 (Fforward_comment): Likewise.
696 (scan_lists): Likewise.
697 (char_quoted): Likewise.
698 (Fbackward_prefix_chars): Likewise.
699 (scan_sexps_forward): Likewise.
700 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
701 (update_syntax_table): Likewise.
703 * search.c (skip_chars): Use `syntax_table' instead of
704 `mirror_syntax_table' in XEmacs UTF-2000.
706 (Freplace_match): Likewise.
708 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
709 `mirror_syntax_table' in XEmacs UTF-2000.
710 (WORDCHAR_P_UNSAFE): Likewise.
711 (re_match_2_internal): Likewise.
713 * font-lock.c (find_context): Use `buf->syntax_table' instead of
714 `buf->mirror_syntax_table' in XEmacs UTF-2000.
716 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
717 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
719 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
722 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
724 (print_char_table): Print `default_value' in XEmacs UTF-2000.
725 (char_table_description): Delete `mirror_table' in XEmacs
727 (fill_char_table): Don't call `update_syntax_table' in XEmacs
729 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
730 (Fcopy_char_table): Likewise.
731 (put_char_table): Don't call `update_syntax_table' in XEmacs
734 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
735 `buf->mirror_syntax_table' in XEmacs UTF-2000.
736 (casify_region_internal): Likewise.
738 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
740 * buffer.c (common_init_complex_vars_of_buffer): Don't use
741 `mirror_syntax_table' in XEmacs UTF-2000.
743 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
744 `buf->mirror_syntax_table' in XEmacs UTF-2000.
745 (Fexpand_abbrev): Likewise.
747 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
749 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
751 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
753 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
754 (map_over_uint16_byte_table): Likewise.
755 (map_over_byte_table): Likewise.
756 (get_char_id_table): Refer `cit->default_value'.
757 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
758 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
759 of character-id ranges.
760 (mark_char_table): Mark `ct->default_value'.
761 (char_table_description): Add `default_value'.
762 (fill_char_table): Use `default_value'.
763 (decode_char_table_range): Decode `nil' as
764 `CHARTAB_RANGE_DEFAULT'.
765 (get_char_id_table): Refer `cit->default_value'.
766 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
767 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
768 temporary hack; check value of char-table is bound or not.
769 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
771 * chartab.h (struct Lisp_Char_Table): Add new member
772 `default_value' in XEmacs UTF-2000.
773 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
774 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
777 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
779 * chartab.h (Lisp_Char_ID_Table): Deleted.
781 * chartab.c (char_table_description): Fix typo.
782 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
783 `Lisp_Char_ID_Table'.
785 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
787 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
790 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
793 * chartab.h (XCHAR_ID_TABLE): Deleted.
794 (XSETCHAR_ID_TABLE): Deleted.
795 (CHAR_ID_TABLE_P): Deleted.
797 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
799 (Fget_composite_char): Likewise.
800 (put_char_table): Likewise.
801 (add_char_attribute_alist_mapper): Fixed.
802 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
804 (Fget_char_attribute): Likewise.
805 (Fget_char_attribute): Likewise.
806 (Fmap_char_attribute): Likewise.
808 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
810 (encode_char_1): Likewise.
812 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
814 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
817 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
818 instead of `XCHAR_ID_TABLE'.
819 (remove_char_ccs): Likewise.
821 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
823 (Fget_composite_char): Likewise.
824 (Fchar_variants): Likewise.
825 (put_char_table): Likewise.
826 (add_char_attribute_alist_mapper): Likewise.
827 (Fchar_attribute_alist): Likewise.
828 (Fget_char_attribute): Likewise.
829 (Fput_char_attribute): Likewise.
830 (Fmap_char_attribute): Likewise.
831 (Fmap_char_attribute): Likewise.
833 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
835 (encode_char_1): Likewise.
837 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
839 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
840 `Lisp_Char_ID_Table'.
841 (mark_char_id_table): Deleted.
842 (print_char_id_table): Likewise.
843 (char_id_table_equal): Likewise.
844 (char_id_table_hash): Likewise.
845 (char_id_table_description): Likewise.
846 (char_id_table): Likewise.
847 (make_char_id_table): Use `Fmake_char_table' and
849 (get_char_id_table): Use `Lisp_Char_Table' instead of
850 `Lisp_Char_ID_Table'.
851 (put_char_id_table): Likewise.
852 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
854 (Fremove_char_attribute): Likewise.
855 (syms_of_chartab): Don't define type `char-id-table'.
857 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
858 (char_id_table): Likewise.
859 (GC_CHAR_ID_TABLE_P): Likewise.
860 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
861 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
862 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
863 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
864 (get_char_id_table): Use `Lisp_Char_Table' instead of
865 `Lisp_Char_ID_Table'.
866 (put_char_id_table_0): Likewise.
867 (put_char_id_table): Likewise.
869 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
871 * chartab.h: Lisp_Byte_Table related codes are moved from
874 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
876 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
878 * chartab.h: Don't include "chartab.h".
879 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
880 (Lisp_Char_ID_Table): Likewise.
881 (char_id_table): Likewise.
882 (XCHAR_ID_TABLE): Likewise.
883 (XSETCHAR_ID_TABLE): Likewise.
884 (CHAR_ID_TABLE_P): Likewise.
885 (GC_CHAR_ID_TABLE_P): Likewise.
886 (get_char_id_table): Likewise.
888 * char-ucs.h: Include "chartab.h".
889 (struct Lisp_Char_ID_Table): Moved to chartab.h.
890 (Lisp_Char_ID_Table): Likewise.
891 (char_id_table): Likewise.
892 (XCHAR_ID_TABLE): Likewise.
893 (XSETCHAR_ID_TABLE): Likewise.
894 (CHAR_ID_TABLE_P): Likewise.
895 (GC_CHAR_ID_TABLE_P): Likewise.
896 (get_char_id_table): Likewise.
898 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
900 * chartab.c (copy_uint8_byte_table): New function.
901 (copy_uint16_byte_table): New function.
902 (copy_byte_table): New function.
903 (map_over_uint8_byte_table): Modify to avoid huge numbers of
905 (map_over_uint16_byte_table): Likewise.
906 (map_over_byte_table): Likewise.
907 (get_byte_table): Move prototype to chartab.h.
908 (put_byte_table): Likewise.
909 (put_char_id_table_0): Moved to chartab.h.
910 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
911 (char_table_entry_equal): Likewise.
912 (char_table_entry_hash): Likewise.
913 (char_table_entry_description): Likewise.
914 (char_table_entry): Likewise.
915 (make_char_table_entry): Likewise.
916 (copy_char_table_entry): Likewise.
917 (get_non_ascii_char_table_value): Likewise.
918 (map_over_charset_ascii): Likewise.
919 (map_over_charset_control_1): Likewise.
920 (map_over_charset_row): Likewise.
921 (map_over_other_charset): Likewise.
922 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
923 (print_char_table): Likewise.
924 (char_table_equal): Likewise.
925 (char_table_hash): Likewise.
926 (char_table_description): Likewise.
927 (fill_char_table): Likewise.
928 (Fcopy_char_table): Likewise.
929 (get_char_table): Likewise.
930 (Fget_range_char_table): Likewise.
931 (put_char_table): Likewise.
932 (map_char_table): Likewise.
933 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
936 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
938 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
939 `Vauto_fill_chars' in XEmacs UTF-2000.
941 * chartab.h (get_byte_table): New prototype [moved from
943 (put_byte_table): Likewise [moved from chartab.c].
944 (put_char_id_table_0): New inline function [moved from chartab.c].
945 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
946 (Lisp_Char_Table_Entry): Likewise.
947 (char_table_entry): Likewise.
948 (XCHAR_TABLE_ENTRY): Likewise.
949 (XSETCHAR_TABLE_ENTRY): Likewise.
950 (CHAR_TABLE_ENTRYP): Likewise.
951 (CHECK_CHAR_TABLE_ENTRY): Likewise.
952 (NUM_ASCII_CHARS): Likewise.
953 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
954 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
956 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
958 * chartab.c (get_char_id_table): Change interface.
959 (put_char_id_table_0): New function.
960 (put_char_id_table): Change interface; new implementation.
961 (Fget_composite_char): Modify for interface change of
963 (Fchar_variants): Likewise.
964 (add_char_attribute_alist_mapper): Likewise.
965 (Fchar_attribute_alist): Likewise.
966 (Fget_char_attribute): Likewise.
967 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
968 as same as character as the first argument like `put-char-table';
969 modify for interface change of `put_char_id_table'.
970 (Fremove_char_attribute): Modify for interface change of
973 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
975 * text-coding.c: Sync up with XEmacs 21.2.41.
976 (COMPOSE_ADD_CHAR): Modify for interface change of
979 * mule-charset.c (put_char_ccs_code_point): Modify for interface
980 change of `put_char_id_table'.
981 (remove_char_ccs): Likewise.
983 * chartab.h (put_char_id_table): Change interface.
985 * char-ucs.h (get_char_id_table): Change interface.
986 (charset_code_point): Modify for interface change of
988 (encode_char_1): Likewise.
990 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
992 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
994 (map_over_uint16_byte_table): Likewise.
995 (map_over_byte_table): Likewise.
996 (map_char_id_table): Add new argument `range' like
998 (Fmap_char_attribute): Add new argument `range' like
1001 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1003 * chartab.c (map_over_uint8_byte_table): Change interface of
1004 mapping function to use struct chartab_range instead of Emchar.
1005 (map_over_uint16_byte_table): Likewise.
1006 (map_over_byte_table): Likewise.
1007 (map_char_id_table): Likewise.
1008 (struct slow_map_char_id_table_arg): Deleted.
1009 (slow_map_char_id_table_fun): Deleted.
1010 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1011 function `slow_map_char_table_fun' instead of struct
1012 `slow_map_char_id_table_arg' and function
1013 `slow_map_char_id_table_fun'.
1015 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1017 * mule-charset.c: Move char-it-table related codes to chartab.c.
1018 (Vutf_2000_version): Moved to chartab.c.
1019 (Fdefine_char): Likewise.
1020 (Ffind_char): Likewise.
1021 (syms_of_mule_charset): Move types `uint8-byte-table',
1022 `uint16-byte-table', `byte-table' and `char-id-table' to
1023 chartab.c; move functions `char_attribute_list,
1024 `find_char_attribute_table, `char_attribute_alist,
1025 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1026 `map_char_attribute, `define_char, `find_char, `char_variants and
1027 `get_composite_char to chartab.c; move symbols `=>ucs',
1028 `->decomposition', `compat', `isolated', `initial', `medial',
1029 `final', `vertical', `noBreak', `fraction', `super', `sub',
1030 `circle', `square', `wide', `narrow', `small' and `font' to
1032 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1033 setting codes for `Vcharacter_composition_table' and
1034 `Vcharacter_variant_table' to chartab.c.
1035 (complex_vars_of_mule_charset): Move setting code for
1036 `Vchar_attribute_hash_table' to chartab.c.
1038 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1039 (make_char_id_table): New prototype.
1040 (put_char_id_table): Likewise.
1041 (Fget_char_attribute): Likewise.
1043 * chartab.c: Move char-id-table related code from mule-charset.c.
1044 (Vutf_2000_version): Moved from mule-charset.c.
1046 * char-ucs.h (Qucs): New external variable.
1047 (put_char_ccs_code_point): New prototype.
1048 (remove_char_ccs): Likewise.
1050 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1052 * mule-charset.c (Vcharset_ucs_jis): New variable.
1053 (Qucs_jis): Likewise.
1054 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1055 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1057 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1059 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1061 * mule-charset.c (map_over_uint8_byte_table): New function.
1062 (map_over_uint16_byte_table): Likewise.
1063 (map_over_byte_table): Likewise.
1064 (map_char_id_table): Likewise.
1065 (slow_map_char_id_table_fun): Likewise.
1066 (Fmap_char_attribute): Likewise.
1067 (syms_of_mule_charset): Add new function `map-char-attribute'.
1069 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1071 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1072 (syms_of_mule_charset): Add new function `find-char'.
1074 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1076 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1078 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1079 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1081 (complex_vars_of_mule_charset): Add new coded-charset
1082 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1083 `ideograph-gt-pj-*'.
1085 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1087 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1089 * mule-charset.c (encode_builtin_char_1): Purge codes about
1090 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1091 {MIN|MAX}_CHAR_HEBREW.
1092 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1093 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1095 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1096 (MAX_CHAR_GREEK): Purged.
1097 (MIN_CHAR_CYRILLIC): Purged.
1098 (MAX_CHAR_CYRILLIC): Purged.
1099 (MIN_CHAR_HEBREW): Commented out.
1100 (MAX_CHAR_HEBREW): Likewise.
1102 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1104 * mule-charset.c (Qto_ucs): New variable.
1105 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1106 (Fdefine_char): Likewise.
1107 (syms_of_mule_charset): Add new symbol `=>ucs'.
1109 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1111 * mule-charset.c (Fdecode_char): Fixed.
1113 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1115 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1116 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1119 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1121 * mule-charset.c (Vcharset_ucs_big5): New variable.
1122 (Qucs_big5): Likewise.
1123 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1124 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1126 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1128 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1130 * mule-charset.c (decode_builtin_char): Check Big5 code range
1131 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1133 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1135 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1136 (Qchinese_gb12345): Likewise.
1137 (Fdecode_builtin_char): Fixed.
1138 (syms_of_mule_charset): Add `chinese-gb12345'.
1139 (complex_vars_of_mule_charset): Add coded-charset
1142 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1143 (LEADING_BYTE_CHINESE_GB12345): New macro.
1145 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1147 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
1148 and `latin-viscii-upper' for `latin-viscii'.
1150 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1152 * mule-charset.c (Fdecode_builtin_char): Comment out
1153 regularization code for ISO-IR GR representation.
1155 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1157 * mule-charset.c (decode_builtin_char): New function; renamed from
1158 `make_builtin_char'; return -1 instead of signal.
1159 (Fdecode_builtin_char): Use `decode_builtin_char'.
1161 * char-ucs.h (decode_builtin_char): New prototype; renamed from
1162 `make_builtin_char'.
1163 (DECODE_CHAR): Use `decode_builtin_char' instead of
1164 `make_builtin_char'; use mapping table of `chinese-big5' for
1165 `chinese-big5-{1,2}'.
1167 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1169 * text-coding.c (char_encode_big5): New function.
1170 (char_finish_big5): Likewise.
1171 (reset_encoding_stream): Use `char_encode_big5' and
1172 `char_finish_big5' for CODESYS_BIG5.
1173 (mule_encode): Don't use `encode_coding_big5'.
1174 (encode_coding_big5): Deleted.
1176 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1178 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
1179 0x81- in XEmacs UTF-2000.
1180 (detect_coding_big5): Likewise.
1182 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1184 * mule-charset.c (Fdefine_char): Don't use a CCS property to
1185 generate character-id if the CCS property does not have
1186 corresponding predefined character.
1187 (make_builtin_char): Return -1 if corresponding predefined
1188 character is not found.
1189 (Fdecode_char): Return nil if corresponding character is not
1191 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
1192 don't map to builtin ucs space.
1194 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1196 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
1197 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
1199 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1201 * mule-charset.c (Vcharset_ideograph_gt): New variable.
1202 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
1203 (Qideograph_gt): Likewise.
1204 (Qideograph_gt_pj_{1..11}): Likewise.
1205 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
1206 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
1207 `ideograph-gt-pj-11'.
1208 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
1209 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
1210 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
1212 * char-ucs.h (LEADING_BYTE_GT): New macro.
1213 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
1214 (MIN_CHAR_GT): Likewise.
1215 (MAX_CHAR_GT): Likewise.
1217 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1219 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
1220 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
1222 * doprnt.c (unsigned_int_converters): Add `c'.
1223 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
1225 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
1226 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
1228 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
1229 (MAX_CHAR_MOJIKYO_0): New macro.
1230 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
1232 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1234 * mule-charset.c (Fdefine_char): Delete cemented out code.
1235 (encode_builtin_char_1): Modify for new allocation of builtin
1238 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
1240 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1242 * mule-charset.c (Vcharset_ucs_cns): New variable.
1243 (Qucs_cns): New variable.
1244 (syms_of_mule_charset): Add new symbol `ucs-cns'.
1245 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
1247 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1249 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
1251 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1253 * search.c (search_buffer): Make `charset_base_code' as
1254 character-id >> 6 to eliminate the corresponding last byte in
1255 UTF-8 representation [I'm not sure it is right thing].
1256 (boyer_moore): Likewise.
1258 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1260 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
1261 representation in MULE.
1263 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1265 * text-coding.c (Fmake_coding_system): Use
1266 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
1267 `EXTERNAL_PROPERTY_LIST_LOOP'.
1269 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1271 * text-coding.c (decode_output_utf8_partial_char): New function.
1272 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
1274 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1276 * text-coding.c (decode_coding_utf8): Output original byte
1277 sequence if it is broken; change order of conditions.
1279 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
1282 * mb-multibyte.h (BYTE_ASCII_P):
1283 Use bit ops for char-signedness safety.
1284 (BYTE_C0_P): Use bit ops for char-signedness safety.
1285 (BYTE_C1_P): Use bit ops for char-signedness safety.
1287 * character.h: (XCHAR_OR_CHAR_INT):
1288 Always use inline function.
1289 Remove redundant type checking assert() - XINT will abort quite
1292 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1294 * text-coding.c: (Fencode_shift_jis_char):
1295 (Fencode_big5_char):
1296 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
1297 Replace 0 with '\0' when working with bytes.
1298 Replace initial "(" with "\(" in docstrings.
1300 (Fmake_coding_system):
1301 When type is ccl and value is vector, register it with a proper
1302 symbol. And checks whether the given ccl program is valid.
1303 (mule_decode): When calling ccl_driver, if src indicates
1304 NULL pointer, set an empty string instead.
1305 (mule_encode): Likewise.
1308 (detect_coding_sjis):
1309 (decode_coding_sjis):
1310 (detect_coding_big5):
1311 (decode_coding_big5):
1312 (detect_coding_ucs4):
1313 (decode_coding_ucs4):
1314 (detect_coding_utf8):
1315 (decode_coding_utf8):
1316 (detect_coding_iso2022):
1317 (decode_coding_iso2022):
1318 (decode_coding_no_conversion):
1320 Make all detecting and decoding functions take an Extbyte * arg.
1321 (text_encode_generic):
1322 (encode_coding_big5):
1323 (encode_coding_no_conversion):
1325 Make all encoding functions take a Bufbyte * arg.
1326 Use size_t instead of unsigned int for memory sizes.
1327 Only cast to unsigned char whenever dereferencing Extbyte *.
1329 (struct lrecord_description fcd_description_1): Use countof.
1330 (complex_vars_of_file_coding):
1331 Use countof instead of sizeof.
1332 Use CHECK_NATNUM instead of CHECK_INT.
1334 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1336 * mule-charset.c (Fget_char_attribute): Add new optional argument
1338 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
1339 (remove_char_ccs): Likewise.
1341 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1343 * text-coding.c (char_encode_shift_jis): New implementation in
1345 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
1348 * mule-charset.c (Vcharset_chinese_big5): New variable in
1350 (Qchinese_big5): New variable in UTF-2000.
1351 (BIG5_SAME_ROW): New macro in UTF-2000.
1352 (make_builtin_char): Use builtin characters of
1353 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
1354 characters of `Vcharset_chinese_big5'.
1355 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
1356 (complex_vars_of_mule_charset): Add new coded-charset
1357 `chinese-big5' in UTF-2000.
1359 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
1360 (Vcharset_chinese_big5): New external variable declaration.
1361 (Vcharset_japanese_jisx0208_1990): Likewise.
1363 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1365 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
1367 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
1369 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1371 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
1372 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
1373 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
1376 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1378 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
1380 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1382 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1385 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1387 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
1388 for `CHARSET_BY_ATTRIBUTES'.
1389 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1390 `CHARSET_BY_ATTRIBUTES'.
1392 * text-coding.c (struct decoding_stream): Rename member `CH' to
1394 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
1395 (decode_coding_sjis): Likewise.
1396 (decode_coding_big5): Likewise.
1397 (decode_coding_ucs4): Likewise.
1398 (decode_coding_utf8): Likewise.
1399 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1400 `CHARSET_BY_ATTRIBUTES'.
1401 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
1402 `str->counter'; decode 3, 4 bytes sets.
1403 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
1405 (decode_coding_no_conversion): Use `str->cpos' instead of
1408 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
1409 (Qmojikyo_2022_1): New variable.
1410 (make_charset): Don't use `CHARSET_TYPE_*'.
1411 (range_charset_code_point): Support coded-charset
1413 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
1414 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
1415 `CHARSET_BY_ATTRIBUTES'.
1416 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
1417 `CHARSET_BY_ATTRIBUTES'.
1418 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
1419 (complex_vars_of_mule_charset): Add new coded-charset
1422 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
1423 interface; changed to inline function.
1425 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
1426 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
1427 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
1428 (CHARSET_TYPE_94): Deleted.
1429 (CHARSET_TYPE_94X94): Deleted.
1430 (CHARSET_TYPE_96): Deleted.
1431 (CHARSET_TYPE_96X96): Deleted.
1432 (CHARSET_TYPE_128): Deleted.
1433 (CHARSET_TYPE_128X128): Deleted.
1434 (CHARSET_TYPE_256): Deleted.
1435 (CHARSET_TYPE_256X256): Deleted.
1436 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
1438 (DECODE_MOJIKYO_2022): New inline function.
1439 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
1440 `Vcharset_mojikyo_2022_1'.
1442 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1444 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
1446 (put_byte_table): Likewise.
1447 (char_id_table_equal): Use `get_byte_table' [new implementation].
1449 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1451 * mule-charset.c: Include <limits.h> in UTF-2000.
1452 (BT_UINT8_MIN): New macro in UTF-2000.
1453 (BT_UINT8_MAX): New macro in UTF-2000.
1454 (BT_UINT8_t): New macro in UTF-2000.
1455 (BT_UINT8_nil): New macro in UTF-2000.
1456 (BT_UINT8_unbound): New macro in UTF-2000.
1457 (INT_UINT8_P): New inline function in UTF-2000.
1458 (UINT8_VALUE_P): New inline function in UTF-2000.
1459 (UINT8_ENCODE): New inline function in UTF-2000.
1460 (UINT8_DECODE): New inline function in UTF-2000.
1461 (mark_uint8_byte_table): New function in UTF-2000.
1462 (print_uint8_byte_table): New function in UTF-2000.
1463 (uint8_byte_table_equal): New function in UTF-2000.
1464 (uint8_byte_table_hash): New function in UTF-2000.
1465 (make_uint8_byte_table): New function in UTF-2000.
1466 (uint8_byte_table_same_value_p): New function in UTF-2000.
1467 (BT_UINT16_MIN): New macro in UTF-2000.
1468 (BT_UINT16_MAX): New macro in UTF-2000.
1469 (BT_UINT16_t): New macro in UTF-2000.
1470 (BT_UINT16_nil): New macro in UTF-2000.
1471 (BT_UINT16_unbound): New macro in UTF-2000.
1472 (INT_UINT16_P): New inline function in UTF-2000.
1473 (UINT16_VALUE_P): New inline function in UTF-2000.
1474 (UINT16_ENCODE): New inline function in UTF-2000.
1475 (UINT16_DECODE): New inline function in UTF-2000.
1476 (UINT8_TO_UINT16): New inline function in UTF-2000.
1477 (mark_uint16_byte_table): New function in UTF-2000.
1478 (print_uint16_byte_table): New function in UTF-2000.
1479 (uint16_byte_table_equal): New function in UTF-2000.
1480 (uint16_byte_table_hash): New function in UTF-2000.
1481 (make_uint16_byte_table): New function in UTF-2000.
1482 (uint16_byte_table_same_value_p): New function in UTF-2000.
1483 (print_byte_table): New function in UTF-2000.
1484 (byte-table): Use `print_byte_table' as printer.
1485 (make_byte_table): Delete second argument `older'.
1486 (byte_table_same_value_p): New function in UTF-2000.
1487 (copy_byte_table): Deleted.
1488 (get_byte_table): New function in UTF-2000.
1489 (put_byte_table): New function in UTF-2000.
1490 (print_char_id_table): New function in UTF-2000.
1491 (char-id-table): Use `print_char_id_table' as printer.
1492 (make_char_id_table): Delete second argument `older'.
1493 (get_char_id_table): Use `get_byte_table [new implementation].
1494 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
1496 (Ffind_char_attribute_table): New function in UTF-2000.
1497 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1498 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
1499 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
1500 (syms_of_mule_charset): Add new function
1501 `find-char-attribute-table' in UTF-2000.
1503 * lrecord.h (enum lrecord_type): Add
1504 `lrecord_type_uint16_byte_table' and
1505 `lrecord_type_uint8_byte_table'.
1507 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
1508 (Lisp_Uint8_Byte_Table): New type.
1509 (XUINT8_BYTE_TABLE): New macro.
1510 (XSETUINT8_BYTE_TABLE): New macro.
1511 (UINT8_BYTE_TABLE_P): New macro.
1512 (GC_UINT8_BYTE_TABLE_P): New macro.
1513 (struct Lisp_Uint16_Byte_Table): New structure.
1514 (Lisp_Uint16_Byte_Table): New type.
1515 (XUINT16_BYTE_TABLE): New macro.
1516 (XSETUINT16_BYTE_TABLE): New macro.
1517 (UINT16_BYTE_TABLE_P): New macro.
1518 (GC_UINT16_BYTE_TABLE_P): New macro.
1520 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1522 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
1523 (Vcharacter_ideographic_strokes_table): Deleted.
1524 (Vcharacter_total_strokes_table): Deleted.
1525 (Vcharacter_morohashi_daikanwa_table): Deleted.
1526 (Vcharacter_decomposition_table): Deleted.
1527 (Qname): Deleted because it is duplicated.
1528 (Qideographic_radical): Deleted.
1529 (Qideographic_strokes): Deleted.
1530 (Qtotal_strokes): Deleted.
1531 (Qmorohashi_daikanwa): Deleted.
1532 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
1533 `ideographic-radical', `ideographic-strokes', `total-strokes',
1534 `morohashi-daikanwa' and `->decomposition'.
1535 (Fget_char_attribute): Likewise.
1536 (Fput_char_attribute): Likewise; use `make-vector' instead of
1537 `make_older_vector' for `->decomposition' value.
1538 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
1539 `ideograph-daikanwa'.
1540 (syms_of_mule_charset): Delete builtin symbols `name',
1541 `ideographic-radical', `ideographic-strokes', `total-strokes' and
1542 `morohashi-daikanwa'.
1543 (vars_of_mule_charset): Don't setup
1544 `Vcharacter_ideographic_radical_table',
1545 `Vcharacter_ideographic_strokes_table',
1546 `Vcharacter_total_strokes_table',
1547 `Vcharacter_morohashi_daikanwa_table' and
1548 `Vcharacter_decomposition_table'.
1550 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1552 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
1553 `make_older_vector', `make_vector_newer_1' and
1554 `make_vector_newer'.
1556 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
1557 `make_older_vector' and `make_vector_newer'.
1559 * config.h.in (HAVE_GGC): New macro.
1561 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1563 * mule-charset.c (struct char_attribute_list_closure): New
1564 structure in UTF-2000.
1565 (add_char_attribute_to_list_mapper): New function in UTF-2000.
1566 (Fchar_attribute_list): Likewise.
1567 (Fset_charset_mapping_table): Use `make_vector_newer'.
1568 (Fdecode_builtin_char): New function in UTF-2000.
1569 (syms_of_mule_charset): Add new function `char-attribute-list' and
1570 `decode-builtin-char' in UTF-2000.
1572 * lisp.h (make_vector_newer): New prototype.
1574 * alloc.c (make_vector_newer_1): New function.
1575 (make_vector_newer): New function.
1577 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1579 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
1582 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1584 * mule-charset.c (Vchar_attribute_hash_table): New variable.
1585 (Vcharacter_attribute_table): Deleted.
1586 (Vcharacter_name_table): Deleted.
1587 (put_char_attribute): Deleted.
1588 (remove_char_attribute): Deleted.
1589 (struct char_attribute_alist_closure): New structure.
1590 (add_char_attribute_alist_mapper): New function.
1591 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
1592 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
1593 (Fget_char_attribute): Likewise.
1594 (Fput_char_attribute): Likewise.
1595 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
1596 of `remove_char_attribute'.
1597 (Fdefine_char): Return character.
1598 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
1599 and `Vcharacter_name_table'.
1600 (complex_vars_of_mule_charset): Likewise
1601 `Vchar_attribute_hash_table'.
1603 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1605 * character.h (CHARC_CHARSET): New macro.
1606 (CHARC_CHARSET_ID): New macro.
1607 (CHARC_CODE_POINT): New macro.
1608 (CHARC_COLUMNS): New macro.
1609 (CHARC_TO_CHAR): New inline function.
1610 (CHARC_EQ): New inline function.
1611 (CHARC_ASCII_EQ): New inline function.
1612 (CHARC_IS_SPACE): New inline function.
1613 (ASCII_TO_CHARC): New inline function.
1615 * char-ucs.h (encode_char_2): Deleted.
1616 (ENCODE_CHAR): Use `encode_char_1' again.
1617 (breakup_char_1): Likewise.
1618 (CHAR_TO_CHARC): New inline function.
1620 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
1622 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1624 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
1625 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
1626 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
1627 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
1628 (create_string_text_block): Use `CHARC_ASCII_EQ' and
1630 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
1632 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
1634 (x_output_display_block): Use `CHARC_CHARSET' and
1637 * redisplay-tty.c (tty_output_display_block): Use
1639 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
1641 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
1643 * insdel.c (find_charsets_in_charc_string): Use
1645 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
1646 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
1647 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
1648 (convert_charc_string_into_malloced_string): Likewise.
1650 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1652 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
1653 instead of <Emchar_dynarr *> for buf; use
1654 `convert_bufbyte_string_into_charc_dynarr' instead of
1655 `convert_bufbyte_string_into_emchar_dynarr'; use
1656 `find_charsets_in_charc_string' instead of
1657 `find_charsets_in_emchar_string'.
1660 - Include "character.h".
1661 (struct rune): New member `cglyph'; delete member `chr'.
1663 * redisplay.c (redisplay_text_width_charc_string): New function;
1664 delete `redisplay_text_width_emchar_string'.
1665 (rtw_charc_dynarr): New variable; renamed from
1666 `rtw_emchar_dynarr'.
1667 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
1668 `rtw_emchar_dynarr'; use
1669 `convert_bufbyte_string_into_charc_dynarr' instead of
1670 `convert_bufbyte_string_into_emchar_dynarr'; use
1671 `redisplay_text_width_charc_string' instead of
1672 `redisplay_text_width_emchar_string'.
1673 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
1674 instead of `rtw_emchar_dynarr'; use
1675 `convert_bufbyte_string_into_charc_dynarr' instead of
1676 `convert_bufbyte_string_into_emchar_dynarr'.
1677 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
1678 `redisplay_text_width_charc_string' instead of
1679 `redisplay_text_width_emchar_string'.
1680 (create_text_block): Modify for <struct rune> change.
1681 (generate_formatted_string_db): Likewise.
1682 (create_string_text_block): Likewise.
1683 (pixel_to_glyph_translation): Likewise.
1685 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
1686 instead of <const Emchar *>.
1687 (x_text_width): Likewise.
1688 (x_output_display_block): Use <Charc_dynarr *> instead
1689 <Emchar_dynarr *>; modify for <structure rune> change.
1690 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
1693 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
1694 <const Emchar *>; use `charc_string_displayed_columns' instead of
1695 `emchar_string_displayed_columns'.
1696 (tty_output_display_block): Use <Charc_dynarr *> instead of
1697 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
1698 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
1699 (tty_output_charc_dynarr_dynarr): New variable; renamed from
1700 `tty_output_emchar_dynarr_dynarr'.
1701 (tty_output_charc_dynarr): New function; delete
1702 `tty_output_charc_dynarr'.
1704 * redisplay-output.c (compare_runes): Modify for `struct rune'.
1705 (redisplay_output_layout): Use <Charc_dynarr *> instead of
1706 <Emchar_dynarr *> for buf; use
1707 `convert_bufbyte_string_into_charc_dynarr' instead of
1708 `convert_bufbyte_string_into_emchar_dynarr'.
1710 * frame.c (title_string_charc_dynarr): New variable; renamed from
1711 `title_string_emchar_dynarr'.
1712 (generate_title_string): Use `title_string_charc_dynarr' instead
1713 of `title_string_emchar_dynarr'; use
1714 `convert_charc_string_into_malloced_string' instead of
1715 `convert_emchar_string_into_malloced_string'.
1716 (init_frame): Use `title_string_charc_dynarr' instead of
1717 `title_string_emchar_dynarr'.
1720 - Include "character.h".
1721 (struct console_methods): Use <const Charc *> instead of <const
1722 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
1723 <Emchar_dynarr *> in output_string_method.
1725 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
1728 * console-stream.c (stream_text_width): Use <const Charc *>
1729 instead of <const Emchar *>.
1731 * character.h (Charc_dynarr): New type.
1733 * char-ucs.h (structure Charc): New structure; define new type
1736 * char-lb.h (DECODE_CHAR): New inline function.
1737 (encode_char_1): New inline function.
1738 (ENCODE_CHAR): New macro.
1739 (structure Charc): New structure; define new type `Charc'.
1741 * char-1byte.h (Vcharset_control_1): New macro.
1742 (Vcharset_latin_iso8859_1): New macro.
1743 (DECODE_CHAR): New inline function.
1744 (encode_char_1): New inline function.
1745 (ENCODE_CHAR): New macro.
1746 (structure Charc): New structure; define new type `Charc'.
1748 * insdel.c (find_charsets_in_charc_string): New function; delete
1749 `find_charsets_in_emchar_string'.
1750 (charc_string_displayed_columns): New function; delete
1751 `emchar_string_displayed_columns'.
1752 (convert_bufbyte_string_into_charc_dynarr): New function; delete
1753 `convert_bufbyte_string_into_emchar_dynarr'.
1754 (convert_charc_string_into_bufbyte_dynarr): New function; delete
1755 `convert_charc_string_into_bufbyte_dynarr'.
1756 (convert_charc_string_into_malloced_string): New function; delete
1757 `convert_charc_string_into_malloced_string'.
1759 * buffer.h (find_charsets_in_charc_string): New prototype; delete
1760 `find_charsets_in_emchar_string'.
1761 (charc_string_displayed_columns): New prototype; delete
1762 `emchar_string_displayed_columns'.
1763 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
1764 `convert_charc_string_into_bufbyte_dynarr'.
1765 (convert_charc_string_into_malloced_string): New prototype; delete
1766 `convert_charc_string_into_malloced_string'.
1768 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1770 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
1772 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1774 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
1776 * char-ucs.h: Use <short> for <Charset_ID>.
1778 * mule-charset.h, char-1byte.h: Use <unsigned char> for
1781 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1783 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1786 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1788 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
1790 (Qmorohashi_daikanwa): New variable.
1791 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
1792 for `morohashi-daikanwa' attribute.
1793 (Fget_char_attribute): Likewise.
1794 (Fput_char_attribute): Likewise.
1795 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
1796 has the same value of `ideograph-daikanwa'.
1797 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
1798 (vars_of_mule_charset): Setup
1799 `Vcharacter_morohashi_daikanwa_table'.
1801 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1803 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
1805 (add_charset_to_list_mapper): Add `key' instead of
1806 `XCHARSET_NAME (value)' to return aliases.
1808 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1810 * mule-charset.c (Vcharacter_ideographic_radical_table): New
1812 (Vcharacter_ideographic_strokes_table): New variable.
1813 (Qideographic_radical): New variable.
1814 (Qideographic_strokes): New variable.
1815 (Fchar_attribute_alist): Use
1816 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
1817 attribute; use `Vcharacter_ideographic_strokes_table' for
1818 `ideographic-strokes' attribute.
1819 (Fget_char_attribute): Likewise.
1820 (Fput_char_attribute): Likewise.
1821 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
1822 `ideographic-strokes'.
1823 (vars_of_mule_charset): Setup
1824 `Vcharacter_ideographic_radical_table' and
1825 `Vcharacter_ideographic_strokes_table'.
1827 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1829 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
1830 (Qtotal_strokes): New variable.
1831 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
1832 `total-strokes' attribute.
1833 (Fget_char_attribute): Likewise.
1834 (Fput_char_attribute): Likewise.
1835 (syms_of_mule_charset): Add new symbol `total-strokes'.
1836 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
1838 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1840 * mule-charset.c (Vcharacter_decomposition_table): New variable.
1841 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
1843 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
1844 `->decomposition' attribute.
1845 (Fput_char_attribute): Likewise.
1846 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
1848 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1850 * mule-charset.c (decoding_table_check_elements): New function.
1851 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
1853 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1855 * mule-charset.c (Fset_charset_mapping_table): Use
1856 `put_char_ccs_code_point'.
1858 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1860 * mule-charset.c (decoding_table_put_char): New inline function.
1861 (put_char_ccs_code_point): Use `decoding_table_put_char'.
1863 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1865 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
1866 (XCHARSET_BYTE_SIZE): New macro.
1867 (decoding_table_remove_char): New inline function.
1868 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
1869 `decoding_table_remove_char'.
1870 (remove_char_ccs): Use `decoding_table_remove_char'.
1871 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
1873 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1875 * mule-charset.c (Vcharacter_name_table): New variable.
1876 (Qname): New variable.
1877 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
1879 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
1880 `Vcharacter_name_table' for `name' attribute.
1881 (Fremove_char_attribute): Use function `remove_char_ccs'.
1882 (put_char_ccs_code_point): New function.
1883 (remove_char_ccs): New function.
1884 (syms_of_mule_charset): Add new symbol `name'.
1885 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
1887 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1889 * mule-charset.c (make_byte_table): Add new argument `older'.
1890 (make_char_id_table): Likewise.
1891 (copy_char_id_table): Comment out because it is not used.
1892 (put_char_id_table): Modify for `make_byte_table'.
1893 (Fput_char_attribute): Make encoding_table as older object;
1894 inherit older bit of `Vcharacter_composition_table'.
1895 (mark_charset): Don't mark `cs->encoding_table'.
1896 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
1897 normal object; make `Vcharacter_composition_table' as an older
1898 object; delete staticpro for `Vcharacter_composition_table'; make
1899 `Vcharacter_variant_table' as a normal object.
1901 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
1902 (mark_object): Don't check older object in UTF-2000.
1904 * lrecord.h (struct lrecord_header): Add new member `older' in
1906 (set_lheader_implementation): Setup `SLI_header->older' in
1908 (set_lheader_older_implementation): New macro in UTF-2000.
1909 (OLDER_RECORD_P): New macro in UTF-2000.
1910 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
1911 (alloc_older_lcrecord): New prototype in UTF-2000.
1912 (alloc_older_lcrecord_type): New macro in UTF-2000.
1914 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1916 * mule-charset.c (byte_table_description): Use
1917 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
1918 (char_id_table_description): Delete bogus `, 1'.
1919 (Fget_char_attribute): Refer encoding_table of each coded-charset
1920 to get value of coded-charset attribute of a character.
1921 (Fput_char_attribute): Use `make_older_vector' instead of
1922 `make_vector'; use encoding_table of each coded-charset to store
1923 value of coded-charset attribute of a character.
1924 (Fremove_char_attribute): Use encoding_table of each coded-charset
1925 to store value of coded-charset attribute of a character.
1926 (mark_charset): Mark `cs->encoding_table'; don't mark
1927 `cs->decoding_table'.
1928 (charset_description): Add description of new member
1930 (make_charset): Initialize `encoding_table'.
1932 * char-ucs.h (struct Lisp_Charset): Add new member
1934 (CHARSET_ENCODING_TABLE): New macro.
1935 (XCHARSET_ENCODING_TABLE): New macro.
1936 (charset_code_point): New implementation.
1937 (encode_char_1): Likewise.
1939 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
1940 (disksave_object_finalization_1): Call finalizers of
1941 `all_older_lcrecords' in UTF-2000.
1942 (make_older_vector): New function in UTF-2000.
1943 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
1946 * lisp.h (make_older_vector): New prototype in UTF-2000.
1948 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1950 * lrecord.h (enum lrecord_type): Rename
1951 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
1953 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
1954 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
1955 `get_char_code_table'.
1957 * mule-charset.c (mark_char_id_table): Renamed from
1958 `mark_char_code_table'.
1959 (char_id_table_equal): Renamed from `char_code_table_equal'.
1960 (char_id_table_hash): Renamed from `char_code_table_hash'.
1961 (make_char_id_table): Renamed from `make_char_code_table'.
1962 (copy_char_id_table): Renamed from `copy_char_code_table'.
1963 (get_char_id_table): Renamed from `get_char_code_table'.
1964 (put_char_id_table): Renamed from `put_char_code_table'.
1965 (to_char_id): Renamed from `to_char_code'.
1967 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
1968 `Lisp_Char_Code_Table'.
1969 (char_id_table): Renamed from `char_code_table'.
1970 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
1971 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
1972 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
1973 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
1974 (get_char_id_table): Renamed from `get_char_code_table'.
1976 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1978 * lrecord.h (enum lrecord_type): Rename
1979 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
1981 * mule-charset.c (mark_byte_table): Renamed from
1982 `mark_char_byte_table'.
1983 (byte_table_equal): Renamed from `char_byte_table_equal'.
1984 (byte_table_hash): Renamed from `byte_table_hash'.
1985 (make_byte_table): Renamed from `make_byte_table'.
1986 (copy_byte_table): Renamed from `copy_char_byte_table'.
1988 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
1989 `Lisp_Char_Byte_Table'.
1990 (byte_table): Renamed from `char_byte_table'.
1991 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
1992 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
1993 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
1994 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
1996 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1998 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
1999 (dfc_convert_to_internal_format): Likewise.
2001 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2002 * text-coding.c (Fcoding_system_alias_p): New function.
2003 * text-coding.c (Fcoding_system_aliasee): New function.
2004 * text-coding.c (append_suffix_to_symbol): New function.
2005 * text-coding.c (dangling_coding_system_alias_p): New function.
2006 * text-coding.c (Ffind_coding_system):
2007 * text-coding.c (Fcopy_coding_system):
2008 * text-coding.c (encode_coding_no_conversion):
2009 * text-coding.c (syms_of_file_coding):
2010 * text-coding.c (vars_of_file_coding):
2011 Rewrite coding system alias code.
2012 Allow nested aliases, like symbolic links.
2013 Allow redefinition of coding system aliases.
2014 Prevent existence of dangling coding system aliases.
2015 Eliminate convert_to_external_format.
2016 Eliminate convert_to_internal_format.
2018 * text-coding.c: Change enum eol_type to eol_type_t.
2020 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2022 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2023 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2025 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2026 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2028 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2030 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2031 `ideograph-daikanwa'.
2033 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2034 (Vcharset_ucs_bmp): Likewise.
2035 (Vcharset_mojikyo): Add new extern variable definition.
2036 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2037 (Vcharset_latin_iso8859_3): Likewise.
2038 (Vcharset_latin_iso8859_4): Likewise.
2039 (Vcharset_latin_iso8859_9): Likewise.
2040 (Vcharset_latin_viscii_lower): Likewise.
2041 (Vcharset_latin_viscii_upper): Likewise.
2042 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2043 `mojikyo' code-point is used to decode.
2044 (encode_char_2): New function [to convert `mojikyo' code-point to
2045 Mojikyo font encoding].
2046 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2047 (breakup_char_1): Likewise.
2048 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2050 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2052 * text-coding.c (Fmake_coding_system): Add document about
2053 `disable-composition' property.
2055 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2057 * text-coding.c (Qdisable_composition): New variable; delete
2059 (Fmake_coding_system): Add new property `disable-composite';
2060 delete property `composite'.
2061 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2062 instead of `!CODING_SYSTEM_COMPOSITE'.
2063 (syms_of_file_coding): Add new symbol `disable-composition';
2064 delete symbol `composite'.
2066 * file-coding.h (struct Lisp_Coding_System): Add
2067 `disable_composition'; delete `enable_composition'.
2068 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2069 `CODING_SYSTEM_COMPOSITE'.
2070 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2071 `XCODING_SYSTEM_COMPOSITE'.
2073 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2075 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2078 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2080 * text-coding.c (Qcomposite): New variable.
2081 (Fmake_coding_system): Add new property `composite'.
2082 (struct decoding_stream): Add `combined_char_count',
2083 `combined_chars' and `combining_table' in UTF-2000.
2084 (COMPOSE_FLUSH_CHARS): New macro.
2085 (COMPOSE_ADD_CHAR): New macro.
2086 (reset_decoding_stream): Reset `str->combined_char_count' and
2087 `str->combining_table' in UTF-2000.
2088 (decode_coding_iso2022): Modify for character-decomposition.
2089 (syms_of_file_coding): Add new symbol `composite'.
2091 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2093 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2094 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2095 of `Vcharacter_composition_table' if `->decomposition' property
2097 (Qlatin_tcvn5712): New variable.
2098 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2099 (complex_vars_of_mule_charset): Add new coded-charset
2102 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2104 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2106 * file-coding.h (struct Lisp_Coding_System): Add
2107 `enable_composition'.
2108 (CODING_SYSTEM_COMPOSITE): New macro.
2109 (XCODING_SYSTEM_COMPOSITE): New macro.
2111 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2113 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2115 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2117 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2118 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2120 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2122 * mule-charset.c (Vcharset_mojikyo): New variable.
2123 (Fdefine_char): Don't use coded-charset which does not have
2124 non-builtin character range to allocate character-id.
2125 (Qmojikyo): New variable.
2126 (syms_of_mule_charset): Add new symbol `mojikyo'.
2127 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2129 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2130 (LEADING_BYTE_MOJIKYO): New macro.
2131 (MIN_CHAR_MOJIKYO): New macro.
2132 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2133 (MAX_CHAR_MOJIKYO): New macro.
2135 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2137 * mule-charset.c (remove_char_attribute): Fixed.
2139 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2141 * mule-charset.c (remove_char_attribute): New function.
2142 (Fremove_char_attribute): New function.
2143 (encode_builtin_char_1): Comment out builtin-support for
2144 greek-iso8859-7 and cyrillic-iso8859-5.
2145 (Fdecode_char): Check `code' is an integer.
2146 (syms_of_mule_charset): Add `remove-char-attribute'.
2147 (MIN_CHAR_GREEK): Deleted.
2148 (MAX_CHAR_GREEK): Likewise.
2149 (MIN_CHAR_CYRILLIC): Likewise.
2150 (MAX_CHAR_CYRILLIC): Likewise.
2151 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
2152 MAX_CHAR_GREEK for `greek-iso8859-7'.
2154 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
2155 (MAX_CHAR_GREEK): Likewise.
2156 (MIN_CHAR_CYRILLIC): Likewise.
2157 (MAX_CHAR_CYRILLIC): Likewise.
2159 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
2161 * mule-charset.c (Fdefine_char): Fix problem when new code-point
2162 format is used without `ucs' property.
2163 (Fdecode_char): Fix problem with GR representation.
2164 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
2165 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
2167 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2169 * mule-charset.c (make_builtin_char): New function.
2170 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
2171 (Fset_charset_mapping_table): Modify for new representation of
2173 (Fdecode_char): New function.
2174 (syms_of_mule_charset): Add new builtin function `decode-char' in
2177 * char-ucs.h (make_builtin_char): New prototype.
2178 (DECODE_CHAR): New inline function.
2179 (MAKE_CHAR): Use `DECODE_CHAR'.
2181 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
2183 * text-coding.c (parse_charset_conversion_specs): Use
2184 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
2186 (iso2022_designate): Likewise.
2188 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
2189 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
2191 * mule-charset.c (Vcharset_ucs): New variable.
2192 (print_charset): Change design; use `CHARSET_CHARS' and
2193 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
2194 (make_charset): Change signature to specify `chars' and
2195 `dimension' instead of `type'.
2196 (range_charset_code_point): Modify for 256^n-set.
2197 (encode_builtin_char_1): Encode as `ucs' in default.
2198 (Fmake_charset): Modify for `make_charset'.
2199 (Fmake_reverse_direction_charset): Likewise.
2200 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
2202 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
2205 * char-ucs.h (Vcharset_ucs): New variable.
2206 (LEADING_BYTE_UCS): New macro.
2207 (struct Lisp_Charset): Delete `type'; change type of `dimension'
2208 and `chars' to `unsigned short' from `unsigned int'.
2209 (CHARSET_TYPE): Deleted.
2210 (XCHARSET_TYPE): Deleted.
2212 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
2214 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
2216 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
2217 (ENCODE_CHAR): New macro.
2219 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2221 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2222 to 0.14 (Kawachi-Katakami).
2224 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2226 * text-coding.c (char_encode_shift_jis): Modify for
2227 `charset_code_point'.
2228 (char_encode_iso2022): Likewise.
2230 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
2231 (integer) instead of list of <Lisp_Object>s (integers) as the
2232 format of code-point of a coded-charset.
2233 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2234 (encode_builtin_char_1): New function; delete
2235 `split_builtin_char'.
2236 (charset_code_point): Return <int> instead of <Lisp_Object>.
2237 (Fsplit_char): Don't use `SPLIT_CHAR'.
2239 * char-ucs.h (encode_builtin_char_1): New prototype; delete
2240 prototype for `split_builtin_char'.
2241 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2242 (charset_code_point): Likewise.
2243 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
2244 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
2246 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
2248 * mule-charset.c (complex_vars_of_mule_charset): Don't define
2249 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
2251 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2253 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
2255 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
2256 (MAX_CHAR_OBS_94x94): Deleted.
2258 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2260 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
2262 * char-ucs.h (MAX_CHAR_BMP): New macro.
2264 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2266 * text-coding.c: Sync with r21-2-24.
2268 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2270 * file-coding.c: Modify for UTF-2000.
2272 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2274 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2277 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2279 * mule-charset.c (split_builtin_char): Delete builtin support for
2280 `katakana-jisx0201'.
2281 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
2282 BMP area in builtin representation.
2284 * char-ucs.h (MAKE_CHAR): Delete builtin support for
2285 `Vcharset_katakana_jisx0201'.
2287 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2289 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
2290 (Qisolated): New variable.
2291 (Qinitial): New variable.
2292 (Qmedial): New variable.
2293 (Qfinal): New variable.
2294 (Qvertical): New variable.
2295 (Qsmall): New variable.
2296 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
2297 `Qvertical' and `Qsmall'.
2298 (Qmojikyo_pj_[1 .. 21]): New variable.
2299 (syms_of_mule_charset): Add new symbols `isolated', `initial',
2300 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
2301 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
2304 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2306 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
2307 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
2308 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
2310 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2312 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
2313 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
2315 (Qjapanese_jisx0208_1990): New variable.
2316 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
2317 (complex_vars_of_mule_charset): Add new coded-charset
2318 `japanese-jisx0208-1990'.
2320 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
2321 (MIN_CHAR_JIS_X0208_1990): New macro.
2322 (MAX_CHAR_JIS_X0208_1990): New macro.
2324 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2326 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
2327 coded-charset is not found.
2329 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2331 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
2332 (Fdefine_char): Use `Fmake_char'.
2334 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2336 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
2337 (Vcharset_hiragana_jisx0208): Deleted.
2338 (Vcharset_katakana_jisx0208): Deleted.
2339 (Qideograph_daikanwa): New variable.
2340 (Qhiragana_jisx0208): Deleted.
2341 (Qkatakana_jisx0208): Deleted.
2342 (split_builtin_char): Split `ideograph-daikanwa'.
2343 (Fsplit_char): New implementation for UTF-2000.
2344 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
2345 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
2346 (complex_vars_of_mule_charset): Add new coded-charset
2347 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
2348 `katakana-jisx0208'.
2350 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
2351 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
2352 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
2353 (MIN_CHAR_DAIKANWA): New macro.
2354 (MAX_CHAR_DAIKANWA): New macro.
2356 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2358 * data.c (Fstring_to_number): Don't recognize floating point if
2361 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2363 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
2365 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2367 * mule-charset.c (Qsquare): New variable.
2368 (to_char_code): Add `Qsquare'.
2369 (syms_of_mule_charset): Add new symbol `square'.
2371 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2373 * mule-charset.c (Qcircle): New variable.
2374 (to_char_code): Add `Qcircle'.
2375 (syms_of_mule_charset): Add new symbol `circle'.
2377 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2379 * mule-charset.c (Qfont): New variable.
2380 (to_char_code): Add `Qfont'.
2381 (syms_of_mule_charset): Add new symbol `font'.
2383 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2385 * mule-charset.c (Qsub): New variable.
2386 (to_char_code): Add `Qsub'.
2387 (syms_of_mule_charset): Add new symbol `sub'.
2389 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2391 * mule-charset.c (Fput_char_attribute): Convert each element of
2392 VALUE to GL position if ATTRIBUTE is a GR-set,
2394 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2396 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
2397 coded-charset is a GR-set.
2399 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2401 * mule-charset.c (Fput_char_attribute): Check each element of
2402 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
2404 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2406 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
2408 (Qethiopic_ucs): New variable in UTF-2000.
2409 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
2410 (complex_vars_of_mule_charset): Add new coded-charset
2411 `ethiopic-ucs' in UTF-2000.
2413 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
2414 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2416 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2418 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
2420 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2422 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
2425 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2427 * mule-charset.c (Vcharacter_variant_table): New variable.
2428 (Q_ucs): New variable.
2429 (Fchar_variants): New function.
2430 (Fput_char_attribute): Register `->ucs' value to
2431 `Vcharacter_variant_table'.
2432 (syms_of_mule_charset): Add new function `char-variants' and new
2434 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
2436 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2438 * mule-charset.c (get_char_code_table): Allow negative character
2440 (put_char_code_table): Likewise.
2441 (Vcharacter_composition_table): New variable.
2442 (Q_decomposition): New variable.
2443 (Qwide): New variable.
2444 (Qnarrow): New variable.
2445 (Qcompat): New variable.
2446 (QnoBreak): New variable.
2447 (Qsuper): New variable.
2448 (Qfraction): New variable.
2449 (to_char_code): New function.
2450 (Fget_composite_char): New function.
2451 (Fput_char_attribute): Register `->decomposition' value to
2452 `Vcharacter_composition_table'.
2453 (syms_of_mule_charset): Add new function `get-composite-char', new
2454 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
2455 `super' and `fraction'.
2456 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
2458 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2460 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
2461 character; copy the return value.
2463 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2465 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
2467 * mule-charset.c (range_charset_code_point): Must use make_int.
2468 (split_builtin_char): New function.
2470 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2472 * mule-charset.c (char_byte_table): Change name from
2473 "char-code-table" to "char-byte-table".
2474 (mark_char_code_table): New function.
2475 (char_code_table_equal): New function.
2476 (char_code_table_hash): New function.
2477 (char_code_table_description): New constant.
2478 (char_code_table): New type.
2479 (make_char_code_table): New function.
2480 (copy_char_code_table): New function.
2481 (get_char_code_table): Modify for `char_code_table' type.
2482 (put_char_code_table): Likewise.
2483 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
2486 * char-ucs.h (char_code_table): New type.
2487 (XCHAR_CODE_TABLE): New macro.
2488 (XSETCHAR_CODE_TABLE): New macro.
2489 (CHAR_CODE_TABLE_P): New macro.
2490 (GC_CHAR_CODE_TABLE_P): New macro.
2491 (struct Lisp_Char_Code_Table): New structure.
2493 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2495 * mule-charset.c (Fmake_charset): Setup byte_offset for
2498 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
2500 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
2503 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2505 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
2508 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2510 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
2511 charset, it is regarded as a charset.
2512 (put_char_attribute): New function in UTF-2000.
2513 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
2514 charset, mapping-table of the charset is modified.
2515 (Fdefine_char): New function in UTF-2000.
2516 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
2517 `Fput_char_attribute'.
2518 (syms_of_mule_charset): Add new function `define-char' and new
2519 symbol `ucs' in UTF-2000.
2520 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
2522 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2524 * mule-charset.c (Fcharset_name): Define `byte_offset' in
2525 non-UTF-2000 configuration.
2527 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2529 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
2530 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
2532 * mule-charset.c (mark_charset): `cs->encoding_table' has been
2534 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
2535 (Fset_charset_mapping_table): Likewise.
2537 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
2538 (CHARSET_ENCODING_TABLE): Delete.
2539 (XCHARSET_ENCODING_TABLE): Delete.
2540 (charset_code_point): New interface.
2542 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2544 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
2545 instead of `charset_get_byte1' and `charset_get_byte2'.
2547 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
2548 (charset_get_byte2): Deleted.
2550 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2552 * char-ucs.h (SPLIT_CHAR): New inline function.
2553 (breakup_char_1): Use `SPLIT_CHAR'.
2555 * mule-charset.c (range_charset_code_point): New function.
2556 (charset_code_point): New function.
2558 * char-ucs.h (range_charset_code_point): New interface.
2559 (breakup_char_1): Use `range_charset_code_point'.
2561 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2563 * mule-charset.c (Fmake_charset): Delete unused local variable
2566 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
2567 (breakup_char_1): Find a charset and code-point in
2568 `Vcharacter_attribute_table'.
2570 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2572 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2575 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2577 * mule-charset.c (Vcharacter_attribute_table): New variable.
2578 (Fchar_attribute_alist): New function.
2579 (Fget_char_attribute): New function.
2580 (Fput_char_attribute): New function.
2581 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
2583 (syms_of_mule_charset): Add new function `char-attribute-alist',
2584 `get-char-attribute' and `put-char-attribute'.
2585 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
2587 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
2589 * mule-charset.c (Fmake_charset): Just use
2590 `get_unallocated_leading_byte'.
2592 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
2593 sets; don't use final-byte based number for private sets.
2595 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2597 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
2600 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2602 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2605 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2607 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
2608 of `CHAR_LEADING_BYTE' in UTF-2000.
2610 * insdel.c (find_charsets_in_bufbyte_string): Use
2611 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2612 (find_charsets_in_emchar_string): Likewise.
2614 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
2615 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2617 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
2618 (CHAR_CHARSET_ID): New macro.
2620 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2622 * chartab.c (get_char_table): Don't use type `Charset_ID' for
2623 charset-id - MIN_LEADING_BYTE.
2624 (put_char_table): Likewise.
2626 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2628 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
2629 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
2630 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
2631 (CHARSET_ID_OFFSET): New macro.
2632 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
2633 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
2634 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
2635 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2637 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2639 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
2640 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
2641 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
2642 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
2643 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
2645 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2647 * mule-charset.c (next_allocated_leading_byte): New variable in
2649 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
2650 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
2651 (get_unallocated_leading_byte): Simply use
2652 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
2653 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
2656 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
2657 (MAX_LEADING_BYTE_PRIVATE): New macro.
2658 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
2659 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
2661 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2663 * mule-charset.c (Fmake_charset): Allocate final-byte based
2664 charset-id for 94-set, 96-set and 94x94-set.
2666 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2668 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
2670 (Fmake_charset): Likewise.
2671 (complex_vars_of_mule_charset): Modify the font registry of
2672 `ucs-bmp' not to match `Ethiopic-Unicode'.
2674 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2676 * mule-charset.c (complex_vars_of_mule_charset): Add font
2677 registory of `ucs-bmp'.
2679 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2681 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
2682 coded-charsets in `default-coded-charset-priority-list' when
2683 breaking up a character.
2685 * mule-charset.c (Vcharset_latin_viscii): New variable.
2686 (Qlatin_viscii): New variable.
2687 (make_charset): Don't use `decoding_table'.
2688 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
2690 (Fset_charset_mapping_table): New implementation.
2691 (syms_of_mule_charset): Add new symbol `latin-viscii'.
2692 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
2693 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
2694 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
2695 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
2696 charset `latin_viscii'.
2698 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
2699 (CHARSET_TYPE_94X94): Change to 1 from 2.
2700 (CHARSET_TYPE_96): Change to 2 from 1.
2701 (CHARSET_TYPE_128): New macro.
2702 (CHARSET_TYPE_128X128): Change to 5 from 4.
2703 (CHARSET_TYPE_256): New macro.
2704 (CHARSET_TYPE_256X256): Change to 7 from 5.
2705 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
2707 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2709 * text-coding.c (char_encode_shift_jis): Refer
2710 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
2711 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
2713 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
2714 (char_byte_table_equal): New function in UTF-2000.
2715 (char_byte_table_hash): New function in UTF-2000.
2716 (char_byte_table_description): New constant in UTF-2000.
2717 (char_byte_table): New type in UTF-2000.
2718 (make_char_byte_table): New function in UTF-2000.
2719 (copy_char_byte_table): New function in UTF-2000.
2720 (make_char_code_table): New macro in UTF-2000.
2721 (get_char_code_table): New function in UTF-2000.
2722 (put_char_code_table): New function in UTF-2000.
2723 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2724 (charset_description): Add setting in UTF-2000.
2725 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
2726 `CHARSET_TO_BYTE1_TABLE(cs)'.
2727 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
2728 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
2729 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
2730 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
2731 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
2732 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
2733 `CHARSET_TO_BYTE2_TABLE(cs)'.
2735 * char-ucs.h (char_byte_table): New type.
2736 (XCHAR_BYTE_TABLE): New macro.
2737 (XSETCHAR_BYTE_TABLE): New macro.
2738 (CHAR_BYTE_TABLE_P): New macro.
2739 (GC_CHAR_BYTE_TABLE_P): New macro.
2740 (struct Lisp_Char_Byte_Table): New structure.
2741 (get_char_code_table): New interface.
2742 (Emchar_to_byte_table): Deleted.
2743 (get_byte_from_character_table): Deleted.
2744 (struct Lisp_Charset): Add `encoding_table'; delete
2745 `to_byte1_table' and `to_byte2_table'.
2746 (CHARSET_ENCODING_TABLE): New macro.
2747 (CHARSET_TO_BYTE1_TABLE): Deleted.
2748 (CHARSET_TO_BYTE2_TABLE): Deleted.
2749 (XCHARSET_ENCODING_TABLE): New macro.
2750 (XCHARSET_TO_BYTE1_TABLE): Deleted.
2751 (XCHARSET_TO_BYTE2_TABLE): Deleted.
2753 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2755 * mule-charset.c (syms_of_mule_charset): Delete charset alias
2756 `vietnamese-viscii-*'.
2758 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2760 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
2761 (Qvietnamese_viscii_upper): New variable.
2762 (Fdefine_charset_alias): New function.
2763 (syms_of_mule_charset): Add new function `define-charset-alias'.
2764 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
2765 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
2768 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
2770 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
2771 (MAX_CHAR_OBS_94x94): New macro.
2772 (breakup_char_1): Support obsolete XEmacs-UCS private code space
2775 * mule-charset.c (put_byte_from_character_table): Change unit size
2777 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
2779 (Fmake_reverse_direction_charset): Modify dummy argument of
2780 `make_charset' for non-UTF-2000 environment.
2782 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
2784 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
2786 * mule-charset.c (destroy_byte_from_character_table): New macro.
2787 (latin_jisx0201_to_ucs): Deleted.
2788 (latin_iso8859_2_to_ucs): Deleted.
2789 (latin_iso8859_3_to_ucs): Deleted.
2790 (latin_iso8859_4_to_ucs): Deleted.
2791 (latin_iso8859_9_to_ucs): Deleted.
2792 (latin_viscii_lower_to_ucs): Deleted.
2793 (latin_viscii_upper_to_ucs): Deleted.
2794 (mark_charset): Mark `cs->decoding_table'.
2795 (Fcharset_mapping_table): Fix DOC-string.
2796 (Fset_charset_mapping_table): New function.
2797 (syms_of_mule_charset): Add nwe function
2798 `set-charset-mapping-table'.
2799 (complex_vars_of_mule_charset): Don't setup and use
2802 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
2804 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
2807 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
2809 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
2810 (Vcharset_katakana_jisx0208): New variable.
2811 (Qhiragana_jisx0208): New variable.
2812 (Qkatakana_jisx0208): New variable.
2813 (make_charset): Add new argument `byte_offset'.
2814 (charset_get_byte1): Modify for new coded-charset definition; use
2815 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2816 `XCHARSET_BYTE_OFFSET'.
2817 (Fmake_charset): Modify for `make_charset'.
2818 (Fmake_reverse_direction_charset): Likewise.
2819 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
2820 `katakana-jisx0208'.
2821 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
2822 `.' in font registry of charset `katakana-jisx0201',
2823 `latin-jisx0201', `vietnamese-viscii-lower' and
2824 `vietnamese-viscii-upper'; modify DOC-string of charset
2825 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
2826 registry of charset `japanese-jisx0208' not to use font for JIS
2827 X0208:1990; add new charset `hiragana-jisx0208' and
2828 `katakana-jisx0208'.
2830 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
2831 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
2832 (struct Lisp_Charset): Add `byte_offset'.
2833 (CHARSET_BYTE_OFFSET): New macro.
2834 (XCHARSET_UCS_MIN): New macro.
2835 (XCHARSET_UCS_MAX): New macro.
2836 (XCHARSET_CODE_OFFSET): New macro.
2837 (XCHARSET_BYTE_OFFSET): New macro.
2838 (MIN_CHAR_HIRAGANA): New macro.
2839 (MAX_CHAR_HIRAGANA): New macro.
2840 (MIN_CHAR_KATAKANA): New macro.
2841 (MAX_CHAR_KATAKANA): New macro.
2842 (MAKE_CHAR): Modify for new coded-charset definition; use
2843 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2844 `XCHARSET_BYTE_OFFSET'.
2846 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2848 * mule-charset.c (CHAR96): Deleted.
2849 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
2851 (latin_iso8859_2_to_ucs): Likewise.
2852 (latin_iso8859_3_to_ucs): Likewise.
2853 (latin_iso8859_4_to_ucs): Likewise.
2854 (latin_iso8859_9_to_ucs): Likewise.
2855 (latin_viscii_lower_to_ucs): Likewise.
2856 (latin_viscii_upper_to_ucs): Likewise.
2857 (latin_tcvn5712_to_ucs): Commented out.
2858 (make_charset): Change type of argument `decoding_table' from
2859 <Emchar*> to <Lisp_Object> [vector of characters].
2860 (Fmake_charset): Modify for `make_charset'.
2861 (Fmake_reverse_direction_charset): Likewise.
2862 (Fcharset_mapping_table): New function in UTF-2000.
2863 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
2865 (complex_vars_of_mule_charset): Modify for type change of
2866 `*_to_ucs'; modify for `make_charset'.
2868 * char-ucs.h (struct Lisp_Charset): Change type of
2869 `decoding_table' from <Emchar*> to <Lisp_Object>.
2870 (MAKE_CHAR): Modify for new specification of `decoding_table'.
2872 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2874 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
2875 error with non-UTF-2000-Mule.
2877 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
2879 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
2881 (Vcharset_chinese_cns11643_4): Likewise.
2882 (Vcharset_chinese_cns11643_5): Likewise.
2883 (Vcharset_chinese_cns11643_6): Likewise.
2884 (Vcharset_chinese_cns11643_7): Likewise.
2885 (Qchinese_cns11643_3): Likewise.
2886 (Qchinese_cns11643_4): Likewise.
2887 (Qchinese_cns11643_5): Likewise.
2888 (Qchinese_cns11643_6): Likewise.
2889 (Qchinese_cns11643_7): Likewise.
2890 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
2891 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
2892 and `chinese-cns11643-7' to lisp/mule/chinese.el.
2893 (complex_vars_of_mule_charset): Likewise.
2895 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2897 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
2899 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
2900 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
2902 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
2904 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
2906 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
2907 (breakup_char_1): Likewise.
2909 * text-coding.c (char_encode_iso2022): Keep designated charsets if
2910 one of them includes the specified character.
2912 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2914 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
2916 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2918 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
2920 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2922 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
2923 definition for non-UTF-2000 Mule.
2924 (latin_iso8859_3_to_ucs): Likewise.
2925 (latin_iso8859_4_to_ucs): Likewise.
2926 (latin_iso8859_9_to_ucs): Likewise.
2927 (latin_jisx0201_to_ucs): Likewise.
2928 (MIN_CHAR_THAI): Likewise.
2929 (MAX_CHAR_THAI): Likewise.
2930 (MIN_CHAR_GREEK): Likewise.
2931 (MAX_CHAR_GREEK): Likewise.
2932 (MIN_CHAR_HEBREW): Likewise.
2933 (MAX_CHAR_HEBREW): Likewise.
2934 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
2935 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
2936 (MIN_CHAR_CYRILLIC): Likewise.
2937 (MAX_CHAR_CYRILLIC): Likewise.
2939 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2941 * char-ucs.h (breakup_char_1): Use
2942 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
2943 thai-tis620 and katakana-jisx0201 area.
2945 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2947 * char-ucs.h (breakup_char_1): Use
2948 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
2951 * text-coding.c (reset_encoding_stream): Fixed.
2952 (char_encode_ucs4): Delete `& 255'.
2954 * char-ucs.h (breakup_char_1): Use
2955 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
2957 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2959 * file-coding.c (Fmake_coding_system): Don't set up
2960 `codesys->fixed.size'.
2961 (encode_coding_no_conversion): Don't refer
2962 `str->codesys->fixed.size'.
2964 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2966 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
2967 (latin_a_char_to_byte1): Deleted.
2968 (latin_a_char_to_byte2): Deleted.
2970 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2972 * mule-charset.c (make_charset): Add new argument `ucs_min',
2973 `ucs_max' and `code_offset'.
2974 (charset_get_byte1): New implementation [delete specific charset
2975 depended implementations].
2976 (Fmake_charset): Modify for `make_charset'.
2977 (Fmake_reverse_direction_charset): Likewise.
2978 (complex_vars_of_mule_charset): Likewise.
2980 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
2982 (CHARSET_UCS_MIN): New macro.
2983 (CHARSET_UCS_MAX): New macro.
2984 (CHARSET_CODE_OFFSET): New macro.
2985 (MAKE_CHAR): Delete charset depended definitions [except
2988 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2990 * char-ucs.h (breakup_char_1): Use
2991 `Vdefault_coded_charset_priority_list' for C0-Controls,
2992 Basic-Latin, C1-Controls and Latin-1-Supplement area.
2994 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2996 * char-ucs.h (charset_get_byte1): New function.
2997 (XCHARSET_GET_BYTE1): Deleted.
2998 (charset_get_byte2): New function.
2999 (XCHARSET_GET_BYTE2): Deleted.
3000 (Vdefault_coded_charset_priority_list): New external variable.
3001 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3002 `Vdefault_preferred_coded_charset_list'.
3004 * mule-charset.c (charset_get_byte1): New function.
3005 (charset_get_byte2): New function.
3006 (Vdefault_coded_charset_priority_list): New variable.
3007 (vars_of_mule_charset): Add new variable
3008 `default-coded-charset-priority-list'.
3010 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3012 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3013 (XCHARSET_GET_BYTE2): New inline function.
3014 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3015 `XCHARSET_GET_BYTE2'.
3017 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3019 * mule-charset.c (make_charset): Initialize
3020 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3021 NULL if table is not defined.
3023 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3025 * text-coding.c (char_encode_shift_jis): Use
3026 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3027 `ucs_to_latin_jisx0201'.
3029 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3030 (ucs_to_latin_iso8859_2): Deleted.
3031 (ucs_to_latin_iso8859_3): Deleted.
3032 (ucs_to_latin_iso8859_4): Deleted.
3033 (ucs_to_latin_iso8859_9): Deleted.
3034 (ucs_to_latin_viscii_lower): Deleted.
3035 (ucs_to_latin_viscii_upper): Deleted.
3036 (ucs_to_latin_tcvn5712): Deleted.
3037 (make_charset): Add new argument `decoding_table'; set up
3038 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3039 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3040 `decoding_table' is defined in UTF-2000.
3041 (Fmake_charset): Modify for `make_charset'.
3042 (Fmake_reverse_direction_charset): Likewise.
3043 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3044 and `GENERATE_96_SET'.
3046 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3047 (ucs_to_latin_jisx0201): Deleted.
3048 (latin_iso8859_2_to_ucs): Deleted.
3049 (ucs_to_latin_iso8859_2): Deleted.
3050 (latin_iso8859_3_to_ucs): Deleted.
3051 (ucs_to_latin_iso8859_3): Deleted.
3052 (latin_iso8859_4_to_ucs): Deleted.
3053 (ucs_to_latin_iso8859_4): Deleted.
3054 (latin_iso8859_9_to_ucs): Deleted.
3055 (ucs_to_latin_iso8859_9): Deleted.
3056 (latin_viscii_lower_to_ucs): Deleted.
3057 (ucs_to_latin_viscii_lower): Deleted.
3058 (latin_viscii_upper_to_ucs): Deleted.
3059 (ucs_to_latin_viscii_upper): Deleted.
3060 (struct Lisp_Charset): Renamed `encoding_table' to
3061 `to_byte1_table'; add `to_byte2_table'.
3062 (CHARSET_DECODING_TABLE): New macro.
3063 (CHARSET_TO_BYTE1_TABLE): New macro.
3064 (CHARSET_TO_BYTE2_TABLE): New macro.
3065 (XCHARSET_DECODING_TABLE): New macro.
3066 (XCHARSET_TO_BYTE1_TABLE): New macro.
3067 (XCHARSET_TO_BYTE2_TABLE): New macro.
3068 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3070 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3071 don't use `ucs_to_*' tables.
3073 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3075 * text-coding.c (Fmake_coding_system): Don't set up
3076 `codesys->fixed.size'.
3077 (encode_coding_no_conversion): Use `if' instead of `switch'.
3079 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3081 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3083 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3084 (Fmake_charset): Modify for `make_charset'.
3085 (Fmake_reverse_direction_charset): Likewise.
3086 (complex_vars_of_mule_charset): Likewise.
3088 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3090 * text-coding.c (char_encode_shift_jis): Use table
3091 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3093 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3095 * text-coding.c (text_encode_generic): Use `if' instead of
3097 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3100 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3102 * text-coding.c (encode_coding_sjis): Deleted.
3103 (char_encode_shift_jis): New function.
3104 (char_finish_shift_jis): New function.
3105 (reset_encoding_stream): Set up `encode_char' and `finish' for
3106 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3107 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3108 (char_encode_utf8): Treat `eol_type'.
3110 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3112 * file-coding.c (decode_coding_iso2022): Use
3113 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3115 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3117 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3120 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3122 * char-lb.h (CHAR_COLUMNS): New macro.
3124 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3126 * text-coding.c (char_encode_ucs4): New function.
3127 (char_finish_ucs4): New function.
3128 (encode_coding_ucs4): Deleted.
3129 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3130 (text_encode_generic): Delete local variable `charset' and `half'.
3131 (ucs_to_mule_table): Deleted.
3132 (mule_to_ucs_table): Deleted.
3133 (Fset_ucs_char): Deleted.
3134 (ucs_to_char): Deleted.
3135 (Fucs_char): Deleted.
3136 (Fset_char_ucs): Deleted.
3137 (Fchar_ucs): Deleted.
3138 (decode_ucs4): Deleted.
3139 (mule_char_to_ucs4): Deleted.
3140 (encode_ucs4): Deleted.
3141 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3142 (decode_coding_utf8): Likewise.
3143 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3144 (char_encode_iso2022): Fixed.
3145 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3146 `Fset_char_ucs' and `Fchar_ucs'.
3147 (complex_vars_of_file_coding): Don't initialize
3148 `ucs_to_mule_table'.
3150 * objects-tty.c (tty_initialize_font_instance): Don't use
3153 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
3156 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
3157 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3159 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
3160 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3161 (emchar_string_displayed_columns): Likewise.
3163 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
3164 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3165 (string_column_at_point): Likewise.
3166 (Fmove_to_column): Likewise.
3168 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
3169 `encoding_table' and `decoding_table'.
3170 (CHARSET_REP_BYTES): Deleted.
3171 (XCHARSET_REP_BYTES): Deleted.
3172 (XCHARSET_COLUMNS): Deleted.
3173 (CHAR_COLUMNS): New macro.
3174 (lookup_composite_char): Deleted unconditionally.
3175 (composite_char_string): Likewise.
3177 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3179 * char-ucs.h (Emchar_to_byte_table): New type.
3180 (get_byte_from_character_table): New function interface.
3181 (Vcharset_latin_jisx0201): New variable.
3182 (latin_jisx0201_to_ucs): New variable.
3183 (ucs_to_latin_jisx0201): New variable.
3184 (Vcharset_latin_iso8859_2): New variable.
3185 (latin_iso8859_2_to_ucs): New variable.
3186 (ucs_to_latin_iso8859_2): New variable.
3187 (Vcharset_latin_iso8859_3): New variable.
3188 (latin_iso8859_3_to_ucs): New variable.
3189 (ucs_to_latin_iso8859_3): New variable.
3190 (Vcharset_latin_iso8859_4): New variable.
3191 (latin_iso8859_4_to_ucs): New variable.
3192 (ucs_to_latin_iso8859_4): New variable.
3193 (Vcharset_latin_iso8859_9): New variable.
3194 (latin_iso8859_9_to_ucs): New variable.
3195 (ucs_to_latin_iso8859_9): New variable.
3196 (Vcharset_latin_viscii_lower): New variable.
3197 (latin_viscii_lower_to_ucs): New variable.
3198 (ucs_to_latin_viscii_lower): New variable.
3199 (Vcharset_latin_viscii_upper): New variable.
3200 (latin_viscii_upper_to_ucs): New variable.
3201 (ucs_to_latin_viscii_upper): New variable.
3202 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
3203 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
3204 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
3205 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
3206 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
3207 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
3208 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
3209 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
3210 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
3211 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
3213 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
3214 (Vcharset_latin_viscii_upper): New variable.
3215 (make_byte_from_character_table): New function.
3216 (put_byte_from_character_table): New function.
3217 (get_byte_from_character_table): New function.
3218 (CHAR96): New macro.
3219 (ucs_to_latin_jisx0201): New variable.
3220 (latin_jisx0201_to_ucs): New variable.
3221 (ucs_to_latin_iso8859_2): New variable.
3222 (latin_iso8859_2_to_ucs): New variable.
3223 (ucs_to_latin_iso8859_3): New variable.
3224 (latin_iso8859_3_to_ucs): New variable.
3225 (ucs_to_latin_iso8859_4): New variable.
3226 (latin_iso8859_4_to_ucs): New variable.
3227 (ucs_to_latin_iso8859_9): New variable.
3228 (latin_iso8859_9_to_ucs): New variable.
3229 (ucs_to_latin_viscii_lower): New variable.
3230 (latin_viscii_lower_to_ucs): New variable.
3231 (ucs_to_latin_viscii_upper): New variable.
3232 (latin_viscii_upper_to_ucs): New variable.
3233 (ucs_to_latin_tcvn5712): New variable.
3234 (latin_tcvn5712_to_ucs): New variable.
3235 (Qlatin_viscii_lower): New variable.
3236 (Qlatin_viscii_upper): New variable.
3237 (syms_of_mule_charset): Set up new symbol
3238 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
3239 (complex_vars_of_mule_charset): Set up new charset
3240 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
3241 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
3242 `ucs_to_<CHARSET>' tables.
3244 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3246 * text-coding.c: New file.
3248 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3250 * mule-charset.c (Fmake_char): Fix problem of 256-set.
3252 * char-ucs.h (Vcharset_ucs_bmp): New variable.
3253 (MAKE_CHAR): Modify for `ucs-bmp'.
3254 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
3255 non-MULE characters of BMP.
3257 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
3259 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3262 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
3265 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
3266 - Include character.h for `CHAR_ASCII_P'.
3268 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
3270 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
3271 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
3273 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
3274 (BYTE_C0_P): Likewise.
3275 (BYTE_C1_P): Likewise.
3276 (Lstream_get_emchar_1): Likewise.
3277 (Lstream_fput_emchar): Likewise.
3278 (Lstream_funget_emchar): Likewise.
3279 (copy_internal_to_external): Likewise.
3280 (copy_external_to_internal): Likewise.
3282 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
3283 (BYTE_C0_P): Likewise.
3284 (BYTE_C1_P): Likewise.
3285 (Lstream_get_emchar_1): Likewise.
3286 (Lstream_fput_emchar): Likewise.
3287 (Lstream_funget_emchar): Likewise.
3288 (copy_internal_to_external): Likewise.
3289 (copy_external_to_internal): Likewise.
3291 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
3292 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3294 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
3295 (BYTE_ASCII_P): Moved to mb-1byte.h.
3297 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
3299 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
3301 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
3302 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
3303 (VALID_CHARPTR_P): Moved to mb-*byte.h.
3304 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3305 (VALIDATE_CHARPTR_FORWARD): Likewise.
3306 (simple_charptr_emchar): Moved to mb-multibyte.h.
3307 (simple_set_charptr_emchar): Likewise.
3308 (simple_charptr_copy_char): Likewise.
3309 (non_ascii_charptr_emchar): Likewise.
3310 (non_ascii_set_charptr_emchar): Likewise.
3311 (non_ascii_charptr_copy_char): Likewise.
3312 (charptr_emchar): Moved to mb-*byte.h.
3313 (set_charptr_emchar): Likewise.
3314 (charptr_copy_char): Likewise.
3316 * mb-1byte.h, mb-multibyte.h: New files.
3318 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3320 * mb-utf-8.h (MULTIBYTE): New macro.
3321 (MAX_EMCHAR_LEN): Moved from buffer.h.
3322 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
3324 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
3326 * mb-lb.h, multibyte.h: New files.
3328 * char-1byte.h (Charset_ID): Moved from buffer.h.
3329 (MIN_LEADING_BYTE): Likewise.
3330 (LEADING_BYTE_ASCII): Likewise.
3331 (NUM_LEADING_BYTES): Likewise.
3332 (CHARSETP): Likewise.
3333 (CHARSET_BY_LEADING_BYTE): Likewise.
3334 (XCHARSET_LEADING_BYTE): Likewise.
3335 (XCHARSET_GRAPHIC): Likewise.
3336 (XCHARSET_COLUMNS): Likewise.
3337 (XCHARSET_DIMENSION): Likewise.
3338 (CHAR_CHARSET): Likewise.
3339 (CHAR_LEADING_BYTE): Likewise.
3340 (BREAKUP_CHAR): Likewise.
3341 (Vcharset_ascii): Likewise.
3343 * buffer.h: Include multibyte.h unconditionally.
3344 (VALID_CHARPTR_P): Moved to multibyte.h.
3345 (ASSERT_VALID_CHARPTR): Likewise.
3346 (REAL_INC_CHARPTR): Likewise.
3347 (REAL_INC_CHARBYTIND): Likewise.
3348 (REAL_DEC_CHARPTR): Likewise.
3349 (INC_CHARPTR): Likewise.
3350 (INC_CHARBYTIND): Likewise.
3351 (DEC_CHARPTR): Likewise.
3352 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3353 (VALIDATE_CHARPTR_FORWARD): Likewise.
3354 (charptr_n_addr): Likewise.
3355 (MAX_EMCHAR_LEN): Moved to mb-*.h.
3356 (simple_charptr_emchar): Moved to multibyte.h.
3357 (simple_set_charptr_emchar): Likewise.
3358 (simple_charptr_copy_char): Likewise.
3359 (non_ascii_charptr_emchar): Likewise.
3360 (non_ascii_set_charptr_emchar): Likewise.
3361 (non_ascii_charptr_copy_char): Likewise.
3362 (charptr_emchar): Likewise.
3363 (set_charptr_emchar): Likewise.
3364 (charptr_copy_char): Likewise.
3365 (charptr_emchar_n): Likewise.
3366 (Charset_ID): Moved to char-1byte.h.
3367 (Vcharset_ascii): Likewise.
3368 (CHAR_CHARSET): Likewise.
3369 (CHAR_LEADING_BYTE): Likewise.
3370 (LEADING_BYTE_ASCII): Likewise.
3371 (NUM_LEADING_BYTES): Likewise.
3372 (MIN_LEADING_BYTE): Likewise.
3373 (CHARSETP): Likewise.
3374 (CHARSET_BY_LEADING_BYTE): Likewise.
3375 (XCHARSET_LEADING_BYTE): Likewise.
3376 (XCHARSET_GRAPHIC): Likewise.
3377 (XCHARSET_COLUMNS): Likewise.
3378 (XCHARSET_DIMENSION): Likewise.
3379 (BREAKUP_CHAR): Likewise.
3381 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3383 * character.h: Add document about interface for characters.
3385 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
3386 (MAKE_CHAR): Delete comment about
3387 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
3388 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
3389 (BREAKUP_CHAR): Modify name of arguments.
3390 (CHAR_CHARSET): Modify name of argument.
3392 * buffer.h: Delete document about Emchar accessors.
3394 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3396 * character.h (CHAR_INTP): Moved from buffer.h
3397 (CHAR_OR_CHAR_INTP): Likewise.
3398 (XCHAR_OR_CHAR_INT): Likewise.
3399 (CHECK_CHAR_COERCE_INT): Likewise.
3401 * buffer.h (CHAR_INTP): Moved to character.h
3402 (CHAR_OR_CHAR_INTP): Likewise.
3403 (XCHAR_OR_CHAR_INT): Likewise.
3404 (CHECK_CHAR_COERCE_INT): Likewise.
3406 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3409 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
3410 - Include char-1byte.h, char-lb.h or char-ucs.h.
3412 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
3414 * buffer.h: Include character unconditionally.
3415 (valid_char_p): Moved to char-*.h.
3416 (non_ascii_valid_char_p): Moved to char-lb.h.
3418 * char-1byte.h, char-lb.h, char-ucs.h: New files.
3420 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3422 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
3423 in UTF-2000 because it is not ported yet and not to use
3424 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
3425 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
3426 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
3428 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
3429 (CHAR_ASCII_P): Moved from character.h.
3431 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
3432 (CHAR_ASCII_P): Likewise.
3433 (CHAR_FIELD1_MASK): Deleted.
3434 (CHAR_FIELD2_MASK): Deleted.
3435 (CHAR_FIELD3_MASK): Deleted.
3436 (MAX_CHAR_BASIC_LATIN): New macro.
3437 (CHAR_FIELD1): Deleted.
3438 (CHAR_FIELD2_INTERNAL): Deleted.
3439 (CHAR_FIELD3_INTERNAL): Deleted.
3440 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
3441 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
3442 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
3443 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
3444 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
3445 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
3446 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
3447 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
3448 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
3449 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
3450 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
3451 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
3452 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
3453 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
3454 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
3455 (MIN_CHAR_COMPOSITION): Deleted.
3456 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
3457 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
3459 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
3461 * buffer.h: Include mb-utf-8.h in UTF-2000.
3463 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
3465 * mb-utf-8.h: New file.
3467 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
3469 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
3472 * mule-charset.h, buffer.h (Charset_ID): New type.
3474 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3476 * mule-canna.c (c2mu): Use `MAKE_CHAR',
3477 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
3478 instead of `MULE_CHAR_PRIVATE_OFFSET',
3479 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
3480 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
3481 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
3483 * character.h (Vcharset_japanese_jisx0212): New variable
3486 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3488 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
3489 (charset_by_attributes): Delete array about direction.
3490 (latin_a_char_to_charset): New variable in UTF-2000.
3491 (latin_a_char_to_byte1): New variable in UTF-2000.
3492 (latin_a_char_to_byte2): New variable in UTF-2000.
3493 (Qucs_bmp): New variable.
3494 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
3496 (next_allocated_2_byte_leading_byte): Likewise.
3497 (non_ascii_set_charptr_emchar): Likewise.
3498 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
3499 `CHARSET_TYPE_256X256' in UTF-2000; modify for
3500 `charset_by_attributes'.
3501 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
3502 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
3503 and `CHARSET_BY_LEADING_BYTE'.
3504 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
3505 `utf-2000-version' to `vars_of_mule_charset'.
3506 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
3507 define `leading-code-private-11' in UTF-2000; move setting of
3508 `utf-2000-version' from `syms_of_mule_charset'.
3509 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
3512 * character.h (Charset_ID): New type.
3513 (LEADING_BYTE_UCS_BMP): New macro.
3514 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
3515 (CHARSET_ID_OFFSET_94): New macro.
3516 (MIN_CHARSET_ID_PRIVATE_94): New macro.
3517 (MAX_CHARSET_ID_PRIVATE_94): New macro.
3518 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
3520 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
3521 (LEADING_BYTE_LATIN_JISX0201): Likewise.
3522 (CHARSET_ID_OFFSET_96): New macro.
3523 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
3524 CHARSET_ID_OFFSET_96 and final-byte.
3525 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
3526 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
3527 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
3528 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
3529 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
3530 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
3531 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
3532 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
3533 (LEADING_BYTE_THAI_TIS620): Likewise.
3534 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
3535 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
3536 (CHARSET_ID_OFFSET_94x94): New macro.
3537 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
3538 CHARSET_ID_OFFSET_94x94 and final-byte.
3539 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
3540 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
3541 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
3542 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
3543 (LEADING_BYTE_CHINESE_GB2312): Likewise.
3544 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
3545 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
3546 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
3547 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
3548 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
3549 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
3550 (CHARSET_TYPE_128X128): New macro.
3551 (CHARSET_TYPE_256X256): New macro.
3552 (XCHARSET_PRIVATE_P): Delete unconditionally.
3553 (charset_by_attributes): Delete array about direction.
3554 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
3555 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
3556 (MIN_CHAR_94): New macro.
3557 (MAX_CHAR_94): New macro.
3558 (MIN_CHAR_96): New macro.
3559 (MAX_CHAR_96): New macro.
3560 (MIN_CHAR_94x94): New macro.
3561 (MAX_CHAR_94x94): New macro.
3562 (MIN_CHAR_96x96): New macro.
3563 (MAX_CHAR_96x96): New macro.
3564 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
3565 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3566 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
3568 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
3569 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
3570 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
3571 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
3572 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
3573 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
3574 `XCHARSET_LEADING_BYTE' to make code-point.
3575 (latin_a_char_to_charset): New variable.
3576 (latin_a_char_to_byte1): New variable.
3577 (latin_a_char_to_byte2): New variable.
3578 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
3579 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
3580 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
3582 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
3583 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
3584 (find_charsets_in_emchar_string): Likewise.
3585 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
3587 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
3589 (decode_coding_iso2022): Likewise.
3591 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
3594 * redisplay.c (redisplay_text_width_emchar_string): Use
3595 `Charset_ID' instead of `unsigned char'.
3596 (redisplay_frame_text_width_string): Likewise.
3598 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
3601 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
3602 instead of `unsigned char'.
3603 (face_cachel_charset_font_metric_info): Likewise.
3605 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
3606 (get_non_ascii_char_table_value): Likewise.
3607 (get_char_table): Likewise.
3608 (put_char_table): Likewise.
3609 (map_over_other_charset): Likewise.
3610 (map_char_table): Likewise.
3612 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
3613 instead of `unsigned char'.
3615 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
3617 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
3618 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
3620 * mule-charset.c (leading_code_private_11): Don't define in
3623 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
3624 in UTF-2000 because it is not ported yet and not to use
3625 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
3627 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
3629 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
3631 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3633 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
3636 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
3637 of unsigned char to store leading-byte.
3639 * chartab.c (get_non_ascii_char_table_value): Don't use
3640 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
3642 * file-coding.c (encode_coding_big5): Delete bogus implementation
3645 * character.h (LEADING_BYTE_*): Delete definition for
3647 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
3648 (LEADING_BYTE_PREFIX_P): Deleted.
3649 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
3650 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
3651 (BUFBYTE_LEADING_BYTE_P): Deleted.
3652 (CHARSET_PRIVATE_P): Deleted unconditionally.
3653 (rep_bytes_by_first_byte): Deleted unconditionally.
3654 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
3655 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
3656 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3657 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
3658 (CHAR_FIELD2): Deleted.
3659 (CHAR_FIELD3): Deleted.
3660 (MAKE_CHAR): Delete definition for non-UTF-2000.
3661 (BREAKUP_CHAR_1_UNSAFE): Deleted.
3662 (breakup_char_1): New implementation.
3663 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
3664 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
3666 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3668 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
3671 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3673 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
3674 (CHARSET_PRIVATE_P): Likewise.
3675 (XCHARSET_PRIVATE_P): Likewise.
3676 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
3678 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
3680 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
3682 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3684 * character.h (LEADING_BYTE_*): Changed in UTF2000.
3685 (NUM_LEADING_BYTES): Changed from 128 to 256.
3686 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3687 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
3689 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3691 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
3693 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
3694 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
3695 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
3696 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
3697 (Qchinese_cns11643_3): New variable in UTF2000.
3698 (Qchinese_cns11643_4): New variable in UTF2000.
3699 (Qchinese_cns11643_5): New variable in UTF2000.
3700 (Qchinese_cns11643_6): New variable in UTF2000.
3701 (Qchinese_cns11643_7): New variable in UTF2000.
3702 (syms_of_mule_charset): Define `chinese-cns11643-3',
3703 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3704 and `chinese-cns11643-7' in UTF2000.
3705 (vars_of_mule_charset): Initialize
3706 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
3708 (complex_vars_of_mule_charset): Setup charset
3709 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
3710 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
3712 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3714 * mule-charset.c: Move setting for `leading-code-private-11' from
3715 `syms_of_mule_charset' to `vars_of_mule_charset'.
3717 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3719 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
3720 and `NUM_LEADING_BYTES' in assert.
3722 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3724 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
3726 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
3727 `NUM_LEADING_BYTES' instead of 128.
3729 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3731 * mule-charset.h (charset_by_leading_byte): Use
3732 `NUM_LEADING_BYTES' instead of 128.
3733 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
3735 * mule-charset.c (charset_by_leading_byte): Use
3736 `NUM_LEADING_BYTES' instead of 128.
3737 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
3739 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
3742 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3744 * mule-charset.c (syms_of_mule_charset): Update to
3747 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
3749 * file-coding.c (encode_coding_sjis): New implementation for
3750 UTF2000. (decode_coding_sjis): Ditto.
3752 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3754 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
3755 Don't define in UTF2000.
3757 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
3760 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3761 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
3764 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3766 * config.h.in (CHAR_IS_UCS4): New macro.
3768 * mule-charset.c (rep_bytes_by_first_byte): Modify for
3769 conventional MULE representation.
3770 (syms_of_mule_charset): Update to 0.3 (Imamiya).
3772 * mule-charset.h: Reverted to original.
3774 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3775 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
3776 "mule-charset.h" if CHAR_IS_UCS4 is defined.
3778 * character.h: New file.
3780 * file-coding.c (Fmake_coding_system): Set 1 to
3781 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
3783 (encode_coding_no_conversion): New implementation for UTF2000.
3785 * file-coding.h (struct Lisp_Coding_System): Add new member
3788 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
3790 * file-coding.c (decode_coding_iso2022): Code-point arguments of
3791 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
3792 (encode_coding_iso2022): New implementation for UTF2000.
3794 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3796 * mule-canna.c (c2mu): New implementation for UTF2000.
3799 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3801 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
3803 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3805 * file-coding.c (reset_encoding_stream): Set 0 to
3806 `str->iso2022.current_char_boundary' in UTF2000.
3807 (encode_utf8): Don't define in UTF2000.
3808 (encode_coding_utf8): New implementation for UTF-8 representation
3810 (complex_vars_of_file_coding): Define coding-system `utf-8'.
3812 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3814 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
3816 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
3818 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3820 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
3822 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
3823 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
3824 as UTF-8 in UTF2000.
3825 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
3826 (non_ascii_valid_char_p): Don't define in UTF2000.
3827 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
3828 (Lstream_get_emchar_1): Likewise.
3829 (utf-2000-version): New variable in UTF2000.
3831 * lread.c (read_escape): Add new reader `u'.
3833 * insdel.c (three_to_one_table): Don't define in UTF2000.
3834 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
3835 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3837 (bytind_to_bufpos_func): Likewise.
3838 (buffer_mule_signal_inserted_region): Likewise.
3839 (vars_of_insdel): Don't initialize `three_to_one_table'.
3840 (init_buffer_text): Use `buf->text->mule_size' instead of
3841 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3844 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
3845 UTF-8 representation in UTF2000.
3846 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
3847 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
3848 (decode_coding_iso2022): Don't define local variable `lb' in
3849 UTF2000; don't use LEADING_BYTE in UTF2000; use
3850 `DECODE_ADD_UCS_CHAR' in UTF2000.
3851 (convert_to_external_format): Decode as UTF-8 in UTF2000.
3853 * config.h.in (UTF2000): New macro.
3855 * buffer.h (struct buffer_text): Add new member `mule_size' and
3856 don't add `mule_shifter' and `mule_three_p' in UTF2000.
3857 (valid_char_p): Return always 1 in UTF2000.
3858 (MAX_EMCHAR_LEN): 6 in UTF2000.
3859 (three_to_one_table): Don't define in UTF2000.
3860 (real_bufpos_to_bytind): Modify for UTF-8 representation in
3862 (real_bytind_to_bufpos): Likewise.
3864 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
3866 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3868 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
3869 representation change.
3870 (Vutf_2000_version): New variable.
3871 (leading_code_private_11): New variable.
3872 (syms_of_mule_charset): Add new variables `utf-2000-version' and
3873 `leading-code-private-11'.
3875 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
3876 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
3877 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
3878 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
3879 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
3880 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
3881 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
3882 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
3883 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
3884 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
3885 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
3886 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
3887 (MIN_CHAR_GREEK): New macro.
3888 (MAX_CHAR_GREEK): New macro.
3889 (MIN_CHAR_CYRILLIC): New macro.
3890 (MAX_CHAR_CYRILLIC): New macro.
3891 (MIN_CHAR_HEBREW): New macro.
3892 (MAX_CHAR_HEBREW): New macro.
3893 (MIN_CHAR_THAI): New macro.
3894 (MAX_CHAR_THAI): New macro.
3895 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
3896 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
3897 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
3898 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
3899 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
3900 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
3901 (CHAR_FIELD2): New inline function.
3902 (CHAR_FIELD3): New inline function.
3903 (MULE_CHAR_PRIVATE_OFFSET): New macro.
3904 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
3905 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
3906 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
3907 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
3908 (MIN_CHAR_COMPOSITION): Likewise.
3909 (CHAR_LEADING_BYTE): Modified for character representation change.
3910 (MAKE_CHAR): Likewise.
3912 * lisp.h (Vcharset_latin_iso8859_1): New variable.
3913 (Vcharset_greek_iso8859_7): Likewise.
3914 (Vcharset_cyrillic_iso8859_5): Likewise.
3915 (Vcharset_hebrew_iso8859_8): Likewise.
3916 (Vcharset_thai_tis620): Likewise.
3917 (Vcharset_katakana_jisx0201): Likewise.
3919 2001-02-08 Martin Buchholz <martin@xemacs.org>
3921 * XEmacs 21.2.44 "Thalia" is released.
3923 2001-02-06 Martin Buchholz <martin@xemacs.org>
3925 Fixes crashes in kill-emacs on some systems.
3926 * process-unix.c (unix_kill_child_process):
3927 It's OK for kill() to fail with ESRCH.
3929 2001-02-07 Martin Buchholz <martin@xemacs.org>
3931 Contortions to make .gdbinit tricks work on most systems.
3932 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
3933 * alloc.c (dbg_valmask): Make non-const.
3934 * alloc.c (dbg_typemask): Make non-const.
3935 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
3936 * alloc.c (dbg_valbits): Make non-const.
3937 * alloc.c (dbg_gctypebits): Make non-const.
3938 * .gdbinit (decode_object): Make it work with AIX cc.
3940 2001-02-06 Martin Buchholz <martin@xemacs.org>
3942 * elhash.c (make_general_lisp_hash_table):
3943 Use simpler and more efficient calloc to clear entries.
3945 2001-02-07 Martin Buchholz <martin@xemacs.org>
3947 * window.c (window_scroll): Work around an AIX C compiler bug.
3948 Fixes 'scroll-up' does nothing problem with xlC.
3950 2001-02-05 Martin Buchholz <martin@xemacs.org>
3952 * .gdbinit: Remove obsolete comment.
3954 2001-01-31 Mike Alexander <mta@arbortext.com>
3956 * select.c (Fown_selection_internal): Set owned_p for device
3959 2001-02-01 Martin Buchholz <martin@xemacs.org>
3962 "not" cannot be used as a macro name as it is an operator in C++
3963 * config.h.in: Stop #defining `not'.
3964 * chartab.c (check_category_char): not ==> not_p
3965 * chartab.h: Likewise.
3966 * regex.c (re_match_2_internal): Likewise.
3968 2001-02-02 Martin Buchholz <martin@xemacs.org>
3970 * lisp-disunion.h: Fix up comments.
3972 2001-01-31 Martin Buchholz <martin@xemacs.org>
3974 * keymap.c (define_key_check_and_coerce_keysym):
3976 Support mouse-6 and mouse-7 bindings in the obvious way.
3978 2001-02-01 Martin Buchholz <martin@xemacs.org>
3980 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
3982 2001-01-30 Martin Buchholz <martin@xemacs.org>
3984 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
3985 Previous patch missed DEFVAR_INT_MAGIC.
3986 Make sure future DEFVAR_foo use correct types.
3987 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
3988 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
3989 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
3990 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
3991 * (DEFVAR_INT): Likewise.
3992 * redisplay.c (vertical_clip): Should be of type Fixnum.
3993 * redisplay.c (horizontal_clip): Likewise.
3994 * lisp.h (dump_add_opaque_int): New.
3995 (dump_add_opaque_fixnum): New.
3997 2001-01-29 Andy Piper <andy@xemacs.org>
3999 * glyphs-widget.c (check_valid_int_or_function): allow symbols
4000 since they can be eval'ed
4002 2001-01-29 Martin Buchholz <martin@xemacs.org>
4004 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
4005 Oops, XEmacs redefines `class'. Use `typename' instead.
4007 2001-01-28 Martin Buchholz <martin@xemacs.org>
4009 * dumper.c: Fix C++ compile errors.
4011 2001-01-29 Martin Buchholz <martin@xemacs.org>
4013 * tparam.c: Use correct prototypes.
4015 2001-01-28 Martin Buchholz <martin@xemacs.org>
4017 * sysproc.h: #include util.h for NetBSD's openpty.
4019 2001-01-27 Martin Buchholz <martin@xemacs.org>
4021 More 64-bit correctness.
4022 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
4023 Use a typedef `fixnum' for the type used for DEFVAR_INT.
4025 This finally finishes the 64-bit SGI port.
4026 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
4027 * symbols.c: Fix up comments and type casts.
4028 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
4029 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
4030 * symeval.h (Fixnum): New type.
4031 * symeval.h (symbol_value_type): Fix up comment.
4047 * mule-canna.c: A million DEFVAR_INTs here...
4048 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
4061 s/int/Fixnum/g in DEFVAR_INT declarations.
4063 2001-01-26 Martin Buchholz <martin@xemacs.org>
4065 Port pdump to SGI alignment-sensitive environment.
4066 Lisp Object sizeof methods now return aligned sizes. Rely on that.
4067 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
4069 Define and use aligned reading and writing macros.
4070 Use buffered stdio instead of posix i/o for faster dumping.
4071 Eliminate kludgy 256 byte space for header.
4072 Read and write from dump file using structs for alignment safety.
4073 * dumper.c (pdump_align_stream): New.
4074 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
4075 * dumper.c (PDUMP_READ_ALIGNED): New.
4076 * dumper.c (PDUMP_WRITE_ALIGNED): New.
4077 * dumper.c (pdump_static_Lisp_Object): New struct.
4078 * dumper.c (pdump_static_pointer): New struct.
4079 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
4080 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
4081 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
4082 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
4084 * dumper.c (pdump_backtrace):
4085 * dumper.c (pdump_get_indirect_count):
4086 * dumper.c (pdump_register_object):
4087 * dumper.c (pdump_register_struct):
4088 * dumper.c (pdump_reloc_one):
4089 * dumper.c (pdump_scan_by_alignment):
4090 * dumper.c (pdump_dump_from_root_struct_ptrs):
4091 * dumper.c (pdump_dump_opaques):
4092 * dumper.c (pdump_dump_rtables):
4093 * dumper.c (pdump_dump_from_root_objects):
4095 * dumper.c (pdump_load_finish):
4096 Use aligned reading and writing.
4098 * dumper.c (pdump_free): Make static.
4099 * dumper.c (pdump_hFile): Likewise.
4100 * dumper.c (pdump_hMap): Likewise.
4102 2001-01-26 Martin Buchholz <martin@xemacs.org>
4104 * XEmacs 21.2.43 "Terspichore" is released.
4106 2001-01-25 Martin Buchholz <martin@xemacs.org>
4108 Type fiddling for window_config.saved_windows_count
4109 * window.c (struct window_config):
4110 Make saved_windows_count member unsigned.
4111 * window.c (sizeof_window_config_for_n_windows):
4112 Make parameter unsigned.
4113 * window.c (mark_window_config):
4114 * window.c (window_config_equal):
4115 * window.c (free_window_configuration):
4116 * window.c (Fset_window_configuration):
4117 * window.c (count_windows):
4118 * window.c (Fcurrent_window_configuration):
4119 * window.c (reinit_vars_of_window):
4120 Update all callers and users.
4122 2001-01-25 Martin Buchholz <martin@xemacs.org>
4124 Alignment correctness for flexible arrays.
4125 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
4126 Make alignment-correct. Add interesting comments.
4127 * alloc.c (size_vector):
4128 * alloc.c (make_vector_internal):
4129 * alloc.c (make_bit_vector_internal):
4130 * alloc.c (sweep_bit_vectors_1):
4131 * fns.c (size_bit_vector):
4132 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
4133 * window.c (sizeof_window_config_for_n_windows):
4134 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
4136 2001-01-24 Martin Buchholz <martin@xemacs.org>
4138 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
4140 2001-01-23 Andy Piper <andy@xemacs.org>
4142 * select.c (Fown_selection_internal): pass owned_p
4144 * select-msw.c (mswindows_own_selection): New Signature.
4146 * console.h (struct console_methods): add owned_p to
4149 * select-x.c (x_own_selection): pass owned_p
4150 (hack_motif_clipboard_selection): use owned_p
4151 (vars_of_select_x): new variable -
4152 x_selection_strict_motif_ownership.
4154 2001-01-23 Martin Buchholz <martin@xemacs.org>
4156 * specifier.h (specifier_data_offset): Remove pointless parens.
4157 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
4159 2001-01-24 Martin Buchholz <martin@xemacs.org>
4161 Make Lisp_Object sizeof methods be alignment-correct.
4162 pdump must restore objects to the same alignment as the C compiler
4163 assumes. It really matters on SGIs.
4164 * lstream.c (aligned_sizeof_lstream): New.
4165 (sizeof_lstream): Use aligned_sizeof_lstream.
4166 (Lstream_new): Likewise.
4167 * opaque.c (aligned_sizeof_opaque): New.
4168 (sizeof_opaque): Use aligned_sizeof_opaque.
4169 (make_opaque): Likewise.
4170 * specifier.c (aligned_sizeof_specifier): New.
4171 (sizeof_specifier): Use aligned_sizeof_specifier.
4172 (make_specifier_internal): Likewise.
4174 2001-01-23 Martin Buchholz <martin@xemacs.org>
4176 * lstream.h (struct lstream): Use max_align_t for trailing data.
4177 * specifier.h (struct Lisp_Specifier): Likewise.
4179 2001-01-22 Martin Buchholz <martin@xemacs.org>
4181 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
4182 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
4183 (CCL_SUSPEND): Likewise.
4184 (CCL_INVALID_CMD): Likewise.
4185 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
4186 (ccl_driver): Likewise.
4187 (CCL_WRITE_CHAR): Macro hygiene.
4188 (CCL_WRITE_STRING): Macro hygiene.
4190 2001-01-22 Martin Buchholz <martin@xemacs.org>
4192 Port "portable" dumper to SunOS 4 and HP-UX.
4193 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
4194 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
4195 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
4197 2001-01-22 Martin Buchholz <martin@xemacs.org>
4199 * lisp.h (ALIGNOF): A better definition for C++.
4201 2001-01-20 Martin Buchholz <martin@xemacs.org>
4204 Fix printf warnings: int format, long int arg.
4205 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
4206 (PUSH_FAILURE_POINT): Use correct printf formats.
4207 (POP_FAILURE_POINT): Use correct printf formats.
4208 Use do {...} while (0)
4210 2001-01-20 Martin Buchholz <martin@xemacs.org>
4212 * XEmacs 21.2.42 "Poseidon" is released.
4214 2001-01-20 Martin Buchholz <martin@xemacs.org>
4216 * console-x.h: typo fix du jour. Remove #if 0'ed code.
4218 2001-01-19 Martin Buchholz <martin@xemacs.org>
4220 De-kludgify FIXED_TYPE free list frobbing.
4221 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
4222 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
4223 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
4224 * alloc.c (Lisp_Free): New pseudo lisp object definition.
4225 * alloc.c (LRECORD_FREE_P): New.
4226 * alloc.c (MARK_LRECORD_AS_FREE): New.
4227 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
4228 * alloc.c (STRUCT_FREE_P): Deleted.
4229 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
4230 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
4231 * alloc.c (STRING_CHARS_FREE_P): New.
4232 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
4233 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
4234 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
4235 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
4236 * alloc.c (resize_string): Use new definitions.
4237 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
4238 * alloc.c (verify_string_chars_integrity): Use new definitions.
4239 * alloc.c (compact_string_chars): Use new definitions.
4240 * alloc.c: Update monster comments.
4241 * lrecord.h (lrecord_type): Add some new lrecord types for
4244 2001-01-18 Martin Buchholz <martin@xemacs.org>
4246 Improve alignment hackery.
4247 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
4248 (max_align_t): Moved from opaque.h - general purpose.
4249 (ALIGN_PTR): Use size_t, not long.
4250 * opaque.h (max_align_t): Move to lisp.h.
4252 2001-01-18 Norbert Koch <nk@LF.net>
4254 * gui.h: Fix and add prototypes to fix build problems.
4256 2001-01-18 Martin Buchholz <martin@xemacs.org>
4258 temacs is going away, so `dump-temacs' is now a bad name.
4259 * .dbxrc (dump-temacs): Rename to `dmp'.
4260 * .gdbinit (dump-temacs): Rename to `dmp'.
4262 2001-01-17 Andy Piper <andy@xemacs.org>
4264 * glyphs.c (print_image_instance): comment to make martin happy.
4266 * glyphs-x.c (x_redisplay_widget): update faces after a frame
4269 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
4271 (mswindows_tab_control_redisplay): warning suppression.
4273 * glyphs-widget.c (widget_update): re-write to cope with updated
4275 (widget_instantiate): use new gui_item functions.
4276 (tab_control_update): deleted.
4277 (progress_gauge_update): deleted.
4278 (image_instantiator_progress_guage): take out update reference.
4279 (image_instantiator_tree_view): ditto.
4280 (image_instantiator_tab_control): ditto.
4282 * gui.c (widget_gui_parse_item_keywords): new function. Do things
4284 (gui_item_add_keyval_pair): re-write to cope with descriptors and
4285 return whether anything was changed.
4286 (update_gui_item_keywords): as it sounds.
4288 * gui.h: declare widget_gui_parse_item_keywords.
4290 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
4291 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
4293 2001-01-17 Martin Buchholz <martin@xemacs.org>
4295 * XEmacs 21.2.41 "Polyhymnia" is released.
4297 2001-01-16 Didier Verna <didier@xemacs.org>
4299 * glyphs.c (image_instantiate): don't use fallbacks when
4300 instantiating a face's background pixmap by inheritance.
4302 2001-01-14 Mike Sperber <mike@xemacs.org>
4304 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
4305 Conditionalize accordingly.
4307 2001-01-16 Martin Buchholz <martin@xemacs.org>
4309 * dumper.c (pdump_file_get): Fix a compiler warning.
4311 2001-01-15 Martin Buchholz <martin@xemacs.org>
4313 Make Purify happy when pdumping.
4314 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
4315 iniitalizing all bits of new lisp object memory.
4316 * symbols.c (Fmake_local_variable): Likewise.
4317 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
4318 * symbols.c (Fdefvaralias): Likewise.
4319 * mule-charset.c (vars_of_mule_charset): Likewise.
4321 2001-01-15 Martin Buchholz <martin@xemacs.org>
4322 Add the `-nd' flag when running pre-dump operations under the debugger.
4323 * .dbxrc (run-temacs): Add `-nd'.
4324 * .dbxrc (update-elc): Likewise.
4325 * .dbxrc (dump-temacs): Likewise.
4326 * .gdbinit (run-temacs): Likewise.
4327 * .gdbinit (check-temacs): Likewise.
4328 * .gdbinit (update-elc): Likewise.
4329 * .gdbinit (dump-temacs): Likewise.
4331 2001-01-14 Martin Buchholz <martin@xemacs.org>
4333 Allow building 64-bit executables on AIX with GNU malloc, e.g.
4334 export OBJECT_MODE=64
4335 configure --pdump --use-union-type=no
4336 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
4337 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
4339 * miscplay.c (sndcnv8U_2mono):
4340 Avoid two uses of `++' in the same expression.
4341 Suppresses a GCC warning.
4343 2001-01-13 Martin Buchholz <martin@xemacs.org>
4345 Make sure future compilers don't miscompile alloc.c.
4347 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
4348 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
4350 2001-01-12 Martin Buchholz <martin@xemacs.org>
4352 * dumper.c: A little post-pdump-rename comment fixup.
4354 2001-01-09 Jerry James <james@eecs.ku.edu>
4356 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
4358 2001-01-13 Martin Buchholz <martin@xemacs.org>
4360 * *.[ch]: Globally rename symbols using the following `pdump-rename'
4364 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
4367 replace_symbol pdump_wire_lists pdump_weak_object_chains
4368 replace_symbol pdump_wire_list dump_add_weak_object_chain
4370 replace_symbol pdump_wires pdump_root_objects
4371 replace_symbol pdump_wire dump_add_root_object
4373 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
4374 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
4376 replace_symbol dumpstructinfos pdump_root_struct_ptrs
4377 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
4378 replace_symbol dumpstructinfo pdump_root_struct_ptr
4379 replace_symbol dumpstruct dump_add_root_struct_ptr
4381 replace_symbol dumpopaque dump_add_opaque
4382 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
4383 replace_symbol dumpopaqueinfos pdump_opaques
4384 replace_symbol dumpopaqueinfo pdump_opaque
4386 replace_symbol nb_structdump nb_root_struct_ptrs
4387 replace_symbol nb_opaquedump nb_opaques
4389 replace_symbol align_table pdump_align_table
4390 replace_symbol dump_header pdump_header
4392 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
4393 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
4396 2001-01-12 Martin Buchholz <martin@xemacs.org>
4398 * s/aix4.h: Keep the C for AIX compiler from overaggressively
4399 optimizing bytecount_to_charcount().
4401 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4404 (HAVE_DLFCN_H): Removed.
4405 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
4407 2001-01-06 Martin Buchholz <martin@xemacs.org>
4409 Portable dumper maintainability improvements.
4410 * alloc.c (staticpro):
4411 * alloc.c (staticpro_nodump):
4412 * alloc.c (garbage_collect_1):
4413 * alloc.c (reinit_alloc_once_early):
4414 * alloc.c (init_alloc_once_early):
4415 * alloc.c: Move dumper functions to alloc.c.
4416 * dumper.c (pdump_backtrace):
4417 * dumper.c (pdump_dump_structs):
4418 * dumper.c (pdump_dump_opaques):
4419 * dumper.c (pdump_dump_rtables):
4420 * dumper.c (pdump_dump_wired):
4422 * dumper.c (pdump_load_check):
4423 * dumper.c (pdump_load_finish):
4424 * dumper.c (pdump_file_unmap):
4425 * dumper.c (pdump_file_get):
4426 * dumper.c (pdump_resource_free):
4427 * dumper.c (pdump_resource_get):
4428 * dumper.c (pdump_file_free):
4429 * dumper.c (pdump_file_try):
4430 * dumper.c (pdump_load):
4431 Remove fixed size limits on staticpro(), staticpro_nodump(),
4432 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
4433 Remove custom code for dumping lrecord_implementations_table - use
4435 Remove (most of the) custom code for dumping staticpros - dump it
4436 like any other dynarr.
4438 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
4439 * dumper.c: Moved functions from alloc.c.
4440 * alloc.c (dumpstruct): Moved to dumper.c.
4441 * alloc.c (dumpopaque): Likewise.
4442 * alloc.c (pdump_wire): Likewise.
4443 * alloc.c (pdump_wire_list): Likewise.
4445 * lisp.h (Dynarr_sizeof): New.
4446 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
4447 * lisp.h (Dynarr_end): New. Very slightly C++oid.
4448 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
4450 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
4451 * lisp.h (dumpopaque): ditto.
4452 * lisp.h (pdump_wire): ditto.
4453 * lisp.h (pdump_wire_list): ditto.
4455 2001-01-09 Martin Buchholz <martin@xemacs.org>
4457 * make-src-depend (PrintPatternDeps):
4458 Use `sort' to make output independent of perl version.
4460 2001-01-08 Martin Buchholz <martin@xemacs.org>
4463 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
4464 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
4466 2001-01-03 Didier Verna <didier@xemacs.org>
4468 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
4469 that `focus_frame' is alive before thinking of calling
4470 `redisplay_redraw_cursor' on it.
4472 2001-01-08 Martin Buchholz <martin@xemacs.org>
4474 * XEmacs 21.2.40 is released.
4476 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4478 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
4480 2001-01-06 Martin Buchholz <martin@xemacs.org>
4482 * alloc.c (dbg_valmask): Make const.
4483 * alloc.c (dbg_typemask): Make const.
4484 * alloc.c (dbg_USE_UNION_TYPE): Make const.
4485 * alloc.c (dbg_valbits): Make const.
4486 * alloc.c (dbg_gctypebits): Make const.
4488 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
4490 * redisplay-x.c (x_bevel_area):
4491 redisplay.h (struct rune):
4492 Typo fixes in comments.
4494 2001-01-05 Andy Piper <andy@xemacs.org>
4496 * glyphs-x.c (x_redisplay_widget): use size changed for offset
4499 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
4501 2001-01-05 Martin Buchholz <martin@xemacs.org>
4503 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
4505 * mule-ccl.c (stack_idx_of_map_multiple):
4506 Non const global data must not be initialized!
4507 Found by MIYASHITA Hisashi.
4509 2001-01-02 Andy Piper <andy@xemacs.org>
4511 * frame.c (change_frame_size): make sure frame size is always
4514 * glyphs.c (image_instance_layout): minor code reuse.
4516 * window.c (Fcurrent_window_configuration): revert previous
4519 2001-01-02 Martin Buchholz <martin@xemacs.org>
4522 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
4524 2000-12-31 Andy Piper <andy@xemacs.org>
4526 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
4527 when widget gets unmapped.
4529 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
4530 function. Make sure widgets losing focus don't just drop it.
4531 (handle_focus_event_1): record the widget with focus.
4533 2000-12-31 Andy Piper <andy@xemacs.org>
4535 * window.c (allocate_window): use
4536 make_image_instance_cache_hash_table.
4537 (make_dummy_parent): ditto.
4538 (Fset_window_configuration): ditto.
4540 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
4542 * glyphs.c (process_image_string_instantiator): use
4544 (get_image_instantiator_governing_domain): ditto.
4545 (normalize_image_instantiator): ditto.
4546 (instantiate_image_instantiator): ditto.
4547 (make_image_instance_1): ditto.
4548 (image_instantiate): ditto. Key on glyph *and* instantiator type.
4549 (instantiator_eq_equal): new function for use with instance hash
4551 (instantiator_eq_hash): ditto.
4552 (make_image_instance_cache_hash_table): create a suitable hash
4553 table for storing image instances.
4555 * elhash.h (hash_table_weakness): new internal weakness type
4556 HASH_TABLE_KEY_CAR_VALUE_WEAK.
4557 declare new functions.
4559 * elhash.c (finish_marking_weak_hash_tables): introduce yet
4560 another weakness type for glyphs.
4561 (make_standard_lisp_hash_table): new function split out from
4562 make_general_lisp_hash_table.
4563 (make_lisp_hash_table): call make_standard_lisp_hash_table.
4564 (hash_table_instantiate): ditto.
4565 (Fmake_hash_table): ditto.
4567 2000-12-31 Martin Buchholz <martin@xemacs.org>
4569 * XEmacs 21.2.39 is released.
4571 2000-12-29 Andy Piper <andy@xemacs.org>
4573 * menubar.c (menubar_visible_p_changed): signal the frame changed.
4575 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
4576 the frame has changed so that we pick up geometry changes such as
4579 2000-12-28 Andy Piper <andy@xemacs.org>
4581 * lastfile.c (my_ebss): make a char array so we can pad the
4582 bss. Fixes cygwin unexec.
4584 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
4586 2000-12-26 Andy Piper <andy@xemacs.org>
4588 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
4589 comments and try and be more precise about a non-/SIGIO world.
4590 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
4593 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
4594 we don't normalize to zero width or height.
4596 2000-12-24 Andy Piper <andy@xemacs.org>
4598 * Makefile.in.in (ldflags): add -mwindows when appropriate.
4600 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
4602 * s/sco5.h: SCO 5 has pty support.
4604 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
4606 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
4607 input-method-xlib.c contains whole contents of input-method-xfs.c,
4608 so we can use input-method-xlib.c's code for USE_XFONTSET
4610 * input-method-xfs.c: removed.
4612 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
4614 * file-coding.h (enum coding_category_type): reorder enumerators to
4615 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
4616 (now one greater than largest real coding_category_type enumerator).
4617 * file-coding.c (coding_category_symbol, coding_category_by_priority,
4618 coding_category_system, fcd_descriptihon_1, decode_coding_category,
4619 Fcoding_category_list, Fset_coding_priority_list,
4620 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
4621 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
4623 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4625 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
4626 * redisplay-output.c (redisplay_output_window): Clear top of window
4627 when face is changed.
4628 * redisplay-x.c (x_redraw_exposed_window): Call
4629 redisplay_clear_top_of_window.
4630 * redisplay.h: Publish redisplay_clear_top_of_window.
4632 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4634 * buffer.c (Fkill_buffer): Map over all devices.
4635 * window.c (window_loop): Remove UNSHOW_BUFFER code.
4636 (list_windows): New function.
4637 (list_all_windows): Ditto.
4638 (Freplace_buffer_in_windows): Use them.
4640 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4642 * database.c (berkdb_subtype): Recognize new subtype `queue'.
4643 (Fopen_database): Use `db_create' instead of `db_open'.
4644 (syms_of_database): Initialize Qqueue.
4646 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
4648 * buffer.c (common_init_complex_vars_of_buffer): Initialize
4649 buffer_local_face_property.
4650 * buffer.h (struct buffer): New member buffer_local_face_property.
4651 * window.c (Fset_window_buffer): Mark window's face as changed
4652 when buffer has buffer local face.
4653 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
4654 * objects.c (color_after_change): Set buffer_local_face_property
4655 when locale of face specifier is buffer.
4656 * objects.c (font_after_change): Ditto.
4657 * objects.c (face_boolean_after_change): Ditto.
4658 * glyphs.c (image_after_change): Ditto.
4660 2000-12-09 Dan Holmsand <dan@eyebee.com>
4662 * nt.c (mswindows_fstat): Report file permissions, volume serial
4663 number, etc. Code adapted from FSF Emacs 20.7.
4665 2000-12-09 Dan Holmsand <dan@eyebee.com>
4667 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
4668 of stat when we don't have symbolic links, to make sure
4669 mswindows_stat is called on mswindows.
4671 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
4673 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
4675 2000-12-12 Martin Buchholz <martin@xemacs.org>
4677 * doprnt.c (emacs_doprnt_1): More printing fixes.
4678 Make printing of numbers compatible with libc and FSF Emacs.
4679 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
4680 Use the system printf to do most of the hard work of formatting,
4681 instead of doprnt_1().
4682 Calculate memory to allocate for format string.
4683 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
4684 (doprnt_1): Cleaner code and documentation.
4686 2000-12-01 Jerry James <james@eecs.ukans.edu>
4688 * Makefile.in.in: Use the loop variable to install headers.
4690 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4692 * window.c (Fsplit_window): Don't invalidate face cache.
4694 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4696 * minibuf.c (Fall_completions): Undo the previous change
4697 which removed checking elements start with space.
4699 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4701 * mule-canna.c: Didier suppression.
4703 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4705 * mule-canna.c: rename static unsigned char buf[] to key_buffer
4706 (warning suppression). Add English comment translations.
4708 2000-12-05 Martin Buchholz <martin@xemacs.org>
4710 * unexelfsgi.c (unexec): Better test for mmap failure.
4712 2000-12-05 Martin Buchholz <martin@xemacs.org>
4714 * XEmacs 21.2.38 is released.
4716 2000-12-05 Martin Buchholz <martin@xemacs.org>
4718 * redisplay.c (bar-cursor): Make a user variable.
4720 * symsinit.h: Add init_postgresql_from_environment.
4722 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4724 * regex.c: Convert to clean C.
4726 2000-12-05 Dan Holmsand <dan@eyebee.com>
4729 Don't #include sysfile.h. Revert to duplicating PATH_MAX
4731 (sys_readlink): renamed to system_readlink to avoid conflict with
4732 the other sys_readlink.
4734 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
4736 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
4738 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
4740 * postgresql.c (init_postgresql_from_environment): new function.
4741 (vars_of_postgresql): Move code initializing Lisp variables out and
4742 into init_postgresql_from_environment.
4743 emacs.c (main_1): Call init_postgresql_from_environment if and only
4744 if running a dumped XEmacs.
4746 2000-08-31 Dan Holmsand <dan@eyebee.com>
4748 * buffer.c: Make find-file-compare-truenames default to true on
4751 * realpath.c (win32_abs_start):
4753 (win32_readlink): New functions.
4754 (xrealpath): Return really real filenames on windows.
4756 * fileio.c (Ffile_truename): Make file-truename work on windows.
4758 2000-11-29 Didier Verna <didier@xemacs.org>
4760 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
4761 * faces.c (update_face_cachel_data): use it.
4762 * faces.c (add_face_cachel): use it. Complete background pixmap
4763 frobbing in face cache if `update_face_cachel_data' has not done so.
4765 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
4767 * search.c (string_match_1): Don't set last_thing_searched
4770 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
4772 * buffer.c: Include casetab.h
4773 (common_init_complex_vars_of_buffer): Use new case-table object.
4774 * buffer.h: Include casetab.h
4775 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
4776 (DOWNCASE_TABLE_OF): Ditto.
4777 * bufslots.h: Remove char-tables and add case-table.
4778 * casetab.c: Include casetab.h
4779 (CASE_TABLE_P): Removed.
4780 (mark_case_table): New function.
4781 (allocate_case_table): New function.
4782 (Fcase_table_p): Use new case-table.
4783 (case_table_char): New function.
4784 (Fget_case_table): Ditto.
4785 (Fput_case_table): Ditto.
4786 (Fput_case_table_pair): Ditto.
4787 (Fcopy_case_table): Ditto.
4788 (Fcurrent_case_table): Return case-table.
4789 (Fstandard_case_table): Return case-table.
4790 (Fset_case_table): Fix doc-string.
4791 (set_case_table): Use case-table
4792 (syms_of_casetab): DEFSUBR new functions.
4793 (complex_vars_of_casetab): Set up standard case-table.
4794 * casetab.h: New file.
4795 * editfns.c: Include casetab.h
4796 (Fcompare_buffer_substrings): Use case-table.
4797 * inline.c: Include casetab.h
4798 * lisp.h: Remove bogus extern.
4799 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
4800 * search.c: Include casetab.h
4801 (TRANSLATE_ASCII): Removed.
4802 (TRANSLATE): Unconditionally translate character.
4803 (looking_at_1): Use case-table.
4804 (string_match_1): Ditto.
4805 (fast_string_match): Ditto.
4806 (search_command): Ditto.
4807 (search_buffer): Separate boyer_moore. Check whether
4808 boyer_moore is possible.
4809 (simple_search): New function.
4810 (boyer_moore): Separated from search_buffer. Translate char.
4812 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
4814 * regex.c (RE_TR_ASCII): Removed.
4815 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
4816 (PATFETCH): Call PATFETCH_RAW.
4817 (PATFETCH_RAW): Fetch Emchar.
4818 (PATUNFETCH): Decrement charptr.
4819 (GET_BUFFER_SPACE): Rename b to buf_end.
4821 (BUF_PUSH_2): Ditto.
4822 (BUF_PUSH_3): Ditto.
4823 (EXTEND_BUFFER): Ditto.
4824 (SET_LIST_BIT): Ditto.
4825 (regex_compile): Ditto. Translate non ASCII char.
4826 (compile_range): Ditto.
4827 (re_search_2): Ditto.
4828 (re_match_2_internal): Compare Emchar.
4829 (bcmp_translate): Ditto.
4831 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
4833 * lisp.h (basic char/int typedefs): comment improvement.
4835 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
4837 * emacs.c (main_1): unconditional pdump unstomping; don't save and
4838 unstomp inhibit_site_lisp. Improve comments.
4840 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
4842 * mule-charset.c (Fcharset_property): improve type checking, comments.
4844 2000-11-28 Andy Piper <andy@xemacs.org>
4846 * redisplay-output.c (redisplay_output_subwindow): make sure we do
4847 clipped display for windows in the gutter also.
4848 (redisplay_display_boxes_in_window_p): change semantics of return
4849 codes to be more intuitive.
4851 * gutter.h: declare display_boxes_in_gutter_p.
4853 * gutter.c (display_boxes_in_gutter_p): new function for
4856 2000-11-22 Andy Piper <andy@xemacs.org>
4858 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
4861 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
4863 * callproc.c (Fold_call_process_internal):
4864 * gpm.c (Freceive_gpm_event):
4865 (tty_get_foreign_selection): Might be just warning supression.
4866 * fileio.c (Fwrite_region_internal):
4867 (Fset_visited_file_modtime):
4868 * keymap.c (event_matches_key_specifier_p):
4869 Initialize GCPROed variable.
4871 * menubar-x.c (command_builder_find_menu_accelerator):
4872 Initialize before use.
4874 2000-11-23 Andy Piper <andy@xemacs.org>
4876 * unexcw.c (unexec): make the resulting executable executable.
4878 2000-11-21 Martin Buchholz <martin@xemacs.org>
4880 * doc.c (get_doc_string):
4881 Use size_t, not int, for result of XSTRING_LENGTH.
4883 * cmds.c (Fdelete_char):
4884 * cmds.c (Fpoint_at_eol):
4885 * cmds.c (Fself_insert_command):
4886 Use EMACS_INT, not int, for result of XINT.
4887 Someday, someone will want to insert more than 2**31 identical characters.
4889 * cmds.c (Fdelete_char):
4890 * cmds.c (Fdelete_backward_char):
4891 * syntax.c (Fforward_word):
4892 * syntax.c (Fforward_comment):
4893 Make COUNT argument optional, for consistency with forward-char et al.
4895 2000-11-22 Martin Buchholz <martin@xemacs.org>
4898 * print.c (long_to_string):
4899 Return a useful value: the pointer at end of data written.
4902 Use `static const char * const' for constant strings.
4903 (union printf_arg): Delete `i', `ui' members.
4906 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
4907 Do all printf-ing via the `l' specifier.
4908 Use EMACS_INT instead of int.
4911 2000-11-20 Didier Verna <didier@xemacs.org>
4913 * faces.c (update_face_cachel_data): don't frob the background
4914 pixmap when the window is being created. The face is needed but
4917 2000-11-20 Andy Piper <andy@xemacs.org>
4919 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
4920 messing with a debug environment.
4922 2000-11-20 Martin Buchholz <martin@xemacs.org>
4924 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
4926 2000-11-20 Martin Buchholz <martin@xemacs.org>
4928 * casetab.c (Fcase_table_p): Fix compile error and crash.
4930 2000-11-18 Philip Aston <philipa@mail.com>
4932 * s/cygwin32.h: Cygwin has SVR4-like pty support.
4934 2000-11-18 Martin Buchholz <martin@xemacs.org>
4936 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
4937 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
4939 2000-11-17 Martin Buchholz <martin@xemacs.org>
4941 * config.h.in: Define HAVE_ELF_H if elf.h exists.
4942 * unexelf.c: Use HAVE_ELF_H.
4943 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
4944 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
4945 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
4946 Greg Harrington <greg_harrington@hotmail.com> provided a machine
4948 So this is an unexelfsgi.c from a different line of development.
4950 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
4952 * regex.c (RE_TR_ASCII): New function.
4953 (RE_TRANSLATE): Call it.
4955 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
4957 * buffer.h (TRT_TABLE_OF): Remove assert.
4958 (IN_TRT_TABLE_DOMAIN): Removed.
4960 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
4962 * free-hook.c (log_gcpro):
4963 (show_gcprohist): Add support for GCPRO5.
4965 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
4967 * emacs.c (main_1): Improve -sd error message when --pdump=no.
4969 2000-11-16 Olivier Galibert <galibert@xemacs.org>
4971 * symeval.h: Declare flush_all_buffer_local_cache.
4973 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
4974 (flush_buffer_local_cache): Added.
4975 (flush_all_buffer_local_cache): Added.
4977 * lrecord.h: Remove unused XD_LO_RESET_NIL.
4979 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
4980 (pdump_dump_data): Ditto.
4981 (pdump_reloc_one): Ditto.
4982 (pdump): Remove unused pdump_qnil. Flush buffer local caches
4986 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
4988 * buffer.c: Remove if 0'ed entry.
4989 * buffer.h: Rewrite TRT to use char-table.
4990 * bufslots.h: Remove mirror tables.
4991 * casetab.c: Remove mirror tables.
4992 (CASE_TABLE_P): New macro.
4993 (Fcase_table_p): Element of a case table is string or char-table.
4994 (make_mirror_trt_table): Removed.
4995 (set_case_table): Setup char-table from strings for backward
4997 * dired.c (Fdirectory_files):
4998 * dired-msw.c: (mswindows_get_files):
4999 * lisp.h: Change prototype of re_pattern_buffer.
5000 * regex.c: (RE_TRANSLATE): New macro.
5001 (TRANSLATE_P): Ditto.
5002 Change translate to type RE_TRANSLATE_TYPE.
5003 * regex.h: Define RE_TRANSLATE_TYPE
5004 * search.c (TRANSLATE): New macro.
5005 (TRANSLATE_ASCII): New macro.
5006 Translate table is changed to Lisp_Object.
5007 (signal_failure): Inhibit return.
5009 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5016 Do UNGCPRO before return.
5018 2000-11-14 Martin Buchholz <martin@xemacs.org>
5020 * XEmacs 21.2.37 is released.
5022 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
5024 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
5025 Add comments about discarded return value.
5027 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
5030 * event-stream.c: Fix comments. Remove some #if 0'ed part.
5032 2000-10-27 Andy Piper <andy@xemacs.org>
5034 * gutter.c (Fset_default_gutter_position): default left and right
5036 (calculate_gutter_size): calculate resonable heuristic for left
5037 and right gutter sizes.
5038 (specifier_vars_of_gutter): change left and right gutter sizes to
5040 (calculate_gutter_size_from_display_lines): new function.
5041 (output_gutter): check for resizing on left and right gutters.
5042 (clear_gutter): don't special case top and left gutters.
5043 (specifier_vars_of_gutter): use new signature for
5044 set_specifier_caching.
5046 * glyphs-x.c (x_redisplay_widget): spelling fix.
5047 * glyphs.c (specifier_vars_of_glyphs):
5048 * menubar.c (specifier_vars_of_menubar):
5049 * redisplay.c (specifier_vars_of_redisplay):
5050 * toolbar.c (specifier_vars_of_toolbar):
5051 * window.c (specifier_vars_of_window):
5052 * scrollbar.c (specifier_vars_of_scrollbar):
5053 (complex_vars_of_scrollbar): use new signature for
5054 set_specifier_caching.
5056 * specifier.c (set_specifier_caching): include recompute flag.
5057 (recompute_one_cached_specifier_in_window): always recompute if
5059 (recompute_one_cached_specifier_in_frame): ditto.
5061 * specifier.h (struct specifier_caching): add recompute flag.
5063 2000-10-24 Andy Piper <andy@xemacs.org>
5065 * unexcw.c (copy_executable_and_dump_data_section): add new
5066 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
5069 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5071 * console-x.h (x_device): New member modifier_release_time.
5072 * event-Xt.c (x_handle_sticky_modifiers):
5073 Bound interval modifier keys are sticky.
5074 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
5075 * events.h: extern it.
5077 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5079 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
5081 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5083 * event-stream.c (execute_command_event): Preserve current_events
5084 and the like when event is misc-user-event.
5085 Inhibit quit during the call to maybe_echo_keys.
5087 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
5089 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
5090 symlink when buffer is killed.
5091 (inhibit_clash_detection): New variable.
5093 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5095 * console.c (Fset_input_method): Trigger redisplay on tty.
5097 2000-11-07 Martin Buchholz <martin@xemacs.org>
5099 * process.c (Fprocess_status): Revert to previous behavior:
5100 (process-status "nosuchprocess") ==> nil
5102 2000-11-06 Martin Buchholz <martin@xemacs.org>
5104 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
5105 Work around another GCC 2.95.2 optimizer bug.
5107 2000-11-02 Martin Buchholz <martin@xemacs.org>
5109 * process.c (Fget_process): Use LIST_LOOP_2.
5110 (kill_buffer_processes): Use LIST_LOOP_2.
5112 * minibuf.c (Fall_completions):
5113 Delete old non-functional code for FSF fourth argument.
5115 * frame.c (frame_matches_frame_spec):
5116 Renamed from `frame_matches_frametype'. Update all callers.
5117 (device_matches_device_spec):
5118 Renamed from 'device_matches_console_spec'. Update all callers.
5120 * doc.c (Fsubstitute_command_keys):
5121 Remove buffer overflow crash. Small code cleanups.
5123 * casetab.c (check_case_table): Simpler code.
5125 * window.c (Freplace_buffer_in_windows):
5126 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
5127 (and similar implementation) as Fdelete_windows_on.
5130 * alloc.c (Fmake_list):
5131 * alloc.c (make_vector):
5132 * alloc.c (Fmake_vector):
5133 * alloc.c (make_bit_vector):
5134 * alloc.c (Fmake_bit_vector):
5135 * alloc.c (Fbit_vector):
5136 * alloc.c (Fmake_string):
5137 * alloc.c (Fpurecopy):
5138 * alloc.c (Fmemory_limit):
5140 * buffer.c (Fget_buffer):
5141 * buffer.c (Fkill_buffer):
5142 * buffer.c (complex_vars_of_buffer):
5143 * bytecode.c (Fcompiled_function_stack_depth):
5144 * callint.c (Fprefix_numeric_value):
5146 * event-stream.c (Fread_key_sequence):
5148 * casetab.c (Fcase_table_p):
5149 * casetab.c (check_case_table):
5150 * casetab.c (Fset_case_table):
5151 * casetab.c (Fset_standard_case_table):
5153 * chartab.c (Fchar_table_type):
5154 * chartab.c (Freset_char_table):
5155 * chartab.c (Fget_char_table):
5156 * chartab.c (Fget_range_char_table):
5157 * chartab.c (Fput_char_table):
5158 * chartab.c (Fmap_char_table):
5159 * chartab.c (Fcategory_table_p):
5160 * chartab.c (Fcheck_category_at):
5161 * chartab.c (Fchar_in_category_p):
5162 * chartab.c (Fcategory_table):
5163 * chartab.c (Fcopy_category_table):
5164 * chartab.c (Fset_category_table):
5165 * chartab.c (Fcategory_designator_p):
5166 * chartab.c (Fcategory_table_value_p):
5167 * cmds.c (Fdelete_char):
5168 * cmds.c (Fdelete_backward_char):
5169 * cmds.c (Fself_insert_command):
5170 * cmds.c (Fself_insert_internal):
5171 * console.c (Fvalid_console_type_p):
5172 * console.c (Fcdfw_console):
5173 * console.c (Fconsole_type):
5174 * console.c (Fconsole_name):
5175 * console.c (Fconsole_device_list):
5176 * console.c (Fconsole_on_window_system_p):
5180 * data.c (Fsubr_interactive):
5181 * data.c (Fchar_to_int):
5182 * data.c (Fint_to_char):
5185 * data.c (Fnumber_to_string):
5186 * data.c (Fstring_to_number):
5188 * database.c (mark_database):
5189 * database.c (finalize_database):
5190 * database.c (Fdatabase_live_p):
5191 * database.c (Fdatabasep):
5192 * device-x.c (Fx_get_resource):
5193 * device.c (Fdfw_device):
5195 * dired.c (Ffile_name_completion):
5196 * dired.c (Ffile_name_all_completions):
5197 * dired.c (Fuser_name_completion):
5198 * dired.c (Fuser_name_completion_1):
5199 * dired.c (Fuser_name_all_completions):
5200 * doc.c (Fdocumentation):
5201 * doc.c (Fdocumentation_property):
5202 * doc.c (Fsubstitute_command_keys):
5204 * editfns.c (Fchar_to_string):
5205 * editfns.c (Fstring_to_char):
5206 * editfns.c (Ftemp_directory):
5207 * editfns.c (Finsert_char):
5208 * editfns.c (Fbuffer_substring_no_properties):
5209 * editfns.c (Fnarrow_to_region):
5210 * editfns.c (Fchar_equal):
5211 * editfns.c (Fchar_Equal):
5212 * editfns.c (Ftranspose_regions):
5213 * emacs.c (Fdump_emacs):
5215 * eval.c (Fcommand_execute):
5216 * eval.c (Fautoload):
5217 * eval.c (Fbacktrace):
5218 * eval.c (Fbacktrace_frame):
5220 * events.c (Fcopy_event):
5221 * events.c (Fcharacter_to_event):
5222 * events.c (Fevent_button):
5223 * events.c (Fevent_process):
5225 * extents.c (Fnext_extent_change):
5226 * extents.c (Fextent_property):
5228 * faces.c (Fmake_face):
5230 * file-coding.c (Fencode_shift_jis_char):
5231 * file-coding.c (Fencode_big5_char):
5232 * fileio.c (Ffile_name_directory):
5233 * fileio.c (Ffile_name_nondirectory):
5234 * fileio.c (Ffile_name_as_directory):
5235 * fileio.c (Fdirectory_file_name):
5236 * fileio.c (Ffile_truename):
5237 * fileio.c (Fsubstitute_in_file_name):
5238 * fileio.c (Ffile_modes):
5239 * fileio.c (Fset_file_modes):
5240 * fileio.c (Fset_default_file_modes):
5241 * fileio.c (Fverify_visited_file_modtime):
5242 * floatfns.c (Facos):
5243 * floatfns.c (Fasin):
5244 * floatfns.c (Fatan):
5245 * floatfns.c (Fcos):
5246 * floatfns.c (Fsin):
5247 * floatfns.c (Ftan):
5248 * floatfns.c (Fbessel_j0):
5249 * floatfns.c (Fbessel_j1):
5250 * floatfns.c (Fbessel_jn):
5251 * floatfns.c (Fbessel_y0):
5252 * floatfns.c (Fbessel_y1):
5253 * floatfns.c (Fbessel_yn):
5254 * floatfns.c (Ferf):
5255 * floatfns.c (Ferfc):
5256 * floatfns.c (Flog_gamma):
5257 * floatfns.c (Fexp):
5258 * floatfns.c (Fexpt):
5259 * floatfns.c (Flog):
5260 * floatfns.c (Flog10):
5261 * floatfns.c (Fsqrt):
5262 * floatfns.c (Fcube_root):
5263 * floatfns.c (Facosh):
5264 * floatfns.c (Fasinh):
5265 * floatfns.c (Fatanh):
5266 * floatfns.c (Fcosh):
5267 * floatfns.c (Fsinh):
5268 * floatfns.c (Ftanh):
5269 * floatfns.c (Fabs):
5270 * floatfns.c (Ffloat):
5271 * floatfns.c (Flogb):
5272 * floatfns.c (Fceiling):
5273 * floatfns.c (Ffloor):
5274 * floatfns.c (Fround):
5275 * floatfns.c (Ftruncate):
5276 * floatfns.c (Ffceiling):
5277 * floatfns.c (Fffloor):
5278 * floatfns.c (Ffround):
5279 * floatfns.c (Fftruncate):
5280 * fns.c (Fstring_equal):
5281 * fns.c (Fstring_lessp):
5286 * fns.c (Fsubstring):
5288 * fns.c (Fold_assoc):
5289 * fns.c (assoc_no_quit):
5291 * fns.c (Fold_assq):
5292 * fns.c (assq_no_quit):
5294 * fns.c (Fold_rassoc):
5296 * fns.c (Fold_rassq):
5297 * fns.c (rassq_no_quit):
5298 * fns.c (Fremassoc):
5299 * fns.c (remassoc_no_quit):
5301 * fns.c (remassq_no_quit):
5302 * fns.c (Fremrassoc):
5303 * fns.c (Fremrassq):
5304 * fns.c (remrassq_no_quit):
5306 * fns.c (Fplist_get):
5307 * fns.c (Fplist_put):
5308 * fns.c (Fplist_remprop):
5309 * fns.c (Fplist_member):
5310 * fns.c (Flax_plist_get):
5311 * fns.c (Flax_plist_put):
5312 * fns.c (Flax_plist_remprop):
5313 * fns.c (Flax_plist_member):
5315 * fns.c (Fold_equal):
5317 * fns.c (Fbase64_encode_region):
5318 * fns.c (Fbase64_encode_string):
5319 * fns.c (Fbase64_decode_region):
5321 * frame.c (frame_matches_frame_spec):
5322 * frame.c (device_matches_device_spec):
5323 * frame.c (next_frame):
5324 * frame.c (previous_frame):
5325 * frame.c (Fnext_frame):
5326 * frame.c (Fprevious_frame):
5327 * frame.c (Fframe_property):
5328 * frame.c (Fset_frame_height):
5329 * frame.c (Fset_frame_size):
5333 * glyphs.c (decode_error_behavior_flag):
5334 * glyphs.c (Fmake_image_instance):
5335 * indent.c (Findent_to):
5336 * intl.c (Fignore_defer_gettext):
5337 * keymap.c (Fkeymapp):
5338 * keymap.c (Flookup_key):
5340 * lread.c (Fload_internal):
5341 * lread.c (Feval_buffer):
5342 * lread.c (Feval_region):
5343 * macros.c (Fexecute_kbd_macro):
5344 * marker.c (set_marker_internal):
5345 * marker.c (Fset_marker):
5346 * marker.c (set_marker_restricted):
5347 * marker.c (Fcopy_marker):
5348 * marker.c (noseeum_copy_marker):
5350 * menubar.c (Fpopup_menu):
5352 * mule-charset.c (Fcharset_name):
5353 * mule-charset.c (Fchar_charset):
5354 * mule-charset.c (Fchar_octet):
5355 * mule-charset.c (Fsplit_char):
5356 * mule-wnnfns.c (Fwnn_open):
5357 * mule-wnnfns.c (Fwnn_dict_comment):
5358 * mule-wnnfns.c (Fwnn_quit_henkan):
5359 * mule-wnnfns.c (Fwnn_word_toroku):
5360 * mule-wnnfns.c (Fwnn_word_sakujo):
5361 * mule-wnnfns.c (Fwnn_word_use):
5362 * mule-wnnfns.c (Fwnn_hindo_set):
5364 * objects.c (Fmake_color_instance):
5365 * objects.c (Fmake_font_instance):
5366 * print.c (Fwrite_char):
5368 * process.c (mark_process):
5369 * process.c (print_process):
5370 * process.c (get_process_from_usid):
5371 * process.c (Fprocessp):
5372 * process.c (Fprocess_live_p):
5373 * process.c (Fget_process):
5374 * process.c (Fget_buffer_process):
5375 * process.c (get_process):
5376 * process.c (Fprocess_id):
5377 * process.c (Fprocess_name):
5378 * process.c (Fprocess_command):
5379 * process.c (init_process_io_handles):
5380 * process.c (start_process_unwind):
5381 * process.c (Fstart_process_internal):
5382 * process.c (Fopen_multicast_group_internal):
5383 * process.c (Fset_process_window_size):
5384 * process.c (read_process_output):
5385 * process.c (send_process):
5386 * process.c (Fprocess_tty_name):
5387 * process.c (Fset_process_buffer):
5388 * process.c (Fprocess_buffer):
5389 * process.c (Fprocess_mark):
5390 * process.c (set_process_filter):
5391 * process.c (Fset_process_filter):
5392 * process.c (Fprocess_filter):
5393 * process.c (Fprocess_send_region):
5394 * process.c (Fprocess_send_string):
5395 * process.c (exec_sentinel):
5396 * process.c (Fset_process_sentinel):
5397 * process.c (Fprocess_sentinel):
5398 * process.c (status_notify):
5399 * process.c (Fprocess_status):
5400 * process.c (Fprocess_exit_status):
5401 * process.c (process_send_signal):
5402 * process.c (Fprocess_send_eof):
5403 * process.c (deactivate_process):
5404 * process.c (remove_process):
5405 * process.c (Fdelete_process):
5406 * process.c (kill_buffer_processes):
5407 * process.c (Fprocess_kill_without_query):
5408 * process.c (Fprocess_kill_without_query_p):
5410 * rangetab.c (Fget_range_table):
5411 * rangetab.c (Fput_range_table):
5412 * rangetab.c (Fremove_range_table):
5413 * rangetab.c (Fclear_range_table):
5415 * search.c (Fskip_chars_forward):
5416 * search.c (Fskip_chars_backward):
5417 * search.c (Fskip_syntax_forward):
5418 * search.c (Fskip_syntax_backward):
5419 * search.c (search_command):
5420 * search.c (Freplace_match):
5421 * search.c (Fregexp_quote):
5422 * select.c (Fown_selection_internal):
5423 * select.c (Fselection_owner_p):
5424 * select.c (Fselection_exists_p):
5425 * select.c (Fget_selection_internal):
5428 * symbols.c (Fintern):
5429 * symbols.c (Fintern_soft):
5430 * symbols.c (Funintern):
5431 * symbols.c (Fapropos_internal):
5432 * symbols.c (Fset_default):
5434 * syntax.c (Fsyntax_table_p):
5435 * syntax.c (Fcopy_syntax_table):
5436 * syntax.c (Fset_syntax_table):
5437 * syntax.c (Fchar_syntax):
5438 * syntax.c (syntax_match):
5439 * syntax.c (Fmatching_paren):
5440 * syntax.c (Fforward_word):
5441 * syntax.c (scan_lists):
5442 * syntax.c (Fscan_lists):
5443 * syntax.c (Fscan_sexps):
5444 * syntax.c (Fparse_partial_sexp):
5445 * toolbar.c (Fcheck_toolbar_button_syntax):
5448 * window.c (Fwindowp):
5449 * window.c (Fwindow_live_p):
5450 * window.c (Fwindow_point):
5451 * window.c (Fdelete_window):
5452 * window.c (Fnext_window):
5453 * window.c (Fprevious_window):
5454 * window.c (Fother_window):
5455 * window.c (window_loop):
5456 * window.c (Fget_lru_window):
5457 * window.c (Fsplit_window):
5458 * window.c (Fenlarge_window):
5459 * window.c (Fenlarge_window_pixels):
5460 * window.c (Fshrink_window):
5461 * window.c (Fshrink_window_pixels):
5462 * window.c (change_window_height):
5463 * window.c (Fwindow_configuration_p):
5464 * window.c (Fcurrent_window_configuration):
5466 * casefiddle.c (casify_object):
5467 * casefiddle.c (Fupcase):
5468 * casefiddle.c (Fdowncase):
5469 * casefiddle.c (Fcapitalize):
5470 * casefiddle.c (Fupcase_initials):
5471 * casefiddle.c (casify_region_internal):
5472 * casefiddle.c (casify_region):
5473 * casefiddle.c (Fupcase_region):
5474 * casefiddle.c (Fdowncase_region):
5475 * casefiddle.c (Fcapitalize_region):
5476 * casefiddle.c (Fupcase_initials_region):
5477 * casefiddle.c (Fupcase_word):
5478 * casefiddle.c (Fdowncase_word):
5479 * casefiddle.c (Fcapitalize_word):
5480 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
5481 Replace 0 with '\0' when working with bytes.
5482 Replace initial "(" with "\(" in docstrings.
5484 2000-11-01 Martin Buchholz <martin@xemacs.org>
5486 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
5488 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
5490 2000-10-31 Martin Buchholz <martin@xemacs.org>
5492 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
5494 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5496 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
5499 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5501 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
5502 (inhibit_auto_save_session): New variable.
5503 (vars_of_fileio): Declare and initialize them.
5504 * fileio.c (Fdo_auto_save): Don't create session file if
5505 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
5507 2000-10-31 Martin Buchholz <martin@xemacs.org>
5509 * sgiplay.c (play_internal): C++ compilability.
5510 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
5511 * callproc.c (Fold_call_process_internal):
5512 Remove unused vars `env', `first'.
5513 * scrollbar.c (update_scrollbar_instance):
5514 #### unused var `current_window'.
5515 * redisplay-tty.c: Put currently unused vars insert_mode_on,
5516 etc. within #ifdef NOT_YET.
5517 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
5518 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
5519 * specifier.c (specifier_instance):
5520 #### unused var `tag'.
5521 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
5523 2000-10-27 Martin Buchholz <martin@xemacs.org>
5526 * fns.c (list_sort):
5527 * fns.c (Ffillarray):
5528 * fns.c (bytecode_nconc2):
5531 * fns.c (Fmapconcat):
5532 Be pedantically 64-bit correct. For the time when someone will
5533 want to have a list with length > 2**32.
5535 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
5536 Work around MIPSpro compiler bug.
5538 * process-unix.c (unix_kill_child_process): Add snarky comment.
5539 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
5541 * config.h.in: Oops, _getpt ==> _getpty
5543 2000-10-26 Martin Buchholz <martin@xemacs.org>
5547 Use void*, not char*, as return type of alloca().
5549 * alloc.c (free_marker): Side effect inside assert expression!
5551 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
5553 * mule-charset.c (Fset_charset_ccl_program): To check
5554 if the given ccl program is valid, use setup_ccl_program()
5555 instead of CHECK_VECTOR().
5556 (Fmake_charset): Likewise.
5558 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
5560 * faces.c (get_extent_fragment_face_cache_index):
5561 Fix cachel.merged_faces memory leak.
5563 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
5565 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
5566 Reset MSB of octets obtained by DECODE_SJIS
5567 because of the incompatibility with Emacs.
5568 (ccl_driver)<CCL_ENCODE_SJIS>:
5569 Set MSB of octets before passing them to
5570 ENCODE_SJIS because of the incompatibility
5573 2000-10-18 Daiki Ueno <ueno@unixuser.org>
5575 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
5576 (DECLARE_LRECORD): Undo the last change.
5577 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
5579 2000-10-17 Daiki Ueno <ueno@unixuser.org>
5581 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
5582 the implementation to lrecord_implementations_table.
5584 2000-10-14 Daiki Ueno <ueno@unixuser.org>
5586 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
5587 initial value of `lrecord_type_##c_name' and
5588 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
5589 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
5590 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
5591 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
5592 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
5594 2000-10-17 Martin Buchholz <martin@xemacs.org>
5596 * miscplay.c (sndcnv8S_2mono):
5597 (sndcnv2monounsigned):
5598 (sndcnvULaw_2linear):
5600 Remove implementation-defined behavior.
5602 2000-10-12 Martin Buchholz <martin@xemacs.org>
5604 * input-method-xlib.c: Warning suppression.
5606 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
5608 * mule-ccl.c: Sync up with Emacs 21.0.90.
5609 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
5611 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
5613 (ccl_driver[WriteMultibyteChar2]): Bug fix.
5614 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
5615 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
5616 leading char belongs to official 2-dimensional charset.
5617 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
5618 write the given character as is. Otherwise,
5619 if it is a multibyte char, convert it by
5620 non_ascii_set_charptr_emchar, then write it.
5621 (CCL_WRITE_STRING): Likewise.
5622 (ccl_get_compiled_code): New function.
5623 (setup_ccl_program): When ccl_prog is invalid,
5625 (Fregister_code_conversion_map): New function.
5626 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
5628 * mule-ccl.h: Sync up with Emacs 21.0.90.
5629 (Fregister_ccl_program): export it.
5631 * redisplay-msw.c (separate_textual_runs):
5632 If ccl program is not valid, don't do ccl conversion.
5634 * redisplay-x.c (separate_textual_runs): Ditto.
5636 * file-coding.c (Fmake_coding_system):
5637 When type is ccl and value is vector, register it
5638 with a proper symbol. And checks whether the
5639 given ccl program is valid.
5640 (mule_decode): When calling ccl_driver, if src indicates
5641 NULL pointer, set an empty string instead.
5642 (mule_encode): Likewise.
5644 2000-10-11 Martin Buchholz <martin@xemacs.org>
5646 The following large batch of changes gets us back to a state of
5647 C++ compilability. Extbyte is now a char, which means that
5648 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
5650 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
5652 * sound.c (Fplay_sound): Type correctness.
5654 * select-x.c (hack_motif_clipboard_selection): Type correctness.
5655 (x_get_window_property): Type correctness.
5656 (receive_incremental_selection): unsigned char ==> Extbyte
5657 (selection_data_to_lisp_data): unsigned char ==> Extbyte
5658 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
5659 (Fx_store_cutbuffer_internal): Type correctness.
5661 * process-unix.c (try_to_initialize_subtty): Type correctness.
5663 * objects-x.c (x_print_color_instance): Type correctness.
5664 (x_print_font_instance): Type correctness.
5665 (x_list_fonts): SExtbyte ==> Extbyte.
5666 (valid_x_font_name_p): SExtbyte ==> Extbyte.
5667 (x_find_charset_font): SExtbyte ==> Extbyte.
5668 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
5669 (truename_via_XListFonts): SExtbyte ==> Extbyte.
5670 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
5673 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
5674 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
5675 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
5676 (BYTE_C0_P): Use bit ops for char-signedness safety.
5677 (BYTE_C1_P): Use bit ops for char-signedness safety.
5678 (CHARSET_BY_LEADING_BYTE):
5679 (CHARSET_BY_ATTRIBUTES):
5680 Always use inline function.
5681 Use type_checking_assert.
5684 * mule-charset.c (non_ascii_charptr_copy_char):
5685 Modify to work with both ASCII and non-ASCII characters.
5686 Improve docs and variable names.
5687 Replace over-clever fall-through switch with a simple loop.
5688 (Lstream_get_emchar_1):
5689 Replace over-clever fall-through switch with a simple loop.
5691 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5692 Warning suppression.
5694 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
5695 the return value of Lstream_getc, which could be EOF as well.
5697 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
5699 * lisp.h: Make Extbyte a char, not unsigned char, so that external
5700 APIs can be used on Extbytes without casts. Risky!
5704 * input-method-xlib.c (XIM_init_device):
5705 Use Xlib.h instead of IntrinsicP.h.
5706 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
5707 which will break in X11R7.
5708 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
5709 to call XRegisterIMInstantiateCallback with correct types.
5711 * gui-x.c (button_item_to_widget_value): Type correctness.
5713 * glyphs.c (bitmap_to_lisp_data): Type correctness.
5715 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
5716 (xbm_instantiate_1): Type correctness.
5717 (BUILD_GLYPH_INST): Type correctness.
5719 * fileio.c (Fsubstitute_in_file_name): Type correctness.
5722 (decode_coding_sjis):
5723 (decode_coding_big5):
5724 (decode_coding_ucs4):
5725 (decode_coding_utf8):
5726 (decode_coding_iso2022):
5727 (decode_coding_no_conversion):
5728 Make all decoding functions take an Extbyte * arg.
5729 (encode_coding_sjis):
5730 (encode_coding_big5):
5731 (encode_coding_ucs4):
5732 (encode_coding_utf8):
5733 (encode_coding_iso2022):
5734 (encode_coding_no_conversion):
5735 Make all encoding functions take a Bufbyte * arg.
5736 Use size_t instead of unsigned int for memory sizes.
5737 Only cast to unsigned char whenever dereferencing Extbyte *.
5739 * doc.c (unparesseuxify_doc_string): Type correctness.
5741 * console-x.c (split_up_display_spec):
5742 Rewrite without using details of internal string representation.
5743 (x_semi_canonicalize_device_connection): Type correctness.
5746 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
5747 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
5748 (HAVE_XFREE386): Removed.
5750 * buffer.h (DEC_CHARPTR): `const' correctness.
5751 (bufbyte_strcmp): New.
5752 (bufbyte_memcmp): New.
5754 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
5756 * buffer.h (XCHAR_OR_CHAR_INT):
5757 Always use inline function.
5758 Remove redundant type checking assert() - XINT will abort quite nicely.
5760 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
5762 * search.c (Freplace_match): Set newtext to an empty string.
5764 2000-10-10 Martin Buchholz <martin@xemacs.org>
5766 * s/decosf1-3.h: Remove #include of stropts.h
5767 * s/ptx.h: Remove #include of stropts.h
5768 * s/usg5-4.h: Remove #include of stropts.h
5771 Use stropts.h, not sys/stropts.h.
5772 Use strtio.h, not sys/strtio.h.
5774 2000-10-04 Martin Buchholz <martin@xemacs.org>
5776 * XEmacs 21.2.36 is released.
5778 2000-09-21 Andy Piper <andy@xemacs.org>
5780 * glyphs-x.c (x_redisplay_widget): make sure non-structural
5781 changes still involve copying the widget tree.
5782 (update_widget_face): make sure a change is register in the widget
5783 tree. Call update_tab_widget_face appropriately.
5784 (update_tab_widget_face): ditto.
5785 (x_tab_control_redisplay): make sure non-structural changes still
5786 involve copying the widget tree.
5788 2000-08-31 Daiki Ueno <ueno@unixuser.org>
5790 * lread.c (locate_file): Check the path element is non-nil.
5792 2000-10-02 Martin Buchholz <martin@xemacs.org>
5794 * lisp.h: Warning suppression for SCO compilers.
5796 * redisplay-tty.c (reset_tty_modes): Fix crash.
5797 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
5799 2000-09-27 Martin Buchholz <martin@xemacs.org>
5801 Big signal/process handling overhaul. Bugs fixed:
5802 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
5803 M-x comint-kill-subjob should work for both values nil and t of
5804 process-connection-type. It was broken on most platforms.
5805 Testing on Irix and Cygwin still needed. Other plaforms tested.
5806 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
5807 * process-unix.c: Signal/Process handling overhaul.
5808 (pty_name): make 64 bytes, as `expect' does, for paranoia.
5809 (allocate_pty): Use all available modern methods of allocating
5810 ptys, falling back to old style BSD allocation as a last resort.
5811 Use allegedly more secure Unix98 pty allocation by default.
5812 (allocate_pty_the_old_fashioned_way): New. the last resort.
5813 (unix_create_process): Push ptem, ldterm, ttcompat where
5814 available. Autoconfiscate.
5815 (try_to_initialize_subtty): New.
5816 (unix_kill_child_process): Proper signal handling for ptys on most
5817 platforms, using special knowledge of AIX, BSD, etc...
5818 (unix_create_process): Always disconnect_controlling_terminal() for
5819 subprocesses, whether using ptys or not.
5820 * process.h: Remove old getpt-dependent PTY code.
5821 * process.c (Fprocess_send_signal): New, obvious generic function.
5822 (decode_signal): New.
5823 (Finterrupt_process):
5827 (Fcontinue_process):
5828 (Fsignal_process): Use decode_signal.
5829 (process_send_signal):
5830 Many docstring corrections.
5831 Allow any signal to be sent to a process object.
5832 * config.h.in: Add symbols for big signal/process overhaul.
5833 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
5834 * sysproc.h: Include process-related headers, where available:
5835 sys/stropts.h sys/strtio.h pty.h libutil.h
5843 Remove old S&M pty stuff.
5844 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
5845 * systty.h: Simplify cpp hackery, improve comments.
5846 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
5848 * editfns.c (Fformat_time_string):
5849 Be a little more paranoid with the return value of ctime.
5851 * fileio.c (check_executable):
5853 Use symbolic constants X_OK, W_OK.
5855 * console-x.c (split_up_display_spec): Fix a warning.
5857 2000-10-02 Martin Buchholz <martin@xemacs.org>
5859 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
5860 * ntproc.c (sys_spawnve): make_string ==> build_string
5861 Small clarity improvements.
5863 2000-09-30 Martin Buchholz <martin@xemacs.org>
5865 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
5867 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
5869 * config.h.in (HAVE_STRCASECMP): Remove.
5871 2000-09-29 Martin Buchholz <martin@xemacs.org>
5873 * redisplay-output.c (redisplay_output_pixmap):
5874 Cleaner and possibly more 64-bit correct code.
5876 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5878 * dumper.c (pdump_load_finish): move restoration of
5879 `noninteractive1' to emacs.c (main_1).
5880 * emacs.c (main_1): protect LISP-visible command-line flags
5883 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
5885 * Makefile.in.in (versionclean): Use EXE_TARGET and
5886 DUMP_TARGET instead of literal program names.
5888 2000-09-20 Martin Buchholz <martin@xemacs.org>
5890 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
5892 2000-09-19 Martin Buchholz <martin@xemacs.org>
5894 * *: Spelling mega-patch
5896 2000-09-19 Martin Buchholz <martin@xemacs.org>
5898 * fns.c (bad_bad_turtle):
5899 Delete "Eek!" comment, since we fixed the bug to which it refers.
5901 2000-09-16 Martin Buchholz <martin@xemacs.org>
5903 * alloca.c: Replace REGISTER with register.
5905 2000-09-16 Daiki Ueno <ueno@unixuser.org>
5907 * file-coding.c (ucs_to_char): Use countof.
5909 2000-09-16 Martin Buchholz <martin@xemacs.org>
5911 * file-coding.c: (ucs_to_char):
5912 (complex_vars_of_file_coding):
5913 Use countof instead of sizeof.
5914 Use CHECK_NATNUM instead of CHECK_INT.
5916 * sysdep.c (strcasecmp): Remove.
5917 * device-x.c (ascii_strcasecmp): New.
5918 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
5919 Avoid using non-standard non-portable strcasecmp.
5921 2000-09-16 Martin Buchholz <martin@xemacs.org>
5923 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
5924 * font-lock.c: remove reference to emacsfns.h.
5925 * search.c: small doc improvement.
5926 * event-Xt.c: correct file names in comments.
5927 * console-x.h Correct file names in comments.
5928 * frame.c: Correct file names in comments.
5929 * event-stream.c: remove Energize from comments.
5931 2000-09-15 Martin Buchholz <martin@xemacs.org>
5933 * symeval.h (DEFERROR_STANDARD):
5936 (DEFSYMBOL_NO_DUMP):
5937 (DEFSYMBOL_MULTIWORD_PREDICATE):
5938 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
5940 The construct &##name is not sensible C.
5941 Fixes compilation errors with Unixware native compiler.
5943 2000-09-14 Martin Buchholz <martin@xemacs.org>
5945 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
5946 (next_frame_internal): Removed. We now just have next_frame.
5948 Write a simpler and cleaner one-pass algorithm.
5949 Remove called_from_delete_device arg and #ifdefed-out code.
5951 Renamed from prev_frame. Update callers.
5952 Cleaned up to have an analogous implementation to next_frame.
5953 (other_visible_frames_internal): Remove the
5954 called_from_delete_device bogus arg, and hence, remove this
5955 function. Just use other_visible_frames().
5957 * window.c (Fnext_window):
5959 Since next_frame() is guaranteed to return a frame, remove check
5960 for nil inserted in previous patch.
5963 Make code look more like Fnext_window.
5965 Respect the `console' arg when iterating through windows.
5966 Fixes bug: (get-buffer-window buffer t device) not respecting
5968 This function needs more work, as others have pointed out.
5970 * frame.h: Rename prev_frame to previous_frame.
5971 device_matches_console_spec no longer takes a `frame' arg.
5976 Use EMACS_BLOCK_SIGNAL instead of sigblock.
5977 From "Golubev I. N." <gin@mo.msk.ru>.
5979 * make-src-depend: Fix typo.
5981 2000-09-13 Martin Buchholz <martin@xemacs.org>
5983 * window.c (Fnext_window):
5984 next_frame() might return nil, not a frame.
5986 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
5988 * frame.c (next_frame_internal):
5989 We've passed a frame if we've passed its device.
5991 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
5992 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
5994 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
5996 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
5997 Allow option to suppress accelerators in menu/dialog items.
5998 (populate_or_checksum_helper): Pass dialog title through above.
6000 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
6002 * event-msw.c (mswindows_key_to_emacs_keysym):
6003 Add "pause" key, fix "menu" key.
6005 2000-09-09 Martin Buchholz <martin@xemacs.org>
6007 * eval.c (reinit_vars_of_eval):
6008 Increase max_lisp_eval_depth to 1000,
6009 required for thai-xtis.el to byte-compile under some circumstances.
6011 2000-09-04 Martin Buchholz <martin@xemacs.org>
6013 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
6016 2000-09-01 Martin Buchholz <martin@xemacs.org>
6018 * make-src-depend: Make the generated Makefiles smaller.
6020 * s/hpux.h (SETUP_SLAVE_PTY):
6021 Provide a %d in the format string for the errno argument.
6023 * editfns.c (Ftemp_directory):
6025 Avoid buffer overrun on very long file name.
6027 * input-method-xlib.c (XIM_init_device):
6028 6th parameter of XRegisterIMInstantiateCallback has different
6029 pointer types on different OSes, so simply cast to (void *).
6031 * unexhp9k800.c: Warning fixes. Fiddly changes.
6033 * sysdll.c (dll_open):
6034 shl_load will hang hard if passed a NULL filename.
6035 Simply return NULL for compatibility with dlopen.
6036 * sysdll.c: Conform to XEmacs coding standards.
6038 * sysdep.c (get_pty_max_bytes):
6039 Support pty input lines longer than 512 bytes on HP-UX 10.20.
6041 2000-08-31 Martin Buchholz <martin@xemacs.org>
6043 * tooltalk.c: Add #include <syssignal.h>
6045 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
6047 * s/hpux.h: Don't use undefined function sigunblock().
6049 2000-08-31 Martin Buchholz <martin@xemacs.org>
6051 * config.h.in: Add HAVE_BALLOON_HELP.
6052 * emacs.c: Use HAVE_BALLOON_HELP.
6053 * Makefile.in.in (x_objs):
6054 Make Balloon Help conditional on finding shape.h.
6056 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
6058 * syntax.c (regex_emacs_buffer_p): New variable.
6059 * syntax.h (regex_emacs_buffer_p): extern.
6060 * search.c (looking_at_1):
6062 (fast_string_match):
6063 (search_buffer): Set regex_emacs_buffer_p.
6064 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
6065 when before_dot, at_dot, after_dot.
6067 2000-08-23 Andy Piper <andy@xemacs.org>
6069 * gui-x.c (popup_selection_callback): Only set action_occurred
6070 when we really have an image instance.
6071 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
6073 2000-08-23 Andy Piper <andy@xemacs.org>
6075 * gui-msw.c (mswindows_handle_gui_wm_command): set
6077 * gui-x.c (popup_selection_callback): ditto.
6079 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
6080 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
6081 (struct Lisp_Image_Instance): add action_occurred flag.
6083 * glyphs.c (redisplay_subwindow): use action_occurred flag.
6084 (image_instance_changed): ditto.
6085 (reset_frame_subwindow_instance_cache): only unmap windows - do
6086 not remove them from the cache also.
6088 * glyphs-widget.c (tab_control_update): better debug.
6089 (progress_gauge_update): ditto.
6090 (layout_update): ditto.
6091 (layout_instantiate): ditto.
6092 (tab_control_order_only_changed): cope with null pending items.
6094 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
6095 debug. Force selection of an item when an action occurred. Cope
6096 with null pending_items.
6097 (mswindows_progress_gauge_redisplay): better debug.
6098 * glyphs-x.c (x_tab_control_redisplay): ditto.
6100 * redisplay.c (redisplay_frame): reset the frame cache if the
6103 * window.c (Fset_window_configuration): potentially re-enable
6105 (window_unmap_subwindows): need to finalize instances here since
6106 it is only used in mark_window_as_deleted.
6108 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
6110 * nas.c (SndOpenDataForReading):
6111 nas.c (WaveOpenDataForReading):
6112 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
6113 Somehow escaped from the 2000-08-14 patch.
6115 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6117 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
6118 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
6120 2000-08-21 Andy Piper <andy@xemacs.org>
6122 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
6123 window if it is not already displayed.
6125 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
6126 it is not already displayed.
6128 * window.c (Fset_window_configuration): don't reset the frame
6131 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
6132 instances from the frame cache if we are actually finalizing them.
6133 (reset_frame_subwindow_instance_cache): reset frame cache only
6134 after unmapping everything.
6135 (map_subwindow): set displayed flag after mapping.
6137 2000-08-21 Martin Buchholz <martin@xemacs.org>
6139 * data.c (indirect_function):
6140 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
6142 * eval.c (function_argcount):
6143 Use original function when signaling errors.
6145 2000-08-18 Andy Piper <andy@xemacs.org>
6147 * frame.c (delete_frame_internal): use new
6148 free_frame_subwindow_instances name.
6150 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
6151 (add_tab_item): make return type correct.
6152 (mswindows_tab_control_instantiate): assert index of tab.
6153 (mswindows_tab_control_redisplay): Re-code to use
6154 gui_item_equal_sans_selected and gui_item_list_find_selected.
6156 * glyphs-widget.c (tab_control_update): Correct comment.
6158 * window.c (window_unmap_subwindows): use new
6159 unmap_subwindow_instance_cache_mapper.
6160 (window_unmap_subwindows_cache_mapper): deleted.
6161 (Fset_window_configuration): comparisons should now be with
6162 EQ. Preserve the subwindow instance cache across configuration
6164 (allocate_window): ditto.
6165 (make_dummy_parent): ditto.
6167 * glyphs.c (free_frame_subwindow_instances): rename from
6168 free_frame_subwindow_instance_cache. finalize all instances rather
6169 than just those in the display cache.
6170 (finalize_all_subwindow_instances): walk windows unmapping and
6171 finalizing subwindows.
6172 (unmap_subwindow_instance_cache_mapper): moved from
6173 window.c. Allow finalization as well as unmapping.
6175 * gui.c (gui_item_list_find_selected): new function.
6177 * gui.h (gui_item_list_find_selected): declare.
6179 * glyphs-x.c (x_tab_control_redisplay): pick tab
6180 explicitly. Re-code to use gui_item_equal_sans_selected and
6181 gui_item_list_find_selected.
6183 * glyphs-x.h: add lwlib-utils.h
6185 * buffer.c (Frecord_buffer): undo previous change.
6187 2000-08-09 Vin Shelton <acs@xemacs.org>
6189 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
6190 possible. Create temporary files more securely. The patch was
6191 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
6192 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
6193 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
6196 2000-08-07 Ben Wing <ben@xemacs.org>
6198 * getloadavg.c: remove duplicate (and windows-breaking)
6199 includes of fcntl.h and sys/file.h.
6201 * nt.c: remove duplicate getloadavg() definition.
6203 * sysdll.h (Qdll_filename_encoding): add missing stand-in
6206 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
6208 * eval.c (function_argcount): If function needs to be autoloaded
6209 actually use the loaded definition.
6212 2000-08-05 Ben Wing <ben@xemacs.org>
6214 * getloadavg.c: add prototype for getloadavg(). remove
6215 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
6216 of the code). remove duplicate header includes.
6218 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
6220 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
6221 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
6222 useful load average.
6224 * alloc.c (reinit_alloc_once_early): removed references to
6225 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
6226 the lisp vars are the only things referencing the malloc_sbrk_*
6227 vars, and they were already if 0'd out. these vars only exist
6228 in the older malloc.c, which is basically unused, and they're
6229 only for informational purposes.
6231 * m\*.h: removed useless VIRT_ADDR_VARIES.
6233 * m\powerpc.h: removed stray NO_ARG_ARRAY.
6235 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
6237 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
6238 color if the image is a mono pixmap.
6240 2000-07-30 Ben Wing <ben@xemacs.org>
6242 * Makefile.in.in (release):
6245 * buffer.c (directory_is_current_directory):
6246 * dired-msw.c (mswindows_get_files):
6248 * dired.c (Fdirectory_files):
6249 * dired.c (file_name_completion_stat):
6250 * dired.c (Ffile_attributes):
6251 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
6252 preprocessor tricks, to avoid problems on some machines
6255 * callproc.c (egetenv): GC docs.
6258 * console-msw.h (struct mswindows_dialog_id):
6259 * lrecord.h (lrecord_type):
6260 New object for use with MSW dialogs.
6262 * console.h (struct console_methods):
6263 New enable/disable frame methods, for proper modal dialogs.
6265 * device-msw.c (msprinter_default_printer): Fix to follow
6266 proper Mule conventions.
6269 * device-msw.c (signal_open_printer_error):
6270 * device-msw.c (msprinter_init_device):
6271 * device-msw.c (ensure_not_printing):
6272 * device-msw.c (plist_get_margin):
6273 * device-msw.c (Fmsprinter_select_settings):
6274 * device-msw.c (finalize_devmode):
6275 * device-msw.c (Fmsprinter_settings_despecialize):
6276 * device-msw.c (signal_enum_priner_error):
6277 * extents.c (decode_extent):
6278 * extents.c (decode_map_extents_flags):
6279 * extents.c (decode_extent_at_flag):
6280 * extents.c (Fextent_at):
6281 * extents.c (Fextents_at):
6282 * extents.c (symbol_to_glyph_layout):
6283 [[[[2]]]] Use structured errors.
6286 * dialog-msw.c (mswindows_is_dialog_msg):
6287 * dialog-msw.c (mark_mswindows_dialog_id):
6288 * dialog-msw.c (dialog_proc):
6289 * dialog-msw.c (handle_question_dialog_box):
6290 * dialog-msw.c (syms_of_dialog_mswindows):
6291 Define new object to clean up marking; use it as a dialog identifier.
6292 Call new delete-dialog-box-hook.
6294 * dialog-x.c (dbox_selection_callback):
6295 * dialog-x.c (dbox_descriptor_to_widget_value):
6296 * dialog-x.c (x_make_dialog_box_internal):
6297 Call new delete-dialog-box-hook.
6301 * dialog.c (syms_of_dialog):
6302 * dialog.c (vars_of_dialog):
6303 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
6306 * eval.c (signal_call_debugger):
6307 when noninteractive, output stack traces on the console instead
6308 of in a (never-seen) buffer.
6310 * eval.c (signal_type_error):
6311 * eval.c (invalid_argument_2):
6313 new funs for use w/structured errors.
6316 * event-Xt.c (x_to_emacs_keysym):
6317 * event-Xt.c (describe_event):
6318 * event-Xt.c (emacs_Xt_event_handler):
6319 * event-Xt.c (vars_of_event_Xt):
6321 * event-msw.c (mswindows_wnd_proc):
6322 * event-msw.c (vars_of_event_mswindows):
6323 rename {x,mswindows}-debug-events to debug-{}-events for
6324 consistency with other debug-foo variables.
6327 document next-event more clearly.
6329 * fileio.c (Ffile_name_directory):
6330 * fileio.c (Ffile_name_nondirectory):
6331 * fileio.c (Funhandled_file_name_directory):
6332 * fileio.c (file_name_as_directory):
6333 * fileio.c (Ffile_name_as_directory):
6334 * fileio.c (directory_file_name):
6335 * fileio.c (Fdirectory_file_name):
6336 * fileio.c (Fmake_temp_name):
6337 * fileio.c (Ffile_truename):
6338 * fileio.c (Fsubstitute_in_file_name):
6339 * fileio.c (expand_and_dir_to_file):
6340 * fileio.c (barf_or_query_if_file_exists):
6341 * fileio.c (check_executable):
6342 * fileio.c (Ffile_exists_p):
6343 * fileio.c (Ffile_writable_p):
6344 * fileio.c (Ffile_directory_p):
6345 * fileio.c (Ffile_regular_p):
6346 * fileio.c (Ffile_modes):
6347 * fileio.c (Ffile_newer_than_file_p):
6348 * fileio.c (Fverify_visited_file_modtime):
6349 * fileio.c (Fset_visited_file_modtime):
6350 * fileio.c (auto_save_1):
6355 * frame-msw.c (mswindows_init_frame_1):
6356 * frame-msw.c (mswindows_enable_frame):
6357 * frame-msw.c (error_frame_unsizable):
6358 * frame-msw.c (msprinter_init_frame_1):
6359 * frame-msw.c (msprinter_init_frame_3):
6360 * frame-msw.c (console_type_create_frame_mswindows):
6362 implement new enable/disable frame methods.
6365 * frame-x.c (x_enable_frame):
6366 * frame-x.c (console_type_create_frame_x):
6367 implement new enable/disable frame methods.
6370 * frame.c (Fdisable_frame):
6371 * frame.c (syms_of_frame):
6372 * frame.h (struct frame):
6373 implement new enable/disable frame methods/functions.
6378 * glyphs-msw.c (mswindows_widget_instantiate):
6379 comment that initial-focus should be implemented.
6382 * glyphs-widget.c (check_valid_instantiator):
6383 * glyphs-widget.c (check_valid_orientation):
6384 * glyphs-widget.c (check_valid_tab_orientation):
6385 * glyphs-widget.c (check_valid_justification):
6386 * glyphs-widget.c (check_valid_border):
6387 * glyphs-widget.c (check_valid_callback):
6388 * glyphs-widget.c (check_valid_int_or_function):
6389 * glyphs-widget.c (check_valid_string_or_vector):
6390 * glyphs-widget.c (check_valid_item_list_1):
6391 * glyphs-widget.c (widget_validate):
6392 * glyphs-widget.c (combo_box_validate):
6393 * glyphs-widget.c (widget_instantiate):
6394 * glyphs-widget.c (syms_of_glyphs_widget):
6395 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
6396 * glyphs-widget.c (image_instantiator_combo_box):
6397 * glyphs-widget.c (image_instantiator_scrollbar):
6398 * glyphs-widget.c (image_instantiator_tab_control):
6399 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
6401 support (unimplemented) keyword initial-focus.
6402 reindent long macros.
6404 * glyphs-x.c (x_redisplay_widget):
6405 * glyphs-x.c (x_button_instantiate):
6406 * glyphs-x.c (x_button_redisplay):
6407 * glyphs-x.c (x_progress_gauge_instantiate):
6408 * glyphs-x.c (x_edit_field_instantiate):
6409 * glyphs-x.c (x_combo_box_instantiate):
6410 * glyphs-x.c (x_tab_control_instantiate):
6411 * glyphs-x.c (x_label_instantiate):
6413 * gui-x.c (button_item_to_widget_value):
6414 * gui-x.c (gui_items_to_widget_values_1):
6415 * gui-x.c (gui_item_children_to_widget_values):
6416 * gui-x.c (gui_items_to_widget_values):
6418 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6419 add new flag to gui-parsing routines to indicate whether
6420 accelerator specs should be supported.
6422 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
6424 * glyphs.h (struct Lisp_Image_Instance):
6425 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
6426 add initial-focus flag.
6429 * gui.c (syms_of_gui):
6430 * gui.c (vars_of_gui):
6431 clean up menu-no-selection-hook.
6434 support delete-dialog-box-hook.
6436 * lread.c (Fload_internal):
6437 * lread.c (locate_file_in_directory_mapper):
6441 * lrecord.h (struct toolbar_button):
6442 * lrecord.h (syms_of_toolbar):
6443 document how to create a new object.
6445 * menubar-msw.c (mswindows_char_is_accelerator):
6446 may be called on frames w/o menus.
6448 * menubar.c (vars_of_menubar):
6449 clean up :filter docs.
6456 * process-nt.c (validate_signal_number):
6457 * process-nt.c (signal_cannot_launch):
6458 * process-nt.c (nt_create_process):
6459 * process-nt.c (nt_send_process):
6460 * process-nt.c (nt_kill_child_process):
6461 * process-nt.c (nt_open_network_stream):
6462 * process-nt.c (syms_of_process_nt):
6464 delete quote-handling. call new lisp code that does it better.
6466 * process-unix.c (connect_to_file_descriptor):
6467 * process-unix.c (allocate_pty):
6468 * process-unix.c (unix_send_process):
6469 * process-unix.c (unix_kill_child_process):
6470 * process-unix.c (unix_open_network_stream):
6471 * process-unix.c (unix_open_multicast_group):
6475 * process.c (Fstart_process_internal):
6476 (2). need to canonicalize process path even if absolute.
6478 * select-msw.c (symbol_to_ms_cf):
6479 * select-msw.c (ms_cf_to_symbol):
6480 * select-msw.c (cf_is_autofreed):
6481 * select-msw.c (mswindows_destroy_selection):
6483 * select.c (syms_of_select):
6485 support dibv5, fix bugs. (from Mike Alexander)
6487 * select.c (Fget_selection_internal):
6488 * select.c (select_convert_out):
6491 * sysdep.c (xemacs_stat):
6496 but keep original stat() here because we provide encapsulation
6500 * sysfile.h (fstat):
6501 remove stat garbage.
6505 don't include tchar.h. it's inappropriate because it makes
6506 compile-time distinctions when we want runtime distinctions.
6507 (we provide our own tchar replacements)
6510 use default object printer for toolbar-button.
6513 make sure we don't encapsulate.
6515 * window.c (vars_of_window):
6516 emphasize that temp-buffer-show-hook is obsolete.
6518 2000-08-05 Martin Buchholz <martin@xemacs.org>
6520 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
6521 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
6523 * events.c (Fevent_timestamp_lessp):
6524 Not 64-bit clean. Use EMACS_INT, not int.
6526 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
6528 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
6529 unsigned int and changed the last enum to
6530 lrecord_type_last_built_in_type.
6531 (lrecord_implementations_table): changed prototype to know how
6532 long the array is supposed to be.
6533 (lrecord_type_count): new unsigned int to keep track of the
6534 current number of lisp lrecord types.
6535 (DEFINE_EXTERNAL_LRECORD):
6536 (DECLARE_EXTERNAL_LRECORD): Added these two for external
6537 dynamic-modules to declare new lisp types. They are the same
6538 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
6539 int for each new type, and increment lrecord_type_count by 1.
6541 * alloc.c (lrecord_implementations_table): Changed to reference
6542 lrecord_type_last_built_in_type for the size of the array.
6543 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
6545 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6547 * glyphs.h (check_valid_item_list): Renamed from
6548 check_valid_item_list_1.
6550 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
6552 * select.c (Qselect_coerce): New.
6553 * select.c (Vselection_coercion_alist): New.
6554 * select.c (syms_of_select): Declare.
6555 * select.c (get-selection-internal): Use it.
6556 Use the new select-coerce functionality.
6558 * select.c (select_coerce): New.
6559 * select.h (select_coerce): Declare.
6560 New function to coerce one type of data into another.
6562 2000-08-03 Martin Buchholz <martin@xemacs.org>
6564 * callproc.c (Fcall_process_internal):
6565 (Fcall_process_internal):
6566 * process-unix.c (unix_create_process):
6567 Save and restore the value of errno, so that error messages are accurate.
6569 2000-08-01 Martin Buchholz <martin@xemacs.org>
6571 * elhash.c (print_hash_table):
6572 Fix printing of hash tables to also use `key-and-value' instead of `t'.
6573 Prettify docstrings and indentation.
6575 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
6577 * window.c (Fwindow_pixel_edges): Subtract frame border and
6580 2000-07-31 Andy Piper <andy@xemacs.org>
6582 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
6583 will acknowledge the change.
6585 * glyphs.h: declare tab_control_order_only_changed.
6587 * glyphs-x.c (x_tab_control_redisplay): use
6588 tab_control_order_only_changed.
6590 * glyphs-widget.c (tab_control_order_only_changed): new function.
6592 * glyphs-msw.c (mswindows_tab_control_redisplay): use
6593 tab_control_order_only_changed.
6595 * gui.c (gui_item_equal_sans_selected): new function.
6596 (gui_item_equal): use it.
6598 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
6599 :properties in favor of :items..
6601 * glyphs-widget.c (check_valid_item_list): rename from
6602 check_valid_item_list_1.
6603 (check_valid_item_list_1): renamed.
6604 (combo_box_validate): deprecate :properties in favor of :items.
6605 (widget_instantiate): ditto.
6606 (tab_control_update): ditto.
6607 (image_instantiator_combo_box): ditto.
6608 (image_instantiator_tree_view): ditto.
6609 (image_instantiator_tab_control): ditto.
6610 (layout_post_instantiate): remove dead code.
6612 * print.c (debug_print_no_newline): only write to debugger if in
6615 * elhash.c (Fmake_hash_table): update doc string.
6617 * event-msw.c (mswindows_wnd_proc): don't allow processing of
6618 messages whilst in GC. This at least stops XEmacs crashing but has
6619 the potential for wierd behaviour.
6621 2000-07-31 Martin Buchholz <martin@xemacs.org>
6624 Make existence of s&m files optional.
6626 * s/bsd386.h: Remove HAVE_GETLOADAVG.
6627 * s/freebsd.h: Remove HAVE_GETLOADAVG.
6628 * s/gnu.h: Remove HAVE_GETLOADAVG.
6629 * s/netbsd.h: Remove HAVE_GETLOADAVG.
6630 * s/sol2.h: Remove HAVE_GETLOADAVG.
6631 * lisp.h: Remove getloadavg() declaration.
6633 Include <sys/loadavg.h> if available.
6634 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
6635 * config.h.in: Group together getloadavg()-related macros.
6636 Use only configure-time tests to detect getloadavg().
6638 2000-07-30 Martin Buchholz <martin@xemacs.org>
6640 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
6642 2000-07-25 Andy Piper <andy@xemacs.org>
6644 * syswindows.h: add tchar.h for native builds.
6646 * frame.c (syms_of_frame): remove set-glyph-image.
6648 * general-slots.h: add Qset_glyph_image.
6650 * glyphs-widget.c (layout_update): add domain arg to
6652 (syms_of_glyphs_widget): remove set-glyph-image.
6654 2000-07-23 Ben Wing <ben@xemacs.org>
6656 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
6659 2000-07-22 Andy Piper <andy@xemacs.org>
6661 * symsinit.h: add syms_of_win32().
6663 * gui-msw.c (syms_of_gui_mswindows): remove
6664 Fmswindows_shell_execute.
6665 (Fmswindows_shell_execute): moved to win32.c.
6667 * emacs.c (main_1): add syms_of_win32 ().
6669 * win32.c (init_potentially_nonexistent_functions): rewrite in
6670 compiler-friendly terms.
6671 (Fmswindows_shell_execute): move here from gui-msw.c.
6672 (syms_of_win32): new.
6674 * device-msw.c (Fmswindows_printer_list): clean up args to
6676 Don't include tchar under cygwin or mingw.
6677 (msprinter_default_printer): make cygwin-friendly.
6679 2000-07-21 Andy Piper <andy@xemacs.org>
6681 * glyphs-widget.c (image_instantiator_tree_view): use tab
6682 control's update function.
6683 (layout_property): new function. Retrieve items.
6685 * glyphs-msw.c (mswindows_tree_view_redisplay): new
6686 function. Re-populate the tree view from the pending items.
6688 * glyphs.c (instantiate_image_instantiator): Make sure the domain
6689 is designated the parent if the domain is an image instance. This
6690 is needed so that dirtiness can be cascade up the hierarchy and
6691 thus for layout children to be redisplayed correctly.
6692 (allocate_image_instance): rename glyph -> parent.
6694 * redisplay.h: change redisplay_output_layout signature.
6696 * redisplay-msw.c (mswindows_output_display_block): use domain
6699 * redisplay-x.c (x_output_display_block): use domain arg.
6701 2000-07-10 Andy Piper <andy@xemacs.org>
6703 * window.c (Fset_window_configuration): add comment.
6705 * redisplay-output.c (compare_runes):
6706 (redisplay_output_subwindow): redisplay rather than update subwindow.
6707 (redisplay_output_layout): ditto.
6709 * redisplay-msw.c (mswindows_frame_output_end):
6710 (mswindows_frame_output_end): make defer window pos optional.
6712 * lisp.h: add Flast.
6714 * glyphs.h (struct image_instantiator_methods): add dest_mask top
6715 normalize method. Change update method to be for changed
6716 instantiators. Add redisplay method. Change signature of layout
6718 (struct Lisp_Image_Instance): add instantiator.
6719 (IMAGE_INSTANCE_INSTANTIATOR): new.
6720 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
6721 (XIMAGE_INSTANCE_INSTANTIATOR): new.
6722 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
6725 (find_instantiator_differences): new function.
6726 (Fset_instantiator_property): new convenience function.
6727 (check_image_instance_structure): strictly check for vector
6729 (normalize_image_instantiator): make non-static.
6730 (instantiate_image_instantiator): pass on dest_mask and use new
6731 signatures for image_instance_layout and friends.
6732 (mark_image_instance): mark the instantiator. Mark the subwindow
6733 face not the widget face.
6734 (image_instance_equal): add instantiator.
6735 (image_instance_hash): ditto.
6736 (allocate_image_instance): ditto.
6737 (Fset_image_instance_property): removed.
6738 (Fimage_instance_file_name): ditto.
6739 (Fcolorize_image_instance): ditto.
6740 (image_instance_layout): add offsets to be set.
6741 (update_image_instance): new function. update an image instance
6742 from its changed instantiator.
6743 (inherit_normalize): add dest_mask.
6744 (xbm_normalize): ditto.
6745 (xface_normalize): ditto.
6746 (xpm_normalize): ditto.
6747 (text_update): set_property -> update.
6748 (image_instantiate): use the glyph identity as a hash key, not the
6750 (glyph_width): use new image_instance_layout signature.
6751 (glyph_ascent): ditto.
6752 (glyph_descent): ditto.
6753 (glyph_height): ditto.
6754 (glyph_query_geometry): ressurrect.
6755 (glyph_layout): ditto.
6756 (redisplay_subwindow): update -> redisplay.
6757 (syms_of_glyphs): add Fset_instantiator_property.
6758 (image_instantiator_format_create): set_property -> update.
6761 (autodetect_normalize): add dest_maks to signature.
6762 (x_redisplay_subwindow): update -> redisplay.
6763 (x_redisplay_widget): ditto.
6764 (x_button_redisplay): ditto.
6765 (x_progress_gauge_redisplay): ditto.
6766 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
6768 (console_type_create_glyphs_x): update -> redisplay.
6769 (image_instantiator_format_create_glyphs_x): ditto.
6772 (check_valid_instantiator): disallow glyphs in the instantiator,
6773 they must now be vectors.
6774 (check_valid_instantiator_list): ditto.
6775 (glyph_instantiator_to_glyph): use internal symbol rather than
6777 (widget_update): renamed from widget_set_property. Call cascaded
6779 (redisplay_widget): renamed from update_widget.
6780 (widget_layout): image_instance_layout now takes position as well
6782 (widget_normalize): ditto.
6783 (widget_instantiate): ditto.
6784 (tab_control_query_geometry) ditto.:
6785 (tab_control_update): renamed from tab_control_set_property.
6786 (progress_gauge_update): set_property -> update.
6787 (layout_normalize): rewrite so that child instantiators are
6789 (layout_update): new function. Create glyphs from the normalized
6790 children and cope with any other layout keywords. We do not
6791 instantiate children here that will be take care of by
6792 redisplay_output_layout.
6793 (layout_instantiate): call layout_update and not much else.
6794 (layout_post_instantiate): not sure whether this is needed
6796 (layout_query_geometry): query glyph geometry rather than
6797 image_instance geometry.
6798 (layout_layout): set offsets from pass in parameters. Use glyph
6799 geometry and layout functions rather than image instance ones.
6800 (native_layout_layout): ditto.
6801 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
6802 (image_instantiator_widget): set_property -> update.
6803 (image_instantiator_buttons): ditto.
6804 (image_instantiator_progress_guage): ditto.
6805 (image_instantiator_tab_control): ditto.
6806 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
6807 (image_instantiator_layout): add update method.
6809 * glyphs-msw.c (bmp_normalize):
6810 (mswindows_resource_normalize): add dest_mask so that it can be
6811 proprogated by layout_normalize.
6812 (begin_defer_window_pos): make optional because it may not be the
6813 right thing to do and it introduces differences with X.
6814 (mswindows_unmap_subwindow): ditto.
6815 (mswindows_map_subwindow): ditto.
6816 (mswindows_redisplay_subwindow): renamed from
6817 mswindows_update_subwindow.
6818 (mswindows_redisplay_widget): ditto.
6819 (mswindows_button_redisplay): renamed from
6820 mswindows_button_update. Update is now what the instantiation
6821 function does for a changed instantiator.
6822 (mswindows_progress_gauge_instantiate): set the progress value
6823 here if appropriate.
6824 (mswindows_tab_control_redisplay): cope with re-ordering of the
6825 members of the tab widget by simply selecting the new top
6826 widget. This makes things appear ok if you click on a tab.
6827 (mswindows_combo_box_instantiate): image_instance_layout now takes
6828 position as well as size.
6829 (mswindows_progress_gauge_redisplay): renamed from
6830 mswindows_progress_gauge_update.
6831 (console_type_create_glyphs_mswindows): fix update -> redisplay.
6832 (image_instantiator_format_create_glyphs_mswindows): ditto.
6834 * glyphs-eimage.c (jpeg_normalize):
6837 (tiff_normalize): add dest_mask so that it can be proprogated by
6842 (hash_table_weakness_validate):
6843 (decode_hash_table_weakness):
6844 (Fhash_table_weakness):
6846 (syms_of_elhash): use Ben's naming scheme for hashtable types..
6848 * console.h (struct console_methods): move update_* to
6851 2000-07-20 Ben Wing <ben@xemacs.org>
6853 * *.[ch] (XSETOBJ): remove unused middle argument.
6854 lisp-disunion.h: correct wrap_object() to one argument.
6856 2000-07-15 Ben Wing <ben@xemacs.org>
6859 * s/cygwin32.h (CYGWIN_CONV_PATH):
6860 Add missing logb prototype for v1.1.
6861 Use post-b20 names and alias to pre-b20 names when pre-b20.
6863 * s/windowsnt.h: [5].
6865 2000-07-15 Ben Wing <ben@xemacs.org>
6867 * Makefile.in.in (x_objs):
6868 * Makefile.in.in (sheap_objs):
6869 * Makefile.in.in (objs):
6870 added win32.o, cosmetic cleanups.
6872 * alloc.c (Fmake_byte_code):
6873 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
6874 etc. macros which declare their own args now.
6876 * alloc.c (syms_of_alloc):
6877 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
6880 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
6882 * buffer.c (Fget_file_buffer):
6883 Fixed GCPRO problem.
6885 * buffer.c (get_truename_buffer):
6886 Fixed comment about GC checking.
6888 * buffer.c (syms_of_buffer):
6889 Undeclared those dedicated frame funs.
6893 Define convenience macros for internal/external conversions.
6894 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
6895 and Qenvironment_variable_encoding for cleaner code.
6898 Remove dedicated-frame; in lisp.
6900 * bytecode.c (funcall_compiled_function):
6903 * bytecode.c (syms_of_bytecode):
6907 * console-msw.c (mswindows_show_console): Rewrote.
6909 * console-msw.c (Fmswindows_debugging_output): New.
6910 Sends to OutputDebugString (special MSWin debugger interface).
6912 * console-msw.c (Fmswindows_message_box):
6913 Fixed stupid bugs so it works when called from kill-emacs.
6915 * console-msw.c (syms_of_console_mswindows):
6916 Declare Fmswindows_debugging_output.
6919 New MSWin prototypes.
6921 * console-msw.h (struct mswindows_frame):
6922 New entry last-click-mods for improved button-modifier support.
6924 * console-msw.h (FRAME_MSWINDOWS_POPUP):
6925 New struct entry `popup' with corresponding accessor.
6928 * console-x.c (split_up_display_spec):
6929 * console-x.c (get_display_arg_connection):
6930 * console-x.c (x_semi_canonicalize_console_connection):
6931 * console-x.c (x_canonicalize_device_connection):
6932 [[[6]]]: Change char to more specific type.
6933 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
6935 * console-x.c (x_semi_canonicalize_console_connection):
6936 * console-x.c (x_canonicalize_device_connection):
6937 [[[9]]]: Fix up error signalling to use new structured error system.
6940 [[[4]]]: Define codesys aliases:
6941 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
6942 Qx_color_name_encoding, Qx_display_name_encoding.
6944 * console.h (struct console_methods):
6945 New method make_dialog_box_internal supersedes older
6946 popup_dialog_box method.
6949 Define many new errors, part of new structured errors.
6951 * data.c (init_errors_once_early):
6952 * data.c (syms_of_data):
6955 * device-msw.c (mswindows_init_device):
6956 [[[5]]]: Cleanup to support NT 3.51.
6958 * device-msw.c (decode_devmode): Cleanup.
6960 * device-msw.c (mswindows_handle_print_setup_dialog_box):
6961 * device-msw.c (mswindows_handle_print_dialog_box):
6962 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6963 * device-msw.c (syms_of_device_mswindows):
6964 Delete the dialog box primitives recently introduced by Kirill and
6965 instead interface to general dialog box interface.
6968 * device-x.c (compute_x_app_name):
6969 * device-x.c (x_init_device):
6970 * device-x.c (Fx_valid_keysym_name_p):
6971 * device-x.c (Fx_set_font_path):
6975 * device.h (wrap_device): New.
6976 First of its kind; meant to replace XSETDEVICE.
6978 * dialog-msw.c: Many file-dialog symbols.
6980 * dialog-msw.c (mswindows_register_popup_frame): New.
6981 * dialog-msw.c (mswindows_is_dialog_msg): New.
6982 For supporting kbd traversal in dialog boxes.
6984 * dialog-msw.c (dialog_proc):
6985 Support hitting ESC in dialogs.
6987 * dialog-msw.c (struct):
6988 Common dialog box errors.
6990 * dialog-msw.c (handle_file_dialog_box): New.
6991 Add file dialog code.
6993 * dialog-msw.c (handle_question_dialog_box):
6994 Redo existing code to support new question dialog syntax.
6996 * dialog-msw.c (console_type_create_dialog_mswindows):
6997 We support new dialog console method.
6999 * dialog-msw.c (syms_of_dialog_mswindows):
7000 * dialog-msw.c (vars_of_dialog_mswindows):
7001 New file dialog symbols, vars.
7004 * dialog-x.c (maybe_run_dbox_text_callback):
7005 * dialog-x.c (dbox_descriptor_to_widget_value):
7006 * dialog-x.c (x_make_dialog_box_internal):
7007 * dialog-x.c (console_type_create_dialog_x):
7008 Mule-ize entire file.
7009 Redo to support question dialog syntax.
7013 * dialog.c (Fmake_dialog_box_internal):
7014 * dialog.c (syms_of_dialog):
7015 Kill old popup-dialog-box, replace with new primitive.
7016 Just call device method or signal error.
7018 * eldap.c (Fldap_open):
7019 * eldap.c (Fldap_search_basic):
7020 * eldap.c (Fldap_add):
7021 * eldap.c (Fldap_modify):
7026 * emacs.c (make_arg_list_1):
7027 * emacs.c (make_arg_list):
7028 Mule-ize call to dll_init().
7032 * emacs.c (make_argc_argv):
7033 * emacs.c (free_argc_argv):
7034 * emacs.c (init_cmdargs):
7036 * emacs.c (Fkill_emacs):
7037 * emacs.c (Fdump_emacs):
7038 Update comments about what can be used in syms_* etc.
7039 Call init_win32() when necessary.
7040 Fix up MS Win dialog box in kill-buffer to actually work right.
7051 * eval.c (condition_case_3):
7053 * eval.c (function_argcount):
7054 * eval.c (funcall_lambda):
7057 * eval.c (type_error): New.
7058 * eval.c (maybe_type_error): New.
7059 * eval.c (continuable_type_error): New.
7060 * eval.c (maybe_continuable_type_error): New.
7061 * eval.c (type_error_with_frob): New.
7062 * eval.c (maybe_type_error_with_frob): New.
7063 * eval.c (continuable_type_error_with_frob): New.
7064 * eval.c (maybe_continuable_type_error_with_frob): New.
7065 New functions for use with structured errors.
7068 * event-Xt.c (x_event_to_emacs_event):
7069 Buttons are now modifiers too.
7071 * event-Xt.c (emacs_Xt_current_event_timestamp):
7072 Implement new event method.
7073 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
7076 * event-msw.c (ntpipe_shove_writer): [5].
7077 * event-msw.c (mswindows_enqueue_mouse_button_event):
7078 * event-msw.c (mswindows_drain_windows_queue):
7079 * event-msw.c (mswindows_wnd_proc): [7].
7080 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
7081 * event-msw.c (mswindows_modifier_state):
7082 Throughout: support new button modifiers.
7084 * event-msw.c (emacs_mswindows_current_event_timestamp):
7085 Implement new event method.
7086 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
7089 * event-stream.c (event_stream_current_event_timestamp): New.
7090 * event-stream.c (maybe_kbd_translate): New functionality.
7091 * event-stream.c (vars_of_event_stream):
7092 Document new kbd-translate-table functionality.
7094 * event-stream.c (Fcurrent_event_timestamp): New.
7095 New primitive for use in fabricated events.
7096 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
7098 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
7101 * events.c (Fmake_event):
7102 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
7106 * events.c (format_event_object): fix gcc warnings.
7108 * events.c (Fevent_timestamp): Document new primitives.
7110 * events.c (TIMESTAMP_HALFSPACE): New.
7112 * events.c (Fevent_timestamp_lessp): New. New primitive for
7113 comparing timestamps correctly (half-space algorithm).
7115 * events.c (Fevent_modifier_bits): Doc fix.
7117 * events.c (Fevent_modifiers): Major doc addition.
7118 * events.c (event_x_y_pixel_internal): Typo fix.
7119 * events.c (syms_of_events): Declare new primitives.
7122 Update long comment for button modifiers, timestamps.
7124 * events.h (struct event_stream):
7125 New current_event_timestamp method.
7128 * extents.c (extent_in_region_p):
7129 * extents.c (decode_extent):
7130 * extents.c (Fset_extent_parent):
7131 * extents.c (decode_map_extents_flags):
7135 * extents.c (struct extent_at_arg):
7136 * extents.c (decode_extent_at_flag):
7137 * extents.c (extent_at_mapper):
7138 * extents.c (extent_at_bytind):
7139 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
7140 * extents.c (Fextents_at): New primitive. [9].
7141 * extents.c (symbol_to_glyph_layout): [9].
7142 Support new primitive `extents-at'.
7145 * extents.c (get_text_property_bytind):
7146 extent_at_bytind has another arg.
7149 * extents.c (syms_of_extents): New primitive.
7151 * file-coding.c (Fmake_coding_system): [1].
7152 * file-coding.c (subsidiary_coding_system): fix gcc warning
7153 * file-coding.c (syms_of_file_coding): [2].
7155 * fileio.c (Fexpand_file_name):
7156 * fileio.c (Fsysnetunam):
7157 * fileio.c (Ffile_exists_p):
7158 * fileio.c (Ffile_executable_p):
7159 * fileio.c (Fverify_visited_file_modtime):
7162 * fileio.c (syms_of_fileio): [2].
7164 * filelock.c (lock_file_1):
7165 * filelock.c (current_lock_owner):
7166 * filelock.c (lock_if_free):
7167 * filelock.c (lock_file):
7168 * filelock.c (unlock_file):
7171 * fns.c (concat): Fix gcc warning.
7174 * fns.c (Fold_member):
7176 * fns.c (Fold_memq):
7177 * fns.c (memq_no_quit):
7179 * fns.c (Fold_assoc):
7181 * fns.c (Fold_assq):
7182 * fns.c (assq_no_quit):
7184 * fns.c (Fold_rassoc):
7186 * fns.c (Fold_rassq):
7187 * fns.c (rassq_no_quit):
7189 * fns.c (Fold_delete):
7191 * fns.c (Fold_delq):
7192 * fns.c (delq_no_quit):
7193 * fns.c (Fremassoc):
7195 * fns.c (remassq_no_quit):
7196 * fns.c (Fremrassoc):
7197 * fns.c (Fremrassq):
7198 * fns.c (remrassq_no_quit):
7203 * frame-msw.c (mswindows_init_frame_1):
7204 * frame-msw.c (mswindows_delete_frame):
7205 Register popups with dialog code so keyboard traversing works.
7207 * frame-tty.c (tty_raise_frame_no_select): [1].
7210 * frame-x.c (x_set_frame_text_value):
7211 * frame-x.c (x_set_frame_properties):
7212 * frame-x.c (x_create_widgets):
7216 * frame.c (Fmouse_pixel_position): Minor doc fixes.
7218 * frame.h (wrap_frame): New.
7219 Macro like wrap_device.
7222 * general.c (SYMBOL):
7223 * general.c (syms_of_general):
7224 Major reorg. This is now just a wrapper and symbols themselves
7225 are listed in general-slots.h.
7227 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
7228 * glyphs-msw.c (mswindows_resource_instantiate): [5].
7230 * glyphs-msw.c (mswindows_native_layout_instantiate):
7231 Add DS_CONTROL so keyboard traversal will work.
7234 * glyphs-widget.c (syms_of_glyphs_widget):
7235 Move some symbols to general-slots.h.
7238 * glyphs-x.c (xbm_instantiate_1):
7239 * glyphs-x.c (x_xbm_instantiate):
7240 * glyphs-x.c (x_xface_instantiate):
7241 * glyphs-x.c (autodetect_instantiate):
7242 * glyphs-x.c (cursor_font_instantiate):
7243 * glyphs-x.c (x_update_widget):
7244 * glyphs-x.c (x_widget_instantiate):
7245 * glyphs.c (bitmap_to_lisp_data):
7246 * glyphs.c (pixmap_to_lisp_data):
7249 * glyphs.c (syms_of_glyphs):
7253 * gui-x.c (print_widget_value):
7254 * gui-x.c (menu_separator_style_and_to_external):
7255 * gui-x.c (add_accel_and_to_external):
7256 * gui-x.c (button_item_to_widget_value):
7257 * gui-x.c (gui_items_to_widget_values_1):
7258 * gui-x.c (gui_items_to_widget_values):
7259 * gui-x.c (syms_of_gui_x):
7260 * gui-x.c (vars_of_gui_x):
7261 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
7265 Muleize, prototype changes matching gui-x.c.
7268 * gui.c (separator_string_p):
7269 * gui.c (gui_item_add_keyval_pair):
7270 * gui.c (make_gui_item_from_keywords_internal):
7271 * gui.c (signal_too_long_error):
7272 * gui.c (parse_gui_item_tree_item):
7273 * gui.c (syms_of_gui):
7274 * gui.c (vars_of_gui):
7276 menu-no-selection-hook moved here (used by MSWin).
7277 Move some symbols to general-slots.h.
7281 * insdel.c (get_buffer_pos_char):
7282 * insdel.c (get_buffer_range_char):
7285 * keymap.c (keymap_lookup_directly):
7286 * keymap.c (keymap_store):
7287 * keymap.c (ensure_meta_prefix_char_keymapp):
7288 * keymap.c (describe_map):
7290 Support new button modifiers.
7292 * lisp-disunion.h (wrap_object):
7293 * lisp-disunion.h (XSETOBJ):
7294 Rename make_obj to wrap_object.
7297 * lisp-union.h (make_int):
7298 * lisp-union.h (make_char):
7299 Support wrap_object.
7302 * lisp.h (LIST_LOOP):
7303 * lisp.h (EXTERNAL_LIST_LOOP):
7304 * lisp.h (LIST_LOOP_2):
7305 * lisp.h (EXTERNAL_LIST_LOOP_1):
7306 * lisp.h (EXTERNAL_LIST_LOOP_2):
7307 * lisp.h (EXTERNAL_LIST_LOOP_3):
7308 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
7309 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
7310 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
7311 * lisp.h (EXTERNAL_ALIST_LOOP_5):
7312 * lisp.h (EXTERNAL_ALIST_LOOP_6):
7313 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
7314 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
7315 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
7316 * lisp.h (struct Lisp_Symbol):
7317 * lisp.h (maybe_continuable_error_with_frob):
7318 Fix up section comments.
7319 Add new types for char to indicate usage.
7320 Delete symbols auto-generated from general-slots.h.
7321 Add prototypes for structured error functions.
7322 Add long comments describing looping macros and change interface
7323 so that lvalues are automatically declared.
7324 Add NO_DECLARE macro in case callers want to declare lvalues
7327 * lread.c (read_syntax_error):
7328 * lread.c (continuable_read_syntax_error):
7329 * lread.c (read_structure):
7330 * lread.c (sequence_reader):
7331 * lread.c (read_list_conser):
7332 * lread.c (read_compiled_function):
7333 Rename syntax_error and continuable_syntax_error to avoid clash
7334 with same-named structured error functions.
7336 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7337 * menubar-msw.c (populate_menu_add_item):
7338 * menubar-msw.c (populate_or_checksum_helper):
7343 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7344 Mule-ize whole file.
7346 * menubar.c (Fnormalize_menu_item_name): Add optimization.
7348 * mule-charset.c (Fmake_charset):
7349 * mule-wnnfns.c (Fwnn_set_param):
7352 * ntproc.c (create_child):
7353 * ntproc.c (Fwin32_set_current_locale):
7354 Add comments portending doom.
7357 * objects-msw.c (old_font_enum_callback_2):
7358 * objects-msw.c (font_enum_callback_1):
7359 * objects-msw.c (mswindows_enumerate_fonts):
7363 * objects-x.c (allocate_nearest_color):
7364 * objects-x.c (x_parse_nearest_color):
7365 * objects-x.c (x_initialize_color_instance):
7366 * objects-x.c (x_print_color_instance):
7367 * objects-x.c (x_finalize_color_instance):
7368 * objects-x.c (x_valid_color_name_p):
7369 * objects-x.c (x_initialize_font_instance):
7370 * objects-x.c (x_print_font_instance):
7371 * objects-x.c (valid_x_font_name_p):
7372 * objects-x.c (truename_via_FONT_prop):
7373 * objects-x.c (truename_via_random_props):
7374 * objects-x.c (truename_via_XListFonts):
7375 * objects-x.c (x_font_truename):
7376 * objects-x.c (x_font_instance_truename):
7377 * objects-x.c (x_font_instance_properties):
7378 * objects-x.c (x_list_fonts):
7379 * objects-x.c (x_find_charset_font):
7380 Mule-ize entire file.
7387 * print.c (std_handle_out_external):
7388 * print.c (debug_print_no_newline):
7389 * print.c (syms_of_print):
7390 Output to all debugger kinds in debug-print.
7391 Fix console-output code under MSWin to actually work.
7393 * process-nt.c (send_signal):
7394 * process-nt.c (nt_create_process):
7395 Use newer Unicode macros.
7397 * process-unix.c (unix_create_process):
7398 * process-unix.c (unix_canonicalize_host_name):
7399 * process-unix.c (unix_open_network_stream):
7405 * search.c (syms_of_search):
7408 * select-msw.c (mswindows_destroy_selection):
7411 * select-x.c (symbol_to_x_atom):
7414 * select.c (syms_of_select):
7417 * sound.c (Fplay_sound_file):
7421 * specifier.c (decode_specifier_type):
7422 * specifier.c (Fvalid_specifier_locale_type_p):
7423 * specifier.c (check_valid_locale_or_locale_type):
7424 * specifier.c (decode_locale):
7425 * specifier.c (decode_locale_type):
7426 * specifier.c (decode_locale_list):
7427 * specifier.c (check_valid_domain):
7428 * specifier.c (decode_specifier_tag_set):
7429 * specifier.c (Fcanonicalize_tag_set):
7430 * specifier.c (Fdefine_specifier_tag):
7431 * specifier.c (Fspecifier_tag_predicate):
7432 * specifier.c (check_valid_inst_list):
7433 * specifier.c (check_valid_spec_list):
7434 * specifier.c (decode_how_to_add_specification):
7435 * specifier.c (check_modifiable_specifier):
7436 * specifier.c (specifier_add_spec):
7437 * specifier.c (boolean_validate):
7438 * specifier.c (display_table_validate):
7441 * specifier.c (syms_of_specifier):
7442 Move some symbols to general-slots.h.
7446 * symbols.c (Fmapatoms):
7447 * symbols.c (Fapropos_internal):
7450 * symbols.c (set_default_buffer_slot_variable):
7451 * symbols.c (set_default_console_slot_variable):
7454 * symbols.c (defsymbol_massage_name_1):
7455 * symbols.c (defkeyword_massage_name):
7456 * symbols.c (deferror_1):
7457 * symbols.c (deferror):
7458 * symbols.c (deferror_massage_name_and_message):
7460 * symeval.h (DEFSYMBOL):
7461 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
7463 * symbols.c (syms_of_symbols):
7467 * symsinit.h (init_win32): New.
7468 Also new is syms_of_dialog_mswindows.
7471 Add new Unicode macros, missing Cygwin wide-char functions,
7472 convenience conversion macros for Qmswindows_tstr, macros for
7473 encapsulating required MSWin <-> Cygwin filename conversions,
7474 prototype for dynamically-extracted (not in NT 3.51) functions.
7479 * tooltalk.c (Fadd_tooltalk_message_arg):
7480 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
7481 * tooltalk.c (Fadd_tooltalk_pattern_arg):
7484 * tooltalk.c (syms_of_tooltalk):
7488 * unexnt.c (unexec):
7489 Fix up headers, declaration of unexec() to be more standard.
7491 2000-07-20 Martin Buchholz <martin@xemacs.org>
7493 * offix.h: Revert change to guard macros - they're used in offix.c!
7495 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7497 * lisp.h: Defsubred Fdelete.
7499 * console-msw.h: (msprinter_default_printer): Added.
7501 * console-msw.c (msprinter_canonicalize_console_connection):
7502 (msprinter_canonicalize_device_connection): Added.
7504 * device-msw.c (msprinter_default_printer):
7505 (Fmswingows_get_default_printer):
7506 (signal_enum_priner_error):
7507 (Fmswingows_printer_list): Added.
7509 2000-07-19 Martin Buchholz <martin@xemacs.org>
7511 * XEmacs 21.2.35 is released.
7513 2000-07-19 Martin Buchholz <martin@xemacs.org>
7515 * select-x.c (x_handle_selection_request):
7516 Text selected in xemacs and pasted into xterm failed to appear.
7517 Spelling fixes and cosmetic changes.
7519 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7521 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
7522 XEmacs frame (fix for doubling chars in dialog boxes).
7524 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7526 * select.c (select_convert_in, select_convert_out):
7527 Don't call intern() every time.
7529 * select.c (Qselect_convert_in, Qselect_convert_out): New.
7530 * select.c (vars_of_select): Initialise them.
7532 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7534 * select.c (selection-coercible-types): New.
7536 * select.c (own-selection-internal):
7537 * select.c (get-selection-internal):
7538 MULE bug fix - these should default to COMPOUND_TEXT and not
7539 STRING for MULE. I think.
7541 * select.c (select_convert_out): Use selection-coercible-types
7542 to find types that we can attempt to perform coercions on.
7544 2000-07-18 Martin Buchholz <martin@xemacs.org>
7548 Add coding: cookie to identify encoding.
7550 * mule-canna.c (CANNA_mode_keys): make static.
7551 Use proper prototypes, even for functions of no arguments.
7552 Remove external prototype for Fding().
7554 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
7556 * select.c (syms_of_select): Add missing DEFSUBR.
7558 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7560 * select.c (get_selection_internal, own_selection_internal):
7561 Make the type default to STRING, rather than placing a nil type
7562 into Vselection_alist.
7564 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7566 * gpmevent.c (tty_selection_exists_p):
7567 * gpmevent.c (tty_own_selection):
7568 Updated parameter lists.
7570 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
7572 * select.h (selection-alist): Removed declaration.
7574 * select.h (get_local_selection):
7575 * select.c (get_local_selection):
7578 * select.h (convert_selection): Removed declaration.
7579 * select.c (convert_selection): Removed.
7580 This function belongs in Lisp.
7582 * select.h (select_convert_in): Declare.
7583 * select.h (select_convert_out): Declare.
7584 * select.c (select_convert_in): New.
7585 * select.c (select_convert_out): New.
7586 New conversion functions for other files to call.
7588 * select.h (select_notify_buffer_kill): Declare.
7589 * select.c (select_notify_buffer_kill): New.
7590 New functions that get called from kill-buffer.
7592 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
7593 X-specific lisp code.
7595 * select.h: Declare some of the lisp-visible functions for
7598 * select.c (clean_local_selection_data): Removed. This was
7599 a disgusting function, and previously should have been in
7600 select-x.c in any case. The functionality is now provided
7601 in select-convert-from-integer (select.el).
7603 * select.c (available-selection-types): Fixed stupidity where
7604 INTEGER and ATOM got added twice. Also add STRING when we see an
7607 * select.c (get-selection-internal): Removed symbol stripping. No
7608 longer causes conversion when data comes from the internal cache.
7610 * select.c (syms_of_select): Added new functions.
7612 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
7613 error checking - previously this called abort!
7615 * select-x.c (x_own_selection): Changed comment.
7617 * select-x.c (x_handle_selection_request): Use select_convert_out.
7618 Don't mess with selection-alist; it's an internal variable of select.c.
7620 * select-x.c (x_get_foreign_selection): Use select_convert_in.
7622 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
7623 rather than messing with selection-alist.
7625 * select-msw.c (mswindows_get_foreign_selection):
7626 Use TO_INTERNAL_FORMAT rather than hacking.
7628 2000-07-14 Martin Buchholz <martin@xemacs.org>
7630 * process-unix.c (unix_open_multicast_group):
7631 (unix_open_multicast_group): Remove useless casts.
7633 2000-07-13 Martin Buchholz <martin@xemacs.org>
7635 * sound.c (Fplay_sound): Fix `unused variable' warning.
7637 * emacs.c (main): Use correct type for _environ on SCO5.
7639 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
7641 * console.h (own_selection_method):
7642 * console.h (selection_exists_p_method):
7643 * console.h (available_selection_types_method): New.
7644 * console.h (register_selection_data_type_method): New.
7645 * console.h (selection_data_type_name): New.
7647 * console-msw.h (mswindows_destroy_selection): Declare it. New
7648 function & alist to track GlobalAlloc()'d handles that need
7649 releasing when the clipboard data gets replaced or emptied.
7651 * event-msw.c (mswindows_wnd_proc): Call it.
7653 * lisp.h, general.c (Qappend): New symbol representing a
7656 * select.c (own-selection-internal):
7657 * select.c (selection-exists-p):
7658 * select.c (available-selection-types): New.
7659 * select.c (register-selection-data-type): New.
7660 * select.c (selection-data-type-name): New. New functions to deal
7661 with device-specific selection data formats.
7662 * select.c (selection-converter-out-alist): Renamed.
7663 * select.c (selection-converter-in-alist): New.
7664 * select.c (selection-appender-alist): New. Added new alists.
7665 * select.c (syms_of_select, vars_of_select): Added new symbols &
7667 * select.c (get_local_selection): Split.
7668 * select.c: Removed spurious type checking - selections may now be
7669 of any type, not just strings.
7670 * select.c (own-selection-internal):
7672 * select.h, select.c (convert_selection): New. Created
7673 convert_selection() function based on get_local_selection().
7674 * select.h, select.c (QCF_*): New symbols representing mswindows
7676 * select.h, select.c (Qreplace_all, Qreplace_existing): New
7677 symbols representing `how-to-add' modes.
7679 * select-msw.c (x_sym_p): New.
7680 * select-msw.c (symbol_to_ms_cf): New.
7681 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
7682 symbols & clipboard formats. Can also handle string names.
7683 * select-msw.c (mswindows_own_selection):
7684 * select-msw.c (mswindows_selection_exists_p):
7685 Added `data-type' parameter. Use it.
7686 * select-msw.c (mswindows_available_selection_types): New.
7687 * select-msw.c (mswindows_register_selection_data_type): New.
7688 * select-msw.c (mswindows_selection_data_type_name): New.
7689 * select-msw.c (mswindows_own_selection):
7690 * select-msw.c (mswindows_get_foreign_selection):
7691 * select-msw.c (mswindows_selection_exists_p): Rewrote.
7692 * select-msw.c (console_create_select_mswindows): Added new methods.
7693 * select-msw.c (mswindows_destroy_selection): New.
7694 * select-msw.c (Vhandle_alist): New list.
7695 * select-msw.c (mswindows_own_selection):
7697 * select-x.c (x_own_selection):
7698 * select-x.c (x_selection_exists_p):
7699 * select-x.c: Added some comments about maybe using new
7701 * select-x.c (x_own_selection):
7703 * specifier.c: Remove definition of Qappend (now in general.c)
7704 * specifier.c (syms_of_specifier): Remove Qappend.
7706 2000-07-12 Martin Buchholz <martin@xemacs.org>
7708 * config.h.in: Add socklen_t.
7710 * s/decosf4-0.h: No special compiler flags needed or desired.
7711 In particular, undefine _BSD for DEC OSF 4.0.
7713 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7715 * redisplay-msw.c (msprinter_frame_output_end): Added.
7716 (console_type_create_redisplay_mswindows): Referred the above.
7718 * frame.c (setup_frame_without_minibuffer): Do not create a
7719 default minibuffer frame on a printer device.
7721 * frame-msw.c (apply_dc_geometry): Added.
7722 (msprinter_start_page):
7723 (msprinter_init_frame_3):
7724 (msprinter_eject_page): Use it.
7726 * console-msw.h (struct msprinter_frame): Added pix_left and top,
7727 and removed residual duplex and orientation properties.
7729 2000-07-11 Martin Buchholz <martin@xemacs.org>
7731 * eval.c (function_argcount): Work around a DEC CC compiler bug.
7733 * unexalpha.c: Remove system prototypes from C sources!
7735 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
7737 * eval.c: Remove references to M-x edit-options in DEFUNs for
7738 `defvar' and `defconst'.
7740 2000-07-09 Martin Buchholz <martin@xemacs.org>
7742 * config.h.in: Remove SMART_INCLUDE hackery.
7745 * config.h.in: Don't use SMART_INCLUDE.
7747 * postgresql.h: Include libpq-fe.h here. Fix typo.
7748 * inline.c: Simply #include "postgresql.h"
7750 - Don't use SMART_INCLUDE
7751 - Use simply "const".
7752 - Use standard doc string conventions.
7753 - Use correct type for result of PQstatus.
7755 2000-07-09 Martin Buchholz <martin@xemacs.org>
7757 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
7759 C++ compilation changes.
7760 * config.h.in (EXTERN_C): Define.
7761 * config.h.in (not): This is also a C++ keyword.
7762 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
7763 * cm.c: Use EXTERN_C.
7764 * redisplay-tty.c: Use EXTERN_C.
7765 * sysdep.c: Use EXTERN_C. Remove Gould support.
7767 2000-07-09 Martin Buchholz <martin@xemacs.org>
7769 * general.c: Remove duplicate definition for Qfunction.
7771 2000-07-08 Ben Wing <ben@xemacs.org>
7773 * device-msw.c (msprinter_init_device):
7774 * device-msw.c (sync_printer_with_devmode):
7775 * device-msw.c (handle_devmode_changes):
7776 * device-msw.c (print_dialog_worker):
7777 * device-msw.c (Fmsprinter_apply_settings):
7778 * device-msw.c (hash_devmode):
7779 * device-msw.c (Fmsprinter_settings_despecialize):
7780 use Qmswindows_tstr, not Qctext.
7782 * vm-limit.c (check_memory_limits):
7783 avoid infinite loop printing warning messages.
7785 2000-07-05 Craig Lanning <lanning@scra.org>
7787 * Makefile.in.in: Add support for including the Windows resources
7788 when building with the cygwin and mingw targets.
7790 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
7791 not set or not correct.
7792 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
7793 (init_initial_directory): Don't try to use $PWD on the
7794 WIN32_NATIVE target.
7797 [[Add -mwindows to eliminate console window.]] not required --ben
7798 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7799 (MAIL_USE_POP): removed; now handled by configure.
7801 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
7802 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
7803 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7804 (MAIL_USE_POP): removed; now handled by configure.
7805 (ENCAPSULATE_STAT): from Dan Holmsand, added.
7806 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
7807 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
7809 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
7810 up from <winsock.h> via systime.h.
7811 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
7812 (getpagesize): from Dan Holmsand, added.
7813 Added #endif which was left dangling by Ben's mega patch; added
7814 comment to help prevent this in the future.
7816 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
7818 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7820 * console-msw.h (struct mswindows_device): Removed unnecessary
7821 cached device geometry values.
7822 Added update_tick and an accessor macro.
7823 (Lisp_Devmode): Added lrecord declaration.
7824 (struct msprinter_device): Contain devmode as a Lisp object.
7825 Added mswindows_get_selected_frame_hwnd();
7827 * console.h (struct console_methods): Indentation nitpicking.
7829 * device-msw.c (mswindows_init_device): Do not initialize geometry
7830 cache. Initialize update tick.
7831 (mswindows_device_system_metrics): Ask the device for its geometry.
7832 (global_free_2_maybe):
7833 (devmode_to_hglobal):
7834 (handle_printer_changes):
7835 (ensure_not_printing):
7836 (print_dialog_worker):
7837 (Fmsprinter_print_setup_dialog):
7838 (Fmsprinter_print_dialog):
7841 (Fmsprinter_page_setup_dialog): Added functions.
7842 (sync_printer_with_devmode):
7843 (handle_devmode_changes):
7844 (Fmsprinter_get_settings):
7845 (Fmsprinter_select_settings):
7846 (Fmsprinter_apply_settings):
7848 (Fmsprinter_settings_copy):
7849 (Fmsprinter_settings_despecialize):
7853 (hash_devmode): Added functions
7854 (syms_of_device_mswindows): Init devmode lrecord class.
7856 * device.h: Added an exfun for find-device.
7858 * event-msw.c (mswindows_wnd_proc): Do not update the cached
7859 geometry; although, recreate the device compatible DC.
7861 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
7862 (msprinter_init_frame_3):
7863 (msprinter_frame_property):
7864 (msprinter_internal_frame_property_p):
7865 (msprinter_frame_properties):
7866 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
7867 print job properties (will move to device settings).
7869 * lisp.h: Added symbols.
7871 * general.c (syms_of_general): Declared them.
7873 * hash.c (string_hash): Added.
7875 * lrecord.h (lrecord_type): Added devmode lrecord type.
7877 2000-07-02 Mike Sperber <mike@xemacs.org>
7879 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
7882 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
7884 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
7887 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
7889 * data.c (Fstring_to_number): Don't recognize floating point if
7892 2000-06-22 Martin Buchholz <martin@xemacs.org>
7894 * glyphs-widget.c (tab_control_query_geometry):
7895 (widget_query_geometry):
7896 (button_query_geometry):
7897 * glyphs.c (text_query_geometry):
7898 Enforce type correctness.
7900 2000-06-18 Martin Buchholz <martin@xemacs.org>
7902 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
7903 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
7905 2000-06-17 Martin Buchholz <martin@xemacs.org>
7907 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
7908 conflicts with gcc's fixincluded version of FOO.h.
7910 * glyphs.h (image_instance_geometry): Remove trailing `,'
7912 2000-06-08 Mike Alexander <mta@arbortext.com>
7914 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
7915 (shove_thread): Don't write the same output twice
7916 (make_ntpipe_output_stream): Increase priority of shove thread
7917 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
7919 (ntpipe_shove_closer): Don't delete the pipe until we're done with
7922 2000-06-12 Ben Wing <ben@xemacs.org>
7924 * s\mingw32.h (sigset):
7925 * s\windowsnt.h (sigset):
7926 rename msw_ to mswindows_ for consistency with general convention.
7928 2000-06-12 Ben Wing <ben@xemacs.org>
7931 * console-msw.c (mswindows_get_console_hwnd):
7932 * console-msw.c (mswindows_ensure_console_allocated):
7933 * console-msw.c (mswindows_hide_console):
7934 * console-msw.c (mswindows_show_console):
7935 * console-msw.c (mswindows_ensure_console_buffered):
7936 * console-msw.c (mswindows_output_console_string):
7937 * console-msw.c (mswindows_windows9x_p):
7939 * device-msw.c (mswindows_get_workspace_coords):
7940 * device-msw.c (mswindows_device_system_metrics):
7941 * dialog-msw.c (mswindows_popup_dialog_box):
7942 * event-msw.c (mswindows_wnd_proc):
7943 * frame-msw.c (mswindows_size_frame_internal):
7944 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7945 * menubar-msw.c (displayable_menu_item):
7946 * menubar-msw.c (mswindows_char_is_accelerator):
7948 * nt.c (mswindows_sigset):
7949 * nt.c (mswindows_sigrelse):
7950 * nt.c (mswindows_sigpause):
7951 * nt.c (mswindows_raise):
7952 * nt.c (timer_proc):
7954 * ntproc.c (find_child_console):
7955 * ntproc.c (sys_kill):
7957 * print.c (std_handle_out_external):
7958 * process-nt.c (find_child_console):
7959 * process-nt.c (send_signal_the_95_way):
7960 * process-nt.c (ensure_console_window_exists):
7961 * process-nt.c (nt_create_process):
7963 rename msw_ to mswindows_ for consistency with general convention.
7967 include nt.h, not syswindows.h.
7969 * nt.c (mswindows_fstat):
7970 * nt.c (mswindows_stat):
7971 prefix mswindows_ instead of attempting to directly override the
7972 library functions. fix declarations.
7975 include syswindows.h. move some sysdep.h stuff here.
7978 include syswindows.h, not <windows.h>.
7986 * sysdep.c (sys_fstat):
7987 * sysdep.c (sys_stat):
7988 call mswindows versions when appropriate.
7991 move mswin decls to nt.h.
7994 add long comment describing appropriate use of the various windows
7997 2000-06-11 Ben Wing <ben@xemacs.org>
7999 * device-x.c: Correct doc string for sixth arg of x-get-resource.
8001 2000-06-10 Ben Wing <ben@xemacs.org>
8003 * Makefile.in.in (release):
8004 Correction to make sure xemacs.exe always dumped when correct.
8008 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
8010 * buffer.c (set_buffer_internal):
8011 [[[[2]]]]: Remove HAVE_FEP code.
8013 * buffer.c (init_initial_directory):
8017 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
8021 * callproc.c (call_process_cleanup):
8022 * callproc.c (Fold_call_process_internal):
8023 * callproc.c (child_setup):
8024 * callproc.c (getenv_internal):
8025 * callproc.c (init_callproc):
8026 * callproc.c (vars_of_callproc):
8027 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
8028 __CYGWIN32__ -> CYGWIN.
8029 DOS_NT -> WIN32_NATIVE.
8030 Remove MSDOS support/references, converting to WIN32_NATIVE
8032 __MINGW32__ -> MINGW.
8033 Fix windows.h includes.
8034 Remove bogus HAVE_NTGUI.
8040 mswindows_message_outputted added for use in allowing startup
8041 errors on the console to be seen.
8043 * console-msw.c (msw_ensure_console_allocated):
8044 * console-msw.c (msw_output_console_string):
8045 * console-msw.c (DHEADER):
8046 * console-msw.c (DOPAQUE_DATA):
8047 * console-msw.c (DEVENT):
8048 * console-msw.c (DCONS):
8049 * console-msw.c (DCONSCDR):
8050 * console-msw.c (DSTRING):
8051 * console-msw.c (DVECTOR):
8052 * console-msw.c (DSYMBOL):
8053 * console-msw.c (DSYMNAME):
8056 * console-stream.c (stream_init_console):
8057 Fix text/binary problems.
8060 * device-msw.c (mswindows_finish_init_device):
8061 * device-msw.c (mswindows_delete_device):
8064 * device.c (handle_asynch_device_change):
8068 * dgif_lib.c (DGifOpenFileName):
8069 * dgif_lib.c (DGifOpenFileHandle):
8070 * dgif_lib.c (DGifGetLine):
8071 * dgif_lib.c (DGifGetPixel):
8072 Added config.h/lisp.h, fix up includes.
8079 * dired.c (file_name_completion):
8080 * dired.c (Ffile_attributes):
8081 * dired.c (syms_of_dired):
8085 * dumper.c (pdump_file_unmap):
8086 * dumper.c (pdump_load):
8090 * editfns.c (Ftemp_directory):
8091 * editfns.c (user_login_name):
8092 * editfns.c (Fuser_real_login_name):
8093 * editfns.c (get_home_directory):
8096 * elhash.c (finish_marking_weak_hash_tables):
8097 [[[[5]]]]: Fix GCC warnings.
8100 * emacs.c (mswindows_handle_hardware_exceptions):
8101 * emacs.c (make_arg_list_1):
8103 * emacs.c (Fkill_emacs):
8104 * emacs.c (Fdump_emacs):
8106 Fix problems with nested crashes, add long comment.
8108 * event-Xt.c (init_event_Xt_late):
8112 * event-msw.c (mswindows_dde_callback):
8113 * event-msw.c (mswindows_handle_sticky_modifiers):
8114 * event-msw.c (mswindows_wnd_proc):
8118 * events.c (character_to_event):
8122 * fileio.c (Ffile_name_directory):
8123 * fileio.c (Ffile_name_nondirectory):
8124 * fileio.c (directory_file_name):
8125 * fileio.c (Fexpand_file_name):
8126 * fileio.c (Fsubstitute_in_file_name):
8127 * fileio.c (Ffile_name_absolute_p):
8128 * fileio.c (check_executable):
8129 * fileio.c (Ffile_readable_p):
8130 * fileio.c (Ffile_accessible_directory_p):
8131 * fileio.c (Ffile_modes):
8132 * fileio.c (Funix_sync):
8133 * fileio.c (vars_of_fileio):
8136 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
8138 Expand getdefdir defn.
8139 Fix bogus rename() comment.
8141 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
8142 to use standard XEmacs include files, e.g. sysfile.h, rather
8143 than system-specific includes.
8149 * frame.c (vars_of_frame):
8153 * getloadavg.c (getloadavg):
8155 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
8156 (We don't use it elsewhere in the code; just add a comment.)
8163 * glyphs-msw.c (mswindows_resource_instantiate):
8166 * glyphs-x.c (x_native_layout_instantiate):
8169 * gui-msw.c (Fmswindows_shell_execute):
8178 * lread.c (locate_file_in_directory_mapper):
8185 * mem-limits.h (get_lim_data):
8197 * nt.c (rva_to_section):
8198 * nt.c (mswindows_executable_type):
8200 Fix closedir() defn.
8203 [[[[8]]]]: *_OK defs moved to sysfile.h.
8212 * print.c (std_handle_out_external):
8216 * process-nt.c (nt_create_process):
8218 try to fix process quoting somewhat.
8220 * process-unix.c (unix_create_process):
8224 * process.c (vars_of_process):
8231 * realpath.c (xrealpath):
8234 * redisplay-tty.c (init_tty_for_redisplay):
8244 * sheap.c (more_static_core):
8245 * sheap.c (report_sheap_usage):
8249 * signal.c (alarm_signal):
8256 * strftime.c (zone_name):
8259 * symsinit.h (init_sunpro):
8263 commctrl.h not in Cygwin b20.1.
8267 * sysdep.c (sys_subshell):
8268 * sysdep.c (init_baud_rate):
8269 * sysdep.c (emacs_get_tty):
8270 * sysdep.c (emacs_set_tty):
8271 * sysdep.c (tty_init_sys_modes_on_device):
8272 * sysdep.c (init_system_name):
8273 * sysdep.c (sys_open):
8274 * sysdep.c (interruptible_open):
8275 * sysdep.c (sys_fopen):
8276 * sysdep.c (sys_mkdir):
8277 * sysdep.c (sys_rename):
8278 * sysdep.c (get_process_times_1):
8285 * sysdir.h (DIRENTRY_NONEMPTY):
8288 * sysdll.c (dll_init):
8294 added text/binary defs.
8300 * sysproc.h (EDESTADDRREQ):
8301 * sysproc.h (poll_fds_for_input):
8318 Always define WIN32_LEAN_AND_MEAN.
8320 * unexcw.c (unexec):
8324 * unexec.c (copy_text_and_data):
8325 * unexec.c (adjust_lnnoptrs):
8329 * unexnt.c (_start):
8332 2000-06-07 Ben Wing <ben@xemacs.org>
8334 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
8335 was used only as a model. We've long since extracted any useful
8336 logic or code out of this. (I just did an exhaustive search.)
8338 * s\msdos.h: Removed.
8340 * s\windows95.h: Removed.
8342 2000-06-10 Ben Wing <ben@xemacs.org>
8346 Don't use extern with fun defs.
8350 Remove nt\inc include.
8351 Remove getdisk, getdefdir. (The former is unused, the latter
8352 expanded in fileio.h.)
8355 * s\windowsnt.h (WIN32_NATIVE):
8356 * s\windowsnt.h (HAVE_STRCASECMP):
8358 Add long comment about preprocessor changes.
8359 Remove getdisk, getdefdir. (The former is unused, the latter
8360 expanded in fileio.h.)
8362 2000-06-10 Ben Wing <ben@xemacs.org>
8371 Remove bogus/unused NO_SOCK_SIGIO.
8373 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
8375 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
8378 2000-06-04 Mike Sperber <mike@xemacs.org>
8380 * casetab.c (set_case_table): For `set-standard-case-table',
8381 actually deposit the new case tables where the rest of XEmacs can
8384 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
8386 * data.c (Faset): Don't cast XCHAR() to unsigned char.
8388 2000-06-05 Ben Wing <ben@xemacs.org>
8390 * callproc.c (child_setup): Don't do close_load_descs() under
8391 MS Windows. Put in a comment explaining why.
8393 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
8395 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
8396 Toolkit shell" which breaks `kill-compilation' on Windows NT
8397 native, retaining STDERR handling improvements.
8399 2000-06-01 Andreas Jaeger <aj@suse.de>
8401 * s/s390.h: Support for S390, based on a patch by Martin
8402 Schwidefsky <schwidefsky@de.ibm.com>.
8404 2000-05-30 Andy Piper <andy@xemacs.org>
8406 * window.c (allocate_window):
8407 (make_dummy_parent):
8408 (Fset_window_configuration): use new hashtable type.
8410 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
8411 (struct image_instantiator_methods):
8412 (struct Lisp_Image_Instance): make instance geometry signed.
8414 * glyphs.c (instantiate_image_instantiator):
8415 (image_instance_query_geometry):
8416 (image_instance_layout):
8417 (image_instance_layout):
8418 (query_string_geometry):
8419 (text_query_geometry):
8420 (image_instantiate):
8421 (image_instantiate):
8422 (cache_subwindow_instance_in_frame_maybe):
8423 (subwindow_query_geometry): make instance geometry signed.
8425 * glyphs-widget.c (widget_query_geometry):
8427 (button_query_geometry):
8428 (tree_view_query_geometry):
8429 (tab_control_query_geometry):
8430 (layout_query_geometry):
8432 (native_layout_layout): make instance geometry signed.
8434 2000-05-29 Olivier Galibert <galibert@pobox.com>
8436 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
8439 * general.c (syms_of_general): Add Qfull_assoc symbol.
8441 * data.c (finish_marking_weak_lists): Mark full-assoc lists
8443 (decode_weak_list_type): Decode full-assoc type.
8444 (encode_weak_list_type): Encode full-assoc type.
8445 (Fmake_weak_list): Update doc string.
8447 2000-05-30 Andy Piper <andy@xemacs.org>
8449 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
8451 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
8452 (decode_hash_table_weakness): ditto.
8453 (Fhash_table_weakness): ditto.
8454 (Fhash_table_type): ditto.
8455 (finish_marking_weak_hash_tables): ditto.
8456 (hash_table_weakness_validate): ditto.
8457 (syms_of_elhash): ditto.
8459 2000-05-28 Martin Buchholz <martin@xemacs.org>
8461 * XEmacs 21.2.34 is released.
8463 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8465 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
8467 (updating_line_start_cache): Gone.
8468 (regenerate_window): Replace resetting of VERTICAL_CLIP by
8469 generic code to force a minimum of 1 line laid out in the
8472 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8474 * glyphs.c (instantiate_image_instantiator): Check for initialized
8475 height & width no longer special cases IMAGE_NOTHING.
8476 (nothing_instantiate): Set height and width of instance.
8478 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8480 * unexelf.c (unexec): Search for ".data" section.
8481 Initialize new_data2_offset from old_data_index.
8482 Remove redundant check for ElfW.
8484 2000-05-23 Andy Piper <andy@xemacs.org>
8486 * glyphs.c (get_image_instantiator_governing_domain): allow more
8487 specific domains as the governing domain rather than expecting an
8488 exact match. This fixes problems with layouts.
8490 2000-05-22 Andy Piper <andy@xemacs.org>
8492 * redisplay-output.c (compare_runes): check for non-images
8494 * glyphs.c (set_glyph_dirty_p): ditto.
8495 (update_glyph_cachel_data): ditto.
8497 * glyphs-widget.c (layout_post_instantiate): ditto.
8498 (layout_post_instantiate): ditto.
8500 * event-msw.c (mswindows_wnd_proc): warning removal.
8502 2000-05-12 Craig Lanning <CraigL@DyCon.com>
8504 * s\mingw32.h: Added #undef for CLASH_DETECTION.
8506 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
8508 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
8510 * nt.c (rva_to_section): mingw32 needs rva_to_section.
8511 (mswindows_executable_type): mingw32 now has enough headers for
8514 2000-05-20 Andy Piper <andy@xemacs.org>
8516 * console-msw.c (mswindows_output_last_error): ; -> ,
8518 2000-05-12 Andy Piper <andy@xemacs.org>
8520 * console-msw.c (FROB): compare ints with ints.
8522 2000-05-11 Andy Piper <andy@xemacs.org>
8524 * glyphs-x.c (x_finalize_image_instance): make minimal build
8527 2000-05-20 Ben Wing <ben@xemacs.org>
8530 * event-Xt.c (vars_of_event_Xt):
8531 move modifier-keys-are-sticky to event-stream.c.
8534 * event-msw.c (mswindows_enqueue_mouse_button_event):
8535 * event-msw.c (key_needs_default_processing_p):
8536 * event-msw.c (XEMSW_LCONTROL):
8537 * event-msw.c (mswindows_handle_sticky_modifiers):
8538 * event-msw.c (FROB):
8539 * event-msw.c (clear_sticky_modifiers):
8540 * event-msw.c (output_modifier_keyboard_state):
8541 * event-msw.c (output_alt_keyboard_state):
8542 * event-msw.c (mswindows_wnd_proc):
8543 * event-msw.c (mswindows_modifier_state):
8544 * event-msw.c (emacs_mswindows_handle_magic_event):
8545 implement sticky modifiers.
8548 * event-stream.c (vars_of_event_stream):
8549 move modifier-keys-are-sticky here.
8555 implement map-range-table.
8558 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
8560 * redisplay-tty.c (reset_tty_modes):
8561 (tty_redisplay_shutdown): Adjust argument type to
8562 tty_frame_output_end.
8564 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8566 * eval.c (Fbacktrace): Don't output a line with only right
8569 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
8571 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
8572 (Fpq_reset_poll): Ditto.
8574 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
8576 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
8578 2000-05-16 Ben Wing <ben@xemacs.org>
8581 * buffer.c (dfc_convert_to/from_internal_format):
8582 * buffer.c (reinit_vars_of_buffer):
8583 Fix conversion functions to allow reentrancy.
8586 * console-msw.c (mswindows_output_last_error):
8587 New fun, generally useful -- output a human-readable
8588 version of GetLastError() on the console.
8591 * console-msw.h (struct mswindows_frame):
8592 Changes for DeferWindowPos. Declare mswindows_output_last_error().
8594 * console-stream.c (stream_output_begin):
8595 * console-stream.c (stream_output_end):
8596 * console-stream.c (stream_output_vertical_divider):
8597 * console-stream.c (stream_clear_region):
8598 * console-stream.c (stream_flash):
8599 * console-stream.c (console_type_create_stream):
8600 Delete blank stream methods, not needed.
8602 * console.h (struct console_methods):
8603 Split begin/end methods into window and frame.
8606 * event-msw.c (mswindows_handle_paint):
8607 * event-msw.c (output_alt_keyboard_state):
8608 * event-msw.c (mswindows_wnd_proc):
8609 * event-msw.c (vars_of_event_mswindows):
8610 Comment about problems with ignored-expose.
8611 Define mswindows-debug-events; not really implemented.
8613 * frame-msw.c (mswindows_init_frame_1):
8617 * glyphs-msw.c (begin_defer_window_pos):
8618 * glyphs-msw.c (mswindows_unmap_subwindow):
8619 * glyphs-msw.c (mswindows_map_subwindow):
8620 * glyphs-msw.c (mswindows_resize_subwindow):
8621 Use DeferWindowPos to reduce flashing when mapping/unmapping.
8623 * glyphs.c (make_image_instance_1):
8626 * gutter.c (Fredisplay_gutter_area):
8627 Use new begin/end methods.
8629 * lisp.h (Dynarr_new2):
8633 * redisplay-msw.c (mswindows_frame_output_begin):
8634 * redisplay-msw.c (mswindows_frame_output_end):
8635 * redisplay-msw.c (console_type_create_redisplay_mswindows):
8636 New begin/end methods -- handle DeferWindowPos.
8638 * redisplay-output.c (redisplay_move_cursor):
8639 * redisplay-output.c (redraw_cursor_in_window):
8640 * redisplay-output.c (redisplay_update_line):
8641 * redisplay-output.c (redisplay_output_window):
8642 New begin/end methods.
8645 * redisplay-tty.c (tty_frame_output_begin):
8646 * redisplay-tty.c (tty_frame_output_end):
8647 * redisplay-tty.c (console_type_create_redisplay_tty):
8648 New begin/end methods.
8651 * redisplay-x.c (x_window_output_begin):
8652 * redisplay-x.c (x_window_output_end):
8653 * redisplay-x.c (console_type_create_redisplay_x):
8654 New begin/end methods.
8656 * redisplay.c (redisplay_frame):
8657 * redisplay.c (Fredisplay_echo_area):
8658 New begin/end methods.
8659 use MAYBE_DEVMETH for clear_frame; it may not exist.
8661 * window.h (WINDOW_XFRAME):
8662 WINDOW_XFOO macros -- get locale and decode struct pointer.
8665 2000-05-12 Ben Wing <ben@xemacs.org>
8668 * emacs.c (ensure_no_quitting_from_now_on):
8669 * emacs.c (fatal_error_signal):
8670 * emacs.c (mswindows_handle_hardware_exceptions):
8672 * emacs.c (Fkill_emacs):
8673 * emacs.c (shut_down_emacs):
8674 * emacs.c (assert_failed):
8675 various improvements in fatal error handling.
8678 move preparing_for_armageddon to emacs.c.
8681 declare fatal_error_in_progress.
8684 * print.c (std_handle_out_external):
8685 * print.c (std_handle_out_va):
8686 * print.c (stderr_out):
8687 * print.c (stdout_out):
8688 use console under mswin when no standard output.
8689 don't do code conversion during fatal error.
8691 * scrollbar.c (Fscrollbar_page_up):
8692 * scrollbar.c (Fscrollbar_page_down):
8693 fix missing else. reindent.
8695 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
8699 * glyphs.h (GLYPH_CACHEL_DESCENT):
8700 (GLYPH_CACHEL_DESCENT):
8701 (GLYPH_CACHEL_DESCENT):
8702 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
8703 used in case these are inline functions.
8704 Use more absurd values to error check.
8706 include window.h for error check functions.
8708 2000-05-11 Ben Wing <ben@xemacs.org>
8710 * cmdloop.c (Freally_early_error_handler):
8711 Display message box under windows; otherwise, message will disappear
8712 before it can be viewed.
8715 * console-msw.c (Fmswindows_message_box):
8716 * console-msw.c (FROB):
8717 * console-msw.c (syms_of_console_mswindows):
8718 Define new fun `mswindows-message-box'.
8719 #### I will merge this into `popup-dialog-box'; just give me
8723 * general.c (syms_of_general):
8724 Some new symbols used in `mswindows-message-box'.
8727 * glyphs.c (Fset_image_instance_property):
8728 put warning in this fun.
8731 * glyphs.h (GLYPH_CACHEL_WIDTH):
8732 * glyphs.h (GLYPH_CACHEL_ASCENT):
8733 * glyphs.h (GLYPH_CACHEL):
8734 * glyphs.h (GLYPH_CACHEL_GLYPH):
8735 define error-checking versions to try to catch a bug i've seen --
8736 redisplay gets in an infinite loop because the glyph width of the
8737 continuation glyph is 65535.
8740 Extern message-box stuff.
8742 * window.c (allocate_window):
8743 * window.c (make_dummy_parent):
8744 * window.c (Fset_window_configuration):
8745 Use EQUAL not EQ for subwindow caches to make them work a bit
8746 better. (Something is still very broken.)
8749 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8751 * glyphs.c (image_instantiate): Suppress gcc warnings.
8752 (Fmake_image_instance): Fix doc string.
8753 * specifier.c (Fmake_specifier): Ditto.
8755 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
8757 * paths.h.in (PATH_LOCK): Removed.
8758 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
8759 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
8761 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8763 * fns.c (Ffeaturep): Update e-mail address in doc-string.
8764 Document (featurep '(and xemacs 21.02)).
8766 2000-05-09 Ben Wing <ben@xemacs.org>
8768 * buffer.c (complex_vars_of_buffer):
8769 update modeline-format doc.
8772 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
8775 timeline of all released versions of Emacs, for use in creating
8776 authorship comments and in synching up.
8778 * glyphs-widget.c (image_instantiator_buttons):
8779 * glyphs-widget.c (image_instantiator_edit_fields):
8780 * glyphs-widget.c (image_instantiator_combo_box):
8781 * glyphs-widget.c (image_instantiator_scrollbar):
8782 * glyphs-widget.c (image_instantiator_progress_guage):
8783 * glyphs-widget.c (image_instantiator_tree_view):
8784 * glyphs-widget.c (image_instantiator_tab_control):
8785 * glyphs-widget.c (image_instantiator_labels):
8786 * glyphs-widget.c (image_instantiator_layout):
8787 * glyphs-widget.c (image_instantiator_native_layout):
8788 rename decode_domain method to governing_domain.
8791 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
8792 * glyphs.c (add_entry_to_device_ii_format_list):
8793 make sure we don't put an entry more than once into the list.
8794 * glyphs.c (check_instance_cache_mapper):
8795 *************************************************************
8796 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
8798 *************************************************************
8799 * glyphs.c (get_image_instantiator_governing_domain):
8800 clean up, expand on new concept of governing domain.
8801 * glyphs.c (instantiate_image_instantiator):
8802 * glyphs.c (allocate_image_instance):
8803 use governing_domain instead of cache_domain in naming.
8804 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
8805 * glyphs.c (make_image_instance_1):
8806 * glyphs.c (Fmake_image_instance):
8807 allow for any domain (not just device), and process the
8808 governing domain correctly. very big doc fix.
8809 * glyphs.c (Fimage_instance_domain):
8810 new primitive, to retrieve the governing domain of an image instance.
8811 * glyphs.c (image_instantiate):
8812 use new governing_domain stuff. this fixes a crash you could get
8813 by instantiating certain widget glyphs in frame locales. (should
8814 signal an error instead of crashing.)
8815 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
8816 * glyphs.c (Fglyphp): clean up doc.
8817 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
8818 * glyphs.c (syms_of_glyphs):
8819 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
8820 * glyphs.c (image_instantiator_format_create): add some comments about
8822 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
8823 for current-display-table. (Apparently Hrjove implemented in 1998 a
8824 design I wrote up in 1996, but didn't update the doc string.)
8826 * glyphs.h: clean up a doc string.
8827 * glyphs.h (governing_domain):
8828 * glyphs.h (struct image_instantiator_methods):
8829 changes for governing_domain stuff.
8832 * gutter.c (Fgutter_specifier_p):
8833 * gutter.c (Fgutter_size_specifier_p):
8834 * gutter.c (Fgutter_visible_specifier_p):
8836 * objects.c (Fcolor_specifier_p):
8837 * objects.c (Ffont_specifier_p):
8838 * objects.c (Fface_boolean_specifier_p):
8839 doc strings moved to make-*-specifier.
8841 * redisplay.c (add_disp_table_entry_runes_1):
8842 * redisplay.c (generate_fstring_runes):
8843 * redisplay.c (screen):
8844 add random comments and doc strings.
8847 * specifier.c (Fmake_specifier):
8848 major overhaul of this doc string.
8850 * specifier.c (Fvalid_specifier_domain_p):
8851 comment about the bogosity of image instances being domains.
8852 * specifier.c (decode_domain):
8853 now non-static, used in glyphs.c.
8854 * specifier.c (specifier_instance):
8855 comment about the bogosity of image instances being domains.
8856 * specifier.c (Fgeneric_specifier_p):
8857 move doc string to make-generic-specifier.
8858 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
8862 * specifier.h (DOMAIN_FRAME):
8863 * specifier.h (DOMAIN_LIVE_P):
8864 * specifier.h (DOMAIN_XDEVICE):
8866 add comments about problems with these macros.
8867 prototype for decode_domain.
8870 * toolbar.c (Ftoolbar_specifier_p):
8871 move doc string to `make-toolbar-specifier'.
8873 * window.c (window_unmap_subwindows_cache_mapper):
8874 *************************************************************
8875 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
8877 *************************************************************
8879 2000-05-09 Andy Piper <andy@xemacs.org>
8881 * glyphs.h: declare reset_frame_subwindow_instance_cache.
8883 * window.c (Fset_window_configuration): reset the frame subwindow
8884 cache and re-initialize the window subwindow caches.
8886 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
8888 2000-05-09 Ben Wing <ben@xemacs.org>
8890 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
8893 2000-04-26 Mike Woolley <mike@bulsara.com>
8895 * ntheap.c: Changed recreate_heap to limit the amount reserved
8896 for the heap to that which is actually available. Also now
8897 displays a message box (with some dignostics) in the event that
8898 it still can't start.
8900 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
8902 * callproc.c (Fold_call_process_internal): GCPRO path
8904 2000-05-08 Jan Vroonhof <jan@xemacs.org>
8906 Patch by Bill Perry.
8908 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
8909 back data instead of #ifdef.
8910 (Fscrollbar_page_down): ditto.
8912 2000-05-07 Ben Wing <ben@xemacs.org>
8915 Kludge for defining Qmswindows_tstr.
8918 * nt.c (open_input_file):
8919 * nt.c (open_output_file):
8920 * nt.c (rva_to_section):
8921 * nt.c (mswindows_executable_type):
8922 Move all memory-mapped-file routines here (some were in unexnt.c,
8923 which is bad because they are used by process-nt.c, and unexnt
8924 won't be around when portable dumping). Synched the above routines
8928 Removed ifdef'd out bogus code.
8929 Fixed some prototypes.
8932 * nt.h (OFFSET_TO_RVA):
8933 * nt.h (RVA_TO_OFFSET):
8934 * nt.h (RVA_TO_PTR):
8935 Moved the memory-mapped-file structures, macros and prototypes
8936 here, to parallel nt.c. ntheap.h should really be removed
8937 entirely, and it's a non-portable-dumper specific file.
8939 * ntheap.h (round_to_next):
8940 Moved the memory-mapped-file structures, macros and prototypes
8943 * ntproc.c (compare_env):
8944 Moved rva_to_section and mswindows_executable_type to nt.c.
8945 Moved compare_env to process-nt.c.
8946 ntproc.c will die, one day.
8948 * ntproc.c (sys_spawnve):
8949 Account for win32_ -> mswindows_.
8952 * process-nt.c (struct nt_process_data):
8953 * process-nt.c (ensure_console_window_exists):
8954 * process-nt.c (compare_env):
8955 * process-nt.c (nt_create_process):
8956 * process-nt.c (nt_kill_process_by_pid):
8957 * process-nt.c (syms_of_process_nt):
8958 * process-nt.c (vars_of_process_nt):
8959 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
8960 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
8961 changes). Eliminate our old `nt-quote-process-args' mechanism.
8962 Synch up nt_create_process with FSF 20.6 sys_spawnve.
8963 Move compare_env here from ntproc.c.
8965 * process.c (Fprocess_send_region):
8966 Takes an optional fourth argument, BUFFER, which should fix some
8967 problems with call-process.
8970 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
8973 Move ICC_BAR_CLASSES to syscommctrl.h.
8974 Add preliminary macros for MSWindows/Mule. More to come.
8977 * unexnt.c (unexec):
8978 open_output_file moved to nt.c.
8981 2000-05-05 Andy Piper <andy@xemacs.org>
8983 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
8984 instance from the frame cache also since GC may catch up too late
8985 to make frame deletion sane.
8987 2000-05-04 Andy Piper <andy@xemacs.org>
8989 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
8990 (x_finalize_image_instance): ungcpro on deletion.
8992 * glyphs.c (image_instantiator_format_create): give pointers a
8993 query geometry method so that the geometry is at least set.
8995 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
8996 initialize layouts if using widgets.
8998 2000-05-03 Andy Piper <andy@xemacs.org>
9000 * nt.c: remove bogus reference to sysmmsystem.h
9002 * gui-x.c (popup_selection_callback): fix no selection abort.
9004 2000-05-02 Andy Piper <andy@xemacs.org>
9006 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
9007 (mswindows_widget_instantiate): ditto.
9009 * glyphs-widget.c (initialize_widget_image_instance): initialize
9011 (widget_instantiate): cope with children and items in the same
9014 * glyphs.c (mark_image_instance): cope with children as a first
9016 (image_instance_equal): ditto.
9017 (image_instance_hash): ditto.
9018 (image_instance_changed): ditto.
9020 2000-04-30 Andy Piper <andy@xemacs.org>
9022 * glyphs.c (subwindow_query_geometry): new function. Return some
9024 (subwindow_instantiate): don't assign dimensions if none have been
9026 (image_instantiator_format_create): add subwindow_query_geometry.
9027 (print_image_instance): cope with layouts as widgets.
9029 2000-04-29 Andy Piper <andy@xemacs.org>
9031 * frame.c (delete_frame_internal): call
9032 free_frame_subwindow_instance_cache so that all subwindows are
9033 finalized before their parent.
9034 (mark_frame): remove subwindow_cachels.
9035 (Fmake_frame): remove subwindow_cachel manipulation.
9036 (allocate_frame_core): subwindow_instance_cache is a weak list.
9037 (delete_frame_internal): set subwindow_instance_cache to nil.
9039 * glyphs-msw.c (mswindows_finalize_image_instance): make double
9041 (mswindows_finalize_image_instance): use the device
9042 not the domain as the domain may have died already.
9044 * glyphs-x.c (x_finalize_image_instance): ditto.
9045 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
9048 * redisplay-output.c (redisplay_unmap_subwindows): update for
9049 subwindow instance cache as a weak list.
9050 (redisplay_unmap_subwindows_maybe): ditto.
9051 (redisplay_unmap_subwindows_except_us): ditto.
9053 * glyphs.c (unmap_subwindow): error checking will check the domain
9054 so don't deal with it here. Don't use cachels anymore.
9055 (map_subwindow): ditto.
9056 (update_subwindow_cachel_data): remove old accessor names.
9057 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
9058 (Fresize_subwindow): don't update cachel.
9059 (mark_subwindow_cachels):
9060 (update_subwindow_cachel_data):
9061 (add_subwindow_cachel):
9062 (get_subwindow_cachel_index):
9063 (update_subwindow_cachel):
9064 (reset_subwindow_cachels):
9065 (mark_subwindow_cachels_as_not_updated): deleted.
9066 (cache_subwindow_instance_in_frame_maybe): new function. Add a
9067 subwindow instance to the frame cache.
9068 (find_matching_subwindow): update for subwindow instance cache as
9070 (update_widget_instances): ditto.
9071 (image_instance_type_to_mask):inlined.
9072 (free_frame_subwindow_instance_cache): new function. finalize all
9073 subwindows that are instantiated.
9075 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
9076 of cachel information.
9077 (IMAGE_INSTANCE_DISPLAY_X):
9078 (IMAGE_INSTANCE_DISPLAY_Y):
9079 (IMAGE_INSTANCE_DISPLAY_WIDTH):
9080 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
9081 (XIMAGE_INSTANCE_DISPLAY_X):
9082 (XIMAGE_INSTANCE_DISPLAY_Y):
9083 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
9084 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
9085 remove subwindow_cachel structure and function references.
9086 (image_instance_type_to_mask): inline from glyphs.c
9088 * redisplay.c (redisplay_frame): remove subwindow_cachel
9091 * frame.h (struct frame): remove subwindow_cachels.
9092 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
9094 * frameslots.h: add subwindow_instance_cache.
9096 * window.c (replace_window): check subwindow cache of replacement.
9097 (window_unmap_subwindows_cache_mapper):
9098 (window_unmap_subwindows): new functions. Unmap all subwindows
9099 cached on this window.
9100 (mark_window_as_deleted): unmap all subwindows.
9102 2000-04-27 Andy Piper <andy@xemacs.org>
9104 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
9106 * glyphs-widget.c (widget_layout): return something.
9107 (layout_layout): return something. Fail if not initialized.
9108 (layout_query_geometry): ditto.
9109 (image_instantiator_native_layout): new function. Initialized the
9111 (widget_instantiate): don't do layout stuff here.
9113 * glyphs.c (instantiate_image_instantiator): reorded calling or
9114 instantiate and post_instantiate with layout in between.
9115 (image_instance_layout): be more selective about deciding whether
9116 the layout has been done or not.
9118 * glyphs.h (struct image_instantiator_methods): return a value
9121 2000-04-26 Andy Piper <andy@xemacs.org>
9123 * glyphs.c (allocate_image_instance): make initial width and
9124 height unspecified. Set initialized to 0.
9126 * syscommctrl.h new file. Encapsulates commctrl.h.
9128 * syswindows.h new file. Encapsulates windows.h.
9130 * ntplay.c: use new syswindows.h and syscommctrl.h header.
9132 * console-msw.h: ditto.
9134 * redisplay-tty.c (tty_output_display_block): remove layout references.
9136 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
9137 window handle rather than just the frame.
9139 * glyphs.c (mark_image_instance): remove layout references.
9140 (print_image_instance): ditto.
9141 (image_instance_equal): ditto.
9142 (image_instance_hash): ditto.
9143 (decode_image_instance_type): ditto.
9144 (encode_image_instance_type): ditto.
9145 (image_instantiate): ditto.
9146 (allocate_glyph): ditto.
9147 (Fimage_instance_height): ditto.
9148 (Fimage_instance_width): ditto.
9149 (update_subwindow): ditto.
9151 * redisplay-x.c (x_output_display_block): recode for layouts as
9154 * redisplay-output.c (redisplay_output_layout): recode for layouts
9156 (compare_runes): remove layout references.
9158 * redisplay-msw.c (mswindows_output_display_block): recode for
9161 * glyphs-widget.c (image_instantiator_layout): remove
9162 layout_possible_dest_types.
9163 (layout_possible_dest_types): deleted.
9165 * glyphs.h (image_instance_type): remove layout references.
9166 (struct Lisp_Image_Instance): ditto. Add initialized flag.
9167 (IMAGE_INSTANCE_INITIALIZED): new accessor.
9168 (XIMAGE_INSTANCE_INITIALIZED): ditto.
9170 2000-04-25 Andy Piper <andy@xemacs.org>
9172 * glyphs-widget.c (image_instantiator_buttons):
9173 (image_instantiator_edit_fields):
9174 (image_instantiator_combo_box):
9175 (image_instantiator_scrollbar):
9176 (image_instantiator_progress_guage):
9177 (image_instantiator_tree_view):
9178 (image_instantiator_tab_control):
9179 (image_instantiator_labels):
9180 (image_instantiator_layout): call default post_instantiate method.
9181 (widget_post_instantiate): new function. Simply lays out the
9184 * glyphs.h (struct image_instantiator_methods): add
9185 post_instantiate method.
9187 * glyphs.c (instantiate_image_instantiator): add post_instantiate
9190 2000-04-23 Andy Piper <andy@xemacs.org>
9192 * glyphs.h (struct image_instantiator_methods): add
9193 decode_domain_method.
9194 (struct Lisp_Image_Instance): remove subwindow frame - it can be
9195 derived from the domain.
9196 (IMAGE_INSTANCE_FRAME): new accessor.
9197 (XIMAGE_INSTANCE_FRAME): ditto.
9199 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
9200 instead of _SUBWINDOW_FRAME.
9201 (finalize_image_instance): ditto.
9202 (Fimage_instance_foreground): ditto.
9203 (Fimage_instance_background): ditto.
9204 (image_instantiate): ditto.
9205 (update_subwindow_cachel): ditto.
9206 (update_subwindow): ditto.
9207 (unmap_subwindow): ditto.
9208 (map_subwindow): ditto
9209 (subwindow_instantiate): ditto.
9210 * glyphs-msw.c (mswindows_update_widget): ditto.
9211 (mswindows_progress_gauge_instantiate): ditto.
9212 (mswindows_tab_control_update): ditto.
9213 * glyphs-x.c (x_update_widget): ditto.
9214 (x_widget_instantiate): ditto.
9215 (x_tab_control_instantiate): ditto.
9216 (x_tab_control_update): ditto.
9217 * event-msw.c (mswindows_wnd_proc): ditto
9219 * glyphs-widget.c (image_instantiator_layout): use
9220 subwindow_decode_domain.
9221 (image_instantiator_buttons): ditto.
9222 (image_instantiator_edit_fields): ditto.
9223 (image_instantiator_combo_box): ditto.
9224 (image_instantiator_scrollbar): ditto.
9225 (image_instantiator_progress_guage): ditto.
9226 (image_instantiator_tree_view): ditto.
9227 (image_instantiator_tab_control): ditto.
9228 (image_instantiator_labels): ditto.
9229 (image_instantiator_layout): ditto.
9231 * glyphs.c: add instance error checking to many functions.
9232 (instantiate_image_instantiator): decode device from cache_domain.
9233 (image_instantiate): partially rewrite by using
9234 decode_image_instantiator_domain to determine what domain the
9235 instance needs to be cached in.
9236 (decode_image_instantiator_domain): new function. Determine what
9237 domain the image needs to be cached in.
9238 (check_window_subwindow_cache): new error checking function.
9239 (check_instance_cache_mapper): ditto.
9240 (check_image_instance_structure): ditto.
9241 (subwindow_decode_domain): new function. Encodes a window as a
9242 subwindow's cache domain.
9243 (image_instantiator_format_create): use it for text and
9246 2000-04-21 Andy Piper <andy@xemacs.org>
9248 * glyphs.c (image_instance_device): new function.
9249 (image_instance_frame): new function.
9250 (image_instance_window): new function.
9251 (image_instance_live_p): new function.
9253 * window.c (mark_window_as_deleted): reset the subwindow_instance_
9256 * glyphs.h (struct Lisp_Image_Instance): device->domain.
9257 (IMAGE_INSTANCE_DOMAIN): new accessor.
9258 (XIMAGE_INSTANCE_DOMAIN): ditto.
9260 * glyphs-x.c (x_finalize_image_instance): device->domain.
9262 * glyphs-msw.c (init_image_instance_geometry): device->domain.
9263 (mswindows_finalize_image_instance): ditto.
9265 * glyphs-eimage.c (jpeg_instantiate): device->domain.
9266 (gif_instantiate): ditto.
9267 (png_instantiate): ditto.
9268 (tiff_instantiate): ditto.
9270 * glyphs.c (instantiate_image_instantiator): use domain rather
9272 (mark_image_instance): device -> domain.
9273 (print_image_instance): ditto.
9274 (finalize_image_instance): ditto.
9275 (image_instance_equal): ditto.
9276 (allocate_image_instance): ditto.
9277 (Fcolorize_image_instance): ditto.
9278 (query_string_geometry): ditto.
9279 (image_instantiate): ditto
9280 (query_string_font): ditto.
9281 (image_instantiate): ditto.
9282 (update_subwindow): ditto.
9283 (unmap_subwindow): ditto.
9284 (map_subwindow): ditto.
9285 (subwindow_instantiate): ditto.
9287 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
9288 (DOMAIN_FRAME): ditto.
9289 (DOMAIN_WINDOW): ditto.
9290 (DOMAIN_LIVE_P): ditto.
9291 (XDOMAIN_DEVICE): ditto.
9292 (XDOMAIN_FRAME): ditto.
9293 (XDOMAIN_WINDOW): ditto.
9295 * specifier.c (Fvalid_specifier_domain_p): add image instances as
9296 a valid specifier domain.
9298 2000-04-19 Andy Piper <andy@xemacs.org>
9300 * glyphs-widget.c (syms_of_glyphs_widget): remove
9301 widget-callback-current-channel.
9302 (vars_of_glyphs_widget): ditto.
9305 * gui.c (get_gui_callback): revert to previous behaviour.
9307 2000-04-18 Andy Piper <andy@xemacs.org>
9309 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
9310 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
9311 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
9313 * glyphs.c (image_instance_equal): add margin_width.
9314 (image_instance_hash): ditto.
9316 * glyphs-widget.c (widget_instantiate): deal with margin-width.
9317 (layout_query_geometry): ditto.
9318 (layout_layout): ditto.
9319 (syms_of_glyphs_widget): add margin-width.
9320 (image_instantiator_layout): allow margin-width.
9322 * glyphs.c (update_widget_instances): make a normal function.
9323 (syms_of_glyphs): remove Qupdate_widget_instances.
9326 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
9327 so that we don't corrupt ideas about the last event or
9328 command. Remove widget-callback-current-channel fiddling.
9329 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9331 2000-05-01 Martin Buchholz <martin@xemacs.org>
9333 * XEmacs 21.2.33 is released.
9335 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
9337 * make-src-depend: Allow dots in header file name.
9339 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
9341 * mule-charset.h (struct charset_lookup): Add
9342 next_allocated_1_byte_leading_byte and
9343 next_allocated_2_byte_leading_byte.
9344 * mule-charset.c: Move above two variables so that those values
9347 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
9349 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
9350 when string length is zero.
9351 (find_charsets_in_emchar_string): Ditto.
9353 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
9355 * lisp.h: extern Qdialog and Qmenubar.
9357 * gui-x.c: added events.h.
9358 also fixed typo which made the file uncompilable.
9360 * general.c: Added Qmenubar and Qdialog
9362 2000-04-28 Ben Wing <ben@xemacs.org>
9364 * frame-msw.c (mswindows_init_frame_1):
9365 * frame-msw.c (mswindows_mark_frame):
9366 * event-msw.c (mswindows_enqueue_dispatch_event):
9368 * console-msw.h (struct mswindows_frame):
9369 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
9370 there are now three hash tables for callbacks.
9371 mswindows_enqueue_dispatch_event is no longer static.
9373 * dialog-x.c (maybe_run_dbox_text_callback):
9374 * dialog-x.c (dbox_descriptor_to_widget_value):
9375 switch to new cons3 form for callbacks.
9377 * glyphs-msw.c (mswindows_register_gui_item):
9378 * glyphs-msw.c (mswindows_widget_instantiate):
9379 * glyphs-msw.c (add_tree_item):
9380 * glyphs-msw.c (add_tab_item):
9381 new image instance parameter, so it can be passed to callback-ex.
9382 respect :callback-ex as well as :callback.
9384 * glyphs-widget.c (VALID_GUI_KEYWORDS):
9387 * glyphs.c (print_image_instance):
9388 prettify, e.g. now prints widget type.
9391 certain funs have new image instance parameter.
9394 * gui.c (get_gui_callback):
9395 * gui.c (gui_item_add_keyval_pair):
9396 * gui.c (gui_item_init):
9397 * gui.c (gui_add_item_keywords_to_plist):
9398 * gui.c (mark_gui_item):
9399 * gui.c (gui_item_hash):
9400 * gui.c (gui_item_equal):
9401 * gui.c (copy_gui_item):
9402 * gui.c (syms_of_gui):
9403 recognize callback-ex in a number of places.
9404 also, fix the annoying "can't get out of yes-no dialog" bug.
9407 * gui.h (struct Lisp_Gui_Item):
9408 recognize callback-ex in a number of places.
9410 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9411 new parameter in button_item_to_widget_value.
9413 * glyphs-x.c (x_update_widget):
9414 * glyphs-x.c (x_button_instantiate):
9415 * glyphs-x.c (x_button_update):
9416 * glyphs-x.c (x_progress_gauge_instantiate):
9417 * glyphs-x.c (x_edit_field_instantiate):
9418 * glyphs-x.c (x_combo_box_instantiate):
9419 * glyphs-x.c (x_tab_control_instantiate):
9420 * glyphs-x.c (x_label_instantiate):
9421 new image instance parameter in various places.
9424 * event-Xt.c (enqueue_Xt_dispatch_event):
9425 this fun gets exported.
9428 * gui-msw.c (mswindows_handle_gui_wm_command):
9429 handle both :callback and :callback-ex, and generate our own
9430 event because it's one of the callback-ex arguments.
9433 * gui-x.c (popup_selection_callback):
9434 handle both :callback and :callback-ex, and generate our own
9435 event because it's one of the callback-ex arguments.
9436 * gui-x.c (button_item_to_widget_value):
9437 * gui-x.c (gui_items_to_widget_values_1):
9438 * gui-x.c (gui_item_children_to_widget_values):
9439 * gui-x.c (gui_items_to_widget_values):
9440 new image instance parameter in various places.
9442 * fns.c (Freplace_list):
9443 fix small typo in doc string.
9446 declare enqueue_Xt_dispatch_event.
9448 2000-04-28 Ben Wing <ben@xemacs.org>
9451 * buffer.c (Frecord_buffer):
9452 * buffer.c (syms_of_buffer):
9453 delete record-buffer-hook.
9456 * fns.c (Freplace_list):
9457 * fns.c (syms_of_fns):
9458 new primitive replace-list.
9461 slot for old buffer-alist.
9467 * redisplay.c (redisplay_frame):
9468 * redisplay.c (syms_of_redisplay):
9469 * redisplay.c (vars_of_redisplay):
9470 new hook buffer-list-changed-hook.
9473 2000-04-27 Ben Wing <ben@xemacs.org>
9475 * extents.h: extern in_modeline_generation.
9477 * redisplay.c (generate_formatted_string_db): set
9478 in_modeline_generation.
9480 * extents.c (extent_changed_for_redisplay): don't mark redisplay
9481 flags if in modeline generation. otherwise frame-modified-tick
9482 is ticked far too often.
9483 Declare in_modeline_generation.
9485 2000-04-26 Ben Wing <ben@xemacs.org>
9487 * emacs.c (vars_of_emacs): document quick-build "error-checking"
9489 (vars_of_emacs): add quick-build as an error-checking option.
9490 A bit kludgy, but there doesn't seem much point in creating
9491 a real var for this.
9493 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
9495 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
9497 * redisplay.h (struct display_line): Add a new variable,
9500 * redisplay.c (create_text_block): Set dl->line_continuation if
9502 (create_string_text_block): Ditto.
9503 (regenerate_window_incrementally): Use line_continuation instead
9504 of searching continuation glyph.
9505 (add_margin_runes): Call add_glyph_rune.
9506 (add_glyph_rune): Handle margin glyph.
9508 2000-04-20 Martin Buchholz <martin@xemacs.org>
9510 * filelock.c (fill_in_lock_file_name):
9512 Check for IS_ANY_SEP instead of '/'.
9514 Avoid generating gratuitous garbage. Call user_login_name() directly.
9515 Never check errno without first seeing that system call failed.
9516 (unlock_file): Add GCPRO.
9517 (Flock_buffer): Fix docstring.
9518 (Ffile_locked_p): Fix docstring. Add GCPRO.
9520 2000-04-19 Martin Buchholz <martin@xemacs.org>
9522 * sysdep.c (get_pty_max_bytes):
9523 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
9524 strings longer than 252 bytes.
9526 * md5.c: Unconditionally include ANSI header <limits.h>
9528 * glyphs-x.c (convert_EImage_to_XImage):
9529 * lisp-union.h (union Lisp_Object):
9530 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
9532 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9534 * filelock.c (current_lock_owner): Remove unused variable o, p.
9536 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
9538 * callint.c: Remove multiply defined symbol Qlet
9539 (syms_of_callint): ditto.
9541 2000-04-14 Andy Piper <andy@xemacs.org>
9543 * general.c (syms_of_general): add last-command, this-command, let
9546 * lisp.h: declare various symbols.
9548 * glyphs.h: declare Qwidget_callback_current_channel;
9550 * glyphs-widget.c (syms_of_glyphs_widget): add
9551 Qgui_callback_current_channel.
9552 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
9554 * gui-msw.c (mswindows_handle_gui_wm_command): bind
9555 widget-callback-current-channel when invoking the interactive
9556 arg. Also bind last-command and next-command when invoking the
9558 * gui-x.c (popup_selection_callback): ditto.
9560 * gui.c (get_gui_callback): massage args so that we are always
9561 calling eval. This allows us to add our own variable bindings
9564 * glyphs-x.c (x_button_instantiate): use
9565 gui_items_to_widget_values since this is GC safe.
9566 (x_progress_gauge_instantiate): ditto.
9567 (x_edit_field_instantiate): ditto.
9568 (x_label_instantiate): ditto.
9570 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
9571 (emacs_Xt_event_widget_focus_out): new function
9572 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
9574 (emacs_Xt_event_add_widget_actions): new function. add focus
9575 functions as actions.
9576 (init_event_Xt_late): use it.
9578 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
9580 * event-stream.c (Fdispatch_event): Doc fix.
9582 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
9584 * postgresql.c: Remove all references to PQsetenv*.
9586 * postgresql.h: Remove references to PGsetenvHandler object.
9587 * lrecord.h (lrecord_type): Ditto.
9589 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9591 * glyphs-msw.h (struct mswindows_image_instance_data): Added
9592 real_heigh and real_width members, and accessor macros for these.
9594 * glyphs-msw.c (init_image_instance_geometry): New function.
9595 (init_image_instance_from_dibitmap): Use it.
9596 (mswindows_resource_instantiate): Use it.
9597 (init_image_instance_from_xbm_inline): Use it.
9598 (mswindows_initialize_image_instance_mask): Use real bitmap
9600 (mswindows_create_resized_bitmap): Ditto.
9601 (mswindows_create_resized_mask): Ditto.
9603 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
9604 and bitmap to their surface size.
9606 2000-04-11 Jan Vroonhof <jan@xemacs.org>
9608 * process-unix.c (unix_send_process): Guard against process MIA
9609 after Faccept_process_output.
9611 2000-04-11 Ben Wing <ben@xemacs.org>
9613 * eval.c (unbind_to_hairy): fix brokenness introduced by
9614 nanosecond speed improvements.
9616 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
9618 * sunplay.c (init_device): To play sounds correctly, the device
9619 apparently needs to be initialized at least once by XEmacs. Make
9622 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
9624 * redisplay.c (add_margin_runes): Add text image glyph
9627 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9629 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
9630 gcc is newer than 2.5.
9632 2000-04-06 Colin Rafferty <colin@xemacs.org>
9634 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
9636 * fns.c (size_bit_vector):
9637 * alloc.c (size_vector):
9638 (make_vector_internal):
9639 (make_bit_vector_internal):
9640 (sweep_bit_vectors_1):
9641 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
9643 2000-04-06 Andy Piper <andy@xemacs.org>
9645 * gmalloc.c (malloc): undo previous change.
9650 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
9652 * line-number.c (buffer_line_number): Revert to former version.
9654 2000-04-06 Andy Piper <andy@xemacs.org>
9656 * gmalloc.c (malloc): add error checking.
9661 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
9662 button_item_to_widget_value arg.
9664 * glyphs-x.c (x_button_instantiate): add extra
9665 button_item_to_widget_value arg.
9666 (x_progress_gauge_instantiate): ditto.
9667 (x_edit_field_instantiate): ditto.
9668 (x_label_instantiate): ditto.
9670 * gui-x.c (gui_items_to_widget_values_1): add extra
9671 button_item_to_widget_value arg.
9672 (button_item_to_widget_value): add extra menu_item_p arg.
9674 * gui-x.h: change signature of button_item_to_widget_value.
9676 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
9677 button_item_to_widget_value arg.
9679 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9681 * buffer.h (struct buffer): auto_save_modified should be long.
9683 2000-04-05 Andy Piper <andy@xemacs.org>
9685 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
9687 (button_query_geometry): give a little more room so that athena
9690 2000-04-05 Andy Piper <andy@xemacs.org>
9692 * faces.c (complex_vars_of_faces): The widget face should inherit
9693 the font of the gui-element face.
9695 2000-04-04 Andy Piper <andy@xemacs.org>
9697 * glyphs-x.c (x_button_update): new function. unconditionally
9698 update a button's state when the instance is dirty.
9699 (image_instantiator_format_create_glyphs_x): add x_button_update.
9700 (x_widget_instantiate): remove old resize cruft.
9702 2000-04-02 Andy Piper <andy@xemacs.org>
9704 * frame.c (change_frame_size_1): The introduction of gutters means
9705 that we need to allow 0 as a potential frame dimension.
9707 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
9709 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
9710 image glyph if allow_cursor.
9711 (add_hscroll_rune): Don't allow cursor to border glyph.
9712 (create_text_block): Ditto.
9714 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
9716 (redisplay_output_layout): Call ensure_face_cachel_complete for
9720 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
9722 * redisplay.c (add_glyph_rune): Adding text image as text runes.
9724 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
9727 * redisplay-tty.c (tty_output_display_block): Delete the routine
9728 for text image glyph
9729 * redisplay-x.c (x_output_display_block): ditto
9730 * redisplay-msw.c (mswindows_output_display_block): ditto
9732 2000-02-02 Mike Alexander <mta@arbortext.com>
9734 Note: Some of these were committed by accident as part of other
9737 * regex.c (regex_compile): Avoid compiler warnings.
9739 * ntproc.c (sys_spawnve): Avoid compiler warnings.
9741 * nt.h: Declare term_ntproc correctly.
9743 * nt.c: Remove incorrect declaration of get_home_directory which
9744 is declared correctly in lisp.h.
9746 * keymap.c (get_keyelt): Avoid compiler warnings.
9747 (raw_lookup_key_mapper): Avoid compiler warnings.
9749 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
9751 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
9753 * filemode.c (mode_string): Avoid compiler warnings.
9755 * file-coding.c (Fcoding_system_aliasee): Add return statement to
9758 * events-mod.h: Undef some things that winuser.h defines differently.
9760 * data.c (Faset): Avoid compiler warnings.
9762 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
9764 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9766 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
9767 Fall through to simple beep on error.
9768 Replace "extern" by real header file.
9770 * linuxplay.c: Use nativesound.h
9771 (play_sound_data): Return error code. Be less verbose on error.
9773 * sunplay.c: Use nativesound.h
9774 (play_sound_data): Return error code. Be less verbose on error.
9776 * ntplay.c: Use nativesound.h
9777 (play_sound_data): Return fake error code
9779 * sgiplay.c: Use nativesound.h
9780 (play_sound_data): Return error code
9782 * hpplay.c: Use nativesound.h, partially implement
9783 new error code. Break compilation until finished.
9784 (play_sound_data): error code.
9786 * nativesound.h (play_sound_file):
9787 (play_sound_data): Prototype in new header.
9789 2000-03-31 Andy Piper <andy@xemacs.org>
9791 * glyphs-widget.c: (button_query_geometry): new function. Adjust
9792 for toggle and radio buttons.
9793 (image_instantiator_buttons): use it.
9795 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9797 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
9798 (x_update_horizontal_scrollbar_callback): Return if no mirror was
9799 found. Scrollbar event probably belonged to some old config.
9801 2000-03-31 Andy Piper <andy@xemacs.org>
9803 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
9805 (initialize_widget_image_instance): default layout to
9806 LAYOUT_HORIZONTAL rather than 0.
9807 (widget_instantiate): reverse the item list at the end rather than
9809 (layout_layout): re-code for the border text at the front of the
9810 item list rather than at the end.
9811 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
9812 provided by the user.
9813 (widget_query_geometry): comment.
9815 2000-03-30 Andy Piper <andy@xemacs.org>
9817 * glyphs-widget.c (image_instantiator_layout): allow standard
9818 widget keywords in layouts.
9820 * gutter.c (output_gutter): cope with nil gutter contents.
9822 * frame.c (Fset_frame_properties): add gutter docs.
9824 2000-03-29 Andy Piper <andy@xemacs.org>
9826 * toolbar-msw.c (TBSTYLE_FLAT): add.
9827 (mswindows_output_toolbar): minor fiddling.
9829 2000-03-29 Andy Piper <andy@xemacs.org>
9831 * gutter.c (output_gutter): force gutter size recalculation if
9832 what we are trying to display won't fit.
9833 (update_gutter_geometry): new function. A per-gutter version of
9834 update_frame_gutter_geometry.
9835 (update_frame_gutter_geometry): use it.
9836 (redraw_exposed_gutter): add extra debugging output.
9838 2000-03-28 Mike Alexander <mta@arbortext.com>
9840 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
9841 (pdump_file_unmap): Implement it on Windows
9842 (pdump_file_get): Save alocated handles for pdump_file_unmap
9844 2000-03-28 Andy Piper <andy@xemacs.org>
9846 * gui.c (get_gui_callback): treat Quit specially.
9848 2000-03-27 Andy Piper <andy@xemacs.org>
9850 * glyphs.c (image_instantiate): be careful to check in the same
9853 2000-03-27 Didier Verna <didier@xemacs.org>
9855 * config.h.in: define the proper SMART_INCLUDE macro.
9856 handle renaming of `foo_h_path' to `foo_h_file'.
9858 * database.c: ditto.
9862 * linuxplay.c: ditto.
9864 * terminfo.c: ditto.
9866 * tooltalk.h: ditto.
9868 2000-03-27 Andy Piper <andy@xemacs.org>
9870 * glyphs-msw.c (mswindows_update_widget): make sure the widget
9871 gets updated whenever the face might have changed.
9873 2000-03-26 Mike Alexander <mta@arbortext.com>
9875 * dumper.c (pdump_resource_free): Fix the comment.
9877 2000-03-21 Olivier Galibert <galibert@pobox.com>
9879 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
9881 2000-03-22 Mike Alexander <mta@arbortext.com>
9883 * dumper.c: Include Windows headers on Windows
9884 (pdump_resource_free): Add a body to the function
9885 (pdump_load): exe_name -> exe_path and add some comments.
9887 2000-03-25 Mike Alexander <mta@arbortext.com>
9889 * gui.c (copy_gui_item_tree): Return a value in all cases
9891 2000-03-21 Didier Verna <didier@xemacs.org>
9893 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
9895 (SMART_INCLUDE): new macro.
9896 (POSTGRES_INCLUDE): new macro to include postgresql headers from
9897 the proper location.
9899 * postgresql.c: use it.
9903 2000-03-24 Andy Piper <andy@xemacs.org>
9905 * gutter.c (redraw_exposed_gutters): must be "in display" when we
9908 2000-03-24 Andy Piper <andy@xemacs.org>
9910 * redisplay-output.c (compare_runes): use image_instance_changed
9911 to detect changes. Do not depend on glyphs_changed, only depend on
9913 (redisplay_output_layout): add debug messages.
9914 (compare_runes): ditto.
9916 * glyphs.h: declare new functions.
9917 (struct Lisp_Image_Instance): remove percent and associated
9920 * gui.h: declare new copying functions.
9922 * gui.c (copy_gui_item_tree): new function.
9923 (copy_gui_item): new function.
9924 (gui_item_id_hash): revert to standard hash.
9925 (gui_item_hash): ditto.
9926 (gui_item_hash_internal): deleted.
9927 (mark_gui_item): mark value.
9928 (gui_item_add_keyval_pair): add value.
9929 (gui_item_init): ditto.
9930 (gui_add_item_keywords_to_plist): ditto.
9931 (gui_item_equal): ditto.
9932 (syms_of_gui): add Q_value.
9934 * glyphs-x.c (x_progress_gauge_update): use pending items and
9935 value for setting the state.
9936 (x_update_widget): don't set items from pending here.
9938 * glyphs-widget.c (update_widget): update items here.
9939 (progress_gauge_set_property): use items for storing value. Put
9940 new value in pending items.
9942 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
9943 items for new value. Convert percent -> value.
9944 (mswindows_tab_control_update): don't update items here.
9946 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
9947 (update_subwindow): ditto.
9948 (image_instance_changed): new function. Compare hash values and
9949 past and present widget items.
9950 (image_instantiate): We more careful about where we instantiate
9952 (image_instantiate): add error checking.
9954 * gutter.c (syms_of_gutter): use -hook.
9956 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
9958 * console-tty.c (Fset_console_tty_input_coding_system): Use
9960 (Fset_console_tty_output_coding_system): Use Qterminal.
9961 (tty_init_console): Use Qkeyboard and Qterminal.
9963 2000-03-21 Ben Wing <ben@xemacs.org>
9965 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
9966 From Mike Alexander <mta@arbortext.com>.
9968 2000-03-21 Ben Wing <ben@xemacs.org>
9970 * event-msw.c (mswindows_need_event): Horrible kludge to fix
9971 process brokenness. Proper implementation to come.
9973 Rename call-process-internal to old-call-process-internal.
9974 New impl. in process.el.
9976 2000-03-21 Martin Buchholz <martin@xemacs.org>
9978 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
9980 2000-03-20 Andy Piper <andy@xemacs.org>
9982 * glyphs.c (full_list_hash): make hashes of the same elements in
9983 different orders return different values.
9985 2000-03-20 Martin Buchholz <martin@xemacs.org>
9987 * XEmacs 21.2.32 is released.
9989 2000-03-20 Martin Buchholz <martin@xemacs.org>
9991 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
9992 (DFC_MALLOC_USE_CONVERTED_DATA):
9993 Add aliasing-safe casts to allow use with char* or unsigned char*
9996 * eldap.c (Fldap_open):
9997 (Fldap_search_basic):
10000 Make C++-compilable.
10001 Make sure GCPRO'ed variables are initialized.
10002 Use temp variables to avoid repeated calls to Flength.
10004 2000-03-16 Martin Buchholz <martin@xemacs.org>
10007 Make sure PATH_MAX is always defined.
10008 Include limits.h for PATH_MAX.
10009 Deprecate use of MAXPATHLEN.
10011 2000-03-10 Martin Buchholz <martin@xemacs.org>
10013 * emacs.c: Add reinit_vars_of_fileio.
10014 * symsinit.h: Add reinit_vars_of_fileio.
10015 * fileio.c (reinit_vars_of_fileio): New.
10016 * fileio.c (Fmake_temp_name):
10017 Initialize temp_name random number from microseconds to make
10018 collisions even less likely. Initialize always at process startup
10019 time. (make-temp-name) used to return the same file name twice in
10021 Random stylistic fiddling.
10024 2000-03-20 Andy Piper <andy@xemacs.org>
10026 * glyphs.c (image_instantiate): allow text glyphs to be
10027 instantiated in the minibuffer window.
10029 2000-03-19 Andy Piper <andy@xemacs.org>
10031 * glyphs.c (image_instance_hash): be careful about which items we
10034 * glyphs-widget.c (tab_control_set_property): record into pending
10035 items rather than the actual items.
10037 * glyphs-x.c (x_update_widget): use pending items to update with.
10039 * glyphs-msw.c (mswindows_tab_control_update): use pending items
10042 * glyphs.c (mark_image_instance): mark pending items.
10044 * window.c (Fset_window_configuration): record the buffer.
10045 (Fselect_window): totally revert previous change which breaks many
10048 2000-03-18 Andy Piper <andy@xemacs.org>
10050 * glyphs-msw.c (mswindows_tab_control_update): force selected
10053 * glyphs.c (image_instantiate): don't allow the minibuffer as a
10054 window domain cache, otherwise we get inconsistencies at
10055 startup. There is something fishy at startup which can lead to the
10056 minibuffer being the selected window when the gutter content is
10059 * gui.c (parse_gui_item_tree_list): add probably unnecessary
10061 (parse_gui_item_tree_children): ditto.
10062 (parse_gui_item_tree_item): ditto.
10064 * glyphs.c (Fupdate_widget_instances): return something.
10066 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10068 * window.c (Fselect_window): Undo 2000-03-17 change.
10070 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
10072 * postgresql.c (Fpq_setenv): Remove this turkey when linking
10073 against v7.0 libraries. Insta-coredump city until the postgres
10076 2000-03-17 Andy Piper <andy@xemacs.org>
10078 * faces.c (complex_vars_of_faces): don't give the widget face an
10079 inherited background pixmap.
10081 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
10084 * event-stream.c (Fdispatch_non_command_events): return something.
10086 * gutter.c (output_gutter): use widget face.
10087 (clear_gutter): ditto.
10089 * NEWS: adjust again.
10091 * window.c (Fselect_window): make sure this runs to completion to
10092 avoid oddities with Fset_window_configuration.
10093 (Fcurrent_window_configuration): in general do not save the
10094 minibuffer as the selected window.
10096 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
10098 2000-03-16 Olivier Galibert <galibert@pobox.com>
10100 * emacs.c (Frunning_temacs_p): Revert previous patch.
10101 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
10103 2000-03-16 Andy Piper <andy@xemacs.org>
10105 * glyphs-x.c (x_tab_control_update): if no widget values then
10108 * NEWS: update for new features.
10110 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
10111 synthetic event to the native system.
10112 (reinit_vars_of_event_Xt): set force_event_pending to
10113 emacs_Xt_force_event_pending.
10115 * events.h (struct event_stream): add force_event_pending.
10117 * specifier.c (recompute_one_cached_specifier_in_window): add
10120 * redisplay.c (redisplay_frame): don't call
10121 update_frame_subwindows. Reset subwindow cachels when
10122 subwindows_changed, removing this was an optimization too far.
10124 * redisplay-output.c (compare_runes): reorganize so that we catch
10125 glyph changes when we want them. Set optimize_output when this
10126 would help layouts.
10127 (redisplay_output_layout): remove frame_really_changed, use
10128 optimize_output instead.
10130 * redisplay-msw.c (mswindows_output_display_block): reset
10131 optimize_output after outputting a glyph.
10132 * redisplay-x.c (x_output_display_block): ditto.
10133 * redisplay-tty.c (tty_output_display_block): ditto.
10135 * gutter.c: (specifier_vars_of_gutter): use new spec changed
10137 (gutter_specs_changed): do specific gutter positions.
10138 (top_gutter_specs_changed): new function. Only update the
10139 specified gutter specs.
10140 (bottom_gutter_specs_changed): ditto.
10141 (left_gutter_specs_changed): ditto.
10142 (right_gutter_specs_changed): ditto.
10144 * gui.c (gui_item_hash_internal): new function, does a real hash.
10145 (gui_item_id_hash): use it.
10146 (gui_item_hash): hash the eval'ed gui_item.
10148 * gui-x.c (popup_selection_callback): send an eval event to call
10149 Fupdate_widget_instances.
10151 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
10152 to call Fupdate_widget_instances.
10154 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
10155 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
10157 * glyphs.c: (update_frame_subwindows): deleted.
10158 (Fupdate_widget_instances): new function for updating the dirty
10159 state of widgets that might have changed.
10160 (syms_of_glyphs): add Qupdate_widget_instances.
10161 (full_list_hash): hash a list completely.
10162 (image_instance_hash): use it for items and properties.
10164 * frame-msw.c (mswindows_size_frame_internal): remove unused
10167 * faces.h (struct face_cachel): fix comment.
10169 * event-stream.c (Fdispatch_non_command_events): new
10170 function. Process non-command events, forcing an event cycle
10172 (syms_of_event_stream): declare.
10173 (event_stream_force_event_pending): new function. Force an event
10174 on the native event queue so that an event cycle will occur next
10178 (struct ntpipe_shove_stream):
10179 (mswindows_enqueue_dispatch_event):
10180 (mswindows_dequeue_dispatch_event):
10181 (mswindows_cancel_dispatch_event):
10182 (mswindows_pump_outstanding_events):
10183 (mswindows_drain_windows_queue):
10184 (mswindows_handle_paint):
10185 (mswindows_wnd_proc):
10186 (mswindows_key_to_emacs_keysym):
10187 (get_process_input_waitable):
10188 (emacs_mswindows_delete_stream_pair): re-indent file.
10189 (mswindows_need_event): do not process further fds if the windows
10190 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
10191 fixes the 100% cpu problem.
10192 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
10194 2000-03-15 Olivier Galibert <galibert@pobox.com>
10200 * emacs.c: Moved dump file searching to dumper.c.
10201 (Frunning_temacs_p): Fixed.
10203 * alloc.c: Moved everything pdump-related to dumper.c. Removed
10204 last_lrecord_type_index_assigned.
10206 2000-02-20 Olivier Galibert <galibert@pobox.com>
10208 * symsinit.h: Added reinit parameter to init_console_stream
10211 * lisp.h: Added file parameter to pdump_load declaration.
10213 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
10214 support. Added dump file searching.
10216 * config.h.in: Added EMACS_PROGNAME.
10218 * console-stream.c (init_console_stream): Fix reinitialisation
10219 when running from temacs.
10221 * alloc.c (pdump): Add id support.
10222 (pdump_load): Add file parameter and signature/id support.
10224 * Makefile.in.in: Add full pdump support.
10226 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
10228 * postgresql.c: Update documentation to reflect latest code
10230 (print_result): Show tuple counts in printed representation when
10232 (Fpq_put_nbytes): MULE-ize.
10233 (Fpq_get_line_async): Ditto.
10235 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10237 * postgresql.c (Fpq_lo_import): Fix return value.
10238 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
10240 2000-03-13 Ben Wing <ben@xemacs.org>
10242 * alloc.c (pdump_load):
10243 Fix compile warning under mswin.
10245 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10247 * postgresql.c: Mule-ization, bug fixes.
10248 Use PG_CODING to encapsulate coding system name changes.
10249 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
10250 (pg-coding-system): Create.
10252 (Fpq_conn_defaults): Mule-ize.
10253 (Fpq_connectdb): Mule-ize & bug fix.
10254 (Fpq_connect_start): Mule-ize.
10255 (Fpq_set_client_encoding): Mule-ize.
10256 (Fpq_finish): Document `DEAD' connection status.
10257 (Fpq_clear): Ditto.
10258 (Fpq_pgconn): Mule-ize.
10259 (Fpq_exec): Mule-ize & bug fix.
10260 (Fpq_send_query): Ditto.
10261 (Fpq_get_result): Ditto.
10262 (Fpq_res_status): Mule-ize.
10263 (Fpq_result_error_message): Mule-ize.
10264 (Fpq_ntuples): fix comments.
10265 (Fpq_fname): Mule-ize.
10266 (Fpq_fnumber): Mule-ize.
10267 (Fpq_ftype): fix comments.
10268 (Fpq_get_value): Mule-ize.
10269 (Fpq_cmd_status): Ditto.
10270 (Fpq_cmd_tuples): Ditto.
10271 (Fpq_oid_value): Ditto.
10272 (Fpq_notifies): Ditto.
10273 (Fpq_lo_import): Ditto.
10274 (Fpq_lo_export): Ditto.
10275 (Fpq_get_line): Ditto.
10276 (Fpq_put_line): Mule-ize and bug fix.
10277 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
10279 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10281 * postgresql.c (vars_of_postgresql): Mule-ize.
10282 (Fpq_conn_defaults): Ditto.
10284 2000-03-12 Ben Wing <ben@xemacs.org>
10286 * alloc.c (Fmake_byte_code):
10287 * alloc.c (debug_string_purity_print):
10288 * alloc.c (pdump_backtrace):
10289 * alloc.c (pdump_get_indirect_count):
10290 * alloc.c (pdump_register_sub):
10291 * alloc.c (pdump_register_object):
10292 * alloc.c (pdump_register_struct):
10293 * alloc.c (pdump_dump_data):
10294 * alloc.c (pdump_reloc_one):
10298 * console-msw.c (GetConsoleHwnd):
10299 * console-msw.c (msw_hide_console):
10300 * console-msw.c (msw_show_console):
10301 * console-msw.c (msw_ensure_console_buffered):
10302 * console-msw.c (msw_output_console_string):
10303 * console-msw.c (console_type_create_mswindows):
10305 a) Added functions to manipulate the console window for use with
10308 b) Added support for writing text to the console, which is now
10309 used under Windows when xemacs is not being run non-interactively,
10310 to write text that would otherwise be destined for stdout because
10311 under these circumstances, text written to stdout tends to
10312 disappear and not be seen.
10316 * event-Xt.c (x_event_to_emacs_event):
10317 * event-Xt.c (describe_event_window):
10318 * events-mod.h (XEMACS_MOD_CONTROL):
10320 * events.c (Fmake_event):
10321 * events.c (character_to_event):
10322 * events.c (event_to_character):
10323 * events.c (format_event_object):
10324 * events.c (Fevent_modifiers):
10326 * events.h (struct key_data):
10327 * events.h (struct button_data):
10328 * events.h (struct misc_user_data):
10329 * frame-x.c (Fcde_start_drag_internal):
10330 * frame-x.c (Foffix_start_drag_internal):
10331 * gpmevent.c (Freceive_gpm_event):
10333 * keymap.c (bucky_sym_to_bucky_bit):
10334 * keymap.c (control_meta_superify):
10335 * keymap.c (make_key_description):
10336 * keymap.c (keymap_lookup_directly):
10337 * keymap.c (create_bucky_submap):
10338 * keymap.c (keymap_store):
10339 * keymap.c (define_key_check_and_coerce_keysym):
10340 * keymap.c (define_key_parser):
10341 * keymap.c (define_key_alternate_name):
10342 * keymap.c (Fdefine_key):
10343 * keymap.c (raw_lookup_key_mapper):
10344 * keymap.c (struct map_keymap_unsorted_closure):
10345 * keymap.c (map_keymap_unsorted_mapper):
10346 * keymap.c (map_keymap_sort_predicate):
10347 * keymap.c (map_keymap_sorted):
10348 * keymap.c (accessible_keymaps_mapper_1):
10349 * keymap.c (where_is_recursive_mapper):
10350 * keymap.c (describe_map_mapper):
10351 * keymap.c (describe_map_sort_predicate):
10352 * keymap.c (describe_map):
10353 * keymap.c (complex_vars_of_keymap):
10354 And a number of other files, the key modifier preprocessor
10355 constants that xemacs uses have names that conflict with constants
10356 defined under MS Windows for other purposes, so they were renamed
10357 to begin with the prefix XEMACS_. The variables that hold such
10358 modifiers were changed to consistently be of type int to fix
10359 various compile warnings.
10361 * console.c (complex_vars_of_console):
10364 * device-msw.c (mswindows_finish_init_device):
10365 * device-msw.c (msw_get_workspace_coords):
10366 * device-msw.c (mswindows_device_system_metrics):
10367 and various other files, added support for a new
10368 device property called offset-workspace which returns the position
10369 of the upper left corner of the workspace area and goes along with
10370 the existing size-workspace property.
10373 * dialog-msw.c (push_bufbyte_string_as_unicode):
10374 * dialog-msw.c (mswindows_popup_dialog_box):
10375 Added support for XEmacs-style accelerator specifications in
10376 button text. Note: I didn't add support for this under X Windows,
10377 and somebody needs to do this.
10380 * dialog.c (Fpopup_dialog_box):
10381 Documented the support for accelerators that was just mentioned.
10383 editfns.c (get_home_directory): Changed behavior under Windows
10384 when HOME not defined; former behavior was irretrievably broken.
10387 * emacs.c (main_1):
10389 * minibuf.c (clear_echo_area_internal):
10390 * minibuf.c (echo_area_append):
10392 * print.c (std_handle_out_external):
10393 * print.c (std_handle_out_va):
10395 * print.c (write_string_to_stdio_stream):
10396 * print.c (output_string):
10397 * print.c (debug_print):
10398 * print.c (debug_backtrace):
10399 * print.c (debug_short_backtrace):
10400 Cleaned up the code that prints text to stdout so that this can be
10401 changed to output into a console window instead under MS Windows,
10402 as described above.
10405 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
10406 * eval.c (internal_catch):
10407 * eval.c (unwind_to_catch):
10408 * eval.c (throw_or_bomb_out):
10409 * eval.c (condition_case_1):
10410 * eval.c (signal_1):
10411 * eval.c (check_error_state_sanity):
10412 * eval.c (call_with_suspended_errors_1):
10413 * eval.c (call_with_suspended_errors):
10414 * eval.c (reinit_vars_of_eval):
10415 Added code to catch throw loops and check for a pesky bug that may
10419 * event-msw.c (key_needs_default_processing_p):
10420 * event-msw.c (mswindows_wnd_proc):
10421 * event-msw.c (mswindows_modifier_state):
10422 * event-msw.c (emacs_mswindows_quit_p):
10423 * event-msw.c (vars_of_event_mswindows):
10424 a) Added support for using the alt key to select menu items as is
10425 standard under MS Windows. This is controlled using the variable
10426 menu-accelerator-enabled, just like under X Windows. There is an
10427 option on the options menu to turn this support on. I really
10428 think that it should be on by default under Windows, but I'm not
10429 going to make this change yet.
10431 b) Added support for dynamic display size changes under Windows.
10434 * event-stream.c (maybe_echo_keys):
10435 * event-stream.c (Fnext_event):
10436 * event-stream.c (command_builder_find_leaf):
10437 * event-stream.c (lookup_command_event):
10438 * event-stream.c (execute_command_event):
10439 * event-stream.c (pre_command_hook):
10440 * event-stream.c (post_command_hook):
10441 * event-stream.c (syms_of_event_stream):
10442 * event-stream.c (vars_of_event_stream):
10443 * event-stream.c (complex_vars_of_event_stream):
10444 * events.h (struct command_builder):
10446 a) Tried to clean up a little bit the horribly written x-specific
10447 accelerator code that crept into this file. I moved this code
10448 into menubar-x.c where it belongs. I also needed to move the
10449 command builder structure into the file events.h because it is
10450 accessed directly by this accelerator code. What I didn't do, but
10451 which should be done at some point, is to properly abstract this
10452 code using device methods instead of the kludgy way that it
10453 currently hooks into the event code.
10455 b) Added the lisp variables this-command-properties and
10456 last-command- properties, which should be used to synchronize two
10457 adjacent commands in preference to playing games with the variable
10458 this-command, which is typically what happens.
10460 c) Added some slightly nasty code to hook into the lisp support
10461 for shifted- motion-key selection. This is actually necessary for
10462 somewhat complicated reasons, which are described in
10463 simple.el. (NB: I think the proper thing would be to have the code
10464 that calls the pre and post command hooks also call out to generic
10465 lisp functions in simple.el, where all built-in stuff could be
10466 added. I will think about this more.)
10468 * event-unixoid.c (poll_fds_for_input):
10469 * lread.c (readchar):
10470 * redisplay-tty.c (tty_clear_frame):
10471 * redisplay-x.c (x_get_gc):
10472 * signal.c (interrupt_signal):
10473 And a whole bunch of other files: fixed up places that printed
10474 directly to stderr to instead call the function stderr_out so that
10475 the changes I made under Windows work correctly.
10477 * filemode.c (mode_string):
10481 * frame-msw.c (mswindows_size_frame_internal):
10482 Fixed the computation of frame size and position to keep the frame
10483 within the workspace area, rather than within the physical
10484 dimensions of the screen, so that the frame doesn't overlap window
10485 manager decorations, such as the start menu and toolbar, typically
10486 at the bottom of the screen.
10488 * frame.c (vars_of_frame):
10489 Changed the default frame title format under MS Windows to consist
10490 of buffername-XEmacs, which is standard under MS Windows. I think
10491 it might be a good idea to change this everywhere because I think
10492 it is superior to the current frame title format, but this is the
10493 kind of change that is likely to cause some people to get annoyed,
10494 so I'm not making it.
10496 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
10498 * gui-msw.c (mswindows_handle_gui_wm_command):
10499 Fixed compile warnings.
10502 * gui-x.c (strdup_and_add_accel):
10503 * gui-x.c (button_item_to_widget_value):
10505 Added code to automatically put an accelerator onto the beginning
10506 of menu items that don't have one as is now the standard, and is
10507 described more later. Also fixed things so that the menu item
10508 name can be an evaluated expression, again a new standard.
10511 * gui.c (gui_item_add_keyval_pair):
10512 * gui.c (make_gui_item_from_keywords_internal):
10513 * gui.c (gui_add_item_keywords_to_plist):
10514 * gui.c (gui_item_accelerator):
10515 * gui.c (gui_name_accelerator):
10516 * gui.c (gui_item_included_p):
10517 * gui.c (gui_item_display_flush_left):
10518 * gui.c (gui_item_display_flush_right):
10519 * gui.c (parse_gui_item_tree_item):
10520 * gui.c (parse_gui_item_tree_children):
10521 * gui.c (parse_gui_item_tree_list):
10522 Mule-ized. Cleanup. GCPRO addition.
10524 * line-number.c (buffer_line_number):
10526 * lisp.h (EMACS_INT_MAX):
10527 Added the manifest constant EMACS_INT_MIN corresponding to the
10528 existing constant EMACS_INT_MAX. This is partially to fix compile
10529 warnings under Windows, and partly for cleanliness.
10532 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
10533 * menubar-msw.c (msw_translate_menu_or_dialog_item):
10534 * menubar-msw.c (displayable_menu_item):
10535 * menubar-msw.c (populate_menu_add_item):
10536 * menubar-msw.c (populate_or_checksum_helper):
10537 * menubar-msw.c (populate_menu):
10538 * menubar-msw.c (update_frame_menubar_maybe):
10539 * menubar-msw.c (prune_menubar):
10540 * menubar-msw.c (msw_char_is_accelerator):
10541 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
10542 * menubar-msw.c (mswindows_handle_wm_command):
10543 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
10544 * menubar-msw.c (mswindows_handle_wm_initmenu):
10545 * menubar-msw.c (mswindows_update_frame_menubars):
10546 * menubar-msw.c (mswindows_free_frame_menubars):
10547 * menubar-msw.c (mswindows_popup_menu):
10548 Fixed a bug in handling accelerators where an extra character
10549 would be displayed in the menu item. Also generalized the
10550 function displayable_menu_item because it is now used by the
10551 dialog box code as well. And finally, added code in the functions
10552 that create the menubar to extract a list of accelerators for the
10553 top level menubar, which is used in the event code to determine
10554 whether a particular alt-key combination should be used to invoke
10555 a menu item, or should be passed through to access the standard
10556 XEmacs keymap binding for this key combination.
10558 Much needed GCPROing.
10561 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10562 * menubar-x.c (menu_item_descriptor_to_widget_value):
10563 * menubar-x.c (restore_in_menu_callback):
10564 * menubar-x.c (x_popup_menu):
10565 * menubar-x.c (menu_move_up):
10566 * menubar-x.c (menu_move_down):
10567 * menubar-x.c (menu_move_left):
10568 * menubar-x.c (menu_move_right):
10569 * menubar-x.c (menu_select_item):
10570 * menubar-x.c (command_builder_operate_menu_accelerator):
10571 * menubar-x.c (menu_accelerator_junk_on_error):
10572 * menubar-x.c (command_builder_find_menu_accelerator):
10573 * menubar-x.c (Faccelerate_menu):
10575 Moved a whole bunch of code here that was previously in
10576 event-stream.c as described above. There is also code connected
10577 to the new standard of adding an accelerator to the beginning of
10578 menu items that don't have one as described above and below.
10581 * menubar.c (menu_parse_submenu_keywords):
10582 * menubar.c (Fmenu_find_real_submenu):
10583 * menubar.c (Fnormalize_menu_item_name):
10584 * menubar.c (syms_of_menubar):
10585 * menubar.c (vars_of_menubar):
10586 * menubar.c (complex_vars_of_menubar):
10588 a) Cleaned up a bunch of documentation and improved it.
10590 b) XEmacs now automatically adds an accelerator onto the beginning
10591 of any menu items that don't have one. I did this because there
10592 will inevitably be some menu items on the main menubar that don't
10593 have accelerators on them because the package that adds that
10594 particular menu item hasn't yet been fixed up to have accelerators
10595 in them and it looked rather strange to have some items with and
10596 some items without accelerators, especially since even in items
10597 without accelerators, you can, at least under windows, still
10598 access the item through an accelerator corresponding to the first
10599 character in the item's name. If people don't like this behavior,
10600 I can add a variable to turn it off optionally, but I'm not sure
10601 this is a good idea because we really do need to have accelerators
10602 on all of the menu items, and if a package doesn't like the
10603 accelerators being put on the first character, then it should put
10604 the accelerators where they belong.
10606 c) I made a behavior change, which is that the descriptor that
10607 specifies the text of the menu item, which formerly was just a
10608 string, can now also be an evaluated expression. This makes this
10609 descriptor parallel with all of the others, which could also be
10610 evaluated expressions. This also obviates the need for the
10611 keyword :label, which was previously listed in the documentation
10612 as unimplemented, and which was for the same purpose.
10617 * ntproc.c (new_child):
10618 * ntproc.c (sys_spawnve):
10619 * ntproc.c (find_child_console):
10620 * ntproc.c (sys_kill):
10621 Fixed compile warnings. By the way, this file should really go
10622 away entirely, and this will happen as soon as Kirill makes his
10623 final round of process cleanups, which affect the function
10627 * process-nt.c (struct nt_process_data):
10628 * process-nt.c (find_process_from_pid):
10629 * process-nt.c (send_signal_the_nt_way):
10630 * process-nt.c (enable_child_signals):
10631 * process-nt.c (find_child_console):
10632 * process-nt.c (send_signal_the_95_way):
10633 * process-nt.c (nt_finalize_process_data):
10634 * process-nt.c (ensure_console_window_exists):
10635 * process-nt.c (nt_create_process):
10636 * process-nt.c (nt_kill_child_process):
10637 * process-nt.c (nt_kill_process_by_pid):
10638 * process-nt.c (nt_open_network_stream):
10639 * process-nt.c (vars_of_process_nt):
10640 Copied over code from Emacs 20.5 to correctly send signals to sub-
10641 processes under Windows 95. Also added code to automatically
10642 create and hide console window when a sub-process is created under
10643 Windows 95, which obviates the need for the separate runemacs.exe
10644 executable, and finally implemented some variables that were
10645 implemented in Emacs 20.5, but previously not in XEmacs. These
10646 include mswindows- start-process-share-console and
10647 mswindows-start-process-inherit-error-mode. (Both of these only
10648 apply to Windows 95.)
10650 * regex.c (regex_compile): Fixed a compile warning.
10653 * select-msw.c (mswindows_own_selection):
10654 * select-msw.c (mswindows_get_foreign_selection):
10655 * select-msw.c (mswindows_disown_selection):
10656 * select-msw.c (console_type_create_select_mswindows):
10657 * select-msw.c (syms_of_select_mswindows):
10658 Cleaned up the file and implemented the device method
10659 selection_exists_p, which had accidentally been left out. Also
10660 removed four lisp functions that were remnants from before the
10661 time when the selection code was properly device abstracted.
10662 These functions are no longer needed because there are generic
10663 equivalents, and because they were added recently and don't exist
10664 in FSF Emacs, I don't think there's any problem with just deleting
10668 * sysdep.c (sys_subshell):
10669 Fixed a compile warning, although in this case there's probably
10670 something wrong with this code, and it ought to be looked into
10671 more thoroughly by somebody who understands it.
10674 * window.c (Fwindow_text_area_height):
10675 * window.c (Fwindow_width):
10676 * window.c (Fwindow_full_width):
10677 * window.c (Fwindow_pixel_width):
10678 * window.c (debug_print_window):
10679 * window.c (syms_of_window):
10680 Added functions window-text-area-height and window-full-width,
10681 which are functions for returning various width and height
10682 characteristics of a window. (One of these functions is necessary
10683 for making the file dialog box work correctly, and the other one
10684 was added for completeness.) Also added a table to the
10685 documentation for window-height which describes the entire scheme
10686 for accessing width and height characteristics of a window.
10688 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10690 * nt.c (fstat): Added a comment for another problem with
10691 non-encapsulated [f]stat(), reported by Adrian Aichner
10692 <aichner@ecf.teradyne.com>.
10694 2000-03-11 Andy Piper <andy@xemacs.org>
10696 * window.c (make_dummy_parent): initialize subwindow instance
10698 (Fset_window_configuration): zero extent_modiff.
10700 2000-03-10 Andy Piper <andy@xemacs.org>
10702 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
10703 more changes can be triggered.
10704 (Fredisplay_frame): ditto.
10705 (Fredraw_device): ditto.
10706 (Fredisplay_device): ditto.
10707 (redisplay_frame): make non-static.
10708 (redisplay_frame): call update_frame_gutter_geometry outside of
10711 * gutter.h: declare update_frame_gutter_geometry.
10713 * redisplay.h: declare redisplay_frame.
10715 * gutter.c (update_frame_gutter_geometry): move geometry changes
10716 in update_frame_gutters here. Geometry changes can only occur
10717 outside of redisplay.
10718 (update_frame_gutters): remove geometry change code.
10719 (Fredisplay_gutter_area): make sure that we are in display when we
10720 update and that we have flushed any size changes.
10722 2000-03-11 Andy Piper <andy@xemacs.org>
10724 * alloc.c (pdump_dump_data): remove i & count shadows.
10726 2000-02-27 Mike Alexander <mta@arbortext.com>
10728 * sysdep.h: Declare pdump_read_file
10730 * sysdep.c (pdump_read_file): New function
10732 * alloc.c (pdump_load): Call pdump_read_file to get the portable
10735 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10737 * lrecord.h: add `lrecord_type_pgsetenv'.
10739 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
10741 * symsinit.h: declare (vars|syms)_of* functions.
10742 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
10744 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
10746 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
10748 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
10751 * emacs.c (main_1): Call postgres initialization code.
10753 * postgresql.h: New file. PostgreSQL RDBMS support.
10754 * postgresql.c: New file.
10756 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
10758 * redisplay-output.c (redisplay_output_display_block): Disable
10761 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10763 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
10764 (Fcanna_henkan_next): Ditto.
10765 (Fcanna_bunsetu_henkou): Ditto.
10766 (Fcanna_henkan_kakutei): Ditto.
10767 (Fcanna_henkan_end): Ditto.
10768 (Fcanna_henkan_quit): Ditto.
10769 (Fcanna_henkan_next): Set retun value correctly.
10770 (c2mu): Use unsigned char instead of signed char.
10772 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10774 * emacs.c (main_1): Always call syms_of_gui.
10775 * inline.c: include gui.h
10777 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10779 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
10780 converted to Lisp_Object.
10781 (Qtop_bottom): New variable.
10782 (syms_of_redisplay): Initialize it.
10783 * redisplay.h (Vvisible_bell): Ditto.
10784 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
10785 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
10786 only flash top and bottom.
10788 2000-03-08 Andy Piper <andy@xemacs.org>
10790 * buffer.c (Frename_buffer): record new buffer name the right way.
10792 2000-03-08 Andy Piper <andy@xemacs.org>
10794 * glyphs.c (update_subwindow): increase hash depth so that widget
10795 items get picked up properly.
10797 * redisplay-output.c (compare_runes): increase hash depth so that
10798 widget items get picked up properly.
10800 2000-03-08 Andy Piper <andy@xemacs.org>
10802 * gutter.c (output_gutter): add some debug.
10804 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
10805 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
10806 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
10808 * redisplay-output.c (compare_runes): use display_hash to
10809 determine if glyphs really are not the same.
10811 * glyphs.c (update_subwindow): check display_hash to see if
10812 anything really needs to be updated. If not then do
10813 nothing. Record the display_hash after updating.
10814 (image_instance_equal): compare the image_instance face also.
10816 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
10818 * redisplay.h: Fix comment style.
10820 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
10822 * consle-msw.h (struct mswindows_frame):
10823 Added new member paint_pending to indicate whether a WM_PAINT
10824 magic event has been queued for this frame.
10826 * event-msw.c (mswindows_drain_windows_queue):
10827 Don't queue a WM_PAINT magic event if one is already queued.
10828 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
10830 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
10832 2000-03-07 Didier Verna <didier@xemacs.org>
10834 * dired.c: #include `regex.h' after `sysfile.h'.
10836 2000-03-06 Martin Buchholz <martin@xemacs.org>
10838 * sound.c (init_nas_sound): Fix compiler warning.
10840 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
10842 (MARK_STRUCT_AS_FREE):
10843 (MARK_STRUCT_AS_NOT_FREE):
10844 Make `gcc -fstrict-aliasing' work properly.
10846 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
10848 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
10849 (mswindows_delete_device): Call CoUnnitialize().
10851 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
10853 2000-02-25 <CraigL@DyCon.com>
10855 * process-nt.c: MinGW now has <shellapi.h>, but still needs
10858 * sysdep.c: This extern declaration for environ prevents MinGW
10859 from finding the variable in CRTDLL.DLL.
10861 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
10863 (SHGFI_EXETYPE): ..
10864 (WM_MOUSEWHEEL): ..
10865 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
10867 (MMRESULT): Removed, now defined in cygwin's windows headers.
10869 (uid_t,gid_t,pid_t,ssize_t): ..
10870 (_timeb): Removed, MinGW defines both _timeb and timeb.
10871 (HAVE_H_ERRNO): Added.
10872 (HAVE_TZNAME): Added, configure is not detecting this.
10874 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
10876 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
10877 * syntax.c (syntax_match): Use it.
10879 * cmds.c: Import auto-fill-chars from FSF Emacs.
10880 (Vauto_fill_chars): New variables.
10881 (internal_self_insert): Check Vauto_fill_chars.
10883 Declare auto-fill-chars as a Lisp variable and initialize it.
10885 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
10887 * fileio.c (Fmake_symbolic_link):
10889 Run handlers even if local machine doesn't have symlinks.
10891 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
10893 * event-msw.c (mswindows_drain_windows_queue):
10894 Don't generate paint magic events for non-XEmacs frames.
10896 2000-03-05 Andy Piper <andy@xemacs.org>
10898 * redisplay.c (redisplay_frame): generate_displayable_area and
10899 friends assumes that we are not in GC, we therefore have to make
10900 sure that this doesn't happen.
10902 * gutter.c (calculate_gutter_size): generate_displayable_area
10903 assumes that we are not in GC, we therefore have to make sure that
10904 this doesn't happen.
10906 2000-03-05 Martin Buchholz <martin@xemacs.org>
10908 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
10910 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
10912 * redisplay.c (regenerate_window): Make sure we set a sane value
10913 for end_pos even if we jump out of the loop.
10914 (regenerate_window): Answer Ben's question :-).
10915 (start_end_of_last_line): Add may_error argument.
10916 (start_of_last_line):
10917 (end_of_last_line): Pass may_error = 0.
10918 (end_of_last_line_may_error): New function.
10919 (pixel_to_glyph_translation): Use it, so we don't crash in
10922 2000-03-04 Andy Piper <andy@xemacs.org>
10924 * window.h (struct window): add gutter_extent_modiff.
10926 * window.c (allocate_window): zero out gutter_extent_modiff.
10928 * redisplay.h: declare sync_display_line_structs.
10930 * redisplay.c (add_glyph_rune): add a better comment.
10932 * redisplay-output.c (sync_display_line_structs): made non-static.
10933 (compare_runes): remove unneccesary glyph cachel access.
10935 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
10937 * gutter.c (output_gutter): don't output the gutter if extent
10938 changes only involve extents in buffers. use 4 sets of display
10940 (gutter_extent_signal_changed_region_maybe): new function. Mark
10941 extents in gutters as changed.
10942 (update_frame_gutters): use 4 sets of display lines.
10943 (reset_gutter_display_lines): ditto.
10944 (free_frame_gutters): ditto.
10945 (redraw_exposed_gutter): force output of gutters.
10947 * frame.h (struct frame): add 4 sets of gutter display lines.
10949 * extents.c: (extent_changed_for_redisplay): signal changes to
10950 extents in strings in the gutter as well as extents in buffers.
10952 2000-03-02 Andy Piper <andy@xemacs.org>
10954 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
10956 * frame.c (Fmake_frame): make sure the gutters get initialized
10957 after the frame is visible.
10958 (set_frame_selected_window): re-arrange compilation macros a
10960 (change_frame_size_1): mark gutters changed.
10962 * device.c (Fset_device_class): mark gutters changed.
10964 2000-03-01 Andy Piper <andy@xemacs.org>
10966 * window.c (window_top_frame_gutter_height): deleted.
10967 (window_bottom_frame_gutter_height): ditto.
10968 (window_left_frame_gutter_height): ditto.
10969 (window_right_frame_gutter_height): ditto.
10970 (window_top_gutter_height): don't use them.
10971 (window_bottom_gutter_height): ditto.
10972 (window_left_gutter_width): ditto.
10973 (window_right_gutter_width): ditto.
10974 (Fsplit_window): ditto.
10975 (Fwindow_pixel_edges): don't use border dimensions here.
10977 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
10978 (update_scrollbar_instance): ditto.
10980 * redisplay.c (generate_modeline): don't take gutters into account.
10981 (generate_modeline): ditto.
10982 (redisplay_frame): small gutter display optimization.
10984 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
10986 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
10987 gutters into account.
10989 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
10990 for window position and type.
10992 * gutter.c (get_gutter_coords): fix for frame gutters.
10993 (update_frame_gutters): update frame geometry if the gutters have
10995 (init_frame_gutters): record current gutter geometries.
10997 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
10999 (mswindows_widget_instantiate): ditto.
11001 * frame.h (struct frame): add current_gutter_bounds.
11003 * frame.c (change_frame_size_1): position window and minibuffer
11004 appropriately taking into account the frame gutters.
11006 * frame-x.c: (x_initialize_frame_size): take into account the
11009 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11011 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
11013 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11015 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
11017 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11019 * file-coding.c (reset_decoding_stream): Clear previous
11020 detection state when autodetect.
11022 2000-02-29 Didier Verna <didier@xemacs.org>
11024 * extents.c (set_extent_glyph_1): don't require extents to be
11027 2000-02-27 Andy Piper <andy@xemacs.org>
11029 * gutter.c (Fset_default_gutter_position): don't default left and
11030 right gutter visibility to t.
11031 (Fset_default_gutter_position): run
11032 default-gutter-position-changed-hook.
11033 (syms_of_gutter): add default-gutter-position-changed-hook.
11035 2000-02-26 Andy Piper <andy@xemacs.org>
11037 * specifier.c (Fmake_specifier): add gutter references.
11039 * gutter.h (RAW_WINDOW_GUTTER): new macro.
11041 * lisp.h: declare Fvalid_plist_p.
11043 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
11045 (default_gutter_visible_p_changed_in_window): invalidate gutter as
11046 well as its visibility so that it gets reconstructed.
11047 (construct_window_gutter_spec): new function. Construct a string
11048 to be displayed in the gutter from a plist of strings. Take care
11049 to only use elements that are declared as visible.
11050 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
11052 (gutter_validate): allow plists of strings in the specifier.
11053 (gutter_specs_changed): construct the real_gutter from the gutter
11054 specs using construct_window_gutter_spec.
11055 (gutter_visible_validate): gutter-visible is a new specifier type.
11056 (Fgutter_visible_specifier_p): new function for the new specifier.
11057 (syms_of_gutter): declare gutter-visible and
11058 Fgutter_visible_specifier_p.
11059 (specifier_type_create_gutter): intitalize new gutter-visible
11061 (reinit_specifier_type_create_gutter): ditto.
11062 (specifier_vars_of_gutter): use new specifier type for gutter
11064 (init_frame_gutters): construct real_gutter correctly.
11065 (Fgutter_specifier_p): beef up documentation.
11066 (Fgutter_size_specifier_p): ditto.
11068 * winslots.h: add real_gutter slots.
11070 2000-02-25 Andy Piper <andy@xemacs.org>
11072 * device-msw.c: Be kind to older cygwin versions. From Raymond
11073 Toy <toy@rtp.ericsson.se>.
11075 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
11076 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
11078 2000-02-25 Martin Buchholz <martin@xemacs.org>
11080 * elhash.c (MARK_OBJ): Practice macro hygiene.
11082 2000-02-24 Martin Buchholz <martin@xemacs.org>
11084 * miscplay.c: s/__inline__/inline/g;
11085 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
11086 (get_device_compdc): INLINE ==> static inline
11087 * *.[ch]: Change INLINE to INLINE_HEADER globally.
11088 find -name '*.h' | \
11089 xargs global-replace \
11090 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
11092 2000-02-25 Andy Piper <andy@xemacs.org>
11094 * window.c (window_top_frame_gutter_height): new function.
11095 (window_top_window_gutter_height): ditto.
11096 (window_top_gutter_height): use them.
11097 (window_bottom_frame_gutter_height): new function.
11098 (window_bottom_window_gutter_height): ditto.
11099 (window_bottom_gutter_height): use them.
11100 (window_left_window_gutter_width): new function.
11101 (window_left_frame_gutter_width): ditto.
11102 (window_left_gutter_width): use them.
11103 (window_right_window_gutter_width): new function.
11104 (window_right_frame_gutter_width): ditto.
11105 (window_right_gutter_width): use them.
11106 (window_pixel_height): new function. calulate window pixel height
11107 with frame gutter involvement.
11108 (Fsplit_window): calculate new sizes taking frame gutters into
11110 (window_char_height_to_pixel_height): don't include frame gutters.
11111 (window_char_height): use window_pixel_height.
11112 (window_pixheight): rename from window_pixel_height.
11113 (change_window_height): use it.
11114 (window_pixel_height_to_char_height): don't include frame gutters.
11115 (window_char_width_to_pixel_width): ditto.
11117 2000-02-25 Andy Piper <andy@xemacs.org>
11119 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
11122 2000-02-24 Martin Buchholz <martin@xemacs.org>
11124 * alloc.c (staticpro):
11125 (staticpro_nodump):
11130 (compact_string_chars):
11131 (pdump_dump_wired):
11132 Convert: if (foo) abort(); ==> assert (! foo);
11134 * eldap.c (Fldap_search_basic):
11138 Fix compiler warnings, and possible crashes if (random) return
11139 value were to be used.
11141 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11143 * device-msw.c: Workaround ResetDC failure.
11145 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
11146 applying a devmode.
11148 * redisplay-msw.c (get_frame_dc): Added start_page_p.
11149 (mswindows_text_width): Do not start printer page.
11151 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
11153 * glyphs-msw.c: Added image methods to msprinter console and
11154 msprinter-specific image instantiation.
11156 2000-02-20 Mike Alexander <mta@arbortext.com>
11158 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
11159 to avoid crashes when selection-sets-clipboard is on
11160 (mswindows_own_selection): ditto
11162 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11165 * redisplay-msw.c (get_frame_dc):
11166 (get_frame_compdc):
11168 * device-msw.c (mswindows_init_device):
11169 (mswindows_delete_device):
11170 (msprinter_init_device):
11171 (msprinter_delete_device):
11172 * frame-msw.c (mswindows_init_frame_1):
11173 (mswindows_delete_frame):
11174 (msprinter_init_frame_3):
11175 (msprinter_delete_frame): Move compatible DC to device object from
11176 frame object, for both mswindows and msprinter. Only one at a time
11177 is needed, it is a real waste to have one per frame!
11179 2000-02-23 Andy Piper <andy@xemacs.org>
11181 * glyphs.c: add dynamic width and height elements.
11182 (image_instance_equal): ditto.
11184 * glyphs-widget.c (widget_query_geometry): calculate width and
11185 height dynamically if required.
11186 (initialize_widget_image_instance): initialize dynamic dimensions.
11187 (widget_instantiate): pick-up dynamic dimensions.
11189 * glyphs.h (struct Lisp_Image_Instance): add width and height for
11190 dynamic determination. Add appropriate macros.
11192 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
11194 (WINDOW_GUTTER_SIZE): ditto.
11195 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
11197 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
11199 (get_frame_dc): ditto.
11201 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
11204 2000-02-23 Martin Buchholz <martin@xemacs.org>
11206 * XEmacs 21.2.31 is released.
11208 2000-02-22 Ben Wing <ben@xemacs.org>
11210 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
11212 2000-02-22 Andy Piper <andy@xemacs.org>
11214 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
11216 2000-02-21 Mike Sperber <mike@xemacs.org>
11220 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
11223 2000-02-21 Mike Sperber <mike@xemacs.org>
11225 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
11227 2000-02-21 Martin Buchholz <martin@xemacs.org>
11229 * XEmacs 21.2.30 is released.
11231 2000-02-20 Martin Buchholz <martin@xemacs.org>
11233 Performance hacking.
11235 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
11236 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
11237 * emacs.c (main_1):
11239 * console.c (DEFVAR_CONSOLE_LOCAL_1):
11240 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
11241 * symeval.h (DEFVAR_SYMVAL_FWD):
11242 * symbols.c (guts_of_unbound_marker):
11243 Make all c_readonly objects also lisp_readonly and marked for life.
11244 * lrecord.h (struct lrecord_implementation):
11245 Document flags better.
11246 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
11247 * lrecord.h (DECLARE_LRECORD):
11248 * lrecord.h (XSETRECORD):
11249 * lrecord.h (RECORDP):
11250 * lrecord.h (RECORD_TYPEP):
11251 * lrecord.h (RECORD_MARKER): New.
11252 * lrecord.h (error_check_*):
11253 * lrecord.h (CONCHECK_NONRECORD):
11254 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
11255 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
11256 * lrecord.h (set_lheader_implementation):
11257 * lrecord.h (enum lrecord_type): New.
11258 * symeval.h (SYMBOL_VALUE_MAGIC_P):
11259 * alloc.c (disksave_object_finalization_1):
11260 * alloc.c (mark_object):
11261 * alloc.c (lrecord_type_index):
11262 * alloc.c (tick_lcrecord_stats):
11263 * alloc.c (Fgarbage_collect):
11264 * alloc.c (init_alloc_once_early):
11265 * alloc.c (pdump_load):
11266 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
11267 * alloc.c (lrecord_type_index): Delete.
11268 Make lisp object type indexes be constant.
11269 Makes (byte-compile) 5% faster.
11270 Put all marker functions into their own array.
11271 Makes (garbage-collect) 5% faster.
11272 Optimize SYMBOL_VALUE_MAGIC_P.
11273 Makes (byte-compile) 2-3% faster.
11274 * config.h.in (gc_checking_assert): New.
11275 * alloc.c: Use gc_checking_assert().
11276 * .dbxrc: Make compatible with new object type implementation.
11277 * .gdbinit: Make compatible with new object type implementation.
11278 * alloc.c: Delete all symbols defined only for debugging, such as
11279 Lisp_Type_Vector and lrecord_charset.
11281 2000-02-21 Andy Piper <andy@xemacs.org>
11283 * gui-msw.c (Fmswindows_shell_execute): fix file location
11286 * buffer.c (Fkill_buffer): remove buffer from alist buffer
11287 unshowing so that set_window_buffer doesn't undo
11288 kill_buffer_hook's hard work.
11290 * glyphs-widget.c (tab_control_query_geometry): don't count the
11291 first item when calculating geometry.
11293 * glyphs.c (map_subwindow): remove redundant code.
11294 (update_frame_subwindows): be more circumspect about when to
11297 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
11298 when items haven't changed. Update faces if faces have changed as
11299 well as just the widget face.
11300 (x_tab_control_update): Update faces if faces have changed as well
11301 as just the widget face.
11303 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11305 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
11307 (build_syscolor_string): Use mswindows_color_to_string to try to
11309 (mswindows_device_system_metrics): Reverse the foreground and
11310 background colors so that they match the documentation.
11312 * objects-msw.c: (mswindows_X_color_map): tweak some values so
11313 they match the default Windows palette.
11314 (mswindows_color_to_string): New function.
11316 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11318 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
11320 2000-02-18 Olivier Galibert <galibert@pobox.com>
11322 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
11323 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
11325 * symbols.c (init_symbols_once_early): Removed obsolete
11326 DATA_SEG_BITS related kludge.
11327 (defvar_magic): Ditto.
11329 * malloc.c: Removed obsolete DATA_SEG_BITS
11331 * mem-limits.h: Ditto.
11333 * Makefile.in.in: Removed obsolete HAVE_SHM
11336 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11338 * device-msw.c (mswindows_delete_device): Free DDE string
11341 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11343 * keymap.c (get_keyelt):
11344 * unexnt.c (unexec):
11345 * vm-limit.c (memory_warnings):
11346 * ntheap.c (recreate_heap):
11347 * ntheap.h (UNINIT_PTR):
11348 * select-msw.c (Fmswindows_get_clipboard):
11349 (Fmswindows_set_clipboard):
11350 * objects-msw.h (MSWINDOWS_BAD_HFONT):
11352 * menubar-msw.c (displayable_menu_item):
11354 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
11355 * sysdep.c (sys_subshell):
11356 * process-nt.c (nt_create_process):
11357 * nt.c (normalize_filename):
11358 (dostounix_filename):
11359 (unixtodos_filename):
11360 * ntproc.c (win32_executable_type):
11361 * ntplay.c (play_sound_data_1):
11363 * editfns.c (get_home_directory):
11364 * event-msw.c (struct winsock_stream):
11365 (mswindows_dde_callback):
11366 * device-msw.c (msprinter_init_device):
11367 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
11369 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
11370 mswindows_clear_toolbar were swapped!
11372 * objects-msw.c:(colormap_t):
11374 * emacs.c (struct standard_args): Fixed const jumble.
11376 * glyphs-widget.c (update_widget): Fixed comparison notation.
11378 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
11380 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
11381 __declspec(noreturn) syntax.
11383 2000-02-19 Martin Buchholz <martin@xemacs.org>
11385 * eldap.c (Fldap_open):
11386 (Fldap_search_basic):
11389 Use new coding system conversion macros.
11391 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11393 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
11395 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
11397 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
11398 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11400 * eldap.c (Qadd, Qreplace): New constant symbols
11401 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
11402 interruptions by XEmacs signals
11403 Remove unnecessary calls to slow_down_interrupts and
11404 speed_up_interrupts
11405 (Fldap_search_basic): Renamed from Fldap_search_internal
11406 Added new optional parameter VERBOSE that triggers the
11407 display of progress messages
11408 Remove unnecessary calls to slow_down_interrupts and
11409 speed_up_interrupts
11410 LDAP result code analysis rewritten
11411 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11412 (syms_of_eldap): Define the new symbols and functions
11415 2000-02-17 Martin Buchholz <martin@xemacs.org>
11417 * realpath.c: Determine PATH_MAX maximally portably.
11419 * insdel.c (bytecount_to_charcount): Optimize.
11420 The function used to be optimized for entirely ASCII sequences.
11421 Now it is optimized for successive characters from the same
11422 charset. This also wins big for _mostly_ ASCII sequences.
11424 * fileio.c (Ffile_truename): convert return from realpath() using
11425 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
11426 - Rewrite GCPROing slightly.
11428 * sysdep.c (sys_open): Do filename conversion, like all other
11429 sys_* functions. Fixes bug:
11430 (let ((file-name-coding-system 'iso-8859-2))
11431 (write-region x y latin2-name))
11432 ==> writes filename using internal encoding.
11434 2000-02-18 Martin Buchholz <martin@xemacs.org>
11436 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
11437 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
11438 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
11439 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
11440 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
11441 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
11442 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
11443 (CONST_IF_NOT_DEBUG): Delete.
11444 * alloc.c (this_one_is_unmarkable): Delete.
11445 (mark_object): Don't check for this_one_is_unmarkable. Use the
11446 c_readonly flag instead.
11447 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
11449 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
11451 * event-msw.c (mswindows_drain_windows_queue):
11452 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
11453 away redundant repaint events.
11455 2000-02-17 Andy Piper <andy@xemacs.org>
11457 * redisplay.h: declare mark_redisplay_structs.
11459 * redisplay.c (redisplay_window):
11460 (redisplay_frame): don't check subwindows_state_changed.
11461 (mark_redisplay): mark gutters here.
11463 * glyphs.c: (instantiate_image_instantiator): always layout if we
11464 haven't done so already.
11465 (allocate_image_instance): don't mark as dirty.
11466 (update_subwindow): bind inhibit_quit.
11468 * gutter.c (mark_gutters): new function.
11470 * glyphs-x.c (x_update_widget): Always resize to get round a
11473 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
11474 breaking absolutely everything.
11476 * gutter.h: declare mark_gutters.
11478 2000-02-16 Martin Buchholz <martin@xemacs.org>
11480 * XEmacs 21.2.29 is released.
11482 2000-02-15 Olivier Galibert <galibert@pobox.com>
11484 * fns.c (size_bit_vector): Fix computation of the size.
11486 2000-02-15 Martin Buchholz <martin@xemacs.org>
11488 * *.[ch]: Change CONST to const globally.
11489 find -name '*.[ch]' | \
11490 xargs global-replace \
11491 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
11492 - Remove vestigial references to CONST_IS_LOSING
11494 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11496 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
11497 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
11498 events instead of dispatching them directly.
11499 (mswindows_handle_paint): New function to do repainting.
11500 (mswindows_wnd_proc):
11501 (emacs_mswindows_handle_magic_event): Call above function.
11503 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11505 * objects-msw.c (mswindows_create_font_variant): Return the new
11507 (initialize_font_instance): Get font metrics from the underlined
11508 variant of the font to cope with the case where the underlined
11509 font has a bigger descent.
11511 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11513 * gui.c (gui_item_accelerator): Return the first underlined
11514 character in item name.
11516 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11518 * lisp.h: Added Qprinter.
11520 * general.c (syms_of_general): Initialized it.
11522 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
11524 (get_frame_compdc): Made inline.
11526 * console.h (struct console_methods): Added eject_page method.
11528 * frame.h: Added FRAME_DISPLAY_P and friends.
11529 Aligned backslahes in many macros in more readable fashion.
11530 Added page_number to struct frame, and an accessor macro
11533 * defice.h: Added DEVICE_DISPLAY_P and friends.
11535 * device.c (Fdevice_printer_p): Used these.
11537 * frame.c (allocate_frame_core): Initialize page number.
11538 (Fprint_job_page_number):
11539 (Fprint_job_eject_page): Implemented.
11541 * frame-msw.c (msprinter_eject_page): Added method.
11542 (msprinter_start_page): Added.
11544 * window.c (Fwindow_truncated_p): Fixed docstring.
11545 (Fwindow_last_line_visible_height): Implemented.
11547 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11549 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
11551 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11553 * syntax.c (scan_words): Always advance at least one character.
11555 2000-02-13 Andy Piper <andy@xemacs.org>
11557 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
11558 to make sure the glyph is in the cachels.
11560 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
11561 global image instance flag.
11562 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
11563 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
11565 * glyphs.c (allocate_image_instance): set dirty bits correctly.
11566 (Fset_image_instance_property): mark layout as changed.
11567 (invalidate_glyph_geometry_maybe): mark layout as changed.
11568 (glyph_width): use new NEEDS_LAYOUT macro.
11569 (glyph_ascent): ditto.
11570 (glyph_descent): ditto.
11571 (glyph_height): ditto.
11572 (image_instance_layout): mark layout as clean after laying out.
11573 (update_subwindow): don't mark layout as clean here.
11575 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
11576 should no longer be needed.
11578 * glyphs-x.c (x_update_widget): sanitize asserts.
11579 (x_finalize_image_instance): sanitize assignment to widgets.
11581 * glyphs-widget.c (widget_instantiate): don't need to clear the
11584 2000-02-13 Martin Buchholz <martin@xemacs.org>
11586 * sysdep.c (getcwd): Use standard prototype.
11587 * sysdep.h (getcwd): Use standard prototype.
11589 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
11590 (sequence, start, end).
11591 Remove redundant type checking.
11592 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
11593 view of `caller-protects') to avoid a crash where the real fix was
11596 2000-02-12 Martin Buchholz <martin@xemacs.org>
11598 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
11600 * s/sol2.h: Remove feature macro initialization.
11602 * alloc.c (alloc_lcrecord): Add more type checking assertions.
11603 (vector_hash): New. Code from internal_hash.
11605 Fix up allocation subsystem comments.
11607 * config.h.in: Add __EXTENSIONS__ for Solaris.
11609 * systime.h (EMACS_GETTIMEOFDAY): New.
11610 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
11611 Remove Solaris-specific code.
11612 Use void* for the (ignored) second arg for gettimeofday().
11614 * elhash.c (hash_table_hash): Implement it, finally.
11615 * elhash.c: Use hashcode_t.
11617 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
11618 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
11620 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
11621 * fns.c (size_bit_vector):
11622 * alloc.c (size_vector):
11623 (make_vector_internal):
11624 (make_bit_vector_internal):
11625 (sweep_bit_vectors_1):
11626 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
11628 2000-02-10 Martin Buchholz <martin@xemacs.org>
11630 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
11631 Include strings.h to avoid warnings for bzero and strcasecmp.
11633 2000-02-10 Olivier Galibert <galibert@pobox.com>
11635 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
11636 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
11638 * fns.c (size_bit_vector): New. Declare bit vectors as a
11641 2000-02-10 Olivier Galibert <galibert@pobox.com>
11643 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
11644 use a value field instead.
11645 (symbol_value_forward_forward): Use value field.
11646 (DEFVAR_SYMVAL_FWD): Use value field.
11647 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
11648 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
11649 (DEFVAR_CONST_INT): Ditto.
11650 (DEFVAR_BOOL): Ditto.
11651 (DEFVAR_CONST_BOOL): Ditto.
11652 (DEFVAR_INT_MAGIC): Ditto.
11653 (DEFVAR_BOOL_MAGIC): Ditto.
11655 * symbols.c (guts_of_unbound_marker): Use value field.
11656 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
11657 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
11659 * lisp.h: Declare dumpopaque and noninteractive1.
11661 * alloc.c (dumpopaque): Added.
11662 (pdump_dump_opaquevec): Added.
11663 (pdump): Call pdump_dump_opaquevec to dump opaque data.
11664 (pdump_load): Reload opaque data. Sync noninteractive1 with
11667 2000-02-10 Andy Piper <andy@xemacs.org>
11669 * glyphs.c (image_instance_layout): if the size changes, mark it
11672 * redisplay-output.c (redisplay_output_layout): Update the
11674 (redisplay_output_subwindow): ditto.
11676 * glyphs.c (update_subwindow): make sure we reset flags for
11677 layouts as well as everything else.
11679 * glyphs-widget.c (layout_layout): don't need to set the instances
11682 2000-02-09 Martin Buchholz <martin@xemacs.org>
11684 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
11685 not HAVE_DLOPEN, which is a lower-level thing.
11687 * .cvsignore: Ignore gmon.out
11689 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
11691 * .cvsignore: Ignore portable dumper xemacs.dmp file
11693 2000-02-09 Andy Piper <andy@xemacs.org>
11695 * redisplay-output.c (redisplay_output_layout): be more clever
11696 about when we output based on the changed flags.
11698 * glyphs.h (struct image_instantiator_methods): add update_method.
11699 (struct Lisp_Image_Instance): add changed flags. Declare new
11700 macros for manipulating them.
11702 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
11703 (image_instance_parent_glyph): find an image_instance's parent
11704 glyph or image_instance.
11705 (image_instance_layout): mark the size as changed.
11706 (set_image_instance_dirty_p): new function. mark an image
11707 instance, plus all of its parents, as dirty.
11708 (Fset_image_instance_property): use it.
11709 (Fglyph_animated_timeout_handler): use it.
11710 (update_subwindow): call update_widget and device methods for
11711 update_subwindow. Mark all changed flags as clean.
11712 (Fresize_subwindow): mark size as changed.
11714 * glyphs-x.c (x_finalize_image_instance): try and detect gc
11716 (x_update_subwindow): only resize subwindows here.
11717 (x_update_widget): new function. Update all changed properties of
11719 (x_resize_subwindow): deleted.
11720 (x_widget_set_property): deleted.
11721 (x_progress_gauge_set_property): deleted.
11722 (x_progress_gauge_update): new function. Implement recorded
11724 (x_tab_control_update): ditto.
11725 (x_tab_control_set_property): deleted.
11726 (console_type_create_glyphs_x): declare new functions.
11727 (image_instantiator_format_create_glyphs_x): ditto.
11729 * glyphs-widget.c (widget_set_property): mark text changed.
11730 (update_widget): new function. Update properties of a widget.
11731 (widget_instantiate): for layouts make sure we set their
11732 children's parent correctly.
11733 (tab_control_set_property): new function. Record changes that will
11734 take place under redisplay's control.
11735 (progress_gauge_set_property): ditto.
11736 (image_instantiator_progress_guage): declare new functions.
11737 (image_instantiator_tab_control): ditto.
11739 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
11741 (mswindows_update_widget): new function. Update all properties on
11742 a widget that have changed.
11743 (mswindows_button_update): new function. Update a button's set
11745 (mswindows_tab_control_update): new function. Update the items in
11747 (mswindows_tab_control_set_property): deleted.
11748 (mswindows_progress_gauge_update): new function. Update the
11749 progress gauge's progress.
11750 (mswindows_widget_set_property): deleted. This is all done
11751 asynchronously now.
11752 (mswindows_progress_gauge_set_property): ditto.
11753 (console_type_create_glyphs_mswindows): declare new methods.
11754 (image_instantiator_format_create_glyphs_mswindows): ditto.
11756 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
11757 (msprinter_set_frame_properties): ditto.
11759 * console.h (struct console_methods): Add update_widget_method.
11761 2000-02-09 Andy Piper <andy@xemacs.org>
11763 * gui-msw.c (Fmswindows_shell_execute): Make
11764 mswindows-shell-execute industrial strength.
11766 2000-02-08 Martin Buchholz <martin@xemacs.org>
11768 * lrecord.h: Make macro argument `props' match member function `plist'.
11771 * fns.c (Fremprop):
11772 * fns.c (Fobject_plist):
11775 Object property list frobbing cleanup.
11776 - Allow any lisp object (compared with `eq'), not just symbols, as
11777 keys in object plists.
11778 - Move symbol plist frobbing into symbols.c, where it belongs.
11779 - Move string plist frobbing into alloc.c, where it belongs.
11780 - Everything's an lrecord now, so no need to test for symbolp, etc.
11781 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
11783 * extents.c: Reorder code to remove declarations.
11785 * frame.h (store_in_alist): Remove useless declaration.
11787 2000-02-07 Martin Buchholz <martin@xemacs.org>
11789 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
11790 * config.h.in: Add HAVE_XCONVERTCASE.
11792 2000-02-07 Andy Piper <andy@xemacs.org>
11794 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
11795 it breaks many things.
11797 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11799 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
11800 actually can start a common comment type.
11801 * src/syntax.h (SYNTAX_END_P): ditto for end.
11803 2000-02-07 Martin Buchholz <martin@xemacs.org>
11805 * XEmacs 21.2.28 is released.
11807 2000-02-06 Martin Buchholz <martin@xemacs.org>
11809 * event-Xt.c (x_keysym_to_character): New.
11810 (maybe_define_x_key_as_self_inserting_character): New.
11811 (x_has_keysym): New.
11812 Auto-define all keys on the keyboard as self-insert-key.
11814 2000-02-02 Martin Buchholz <martin@xemacs.org>
11816 * menubar.c (vars_of_menubar): A small code simplification.
11818 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
11821 * ExternalClient.c:
11822 * EmacsShell-sub.c:
11825 Use consistent style for specifying X resources.
11827 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
11828 This makes (dontusethis-set-symbol-value-handler) actually usable.
11830 * lrecord.h (lrecord_decription_type):
11831 * alloc.c (pdump_register_sub):
11834 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
11835 Comply with XEmacs coding style.
11836 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
11837 args, and XD_LISP_OBJECT_ARRAY with 3 args.
11839 * keymap.c (Faccessible_keymaps):
11840 Make (accessible-keymaps map "\C-h") do the Right Thing.
11841 Make (accessible-keymaps map []) do the Right Thing.
11842 Make (accessible-keymaps map "") do the Right Thing.
11843 (check_keymap_definition_loop): New function.
11844 (keymap_store_internal): Keep luser from shooting self in foot,
11845 via (define-key ctl-x-4-map "p" global-map).
11846 Remove fullness slot from struct Lisp_Keymap, since hash tables
11848 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
11850 2000-01-30 Martin Buchholz <martin@xemacs.org>
11852 * redisplay.c (init_redisplay): Fix small memory leak.
11854 * elhash.c (pdump_reorganize_hash_table):
11855 Rename from reorganize_hash_table. Change prototype.
11856 Reuse the original memory for hentries. Save 100k.
11857 * alloc.c (PDUMP_READ): new macro.
11858 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
11859 * alloc.c: No need to #ifndef before #undef.
11861 * print.c: Allow debug_print() to print readably by modifying
11862 debug_print_readably. Use consistent variable names.
11864 * .dbxrc: Try to get things to work even if stopped in a function
11865 without source available by explicitly specifying source files.
11866 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11868 * unexnt.c (_start): Removed bogus code which caused loading heap
11869 from differrent executable file.
11870 Removed bogus assignment to _fmode, which caused inconsistencies.
11872 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11874 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
11875 Have spawnve encapsulation regard DONT_ENCAPSULATE.
11876 Do not preliminary `#define signal sigset'.
11878 * systime.h: Do not prototype environ on windows nt and cygwin,
11879 this conflicts with system header.
11881 * syssignal.h: Use correct define for WINDOWSNT
11883 * sysdep.h: Do not prototype environ on windows nt, this conflicts
11884 with system header.
11886 * sysdep.c (near start of file): Fixed commentary and rearranged
11887 ifdefs in readable order.
11888 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
11891 (end_of_data): Do not compile in if using PDUMP.
11893 * symsinit.h: Prototyped vars_of_nt().
11895 * ntproc.c (windows9x_p): Added, instead of os_subtype.
11896 (find_child_console): Use it.
11897 (sys_kill): Use it.
11899 * ntheap.h: Do not extern os_subtype.
11901 * ntheap.c (cache_system_info): Do not cache unneeded:
11902 nt_major_version, nt_minor_version and os_subtype.
11903 (recreate_heap): Do not compile in when PDUMPing.
11905 * nt.c (geteuid and friends): Use the new varibale
11906 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
11907 (init_user_info): Removed the above mentioned hackery.
11908 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
11909 stat has been fixed in the C runtime.
11910 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
11912 * file-coding.c (struct file_coding_dump): Do not define
11913 ucs_to_mule_table in the struct if not MULE.
11914 (struct struct lrecord_description fcd_description_1): Do not dump
11917 * emacs.c (main_1): Call vars_of_nt().
11918 (right before Fdump_emacs_data): Don't need lastfile if using both
11919 portabe dumper and system malloc.
11921 * alloc.c (Fmemory_limit): Conditionalized out.
11922 (pdump): Use OPEN_BINARY for the portable dump file.
11923 (pdump_load): Ditto.
11925 2000-02-02 Mike Alexander <mta@arbortext.com>
11927 * nt.c (convert_time): Set tm_isdst before calling mktime and
11928 avoid calling it at all if the compiler supports 64 bit integers.
11929 Also initialize utc_base_ft before using it.
11931 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11933 * frame.c (change_frame_size_1): Take f->internal_border_width
11934 into consideration when calculating the width of the frame.
11936 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11938 * window.c (frame_min_height):
11939 (frame_size_valid_p):
11940 (frame_pixsize_valid_p): Added.
11941 (check_frame_size): Generalized.
11943 * window.h: Prototyped the above.
11946 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
11947 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
11948 Deleted Vwin32_* and Vbinary_process_* unused variables.
11950 * device-msw.c (msprinter_init_device): Do not get printer font
11951 list; Added DEVMODE functions.
11953 * frame-msw.c: Added lots of printer code.
11955 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
11958 * console-msw.h: Added more msprinter device private slots.
11960 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11962 * event-msw.c (key_needs_default_processing_p): Added.
11963 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
11965 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11967 * glyphs.c (image_instance_layout): Mark image instance as clean
11969 (glyph_dirty_p): Removed redundant function.
11970 (invalidate_glyph_geometry_maybe): Added.
11971 (update_glyph_cachel_data): Call it.
11973 * glyphs.h: Prototyped it.
11975 * redisplay.c (add_glyph_rune): Call it.
11976 (redisplay_window): Reset glyphs cachels when frame faces have
11977 changed, thus forcing recomputation of built-in border glyphs.
11979 2000-01-30 Martin Buchholz <martin@xemacs.org>
11981 * Makefile.in.in: Make portable dumper and purify play well together.
11982 Add imperfect, but better than nothing, support for pdump.
11983 Remove xemacs.dmp when temacs is re-generated.
11984 Don't ignore errors when dumping xemacs.
11986 * symbols.c (maybe_call_magic_handler): Remove one magic number.
11988 2000-01-28 Andy Piper <andy@xemacs.org>
11990 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
11991 (setup_normal_frame): ditto.
11992 (setup_frame_without_minibuffer): ditto.
11993 (setup_minibuffer_frame): ditto.
11994 (delete_frame_internal): ditto.
11995 (Fmake_frame_invisible): ditto.
11996 (Ficonify_frame): ditto.
11998 * window.h: change Fset_window_buffer signature.
12000 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
12001 (Fset_window_buffer): allow recording of buffer if the window is
12002 the selected window.
12003 (window_loop): Use new Fset_window signature.
12005 2000-01-23 Daniel Pittman <daniel@danann.net>
12007 * config.h.in: Added template for `HAVE_ATHENA_3D'
12009 2000-01-29 Andy Piper <andy@xemacs.org>
12011 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
12013 * gutter.c (output_gutter): Don't output if the window isn't live.
12015 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12017 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
12018 of 01/12/00: Moved SetFocus back here where it belongs.
12020 2000-01-23 Andy Piper <andy@xemacs.org>
12022 * s/cygwin32.h: declare printer things.
12024 2000-01-26 Andy Piper <andy@xemacs.org>
12026 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
12029 2000-01-24 Andy Piper <andy@xemacs.org>
12031 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
12032 (mswindows_button_instantiate): Make sure glyph is a pixmap.
12034 * glyphs-widget.c (widget_instantiate): Avoid shadows.
12036 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
12038 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
12040 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
12041 (mswindows_output_display_block): Avoid local shadows.
12043 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
12044 (mswindows_enqueue_mouse_button_event): ditto.
12045 (mswindows_handle_gui_wm_command): remove declaration.
12047 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
12050 * console-msw.h: Avoid shadows.
12051 (mswindows_get_toolbar_button_text):
12052 (emacs_mswindows_create_stream_pair):
12053 (emacs_mswindows_delete_stream_pair):
12054 (mswindows_handle_toolbar_wm_command): declare.
12056 * device-msw.c (build_syscolor_string): Avoid shadows.
12058 2000-01-23 Andy Piper <andy@xemacs.org>
12060 * glyphs-widget.c (widget_instantiate): reverse the items for
12061 layouts so that children are in the expected order.
12063 2000-01-28 Martin Buchholz <martin@xemacs.org>
12065 * ralloc.c: safe_bcopy ==> memmove
12066 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
12067 * s/msdos.h: Remove BCOPY macros.
12068 * insdel.c (gap_right): Remove BCOPY conditional code.
12069 * insdel.c (gap_left): Remove BCOPY conditional code.
12070 XEmacs demands a working ANSI C compiler - hence memmove.
12072 * regex.c (regex_compile): Remove accidental use of trigraphs.
12074 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12076 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
12079 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12081 * event-msw.c (mswindows_drain_windows_queue): Added the
12083 (mswindows_need_event): Commented the call to
12084 mswindows_drain_windows_queue().
12085 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
12088 * console-msw.h: Moved a few function prototypes here from
12091 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
12092 parameter from unsigned short to unsigned long.
12093 (Fmswindows_shell_execute): Added return value.
12095 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12097 * sysdep.c (init_system_name):
12098 process-unix.c (unix_canonicalized_host_name):
12099 Don't call freeaddrinfo() if getaddrinfo() fails.
12101 * process-unix.c (unix_open_unix_network_stream):
12102 Moved the code to get a port # into address loop.
12104 2000-01-27 Martin Buchholz <martin@xemacs.org>
12106 * buffer.c (reinit_vars_of_buffer):
12107 The right place to initialize conversion_in_dynarr and
12108 conversion_out_dynarr.
12110 * alloc.c (pdump): Use the real open() till sys_open() is functional.
12112 * process-unix.c (unix_canonicalize_host_name): Muleize.
12113 (unix_open_network_stream): Muleize.
12115 * buffer.h: Fix up prototypes for ralloc.c functions.
12117 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12118 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
12119 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
12120 instead of gethostbyname()
12121 * process-unix.c: In unix_canonicalize_host_name() and
12122 unix_open_network_stream(), add code to use getaddrinfo()
12123 instead of gethostbyname().
12125 2000-01-27 Daniel Pittman <daniel@danann.net>
12127 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
12128 libs when built with flat Athena.
12130 2000-01-27 Martin Buchholz <martin@xemacs.org>
12132 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
12133 Use coding standards for function prototypes.
12135 2000-01-25 Martin Buchholz <martin@xemacs.org>
12137 * dialog-msw.c (push_lisp_string_as_unicode):
12138 * doc.c (unparesseuxify_doc_string):
12139 * dired.c (Fuser_name_completion_1):
12140 * dired.c (Fuser_name_all_completions):
12141 * dired.c (free_user_cache):
12142 * dired.c (user_name_completion):
12143 * console-x.c (get_display_arg_connection):
12144 * minibuf.c (clear_echo_area_internal):
12145 * minibuf.c (echo_area_append):
12146 * eldap.c (Fldap_open):
12147 * eldap.c (Fldap_search_internal):
12148 * frame-x.c (x_set_frame_text_value):
12149 * frame-x.c (x_set_frame_properties):
12150 * frame-x.c (x_create_widgets):
12151 * redisplay-tty.c (term_get_fkeys_1):
12152 * objects-x.c (x_parse_nearest_color):
12153 * objects-x.c (x_valid_color_name_p):
12154 * objects-x.c (x_initialize_font_instance):
12155 * objects-x.c (x_list_fonts):
12156 * objects-x.c (x_find_charset_font):
12157 * tooltalk.c (Fadd_tooltalk_message_arg):
12158 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12159 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12160 * process-unix.c (unix_create_process):
12161 * ntproc.c (sys_spawnve):
12162 * sound.c (Fplay_sound_file):
12163 * sound.c (Fplay_sound):
12164 * buffer.c (init_initial_directory):
12165 * buffer.c (init_buffer):
12166 * editfns.c (init_editfns):
12167 * editfns.c (Ftemp_directory):
12168 * editfns.c (Fuser_full_name):
12169 * editfns.c (uncache_home_directory):
12170 * editfns.c (get_home_directory):
12171 * editfns.c (Fuser_home_directory):
12172 * editfns.c (Fformat_time_string):
12173 * editfns.c (Fcurrent_time_string):
12174 * gui-x.c (button_item_to_widget_value):
12175 * database.c (Fopen_database):
12176 * event-Xt.c (x_to_emacs_keysym):
12177 * event-Xt.c (x_event_to_emacs_event):
12178 * event-Xt.c (describe_event_window):
12179 * event-msw.c (mswindows_wnd_proc):
12180 * glyphs-eimage.c (jpeg_instantiate):
12181 * glyphs-eimage.c (gif_instantiate):
12182 * glyphs-eimage.c (png_instantiate):
12183 * glyphs-eimage.c (tiff_instantiate):
12184 * glyphs-x.c (xbm_instantiate_1):
12185 * glyphs-x.c (x_xbm_instantiate):
12186 * glyphs-x.c (x_xface_instantiate):
12187 * glyphs-x.c (autodetect_instantiate):
12188 * glyphs-x.c (cursor_font_instantiate):
12189 * glyphs-x.c (x_widget_instantiate):
12190 * glyphs-x.c (x_widget_set_property):
12191 * glyphs-x.c (x_widget_property):
12192 * glyphs-x.c (BUILD_GLYPH_INST):
12193 * print.c (write_string_to_stdio_stream):
12194 * print.c (output_string):
12195 * print.c (Falternate_debugging_output):
12196 * print.c (Fexternal_debugging_output):
12197 * glyphs-msw.c (extract_xpm_color_names):
12198 * glyphs-msw.c (mswindows_xpm_instantiate):
12199 * glyphs-msw.c (bmp_instantiate):
12200 * glyphs-msw.c (resource_name_to_resource):
12201 * glyphs-msw.c (mswindows_resource_instantiate):
12202 * glyphs-msw.c (xbm_instantiate_1):
12203 * glyphs-msw.c (mswindows_xbm_instantiate):
12204 * glyphs-msw.c (mswindows_xface_instantiate):
12205 * glyphs-msw.c (mswindows_widget_instantiate):
12206 * glyphs-msw.c (add_tree_item):
12207 * glyphs-msw.c (add_tab_item):
12208 * glyphs-msw.c (mswindows_combo_box_instantiate):
12209 * glyphs-msw.c (mswindows_widget_property):
12210 * glyphs-msw.c (mswindows_combo_box_property):
12211 * glyphs-msw.c (mswindows_widget_set_property):
12212 * console.c (stuff_buffered_input):
12213 * objects-msw.c (mswindows_initialize_color_instance):
12214 * objects-msw.c (mswindows_valid_color_name_p):
12215 * objects-msw.c (mswindows_list_fonts):
12216 * objects-msw.c (mswindows_font_instance_truename):
12217 * bytecode.c (optimize_compiled_function):
12218 * select-x.c (symbol_to_x_atom):
12219 * select-x.c (x_atom_to_symbol):
12220 * select-x.c (hack_motif_clipboard_selection):
12221 * select-x.c (selection_data_to_lisp_data):
12222 * select-x.c (lisp_data_to_selection_data):
12223 * select-x.c (Fx_get_cutbuffer_internal):
12224 * select-x.c (Fx_store_cutbuffer_internal):
12225 * buffer.h (TO_EXTERNAL_FORMAT): New function.
12226 * buffer.h (TO_INTERNAL_FORMAT): New function.
12227 * emacs.c (make_arg_list_1):
12228 * emacs.c (make_argc_argv):
12229 * emacs.c (main_1):
12230 * emacs.c (Fdump_emacs):
12231 * emacs.c (split_string_by_emchar_1):
12236 * device-x.c (x_init_device):
12237 * device-x.c (Fx_valid_keysym_name_p):
12238 * device-x.c (Fx_get_font_path):
12239 * device-x.c (Fx_set_font_path):
12240 * glyphs.c (bitmap_to_lisp_data):
12241 * glyphs.c (pixmap_to_lisp_data):
12242 * alloc.c (make_ext_string): Use coding system arguments. Update
12244 * alloc.c (build_string):
12245 * callproc.c (child_setup):
12246 * callproc.c (init_callproc):
12247 * fileio.c (lisp_strerror):
12248 * fileio.c (directory_file_name):
12249 * fileio.c (Fexpand_file_name):
12250 * fileio.c (Ffile_truename):
12251 * fileio.c (Fsysnetunam):
12252 * fileio.c (Fdo_auto_save):
12253 * sysdep.c (sys_readdir):
12254 * tests.c: New file. Allow adding C tests.
12255 Replace GET_* macros with a more comprehensible and flexible
12256 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
12258 Any coding system can be used to do format conversion.
12259 Eliminate enum external_data_format.
12260 Eliminate convert_to_external_format.
12261 Eliminate convert_to_internal_format.
12262 Make sure file-name, keyboard, terminal, and ctext are always
12263 defined as coding systems or aliases. Make
12264 file-name-coding-system, terminal-coding-system, and
12265 keyboard-coding-system magical variables that are equivalent to
12266 defining the corresponding coding system aliases.
12268 * file-coding.c (Fcoding_system_canonical_name_p): New function.
12269 * file-coding.c (Fcoding_system_alias_p): New function.
12270 * file-coding.c (Fcoding_system_aliasee): New function.
12271 * file-coding.c (append_suffix_to_symbol): New function.
12272 * file-coding.c (dangling_coding_system_alias_p): New function.
12273 * file-coding.c (Ffind_coding_system):
12274 * file-coding.c (Fcopy_coding_system):
12275 * file-coding.c (encode_coding_no_conversion):
12276 * file-coding.c (syms_of_file_coding):
12277 * file-coding.c (vars_of_file_coding):
12278 Rewrite coding system alias code.
12279 Allow nested aliases, like symbolic links.
12280 Allow redefinition of coding system aliases.
12281 Prevent existence of dangling coding system aliases.
12283 * dired.c (Fuser_name_completion_1):
12284 * dired.c (Fuser_name_all_completions):
12285 A crash would happen if user did QUIT in the middle of building
12286 user_name_cache. Remove redundant code in mainline and unwind_protect.
12289 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
12291 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
12292 an unsigned char *. Update all callers.
12294 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12296 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
12298 2000-01-25 Martin Buchholz <martin@xemacs.org>
12300 * elhash.c (hentry_description): Use more portable definition.
12301 (resize_hash_table): Initialize new hentries using
12302 xnew_array_and_zero, thereby simplifying the code.
12304 * mule-charset.c (make_charset): Make sure entire object is
12305 initialized, to avoid Purify warnings.
12307 * alloc.c (resize_string): Fix unlikely crash with big strings.
12309 2000-01-24 Martin Buchholz <martin@xemacs.org>
12311 * realpath.c (xrealpath):
12312 Don't call getwd().
12314 2000-01-25 Martin Buchholz <martin@xemacs.org>
12316 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
12318 1999-12-28 Max Matveev <max@melbourne.sgi.com>
12320 * unexelfsgi.c (unexec): Change the way we decide which segment
12321 should be extended.
12323 Assumption that .bss section should be outside the PT_LOADable
12324 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
12325 it's present) is inside the 'data' segment. This would fail the
12326 test which was used to find a segment to grow and cover new
12327 heap. Instead of this assumption, I created another one - on IRIX
12328 the segment to grow should start below .bss and it's address
12329 should extent above the end of .bss. Once this segment is
12330 identified, it's grown to accommodate the new heap and new
12331 zero-length .bss section is added at the end of .data2.
12333 2000-01-25 Martin Buchholz <martin@xemacs.org>
12335 * eval.c (Feval): Wrong number of arguments should use original
12336 function, not the indirect_function version of it.
12338 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12340 * glyphs-x.c (x_button_instantiate): Don't add image if
12341 it is not a pixmap.
12342 (x_locate_pixmap_file): Call Fexpand_file_name when file name
12345 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
12347 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
12349 (DEFVAR_INT_MAGIC): Ditto.
12350 (DEFVAR_BOOL_MAGIC): Ditto.
12351 * glyphs.h: Reindent backslash.
12353 2000-01-24 Martin Buchholz <martin@xemacs.org>
12355 * glyphs-widget.c (layout_query_geometry):
12356 (layout_layout): Use correct types for gheight, gwidth.
12358 2000-01-24 Martin Buchholz <martin@xemacs.org>
12360 * EmacsManager.c (QueryGeometry): Purified.
12362 2000-01-23 Martin Buchholz <martin@xemacs.org>
12364 * alloc.c (make_float): Make sure entire object is initialized, to
12365 avoid Purify warnings.
12366 (pdump_register_sub): Remove useless assignment.
12367 (pdump): Use xmalloc, not malloc.
12368 (pdump_load): Use xmalloc, not malloc.
12370 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12377 * sysdep.c: Removed redundant #include <windows.h>
12379 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12381 * frame.c (delete_frame_internal): Do not delete device when its
12382 implementation so declares.
12383 (delete_frame_internal): Set device selected frame to nil when
12384 last frame goes away.
12386 * device-msw.c (msprinter_device_system_metrics): Implemented.
12387 (mswindows_device_system_metrics): Added 'device-dpi property.
12389 * device.c: (Fdevice_printer_p): Added.
12390 Added 'offset-workspace device metric.
12392 * console.h (device_metrics): Declared DM_offset_workspace.
12394 2000-01-23 Martin Buchholz <martin@xemacs.org>
12396 * fileio.c (Ffile_truename): Remove pointless and confusing
12397 initialization of elen.
12399 * glyphs-widget.c: Compiler warning fixes.
12401 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
12403 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
12404 instead of a Lisp_Object as argument to make it consistent with
12405 the other LIVE_P macros.
12406 (CHECK_LIVE_PROCESS): New macro.
12408 * process.c: Declare Qprocess_live_p.
12409 (Fprocess_live_p): New function.
12410 (create_process): Use PROCESS_LIVE_P.
12411 (read_process_output): Ditto.
12412 (set_process_filter): Ditto.
12413 (Fdelete_process): Ditto.
12414 (kill_buffer_processes): Ditto
12415 (process_send_signal): Use CHECK_LIVE_PROCESS.
12416 (Fprocess_input_coding_system): Check whether process is still
12417 alive (fix PR#1061).
12418 (Fprocess_output_coding_system): Ditto.
12419 (Fprocess_coding_system): Ditto.
12420 (Fset_process_input_coding_system): Ditto.
12421 (Fset_process_output_coding_system): Ditto.
12423 2000-01-23 Andy Piper <andy@xemacs.org>
12425 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
12428 * glyphs.c (mark_image_instance): take into account changed
12429 image_instance format.
12430 (image_instance_equal): ditto.
12431 (image_instance_hash): ditto.
12433 * glyphs-widget.c (widget_instantiate): Incorporate layout
12434 instantiation here. Delay layout of the layout until later.
12435 (layout_instantiate): deleted.
12436 (layout_query_geometry): new function. get the geometry of a
12438 (layout_layout): layout a layout dynamically.
12439 (image_instantiator_widget): New function - splitting up
12440 image_instantiator_format_create_glyphs_widget for netwinder
12442 (image_instantiator_buttons):
12443 (image_instantiator_edit_fields):
12444 (image_instantiator_combo_box):
12445 (image_instantiator_scrollbar):
12446 (image_instantiator_progress_guage):
12447 (image_instantiator_tree_view):
12448 (image_instantiator_tab_control):
12449 (image_instantiator_labels):
12450 (image_instantiator_layout): ditto.
12451 (image_instantiator_format_create_glyphs_widget): Call preceding
12454 2000-01-22 Martin Buchholz <martin@xemacs.org>
12456 * process.c (Fset_process_coding_system):
12457 * device-x.c (Fx_keysym_hash_table):
12460 * lstream.c (Lstream_write): Return documented value, not 0.
12462 * fileio.c (directory_file_name):
12463 (Fsubstitute_in_file_name):
12464 (Fsubstitute_insert_file_contents_internal):
12465 (Fwrite_region_internal):
12470 Remove vestigial APOLLO-conditional code.
12472 2000-01-21 Martin Buchholz <martin@xemacs.org>
12474 * getpagesize.h: Add guard macros.
12475 * libsst.h: Add guard macros.
12476 * libst.h: Add guard macros.
12477 * line-number.h: Add guard macros.
12478 * ndir.h: Add guard macros.
12479 * sysfloat.h: Add guard macros.
12480 * sysfile.h: Add guard macros.
12481 * sysproc.h: Add guard macros.
12482 * syswait.h: Add guard macros.
12483 * xintrinsic.h: Add guard macros.
12484 * xintrinsicp.h: Add guard macros.
12485 * xmmanager.h: Add guard macros.
12486 * xmmanagerp.h: Add guard macros.
12487 * xmprimitive.h: Add guard macros.
12488 * xmu.h: Add guard macros.
12489 * gpmevent.h: Add copyright statement. Add guard macros.
12490 * miscplay.h: Add guard macros.
12491 * *.h: Use consistent C-standards-approved guard macro names.
12493 * opaque.c (make_opaque): Switch parameter order.
12494 * opaque.h (make_opaque): Switch parameter order.
12495 Update all callers.
12496 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
12498 * config.h.in (type_checking_assert): Added.
12499 (bufpos_checking_assert): Added.
12501 2000-01-21 Martin Buchholz <martin@xemacs.org>
12503 * alloc.c: Harmless pdump changes.
12505 - spell alignment correctly.
12506 * sysdep.c: Use countof()
12508 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12510 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
12511 initially_selected_for_input() console method, default to 0.
12512 (semi_canonicalize_console_connection): Try to delegate to
12513 canonicalize_console_connection if no such console method.
12514 (canonicalize_console_connection): Vice versa.
12515 (print_console): Do not print nil connection.
12517 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
12518 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
12519 (XDEVIMPF_FRAMELESS_OK): Added.
12520 (CONSOLE_INHERITS_METHOD): Added.
12522 * console-msw.c (mswindows_canonicalize_console_connection):
12524 (mswindows_canonicalize_device_connection): Added.
12526 * console-msw.h (struct msprinter_device): Added this struct and
12528 (mswindows_device): Made fontlist a lisp object.
12530 * device.c (semi_canonicalize_device_connection): Try to delegate
12531 to canonicalize_device_connection if no such console method.
12532 (canonicalize_device_connection): Vice versa.
12533 (print_device): Do not print nil connection.
12535 * device-msw.c (mswindows_init_device): Call InitCommonControls
12537 (mswindows_delete_device): Removed fontlist deallocation.
12538 (mswindows_mark_device): Added.
12540 * events.c (event_equal): Added abort() at unreached code.
12541 (event_hash): Ditto.
12543 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
12544 fallback tags of Windows devices.
12546 * general.c (syms_of_general): Initialized Qmsprinter.
12548 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
12549 of fallback tags of Windows devices.
12551 * lisp.h: Declared Qmsprinter.
12553 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
12555 (mswindows_list_fonts): Ditto.
12556 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
12557 that it can be used by both mswindows and msprinter devices.
12558 (initialize_font_instance): Added.
12559 (mswindows_initialize_font_instance): Use it.
12560 (msprinter_initialize_font_instance): Added.
12562 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
12563 and implementation flags check.
12564 (redisplay_without_hooks): Changed the call to the above.
12565 (Fredraw_device): Ditto.
12566 (Fredisplay_device): Ditto.
12568 * redisplay-msw.c (get_frame_dc): Implemented.
12569 (get_frame_compdc): Implemented.
12570 (many functions): Use the two functions above to get device
12571 contexts, ether for a window or a printer.
12573 2000-01-21 Olivier Galibert <galibert@pobox.com>
12575 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
12576 initialization here.
12577 (init_symbols_once_early): Call it.
12578 * emacs.c (main_1): Call it.
12579 * symsinit.h: Declare it.
12581 2000-01-19 Olivier Galibert <galibert@pobox.com>
12583 * alloc.c: Use a lrecord_header * in the backtrace instead of a
12585 (pdump_backtrace): Ditto.
12586 (pdump_register_object): Ditto. Cleanup use of the pointers.
12587 (pdump_get_entry): Abort if trying to register a null pointer.
12588 (pdump_dump_data): Cleanup types when relocating.
12589 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
12590 (pdump_dump_rtables): Remove bad casts.
12591 (pdump_load): Cleanup relocation w.r.t union type. Use a
12592 Lisp_Object instead of a EMACS_INT for the hashtable
12595 2000-01-20 Martin Buchholz <martin@xemacs.org>
12597 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
12599 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
12601 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
12603 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
12605 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12607 * faces.h (FACE_STRIKETHRU_P): Added.
12609 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
12612 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
12613 (mswindows_set_dc_font): New function, aware of font variants,
12614 separated from mswindows_update_dc.
12616 * objects-msw.h (struct mswindows_font_instance_data): Added
12619 * objects-msw.c (mswindows_finalize_font_instance): Delete all
12620 cached fonts and the data structure.
12621 (mswindows_initialize_font_instance): Added creation of font data
12623 (mswindows_print_font_instance): Print at least something.
12624 (mswindows_create_font_variant): Implemented.
12625 (mswindows_get_hfont): Implemented.
12627 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
12629 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
12630 prototyping problem with msvc.
12632 * emacs.c (main_1): added syms_of_gui_mswindows() call
12634 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
12635 syms_of_gui_mswindows() function
12637 * symsinit.h: added the prototype for syms_of_gui_mswindows()
12639 2000-01-18 Martin Buchholz <martin@xemacs.org>
12641 * XEmacs 21.2.27 is released.
12643 2000-01-18 Martin Buchholz <martin@xemacs.org>
12645 * glyphs-eimage.c (struct tiff_error_struct):
12647 (tiff_warning_func):
12648 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
12653 * unexec.c: Remove vestigial Lucid C code.
12657 * libsst.c: Ansify.
12658 Remove declarations of errno and strerror().
12660 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
12662 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
12664 2000-01-16 Martin Buchholz <martin@xemacs.org>
12666 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
12669 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12674 Change enum eol_type to eol_type_t.
12676 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12678 * gui.c (get_gui_callback): Check cons before accessing car.
12680 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12682 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
12683 (XSETSPECIFIER_TYPE): Ditto.
12685 2000-01-17 Didier Verna <didier@xemacs.org>
12687 * redisplay.c (generate_fstring_runes): compute string size in
12688 characters, not bytes.
12690 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12692 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
12694 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
12696 * print.c (print_error_message): Call print_prepare().
12698 2000-01-14 Martin Buchholz <martin@xemacs.org>
12700 * .dbxrc: Renamed from dbxrc.
12702 * events.c (event_to_character):
12703 Use `assert (foo)' instead of `if (!foo) abort()'
12705 * .gdbinit (xtype): Add documentation.
12706 * .gdbinit (check-temacs): New function.
12707 * .gdbinit (check-xemacs): New function.
12708 * dbxrc (check-xemacs): New function.
12709 * dbxrc (check-xemacs): New function.
12711 2000-01-14 Andy Piper <andy@xemacs.org>
12713 * glyphs-widget.c (widget_query_geometry): Make sure that we
12714 calculate default dimensions correctly.
12716 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12718 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
12720 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
12721 pdump_wire'd variable.
12723 * emacs.c: (main_1): Conditionalized calls to
12724 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
12726 2000-01-13 Martin Buchholz <martin@xemacs.org>
12728 * window.c (Fset_window_configuration):
12729 * sysdep.c (_start):
12730 * input-method-motif.c (res):
12731 * event-Xt.c (Xt_process_to_emacs_event):
12732 Simple compiler warning fixes.
12734 * bytecode.c (funcall_compiled_function): Use the original
12735 function symbol on the backtrace list in preference to the
12736 compiled_function object in error messages.
12738 2000-01-13 Andy Piper <andy@xemacs.org>
12740 * glyphs-x.c (update_widget_face): Make sure we update the widget
12741 background as well as foreground.
12743 2000-01-13 Andy Piper <andy@xemacs.org>
12745 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
12746 fields to subwindow.
12747 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
12748 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
12749 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12750 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12752 * glyphs-widget.c (check_valid_tab_orientation): new function.
12753 (initialize_widget_image_instance): zero orientation and
12755 (widget_instantiate): pick up orientation.
12756 (tab_control_query_geometry): return appropriate values for
12759 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
12760 appropriate creation flags for left, right and bottom tabs.
12762 * s/cygwin32.h: add tab definitions.
12764 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12766 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
12767 frame upon hiding a subwindow.
12768 (mswindows_button_instantiate): Changed the push button style to
12770 (mswindows_button_instantiate): Removed button BS_NOTIFY
12772 (mswindows_button_instantiate): Removed redundant check for
12773 a disabled gui item.
12774 (mswindows_button_instantiate): Made use of WS_TABSTOP
12775 consistent: "operable" controls (edit, button, tree, scroll) have
12776 this style, "display-only" ones (static, progress gauge) do
12777 not. This style is currently ignored by XEmacs though. Also,
12778 removed the WS_EX_CONTROLPARENT style - it is not for children,
12779 it is for their parents!
12780 (mswindows_edit_field_instantiate): Ditto.
12781 (mswindows_progress_gauge_instantiate): Ditto.
12782 (mswindows_tree_view_instantiate): Ditto.
12783 (mswindows_tab_control_instantiate): Ditto.
12784 (mswindows_scrollbar_instantiate): Ditto.
12785 (mswindows_combo_box_instantiate): Ditto.
12786 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
12787 style to the "clip" window.
12788 (mswindows_button_instantiate): Removed compilation warning by
12789 equally typing terms of the ?: operator.
12791 2000-01-12 Didier Verna <didier@xemacs.org>
12793 * redisplay.c (generate_fstring_runes): new parameter holding the
12794 last modeline-format extent.
12795 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
12796 extent, fill the glyph block with it.
12797 (generate_fstring_runes): handle these parameters.
12798 (generate_formatted_string_db): ditto.
12800 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
12801 glyphs'extents in the modeline.
12803 1999-01-11 Mike Woolley <mike@bulsara.com>
12805 * ntheap.c: Reduced the reserved heap space from 1Gb down to
12806 256Mb, as a workaround for the non-starting problem many people
12809 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12811 * console-tty.c (Fset_console_tty_output_coding_system):
12812 Force redrawing tty frame.
12814 2000-01-10 Didier Verna <didier@xemacs.org>
12816 * redisplay.c (generate_fstring_runes): fix size computation bug.
12818 2000-01-09 William M. Perry <wmperry@aventail.com>
12820 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
12822 2000-01-09 Andy Piper <andy@xemacs.org>
12824 * glyphs-msw.c: index -> i to avoid shadows.
12825 (xbm_create_bitmap_from_data): make static.
12826 (check_valid_string_or_int): deleted.
12827 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
12829 * glyphs-x.c (x_update_subwindow): remove unused args.
12831 * glyphs.c (glyph_image_instance): return the thing. Don't set the
12832 back pointer - this is done in allocate_image_instance.
12833 (query_string_font): return Qnil to make the compiler happy.
12834 (unmap_subwindow): set to ~0 to make the compiler happy.
12835 (glyph_query_geometry): comment out until used.
12836 (glyph_layout): ditto.
12838 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12840 * insdel.c (signal_after_change): Remove extraneous unbind_to().